diff --git a/.env.example b/.env.example index f02cc527be..6974348f2e 100644 --- a/.env.example +++ b/.env.example @@ -31,10 +31,6 @@ DEFAULT_LOCALE=equal # For a list of supported time zones, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones TZ=Europe/Amsterdam -# This variable must match your installation's external address but keep in mind that -# it's only used on the command line as a fallback value. -APP_URL=http://localhost - # TRUSTED_PROXIES is a useful variable when using Docker and/or a reverse proxy. # Set it to ** and reverse proxies work just fine. TRUSTED_PROXIES= @@ -274,3 +270,15 @@ IS_SANDSTORM=false IS_DOCKER=false IS_HEROKU=false BUNQ_USE_SANDBOX=false + +# +# If you have trouble configuring your Firefly III installation, DON'T BOTHER setting this variable. +# It won't work. It doesn't do ANYTHING. Don't believe the lies you read online. I'm not joking. +# This configuration value WILL NOT HELP. +# +# This variable is ONLY used in some of the emails Firefly III sends around. Nowhere else. +# So when configuring anything WEB related this variable doesn't do anything. Nothing +# +# If you're stuck I understand you get desperate but look SOMEWHERE ELSE. +# +APP_URL=http://localhost diff --git a/app/Helpers/Collector/Extensions/TimeCollection.php b/app/Helpers/Collector/Extensions/TimeCollection.php index 4dc8e52213..8b2e748970 100644 --- a/app/Helpers/Collector/Extensions/TimeCollection.php +++ b/app/Helpers/Collector/Extensions/TimeCollection.php @@ -91,8 +91,9 @@ trait TimeCollection if ($end < $start) { [$start, $end] = [$end, $start]; } - $startStr = $start->format('Y-m-d H:i:s'); - $endStr = $end->format('Y-m-d H:i:s'); + // always got to end of day / start of day for ranges. + $startStr = $start->format('Y-m-d 00:00:00'); + $endStr = $end->format('Y-m-d 23:59:59'); $this->query->where('transaction_journals.date', '>=', $startStr); $this->query->where('transaction_journals.date', '<=', $endStr); @@ -117,4 +118,4 @@ trait TimeCollection return $this; } -} \ No newline at end of file +} diff --git a/app/Http/Controllers/Budget/AvailableBudgetController.php b/app/Http/Controllers/Budget/AvailableBudgetController.php index 9458546129..f48358b0be 100644 --- a/app/Http/Controllers/Budget/AvailableBudgetController.php +++ b/app/Http/Controllers/Budget/AvailableBudgetController.php @@ -59,7 +59,7 @@ class AvailableBudgetController extends Controller $this->middleware( function ($request, $next) { app('view')->share('title', (string) trans('firefly.budgets')); - app('view')->share('mainTitleIcon', 'fa-tasks'); + app('view')->share('mainTitleIcon', 'fa-pie-chart'); $this->abRepository = app(AvailableBudgetRepositoryInterface::class); $this->currencyRepos = app(CurrencyRepositoryInterface::class); diff --git a/app/Http/Controllers/Budget/BudgetLimitController.php b/app/Http/Controllers/Budget/BudgetLimitController.php index 5e528faf61..2fa75e527f 100644 --- a/app/Http/Controllers/Budget/BudgetLimitController.php +++ b/app/Http/Controllers/Budget/BudgetLimitController.php @@ -70,7 +70,7 @@ class BudgetLimitController extends Controller $this->middleware( function ($request, $next) { app('view')->share('title', (string) trans('firefly.budgets')); - app('view')->share('mainTitleIcon', 'fa-tasks'); + app('view')->share('mainTitleIcon', 'fa-pie-chart'); $this->repository = app(BudgetRepositoryInterface::class); $this->opsRepository = app(OperationsRepositoryInterface::class); $this->blRepository = app(BudgetLimitRepositoryInterface::class); diff --git a/app/Http/Controllers/Budget/CreateController.php b/app/Http/Controllers/Budget/CreateController.php index a802c30134..fd88ef52a9 100644 --- a/app/Http/Controllers/Budget/CreateController.php +++ b/app/Http/Controllers/Budget/CreateController.php @@ -58,7 +58,7 @@ class CreateController extends Controller $this->middleware( function ($request, $next) { app('view')->share('title', (string) trans('firefly.budgets')); - app('view')->share('mainTitleIcon', 'fa-tasks'); + app('view')->share('mainTitleIcon', 'fa-pie-chart'); $this->repository = app(BudgetRepositoryInterface::class); $this->attachments = app(AttachmentHelperInterface::class); diff --git a/app/Http/Controllers/Budget/DeleteController.php b/app/Http/Controllers/Budget/DeleteController.php index 442b856fa8..017719053b 100644 --- a/app/Http/Controllers/Budget/DeleteController.php +++ b/app/Http/Controllers/Budget/DeleteController.php @@ -54,7 +54,7 @@ class DeleteController extends Controller $this->middleware( function ($request, $next) { app('view')->share('title', (string) trans('firefly.budgets')); - app('view')->share('mainTitleIcon', 'fa-tasks'); + app('view')->share('mainTitleIcon', 'fa-pie-chart'); $this->repository = app(BudgetRepositoryInterface::class); return $next($request); diff --git a/app/Http/Controllers/Budget/EditController.php b/app/Http/Controllers/Budget/EditController.php index ea70b33be8..7dc7ce3495 100644 --- a/app/Http/Controllers/Budget/EditController.php +++ b/app/Http/Controllers/Budget/EditController.php @@ -59,7 +59,7 @@ class EditController extends Controller $this->middleware( function ($request, $next) { app('view')->share('title', (string) trans('firefly.budgets')); - app('view')->share('mainTitleIcon', 'fa-tasks'); + app('view')->share('mainTitleIcon', 'fa-pie-chart'); $this->repository = app(BudgetRepositoryInterface::class); $this->attachments = app(AttachmentHelperInterface::class); diff --git a/app/Http/Controllers/Budget/IndexController.php b/app/Http/Controllers/Budget/IndexController.php index 2e2cd96ef5..c9b81fee8f 100644 --- a/app/Http/Controllers/Budget/IndexController.php +++ b/app/Http/Controllers/Budget/IndexController.php @@ -72,7 +72,7 @@ class IndexController extends Controller $this->middleware( function ($request, $next) { app('view')->share('title', (string) trans('firefly.budgets')); - app('view')->share('mainTitleIcon', 'fa-tasks'); + app('view')->share('mainTitleIcon', 'fa-pie-chart'); $this->repository = app(BudgetRepositoryInterface::class); $this->opsRepository = app(OperationsRepositoryInterface::class); $this->abRepository = app(AvailableBudgetRepositoryInterface::class); diff --git a/app/Http/Controllers/Budget/ShowController.php b/app/Http/Controllers/Budget/ShowController.php index 3938a1d79b..60011147ff 100644 --- a/app/Http/Controllers/Budget/ShowController.php +++ b/app/Http/Controllers/Budget/ShowController.php @@ -64,7 +64,7 @@ class ShowController extends Controller $this->middleware( function ($request, $next) { app('view')->share('title', (string) trans('firefly.budgets')); - app('view')->share('mainTitleIcon', 'fa-tasks'); + app('view')->share('mainTitleIcon', 'fa-pie-chart'); $this->journalRepos = app(JournalRepositoryInterface::class); $this->repository = app(BudgetRepositoryInterface::class); diff --git a/app/Http/Controllers/Category/CreateController.php b/app/Http/Controllers/Category/CreateController.php index 7e019fc43f..fa19ddfcd1 100644 --- a/app/Http/Controllers/Category/CreateController.php +++ b/app/Http/Controllers/Category/CreateController.php @@ -57,7 +57,7 @@ class CreateController extends Controller $this->middleware( function ($request, $next) { app('view')->share('title', (string) trans('firefly.categories')); - app('view')->share('mainTitleIcon', 'fa-bar-chart'); + app('view')->share('mainTitleIcon', 'fa-bookmark'); $this->repository = app(CategoryRepositoryInterface::class); $this->attachments = app(AttachmentHelperInterface::class); diff --git a/app/Http/Controllers/Category/DeleteController.php b/app/Http/Controllers/Category/DeleteController.php index 6856243e14..59a2a19ecc 100644 --- a/app/Http/Controllers/Category/DeleteController.php +++ b/app/Http/Controllers/Category/DeleteController.php @@ -53,7 +53,7 @@ class DeleteController extends Controller $this->middleware( function ($request, $next) { app('view')->share('title', (string) trans('firefly.categories')); - app('view')->share('mainTitleIcon', 'fa-bar-chart'); + app('view')->share('mainTitleIcon', 'fa-bookmark'); $this->repository = app(CategoryRepositoryInterface::class); return $next($request); diff --git a/app/Http/Controllers/Category/EditController.php b/app/Http/Controllers/Category/EditController.php index 632fa5a2ef..f5050899ce 100644 --- a/app/Http/Controllers/Category/EditController.php +++ b/app/Http/Controllers/Category/EditController.php @@ -59,7 +59,7 @@ class EditController extends Controller $this->middleware( function ($request, $next) { app('view')->share('title', (string) trans('firefly.categories')); - app('view')->share('mainTitleIcon', 'fa-bar-chart'); + app('view')->share('mainTitleIcon', 'fa-bookmark'); $this->repository = app(CategoryRepositoryInterface::class); $this->attachments = app(AttachmentHelperInterface::class); diff --git a/app/Http/Controllers/Category/IndexController.php b/app/Http/Controllers/Category/IndexController.php index 063d9e6cec..633bf11cd0 100644 --- a/app/Http/Controllers/Category/IndexController.php +++ b/app/Http/Controllers/Category/IndexController.php @@ -53,7 +53,7 @@ class IndexController extends Controller $this->middleware( function ($request, $next) { app('view')->share('title', (string) trans('firefly.categories')); - app('view')->share('mainTitleIcon', 'fa-bar-chart'); + app('view')->share('mainTitleIcon', 'fa-bookmark'); $this->repository = app(CategoryRepositoryInterface::class); return $next($request); diff --git a/app/Http/Controllers/Category/NoCategoryController.php b/app/Http/Controllers/Category/NoCategoryController.php index e4ff1bef55..8f7f5904f3 100644 --- a/app/Http/Controllers/Category/NoCategoryController.php +++ b/app/Http/Controllers/Category/NoCategoryController.php @@ -59,7 +59,7 @@ class NoCategoryController extends Controller $this->middleware( function ($request, $next) { app('view')->share('title', (string) trans('firefly.categories')); - app('view')->share('mainTitleIcon', 'fa-bar-chart'); + app('view')->share('mainTitleIcon', 'fa-bookmark'); $this->journalRepos = app(JournalRepositoryInterface::class); return $next($request); diff --git a/app/Http/Controllers/Category/ShowController.php b/app/Http/Controllers/Category/ShowController.php index 707fb39ffa..aa64ccdf36 100644 --- a/app/Http/Controllers/Category/ShowController.php +++ b/app/Http/Controllers/Category/ShowController.php @@ -58,7 +58,7 @@ class ShowController extends Controller $this->middleware( function ($request, $next) { app('view')->share('title', (string) trans('firefly.categories')); - app('view')->share('mainTitleIcon', 'fa-bar-chart'); + app('view')->share('mainTitleIcon', 'fa-bookmark'); $this->repository = app(CategoryRepositoryInterface::class); return $next($request); @@ -84,7 +84,7 @@ class ShowController extends Controller $start = $start ?? session('start', Carbon::now()->startOfMonth()); /** @var Carbon $end */ $end = $end ?? session('end', Carbon::now()->endOfMonth()); - $subTitleIcon = 'fa-bar-chart'; + $subTitleIcon = 'fa-bookmark'; $page = (int) $request->get('page'); $attachments = $this->repository->getAttachments($category); $pageSize = (int) app('preferences')->get('listPageSize', 50)->data; @@ -122,7 +122,7 @@ class ShowController extends Controller public function showAll(Request $request, Category $category) { // default values: - $subTitleIcon = 'fa-bar-chart'; + $subTitleIcon = 'fa-bookmark'; $page = (int) $request->get('page'); $pageSize = (int) app('preferences')->get('listPageSize', 50)->data; $start = null; diff --git a/app/Http/Controllers/Json/BudgetController.php b/app/Http/Controllers/Json/BudgetController.php index 30f3a1c38c..bcdf5e9376 100644 --- a/app/Http/Controllers/Json/BudgetController.php +++ b/app/Http/Controllers/Json/BudgetController.php @@ -63,7 +63,7 @@ class BudgetController extends Controller $this->middleware( function ($request, $next) { app('view')->share('title', (string) trans('firefly.budgets')); - app('view')->share('mainTitleIcon', 'fa-tasks'); + app('view')->share('mainTitleIcon', 'fa-pie-chart'); $this->repository = app(BudgetRepositoryInterface::class); $this->opsRepository = app(OperationsRepositoryInterface::class); $this->abRepository = app(AvailableBudgetRepositoryInterface::class); diff --git a/app/Http/Controllers/PiggyBankController.php b/app/Http/Controllers/PiggyBankController.php index 5b0d2e455a..ff3a4d0738 100644 --- a/app/Http/Controllers/PiggyBankController.php +++ b/app/Http/Controllers/PiggyBankController.php @@ -71,7 +71,7 @@ class PiggyBankController extends Controller $this->middleware( function ($request, $next) { app('view')->share('title', (string) trans('firefly.piggyBanks')); - app('view')->share('mainTitleIcon', 'fa-sort-amount-asc'); + app('view')->share('mainTitleIcon', 'fa-bullseye'); $this->attachments = app(AttachmentHelperInterface::class); $this->piggyRepos = app(PiggyBankRepositoryInterface::class); diff --git a/app/Http/Controllers/ReportController.php b/app/Http/Controllers/ReportController.php index a089138782..f9b0cf5304 100644 --- a/app/Http/Controllers/ReportController.php +++ b/app/Http/Controllers/ReportController.php @@ -64,7 +64,7 @@ class ReportController extends Controller $this->middleware( function ($request, $next) { app('view')->share('title', (string) trans('firefly.reports')); - app('view')->share('mainTitleIcon', 'fa-line-chart'); + app('view')->share('mainTitleIcon', 'fa-bar-chart'); app('view')->share('subTitleIcon', 'fa-calendar'); $this->helper = app(ReportHelperInterface::class); $this->repository = app(BudgetRepositoryInterface::class); diff --git a/app/Http/Controllers/System/CronController.php b/app/Http/Controllers/System/CronController.php index 90d8715330..df44ae8a7b 100644 --- a/app/Http/Controllers/System/CronController.php +++ b/app/Http/Controllers/System/CronController.php @@ -41,6 +41,7 @@ class CronController { $results = []; $results[] = $this->runRecurring(); + $results[] = $this->runAutoBudget(); return implode("
\n", $results); } diff --git a/app/Http/Controllers/TagController.php b/app/Http/Controllers/TagController.php index 4db114fea6..ffa4e50092 100644 --- a/app/Http/Controllers/TagController.php +++ b/app/Http/Controllers/TagController.php @@ -60,7 +60,7 @@ class TagController extends Controller $this->middleware( function ($request, $next) { app('view')->share('title', (string) trans('firefly.tags')); - app('view')->share('mainTitleIcon', 'fa-tags'); + app('view')->share('mainTitleIcon', 'fa-tag'); $this->attachments = app(AttachmentHelperInterface::class); $this->repository = app(TagRepositoryInterface::class); diff --git a/app/Http/Controllers/Transaction/BulkController.php b/app/Http/Controllers/Transaction/BulkController.php index 5646532911..bb01495103 100644 --- a/app/Http/Controllers/Transaction/BulkController.php +++ b/app/Http/Controllers/Transaction/BulkController.php @@ -56,7 +56,7 @@ class BulkController extends Controller function ($request, $next) { $this->repository = app(JournalRepositoryInterface::class); app('view')->share('title', (string) trans('firefly.transactions')); - app('view')->share('mainTitleIcon', 'fa-repeat'); + app('view')->share('mainTitleIcon', 'fa-exchange'); return $next($request); } diff --git a/app/Http/Controllers/Transaction/CreateController.php b/app/Http/Controllers/Transaction/CreateController.php index 94fcf387e9..ecd39cb1e3 100644 --- a/app/Http/Controllers/Transaction/CreateController.php +++ b/app/Http/Controllers/Transaction/CreateController.php @@ -49,7 +49,7 @@ class CreateController extends Controller $this->middleware( static function ($request, $next) { app('view')->share('title', (string) trans('firefly.transactions')); - app('view')->share('mainTitleIcon', 'fa-repeat'); + app('view')->share('mainTitleIcon', 'fa-exchange'); return $next($request); } diff --git a/app/Http/Controllers/Transaction/DeleteController.php b/app/Http/Controllers/Transaction/DeleteController.php index 585bc0a198..87e3dfc429 100644 --- a/app/Http/Controllers/Transaction/DeleteController.php +++ b/app/Http/Controllers/Transaction/DeleteController.php @@ -56,7 +56,7 @@ class DeleteController extends Controller $this->middleware( function ($request, $next) { app('view')->share('title', (string) trans('firefly.transactions')); - app('view')->share('mainTitleIcon', 'fa-repeat'); + app('view')->share('mainTitleIcon', 'fa-exchange'); $this->repository = app(TransactionGroupRepositoryInterface::class); diff --git a/app/Http/Controllers/Transaction/EditController.php b/app/Http/Controllers/Transaction/EditController.php index 9c78da80b7..cf9a413515 100644 --- a/app/Http/Controllers/Transaction/EditController.php +++ b/app/Http/Controllers/Transaction/EditController.php @@ -52,7 +52,7 @@ class EditController extends Controller static function ($request, $next) { app('view')->share('title', (string) trans('firefly.transactions')); - app('view')->share('mainTitleIcon', 'fa-repeat'); + app('view')->share('mainTitleIcon', 'fa-exchange'); return $next($request); } diff --git a/app/Http/Controllers/Transaction/IndexController.php b/app/Http/Controllers/Transaction/IndexController.php index 46b42ad72d..22355d5d6d 100644 --- a/app/Http/Controllers/Transaction/IndexController.php +++ b/app/Http/Controllers/Transaction/IndexController.php @@ -56,8 +56,8 @@ class IndexController extends Controller // translations: $this->middleware( function ($request, $next) { - app('view')->share('mainTitleIcon', 'fa-credit-card'); - app('view')->share('title', (string) trans('firefly.accounts')); + app('view')->share('mainTitleIcon', 'fa-exchange'); + app('view')->share('title', (string) trans('firefly.transactions')); $this->repository = app(JournalRepositoryInterface::class); @@ -88,7 +88,9 @@ class IndexController extends Controller $end = session('end'); } if (null === $end) { - $end = session('end'); // @codeCoverageIgnore + // get last transaction ever? + $last = $this->repository->getLast(); + $end = $last ? $last->date : session('end'); } [$start, $end] = $end < $start ? [$end, $start] : [$start, $end]; @@ -134,14 +136,15 @@ class IndexController extends Controller $repository = app(JournalRepositoryInterface::class); - $subTitleIcon = config('firefly.transactionIconsByWhat.' . $objectType); - $types = config('firefly.transactionTypesByWhat.' . $objectType); + $subTitleIcon = config('firefly.transactionIconsByType.' . $objectType); + $types = config('firefly.transactionTypesByType.' . $objectType); $page = (int) $request->get('page'); $pageSize = (int) app('preferences')->get('listPageSize', 50)->data; $path = route('transactions.index.all', [$objectType]); $first = $repository->firstNull(); $start = null === $first ? new Carbon : $first->date; - $end = new Carbon; + $last = $this->repository->getLast(); + $end = $last ? $last->date : new Carbon; $subTitle = (string) trans('firefly.all_' . $objectType); /** @var GroupCollectorInterface $collector */ diff --git a/app/Http/Controllers/Transaction/LinkController.php b/app/Http/Controllers/Transaction/LinkController.php index c9df232c4b..2b019710b8 100644 --- a/app/Http/Controllers/Transaction/LinkController.php +++ b/app/Http/Controllers/Transaction/LinkController.php @@ -57,7 +57,7 @@ class LinkController extends Controller $this->middleware( function ($request, $next) { app('view')->share('title', (string) trans('firefly.transactions')); - app('view')->share('mainTitleIcon', 'fa-repeat'); + app('view')->share('mainTitleIcon', 'fa-exchange'); $this->journalRepository = app(JournalRepositoryInterface::class); $this->repository = app(LinkTypeRepositoryInterface::class); diff --git a/app/Http/Controllers/Transaction/MassController.php b/app/Http/Controllers/Transaction/MassController.php index 977028bdb3..1de06095fa 100644 --- a/app/Http/Controllers/Transaction/MassController.php +++ b/app/Http/Controllers/Transaction/MassController.php @@ -62,7 +62,7 @@ class MassController extends Controller $this->middleware( function ($request, $next) { app('view')->share('title', (string) trans('firefly.transactions')); - app('view')->share('mainTitleIcon', 'fa-repeat'); + app('view')->share('mainTitleIcon', 'fa-exchange'); $this->repository = app(JournalRepositoryInterface::class); return $next($request); diff --git a/app/Http/Middleware/SecureHeaders.php b/app/Http/Middleware/SecureHeaders.php index 820e01b994..f4725c2abe 100644 --- a/app/Http/Middleware/SecureHeaders.php +++ b/app/Http/Middleware/SecureHeaders.php @@ -58,7 +58,7 @@ class SecureHeaders "base-uri 'self'", "font-src 'self' data:", "connect-src 'self'", - sprintf("img-src 'self' data: https://api.tiles.mapbox.com %s", $trackingScriptSrc), + sprintf("img-src 'self' data: https://a.tile.openstreetmap.org https://b.tile.openstreetmap.org https://c.tile.openstreetmap.org https://api.tiles.mapbox.com %s", $trackingScriptSrc), "manifest-src 'self'", ]; diff --git a/app/Http/Requests/Request.php b/app/Http/Requests/Request.php index 670e48ab05..ca6e9227c1 100644 --- a/app/Http/Requests/Request.php +++ b/app/Http/Requests/Request.php @@ -297,8 +297,9 @@ class Request extends FormRequest $latitudeKey = $this->getLocationKey($prefix, 'latitude'); $zoomLevelKey = $this->getLocationKey($prefix, 'zoom_level'); $hasLocationKey = $this->getLocationKey($prefix, 'has_location'); + $hasLocation = $this->boolean($hasLocationKey); - // for a POST (store, all fields must be present and accounted for: + // for a POST (store), all fields must be present and accounted for: if ( ('POST' === $this->method() && $this->routeIs('*.store')) && ($this->has($longitudeKey) && $this->has($latitudeKey) && $this->has($zoomLevelKey)) @@ -322,12 +323,14 @@ class Request extends FormRequest $data['latitude'] = $this->nullableString($latitudeKey); $data['zoom_level'] = $this->nullableString($zoomLevelKey); } - if (null === $data['longitude'] || null === $data['latitude'] || null === $data['zoom_level']) { - Log::debug('One of the fields is NULL, wont save.'); + if (false === $hasLocation || null === $data['longitude'] || null === $data['latitude'] || null === $data['zoom_level']) { + Log::debug('One of the fields is NULL or hasLocation is false, wont save.'); $data['store_location'] = false; - $data['update_location'] = false; + $data['update_location'] = true; // update is always true, but the values are null: + $data['longitude'] = null; + $data['latitude'] = null; + $data['zoom_level'] = null; } - Log::debug(sprintf('Returning longitude: "%s", latitude: "%s", zoom level: "%s"', $data['longitude'], $data['latitude'], $data['zoom_level'])); return $data; diff --git a/app/Repositories/Journal/JournalRepository.php b/app/Repositories/Journal/JournalRepository.php index f30e33b188..d25545750b 100644 --- a/app/Repositories/Journal/JournalRepository.php +++ b/app/Repositories/Journal/JournalRepository.php @@ -407,4 +407,19 @@ class JournalRepository implements JournalRepositoryInterface return $transaction->account; } + + /** + * @return TransactionJournal|null + */ + public function getLast(): ?TransactionJournal + { + /** @var TransactionJournal $entry */ + $entry = $this->user->transactionJournals()->orderBy('date', 'DESC')->first(['transaction_journals.*']); + $result = null; + if (null !== $entry) { + $result = $entry; + } + + return $result; + } } diff --git a/app/Repositories/Journal/JournalRepositoryInterface.php b/app/Repositories/Journal/JournalRepositoryInterface.php index df05ba2b6e..e188c69002 100644 --- a/app/Repositories/Journal/JournalRepositoryInterface.php +++ b/app/Repositories/Journal/JournalRepositoryInterface.php @@ -37,6 +37,10 @@ use Illuminate\Support\Collection; */ interface JournalRepositoryInterface { + /** + * @return TransactionJournal|null + */ + public function getLast(): ?TransactionJournal; /** * TODO maybe create JSON repository? @@ -44,6 +48,7 @@ interface JournalRepositoryInterface * Search in journal descriptions. * * @param string $search + * * @return Collection */ public function searchJournalDescriptions(string $search): Collection; diff --git a/app/Repositories/PiggyBank/ModifiesPiggyBanks.php b/app/Repositories/PiggyBank/ModifiesPiggyBanks.php index e281f72c43..7b72fcf652 100644 --- a/app/Repositories/PiggyBank/ModifiesPiggyBanks.php +++ b/app/Repositories/PiggyBank/ModifiesPiggyBanks.php @@ -142,6 +142,9 @@ trait ModifiesPiggyBanks */ public function createEvent(PiggyBank $piggyBank, string $amount): PiggyBankEvent { + if (0 === bccomp('0', $amount)) { + return new PiggyBankEvent; + } /** @var PiggyBankEvent $event */ $event = PiggyBankEvent::create(['date' => Carbon::now(), 'amount' => $amount, 'piggy_bank_id' => $piggyBank->id]); @@ -219,11 +222,12 @@ trait ModifiesPiggyBanks if (1 === bccomp($amount, $max)) { $amount = $max; } + $difference = bcsub($amount, $repetition->currentamount); $repetition->currentamount = $amount; $repetition->save(); // create event - $this->createEvent($piggyBank, $amount); + $this->createEvent($piggyBank, $difference); return $piggyBank; } @@ -343,4 +347,4 @@ trait ModifiesPiggyBanks return true; } -} \ No newline at end of file +} diff --git a/app/Support/Http/Controllers/CronRunner.php b/app/Support/Http/Controllers/CronRunner.php index 7fb9a4b241..df513b291a 100644 --- a/app/Support/Http/Controllers/CronRunner.php +++ b/app/Support/Http/Controllers/CronRunner.php @@ -24,6 +24,7 @@ declare(strict_types=1); namespace FireflyIII\Support\Http\Controllers; use FireflyIII\Exceptions\FireflyException; +use FireflyIII\Support\Cronjobs\AutoBudgetCronjob; use FireflyIII\Support\Cronjobs\RecurringCronjob; /** @@ -50,4 +51,23 @@ trait CronRunner return 'The recurring transaction cron job fired successfully.'; } + /** + * @return string + */ + protected function runAutoBudget(): string + { + /** @var AutoBudgetCronjob $autoBudget */ + $autoBudget = app(AutoBudgetCronjob::class); + try { + $result = $autoBudget->fire(); + } catch (FireflyException $e) { + return $e->getMessage(); + } + if (false === $result) { + return 'The auto budget cron job did not fire.'; + } + + return 'The auto budget cron job fired successfully.'; + } + } diff --git a/changelog.md b/changelog.md index edf9930556..973de9c29e 100644 --- a/changelog.md +++ b/changelog.md @@ -2,6 +2,21 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). +## [5.2.5 (API 1.1.0)] - 2020-05-04 + +### Added +- Some warnings that custom locales may not work on Windows or in Docker images. + +### Changed +- [Issue 3305](https://github.com/firefly-iii/firefly-iii/issues/3305) User [@lguima](https://github.com/lguima) revamped the left side menu and associated icons. + +### Fixed +- [Issue 3307](https://github.com/firefly-iii/firefly-iii/issues/3307) Editing or creating accounts would automatically give them a location. +- [Issue 3314](https://github.com/firefly-iii/firefly-iii/issues/3314) Future transactions would not always be visible, even when the daterange should include them. +- [Issue 3318](https://github.com/firefly-iii/firefly-iii/issues/3318) Cron called over URL would skip auto-budgets. +- [Issue 3321](https://github.com/firefly-iii/firefly-iii/issues/3321) API for piggy bank funds would create events with the wrong amount. +- [Issue 3330](https://github.com/firefly-iii/firefly-iii/issues/3330) Transactions not stored at 00:00 would be excluded from some views. + ## [5.2.4 (API 1.1.0)] - 2020-04-26 ### Fixed diff --git a/composer.lock b/composer.lock index dd09b2038d..deed74711f 100644 --- a/composer.lock +++ b/composer.lock @@ -1261,16 +1261,16 @@ }, { "name": "laminas/laminas-diactoros", - "version": "2.2.3", + "version": "2.3.0", "source": { "type": "git", "url": "https://github.com/laminas/laminas-diactoros.git", - "reference": "b596c7141f5093aefec94cb5e8745212299e290f" + "reference": "5ab185dba63ec655a2380c97711b09adc7061f89" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-diactoros/zipball/b596c7141f5093aefec94cb5e8745212299e290f", - "reference": "b596c7141f5093aefec94cb5e8745212299e290f", + "url": "https://api.github.com/repos/laminas/laminas-diactoros/zipball/5ab185dba63ec655a2380c97711b09adc7061f89", + "reference": "5ab185dba63ec655a2380c97711b09adc7061f89", "shasum": "" }, "require": { @@ -1301,9 +1301,12 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.1.x-dev", - "dev-develop": "2.2.x-dev", - "dev-release-1.8": "1.8.x-dev" + "dev-master": "2.3.x-dev", + "dev-develop": "2.4.x-dev" + }, + "laminas": { + "config-provider": "Laminas\\Diactoros\\ConfigProvider", + "module": "Laminas\\Diactoros" } }, "autoload": { @@ -1341,7 +1344,13 @@ "psr", "psr-7" ], - "time": "2020-03-29T12:30:54+00:00" + "funding": [ + { + "url": "https://funding.communitybridge.org/projects/laminas-project", + "type": "community_bridge" + } + ], + "time": "2020-04-27T17:07:01+00:00" }, { "name": "laminas/laminas-zendframework-bridge", @@ -1397,16 +1406,16 @@ }, { "name": "laravel/framework", - "version": "v6.18.10", + "version": "v6.18.11", "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "9177744ccdd8d5db970fdff2383fe89c2e94aabe" + "reference": "73bc10bb23aab7539c8ffae6d5dc3c4b277de557" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/9177744ccdd8d5db970fdff2383fe89c2e94aabe", - "reference": "9177744ccdd8d5db970fdff2383fe89c2e94aabe", + "url": "https://api.github.com/repos/laravel/framework/zipball/73bc10bb23aab7539c8ffae6d5dc3c4b277de557", + "reference": "73bc10bb23aab7539c8ffae6d5dc3c4b277de557", "shasum": "" }, "require": { @@ -1539,7 +1548,7 @@ "framework", "laravel" ], - "time": "2020-04-21T18:53:10+00:00" + "time": "2020-04-28T15:18:58+00:00" }, { "name": "laravel/passport", @@ -2196,16 +2205,16 @@ }, { "name": "league/oauth2-server", - "version": "8.0.0", + "version": "8.1.0", "source": { "type": "git", "url": "https://github.com/thephpleague/oauth2-server.git", - "reference": "e1dc4d708c56fcfa205be4bb1862b6d525b4baac" + "reference": "b53d324f774eb782250f7d8973811a33a75ecdef" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/oauth2-server/zipball/e1dc4d708c56fcfa205be4bb1862b6d525b4baac", - "reference": "e1dc4d708c56fcfa205be4bb1862b6d525b4baac", + "url": "https://api.github.com/repos/thephpleague/oauth2-server/zipball/b53d324f774eb782250f7d8973811a33a75ecdef", + "reference": "b53d324f774eb782250f7d8973811a33a75ecdef", "shasum": "" }, "require": { @@ -2214,7 +2223,7 @@ "ext-openssl": "*", "lcobucci/jwt": "^3.3.1", "league/event": "^2.2", - "php": ">=7.1.0", + "php": ">=7.2.0", "psr/http-message": "^1.0.1" }, "replace": { @@ -2222,11 +2231,11 @@ "lncd/oauth2": "*" }, "require-dev": { - "phpstan/phpstan": "^0.11.8", + "laminas/laminas-diactoros": "^2.3.0", + "phpstan/phpstan": "^0.11.19", "phpstan/phpstan-phpunit": "^0.11.2", - "phpunit/phpunit": "^7.5.13 || ^8.2.3", - "roave/security-advisories": "dev-master", - "zendframework/zend-diactoros": "^2.1.2" + "phpunit/phpunit": "^8.5.4 || ^9.1.3", + "roave/security-advisories": "dev-master" }, "type": "library", "autoload": { @@ -2269,7 +2278,13 @@ "secure", "server" ], - "time": "2019-07-13T18:58:26+00:00" + "funding": [ + { + "url": "https://github.com/sephster", + "type": "github" + } + ], + "time": "2020-04-29T22:14:38+00:00" }, { "name": "litipk/flysystem-fallback-adapter", @@ -2430,21 +2445,22 @@ }, { "name": "nesbot/carbon", - "version": "2.32.2", + "version": "2.33.0", "source": { "type": "git", "url": "https://github.com/briannesbitt/Carbon.git", - "reference": "f10e22cf546704fab1db4ad4b9dedbc5c797a0dc" + "reference": "4d93cb95a80d9ffbff4018fe58ae3b7dd7f4b99b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/f10e22cf546704fab1db4ad4b9dedbc5c797a0dc", - "reference": "f10e22cf546704fab1db4ad4b9dedbc5c797a0dc", + "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/4d93cb95a80d9ffbff4018fe58ae3b7dd7f4b99b", + "reference": "4d93cb95a80d9ffbff4018fe58ae3b7dd7f4b99b", "shasum": "" }, "require": { "ext-json": "*", "php": "^7.1.8 || ^8.0", + "symfony/polyfill-mbstring": "^1.0", "symfony/translation": "^3.4 || ^4.0 || ^5.0" }, "require-dev": { @@ -2497,7 +2513,17 @@ "datetime", "time" ], - "time": "2020-03-31T13:43:19+00:00" + "funding": [ + { + "url": "https://opencollective.com/Carbon", + "type": "open_collective" + }, + { + "url": "https://tidelift.com/funding/github/packagist/nesbot/carbon", + "type": "tidelift" + } + ], + "time": "2020-04-20T15:05:43+00:00" }, { "name": "nyholm/psr7", @@ -3726,7 +3752,7 @@ }, { "name": "symfony/console", - "version": "v4.4.7", + "version": "v4.4.8", "source": { "type": "git", "url": "https://github.com/symfony/console.git", @@ -3798,11 +3824,25 @@ ], "description": "Symfony Console Component", "homepage": "https://symfony.com", + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], "time": "2020-03-30T11:41:10+00:00" }, { "name": "symfony/css-selector", - "version": "v5.0.7", + "version": "v5.0.8", "source": { "type": "git", "url": "https://github.com/symfony/css-selector.git", @@ -3869,7 +3909,7 @@ }, { "name": "symfony/debug", - "version": "v4.4.7", + "version": "v4.4.8", "source": { "type": "git", "url": "https://github.com/symfony/debug.git", @@ -3939,7 +3979,7 @@ }, { "name": "symfony/error-handler", - "version": "v4.4.7", + "version": "v4.4.8", "source": { "type": "git", "url": "https://github.com/symfony/error-handler.git", @@ -3991,11 +4031,25 @@ ], "description": "Symfony ErrorHandler Component", "homepage": "https://symfony.com", + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], "time": "2020-03-30T14:07:33+00:00" }, { "name": "symfony/event-dispatcher", - "version": "v4.4.7", + "version": "v4.4.8", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher.git", @@ -4137,7 +4191,7 @@ }, { "name": "symfony/finder", - "version": "v4.4.7", + "version": "v4.4.8", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", @@ -4200,16 +4254,16 @@ }, { "name": "symfony/http-foundation", - "version": "v4.4.7", + "version": "v4.4.8", "source": { "type": "git", "url": "https://github.com/symfony/http-foundation.git", - "reference": "62f92509c9abfd1f73e17b8cf1b72c0bdac6611b" + "reference": "ec5bd254c223786f5fa2bb49a1e705c1b8e7cee2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-foundation/zipball/62f92509c9abfd1f73e17b8cf1b72c0bdac6611b", - "reference": "62f92509c9abfd1f73e17b8cf1b72c0bdac6611b", + "url": "https://api.github.com/repos/symfony/http-foundation/zipball/ec5bd254c223786f5fa2bb49a1e705c1b8e7cee2", + "reference": "ec5bd254c223786f5fa2bb49a1e705c1b8e7cee2", "shasum": "" }, "require": { @@ -4251,20 +4305,34 @@ ], "description": "Symfony HttpFoundation Component", "homepage": "https://symfony.com", - "time": "2020-03-30T14:07:33+00:00" + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-04-18T20:40:08+00:00" }, { "name": "symfony/http-kernel", - "version": "v4.4.7", + "version": "v4.4.8", "source": { "type": "git", "url": "https://github.com/symfony/http-kernel.git", - "reference": "f356a489e51856b99908005eb7f2c51a1dfc95dc" + "reference": "1799a6c01f0db5851f399151abdb5d6393fec277" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-kernel/zipball/f356a489e51856b99908005eb7f2c51a1dfc95dc", - "reference": "f356a489e51856b99908005eb7f2c51a1dfc95dc", + "url": "https://api.github.com/repos/symfony/http-kernel/zipball/1799a6c01f0db5851f399151abdb5d6393fec277", + "reference": "1799a6c01f0db5851f399151abdb5d6393fec277", "shasum": "" }, "require": { @@ -4341,20 +4409,34 @@ ], "description": "Symfony HttpKernel Component", "homepage": "https://symfony.com", - "time": "2020-03-30T14:59:15+00:00" + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-04-28T18:47:42+00:00" }, { "name": "symfony/mime", - "version": "v5.0.7", + "version": "v5.0.8", "source": { "type": "git", "url": "https://github.com/symfony/mime.git", - "reference": "481b7d6da88922fb1e0d86a943987722b08f3955" + "reference": "5d6c81c39225a750f3f43bee15f03093fb9aaa0b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/mime/zipball/481b7d6da88922fb1e0d86a943987722b08f3955", - "reference": "481b7d6da88922fb1e0d86a943987722b08f3955", + "url": "https://api.github.com/repos/symfony/mime/zipball/5d6c81c39225a750f3f43bee15f03093fb9aaa0b", + "reference": "5d6c81c39225a750f3f43bee15f03093fb9aaa0b", "shasum": "" }, "require": { @@ -4403,7 +4485,21 @@ "mime", "mime-type" ], - "time": "2020-03-27T16:56:45+00:00" + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-04-17T03:29:44+00:00" }, { "name": "symfony/polyfill-ctype", @@ -4978,16 +5074,16 @@ }, { "name": "symfony/process", - "version": "v4.4.7", + "version": "v4.4.8", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "3e40e87a20eaf83a1db825e1fa5097ae89042db3" + "reference": "4b6a9a4013baa65d409153cbb5a895bf093dc7f4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/3e40e87a20eaf83a1db825e1fa5097ae89042db3", - "reference": "3e40e87a20eaf83a1db825e1fa5097ae89042db3", + "url": "https://api.github.com/repos/symfony/process/zipball/4b6a9a4013baa65d409153cbb5a895bf093dc7f4", + "reference": "4b6a9a4013baa65d409153cbb5a895bf093dc7f4", "shasum": "" }, "require": { @@ -5023,7 +5119,21 @@ ], "description": "Symfony Process Component", "homepage": "https://symfony.com", - "time": "2020-03-27T16:54:36+00:00" + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-04-15T15:56:18+00:00" }, { "name": "symfony/psr-http-message-bridge", @@ -5091,16 +5201,16 @@ }, { "name": "symfony/routing", - "version": "v4.4.7", + "version": "v4.4.8", "source": { "type": "git", "url": "https://github.com/symfony/routing.git", - "reference": "0f562fa613e288d7dbae6c63abbc9b33ed75a8f8" + "reference": "67b4e1f99c050cbc310b8f3d0dbdc4b0212c052c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/routing/zipball/0f562fa613e288d7dbae6c63abbc9b33ed75a8f8", - "reference": "0f562fa613e288d7dbae6c63abbc9b33ed75a8f8", + "url": "https://api.github.com/repos/symfony/routing/zipball/67b4e1f99c050cbc310b8f3d0dbdc4b0212c052c", + "reference": "67b4e1f99c050cbc310b8f3d0dbdc4b0212c052c", "shasum": "" }, "require": { @@ -5163,7 +5273,21 @@ "uri", "url" ], - "time": "2020-03-30T11:41:10+00:00" + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-04-21T19:59:53+00:00" }, { "name": "symfony/service-contracts", @@ -5225,16 +5349,16 @@ }, { "name": "symfony/translation", - "version": "v4.4.7", + "version": "v4.4.8", "source": { "type": "git", "url": "https://github.com/symfony/translation.git", - "reference": "4e54d336f2eca5facad449d0b0118bb449375b76" + "reference": "8272bbd2b7e220ef812eba2a2b30068a5c64b191" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation/zipball/4e54d336f2eca5facad449d0b0118bb449375b76", - "reference": "4e54d336f2eca5facad449d0b0118bb449375b76", + "url": "https://api.github.com/repos/symfony/translation/zipball/8272bbd2b7e220ef812eba2a2b30068a5c64b191", + "reference": "8272bbd2b7e220ef812eba2a2b30068a5c64b191", "shasum": "" }, "require": { @@ -5297,7 +5421,21 @@ ], "description": "Symfony Translation Component", "homepage": "https://symfony.com", - "time": "2020-03-27T16:54:36+00:00" + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-04-12T16:45:36+00:00" }, { "name": "symfony/translation-contracts", @@ -5358,16 +5496,16 @@ }, { "name": "symfony/var-dumper", - "version": "v4.4.7", + "version": "v4.4.8", "source": { "type": "git", "url": "https://github.com/symfony/var-dumper.git", - "reference": "5a0c2d93006131a36cf6f767d10e2ca8333b0d4a" + "reference": "c587e04ce5d1aa62d534a038f574d9a709e814cf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-dumper/zipball/5a0c2d93006131a36cf6f767d10e2ca8333b0d4a", - "reference": "5a0c2d93006131a36cf6f767d10e2ca8333b0d4a", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/c587e04ce5d1aa62d534a038f574d9a709e814cf", + "reference": "c587e04ce5d1aa62d534a038f574d9a709e814cf", "shasum": "" }, "require": { @@ -5430,20 +5568,34 @@ "debug", "dump" ], - "time": "2020-03-27T16:54:36+00:00" + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-04-12T16:14:02+00:00" }, { "name": "tightenco/collect", - "version": "v7.6.1", + "version": "v7.9.2", "source": { "type": "git", "url": "https://github.com/tightenco/collect.git", - "reference": "4b6a215656eb77bdaa31b0f61aa9e2a3eaf2f7a0" + "reference": "372230e88129364638d2d9809143fafbb993d7d4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/tightenco/collect/zipball/4b6a215656eb77bdaa31b0f61aa9e2a3eaf2f7a0", - "reference": "4b6a215656eb77bdaa31b0f61aa9e2a3eaf2f7a0", + "url": "https://api.github.com/repos/tightenco/collect/zipball/372230e88129364638d2d9809143fafbb993d7d4", + "reference": "372230e88129364638d2d9809143fafbb993d7d4", "shasum": "" }, "require": { @@ -5480,7 +5632,7 @@ "collection", "laravel" ], - "time": "2020-04-17T18:15:55+00:00" + "time": "2020-04-29T16:33:30+00:00" }, { "name": "tijsverkoyen/css-to-inline-styles", @@ -5598,20 +5750,20 @@ }, { "name": "vlucas/phpdotenv", - "version": "v3.6.3", + "version": "v3.6.4", "source": { "type": "git", "url": "https://github.com/vlucas/phpdotenv.git", - "reference": "1b3103013797f04521c6cae5560f604649484066" + "reference": "10d3f853fdf1f3a6b3c7ea0c4620d2f699713db5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/1b3103013797f04521c6cae5560f604649484066", - "reference": "1b3103013797f04521c6cae5560f604649484066", + "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/10d3f853fdf1f3a6b3c7ea0c4620d2f699713db5", + "reference": "10d3f853fdf1f3a6b3c7ea0c4620d2f699713db5", "shasum": "" }, "require": { - "php": "^5.4 || ^7.0", + "php": "^5.4 || ^7.0 || ^8.0", "phpoption/phpoption": "^1.5", "symfony/polyfill-ctype": "^1.9" }, @@ -5657,22 +5809,32 @@ "env", "environment" ], - "time": "2020-04-12T15:18:03+00:00" + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/vlucas/phpdotenv", + "type": "tidelift" + } + ], + "time": "2020-05-02T13:46:13+00:00" } ], "packages-dev": [ { "name": "amphp/amp", - "version": "v2.4.3", + "version": "v2.4.4", "source": { "type": "git", "url": "https://github.com/amphp/amp.git", - "reference": "23ac95fc6d6973231763f5ed7d1309b39429b974" + "reference": "1e58d53e4af390efc7813e36cd215bd82cba4b06" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/amphp/amp/zipball/23ac95fc6d6973231763f5ed7d1309b39429b974", - "reference": "23ac95fc6d6973231763f5ed7d1309b39429b974", + "url": "https://api.github.com/repos/amphp/amp/zipball/1e58d53e4af390efc7813e36cd215bd82cba4b06", + "reference": "1e58d53e4af390efc7813e36cd215bd82cba4b06", "shasum": "" }, "require": { @@ -5737,7 +5899,7 @@ "non-blocking", "promise" ], - "time": "2020-04-19T15:54:21+00:00" + "time": "2020-04-30T04:54:50+00:00" }, { "name": "amphp/byte-stream", @@ -6997,16 +7159,16 @@ }, { "name": "orchestra/testbench", - "version": "v4.7.0", + "version": "v4.8.0", "source": { "type": "git", "url": "https://github.com/orchestral/testbench.git", - "reference": "133e2756f15e8e605c22973d255290798f933e70" + "reference": "8f299c614927de8e1435967606d01078cc4e351c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/orchestral/testbench/zipball/133e2756f15e8e605c22973d255290798f933e70", - "reference": "133e2756f15e8e605c22973d255290798f933e70", + "url": "https://api.github.com/repos/orchestral/testbench/zipball/8f299c614927de8e1435967606d01078cc4e351c", + "reference": "8f299c614927de8e1435967606d01078cc4e351c", "shasum": "" }, "require": { @@ -7053,7 +7215,7 @@ "type": "patreon" } ], - "time": "2020-03-06T23:23:46+00:00" + "time": "2020-04-28T00:48:09+00:00" }, { "name": "orchestra/testbench-core", @@ -7234,24 +7396,21 @@ }, { "name": "phpdocumentor/reflection-common", - "version": "2.0.0", + "version": "2.1.0", "source": { "type": "git", "url": "https://github.com/phpDocumentor/ReflectionCommon.git", - "reference": "63a995caa1ca9e5590304cd845c15ad6d482a62a" + "reference": "6568f4687e5b41b054365f9ae03fcb1ed5f2069b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/63a995caa1ca9e5590304cd845c15ad6d482a62a", - "reference": "63a995caa1ca9e5590304cd845c15ad6d482a62a", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/6568f4687e5b41b054365f9ae03fcb1ed5f2069b", + "reference": "6568f4687e5b41b054365f9ae03fcb1ed5f2069b", "shasum": "" }, "require": { "php": ">=7.1" }, - "require-dev": { - "phpunit/phpunit": "~6" - }, "type": "library", "extra": { "branch-alias": { @@ -7282,7 +7441,7 @@ "reflection", "static analysis" ], - "time": "2018-08-07T13:53:10+00:00" + "time": "2020-04-27T09:25:28+00:00" }, { "name": "phpdocumentor/reflection-docblock", @@ -7793,23 +7952,38 @@ }, { "name": "psalm/plugin-laravel", - "version": "1.1.1", + "version": "1.2.0", "source": { "type": "git", "url": "https://github.com/psalm/psalm-plugin-laravel.git", - "reference": "db04cb1acd274b36a71150621cb27d8ddddc0939" + "reference": "31b48d7f5863f1b935f65daaea3b9472b4390608" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/psalm/psalm-plugin-laravel/zipball/db04cb1acd274b36a71150621cb27d8ddddc0939", - "reference": "db04cb1acd274b36a71150621cb27d8ddddc0939", + "url": "https://api.github.com/repos/psalm/psalm-plugin-laravel/zipball/31b48d7f5863f1b935f65daaea3b9472b4390608", + "reference": "31b48d7f5863f1b935f65daaea3b9472b4390608", "shasum": "" }, "require": { "barryvdh/laravel-ide-helper": "^2.6", - "orchestra/testbench": "^3.5 || ^4.0 || ^5.0", + "ext-simplexml": "*", + "illuminate/container": "5.8.* || ^6.0 || ^7.0", + "illuminate/contracts": "5.8.* || ^6.0 || ^7.0", + "illuminate/database": "5.8.* || ^6.0 || ^7.0", + "illuminate/http": "5.8.* || ^6.0 || ^7.0", + "illuminate/support": "5.8.* || ^6.0 || ^7.0", + "orchestra/testbench": "^3.8 || ^4.0 || ^5.0", + "php": "^7.1.3|^8", "vimeo/psalm": "^3.8.2" }, + "require-dev": { + "codeception/codeception": "^4.1", + "codeception/module-asserts": "^1.0.0", + "codeception/module-phpbrowser": "^1.0.0", + "slevomat/coding-standard": "^6.2", + "squizlabs/php_codesniffer": "*", + "weirdan/codeception-psalm-module": "^0.5.0" + }, "type": "psalm-plugin", "extra": { "psalm": { @@ -7832,7 +8006,7 @@ } ], "description": "A Laravel plugin for Psalm", - "time": "2020-03-06T13:17:13+00:00" + "time": "2020-04-21T12:52:20+00:00" }, { "name": "roave/security-advisories", @@ -7840,12 +8014,12 @@ "source": { "type": "git", "url": "https://github.com/Roave/SecurityAdvisories.git", - "reference": "81541a731da2f245a08666de73169cb5da7ac573" + "reference": "478dd17a48d0eb007ff854f4b885034df5db7c29" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/81541a731da2f245a08666de73169cb5da7ac573", - "reference": "81541a731da2f245a08666de73169cb5da7ac573", + "url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/478dd17a48d0eb007ff854f4b885034df5db7c29", + "reference": "478dd17a48d0eb007ff854f4b885034df5db7c29", "shasum": "" }, "conflict": { @@ -7935,6 +8109,7 @@ "magento/product-community-edition": ">=2,<2.2.10|>=2.3,<2.3.2-p.2", "monolog/monolog": ">=1.8,<1.12", "namshi/jose": "<2.2", + "nzo/url-encryptor-bundle": "<5.0.1", "onelogin/php-saml": "<2.10.4", "oneup/uploader-bundle": "<1.9.3|>=2,<2.1.5", "openid/php-openid": "<2.3", @@ -8108,7 +8283,7 @@ "type": "tidelift" } ], - "time": "2020-04-23T00:01:30+00:00" + "time": "2020-05-03T18:57:18+00:00" }, { "name": "sebastian/code-unit-reverse-lookup", @@ -8727,20 +8902,20 @@ }, { "name": "seld/jsonlint", - "version": "1.7.2", + "version": "1.8.0", "source": { "type": "git", "url": "https://github.com/Seldaek/jsonlint.git", - "reference": "e2e5d290e4d2a4f0eb449f510071392e00e10d19" + "reference": "ff2aa5420bfbc296cf6a0bc785fa5b35736de7c1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Seldaek/jsonlint/zipball/e2e5d290e4d2a4f0eb449f510071392e00e10d19", - "reference": "e2e5d290e4d2a4f0eb449f510071392e00e10d19", + "url": "https://api.github.com/repos/Seldaek/jsonlint/zipball/ff2aa5420bfbc296cf6a0bc785fa5b35736de7c1", + "reference": "ff2aa5420bfbc296cf6a0bc785fa5b35736de7c1", "shasum": "" }, "require": { - "php": "^5.3 || ^7.0" + "php": "^5.3 || ^7.0 || ^8.0" }, "require-dev": { "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0" @@ -8772,7 +8947,17 @@ "parser", "validator" ], - "time": "2019-10-24T14:27:39+00:00" + "funding": [ + { + "url": "https://github.com/Seldaek", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/seld/jsonlint", + "type": "tidelift" + } + ], + "time": "2020-04-30T19:05:18+00:00" }, { "name": "seld/phar-utils", @@ -8820,16 +9005,16 @@ }, { "name": "symfony/filesystem", - "version": "v5.0.7", + "version": "v5.0.8", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "ca3b87dd09fff9b771731637f5379965fbfab420" + "reference": "7cd0dafc4353a0f62e307df90b48466379c8cc91" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/ca3b87dd09fff9b771731637f5379965fbfab420", - "reference": "ca3b87dd09fff9b771731637f5379965fbfab420", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/7cd0dafc4353a0f62e307df90b48466379c8cc91", + "reference": "7cd0dafc4353a0f62e307df90b48466379c8cc91", "shasum": "" }, "require": { @@ -8880,7 +9065,7 @@ "type": "tidelift" } ], - "time": "2020-03-27T16:56:45+00:00" + "time": "2020-04-12T14:40:17+00:00" }, { "name": "theseer/tokenizer", diff --git a/config/firefly.php b/config/firefly.php index 30cdc35a0e..a33661b0b6 100644 --- a/config/firefly.php +++ b/config/firefly.php @@ -138,7 +138,7 @@ return [ ], 'encryption' => null === env('USE_ENCRYPTION') || true === env('USE_ENCRYPTION'), - 'version' => '5.2.4', + 'version' => '5.2.5', 'api_version' => '1.1.0', 'db_version' => 13, 'maxUploadSize' => 15242880, @@ -383,7 +383,7 @@ return [ 'Opening balance' => 'opening-balance', 'Reconciliation' => 'reconciliation', ], - 'transactionIconsByWhat' => [ + 'transactionIconsByType' => [ 'expenses' => 'fa-long-arrow-left', 'withdrawal' => 'fa-long-arrow-left', 'revenue' => 'fa-long-arrow-right', diff --git a/public/v1/js/app_vue.js b/public/v1/js/app_vue.js index beee87c89c..7dda4ad72b 100644 --- a/public/v1/js/app_vue.js +++ b/public/v1/js/app_vue.js @@ -1,2 +1,2 @@ /*! For license information please see app_vue.js.LICENSE.txt */ -!function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/",n(n.s=77)}({10:function(t,e){var n,i,r=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(t){n=o}try{i="function"==typeof clearTimeout?clearTimeout:a}catch(t){i=a}}();var l,c=[],u=!1,h=-1;function f(){u&&l&&(u=!1,l.length?c=l.concat(c):h=-1,c.length&&d())}function d(){if(!u){var t=s(f);u=!0;for(var e=c.length;e;){for(l=c,c=[];++h1)for(var n=1;n=0&&Math.floor(e)===e&&isFinite(t)}function f(t){return o(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function d(t){return null==t?"":Array.isArray(t)||u(t)&&t.toString===c?JSON.stringify(t,null,2):String(t)}function p(t){var e=parseFloat(t);return isNaN(e)?t:e}function v(t,e){for(var n=Object.create(null),i=t.split(","),r=0;r-1)return t.splice(n,1)}}var y=Object.prototype.hasOwnProperty;function b(t,e){return y.call(t,e)}function _(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}var w=/-(\w)/g,k=_((function(t){return t.replace(w,(function(t,e){return e?e.toUpperCase():""}))})),C=_((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),x=/\B([A-Z])/g,$=_((function(t){return t.replace(x,"-$1").toLowerCase()})),T=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){function n(n){var i=arguments.length;return i?i>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n};function S(t,e){e=e||0;for(var n=t.length-e,i=new Array(n);n--;)i[n]=t[n+e];return i}function O(t,e){for(var n in e)t[n]=e[n];return t}function E(t){for(var e={},n=0;n0,G=Y&&Y.indexOf("edge/")>0,X=(Y&&Y.indexOf("android"),Y&&/iphone|ipad|ipod|ios/.test(Y)||"ios"===q),Q=(Y&&/chrome\/\d+/.test(Y),Y&&/phantomjs/.test(Y),Y&&Y.match(/firefox\/(\d+)/)),Z={}.watch,tt=!1;if(W)try{var et={};Object.defineProperty(et,"passive",{get:function(){tt=!0}}),window.addEventListener("test-passive",null,et)}catch(i){}var nt=function(){return void 0===z&&(z=!W&&!U&&void 0!==e&&e.process&&"server"===e.process.env.VUE_ENV),z},it=W&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function rt(t){return"function"==typeof t&&/native code/.test(t.toString())}var ot,at="undefined"!=typeof Symbol&&rt(Symbol)&&"undefined"!=typeof Reflect&&rt(Reflect.ownKeys);ot="undefined"!=typeof Set&&rt(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var st=I,lt=0,ct=function(){this.id=lt++,this.subs=[]};ct.prototype.addSub=function(t){this.subs.push(t)},ct.prototype.removeSub=function(t){g(this.subs,t)},ct.prototype.depend=function(){ct.target&&ct.target.addDep(this)},ct.prototype.notify=function(){for(var t=this.subs.slice(),e=0,n=t.length;e-1)if(o&&!b(r,"default"))a=!1;else if(""===a||a===$(t)){var l=jt(String,r.type);(l<0||s0&&(le((l=t(l,(n||"")+"_"+i))[0])&&le(u)&&(h[c]=mt(u.text+l[0].text),l.shift()),h.push.apply(h,l)):s(l)?le(u)?h[c]=mt(u.text+l):""!==l&&h.push(mt(l)):le(l)&&le(u)?h[c]=mt(u.text+l.text):(a(e._isVList)&&o(l.tag)&&r(l.key)&&o(n)&&(l.key="__vlist"+n+"_"+i+"__"),h.push(l)));return h}(t):void 0}function le(t){return o(t)&&o(t.text)&&!1===t.isComment}function ce(t,e){if(t){for(var n=Object.create(null),i=at?Reflect.ownKeys(t):Object.keys(t),r=0;r0,a=t?!!t.$stable:!o,s=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(a&&n&&n!==i&&s===n.$key&&!o&&!n.$hasNormal)return n;for(var l in r={},t)t[l]&&"$"!==l[0]&&(r[l]=de(e,l,t[l]))}else r={};for(var c in e)c in r||(r[c]=pe(e,c));return t&&Object.isExtensible(t)&&(t._normalized=r),R(r,"$stable",a),R(r,"$key",s),R(r,"$hasNormal",o),r}function de(t,e,n){var i=function(){var t=arguments.length?n.apply(null,arguments):n({});return(t=t&&"object"==typeof t&&!Array.isArray(t)?[t]:se(t))&&(0===t.length||1===t.length&&t[0].isComment)?void 0:t};return n.proxy&&Object.defineProperty(t,e,{get:i,enumerable:!0,configurable:!0}),i}function pe(t,e){return function(){return t[e]}}function ve(t,e){var n,i,r,a,s;if(Array.isArray(t)||"string"==typeof t)for(n=new Array(t.length),i=0,r=t.length;idocument.createEvent("Event").timeStamp&&(an=function(){return sn.now()})}function ln(){var t,e;for(on=an(),nn=!0,Qe.sort((function(t,e){return t.id-e.id})),rn=0;rnrn&&Qe[n].id>t.id;)n--;Qe.splice(n+1,0,t)}else Qe.push(t);en||(en=!0,Zt(ln))}}(this)},un.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||l(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(t){Rt(t,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},un.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},un.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},un.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||g(this.vm._watchers,this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1}};var hn={enumerable:!0,configurable:!0,get:I,set:I};function fn(t,e,n){hn.get=function(){return this[e][n]},hn.set=function(t){this[e][n]=t},Object.defineProperty(t,n,hn)}var dn={lazy:!0};function pn(t,e,n){var i=!nt();"function"==typeof n?(hn.get=i?vn(e):mn(n),hn.set=I):(hn.get=n.get?i&&!1!==n.cache?vn(e):mn(n.get):I,hn.set=n.set||I),Object.defineProperty(t,e,hn)}function vn(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),ct.target&&e.depend(),e.value}}function mn(t){return function(){return t.call(this,this)}}function gn(t,e,n,i){return u(n)&&(i=n,n=n.handler),"string"==typeof n&&(n=t[n]),t.$watch(e,n,i)}var yn=0;function bn(t){var e=t.options;if(t.super){var n=bn(t.super);if(n!==t.superOptions){t.superOptions=n;var i=function(t){var e,n=t.options,i=t.sealedOptions;for(var r in n)n[r]!==i[r]&&(e||(e={}),e[r]=n[r]);return e}(t);i&&O(t.extendOptions,i),(e=t.options=Ft(n,t.extendOptions)).name&&(e.components[e.name]=t)}}return e}function _n(t){this._init(t)}function wn(t){return t&&(t.Ctor.options.name||t.tag)}function kn(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"==typeof t?t.split(",").indexOf(e)>-1:(n=t,"[object RegExp]"===c.call(n)&&t.test(e));var n}function Cn(t,e){var n=t.cache,i=t.keys,r=t._vnode;for(var o in n){var a=n[o];if(a){var s=wn(a.componentOptions);s&&!e(s)&&xn(n,o,i,r)}}}function xn(t,e,n,i){var r=t[e];!r||i&&r.tag===i.tag||r.componentInstance.$destroy(),t[e]=null,g(n,e)}!function(t){t.prototype._init=function(t){var e=this;e._uid=yn++,e._isVue=!0,t&&t._isComponent?function(t,e){var n=t.$options=Object.create(t.constructor.options),i=e._parentVnode;n.parent=e.parent,n._parentVnode=i;var r=i.componentOptions;n.propsData=r.propsData,n._parentListeners=r.listeners,n._renderChildren=r.children,n._componentTag=r.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}(e,t):e.$options=Ft(bn(e.constructor),t||{},e),e._renderProxy=e,e._self=e,function(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}(e),function(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&qe(t,e)}(e),function(t){t._vnode=null,t._staticTrees=null;var e=t.$options,n=t.$vnode=e._parentVnode,r=n&&n.context;t.$slots=ue(e._renderChildren,r),t.$scopedSlots=i,t._c=function(e,n,i,r){return Be(t,e,n,i,r,!1)},t.$createElement=function(e,n,i,r){return Be(t,e,n,i,r,!0)};var o=n&&n.data;$t(t,"$attrs",o&&o.attrs||i,null,!0),$t(t,"$listeners",e._parentListeners||i,null,!0)}(e),Xe(e,"beforeCreate"),function(t){var e=ce(t.$options.inject,t);e&&(kt(!1),Object.keys(e).forEach((function(n){$t(t,n,e[n])})),kt(!0))}(e),function(t){t._watchers=[];var e=t.$options;e.props&&function(t,e){var n=t.$options.propsData||{},i=t._props={},r=t.$options._propKeys=[];t.$parent&&kt(!1);var o=function(o){r.push(o);var a=Nt(o,e,n,t);$t(i,o,a),o in t||fn(t,"_props",o)};for(var a in e)o(a);kt(!0)}(t,e.props),e.methods&&function(t,e){for(var n in t.$options.props,e)t[n]="function"!=typeof e[n]?I:T(e[n],t)}(t,e.methods),e.data?function(t){var e=t.$options.data;u(e=t._data="function"==typeof e?function(t,e){ht();try{return t.call(e,e)}catch(t){return Rt(t,e,"data()"),{}}finally{ft()}}(e,t):e||{})||(e={});for(var n,i=Object.keys(e),r=t.$options.props,o=(t.$options.methods,i.length);o--;){var a=i[o];r&&b(r,a)||(void 0,36!==(n=(a+"").charCodeAt(0))&&95!==n&&fn(t,"_data",a))}xt(e,!0)}(t):xt(t._data={},!0),e.computed&&function(t,e){var n=t._computedWatchers=Object.create(null),i=nt();for(var r in e){var o=e[r],a="function"==typeof o?o:o.get;i||(n[r]=new un(t,a||I,I,dn)),r in t||pn(t,r,o)}}(t,e.computed),e.watch&&e.watch!==Z&&function(t,e){for(var n in e){var i=e[n];if(Array.isArray(i))for(var r=0;r1?S(e):e;for(var n=S(arguments,1),i='event handler for "'+t+'"',r=0,o=e.length;rparseInt(this.max)&&xn(a,s[0],s,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}}};!function(t){var e={get:function(){return j}};Object.defineProperty(t,"config",e),t.util={warn:st,extend:O,mergeOptions:Ft,defineReactive:$t},t.set=Tt,t.delete=St,t.nextTick=Zt,t.observable=function(t){return xt(t),t},t.options=Object.create(null),B.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,O(t.options.components,Tn),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=S(arguments,1);return n.unshift(this),"function"==typeof t.install?t.install.apply(t,n):"function"==typeof t&&t.apply(null,n),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=Ft(this.options,t),this}}(t),function(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,i=n.cid,r=t._Ctor||(t._Ctor={});if(r[i])return r[i];var o=t.name||n.options.name,a=function(t){this._init(t)};return(a.prototype=Object.create(n.prototype)).constructor=a,a.cid=e++,a.options=Ft(n.options,t),a.super=n,a.options.props&&function(t){var e=t.options.props;for(var n in e)fn(t.prototype,"_props",n)}(a),a.options.computed&&function(t){var e=t.options.computed;for(var n in e)pn(t.prototype,n,e[n])}(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,B.forEach((function(t){a[t]=n[t]})),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=O({},a.options),r[i]=a,a}}(t),function(t){B.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&u(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"==typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}(t)}(_n),Object.defineProperty(_n.prototype,"$isServer",{get:nt}),Object.defineProperty(_n.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(_n,"FunctionalRenderContext",{value:Ie}),_n.version="2.6.11";var Sn=v("style,class"),On=v("input,textarea,option,select,progress"),En=v("contenteditable,draggable,spellcheck"),In=v("events,caret,typing,plaintext-only"),An=v("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Dn="http://www.w3.org/1999/xlink",Mn=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Fn=function(t){return Mn(t)?t.slice(6,t.length):""},Pn=function(t){return null==t||!1===t};function Nn(t,e){return{staticClass:Bn(t.staticClass,e.staticClass),class:o(t.class)?[t.class,e.class]:e.class}}function Bn(t,e){return t?e?t+" "+e:t:e||""}function Ln(t){return Array.isArray(t)?function(t){for(var e,n="",i=0,r=t.length;i-1?si(t,e,n):An(e)?Pn(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):En(e)?t.setAttribute(e,function(t,e){return Pn(e)||"false"===e?"false":"contenteditable"===t&&In(e)?e:"true"}(e,n)):Mn(e)?Pn(n)?t.removeAttributeNS(Dn,Fn(e)):t.setAttributeNS(Dn,e,n):si(t,e,n)}function si(t,e,n){if(Pn(n))t.removeAttribute(e);else{if(K&&!J&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var i=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",i)};t.addEventListener("input",i),t.__ieph=!0}t.setAttribute(e,n)}}var li={create:oi,update:oi};function ci(t,e){var n=e.elm,i=e.data,a=t.data;if(!(r(i.staticClass)&&r(i.class)&&(r(a)||r(a.staticClass)&&r(a.class)))){var s=function(t){for(var e=t.data,n=t,i=t;o(i.componentInstance);)(i=i.componentInstance._vnode)&&i.data&&(e=Nn(i.data,e));for(;o(n=n.parent);)n&&n.data&&(e=Nn(e,n.data));return function(t,e){return o(t)||o(e)?Bn(t,Ln(e)):""}(e.staticClass,e.class)}(e),l=n._transitionClasses;o(l)&&(s=Bn(s,Ln(l))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var ui,hi={create:ci,update:ci};function fi(t,e,n){var i=ui;return function r(){null!==e.apply(null,arguments)&&vi(t,r,n,i)}}var di=Ut&&!(Q&&Number(Q[1])<=53);function pi(t,e,n,i){if(di){var r=on,o=e;e=o._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=r||t.timeStamp<=0||t.target.ownerDocument!==document)return o.apply(this,arguments)}}ui.addEventListener(t,e,tt?{capture:n,passive:i}:n)}function vi(t,e,n,i){(i||ui).removeEventListener(t,e._wrapper||e,n)}function mi(t,e){if(!r(t.data.on)||!r(e.data.on)){var n=e.data.on||{},i=t.data.on||{};ui=e.elm,function(t){if(o(t.__r)){var e=K?"change":"input";t[e]=[].concat(t.__r,t[e]||[]),delete t.__r}o(t.__c)&&(t.change=[].concat(t.__c,t.change||[]),delete t.__c)}(n),re(n,i,pi,vi,fi,e.context),ui=void 0}}var gi,yi={create:mi,update:mi};function bi(t,e){if(!r(t.data.domProps)||!r(e.data.domProps)){var n,i,a=e.elm,s=t.data.domProps||{},l=e.data.domProps||{};for(n in o(l.__ob__)&&(l=e.data.domProps=O({},l)),s)n in l||(a[n]="");for(n in l){if(i=l[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),i===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n&&"PROGRESS"!==a.tagName){a._value=i;var c=r(i)?"":String(i);_i(a,c)&&(a.value=c)}else if("innerHTML"===n&&zn(a.tagName)&&r(a.innerHTML)){(gi=gi||document.createElement("div")).innerHTML=""+i+"";for(var u=gi.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;u.firstChild;)a.appendChild(u.firstChild)}else if(i!==s[n])try{a[n]=i}catch(t){}}}}function _i(t,e){return!t.composing&&("OPTION"===t.tagName||function(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}(t,e)||function(t,e){var n=t.value,i=t._vModifiers;if(o(i)){if(i.number)return p(n)!==p(e);if(i.trim)return n.trim()!==e.trim()}return n!==e}(t,e))}var wi={create:bi,update:bi},ki=_((function(t){var e={},n=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach((function(t){if(t){var i=t.split(n);i.length>1&&(e[i[0].trim()]=i[1].trim())}})),e}));function Ci(t){var e=xi(t.style);return t.staticStyle?O(t.staticStyle,e):e}function xi(t){return Array.isArray(t)?E(t):"string"==typeof t?ki(t):t}var $i,Ti=/^--/,Si=/\s*!important$/,Oi=function(t,e,n){if(Ti.test(e))t.style.setProperty(e,n);else if(Si.test(n))t.style.setProperty($(e),n.replace(Si,""),"important");else{var i=Ii(e);if(Array.isArray(n))for(var r=0,o=n.length;r-1?e.split(Mi).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function Pi(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(Mi).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" "+(t.getAttribute("class")||"")+" ",i=" "+e+" ";n.indexOf(i)>=0;)n=n.replace(i," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function Ni(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&O(e,Bi(t.name||"v")),O(e,t),e}return"string"==typeof t?Bi(t):void 0}}var Bi=_((function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}})),Li=W&&!J,ji="transition",Ri="animation",zi="transition",Hi="transitionend",Vi="animation",Wi="animationend";Li&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(zi="WebkitTransition",Hi="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Vi="WebkitAnimation",Wi="webkitAnimationEnd"));var Ui=W?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function qi(t){Ui((function(){Ui(t)}))}function Yi(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),Fi(t,e))}function Ki(t,e){t._transitionClasses&&g(t._transitionClasses,e),Pi(t,e)}function Ji(t,e,n){var i=Xi(t,e),r=i.type,o=i.timeout,a=i.propCount;if(!r)return n();var s=r===ji?Hi:Wi,l=0,c=function(){t.removeEventListener(s,u),n()},u=function(e){e.target===t&&++l>=a&&c()};setTimeout((function(){l0&&(n=ji,u=a,h=o.length):e===Ri?c>0&&(n=Ri,u=c,h=l.length):h=(n=(u=Math.max(a,c))>0?a>c?ji:Ri:null)?n===ji?o.length:l.length:0,{type:n,timeout:u,propCount:h,hasTransform:n===ji&&Gi.test(i[zi+"Property"])}}function Qi(t,e){for(;t.length1}function rr(t,e){!0!==e.data.show&&tr(e)}var or=function(t){var e,n,i={},l=t.modules,c=t.nodeOps;for(e=0;ep?b(t,r(n[g+1])?null:n[g+1].elm,n,d,g,i):d>g&&w(e,f,p)}(f,v,g,n,u):o(g)?(o(t.text)&&c.setTextContent(f,""),b(f,null,g,0,g.length-1,n)):o(v)?w(v,0,v.length-1):o(t.text)&&c.setTextContent(f,""):t.text!==e.text&&c.setTextContent(f,e.text),o(p)&&o(d=p.hook)&&o(d=d.postpatch)&&d(t,e)}}}function $(t,e,n){if(a(n)&&o(t.parent))t.parent.data.pendingInsert=e;else for(var i=0;i-1,a.selected!==o&&(a.selected=o);else if(M(ur(a),i))return void(t.selectedIndex!==s&&(t.selectedIndex=s));r||(t.selectedIndex=-1)}}function cr(t,e){return e.every((function(e){return!M(e,t)}))}function ur(t){return"_value"in t?t._value:t.value}function hr(t){t.target.composing=!0}function fr(t){t.target.composing&&(t.target.composing=!1,dr(t.target,"input"))}function dr(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function pr(t){return!t.componentInstance||t.data&&t.data.transition?t:pr(t.componentInstance._vnode)}var vr={model:ar,show:{bind:function(t,e,n){var i=e.value,r=(n=pr(n)).data&&n.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;i&&r?(n.data.show=!0,tr(n,(function(){t.style.display=o}))):t.style.display=i?o:"none"},update:function(t,e,n){var i=e.value;!i!=!e.oldValue&&((n=pr(n)).data&&n.data.transition?(n.data.show=!0,i?tr(n,(function(){t.style.display=t.__vOriginalDisplay})):er(n,(function(){t.style.display="none"}))):t.style.display=i?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,i,r){r||(t.style.display=t.__vOriginalDisplay)}}},mr={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function gr(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?gr(He(e.children)):t}function yr(t){var e={},n=t.$options;for(var i in n.propsData)e[i]=t[i];var r=n._parentListeners;for(var o in r)e[k(o)]=r[o];return e}function br(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}var _r=function(t){return t.tag||ze(t)},wr=function(t){return"show"===t.name},kr={name:"transition",props:mr,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(_r)).length){var i=this.mode,r=n[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return r;var o=gr(r);if(!o)return r;if(this._leaving)return br(t,r);var a="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?a+"comment":a+o.tag:s(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var l=(o.data||(o.data={})).transition=yr(this),c=this._vnode,u=gr(c);if(o.data.directives&&o.data.directives.some(wr)&&(o.data.show=!0),u&&u.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(o,u)&&!ze(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var h=u.data.transition=O({},l);if("out-in"===i)return this._leaving=!0,oe(h,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),br(t,r);if("in-out"===i){if(ze(o))return c;var f,d=function(){f()};oe(l,"afterEnter",d),oe(l,"enterCancelled",d),oe(h,"delayLeave",(function(t){f=t}))}}return r}}},Cr=O({tag:String,moveClass:String},mr);function xr(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function $r(t){t.data.newPos=t.elm.getBoundingClientRect()}function Tr(t){var e=t.data.pos,n=t.data.newPos,i=e.left-n.left,r=e.top-n.top;if(i||r){t.data.moved=!0;var o=t.elm.style;o.transform=o.WebkitTransform="translate("+i+"px,"+r+"px)",o.transitionDuration="0s"}}delete Cr.mode;var Sr={Transition:kr,TransitionGroup:{props:Cr,beforeMount:function(){var t=this,e=this._update;this._update=function(n,i){var r=Ke(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,r(),e.call(t,n,i)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),i=this.prevChildren=this.children,r=this.$slots.default||[],o=this.children=[],a=yr(this),s=0;s-1?Vn[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Vn[t]=/HTMLUnknownElement/.test(e.toString())},O(_n.options.directives,vr),O(_n.options.components,Sr),_n.prototype.__patch__=W?or:I,_n.prototype.$mount=function(t,e){return function(t,e,n){var i;return t.$el=e,t.$options.render||(t.$options.render=vt),Xe(t,"beforeMount"),i=function(){t._update(t._render(),n)},new un(t,i,I,{before:function(){t._isMounted&&!t._isDestroyed&&Xe(t,"beforeUpdate")}},!0),n=!1,null==t.$vnode&&(t._isMounted=!0,Xe(t,"mounted")),t}(this,t=t&&W?function(t){return"string"==typeof t?document.querySelector(t)||document.createElement("div"):t}(t):void 0,e)},W&&setTimeout((function(){j.devtools&&it&&it.emit("init",_n)}),0),t.exports=_n}).call(this,n(49),n(79).setImmediate)},79:function(t,e,n){(function(t){var i=void 0!==t&&t||"undefined"!=typeof self&&self||window,r=Function.prototype.apply;function o(t,e){this._id=t,this._clearFn=e}e.setTimeout=function(){return new o(r.call(setTimeout,i,arguments),clearTimeout)},e.setInterval=function(){return new o(r.call(setInterval,i,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(t){t&&t.close()},o.prototype.unref=o.prototype.ref=function(){},o.prototype.close=function(){this._clearFn.call(i,this._id)},e.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},e.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},e._unrefActive=e.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout((function(){t._onTimeout&&t._onTimeout()}),e))},n(80),e.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==t&&t.setImmediate||this&&this.setImmediate,e.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==t&&t.clearImmediate||this&&this.clearImmediate}).call(this,n(49))},80:function(t,e,n){(function(t,e){!function(t,n){"use strict";if(!t.setImmediate){var i,r,o,a,s,l=1,c={},u=!1,h=t.document,f=Object.getPrototypeOf&&Object.getPrototypeOf(t);f=f&&f.setTimeout?f:t,"[object process]"==={}.toString.call(t.process)?i=function(t){e.nextTick((function(){p(t)}))}:!function(){if(t.postMessage&&!t.importScripts){var e=!0,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}}()?t.MessageChannel?((o=new MessageChannel).port1.onmessage=function(t){p(t.data)},i=function(t){o.port2.postMessage(t)}):h&&"onreadystatechange"in h.createElement("script")?(r=h.documentElement,i=function(t){var e=h.createElement("script");e.onreadystatechange=function(){p(t),e.onreadystatechange=null,r.removeChild(e),e=null},r.appendChild(e)}):i=function(t){setTimeout(p,0,t)}:(a="setImmediate$"+Math.random()+"$",s=function(e){e.source===t&&"string"==typeof e.data&&0===e.data.indexOf(a)&&p(+e.data.slice(a.length))},t.addEventListener?t.addEventListener("message",s,!1):t.attachEvent("onmessage",s),i=function(e){t.postMessage(a+e,"*")}),f.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n0;)e[n]=arguments[n+1];var i=this.$i18n;return i._t.apply(i,[t,i.locale,i._getMessages(),this].concat(e))},t.prototype.$tc=function(t,e){for(var n=[],i=arguments.length-2;i-- >0;)n[i]=arguments[i+2];var r=this.$i18n;return r._tc.apply(r,[t,r.locale,r._getMessages(),this,e].concat(n))},t.prototype.$te=function(t,e){var n=this.$i18n;return n._te(t,n.locale,n._getMessages(),e)},t.prototype.$d=function(t){for(var e,n=[],i=arguments.length-1;i-- >0;)n[i]=arguments[i+1];return(e=this.$i18n).d.apply(e,[t].concat(n))},t.prototype.$n=function(t){for(var e,n=[],i=arguments.length-1;i-- >0;)n[i]=arguments[i+1];return(e=this.$i18n).n.apply(e,[t].concat(n))}})(C),C.mixin(y),C.directive("t",{bind:$,update:T,unbind:S}),C.component(b.name,b),C.component(x.name,x),C.config.optionMergeStrategies.i18n=function(t,e){return void 0===e?t:e}}var D=function(){this._caches=Object.create(null)};D.prototype.interpolate=function(t,e){if(!e)return[t];var n=this._caches[t];return n||(n=function(t){var e=[],n=0,i="";for(;n0)h--,u=4,f[0]();else{if(h=0,void 0===n)return!1;if(!1===(n=L(n)))return!1;f[1]()}};null!==u;)if(c++,"\\"!==(e=t[c])||!d()){if(r=B(e),8===(o=(s=P[u])[r]||s.else||8))return;if(u=o[0],(a=f[o[1]])&&(i=void 0===(i=o[2])?e:i,!1===a()))return;if(7===u)return l}}(t))&&(this._cache[t]=e),e||[]},j.prototype.getPathValue=function(t,e){if(!l(t))return null;var n=this.parsePath(e);if(0===n.length)return null;for(var i=n.length,r=t,o=0;o/,H=/(?:@(?:\.[a-z]+)?:(?:[\w\-_|.]+|\([\w\-_|.]+\)))/g,V=/^@(?:\.([a-z]+))?:/,W=/[()]/g,U={upper:function(t){return t.toLocaleUpperCase()},lower:function(t){return t.toLocaleLowerCase()},capitalize:function(t){return""+t.charAt(0).toLocaleUpperCase()+t.substr(1)}},q=new D,Y=function(t){var e=this;void 0===t&&(t={}),!C&&"undefined"!=typeof window&&window.Vue&&A(window.Vue);var n=t.locale||"en-US",i=!1!==t.fallbackLocale&&(t.fallbackLocale||"en-US"),r=t.messages||{},o=t.dateTimeFormats||{},a=t.numberFormats||{};this._vm=null,this._formatter=t.formatter||q,this._modifiers=t.modifiers||{},this._missing=t.missing||null,this._root=t.root||null,this._sync=void 0===t.sync||!!t.sync,this._fallbackRoot=void 0===t.fallbackRoot||!!t.fallbackRoot,this._formatFallbackMessages=void 0!==t.formatFallbackMessages&&!!t.formatFallbackMessages,this._silentTranslationWarn=void 0!==t.silentTranslationWarn&&t.silentTranslationWarn,this._silentFallbackWarn=void 0!==t.silentFallbackWarn&&!!t.silentFallbackWarn,this._dateTimeFormatters={},this._numberFormatters={},this._path=new j,this._dataListeners=[],this._preserveDirectiveContent=void 0!==t.preserveDirectiveContent&&!!t.preserveDirectiveContent,this.pluralizationRules=t.pluralizationRules||{},this._warnHtmlInMessage=t.warnHtmlInMessage||"off",this._postTranslation=t.postTranslation||null,this._exist=function(t,n){return!(!t||!n)&&(!h(e._path.getPathValue(t,n))||!!t[n])},"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||Object.keys(r).forEach((function(t){e._checkLocaleMessage(t,e._warnHtmlInMessage,r[t])})),this._initVM({locale:n,fallbackLocale:i,messages:r,dateTimeFormats:o,numberFormats:a})},K={vm:{configurable:!0},messages:{configurable:!0},dateTimeFormats:{configurable:!0},numberFormats:{configurable:!0},availableLocales:{configurable:!0},locale:{configurable:!0},fallbackLocale:{configurable:!0},formatFallbackMessages:{configurable:!0},missing:{configurable:!0},formatter:{configurable:!0},silentTranslationWarn:{configurable:!0},silentFallbackWarn:{configurable:!0},preserveDirectiveContent:{configurable:!0},warnHtmlInMessage:{configurable:!0},postTranslation:{configurable:!0}};Y.prototype._checkLocaleMessage=function(t,e,n){var i=function(t,e,n,r){if(u(n))Object.keys(n).forEach((function(o){var a=n[o];u(a)?(r.push(o),r.push("."),i(t,e,a,r),r.pop(),r.pop()):(r.push(o),i(t,e,a,r),r.pop())}));else if(Array.isArray(n))n.forEach((function(n,o){u(n)?(r.push("["+o+"]"),r.push("."),i(t,e,n,r),r.pop(),r.pop()):(r.push("["+o+"]"),i(t,e,n,r),r.pop())}));else if("string"==typeof n){if(z.test(n)){var o="Detected HTML in message '"+n+"' of keypath '"+r.join("")+"' at '"+e+"'. Consider component interpolation with '' to avoid XSS. See https://bit.ly/2ZqJzkp";"warn"===t?s(o):"error"===t&&function(t,e){"undefined"!=typeof console&&(console.error("[vue-i18n] "+t),e&&console.error(e.stack))}(o)}}};i(e,t,n,[])},Y.prototype._initVM=function(t){var e=C.config.silent;C.config.silent=!0,this._vm=new C({data:t}),C.config.silent=e},Y.prototype.destroyVM=function(){this._vm.$destroy()},Y.prototype.subscribeDataChanging=function(t){this._dataListeners.push(t)},Y.prototype.unsubscribeDataChanging=function(t){!function(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)t.splice(n,1)}}(this._dataListeners,t)},Y.prototype.watchI18nData=function(){var t=this;return this._vm.$watch("$data",(function(){for(var e=t._dataListeners.length;e--;)C.nextTick((function(){t._dataListeners[e]&&t._dataListeners[e].$forceUpdate()}))}),{deep:!0})},Y.prototype.watchLocale=function(){if(!this._sync||!this._root)return null;var t=this._vm;return this._root.$i18n.vm.$watch("locale",(function(e){t.$set(t,"locale",e),t.$forceUpdate()}),{immediate:!0})},K.vm.get=function(){return this._vm},K.messages.get=function(){return d(this._getMessages())},K.dateTimeFormats.get=function(){return d(this._getDateTimeFormats())},K.numberFormats.get=function(){return d(this._getNumberFormats())},K.availableLocales.get=function(){return Object.keys(this.messages).sort()},K.locale.get=function(){return this._vm.locale},K.locale.set=function(t){this._vm.$set(this._vm,"locale",t)},K.fallbackLocale.get=function(){return this._vm.fallbackLocale},K.fallbackLocale.set=function(t){this._localeChainCache={},this._vm.$set(this._vm,"fallbackLocale",t)},K.formatFallbackMessages.get=function(){return this._formatFallbackMessages},K.formatFallbackMessages.set=function(t){this._formatFallbackMessages=t},K.missing.get=function(){return this._missing},K.missing.set=function(t){this._missing=t},K.formatter.get=function(){return this._formatter},K.formatter.set=function(t){this._formatter=t},K.silentTranslationWarn.get=function(){return this._silentTranslationWarn},K.silentTranslationWarn.set=function(t){this._silentTranslationWarn=t},K.silentFallbackWarn.get=function(){return this._silentFallbackWarn},K.silentFallbackWarn.set=function(t){this._silentFallbackWarn=t},K.preserveDirectiveContent.get=function(){return this._preserveDirectiveContent},K.preserveDirectiveContent.set=function(t){this._preserveDirectiveContent=t},K.warnHtmlInMessage.get=function(){return this._warnHtmlInMessage},K.warnHtmlInMessage.set=function(t){var e=this,n=this._warnHtmlInMessage;if(this._warnHtmlInMessage=t,n!==t&&("warn"===t||"error"===t)){var i=this._getMessages();Object.keys(i).forEach((function(t){e._checkLocaleMessage(t,e._warnHtmlInMessage,i[t])}))}},K.postTranslation.get=function(){return this._postTranslation},K.postTranslation.set=function(t){this._postTranslation=t},Y.prototype._getMessages=function(){return this._vm.messages},Y.prototype._getDateTimeFormats=function(){return this._vm.dateTimeFormats},Y.prototype._getNumberFormats=function(){return this._vm.numberFormats},Y.prototype._warnDefault=function(t,e,n,i,r,o){if(!h(n))return n;if(this._missing){var a=this._missing.apply(null,[t,e,i,r]);if("string"==typeof a)return a}else 0;if(this._formatFallbackMessages){var s=f.apply(void 0,r);return this._render(e,o,s.params,e)}return e},Y.prototype._isFallbackRoot=function(t){return!t&&!h(this._root)&&this._fallbackRoot},Y.prototype._isSilentFallbackWarn=function(t){return this._silentFallbackWarn instanceof RegExp?this._silentFallbackWarn.test(t):this._silentFallbackWarn},Y.prototype._isSilentFallback=function(t,e){return this._isSilentFallbackWarn(e)&&(this._isFallbackRoot()||t!==this.fallbackLocale)},Y.prototype._isSilentTranslationWarn=function(t){return this._silentTranslationWarn instanceof RegExp?this._silentTranslationWarn.test(t):this._silentTranslationWarn},Y.prototype._interpolate=function(t,e,n,i,r,o,a){if(!e)return null;var s,l=this._path.getPathValue(e,n);if(Array.isArray(l)||u(l))return l;if(h(l)){if(!u(e))return null;if("string"!=typeof(s=e[n]))return null}else{if("string"!=typeof l)return null;s=l}return(s.indexOf("@:")>=0||s.indexOf("@.")>=0)&&(s=this._link(t,e,s,i,"raw",o,a)),this._render(s,r,o,n)},Y.prototype._link=function(t,e,n,i,r,o,a){var s=n,l=s.match(H);for(var c in l)if(l.hasOwnProperty(c)){var u=l[c],h=u.match(V),f=h[0],d=h[1],p=u.replace(f,"").replace(W,"");if(a.includes(p))return s;a.push(p);var v=this._interpolate(t,e,p,i,"raw"===r?"string":r,"raw"===r?void 0:o,a);if(this._isFallbackRoot(v)){if(!this._root)throw Error("unexpected error");var m=this._root.$i18n;v=m._translate(m._getMessages(),m.locale,m.fallbackLocale,p,i,r,o)}v=this._warnDefault(t,p,v,i,Array.isArray(o)?o:[o],r),this._modifiers.hasOwnProperty(d)?v=this._modifiers[d](v):U.hasOwnProperty(d)&&(v=U[d](v)),a.pop(),s=v?s.replace(u,v):s}return s},Y.prototype._render=function(t,e,n,i){var r=this._formatter.interpolate(t,n,i);return r||(r=q.interpolate(t,n,i)),"string"===e&&"string"!=typeof r?r.join(""):r},Y.prototype._appendItemToChain=function(t,e,n){var i=!1;return t.includes(e)||(i=!0,e&&(i="!"!==e[e.length-1],e=e.replace(/!/g,""),t.push(e),n&&n[e]&&(i=n[e]))),i},Y.prototype._appendLocaleToChain=function(t,e,n){var i,r=e.split("-");do{var o=r.join("-");i=this._appendItemToChain(t,o,n),r.splice(-1,1)}while(r.length&&!0===i);return i},Y.prototype._appendBlockToChain=function(t,e,n){for(var i=!0,r=0;r0;)o[a]=arguments[a+4];if(!t)return"";var s=f.apply(void 0,o),l=s.locale||e,c=this._translate(n,l,this.fallbackLocale,t,i,"string",s.params);if(this._isFallbackRoot(c)){if(!this._root)throw Error("unexpected error");return(r=this._root).$t.apply(r,[t].concat(o))}return c=this._warnDefault(l,t,c,i,o,"string"),this._postTranslation&&null!=c&&(c=this._postTranslation(c,t)),c},Y.prototype.t=function(t){for(var e,n=[],i=arguments.length-1;i-- >0;)n[i]=arguments[i+1];return(e=this)._t.apply(e,[t,this.locale,this._getMessages(),null].concat(n))},Y.prototype._i=function(t,e,n,i,r){var o=this._translate(n,e,this.fallbackLocale,t,i,"raw",r);if(this._isFallbackRoot(o)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.i(t,e,r)}return this._warnDefault(e,t,o,i,[r],"raw")},Y.prototype.i=function(t,e,n){return t?("string"!=typeof e&&(e=this.locale),this._i(t,e,this._getMessages(),null,n)):""},Y.prototype._tc=function(t,e,n,i,r){for(var o,a=[],s=arguments.length-5;s-- >0;)a[s]=arguments[s+5];if(!t)return"";void 0===r&&(r=1);var l={count:r,n:r},c=f.apply(void 0,a);return c.params=Object.assign(l,c.params),a=null===c.locale?[c.params]:[c.locale,c.params],this.fetchChoice((o=this)._t.apply(o,[t,e,n,i].concat(a)),r)},Y.prototype.fetchChoice=function(t,e){if(!t&&"string"!=typeof t)return null;var n=t.split("|");return n[e=this.getChoiceIndex(e,n.length)]?n[e].trim():t},Y.prototype.getChoiceIndex=function(t,e){var n,i;return this.locale in this.pluralizationRules?this.pluralizationRules[this.locale].apply(this,[t,e]):(n=t,i=e,n=Math.abs(n),2===i?n?n>1?1:0:1:n?Math.min(n,2):0)},Y.prototype.tc=function(t,e){for(var n,i=[],r=arguments.length-2;r-- >0;)i[r]=arguments[r+2];return(n=this)._tc.apply(n,[t,this.locale,this._getMessages(),null,e].concat(i))},Y.prototype._te=function(t,e,n){for(var i=[],r=arguments.length-3;r-- >0;)i[r]=arguments[r+3];var o=f.apply(void 0,i).locale||e;return this._exist(n[o],t)},Y.prototype.te=function(t,e){return this._te(t,this.locale,this._getMessages(),e)},Y.prototype.getLocaleMessage=function(t){return d(this._vm.messages[t]||{})},Y.prototype.setLocaleMessage=function(t,e){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(t,this._warnHtmlInMessage,e),this._vm.$set(this._vm.messages,t,e)},Y.prototype.mergeLocaleMessage=function(t,e){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(t,this._warnHtmlInMessage,e),this._vm.$set(this._vm.messages,t,m({},this._vm.messages[t]||{},e))},Y.prototype.getDateTimeFormat=function(t){return d(this._vm.dateTimeFormats[t]||{})},Y.prototype.setDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,e)},Y.prototype.mergeDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,m(this._vm.dateTimeFormats[t]||{},e))},Y.prototype._localizeDateTime=function(t,e,n,i,r){var o=e,a=i[o];if((h(a)||h(a[r]))&&(a=i[o=n]),h(a)||h(a[r]))return null;var s=a[r],l=o+"__"+r,c=this._dateTimeFormatters[l];return c||(c=this._dateTimeFormatters[l]=new Intl.DateTimeFormat(o,s)),c.format(t)},Y.prototype._d=function(t,e,n){if(!n)return new Intl.DateTimeFormat(e).format(t);var i=this._localizeDateTime(t,e,this.fallbackLocale,this._getDateTimeFormats(),n);if(this._isFallbackRoot(i)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.d(t,n,e)}return i||""},Y.prototype.d=function(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];var i=this.locale,r=null;return 1===e.length?"string"==typeof e[0]?r=e[0]:l(e[0])&&(e[0].locale&&(i=e[0].locale),e[0].key&&(r=e[0].key)):2===e.length&&("string"==typeof e[0]&&(r=e[0]),"string"==typeof e[1]&&(i=e[1])),this._d(t,i,r)},Y.prototype.getNumberFormat=function(t){return d(this._vm.numberFormats[t]||{})},Y.prototype.setNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,e),this._clearNumberFormat(t,e)},Y.prototype.mergeNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,m(this._vm.numberFormats[t]||{},e)),this._clearNumberFormat(t,e)},Y.prototype._clearNumberFormat=function(t,e){for(var n in e){var i=t+"__"+n;this._numberFormatters.hasOwnProperty(i)&&delete this._numberFormatters[i]}},Y.prototype._getNumberFormatter=function(t,e,n,i,r,o){var a=e,s=i[a];if((h(s)||h(s[r]))&&(s=i[a=n]),h(s)||h(s[r]))return null;var l,c=s[r];if(o)l=new Intl.NumberFormat(a,Object.assign({},c,o));else{var u=a+"__"+r;(l=this._numberFormatters[u])||(l=this._numberFormatters[u]=new Intl.NumberFormat(a,c))}return l},Y.prototype._n=function(t,e,n,i){if(!Y.availabilities.numberFormat)return"";if(!n)return(i?new Intl.NumberFormat(e,i):new Intl.NumberFormat(e)).format(t);var r=this._getNumberFormatter(t,e,this.fallbackLocale,this._getNumberFormats(),n,i),o=r&&r.format(t);if(this._isFallbackRoot(o)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.n(t,Object.assign({},{key:n,locale:e},i))}return o||""},Y.prototype.n=function(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];var i=this.locale,r=null,o=null;return 1===e.length?"string"==typeof e[0]?r=e[0]:l(e[0])&&(e[0].locale&&(i=e[0].locale),e[0].key&&(r=e[0].key),o=Object.keys(e[0]).reduce((function(t,n){var i;return a.includes(n)?Object.assign({},t,((i={})[n]=e[0][n],i)):t}),null)):2===e.length&&("string"==typeof e[0]&&(r=e[0]),"string"==typeof e[1]&&(i=e[1])),this._n(t,i,r,o)},Y.prototype._ntp=function(t,e,n,i){if(!Y.availabilities.numberFormat)return[];if(!n)return(i?new Intl.NumberFormat(e,i):new Intl.NumberFormat(e)).formatToParts(t);var r=this._getNumberFormatter(t,e,this.fallbackLocale,this._getNumberFormats(),n,i),o=r&&r.formatToParts(t);if(this._isFallbackRoot(o)){if(!this._root)throw Error("unexpected error");return this._root.$i18n._ntp(t,e,n,i)}return o||[]},Object.defineProperties(Y.prototype,K),Object.defineProperty(Y,"availabilities",{get:function(){if(!R){var t="undefined"!=typeof Intl;R={dateTimeFormat:t&&void 0!==Intl.DateTimeFormat,numberFormat:t&&void 0!==Intl.NumberFormat}}return R}}),Y.install=A,Y.version="8.17.3";var J=Y;function G(t){return null!=t}function X(t){return"function"==typeof t}function Q(t){return"number"==typeof t}function Z(t){return"string"==typeof t}function tt(){return"undefined"!=typeof window&&G(window.Promise)}var et={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"carousel slide",attrs:{"data-ride":"carousel"},on:{mouseenter:t.stopInterval,mouseleave:t.startInterval}},[t.indicators?t._t("indicators",[n("ol",{staticClass:"carousel-indicators"},t._l(t.slides,(function(e,i){return n("li",{class:{active:i===t.activeIndex},on:{click:function(e){return t.select(i)}}})})),0)],{select:t.select,activeIndex:t.activeIndex}):t._e(),t._v(" "),n("div",{staticClass:"carousel-inner",attrs:{role:"listbox"}},[t._t("default")],2),t._v(" "),t.controls?n("a",{staticClass:"left carousel-control",attrs:{href:"#",role:"button"},on:{click:function(e){return e.preventDefault(),t.prev()}}},[n("span",{class:t.iconControlLeft,attrs:{"aria-hidden":"true"}}),t._v(" "),n("span",{staticClass:"sr-only"},[t._v("Previous")])]):t._e(),t._v(" "),t.controls?n("a",{staticClass:"right carousel-control",attrs:{href:"#",role:"button"},on:{click:function(e){return e.preventDefault(),t.next()}}},[n("span",{class:t.iconControlRight,attrs:{"aria-hidden":"true"}}),t._v(" "),n("span",{staticClass:"sr-only"},[t._v("Next")])]):t._e()],2)},staticRenderFns:[],props:{value:Number,indicators:{type:Boolean,default:!0},controls:{type:Boolean,default:!0},interval:{type:Number,default:5e3},iconControlLeft:{type:String,default:"glyphicon glyphicon-chevron-left"},iconControlRight:{type:String,default:"glyphicon glyphicon-chevron-right"}},data:function(){return{slides:[],activeIndex:0,timeoutId:0,intervalId:0}},watch:{interval:function(){this.startInterval()},value:function(t,e){this.run(t,e),this.activeIndex=t}},mounted:function(){G(this.value)&&(this.activeIndex=this.value),this.slides.length>0&&this.$select(this.activeIndex),this.startInterval()},beforeDestroy:function(){this.stopInterval()},methods:{run:function(t,e){var n=this,i=e||0,r=void 0;r=t>i?["next","left"]:["prev","right"],this.slides[t].slideClass[r[0]]=!0,this.$nextTick((function(){n.slides[t].$el.offsetHeight,n.slides.forEach((function(e,n){n===i?(e.slideClass.active=!0,e.slideClass[r[1]]=!0):n===t&&(e.slideClass[r[1]]=!0)})),n.timeoutId=setTimeout((function(){n.$select(t),n.$emit("change",t),n.timeoutId=0}),600)}))},startInterval:function(){var t=this;this.stopInterval(),this.interval>0&&(this.intervalId=setInterval((function(){t.next()}),this.interval))},stopInterval:function(){clearInterval(this.intervalId),this.intervalId=0},resetAllSlideClass:function(){this.slides.forEach((function(t){t.slideClass.active=!1,t.slideClass.left=!1,t.slideClass.right=!1,t.slideClass.next=!1,t.slideClass.prev=!1}))},$select:function(t){this.resetAllSlideClass(),this.slides[t].slideClass.active=!0},select:function(t){0===this.timeoutId&&t!==this.activeIndex&&(G(this.value)?this.$emit("input",t):(this.run(t,this.activeIndex),this.activeIndex=t))},prev:function(){this.select(0===this.activeIndex?this.slides.length-1:this.activeIndex-1)},next:function(){this.select(this.activeIndex===this.slides.length-1?0:this.activeIndex+1)}}};function nt(t,e){if(Array.isArray(t)){var n=t.indexOf(e);n>=0&&t.splice(n,1)}}function it(t){return Array.prototype.slice.call(t||[])}function rt(t,e,n){return n.indexOf(t)===e}var ot={render:function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"item",class:this.slideClass},[this._t("default")],2)},staticRenderFns:[],data:function(){return{slideClass:{active:!1,prev:!1,next:!1,left:!1,right:!1}}},created:function(){try{this.$parent.slides.push(this)}catch(t){throw new Error("Slide parent must be Carousel.")}},beforeDestroy:function(){nt(this.$parent&&this.$parent.slides,this)}},at="mouseenter",st="mouseleave",lt="focus",ct="blur",ut="click",ht="input",ft="keydown",dt="keyup",pt="resize",vt="scroll",mt="touchend",gt="click",yt="hover",bt="focus",_t="hover-focus",wt="outside-click",kt="top",Ct="right",xt="bottom",$t="left";function Tt(t){return window.getComputedStyle(t)}function St(){return{width:Math.max(document.documentElement.clientWidth,window.innerWidth||0),height:Math.max(document.documentElement.clientHeight,window.innerHeight||0)}}var Ot=null,Et=null;function It(t,e,n){t.addEventListener(e,n)}function At(t,e,n){t.removeEventListener(e,n)}function Dt(t){return t&&t.nodeType===Node.ELEMENT_NODE}function Mt(t){Dt(t)&&Dt(t.parentNode)&&t.parentNode.removeChild(t)}function Ft(){Element.prototype.matches||(Element.prototype.matches=Element.prototype.matchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.webkitMatchesSelector||function(t){for(var e=(this.document||this.ownerDocument).querySelectorAll(t),n=e.length;--n>=0&&e.item(n)!==this;);return n>-1})}function Pt(t,e){if(Dt(t))if(t.className){var n=t.className.split(" ");n.indexOf(e)<0&&(n.push(e),t.className=n.join(" "))}else t.className=e}function Nt(t,e){if(Dt(t)&&t.className){for(var n=t.className.split(" "),i=[],r=0,o=n.length;r=r.height,c=i.left+i.width/2>=r.width/2,s=i.right-i.width/2+r.width/2<=o.width;break;case xt:l=i.bottom+r.height<=o.height,c=i.left+i.width/2>=r.width/2,s=i.right-i.width/2+r.width/2<=o.width;break;case Ct:s=i.right+r.width<=o.width,a=i.top+i.height/2>=r.height/2,l=i.bottom-i.height/2+r.height/2<=o.height;break;case $t:c=i.left>=r.width,a=i.top+i.height/2>=r.height/2,l=i.bottom-i.height/2+r.height/2<=o.height}return a&&s&&l&&c}function Lt(t){var e=t.scrollHeight>t.clientHeight,n=Tt(t);return e||"scroll"===n.overflow||"scroll"===n.overflowY}function jt(t){var e=document.body;if(t)Nt(e,"modal-open"),e.style.paddingRight=null;else{var n=-1!==window.navigator.appVersion.indexOf("MSIE 10")||!!window.MSInputMethodContext&&!!document.documentMode;(Lt(document.documentElement)||Lt(document.body))&&!n&&(e.style.paddingRight=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=St();if(null!==Ot&&!t&&e.height===Et.height&&e.width===Et.width)return Ot;if("loading"===document.readyState)return null;var n=document.createElement("div"),i=document.createElement("div");return n.style.width=i.style.width=n.style.height=i.style.height="100px",n.style.overflow="scroll",i.style.overflow="hidden",document.body.appendChild(n),document.body.appendChild(i),Ot=Math.abs(n.scrollHeight-i.scrollHeight),document.body.removeChild(n),document.body.removeChild(i),Et=e,Ot}()+"px"),Pt(e,"modal-open")}}function Rt(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;Ft();for(var i=[],r=t.parentElement;r;){if(r.matches(e))i.push(r);else if(n&&(n===r||r.matches(n)))break;r=r.parentElement}return i}function zt(t){Dt(t)&&(!t.getAttribute("tabindex")&&t.setAttribute("tabindex","-1"),t.focus())}var Ht={render:function(t){return t(this.tag,{},this.$slots.default)},props:{tag:{type:String,default:"div"},value:{type:Boolean,default:!1},transitionDuration:{type:Number,default:350}},data:function(){return{timeoutId:0}},watch:{value:function(t){this.toggle(t)}},mounted:function(){var t=this.$el;Pt(t,"collapse"),this.value&&Pt(t,"in")},methods:{toggle:function(t){var e=this;clearTimeout(this.timeoutId);var n=this.$el;if(t){this.$emit("show"),Nt(n,"collapse"),n.style.height="auto";var i=window.getComputedStyle(n).height;n.style.height=null,Pt(n,"collapsing"),n.offsetHeight,n.style.height=i,this.timeoutId=setTimeout((function(){Nt(n,"collapsing"),Pt(n,"collapse"),Pt(n,"in"),n.style.height=null,e.timeoutId=0,e.$emit("shown")}),this.transitionDuration)}else this.$emit("hide"),n.style.height=window.getComputedStyle(n).height,Nt(n,"in"),Nt(n,"collapse"),n.offsetHeight,n.style.height=null,Pt(n,"collapsing"),this.timeoutId=setTimeout((function(){Pt(n,"collapse"),Nt(n,"collapsing"),n.style.height=null,e.timeoutId=0,e.$emit("hidden")}),this.transitionDuration)}}},Vt={render:function(t){return t(this.tag,{class:{"btn-group":"div"===this.tag,dropdown:!this.dropup,dropup:this.dropup,open:this.show}},[this.$slots.default,t("ul",{class:{"dropdown-menu":!0,"dropdown-menu-right":this.menuRight},ref:"dropdown"},[this.$slots.dropdown])])},props:{tag:{type:String,default:"div"},appendToBody:{type:Boolean,default:!1},value:Boolean,dropup:{type:Boolean,default:!1},menuRight:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},notCloseElements:Array,positionElement:null},data:function(){return{show:!1,triggerEl:void 0}},watch:{value:function(t){this.toggle(t)}},mounted:function(){this.initTrigger(),this.triggerEl&&(It(this.triggerEl,ut,this.toggle),It(this.triggerEl,ft,this.onKeyPress)),It(this.$refs.dropdown,ft,this.onKeyPress),It(window,ut,this.windowClicked),It(window,mt,this.windowClicked),this.value&&this.toggle(!0)},beforeDestroy:function(){this.removeDropdownFromBody(),this.triggerEl&&(At(this.triggerEl,ut,this.toggle),At(this.triggerEl,ft,this.onKeyPress)),At(this.$refs.dropdown,ft,this.onKeyPress),At(window,ut,this.windowClicked),At(window,mt,this.windowClicked)},methods:{onKeyPress:function(t){if(this.show){var e=this.$refs.dropdown,n=t.keyCode||t.which;if(27===n)this.toggle(!1),this.triggerEl&&this.triggerEl.focus();else if(13===n){var i=e.querySelector("li > a:focus");i&&i.click()}else if(38===n||40===n){t.preventDefault(),t.stopPropagation();var r=e.querySelector("li > a:focus"),o=e.querySelectorAll("li:not(.disabled) > a");if(r){for(var a=0;a0?zt(o[a-1]):40===n&&a=0;a=o||s&&l}if(a){n=!0;break}}var c=this.$refs.dropdown.contains(e),u=this.$el.contains(e)&&!c,h=c&&"touchend"===t.type;u||n||h||this.toggle(!1)}},appendDropdownToBody:function(){try{var t=this.$refs.dropdown;t.style.display="block",document.body.appendChild(t),function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=document.documentElement,r=(window.pageXOffset||i.scrollLeft)-(i.clientLeft||0),o=(window.pageYOffset||i.scrollTop)-(i.clientTop||0),a=e.getBoundingClientRect(),s=t.getBoundingClientRect();t.style.right="auto",t.style.bottom="auto",n.menuRight?t.style.left=r+a.left+a.width-s.width+"px":t.style.left=r+a.left+"px",n.dropup?t.style.top=o+a.top-s.height-4+"px":t.style.top=o+a.top+a.height+"px"}(t,this.positionElement||this.$el,this)}catch(t){}},removeDropdownFromBody:function(){try{var t=this.$refs.dropdown;t.removeAttribute("style"),this.$el.appendChild(t)}catch(t){}}}},Wt={uiv:{datePicker:{clear:"Clear",today:"Today",month:"Month",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",year:"Year",week1:"Mon",week2:"Tue",week3:"Wed",week4:"Thu",week5:"Fri",week6:"Sat",week7:"Sun"},timePicker:{am:"AM",pm:"PM"},modal:{cancel:"Cancel",ok:"OK"},multiSelect:{placeholder:"Select...",filterPlaceholder:"Search..."}}},Ut=function(){var t=Object.getPrototypeOf(this).$t;if(X(t))try{return t.apply(this,arguments)}catch(t){return this.$t.apply(this,arguments)}},qt=function(t,e){e=e||{};var n=Ut.apply(this,arguments);if(G(n)&&!e.$$locale)return n;for(var i=t.split("."),r=e.$$locale||Wt,o=0,a=i.length;o=0:r.value===r.inputValue,l=(n={btn:!0,active:r.inputType?s:r.active,disabled:r.disabled,"btn-block":r.block},Jt(n,"btn-"+r.type,Boolean(r.type)),Jt(n,"btn-"+r.size,Boolean(r.size)),n),c={click:function(t){r.disabled&&t instanceof Event&&(t.preventDefault(),t.stopPropagation())}},u=void 0,h=void 0,f=void 0;return r.href?(u="a",f=i,h=Qt(o,{on:c,class:l,attrs:{role:"button",href:r.href,target:r.target}})):r.to?(u="router-link",f=i,h=Qt(o,{nativeOn:c,class:l,props:{event:r.disabled?"":"click",to:r.to,replace:r.replace,append:r.append,exact:r.exact},attrs:{role:"button"}})):r.inputType?(u="label",h=Qt(o,{on:c,class:l}),f=[t("input",{attrs:{autocomplete:"off",type:r.inputType,checked:s?"checked":null,disabled:r.disabled},domProps:{checked:s},on:{input:function(t){t.stopPropagation()},change:function(){if("checkbox"===r.inputType){var t=r.value.slice();s?t.splice(t.indexOf(r.inputValue),1):t.push(r.inputValue),a.input(t)}else a.input(r.inputValue)}}}),i]):r.justified?(u=ee,h={},f=[t("button",Qt(o,{on:c,class:l,attrs:{type:r.nativeType,disabled:r.disabled}}),i)]):(u="button",f=i,h=Qt(o,{on:c,class:l,attrs:{type:r.nativeType,disabled:r.disabled}})),t(u,h,f)},props:{justified:{type:Boolean,default:!1},type:{type:String,default:"default"},nativeType:{type:String,default:"button"},size:String,block:{type:Boolean,default:!1},active:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},value:null,inputValue:null,inputType:{type:String,validator:function(t){return"checkbox"===t||"radio"===t}}}},ie=function(){return document.querySelectorAll(".modal-backdrop")},re=function(){return ie().length},oe={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"modal",class:{fade:t.transitionDuration>0},attrs:{tabindex:"-1",role:"dialog"},on:{mousedown:function(e){return e.target!==e.currentTarget?null:t.backdropClicked(e)}}},[n("div",{ref:"dialog",staticClass:"modal-dialog",class:t.modalSizeClass,attrs:{role:"document"}},[n("div",{staticClass:"modal-content"},[t.header?n("div",{staticClass:"modal-header"},[t._t("header",[t.dismissBtn?n("button",{staticClass:"close",staticStyle:{position:"relative","z-index":"1060"},attrs:{type:"button","aria-label":"Close"},on:{click:function(e){return t.toggle(!1)}}},[n("span",{attrs:{"aria-hidden":"true"}},[t._v("×")])]):t._e(),t._v(" "),n("h4",{staticClass:"modal-title"},[t._t("title",[t._v(t._s(t.title))])],2)])],2):t._e(),t._v(" "),n("div",{staticClass:"modal-body"},[t._t("default")],2),t._v(" "),t.footer?n("div",{staticClass:"modal-footer"},[t._t("footer",[n("btn",{attrs:{type:t.cancelType},on:{click:function(e){return t.toggle(!1,"cancel")}}},[n("span",[t._v(t._s(t.cancelText||t.t("uiv.modal.cancel")))])]),t._v(" "),n("btn",{attrs:{type:t.okType,"data-action":"auto-focus"},on:{click:function(e){return t.toggle(!1,"ok")}}},[n("span",[t._v(t._s(t.okText||t.t("uiv.modal.ok")))])])])],2):t._e()])]),t._v(" "),n("div",{ref:"backdrop",staticClass:"modal-backdrop",class:{fade:t.transitionDuration>0}})])},staticRenderFns:[],mixins:[Xt],components:{Btn:ne},props:{value:{type:Boolean,default:!1},title:String,size:String,backdrop:{type:Boolean,default:!0},footer:{type:Boolean,default:!0},header:{type:Boolean,default:!0},cancelText:String,cancelType:{type:String,default:"default"},okText:String,okType:{type:String,default:"primary"},dismissBtn:{type:Boolean,default:!0},transitionDuration:{type:Number,default:150},autoFocus:{type:Boolean,default:!1},keyboard:{type:Boolean,default:!0},beforeClose:Function,zOffset:{type:Number,default:20},appendToBody:{type:Boolean,default:!1},displayStyle:{type:String,default:"block"}},data:function(){return{msg:"",timeoutId:0}},computed:{modalSizeClass:function(){return Jt({},"modal-"+this.size,Boolean(this.size))}},watch:{value:function(t){this.$toggle(t)}},mounted:function(){Mt(this.$refs.backdrop),It(window,dt,this.onKeyPress),this.value&&this.$toggle(!0)},beforeDestroy:function(){clearTimeout(this.timeoutId),Mt(this.$refs.backdrop),Mt(this.$el),0===re()&&jt(!0),At(window,dt,this.onKeyPress)},methods:{onKeyPress:function(t){if(this.keyboard&&this.value&&27===t.keyCode){var e=this.$refs.backdrop,n=e.style.zIndex;n=n&&"auto"!==n?parseInt(n):0;for(var i=ie(),r=i.length,o=0;on)return}this.toggle(!1)}},toggle:function(t,e){var n=this,i=!0;if(X(this.beforeClose)&&(i=this.beforeClose(e)),tt())Promise.resolve(i).then((function(i){!t&&i&&(n.msg=e,n.$emit("input",t))}));else{if(!t&&!i)return;this.msg=e,this.$emit("input",t)}},$toggle:function(t){var e=this,n=this.$el,i=this.$refs.backdrop;if(clearTimeout(this.timeoutId),t){var r=re();if(document.body.appendChild(i),this.appendToBody&&document.body.appendChild(n),n.style.display=this.displayStyle,n.scrollTop=0,i.offsetHeight,jt(!1),Pt(i,"in"),Pt(n,"in"),r>0){var o=parseInt(Tt(n).zIndex)||1050,a=parseInt(Tt(i).zIndex)||1040,s=r*this.zOffset;n.style.zIndex=""+(o+s),i.style.zIndex=""+(a+s)}this.timeoutId=setTimeout((function(){if(e.autoFocus){var t=e.$el.querySelector('[data-action="auto-focus"]');t&&t.focus()}e.$emit("show"),e.timeoutId=0}),this.transitionDuration)}else Nt(i,"in"),Nt(n,"in"),this.timeoutId=setTimeout((function(){n.style.display="none",Mt(i),e.appendToBody&&Mt(n),0===re()&&jt(!0),e.$emit("hide",e.msg||"dismiss"),e.msg="",e.timeoutId=0,n.style.zIndex="",i.style.zIndex=""}),this.transitionDuration)},backdropClicked:function(t){this.backdrop&&this.toggle(!1)}}},ae={render:function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"tab-pane",class:{fade:this.transition>0},attrs:{role:"tabpanel"}},[this._t("default")],2)},staticRenderFns:[],props:{title:{type:String,default:"Tab Title"},htmlTitle:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},"tab-classes":{type:Object,default:function(){return{}}},group:String,pullRight:{type:Boolean,default:!1}},data:function(){return{active:!0,transition:150}},watch:{active:function(t){var e=this;t?setTimeout((function(){Pt(e.$el,"active"),e.$el.offsetHeight,Pt(e.$el,"in");try{e.$parent.$emit("after-change",e.$parent.activeIndex)}catch(t){throw new Error(" parent must be .")}}),this.transition):(Nt(this.$el,"in"),setTimeout((function(){Nt(e.$el,"active")}),this.transition))}},created:function(){try{this.$parent.tabs.push(this)}catch(t){throw new Error(" parent must be .")}},beforeDestroy:function(){nt(this.$parent&&this.$parent.tabs,this)},methods:{show:function(){var t=this;this.$nextTick((function(){Pt(t.$el,"active"),Pt(t.$el,"in")}))}}},se={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",[n("ul",{class:t.navClasses,attrs:{role:"tablist"}},[t._l(t.groupedTabs,(function(e,i){return[e.tabs?n("dropdown",{class:t.getTabClasses(e),attrs:{role:"presentation",tag:"li"}},[n("a",{staticClass:"dropdown-toggle",attrs:{role:"tab",href:"#"},on:{click:function(t){t.preventDefault()}}},[t._v(t._s(e.group)+" "),n("span",{staticClass:"caret"})]),t._v(" "),n("template",{slot:"dropdown"},t._l(e.tabs,(function(e){return n("li",{class:t.getTabClasses(e,!0)},[n("a",{attrs:{href:"#"},on:{click:function(n){n.preventDefault(),t.select(t.tabs.indexOf(e))}}},[t._v(t._s(e.title))])])})),0)],2):n("li",{class:t.getTabClasses(e),attrs:{role:"presentation"}},[e.htmlTitle?n("a",{attrs:{role:"tab",href:"#"},domProps:{innerHTML:t._s(e.title)},on:{click:function(n){n.preventDefault(),t.select(t.tabs.indexOf(e))}}}):n("a",{attrs:{role:"tab",href:"#"},domProps:{textContent:t._s(e.title)},on:{click:function(n){n.preventDefault(),t.select(t.tabs.indexOf(e))}}})])]})),t._v(" "),!t.justified&&t.$slots["nav-right"]?n("li",{staticClass:"pull-right"},[t._t("nav-right")],2):t._e()],2),t._v(" "),n("div",{class:t.contentClasses},[t._t("default")],2)])},staticRenderFns:[],components:{Dropdown:Vt},props:{value:{type:Number,validator:function(t){return t>=0}},transitionDuration:{type:Number,default:150},justified:Boolean,pills:Boolean,stacked:Boolean,customNavClass:null,customContentClass:null},data:function(){return{tabs:[],activeIndex:0}},watch:{value:{immediate:!0,handler:function(t){Q(t)&&(this.activeIndex=t,this.selectCurrent())}},tabs:function(t){var e=this;t.forEach((function(t,n){t.transition=e.transitionDuration,n===e.activeIndex&&t.show()})),this.selectCurrent()}},computed:{navClasses:function(){var t={nav:!0,"nav-justified":this.justified,"nav-tabs":!this.pills,"nav-pills":this.pills,"nav-stacked":this.stacked&&this.pills},e=this.customNavClass;return G(e)?Z(e)?Gt({},t,Jt({},e,!0)):Gt({},t,e):t},contentClasses:function(){var t={"tab-content":!0},e=this.customContentClass;return G(e)?Z(e)?Gt({},t,Jt({},e,!0)):Gt({},t,e):t},groupedTabs:function(){var t=[],e={};return this.tabs.forEach((function(n){n.group?(e.hasOwnProperty(n.group)?t[e[n.group]].tabs.push(n):(t.push({tabs:[n],group:n.group}),e[n.group]=t.length-1),n.active&&(t[e[n.group]].active=!0),n.pullRight&&(t[e[n.group]].pullRight=!0)):t.push(n)})),t}},methods:{getTabClasses:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n={active:t.active,disabled:t.disabled,"pull-right":t.pullRight&&!e};return Gt(n,t.tabClasses)},selectCurrent:function(){var t=this,e=!1;this.tabs.forEach((function(n,i){i===t.activeIndex?(e=!n.active,n.active=!0):n.active=!1})),e&&this.$emit("change",this.activeIndex)},selectValidate:function(t){var e=this;X(this.$listeners["before-change"])?this.$emit("before-change",this.activeIndex,t,(function(n){G(n)||e.$select(t)})):this.$select(t)},select:function(t){this.tabs[t].disabled||t===this.activeIndex||this.selectValidate(t)},$select:function(t){Q(this.value)?this.$emit("input",t):(this.activeIndex=t,this.selectCurrent())}}};function le(t,e){for(var n=e-(t+="").length;n>0;n--)t="0"+t;return t}var ce=["January","February","March","April","May","June","July","August","September","October","November","December"];function ue(t){return new Date(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds())}var he={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.pickerClass,style:t.pickerStyle,attrs:{"data-role":"date-picker"},on:{click:t.onPickerClick}},[n("date-view",{directives:[{name:"show",rawName:"v-show",value:"d"===t.view,expression:"view==='d'"}],attrs:{month:t.currentMonth,year:t.currentYear,date:t.valueDateObj,today:t.now,limit:t.limit,"week-starts-with":t.weekStartsWith,"icon-control-left":t.iconControlLeft,"icon-control-right":t.iconControlRight,"date-class":t.dateClass,"year-month-formatter":t.yearMonthFormatter,"week-numbers":t.weekNumbers,locale:t.locale},on:{"month-change":t.onMonthChange,"year-change":t.onYearChange,"date-change":t.onDateChange,"view-change":t.onViewChange}}),t._v(" "),n("month-view",{directives:[{name:"show",rawName:"v-show",value:"m"===t.view,expression:"view==='m'"}],attrs:{month:t.currentMonth,year:t.currentYear,"icon-control-left":t.iconControlLeft,"icon-control-right":t.iconControlRight,locale:t.locale},on:{"month-change":t.onMonthChange,"year-change":t.onYearChange,"view-change":t.onViewChange}}),t._v(" "),n("year-view",{directives:[{name:"show",rawName:"v-show",value:"y"===t.view,expression:"view==='y'"}],attrs:{year:t.currentYear,"icon-control-left":t.iconControlLeft,"icon-control-right":t.iconControlRight},on:{"year-change":t.onYearChange,"view-change":t.onViewChange}}),t._v(" "),t.todayBtn||t.clearBtn?n("div",[n("br"),t._v(" "),n("div",{staticClass:"text-center"},[t.todayBtn?n("btn",{attrs:{"data-action":"select",type:"info",size:"sm"},domProps:{textContent:t._s(t.t("uiv.datePicker.today"))},on:{click:t.selectToday}}):t._e(),t._v(" "),t.clearBtn?n("btn",{attrs:{"data-action":"select",size:"sm"},domProps:{textContent:t._s(t.t("uiv.datePicker.clear"))},on:{click:t.clearSelect}}):t._e()],1)]):t._e()],1)},staticRenderFns:[],mixins:[Xt],components:{DateView:{render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("table",{staticStyle:{width:"100%"},attrs:{role:"grid"}},[n("thead",[n("tr",[n("td",[n("btn",{staticClass:"uiv-datepicker-pager-prev",staticStyle:{border:"none"},attrs:{block:"",size:"sm"},on:{click:t.goPrevMonth}},[n("i",{class:t.iconControlLeft})])],1),t._v(" "),n("td",{attrs:{colspan:t.weekNumbers?6:5}},[n("btn",{staticClass:"uiv-datepicker-title",staticStyle:{border:"none"},attrs:{block:"",size:"sm"},on:{click:t.changeView}},[n("b",[t._v(t._s(t.yearMonthStr))])])],1),t._v(" "),n("td",[n("btn",{staticClass:"uiv-datepicker-pager-next",staticStyle:{border:"none"},attrs:{block:"",size:"sm"},on:{click:t.goNextMonth}},[n("i",{class:t.iconControlRight})])],1)]),t._v(" "),n("tr",{attrs:{align:"center"}},[t.weekNumbers?n("td"):t._e(),t._v(" "),t._l(t.weekDays,(function(e){return n("td",{attrs:{width:"14.2857142857%"}},[n("small",{staticClass:"uiv-datepicker-week"},[t._v(t._s(t.tWeekName(0===e?7:e)))])])}))],2)]),t._v(" "),n("tbody",t._l(t.monthDayRows,(function(e){return n("tr",[t.weekNumbers?n("td",{staticClass:"text-center",staticStyle:{"border-right":"1px solid #eee"}},[n("small",{staticClass:"text-muted"},[t._v(t._s(t.getWeekNumber(e[t.weekStartsWith])))])]):t._e(),t._v(" "),t._l(e,(function(e){return n("td",[n("btn",{class:e.classes,staticStyle:{border:"none"},attrs:{block:"",size:"sm","data-action":"select",type:t.getBtnType(e),disabled:e.disabled},on:{click:function(n){return t.select(e)}}},[n("span",{class:{"text-muted":t.month!==e.month},attrs:{"data-action":"select"}},[t._v(t._s(e.date))])])],1)}))],2)})),0)])},staticRenderFns:[],mixins:[Xt],props:{month:Number,year:Number,date:Date,today:Date,limit:Object,weekStartsWith:Number,iconControlLeft:String,iconControlRight:String,dateClass:Function,yearMonthFormatter:Function,weekNumbers:Boolean},components:{Btn:ne},computed:{weekDays:function(){for(var t=[],e=this.weekStartsWith;t.length<7;)t.push(e++),e>6&&(e=0);return t},yearMonthStr:function(){return this.yearMonthFormatter?this.yearMonthFormatter(this.year,this.month):G(this.month)?this.year+" "+this.t("uiv.datePicker.month"+(this.month+1)):this.year},monthDayRows:function(){var t,e,n=[],i=new Date(this.year,this.month,1),r=new Date(this.year,this.month,0).getDate(),o=i.getDay(),a=(t=this.month,e=this.year,new Date(e,t+1,0).getDate()),s=0;s=this.weekStartsWith>o?7-this.weekStartsWith:0-this.weekStartsWith;for(var l=0;l<6;l++){n.push([]);for(var c=0-s;c<7-s;c++){var u=7*l+c,h={year:this.year,disabled:!1};u0?h.month=this.month-1:(h.month=11,h.year--)):u=this.limit.from),this.limit&&this.limit.to&&(p=f0?t--:(t=11,e--,this.$emit("year-change",e)),this.$emit("month-change",t)},goNextMonth:function(){var t=this.month,e=this.year;this.month<11?t++:(t=0,e++,this.$emit("year-change",e)),this.$emit("month-change",t)},changeView:function(){this.$emit("view-change","m")}}},MonthView:{render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("table",{staticStyle:{width:"100%"},attrs:{role:"grid"}},[n("thead",[n("tr",[n("td",[n("btn",{staticClass:"uiv-datepicker-pager-prev",staticStyle:{border:"none"},attrs:{block:"",size:"sm"},on:{click:t.goPrevYear}},[n("i",{class:t.iconControlLeft})])],1),t._v(" "),n("td",{attrs:{colspan:"4"}},[n("btn",{staticClass:"uiv-datepicker-title",staticStyle:{border:"none"},attrs:{block:"",size:"sm"},on:{click:function(e){return t.changeView()}}},[n("b",[t._v(t._s(t.year))])])],1),t._v(" "),n("td",[n("btn",{staticClass:"uiv-datepicker-pager-next",staticStyle:{border:"none"},attrs:{block:"",size:"sm"},on:{click:t.goNextYear}},[n("i",{class:t.iconControlRight})])],1)])]),t._v(" "),n("tbody",t._l(t.rows,(function(e,i){return n("tr",t._l(e,(function(e,r){return n("td",{attrs:{colspan:"2",width:"33.333333%"}},[n("btn",{staticStyle:{border:"none"},attrs:{block:"",size:"sm",type:t.getBtnClass(3*i+r)},on:{click:function(e){return t.changeView(3*i+r)}}},[n("span",[t._v(t._s(t.tCell(e)))])])],1)})),0)})),0)])},staticRenderFns:[],components:{Btn:ne},mixins:[Xt],props:{month:Number,year:Number,iconControlLeft:String,iconControlRight:String},data:function(){return{rows:[]}},mounted:function(){for(var t=0;t<4;t++){this.rows.push([]);for(var e=0;e<3;e++)this.rows[t].push(3*t+e+1)}},methods:{tCell:function(t){return this.t("uiv.datePicker.month"+t)},getBtnClass:function(t){return t===this.month?"primary":"default"},goPrevYear:function(){this.$emit("year-change",this.year-1)},goNextYear:function(){this.$emit("year-change",this.year+1)},changeView:function(t){G(t)?(this.$emit("month-change",t),this.$emit("view-change","d")):this.$emit("view-change","y")}}},YearView:{render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("table",{staticStyle:{width:"100%"},attrs:{role:"grid"}},[n("thead",[n("tr",[n("td",[n("btn",{staticClass:"uiv-datepicker-pager-prev",staticStyle:{border:"none"},attrs:{block:"",size:"sm"},on:{click:t.goPrevYear}},[n("i",{class:t.iconControlLeft})])],1),t._v(" "),n("td",{attrs:{colspan:"3"}},[n("btn",{staticClass:"uiv-datepicker-title",staticStyle:{border:"none"},attrs:{block:"",size:"sm"}},[n("b",[t._v(t._s(t.yearStr))])])],1),t._v(" "),n("td",[n("btn",{staticClass:"uiv-datepicker-pager-next",staticStyle:{border:"none"},attrs:{block:"",size:"sm"},on:{click:t.goNextYear}},[n("i",{class:t.iconControlRight})])],1)])]),t._v(" "),n("tbody",t._l(t.rows,(function(e){return n("tr",t._l(e,(function(e){return n("td",{attrs:{width:"20%"}},[n("btn",{staticStyle:{border:"none"},attrs:{block:"",size:"sm",type:t.getBtnClass(e)},on:{click:function(n){return t.changeView(e)}}},[n("span",[t._v(t._s(e))])])],1)})),0)})),0)])},staticRenderFns:[],components:{Btn:ne},props:{year:Number,iconControlLeft:String,iconControlRight:String},computed:{rows:function(){for(var t=[],e=this.year-this.year%20,n=0;n<4;n++){t.push([]);for(var i=0;i<5;i++)t[n].push(e+5*n+i)}return t},yearStr:function(){var t=this.year-this.year%20;return t+" ~ "+(t+19)}},methods:{getBtnClass:function(t){return t===this.year?"primary":"default"},goPrevYear:function(){this.$emit("year-change",this.year-20)},goNextYear:function(){this.$emit("year-change",this.year+20)},changeView:function(t){this.$emit("year-change",t),this.$emit("view-change","m")}}},Btn:ne},props:{value:null,width:{type:Number,default:270},todayBtn:{type:Boolean,default:!0},clearBtn:{type:Boolean,default:!0},closeOnSelected:{type:Boolean,default:!0},limitFrom:null,limitTo:null,format:{type:String,default:"yyyy-MM-dd"},initialView:{type:String,default:"d"},dateParser:{type:Function,default:Date.parse},dateClass:Function,yearMonthFormatter:Function,weekStartsWith:{type:Number,default:0,validator:function(t){return t>=0&&t<=6}},weekNumbers:Boolean,iconControlLeft:{type:String,default:"glyphicon glyphicon-chevron-left"},iconControlRight:{type:String,default:"glyphicon glyphicon-chevron-right"}},data:function(){return{show:!1,now:new Date,currentMonth:0,currentYear:0,view:"d"}},computed:{valueDateObj:function(){var t=this.dateParser(this.value);if(isNaN(t))return null;var e=new Date(t);return 0!==e.getHours()&&(e=new Date(t+60*e.getTimezoneOffset()*1e3)),e},pickerStyle:function(){return{width:this.width+"px"}},pickerClass:function(){return{"uiv-datepicker":!0,"uiv-datepicker-date":"d"===this.view,"uiv-datepicker-month":"m"===this.view,"uiv-datepicker-year":"y"===this.view}},limit:function(){var t={};if(this.limitFrom){var e=this.dateParser(this.limitFrom);isNaN(e)||((e=ue(new Date(e))).setHours(0,0,0,0),t.from=e)}if(this.limitTo){var n=this.dateParser(this.limitTo);isNaN(n)||((n=ue(new Date(n))).setHours(0,0,0,0),t.to=n)}return t}},mounted:function(){this.value?this.setMonthAndYearByValue(this.value):(this.currentMonth=this.now.getMonth(),this.currentYear=this.now.getFullYear(),this.view=this.initialView)},watch:{value:function(t,e){this.setMonthAndYearByValue(t,e)}},methods:{setMonthAndYearByValue:function(t,e){var n=this.dateParser(t);if(!isNaN(n)){var i=new Date(n);0!==i.getHours()&&(i=new Date(n+60*i.getTimezoneOffset()*1e3)),this.limit&&(this.limit.from&&i=this.limit.to)?this.$emit("input",e||""):(this.currentMonth=i.getMonth(),this.currentYear=i.getFullYear())}},onMonthChange:function(t){this.currentMonth=t},onYearChange:function(t){this.currentYear=t,this.currentMonth=void 0},onDateChange:function(t){if(t&&Q(t.date)&&Q(t.month)&&Q(t.year)){var e=new Date(t.year,t.month,t.date);this.$emit("input",this.format?function(t,e){try{var n=t.getFullYear(),i=t.getMonth()+1,r=t.getDate(),o=ce[i-1];return e.replace(/yyyy/g,n).replace(/MMMM/g,o).replace(/MMM/g,o.substring(0,3)).replace(/MM/g,le(i,2)).replace(/dd/g,le(r,2)).replace(/yy/g,n).replace(/M(?!a)/g,i).replace(/d/g,r)}catch(t){return""}}(e,this.format):e),this.currentMonth=t.month,this.currentYear=t.year}else this.$emit("input","")},onViewChange:function(t){this.view=t},selectToday:function(){this.view="d",this.onDateChange({date:this.now.getDate(),month:this.now.getMonth(),year:this.now.getFullYear()})},clearSelect:function(){this.currentMonth=this.now.getMonth(),this.currentYear=this.now.getFullYear(),this.view=this.initialView,this.onDateChange()},onPickerClick:function(t){"select"===t.target.getAttribute("data-action")&&this.closeOnSelected||t.stopPropagation()}}},fe="_uiv_scroll_handler",de=[pt,vt],pe=function(t,e){var n=e.value;X(n)&&(ve(t),t[fe]=n,de.forEach((function(e){It(window,e,t[fe])})))},ve=function(t){de.forEach((function(e){At(window,e,t[fe])})),delete t[fe]},me={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"hidden-print"},[e("div",{directives:[{name:"scroll",rawName:"v-scroll",value:this.onScroll,expression:"onScroll"}],class:this.classes,style:this.styles},[this._t("default")],2)])},staticRenderFns:[],directives:{scroll:{bind:pe,unbind:ve,update:function(t,e){e.value!==e.oldValue&&pe(t,e)}}},props:{offset:{type:Number,default:0}},data:function(){return{affixed:!1}},computed:{classes:function(){return{affix:this.affixed}},styles:function(){return{top:this.affixed?this.offset+"px":null}}},methods:{onScroll:function(){var t=this;if(this.$el.offsetWidth||this.$el.offsetHeight||this.$el.getClientRects().length){for(var e={},n={},i=this.$el.getBoundingClientRect(),r=document.body,o=["Top","Left"],a=0;an.top-this.offset;this.affixed!==c&&(this.affixed=c,this.affixed&&(this.$emit("affix"),this.$nextTick((function(){t.$emit("affixed")}))))}}}},ge={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{class:this.alertClass,attrs:{role:"alert"}},[this.dismissible?e("button",{staticClass:"close",attrs:{type:"button","aria-label":"Close"},on:{click:this.closeAlert}},[e("span",{attrs:{"aria-hidden":"true"}},[this._v("×")])]):this._e(),this._v(" "),this._t("default")],2)},staticRenderFns:[],props:{dismissible:{type:Boolean,default:!1},duration:{type:Number,default:0},type:{type:String,default:"info"}},data:function(){return{timeout:0}},computed:{alertClass:function(){var t;return Jt(t={alert:!0},"alert-"+this.type,Boolean(this.type)),Jt(t,"alert-dismissible",this.dismissible),t}},methods:{closeAlert:function(){clearTimeout(this.timeout),this.$emit("dismissed")}},mounted:function(){this.duration>0&&(this.timeout=setTimeout(this.closeAlert,this.duration))},destroyed:function(){clearTimeout(this.timeout)}},ye={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("nav",{class:t.navClasses,attrs:{"aria-label":"Page navigation"}},[n("ul",{staticClass:"pagination",class:t.classes},[t.boundaryLinks?n("li",{class:{disabled:t.value<=1||t.disabled}},[n("a",{attrs:{href:"#",role:"button","aria-label":"First"},on:{click:function(e){return e.preventDefault(),t.onPageChange(1)}}},[n("span",{attrs:{"aria-hidden":"true"}},[t._v("«")])])]):t._e(),t._v(" "),t.directionLinks?n("li",{class:{disabled:t.value<=1||t.disabled}},[n("a",{attrs:{href:"#",role:"button","aria-label":"Previous"},on:{click:function(e){return e.preventDefault(),t.onPageChange(t.value-1)}}},[n("span",{attrs:{"aria-hidden":"true"}},[t._v("‹")])])]):t._e(),t._v(" "),t.sliceStart>0?n("li",{class:{disabled:t.disabled}},[n("a",{attrs:{href:"#",role:"button","aria-label":"Previous group"},on:{click:function(e){return e.preventDefault(),t.toPage(1)}}},[n("span",{attrs:{"aria-hidden":"true"}},[t._v("…")])])]):t._e(),t._v(" "),t._l(t.sliceArray,(function(e){return n("li",{key:e,class:{active:t.value===e+1,disabled:t.disabled}},[n("a",{attrs:{href:"#",role:"button"},on:{click:function(n){return n.preventDefault(),t.onPageChange(e+1)}}},[t._v(t._s(e+1))])])})),t._v(" "),t.sliceStart=t.totalPage||t.disabled}},[n("a",{attrs:{href:"#",role:"button","aria-label":"Next"},on:{click:function(e){return e.preventDefault(),t.onPageChange(t.value+1)}}},[n("span",{attrs:{"aria-hidden":"true"}},[t._v("›")])])]):t._e(),t._v(" "),t.boundaryLinks?n("li",{class:{disabled:t.value>=t.totalPage||t.disabled}},[n("a",{attrs:{href:"#",role:"button","aria-label":"Last"},on:{click:function(e){return e.preventDefault(),t.onPageChange(t.totalPage)}}},[n("span",{attrs:{"aria-hidden":"true"}},[t._v("»")])])]):t._e()],2)])},staticRenderFns:[],props:{value:{type:Number,required:!0,validator:function(t){return t>=1}},boundaryLinks:{type:Boolean,default:!1},directionLinks:{type:Boolean,default:!0},size:String,align:String,totalPage:{type:Number,required:!0,validator:function(t){return t>=0}},maxSize:{type:Number,default:5,validator:function(t){return t>=0}},disabled:Boolean},data:function(){return{sliceStart:0}},computed:{navClasses:function(){return Jt({},"text-"+this.align,Boolean(this.align))},classes:function(){return Jt({},"pagination-"+this.size,Boolean(this.size))},sliceArray:function(){return function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,i=[],r=e;rn+e){var i=this.totalPage-e;this.sliceStart=t>i?i:t-1}else te?t-e:0)},onPageChange:function(t){!this.disabled&&t>0&&t<=this.totalPage&&t!==this.value&&(this.$emit("input",t),this.$emit("change",t))},toPage:function(t){if(!this.disabled){var e=this.maxSize,n=this.sliceStart,i=this.totalPage-e,r=t?n-e:n+e;this.sliceStart=r<0?0:r>i?i:r}}},created:function(){this.$watch((function(t){return[t.value,t.maxSize,t.totalPage].join()}),this.calculateSliceStart,{immediate:!0})}},be={props:{value:{type:Boolean,default:!1},tag:{type:String,default:"span"},placement:{type:String,default:kt},autoPlacement:{type:Boolean,default:!0},appendTo:{type:String,default:"body"},transitionDuration:{type:Number,default:150},hideDelay:{type:Number,default:0},showDelay:{type:Number,default:0},enable:{type:Boolean,default:!0},enterable:{type:Boolean,default:!0},target:null,viewport:null,customClass:String},data:function(){return{triggerEl:null,hideTimeoutId:0,showTimeoutId:0,transitionTimeoutId:0,autoTimeoutId:0}},watch:{value:function(t){t?this.show():this.hide()},trigger:function(){this.clearListeners(),this.initListeners()},target:function(t){this.clearListeners(),this.initTriggerElByTarget(t),this.initListeners()},allContent:function(t){var e=this;this.isNotEmpty()?this.$nextTick((function(){e.isShown()&&e.resetPosition()})):this.hide()},enable:function(t){t||this.hide()}},mounted:function(){var t=this;Ft(),Mt(this.$refs.popup),this.$nextTick((function(){t.initTriggerElByTarget(t.target),t.initListeners(),t.value&&t.show()}))},beforeDestroy:function(){this.clearListeners(),Mt(this.$refs.popup)},methods:{initTriggerElByTarget:function(t){if(t)Z(t)?this.triggerEl=document.querySelector(t):Dt(t)?this.triggerEl=t:Dt(t.$el)&&(this.triggerEl=t.$el);else{var e=this.$el.querySelector('[data-role="trigger"]');if(e)this.triggerEl=e;else{var n=this.$el.firstChild;this.triggerEl=n===this.$refs.popup?null:n}}},initListeners:function(){this.triggerEl&&(this.trigger===yt?(It(this.triggerEl,at,this.show),It(this.triggerEl,st,this.hide)):this.trigger===bt?(It(this.triggerEl,lt,this.show),It(this.triggerEl,ct,this.hide)):this.trigger===_t?(It(this.triggerEl,at,this.handleAuto),It(this.triggerEl,st,this.handleAuto),It(this.triggerEl,lt,this.handleAuto),It(this.triggerEl,ct,this.handleAuto)):this.trigger!==gt&&this.trigger!==wt||It(this.triggerEl,ut,this.toggle)),It(window,ut,this.windowClicked)},clearListeners:function(){this.triggerEl&&(At(this.triggerEl,lt,this.show),At(this.triggerEl,ct,this.hide),At(this.triggerEl,at,this.show),At(this.triggerEl,st,this.hide),At(this.triggerEl,ut,this.toggle),At(this.triggerEl,at,this.handleAuto),At(this.triggerEl,st,this.handleAuto),At(this.triggerEl,lt,this.handleAuto),At(this.triggerEl,ct,this.handleAuto)),At(window,ut,this.windowClicked),this.clearTimeouts()},clearTimeouts:function(){this.hideTimeoutId&&(clearTimeout(this.hideTimeoutId),this.hideTimeoutId=0),this.showTimeoutId&&(clearTimeout(this.showTimeoutId),this.showTimeoutId=0),this.transitionTimeoutId&&(clearTimeout(this.transitionTimeoutId),this.transitionTimeoutId=0),this.autoTimeoutId&&(clearTimeout(this.autoTimeoutId),this.autoTimeoutId=0)},resetPosition:function(){var t=this.$refs.popup;t&&(!function(t,e,n,i,r,o){if(Dt(t)&&Dt(e)){var a=t&&t.className&&t.className.indexOf("popover")>=0,s=void 0,l=void 0;if(G(r)&&"body"!==r){var c=document.querySelector(r);l=c.scrollLeft,s=c.scrollTop}else{var u=document.documentElement;l=(window.pageXOffset||u.scrollLeft)-(u.clientLeft||0),s=(window.pageYOffset||u.scrollTop)-(u.clientTop||0)}if(i){var h=[Ct,xt,$t,kt],f=function(e){h.forEach((function(e){Nt(t,e)})),Pt(t,e)};if(!Bt(e,t,n)){for(var d=0,p=h.length;dx&&(g=x-m.height),y$&&(y=$-m.width),n===xt?g-=_:n===$t?y+=_:n===Ct?y-=_:g+=_}t.style.top=g+"px",t.style.left=y+"px"}}(t,this.triggerEl,this.placement,this.autoPlacement,this.appendTo,this.viewport),t.offsetHeight)},hideOnLeave:function(){(this.trigger===yt||this.trigger===_t&&!this.triggerEl.matches(":focus"))&&this.$hide()},toggle:function(){this.isShown()?this.hide():this.show()},show:function(){var t=this;if(this.enable&&this.triggerEl&&this.isNotEmpty()&&!this.isShown()){var e=this.hideTimeoutId>0;e&&(clearTimeout(this.hideTimeoutId),this.hideTimeoutId=0),this.transitionTimeoutId>0&&(clearTimeout(this.transitionTimeoutId),this.transitionTimeoutId=0),clearTimeout(this.showTimeoutId),this.showTimeoutId=setTimeout((function(){t.showTimeoutId=0;var n=t.$refs.popup;if(n){if(!e)n.className=t.name+" "+t.placement+" "+(t.customClass?t.customClass:"")+" fade",document.querySelector(t.appendTo).appendChild(n),t.resetPosition();Pt(n,"in"),t.$emit("input",!0),t.$emit("show")}}),this.showDelay)}},hide:function(){var t=this;this.showTimeoutId>0&&(clearTimeout(this.showTimeoutId),this.showTimeoutId=0),this.isShown()&&(!this.enterable||this.trigger!==yt&&this.trigger!==_t?this.$hide():(clearTimeout(this.hideTimeoutId),this.hideTimeoutId=setTimeout((function(){t.hideTimeoutId=0;var e=t.$refs.popup;e&&!e.matches(":hover")&&t.$hide()}),100)))},$hide:function(){var t=this;this.isShown()&&(clearTimeout(this.hideTimeoutId),this.hideTimeoutId=setTimeout((function(){t.hideTimeoutId=0,Nt(t.$refs.popup,"in"),t.transitionTimeoutId=setTimeout((function(){t.transitionTimeoutId=0,Mt(t.$refs.popup),t.$emit("input",!1),t.$emit("hide")}),t.transitionDuration)}),this.hideDelay))},isShown:function(){return function(t,e){if(!Dt(t))return!1;for(var n=t.className.split(" "),i=0,r=n.length;i=1&&e<=12&&(this.meridian?this.hours=12===e?0:e:this.hours=12===e?12:e+12):e>=0&&e<=23&&(this.hours=e),this.setTime()}},minutesText:function(t){if(0!==this.minutes||""!==t){var e=parseInt(t);e>=0&&e<=59&&(this.minutes=e),this.setTime()}}},methods:{updateByValue:function(t){if(isNaN(t.getTime()))return this.hours=0,this.minutes=0,this.hoursText="",this.minutesText="",void(this.meridian=!0);this.hours=t.getHours(),this.minutes=t.getMinutes(),this.showMeridian?this.hours>=12?(12===this.hours?this.hoursText=this.hours+"":this.hoursText=le(this.hours-12,2),this.meridian=!1):(0===this.hours?this.hoursText=12..toString():this.hoursText=le(this.hours,2),this.meridian=!0):this.hoursText=le(this.hours,2),this.minutesText=le(this.minutes,2),this.$refs.hoursInput.value=this.hoursText,this.$refs.minutesInput.value=this.minutesText},addHour:function(t){t=t||this.hourStep,this.hours=this.hours>=23?0:this.hours+t},reduceHour:function(t){t=t||this.hourStep,this.hours=this.hours<=0?23:this.hours-t},addMinute:function(){this.minutes>=59?(this.minutes=0,this.addHour(1)):this.minutes+=this.minStep},reduceMinute:function(){this.minutes<=0?(this.minutes=60-this.minStep,this.reduceHour(1)):this.minutes-=this.minStep},changeTime:function(t,e){this.readonly||(t&&e?this.addHour():t&&!e?this.reduceHour():!t&&e?this.addMinute():this.reduceMinute(),this.setTime())},toggleMeridian:function(){this.meridian=!this.meridian,this.meridian?this.hours-=12:this.hours+=12,this.setTime()},onWheel:function(t,e){this.readonly||(t.preventDefault(),this.changeTime(e,t.deltaY<0))},setTime:function(){var t=this.value;if(isNaN(t.getTime())&&((t=new Date).setHours(0),t.setMinutes(0)),t.setHours(this.hours),t.setMinutes(this.minutes),this.max){var e=new Date(t);e.setHours(this.max.getHours()),e.setMinutes(this.max.getMinutes()),t=t>e?e:t}if(this.min){var n=new Date(t);n.setHours(this.min.getHours()),n.setMinutes(this.min.getMinutes()),t=t1&&void 0!==arguments[1]&&arguments[1];if(e)this.items=t.slice(0,this.limit);else{this.items=[],this.activeIndex=this.preselect?0:-1;for(var n=0,i=t.length;n=0)&&this.items.push(r),this.items.length>=this.limit)break}}},fetchItems:function(t,e){var n=this;if(clearTimeout(this.timeoutID),""!==t||this.openOnEmpty){if(this.data)this.prepareItems(this.data),this.open=this.hasEmptySlot()||Boolean(this.items.length);else if(this.asyncSrc)this.timeoutID=setTimeout((function(){var e,i,r,o;n.$emit("loading"),(e=n.asyncSrc+encodeURIComponent(t),i=new window.XMLHttpRequest,r={},o={then:function(t,e){return o.done(t).fail(e)},catch:function(t){return o.fail(t)},always:function(t){return o.done(t).fail(t)}},["done","fail"].forEach((function(t){r[t]=[],o[t]=function(e){return e instanceof Function&&r[t].push(e),o}})),o.done(JSON.parse),i.onreadystatechange=function(){if(4===i.readyState){var t={status:i.status};if(200===i.status){var e=i.responseText;for(var n in r.done)if(r.done.hasOwnProperty(n)&&X(r.done[n])){var o=r.done[n](e);G(o)&&(e=o)}}else r.fail.forEach((function(e){return e(t)}))}},i.open("GET",e),i.setRequestHeader("Accept","application/json"),i.send(),o).then((function(t){n.inputEl.matches(":focus")&&(n.prepareItems(n.asyncKey?t[n.asyncKey]:t,!0),n.open=n.hasEmptySlot()||Boolean(n.items.length)),n.$emit("loaded")})).catch((function(t){console.error(t),n.$emit("loaded-error")}))}),e);else if(this.asyncFunction){var i=function(t){n.inputEl.matches(":focus")&&(n.prepareItems(t,!0),n.open=n.hasEmptySlot()||Boolean(n.items.length)),n.$emit("loaded")};this.timeoutID=setTimeout((function(){n.$emit("loading"),n.asyncFunction(t,i)}),e)}}else this.open=!1},inputChanged:function(){var t=this.inputEl.value;this.fetchItems(t,this.debounce),this.$emit("input",this.forceSelect?void 0:t)},inputFocused:function(){if(this.openOnFocus){var t=this.inputEl.value;this.fetchItems(t,0)}},inputBlured:function(){var t=this;this.dropdownMenuEl.matches(":hover")||(this.open=!1),this.inputEl&&this.forceClear&&this.$nextTick((function(){void 0===t.value&&(t.inputEl.value="")}))},inputKeyPressed:function(t){if(t.stopPropagation(),this.open)switch(t.keyCode){case 13:this.activeIndex>=0?this.selectItem(this.items[this.activeIndex]):this.open=!1,t.preventDefault();break;case 27:this.open=!1;break;case 38:this.activeIndex=this.activeIndex>0?this.activeIndex-1:0;break;case 40:var e=this.items.length-1;this.activeIndex=this.activeIndex$&")}}},xe={functional:!0,render:function(t,e){var n=e.props;return t("div",Qt(e.data,{class:Jt({"progress-bar":!0,"progress-bar-striped":n.striped,active:n.striped&&n.active},"progress-bar-"+n.type,Boolean(n.type)),style:{minWidth:n.minWidth?"2em":null,width:n.value+"%"},attrs:{role:"progressbar","aria-valuemin":0,"aria-valuenow":n.value,"aria-valuemax":100}}),n.label?n.labelText?n.labelText:n.value+"%":null)},props:{value:{type:Number,required:!0,validator:function(t){return t>=0&&t<=100}},labelText:String,type:String,label:{type:Boolean,default:!1},minWidth:{type:Boolean,default:!1},striped:{type:Boolean,default:!1},active:{type:Boolean,default:!1}}},$e={functional:!0,render:function(t,e){var n=e.props,i=e.data,r=e.children;return t("div",Qt(i,{class:"progress"}),r&&r.length?r:[t(xe,{props:n})])}},Te={functional:!0,mixins:[te],render:function(t,e){var n=e.props,i=e.data,r=e.children,o=void 0;return o=n.active?r:n.to?[t("router-link",{props:{to:n.to,replace:n.replace,append:n.append,exact:n.exact}},r)]:[t("a",{attrs:{href:n.href,target:n.target}},r)],t("li",Qt(i,{class:{active:n.active}}),o)},props:{active:{type:Boolean,default:!1}}},Se={functional:!0,render:function(t,e){var n=e.props,i=e.data,r=e.children,o=[];return r&&r.length?o=r:n.items&&(o=n.items.map((function(e,i){return t(Te,{key:e.hasOwnProperty("key")?e.key:i,props:{active:e.hasOwnProperty("active")?e.active:i===n.items.length-1,href:e.href,target:e.target,to:e.to,replace:e.replace,append:e.append,exact:e.exact}},e.text)}))),t("ol",Qt(i,{class:"breadcrumb"}),o)},props:{items:Array}},Oe={functional:!0,render:function(t,e){var n=e.children;return t("div",Qt(e.data,{class:{"btn-toolbar":!0},attrs:{role:"toolbar"}}),n)}},Ee={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("dropdown",{ref:"dropdown",style:t.containerStyles,attrs:{"not-close-elements":t.els,"append-to-body":t.appendToBody,disabled:t.disabled},nativeOn:{keydown:function(e){if(!e.type.indexOf("key")&&t._k(e.keyCode,"esc",27,e.key,["Esc","Escape"]))return null;t.showDropdown=!1}},model:{value:t.showDropdown,callback:function(e){t.showDropdown=e},expression:"showDropdown"}},[n("div",{staticClass:"form-control dropdown-toggle clearfix",class:t.selectClasses,attrs:{disabled:t.disabled,tabindex:"0","data-role":"trigger"},on:{focus:function(e){return t.$emit("focus",e)},blur:function(e){return t.$emit("blur",e)},keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"down",40,e.key,["Down","ArrowDown"])?null:(e.preventDefault(),e.stopPropagation(),t.goNextOption(e))},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"up",38,e.key,["Up","ArrowUp"])?null:(e.preventDefault(),e.stopPropagation(),t.goPrevOption(e))},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:(e.preventDefault(),e.stopPropagation(),t.selectOption(e))}]}},[n("div",{class:t.selectTextClasses,staticStyle:{display:"inline-block","vertical-align":"middle"}},[t._v(t._s(t.selectedText))]),t._v(" "),n("div",{staticClass:"pull-right",staticStyle:{display:"inline-block","vertical-align":"middle"}},[n("span",[t._v(" ")]),t._v(" "),n("span",{staticClass:"caret"})])]),t._v(" "),n("template",{slot:"dropdown"},[t.filterable?n("li",{staticStyle:{padding:"4px 8px"}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.filterInput,expression:"filterInput"}],ref:"filterInput",staticClass:"form-control input-sm",attrs:{"aria-label":"Filter...",type:"text",placeholder:t.filterPlaceholder||t.t("uiv.multiSelect.filterPlaceholder")},domProps:{value:t.filterInput},on:{keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"down",40,e.key,["Down","ArrowDown"])?null:(e.preventDefault(),e.stopPropagation(),t.goNextOption(e))},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"up",38,e.key,["Up","ArrowUp"])?null:(e.preventDefault(),e.stopPropagation(),t.goPrevOption(e))},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:(e.preventDefault(),e.stopPropagation(),t.selectOption(e))}],input:function(e){e.target.composing||(t.filterInput=e.target.value)}}})]):t._e(),t._v(" "),t._l(t.groupedOptions,(function(e){return[e.$group?n("li",{staticClass:"dropdown-header",domProps:{textContent:t._s(e.$group)}}):t._e(),t._v(" "),t._l(e.options,(function(e){return[n("li",{class:t.itemClasses(e),staticStyle:{outline:"0"},on:{keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"down",40,e.key,["Down","ArrowDown"])?null:(e.preventDefault(),e.stopPropagation(),t.goNextOption(e))},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"up",38,e.key,["Up","ArrowUp"])?null:(e.preventDefault(),e.stopPropagation(),t.goPrevOption(e))},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:(e.preventDefault(),e.stopPropagation(),t.selectOption(e))}],click:function(n){return n.stopPropagation(),t.toggle(e)},mouseenter:function(e){t.currentActive=-1}}},[t.isItemSelected(e)?n("a",{staticStyle:{outline:"0"},attrs:{role:"button"}},[n("b",[t._v(t._s(e[t.labelKey]))]),t._v(" "),t.selectedIcon?n("span",{class:t.selectedIconClasses}):t._e()]):n("a",{staticStyle:{outline:"0"},attrs:{role:"button"}},[n("span",[t._v(t._s(e[t.labelKey]))])])])]}))]}))],2)],2)},staticRenderFns:[],mixins:[Xt],components:{Dropdown:Vt},props:{value:{type:Array,required:!0},options:{type:Array,required:!0},labelKey:{type:String,default:"label"},valueKey:{type:String,default:"value"},limit:{type:Number,default:0},size:String,placeholder:String,split:{type:String,default:", "},disabled:{type:Boolean,default:!1},appendToBody:{type:Boolean,default:!1},block:{type:Boolean,default:!1},collapseSelected:{type:Boolean,default:!1},filterable:{type:Boolean,default:!1},filterAutoFocus:{type:Boolean,default:!0},filterFunction:Function,filterPlaceholder:String,selectedIcon:{type:String,default:"glyphicon glyphicon-ok"},itemSelectedClass:String},data:function(){return{showDropdown:!1,els:[],filterInput:"",currentActive:-1}},computed:{containerStyles:function(){return{width:this.block?"100%":""}},filteredOptions:function(){var t=this;if(this.filterable&&this.filterInput){if(this.filterFunction)return this.filterFunction(this.filterInput);var e=this.filterInput.toLowerCase();return this.options.filter((function(n){return n[t.valueKey].toString().toLowerCase().indexOf(e)>=0||n[t.labelKey].toString().toLowerCase().indexOf(e)>=0}))}return this.options},groupedOptions:function(){var t=this;return this.filteredOptions.map((function(t){return t.group})).filter(rt).map((function(e){return{options:t.filteredOptions.filter((function(t){return t.group===e})),$group:e}}))},flatternGroupedOptions:function(){if(this.groupedOptions&&this.groupedOptions.length){var t=[];return this.groupedOptions.forEach((function(e){t=t.concat(e.options)})),t}return[]},selectClasses:function(){return Jt({},"input-"+this.size,this.size)},selectedIconClasses:function(){var t;return Jt(t={},this.selectedIcon,!0),Jt(t,"pull-right",!0),t},selectTextClasses:function(){return{"text-muted":0===this.value.length}},labelValue:function(){var t=this,e=this.options.map((function(e){return e[t.valueKey]}));return this.value.map((function(n){var i=e.indexOf(n);return i>=0?t.options[i][t.labelKey]:n}))},selectedText:function(){if(this.value.length){var t=this.labelValue;if(this.collapseSelected){var e=t[0];return e+=t.length>1?this.split+"+"+(t.length-1):""}return t.join(this.split)}return this.placeholder||this.t("uiv.multiSelect.placeholder")}},watch:{showDropdown:function(t){var e=this;this.filterInput="",this.currentActive=-1,this.$emit("visible-change",t),t&&this.filterable&&this.filterAutoFocus&&this.$nextTick((function(){e.$refs.filterInput.focus()}))}},mounted:function(){this.els=[this.$el]},methods:{goPrevOption:function(){this.showDropdown&&(this.currentActive>0?this.currentActive--:this.currentActive=this.flatternGroupedOptions.length-1)},goNextOption:function(){this.showDropdown&&(this.currentActive=0&&t=0},toggle:function(t){if(!t.disabled){var e=t[this.valueKey],n=this.value.indexOf(e);if(1===this.limit){var i=n>=0?[]:[e];this.$emit("input",i),this.$emit("change",i)}else if(n>=0){var r=this.value.slice();r.splice(n,1),this.$emit("input",r),this.$emit("change",r)}else if(0===this.limit||this.value.length1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.el=t,this.opts=Gt({},Ve.DEFAULTS,n),this.opts.target=e,this.scrollElement="body"===e?window:document.querySelector("[id="+e+"]"),this.selector="li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.scrollElement&&(this.refresh(),this.process())}Ve.DEFAULTS={offset:10,callback:function(t){return 0}},Ve.prototype.getScrollHeight=function(){return this.scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},Ve.prototype.refresh=function(){var t=this;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight();var e=it(this.el.querySelectorAll(this.selector)),n=this.scrollElement===window;e.map((function(e){var i=e.getAttribute("href");if(/^#./.test(i)){var r=document.documentElement,o=(n?document:t.scrollElement).querySelector("[id='"+i.slice(1)+"']"),a=(window.pageYOffset||r.scrollTop)-(r.clientTop||0);return[n?o.getBoundingClientRect().top+a:o.offsetTop+t.scrollElement.scrollTop,i]}return null})).filter((function(t){return t})).sort((function(t,e){return t[0]-e[0]})).forEach((function(e){t.offsets.push(e[0]),t.targets.push(e[1])}))},Ve.prototype.process=function(){var t=this.scrollElement===window,e=(t?window.pageYOffset:this.scrollElement.scrollTop)+this.opts.offset,n=this.getScrollHeight(),i=t?St().height:this.scrollElement.getBoundingClientRect().height,r=this.opts.offset+n-i,o=this.offsets,a=this.targets,s=this.activeTarget,l=void 0;if(this.scrollHeight!==n&&this.refresh(),e>=r)return s!==(l=a[a.length-1])&&this.activate(l);if(s&&e=o[l]&&(void 0===o[l+1]||e-1:t.input},on:{change:[function(e){var n=t.input,i=e.target,r=!!i.checked;if(Array.isArray(n)){var o=t._i(n,null);i.checked?o<0&&(t.input=n.concat([null])):o>-1&&(t.input=n.slice(0,o).concat(n.slice(o+1)))}else t.input=r},function(e){t.dirty=!0}],keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.validate(e)}}}):"radio"===t.inputType?n("input",{directives:[{name:"model",rawName:"v-model",value:t.input,expression:"input"}],ref:"input",staticClass:"form-control",attrs:{required:"","data-action":"auto-focus",type:"radio"},domProps:{checked:t._q(t.input,null)},on:{change:[function(e){t.input=null},function(e){t.dirty=!0}],keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.validate(e)}}}):n("input",{directives:[{name:"model",rawName:"v-model",value:t.input,expression:"input"}],ref:"input",staticClass:"form-control",attrs:{required:"","data-action":"auto-focus",type:t.inputType},domProps:{value:t.input},on:{change:function(e){t.dirty=!0},keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.validate(e)},input:function(e){e.target.composing||(t.input=e.target.value)}}}),t._v(" "),n("span",{directives:[{name:"show",rawName:"v-show",value:t.inputNotValid,expression:"inputNotValid"}],staticClass:"help-block"},[t._v(t._s(t.inputError))])])]):t._e(),t._v(" "),t.type===t.TYPES.ALERT?n("template",{slot:"footer"},[n("btn",{attrs:{type:t.okType,"data-action":"ok"===t.autoFocus?"auto-focus":""},domProps:{textContent:t._s(t.okBtnText)},on:{click:function(e){return t.toggle(!1,"ok")}}})],1):n("template",{slot:"footer"},[n("btn",{attrs:{type:t.cancelType,"data-action":"cancel"===t.autoFocus?"auto-focus":""},domProps:{textContent:t._s(t.cancelBtnText)},on:{click:function(e){return t.toggle(!1,"cancel")}}}),t._v(" "),t.type===t.TYPES.CONFIRM?n("btn",{attrs:{type:t.okType,"data-action":"ok"===t.autoFocus?"auto-focus":""},domProps:{textContent:t._s(t.okBtnText)},on:{click:function(e){return t.toggle(!1,"ok")}}}):n("btn",{attrs:{type:t.okType},domProps:{textContent:t._s(t.okBtnText)},on:{click:t.validate}})],1)],2)},staticRenderFns:[],mixins:[Xt],components:{Modal:oe,Btn:ne},props:{backdrop:null,title:String,content:String,html:{type:Boolean,default:!1},okText:String,okType:{type:String,default:"primary"},cancelText:String,cancelType:{type:String,default:"default"},type:{type:Number,default:Qe.ALERT},size:{type:String,default:"sm"},cb:{type:Function,required:!0},validator:{type:Function,default:function(){return null}},customClass:null,defaultValue:String,inputType:{type:String,default:"text"},autoFocus:{type:String,default:"ok"}},data:function(){return{TYPES:Qe,show:!1,input:"",dirty:!1}},mounted:function(){this.defaultValue&&(this.input=this.defaultValue)},computed:{closeOnBackdropClick:function(){return G(this.backdrop)?Boolean(this.backdrop):this.type!==Qe.ALERT},inputError:function(){return this.validator(this.input)},inputNotValid:function(){return this.dirty&&this.inputError},okBtnText:function(){return this.okText||this.t("uiv.modal.ok")},cancelBtnText:function(){return this.cancelText||this.t("uiv.modal.cancel")}},methods:{toggle:function(t,e){this.$refs.modal.toggle(t,e)},validate:function(){this.dirty=!0,G(this.inputError)||this.toggle(!1,{value:this.input})}}},tn=[],en=function(t){Mt(t.$el),t.$destroy(),nt(tn,t)},nn=function(t,e){return t===Qe.CONFIRM?"ok"===e:G(e)&&Z(e.value)},rn=function(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,a=this.$i18n,s=new o.a({extends:Ze,i18n:a,propsData:Gt({type:t},e,{cb:function(e){en(s),X(n)?t===Qe.CONFIRM?nn(t,e)?n(null,e):n(e):t===Qe.PROMPT&&nn(t,e)?n(null,e.value):n(e):i&&r&&(t===Qe.CONFIRM?nn(t,e)?i(e):r(e):t===Qe.PROMPT?nn(t,e)?i(e.value):r(e):i(e))}})});s.$mount(),document.body.appendChild(s.$el),s.show=!0,tn.push(s)},on=function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments[2];if(tt())return new Promise((function(r,o){rn.apply(e,[t,n,i,r,o])}));rn.apply(this,[t,n,i])},an={alert:function(t,e){return on.apply(this,[Qe.ALERT,t,e])},confirm:function(t,e){return on.apply(this,[Qe.CONFIRM,t,e])},prompt:function(t,e){return on.apply(this,[Qe.PROMPT,t,e])}},sn="success",ln="info",cn="danger",un="warning",hn="top-left",fn="top-right",dn="bottom-left",pn="bottom-right",vn="glyphicon",mn={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("alert",{staticClass:"fade",class:t.customClass,style:t.styles,attrs:{type:t.type,duration:t.duration,dismissible:t.dismissible},on:{dismissed:t.onDismissed}},[n("div",{staticClass:"media",staticStyle:{margin:"0"}},[t.icons?n("div",{staticClass:"media-left"},[n("span",{class:t.icons,staticStyle:{"font-size":"1.5em"}})]):t._e(),t._v(" "),n("div",{staticClass:"media-body"},[t.title?n("div",{staticClass:"media-heading"},[n("b",[t._v(t._s(t.title))])]):t._e(),t._v(" "),t.html?n("div",{domProps:{innerHTML:t._s(t.content)}}):n("div",[t._v(t._s(t.content))])])])])},staticRenderFns:[],components:{Alert:ge},props:{title:String,content:String,html:{type:Boolean,default:!1},duration:{type:Number,default:5e3},dismissible:{type:Boolean,default:!0},type:String,placement:String,icon:String,customClass:null,cb:{type:Function,required:!0},queue:{type:Array,required:!0},offsetY:{type:Number,default:15},offsetX:{type:Number,default:15},offset:{type:Number,default:15}},data:function(){return{height:0,top:0,horizontal:this.placement===hn||this.placement===dn?"left":"right",vertical:this.placement===hn||this.placement===fn?"top":"bottom"}},created:function(){this.top=this.getTotalHeightOfQueue(this.queue)},mounted:function(){var t=this,e=this.$el;e.style[this.vertical]=this.top+"px",this.$nextTick((function(){e.style[t.horizontal]="-300px",t.height=e.offsetHeight,e.style[t.horizontal]=t.offsetX+"px",Pt(e,"in")}))},computed:{styles:function(){var t,e=this.queue,n=e.indexOf(this);return Jt(t={position:"fixed"},this.vertical,this.getTotalHeightOfQueue(e,n)+"px"),Jt(t,"width","300px"),Jt(t,"transition","all 0.3s ease-in-out"),t},icons:function(){if(Z(this.icon))return this.icon;switch(this.type){case ln:case un:return vn+" "+vn+"-info-sign";case sn:return vn+" "+vn+"-ok-sign";case cn:return vn+" "+vn+"-remove-sign";default:return null}}},methods:{getTotalHeightOfQueue:function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.length,n=this.offsetY,i=0;i2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,r=t.placement,a=gn[r];if(G(a)){"error"===t.type&&(t.type="danger");var s=new o.a({extends:mn,propsData:Gt({queue:a,placement:r},t,{cb:function(t){yn(a,s),X(e)?e(t):n&&i&&n(t)}})});s.$mount(),document.body.appendChild(s.$el),a.push(s)}},_n=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments[1];if(Z(t)&&(t={content:t}),G(t.placement)||(t.placement=fn),tt())return new Promise((function(n,i){bn(t,e,n,i)}));bn(t,e)};function wn(t,e){Z(e)?_n({content:e,type:t}):_n(Gt({},e,{type:t}))}var kn={notify:Object.defineProperties(_n,{success:{configurable:!1,writable:!1,value:function(t){wn("success",t)}},info:{configurable:!1,writable:!1,value:function(t){wn("info",t)}},warning:{configurable:!1,writable:!1,value:function(t){wn("warning",t)}},danger:{configurable:!1,writable:!1,value:function(t){wn("danger",t)}},error:{configurable:!1,writable:!1,value:function(t){wn("danger",t)}},dismissAll:{configurable:!1,writable:!1,value:function(){for(var t in gn)gn.hasOwnProperty(t)&&gn[t].forEach((function(t){t.onDismissed()}))}}})},Cn=Object.freeze({MessageBox:an,Notification:kn}),xn=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Yt(e.locale),Kt(e.i18n),Object.keys(Fe).forEach((function(n){var i=e.prefix?e.prefix+n:n;t.component(i,Fe[n])})),Object.keys(Xe).forEach((function(n){var i=e.prefix?e.prefix+"-"+n:n;t.directive(i,Xe[n])})),Object.keys(Cn).forEach((function(n){var i=Cn[n];Object.keys(i).forEach((function(n){var r=e.prefix?e.prefix+"_"+n:n;t.prototype["$"+r]=i[n]}))}))};window.vuei18n=J,window.uiv=i,o.a.use(vuei18n),o.a.use(i),window.Vue=o.a}}); \ No newline at end of file +!function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/",n(n.s=77)}({10:function(t,e){var n,i,r=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(t){n=o}try{i="function"==typeof clearTimeout?clearTimeout:a}catch(t){i=a}}();var l,c=[],u=!1,h=-1;function f(){u&&l&&(u=!1,l.length?c=l.concat(c):h=-1,c.length&&d())}function d(){if(!u){var t=s(f);u=!0;for(var e=c.length;e;){for(l=c,c=[];++h1)for(var n=1;n=0&&Math.floor(e)===e&&isFinite(t)}function f(t){return o(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function d(t){return null==t?"":Array.isArray(t)||u(t)&&t.toString===c?JSON.stringify(t,null,2):String(t)}function p(t){var e=parseFloat(t);return isNaN(e)?t:e}function v(t,e){for(var n=Object.create(null),i=t.split(","),r=0;r-1)return t.splice(n,1)}}var y=Object.prototype.hasOwnProperty;function b(t,e){return y.call(t,e)}function _(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}var w=/-(\w)/g,k=_((function(t){return t.replace(w,(function(t,e){return e?e.toUpperCase():""}))})),C=_((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),x=/\B([A-Z])/g,T=_((function(t){return t.replace(x,"-$1").toLowerCase()})),$=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){function n(n){var i=arguments.length;return i?i>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n};function S(t,e){e=e||0;for(var n=t.length-e,i=new Array(n);n--;)i[n]=t[n+e];return i}function O(t,e){for(var n in e)t[n]=e[n];return t}function E(t){for(var e={},n=0;n0,G=Y&&Y.indexOf("edge/")>0,X=(Y&&Y.indexOf("android"),Y&&/iphone|ipad|ipod|ios/.test(Y)||"ios"===q),Q=(Y&&/chrome\/\d+/.test(Y),Y&&/phantomjs/.test(Y),Y&&Y.match(/firefox\/(\d+)/)),Z={}.watch,tt=!1;if(W)try{var et={};Object.defineProperty(et,"passive",{get:function(){tt=!0}}),window.addEventListener("test-passive",null,et)}catch(i){}var nt=function(){return void 0===z&&(z=!W&&!U&&void 0!==e&&e.process&&"server"===e.process.env.VUE_ENV),z},it=W&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function rt(t){return"function"==typeof t&&/native code/.test(t.toString())}var ot,at="undefined"!=typeof Symbol&&rt(Symbol)&&"undefined"!=typeof Reflect&&rt(Reflect.ownKeys);ot="undefined"!=typeof Set&&rt(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var st=I,lt=0,ct=function(){this.id=lt++,this.subs=[]};ct.prototype.addSub=function(t){this.subs.push(t)},ct.prototype.removeSub=function(t){g(this.subs,t)},ct.prototype.depend=function(){ct.target&&ct.target.addDep(this)},ct.prototype.notify=function(){for(var t=this.subs.slice(),e=0,n=t.length;e-1)if(o&&!b(r,"default"))a=!1;else if(""===a||a===T(t)){var l=jt(String,r.type);(l<0||s0&&(le((l=t(l,(n||"")+"_"+i))[0])&&le(u)&&(h[c]=mt(u.text+l[0].text),l.shift()),h.push.apply(h,l)):s(l)?le(u)?h[c]=mt(u.text+l):""!==l&&h.push(mt(l)):le(l)&&le(u)?h[c]=mt(u.text+l.text):(a(e._isVList)&&o(l.tag)&&r(l.key)&&o(n)&&(l.key="__vlist"+n+"_"+i+"__"),h.push(l)));return h}(t):void 0}function le(t){return o(t)&&o(t.text)&&!1===t.isComment}function ce(t,e){if(t){for(var n=Object.create(null),i=at?Reflect.ownKeys(t):Object.keys(t),r=0;r0,a=t?!!t.$stable:!o,s=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(a&&n&&n!==i&&s===n.$key&&!o&&!n.$hasNormal)return n;for(var l in r={},t)t[l]&&"$"!==l[0]&&(r[l]=de(e,l,t[l]))}else r={};for(var c in e)c in r||(r[c]=pe(e,c));return t&&Object.isExtensible(t)&&(t._normalized=r),R(r,"$stable",a),R(r,"$key",s),R(r,"$hasNormal",o),r}function de(t,e,n){var i=function(){var t=arguments.length?n.apply(null,arguments):n({});return(t=t&&"object"==typeof t&&!Array.isArray(t)?[t]:se(t))&&(0===t.length||1===t.length&&t[0].isComment)?void 0:t};return n.proxy&&Object.defineProperty(t,e,{get:i,enumerable:!0,configurable:!0}),i}function pe(t,e){return function(){return t[e]}}function ve(t,e){var n,i,r,a,s;if(Array.isArray(t)||"string"==typeof t)for(n=new Array(t.length),i=0,r=t.length;idocument.createEvent("Event").timeStamp&&(an=function(){return sn.now()})}function ln(){var t,e;for(on=an(),nn=!0,Qe.sort((function(t,e){return t.id-e.id})),rn=0;rnrn&&Qe[n].id>t.id;)n--;Qe.splice(n+1,0,t)}else Qe.push(t);en||(en=!0,Zt(ln))}}(this)},un.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||l(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(t){Rt(t,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},un.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},un.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},un.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||g(this.vm._watchers,this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1}};var hn={enumerable:!0,configurable:!0,get:I,set:I};function fn(t,e,n){hn.get=function(){return this[e][n]},hn.set=function(t){this[e][n]=t},Object.defineProperty(t,n,hn)}var dn={lazy:!0};function pn(t,e,n){var i=!nt();"function"==typeof n?(hn.get=i?vn(e):mn(n),hn.set=I):(hn.get=n.get?i&&!1!==n.cache?vn(e):mn(n.get):I,hn.set=n.set||I),Object.defineProperty(t,e,hn)}function vn(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),ct.target&&e.depend(),e.value}}function mn(t){return function(){return t.call(this,this)}}function gn(t,e,n,i){return u(n)&&(i=n,n=n.handler),"string"==typeof n&&(n=t[n]),t.$watch(e,n,i)}var yn=0;function bn(t){var e=t.options;if(t.super){var n=bn(t.super);if(n!==t.superOptions){t.superOptions=n;var i=function(t){var e,n=t.options,i=t.sealedOptions;for(var r in n)n[r]!==i[r]&&(e||(e={}),e[r]=n[r]);return e}(t);i&&O(t.extendOptions,i),(e=t.options=Ft(n,t.extendOptions)).name&&(e.components[e.name]=t)}}return e}function _n(t){this._init(t)}function wn(t){return t&&(t.Ctor.options.name||t.tag)}function kn(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"==typeof t?t.split(",").indexOf(e)>-1:(n=t,"[object RegExp]"===c.call(n)&&t.test(e));var n}function Cn(t,e){var n=t.cache,i=t.keys,r=t._vnode;for(var o in n){var a=n[o];if(a){var s=wn(a.componentOptions);s&&!e(s)&&xn(n,o,i,r)}}}function xn(t,e,n,i){var r=t[e];!r||i&&r.tag===i.tag||r.componentInstance.$destroy(),t[e]=null,g(n,e)}!function(t){t.prototype._init=function(t){var e=this;e._uid=yn++,e._isVue=!0,t&&t._isComponent?function(t,e){var n=t.$options=Object.create(t.constructor.options),i=e._parentVnode;n.parent=e.parent,n._parentVnode=i;var r=i.componentOptions;n.propsData=r.propsData,n._parentListeners=r.listeners,n._renderChildren=r.children,n._componentTag=r.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}(e,t):e.$options=Ft(bn(e.constructor),t||{},e),e._renderProxy=e,e._self=e,function(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}(e),function(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&qe(t,e)}(e),function(t){t._vnode=null,t._staticTrees=null;var e=t.$options,n=t.$vnode=e._parentVnode,r=n&&n.context;t.$slots=ue(e._renderChildren,r),t.$scopedSlots=i,t._c=function(e,n,i,r){return Be(t,e,n,i,r,!1)},t.$createElement=function(e,n,i,r){return Be(t,e,n,i,r,!0)};var o=n&&n.data;Tt(t,"$attrs",o&&o.attrs||i,null,!0),Tt(t,"$listeners",e._parentListeners||i,null,!0)}(e),Xe(e,"beforeCreate"),function(t){var e=ce(t.$options.inject,t);e&&(kt(!1),Object.keys(e).forEach((function(n){Tt(t,n,e[n])})),kt(!0))}(e),function(t){t._watchers=[];var e=t.$options;e.props&&function(t,e){var n=t.$options.propsData||{},i=t._props={},r=t.$options._propKeys=[];t.$parent&&kt(!1);var o=function(o){r.push(o);var a=Nt(o,e,n,t);Tt(i,o,a),o in t||fn(t,"_props",o)};for(var a in e)o(a);kt(!0)}(t,e.props),e.methods&&function(t,e){for(var n in t.$options.props,e)t[n]="function"!=typeof e[n]?I:$(e[n],t)}(t,e.methods),e.data?function(t){var e=t.$options.data;u(e=t._data="function"==typeof e?function(t,e){ht();try{return t.call(e,e)}catch(t){return Rt(t,e,"data()"),{}}finally{ft()}}(e,t):e||{})||(e={});for(var n,i=Object.keys(e),r=t.$options.props,o=(t.$options.methods,i.length);o--;){var a=i[o];r&&b(r,a)||(void 0,36!==(n=(a+"").charCodeAt(0))&&95!==n&&fn(t,"_data",a))}xt(e,!0)}(t):xt(t._data={},!0),e.computed&&function(t,e){var n=t._computedWatchers=Object.create(null),i=nt();for(var r in e){var o=e[r],a="function"==typeof o?o:o.get;i||(n[r]=new un(t,a||I,I,dn)),r in t||pn(t,r,o)}}(t,e.computed),e.watch&&e.watch!==Z&&function(t,e){for(var n in e){var i=e[n];if(Array.isArray(i))for(var r=0;r1?S(e):e;for(var n=S(arguments,1),i='event handler for "'+t+'"',r=0,o=e.length;rparseInt(this.max)&&xn(a,s[0],s,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}}};!function(t){var e={get:function(){return j}};Object.defineProperty(t,"config",e),t.util={warn:st,extend:O,mergeOptions:Ft,defineReactive:Tt},t.set=$t,t.delete=St,t.nextTick=Zt,t.observable=function(t){return xt(t),t},t.options=Object.create(null),B.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,O(t.options.components,$n),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=S(arguments,1);return n.unshift(this),"function"==typeof t.install?t.install.apply(t,n):"function"==typeof t&&t.apply(null,n),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=Ft(this.options,t),this}}(t),function(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,i=n.cid,r=t._Ctor||(t._Ctor={});if(r[i])return r[i];var o=t.name||n.options.name,a=function(t){this._init(t)};return(a.prototype=Object.create(n.prototype)).constructor=a,a.cid=e++,a.options=Ft(n.options,t),a.super=n,a.options.props&&function(t){var e=t.options.props;for(var n in e)fn(t.prototype,"_props",n)}(a),a.options.computed&&function(t){var e=t.options.computed;for(var n in e)pn(t.prototype,n,e[n])}(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,B.forEach((function(t){a[t]=n[t]})),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=O({},a.options),r[i]=a,a}}(t),function(t){B.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&u(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"==typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}(t)}(_n),Object.defineProperty(_n.prototype,"$isServer",{get:nt}),Object.defineProperty(_n.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(_n,"FunctionalRenderContext",{value:Ie}),_n.version="2.6.11";var Sn=v("style,class"),On=v("input,textarea,option,select,progress"),En=v("contenteditable,draggable,spellcheck"),In=v("events,caret,typing,plaintext-only"),An=v("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Dn="http://www.w3.org/1999/xlink",Mn=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Fn=function(t){return Mn(t)?t.slice(6,t.length):""},Pn=function(t){return null==t||!1===t};function Nn(t,e){return{staticClass:Bn(t.staticClass,e.staticClass),class:o(t.class)?[t.class,e.class]:e.class}}function Bn(t,e){return t?e?t+" "+e:t:e||""}function Ln(t){return Array.isArray(t)?function(t){for(var e,n="",i=0,r=t.length;i-1?si(t,e,n):An(e)?Pn(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):En(e)?t.setAttribute(e,function(t,e){return Pn(e)||"false"===e?"false":"contenteditable"===t&&In(e)?e:"true"}(e,n)):Mn(e)?Pn(n)?t.removeAttributeNS(Dn,Fn(e)):t.setAttributeNS(Dn,e,n):si(t,e,n)}function si(t,e,n){if(Pn(n))t.removeAttribute(e);else{if(K&&!J&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var i=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",i)};t.addEventListener("input",i),t.__ieph=!0}t.setAttribute(e,n)}}var li={create:oi,update:oi};function ci(t,e){var n=e.elm,i=e.data,a=t.data;if(!(r(i.staticClass)&&r(i.class)&&(r(a)||r(a.staticClass)&&r(a.class)))){var s=function(t){for(var e=t.data,n=t,i=t;o(i.componentInstance);)(i=i.componentInstance._vnode)&&i.data&&(e=Nn(i.data,e));for(;o(n=n.parent);)n&&n.data&&(e=Nn(e,n.data));return function(t,e){return o(t)||o(e)?Bn(t,Ln(e)):""}(e.staticClass,e.class)}(e),l=n._transitionClasses;o(l)&&(s=Bn(s,Ln(l))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var ui,hi={create:ci,update:ci};function fi(t,e,n){var i=ui;return function r(){null!==e.apply(null,arguments)&&vi(t,r,n,i)}}var di=Ut&&!(Q&&Number(Q[1])<=53);function pi(t,e,n,i){if(di){var r=on,o=e;e=o._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=r||t.timeStamp<=0||t.target.ownerDocument!==document)return o.apply(this,arguments)}}ui.addEventListener(t,e,tt?{capture:n,passive:i}:n)}function vi(t,e,n,i){(i||ui).removeEventListener(t,e._wrapper||e,n)}function mi(t,e){if(!r(t.data.on)||!r(e.data.on)){var n=e.data.on||{},i=t.data.on||{};ui=e.elm,function(t){if(o(t.__r)){var e=K?"change":"input";t[e]=[].concat(t.__r,t[e]||[]),delete t.__r}o(t.__c)&&(t.change=[].concat(t.__c,t.change||[]),delete t.__c)}(n),re(n,i,pi,vi,fi,e.context),ui=void 0}}var gi,yi={create:mi,update:mi};function bi(t,e){if(!r(t.data.domProps)||!r(e.data.domProps)){var n,i,a=e.elm,s=t.data.domProps||{},l=e.data.domProps||{};for(n in o(l.__ob__)&&(l=e.data.domProps=O({},l)),s)n in l||(a[n]="");for(n in l){if(i=l[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),i===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n&&"PROGRESS"!==a.tagName){a._value=i;var c=r(i)?"":String(i);_i(a,c)&&(a.value=c)}else if("innerHTML"===n&&zn(a.tagName)&&r(a.innerHTML)){(gi=gi||document.createElement("div")).innerHTML=""+i+"";for(var u=gi.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;u.firstChild;)a.appendChild(u.firstChild)}else if(i!==s[n])try{a[n]=i}catch(t){}}}}function _i(t,e){return!t.composing&&("OPTION"===t.tagName||function(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}(t,e)||function(t,e){var n=t.value,i=t._vModifiers;if(o(i)){if(i.number)return p(n)!==p(e);if(i.trim)return n.trim()!==e.trim()}return n!==e}(t,e))}var wi={create:bi,update:bi},ki=_((function(t){var e={},n=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach((function(t){if(t){var i=t.split(n);i.length>1&&(e[i[0].trim()]=i[1].trim())}})),e}));function Ci(t){var e=xi(t.style);return t.staticStyle?O(t.staticStyle,e):e}function xi(t){return Array.isArray(t)?E(t):"string"==typeof t?ki(t):t}var Ti,$i=/^--/,Si=/\s*!important$/,Oi=function(t,e,n){if($i.test(e))t.style.setProperty(e,n);else if(Si.test(n))t.style.setProperty(T(e),n.replace(Si,""),"important");else{var i=Ii(e);if(Array.isArray(n))for(var r=0,o=n.length;r-1?e.split(Mi).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function Pi(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(Mi).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" "+(t.getAttribute("class")||"")+" ",i=" "+e+" ";n.indexOf(i)>=0;)n=n.replace(i," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function Ni(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&O(e,Bi(t.name||"v")),O(e,t),e}return"string"==typeof t?Bi(t):void 0}}var Bi=_((function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}})),Li=W&&!J,ji="transition",Ri="animation",zi="transition",Hi="transitionend",Vi="animation",Wi="animationend";Li&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(zi="WebkitTransition",Hi="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Vi="WebkitAnimation",Wi="webkitAnimationEnd"));var Ui=W?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function qi(t){Ui((function(){Ui(t)}))}function Yi(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),Fi(t,e))}function Ki(t,e){t._transitionClasses&&g(t._transitionClasses,e),Pi(t,e)}function Ji(t,e,n){var i=Xi(t,e),r=i.type,o=i.timeout,a=i.propCount;if(!r)return n();var s=r===ji?Hi:Wi,l=0,c=function(){t.removeEventListener(s,u),n()},u=function(e){e.target===t&&++l>=a&&c()};setTimeout((function(){l0&&(n=ji,u=a,h=o.length):e===Ri?c>0&&(n=Ri,u=c,h=l.length):h=(n=(u=Math.max(a,c))>0?a>c?ji:Ri:null)?n===ji?o.length:l.length:0,{type:n,timeout:u,propCount:h,hasTransform:n===ji&&Gi.test(i[zi+"Property"])}}function Qi(t,e){for(;t.length1}function rr(t,e){!0!==e.data.show&&tr(e)}var or=function(t){var e,n,i={},l=t.modules,c=t.nodeOps;for(e=0;ep?b(t,r(n[g+1])?null:n[g+1].elm,n,d,g,i):d>g&&w(e,f,p)}(f,v,g,n,u):o(g)?(o(t.text)&&c.setTextContent(f,""),b(f,null,g,0,g.length-1,n)):o(v)?w(v,0,v.length-1):o(t.text)&&c.setTextContent(f,""):t.text!==e.text&&c.setTextContent(f,e.text),o(p)&&o(d=p.hook)&&o(d=d.postpatch)&&d(t,e)}}}function T(t,e,n){if(a(n)&&o(t.parent))t.parent.data.pendingInsert=e;else for(var i=0;i-1,a.selected!==o&&(a.selected=o);else if(M(ur(a),i))return void(t.selectedIndex!==s&&(t.selectedIndex=s));r||(t.selectedIndex=-1)}}function cr(t,e){return e.every((function(e){return!M(e,t)}))}function ur(t){return"_value"in t?t._value:t.value}function hr(t){t.target.composing=!0}function fr(t){t.target.composing&&(t.target.composing=!1,dr(t.target,"input"))}function dr(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function pr(t){return!t.componentInstance||t.data&&t.data.transition?t:pr(t.componentInstance._vnode)}var vr={model:ar,show:{bind:function(t,e,n){var i=e.value,r=(n=pr(n)).data&&n.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;i&&r?(n.data.show=!0,tr(n,(function(){t.style.display=o}))):t.style.display=i?o:"none"},update:function(t,e,n){var i=e.value;!i!=!e.oldValue&&((n=pr(n)).data&&n.data.transition?(n.data.show=!0,i?tr(n,(function(){t.style.display=t.__vOriginalDisplay})):er(n,(function(){t.style.display="none"}))):t.style.display=i?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,i,r){r||(t.style.display=t.__vOriginalDisplay)}}},mr={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function gr(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?gr(He(e.children)):t}function yr(t){var e={},n=t.$options;for(var i in n.propsData)e[i]=t[i];var r=n._parentListeners;for(var o in r)e[k(o)]=r[o];return e}function br(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}var _r=function(t){return t.tag||ze(t)},wr=function(t){return"show"===t.name},kr={name:"transition",props:mr,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(_r)).length){var i=this.mode,r=n[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return r;var o=gr(r);if(!o)return r;if(this._leaving)return br(t,r);var a="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?a+"comment":a+o.tag:s(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var l=(o.data||(o.data={})).transition=yr(this),c=this._vnode,u=gr(c);if(o.data.directives&&o.data.directives.some(wr)&&(o.data.show=!0),u&&u.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(o,u)&&!ze(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var h=u.data.transition=O({},l);if("out-in"===i)return this._leaving=!0,oe(h,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),br(t,r);if("in-out"===i){if(ze(o))return c;var f,d=function(){f()};oe(l,"afterEnter",d),oe(l,"enterCancelled",d),oe(h,"delayLeave",(function(t){f=t}))}}return r}}},Cr=O({tag:String,moveClass:String},mr);function xr(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function Tr(t){t.data.newPos=t.elm.getBoundingClientRect()}function $r(t){var e=t.data.pos,n=t.data.newPos,i=e.left-n.left,r=e.top-n.top;if(i||r){t.data.moved=!0;var o=t.elm.style;o.transform=o.WebkitTransform="translate("+i+"px,"+r+"px)",o.transitionDuration="0s"}}delete Cr.mode;var Sr={Transition:kr,TransitionGroup:{props:Cr,beforeMount:function(){var t=this,e=this._update;this._update=function(n,i){var r=Ke(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,r(),e.call(t,n,i)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),i=this.prevChildren=this.children,r=this.$slots.default||[],o=this.children=[],a=yr(this),s=0;s-1?Vn[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Vn[t]=/HTMLUnknownElement/.test(e.toString())},O(_n.options.directives,vr),O(_n.options.components,Sr),_n.prototype.__patch__=W?or:I,_n.prototype.$mount=function(t,e){return function(t,e,n){var i;return t.$el=e,t.$options.render||(t.$options.render=vt),Xe(t,"beforeMount"),i=function(){t._update(t._render(),n)},new un(t,i,I,{before:function(){t._isMounted&&!t._isDestroyed&&Xe(t,"beforeUpdate")}},!0),n=!1,null==t.$vnode&&(t._isMounted=!0,Xe(t,"mounted")),t}(this,t=t&&W?function(t){return"string"==typeof t?document.querySelector(t)||document.createElement("div"):t}(t):void 0,e)},W&&setTimeout((function(){j.devtools&&it&&it.emit("init",_n)}),0),t.exports=_n}).call(this,n(49),n(79).setImmediate)},79:function(t,e,n){(function(t){var i=void 0!==t&&t||"undefined"!=typeof self&&self||window,r=Function.prototype.apply;function o(t,e){this._id=t,this._clearFn=e}e.setTimeout=function(){return new o(r.call(setTimeout,i,arguments),clearTimeout)},e.setInterval=function(){return new o(r.call(setInterval,i,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(t){t&&t.close()},o.prototype.unref=o.prototype.ref=function(){},o.prototype.close=function(){this._clearFn.call(i,this._id)},e.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},e.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},e._unrefActive=e.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout((function(){t._onTimeout&&t._onTimeout()}),e))},n(80),e.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==t&&t.setImmediate||this&&this.setImmediate,e.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==t&&t.clearImmediate||this&&this.clearImmediate}).call(this,n(49))},80:function(t,e,n){(function(t,e){!function(t,n){"use strict";if(!t.setImmediate){var i,r,o,a,s,l=1,c={},u=!1,h=t.document,f=Object.getPrototypeOf&&Object.getPrototypeOf(t);f=f&&f.setTimeout?f:t,"[object process]"==={}.toString.call(t.process)?i=function(t){e.nextTick((function(){p(t)}))}:!function(){if(t.postMessage&&!t.importScripts){var e=!0,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}}()?t.MessageChannel?((o=new MessageChannel).port1.onmessage=function(t){p(t.data)},i=function(t){o.port2.postMessage(t)}):h&&"onreadystatechange"in h.createElement("script")?(r=h.documentElement,i=function(t){var e=h.createElement("script");e.onreadystatechange=function(){p(t),e.onreadystatechange=null,r.removeChild(e),e=null},r.appendChild(e)}):i=function(t){setTimeout(p,0,t)}:(a="setImmediate$"+Math.random()+"$",s=function(e){e.source===t&&"string"==typeof e.data&&0===e.data.indexOf(a)&&p(+e.data.slice(a.length))},t.addEventListener?t.addEventListener("message",s,!1):t.attachEvent("onmessage",s),i=function(e){t.postMessage(a+e,"*")}),f.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n0;)e[n]=arguments[n+1];var i=this.$i18n;return i._t.apply(i,[t,i.locale,i._getMessages(),this].concat(e))},t.prototype.$tc=function(t,e){for(var n=[],i=arguments.length-2;i-- >0;)n[i]=arguments[i+2];var r=this.$i18n;return r._tc.apply(r,[t,r.locale,r._getMessages(),this,e].concat(n))},t.prototype.$te=function(t,e){var n=this.$i18n;return n._te(t,n.locale,n._getMessages(),e)},t.prototype.$d=function(t){for(var e,n=[],i=arguments.length-1;i-- >0;)n[i]=arguments[i+1];return(e=this.$i18n).d.apply(e,[t].concat(n))},t.prototype.$n=function(t){for(var e,n=[],i=arguments.length-1;i-- >0;)n[i]=arguments[i+1];return(e=this.$i18n).n.apply(e,[t].concat(n))}})(x),x.mixin(b),x.directive("t",{bind:$,update:S,unbind:O}),x.component(_.name,_),x.component(T.name,T),x.config.optionMergeStrategies.i18n=function(t,e){return void 0===e?t:e}}var M=function(){this._caches=Object.create(null)};M.prototype.interpolate=function(t,e){if(!e)return[t];var n=this._caches[t];return n||(n=function(t){var e=[],n=0,i="";for(;n0)h--,u=4,f[0]();else{if(h=0,void 0===n)return!1;if(!1===(n=j(n)))return!1;f[1]()}};null!==u;)if(c++,"\\"!==(e=t[c])||!d()){if(r=L(e),8===(o=(s=N[u])[r]||s.else||8))return;if(u=o[0],(a=f[o[1]])&&(i=void 0===(i=o[2])?e:i,!1===a()))return;if(7===u)return l}}(t))&&(this._cache[t]=e),e||[]},R.prototype.getPathValue=function(t,e){if(!l(t))return null;var n=this.parsePath(e);if(0===n.length)return null;for(var i=n.length,r=t,o=0;o/,V=/(?:@(?:\.[a-z]+)?:(?:[\w\-_|.]+|\([\w\-_|.]+\)))/g,W=/^@(?:\.([a-z]+))?:/,U=/[()]/g,q={upper:function(t){return t.toLocaleUpperCase()},lower:function(t){return t.toLocaleLowerCase()},capitalize:function(t){return""+t.charAt(0).toLocaleUpperCase()+t.substr(1)}},Y=new M,K=function(t){var e=this;void 0===t&&(t={}),!x&&"undefined"!=typeof window&&window.Vue&&D(window.Vue);var n=t.locale||"en-US",i=!1!==t.fallbackLocale&&(t.fallbackLocale||"en-US"),r=t.messages||{},o=t.dateTimeFormats||{},a=t.numberFormats||{};this._vm=null,this._formatter=t.formatter||Y,this._modifiers=t.modifiers||{},this._missing=t.missing||null,this._root=t.root||null,this._sync=void 0===t.sync||!!t.sync,this._fallbackRoot=void 0===t.fallbackRoot||!!t.fallbackRoot,this._formatFallbackMessages=void 0!==t.formatFallbackMessages&&!!t.formatFallbackMessages,this._silentTranslationWarn=void 0!==t.silentTranslationWarn&&t.silentTranslationWarn,this._silentFallbackWarn=void 0!==t.silentFallbackWarn&&!!t.silentFallbackWarn,this._dateTimeFormatters={},this._numberFormatters={},this._path=new R,this._dataListeners=[],this._preserveDirectiveContent=void 0!==t.preserveDirectiveContent&&!!t.preserveDirectiveContent,this.pluralizationRules=t.pluralizationRules||{},this._warnHtmlInMessage=t.warnHtmlInMessage||"off",this._postTranslation=t.postTranslation||null,this._exist=function(t,n){return!(!t||!n)&&(!h(e._path.getPathValue(t,n))||!!t[n])},"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||Object.keys(r).forEach((function(t){e._checkLocaleMessage(t,e._warnHtmlInMessage,r[t])})),this._initVM({locale:n,fallbackLocale:i,messages:r,dateTimeFormats:o,numberFormats:a})},J={vm:{configurable:!0},messages:{configurable:!0},dateTimeFormats:{configurable:!0},numberFormats:{configurable:!0},availableLocales:{configurable:!0},locale:{configurable:!0},fallbackLocale:{configurable:!0},formatFallbackMessages:{configurable:!0},missing:{configurable:!0},formatter:{configurable:!0},silentTranslationWarn:{configurable:!0},silentFallbackWarn:{configurable:!0},preserveDirectiveContent:{configurable:!0},warnHtmlInMessage:{configurable:!0},postTranslation:{configurable:!0}};K.prototype._checkLocaleMessage=function(t,e,n){var i=function(t,e,n,r){if(u(n))Object.keys(n).forEach((function(o){var a=n[o];u(a)?(r.push(o),r.push("."),i(t,e,a,r),r.pop(),r.pop()):(r.push(o),i(t,e,a,r),r.pop())}));else if(Array.isArray(n))n.forEach((function(n,o){u(n)?(r.push("["+o+"]"),r.push("."),i(t,e,n,r),r.pop(),r.pop()):(r.push("["+o+"]"),i(t,e,n,r),r.pop())}));else if("string"==typeof n){if(H.test(n)){var o="Detected HTML in message '"+n+"' of keypath '"+r.join("")+"' at '"+e+"'. Consider component interpolation with '' to avoid XSS. See https://bit.ly/2ZqJzkp";"warn"===t?s(o):"error"===t&&function(t,e){"undefined"!=typeof console&&(console.error("[vue-i18n] "+t),e&&console.error(e.stack))}(o)}}};i(e,t,n,[])},K.prototype._initVM=function(t){var e=x.config.silent;x.config.silent=!0,this._vm=new x({data:t}),x.config.silent=e},K.prototype.destroyVM=function(){this._vm.$destroy()},K.prototype.subscribeDataChanging=function(t){this._dataListeners.push(t)},K.prototype.unsubscribeDataChanging=function(t){!function(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)t.splice(n,1)}}(this._dataListeners,t)},K.prototype.watchI18nData=function(){var t=this;return this._vm.$watch("$data",(function(){for(var e=t._dataListeners.length;e--;)x.nextTick((function(){t._dataListeners[e]&&t._dataListeners[e].$forceUpdate()}))}),{deep:!0})},K.prototype.watchLocale=function(){if(!this._sync||!this._root)return null;var t=this._vm;return this._root.$i18n.vm.$watch("locale",(function(e){t.$set(t,"locale",e),t.$forceUpdate()}),{immediate:!0})},J.vm.get=function(){return this._vm},J.messages.get=function(){return d(this._getMessages())},J.dateTimeFormats.get=function(){return d(this._getDateTimeFormats())},J.numberFormats.get=function(){return d(this._getNumberFormats())},J.availableLocales.get=function(){return Object.keys(this.messages).sort()},J.locale.get=function(){return this._vm.locale},J.locale.set=function(t){this._vm.$set(this._vm,"locale",t)},J.fallbackLocale.get=function(){return this._vm.fallbackLocale},J.fallbackLocale.set=function(t){this._localeChainCache={},this._vm.$set(this._vm,"fallbackLocale",t)},J.formatFallbackMessages.get=function(){return this._formatFallbackMessages},J.formatFallbackMessages.set=function(t){this._formatFallbackMessages=t},J.missing.get=function(){return this._missing},J.missing.set=function(t){this._missing=t},J.formatter.get=function(){return this._formatter},J.formatter.set=function(t){this._formatter=t},J.silentTranslationWarn.get=function(){return this._silentTranslationWarn},J.silentTranslationWarn.set=function(t){this._silentTranslationWarn=t},J.silentFallbackWarn.get=function(){return this._silentFallbackWarn},J.silentFallbackWarn.set=function(t){this._silentFallbackWarn=t},J.preserveDirectiveContent.get=function(){return this._preserveDirectiveContent},J.preserveDirectiveContent.set=function(t){this._preserveDirectiveContent=t},J.warnHtmlInMessage.get=function(){return this._warnHtmlInMessage},J.warnHtmlInMessage.set=function(t){var e=this,n=this._warnHtmlInMessage;if(this._warnHtmlInMessage=t,n!==t&&("warn"===t||"error"===t)){var i=this._getMessages();Object.keys(i).forEach((function(t){e._checkLocaleMessage(t,e._warnHtmlInMessage,i[t])}))}},J.postTranslation.get=function(){return this._postTranslation},J.postTranslation.set=function(t){this._postTranslation=t},K.prototype._getMessages=function(){return this._vm.messages},K.prototype._getDateTimeFormats=function(){return this._vm.dateTimeFormats},K.prototype._getNumberFormats=function(){return this._vm.numberFormats},K.prototype._warnDefault=function(t,e,n,i,r,o){if(!h(n))return n;if(this._missing){var a=this._missing.apply(null,[t,e,i,r]);if("string"==typeof a)return a}else 0;if(this._formatFallbackMessages){var s=f.apply(void 0,r);return this._render(e,o,s.params,e)}return e},K.prototype._isFallbackRoot=function(t){return!t&&!h(this._root)&&this._fallbackRoot},K.prototype._isSilentFallbackWarn=function(t){return this._silentFallbackWarn instanceof RegExp?this._silentFallbackWarn.test(t):this._silentFallbackWarn},K.prototype._isSilentFallback=function(t,e){return this._isSilentFallbackWarn(e)&&(this._isFallbackRoot()||t!==this.fallbackLocale)},K.prototype._isSilentTranslationWarn=function(t){return this._silentTranslationWarn instanceof RegExp?this._silentTranslationWarn.test(t):this._silentTranslationWarn},K.prototype._interpolate=function(t,e,n,i,r,o,a){if(!e)return null;var s,l=this._path.getPathValue(e,n);if(Array.isArray(l)||u(l))return l;if(h(l)){if(!u(e))return null;if("string"!=typeof(s=e[n]))return null}else{if("string"!=typeof l)return null;s=l}return(s.indexOf("@:")>=0||s.indexOf("@.")>=0)&&(s=this._link(t,e,s,i,"raw",o,a)),this._render(s,r,o,n)},K.prototype._link=function(t,e,n,i,r,o,a){var s=n,l=s.match(V);for(var c in l)if(l.hasOwnProperty(c)){var u=l[c],h=u.match(W),f=h[0],d=h[1],v=u.replace(f,"").replace(U,"");if(p(a,v))return s;a.push(v);var m=this._interpolate(t,e,v,i,"raw"===r?"string":r,"raw"===r?void 0:o,a);if(this._isFallbackRoot(m)){if(!this._root)throw Error("unexpected error");var g=this._root.$i18n;m=g._translate(g._getMessages(),g.locale,g.fallbackLocale,v,i,r,o)}m=this._warnDefault(t,v,m,i,Array.isArray(o)?o:[o],r),this._modifiers.hasOwnProperty(d)?m=this._modifiers[d](m):q.hasOwnProperty(d)&&(m=q[d](m)),a.pop(),s=m?s.replace(u,m):s}return s},K.prototype._render=function(t,e,n,i){var r=this._formatter.interpolate(t,n,i);return r||(r=Y.interpolate(t,n,i)),"string"===e&&"string"!=typeof r?r.join(""):r},K.prototype._appendItemToChain=function(t,e,n){var i=!1;return p(t,e)||(i=!0,e&&(i="!"!==e[e.length-1],e=e.replace(/!/g,""),t.push(e),n&&n[e]&&(i=n[e]))),i},K.prototype._appendLocaleToChain=function(t,e,n){var i,r=e.split("-");do{var o=r.join("-");i=this._appendItemToChain(t,o,n),r.splice(-1,1)}while(r.length&&!0===i);return i},K.prototype._appendBlockToChain=function(t,e,n){for(var i=!0,r=0;r0;)o[a]=arguments[a+4];if(!t)return"";var s=f.apply(void 0,o),l=s.locale||e,c=this._translate(n,l,this.fallbackLocale,t,i,"string",s.params);if(this._isFallbackRoot(c)){if(!this._root)throw Error("unexpected error");return(r=this._root).$t.apply(r,[t].concat(o))}return c=this._warnDefault(l,t,c,i,o,"string"),this._postTranslation&&null!=c&&(c=this._postTranslation(c,t)),c},K.prototype.t=function(t){for(var e,n=[],i=arguments.length-1;i-- >0;)n[i]=arguments[i+1];return(e=this)._t.apply(e,[t,this.locale,this._getMessages(),null].concat(n))},K.prototype._i=function(t,e,n,i,r){var o=this._translate(n,e,this.fallbackLocale,t,i,"raw",r);if(this._isFallbackRoot(o)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.i(t,e,r)}return this._warnDefault(e,t,o,i,[r],"raw")},K.prototype.i=function(t,e,n){return t?("string"!=typeof e&&(e=this.locale),this._i(t,e,this._getMessages(),null,n)):""},K.prototype._tc=function(t,e,n,i,r){for(var o,a=[],s=arguments.length-5;s-- >0;)a[s]=arguments[s+5];if(!t)return"";void 0===r&&(r=1);var l={count:r,n:r},c=f.apply(void 0,a);return c.params=Object.assign(l,c.params),a=null===c.locale?[c.params]:[c.locale,c.params],this.fetchChoice((o=this)._t.apply(o,[t,e,n,i].concat(a)),r)},K.prototype.fetchChoice=function(t,e){if(!t&&"string"!=typeof t)return null;var n=t.split("|");return n[e=this.getChoiceIndex(e,n.length)]?n[e].trim():t},K.prototype.getChoiceIndex=function(t,e){var n,i;return this.locale in this.pluralizationRules?this.pluralizationRules[this.locale].apply(this,[t,e]):(n=t,i=e,n=Math.abs(n),2===i?n?n>1?1:0:1:n?Math.min(n,2):0)},K.prototype.tc=function(t,e){for(var n,i=[],r=arguments.length-2;r-- >0;)i[r]=arguments[r+2];return(n=this)._tc.apply(n,[t,this.locale,this._getMessages(),null,e].concat(i))},K.prototype._te=function(t,e,n){for(var i=[],r=arguments.length-3;r-- >0;)i[r]=arguments[r+3];var o=f.apply(void 0,i).locale||e;return this._exist(n[o],t)},K.prototype.te=function(t,e){return this._te(t,this.locale,this._getMessages(),e)},K.prototype.getLocaleMessage=function(t){return d(this._vm.messages[t]||{})},K.prototype.setLocaleMessage=function(t,e){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(t,this._warnHtmlInMessage,e),this._vm.$set(this._vm.messages,t,e)},K.prototype.mergeLocaleMessage=function(t,e){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(t,this._warnHtmlInMessage,e),this._vm.$set(this._vm.messages,t,g({},this._vm.messages[t]||{},e))},K.prototype.getDateTimeFormat=function(t){return d(this._vm.dateTimeFormats[t]||{})},K.prototype.setDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,e),this._clearDateTimeFormat(t,e)},K.prototype.mergeDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,g(this._vm.dateTimeFormats[t]||{},e)),this._clearDateTimeFormat(t,e)},K.prototype._clearDateTimeFormat=function(t,e){for(var n in e){var i=t+"__"+n;this._dateTimeFormatters.hasOwnProperty(i)&&delete this._dateTimeFormatters[i]}},K.prototype._localizeDateTime=function(t,e,n,i,r){for(var o=e,a=i[o],s=this._getLocaleChain(e,n),l=0;l0;)e[n]=arguments[n+1];var i=this.locale,r=null;return 1===e.length?"string"==typeof e[0]?r=e[0]:l(e[0])&&(e[0].locale&&(i=e[0].locale),e[0].key&&(r=e[0].key)):2===e.length&&("string"==typeof e[0]&&(r=e[0]),"string"==typeof e[1]&&(i=e[1])),this._d(t,i,r)},K.prototype.getNumberFormat=function(t){return d(this._vm.numberFormats[t]||{})},K.prototype.setNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,e),this._clearNumberFormat(t,e)},K.prototype.mergeNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,g(this._vm.numberFormats[t]||{},e)),this._clearNumberFormat(t,e)},K.prototype._clearNumberFormat=function(t,e){for(var n in e){var i=t+"__"+n;this._numberFormatters.hasOwnProperty(i)&&delete this._numberFormatters[i]}},K.prototype._getNumberFormatter=function(t,e,n,i,r,o){for(var a=e,s=i[a],l=this._getLocaleChain(e,n),c=0;c0;)e[n]=arguments[n+1];var i=this.locale,r=null,o=null;return 1===e.length?"string"==typeof e[0]?r=e[0]:l(e[0])&&(e[0].locale&&(i=e[0].locale),e[0].key&&(r=e[0].key),o=Object.keys(e[0]).reduce((function(t,n){var i;return p(a,n)?Object.assign({},t,((i={})[n]=e[0][n],i)):t}),null)):2===e.length&&("string"==typeof e[0]&&(r=e[0]),"string"==typeof e[1]&&(i=e[1])),this._n(t,i,r,o)},K.prototype._ntp=function(t,e,n,i){if(!K.availabilities.numberFormat)return[];if(!n)return(i?new Intl.NumberFormat(e,i):new Intl.NumberFormat(e)).formatToParts(t);var r=this._getNumberFormatter(t,e,this.fallbackLocale,this._getNumberFormats(),n,i),o=r&&r.formatToParts(t);if(this._isFallbackRoot(o)){if(!this._root)throw Error("unexpected error");return this._root.$i18n._ntp(t,e,n,i)}return o||[]},Object.defineProperties(K.prototype,J),Object.defineProperty(K,"availabilities",{get:function(){if(!z){var t="undefined"!=typeof Intl;z={dateTimeFormat:t&&void 0!==Intl.DateTimeFormat,numberFormat:t&&void 0!==Intl.NumberFormat}}return z}}),K.install=D,K.version="8.17.4";var G=K;function X(t){return null!=t}function Q(t){return"function"==typeof t}function Z(t){return"number"==typeof t}function tt(t){return"string"==typeof t}function et(){return"undefined"!=typeof window&&X(window.Promise)}var nt={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"carousel slide",attrs:{"data-ride":"carousel"},on:{mouseenter:t.stopInterval,mouseleave:t.startInterval}},[t.indicators?t._t("indicators",[n("ol",{staticClass:"carousel-indicators"},t._l(t.slides,(function(e,i){return n("li",{class:{active:i===t.activeIndex},on:{click:function(e){return t.select(i)}}})})),0)],{select:t.select,activeIndex:t.activeIndex}):t._e(),t._v(" "),n("div",{staticClass:"carousel-inner",attrs:{role:"listbox"}},[t._t("default")],2),t._v(" "),t.controls?n("a",{staticClass:"left carousel-control",attrs:{href:"#",role:"button"},on:{click:function(e){return e.preventDefault(),t.prev()}}},[n("span",{class:t.iconControlLeft,attrs:{"aria-hidden":"true"}}),t._v(" "),n("span",{staticClass:"sr-only"},[t._v("Previous")])]):t._e(),t._v(" "),t.controls?n("a",{staticClass:"right carousel-control",attrs:{href:"#",role:"button"},on:{click:function(e){return e.preventDefault(),t.next()}}},[n("span",{class:t.iconControlRight,attrs:{"aria-hidden":"true"}}),t._v(" "),n("span",{staticClass:"sr-only"},[t._v("Next")])]):t._e()],2)},staticRenderFns:[],props:{value:Number,indicators:{type:Boolean,default:!0},controls:{type:Boolean,default:!0},interval:{type:Number,default:5e3},iconControlLeft:{type:String,default:"glyphicon glyphicon-chevron-left"},iconControlRight:{type:String,default:"glyphicon glyphicon-chevron-right"}},data:function(){return{slides:[],activeIndex:0,timeoutId:0,intervalId:0}},watch:{interval:function(){this.startInterval()},value:function(t,e){this.run(t,e),this.activeIndex=t}},mounted:function(){X(this.value)&&(this.activeIndex=this.value),this.slides.length>0&&this.$select(this.activeIndex),this.startInterval()},beforeDestroy:function(){this.stopInterval()},methods:{run:function(t,e){var n=this,i=e||0,r=void 0;r=t>i?["next","left"]:["prev","right"],this.slides[t].slideClass[r[0]]=!0,this.$nextTick((function(){n.slides[t].$el.offsetHeight,n.slides.forEach((function(e,n){n===i?(e.slideClass.active=!0,e.slideClass[r[1]]=!0):n===t&&(e.slideClass[r[1]]=!0)})),n.timeoutId=setTimeout((function(){n.$select(t),n.$emit("change",t),n.timeoutId=0}),600)}))},startInterval:function(){var t=this;this.stopInterval(),this.interval>0&&(this.intervalId=setInterval((function(){t.next()}),this.interval))},stopInterval:function(){clearInterval(this.intervalId),this.intervalId=0},resetAllSlideClass:function(){this.slides.forEach((function(t){t.slideClass.active=!1,t.slideClass.left=!1,t.slideClass.right=!1,t.slideClass.next=!1,t.slideClass.prev=!1}))},$select:function(t){this.resetAllSlideClass(),this.slides[t].slideClass.active=!0},select:function(t){0===this.timeoutId&&t!==this.activeIndex&&(X(this.value)?this.$emit("input",t):(this.run(t,this.activeIndex),this.activeIndex=t))},prev:function(){this.select(0===this.activeIndex?this.slides.length-1:this.activeIndex-1)},next:function(){this.select(this.activeIndex===this.slides.length-1?0:this.activeIndex+1)}}};function it(t,e){if(Array.isArray(t)){var n=t.indexOf(e);n>=0&&t.splice(n,1)}}function rt(t){return Array.prototype.slice.call(t||[])}function ot(t,e,n){return n.indexOf(t)===e}var at={render:function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"item",class:this.slideClass},[this._t("default")],2)},staticRenderFns:[],data:function(){return{slideClass:{active:!1,prev:!1,next:!1,left:!1,right:!1}}},created:function(){try{this.$parent.slides.push(this)}catch(t){throw new Error("Slide parent must be Carousel.")}},beforeDestroy:function(){it(this.$parent&&this.$parent.slides,this)}},st="mouseenter",lt="mouseleave",ct="focus",ut="blur",ht="click",ft="input",dt="keydown",pt="keyup",vt="resize",mt="scroll",gt="touchend",yt="click",bt="hover",_t="focus",wt="hover-focus",kt="outside-click",Ct="top",xt="right",Tt="bottom",$t="left";function St(t){return window.getComputedStyle(t)}function Ot(){return{width:Math.max(document.documentElement.clientWidth,window.innerWidth||0),height:Math.max(document.documentElement.clientHeight,window.innerHeight||0)}}var Et=null,It=null;function At(t,e,n){t.addEventListener(e,n)}function Dt(t,e,n){t.removeEventListener(e,n)}function Mt(t){return t&&t.nodeType===Node.ELEMENT_NODE}function Ft(t){Mt(t)&&Mt(t.parentNode)&&t.parentNode.removeChild(t)}function Pt(){Element.prototype.matches||(Element.prototype.matches=Element.prototype.matchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.webkitMatchesSelector||function(t){for(var e=(this.document||this.ownerDocument).querySelectorAll(t),n=e.length;--n>=0&&e.item(n)!==this;);return n>-1})}function Nt(t,e){if(Mt(t))if(t.className){var n=t.className.split(" ");n.indexOf(e)<0&&(n.push(e),t.className=n.join(" "))}else t.className=e}function Bt(t,e){if(Mt(t)&&t.className){for(var n=t.className.split(" "),i=[],r=0,o=n.length;r=r.height,c=i.left+i.width/2>=r.width/2,s=i.right-i.width/2+r.width/2<=o.width;break;case Tt:l=i.bottom+r.height<=o.height,c=i.left+i.width/2>=r.width/2,s=i.right-i.width/2+r.width/2<=o.width;break;case xt:s=i.right+r.width<=o.width,a=i.top+i.height/2>=r.height/2,l=i.bottom-i.height/2+r.height/2<=o.height;break;case $t:c=i.left>=r.width,a=i.top+i.height/2>=r.height/2,l=i.bottom-i.height/2+r.height/2<=o.height}return a&&s&&l&&c}function jt(t){var e=t.scrollHeight>t.clientHeight,n=St(t);return e||"scroll"===n.overflow||"scroll"===n.overflowY}function Rt(t){var e=document.body;if(t)Bt(e,"modal-open"),e.style.paddingRight=null;else{var n=-1!==window.navigator.appVersion.indexOf("MSIE 10")||!!window.MSInputMethodContext&&!!document.documentMode;(jt(document.documentElement)||jt(document.body))&&!n&&(e.style.paddingRight=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=Ot();if(null!==Et&&!t&&e.height===It.height&&e.width===It.width)return Et;if("loading"===document.readyState)return null;var n=document.createElement("div"),i=document.createElement("div");return n.style.width=i.style.width=n.style.height=i.style.height="100px",n.style.overflow="scroll",i.style.overflow="hidden",document.body.appendChild(n),document.body.appendChild(i),Et=Math.abs(n.scrollHeight-i.scrollHeight),document.body.removeChild(n),document.body.removeChild(i),It=e,Et}()+"px"),Nt(e,"modal-open")}}function zt(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;Pt();for(var i=[],r=t.parentElement;r;){if(r.matches(e))i.push(r);else if(n&&(n===r||r.matches(n)))break;r=r.parentElement}return i}function Ht(t){Mt(t)&&(!t.getAttribute("tabindex")&&t.setAttribute("tabindex","-1"),t.focus())}var Vt={render:function(t){return t(this.tag,{},this.$slots.default)},props:{tag:{type:String,default:"div"},value:{type:Boolean,default:!1},transitionDuration:{type:Number,default:350}},data:function(){return{timeoutId:0}},watch:{value:function(t){this.toggle(t)}},mounted:function(){var t=this.$el;Nt(t,"collapse"),this.value&&Nt(t,"in")},methods:{toggle:function(t){var e=this;clearTimeout(this.timeoutId);var n=this.$el;if(t){this.$emit("show"),Bt(n,"collapse"),n.style.height="auto";var i=window.getComputedStyle(n).height;n.style.height=null,Nt(n,"collapsing"),n.offsetHeight,n.style.height=i,this.timeoutId=setTimeout((function(){Bt(n,"collapsing"),Nt(n,"collapse"),Nt(n,"in"),n.style.height=null,e.timeoutId=0,e.$emit("shown")}),this.transitionDuration)}else this.$emit("hide"),n.style.height=window.getComputedStyle(n).height,Bt(n,"in"),Bt(n,"collapse"),n.offsetHeight,n.style.height=null,Nt(n,"collapsing"),this.timeoutId=setTimeout((function(){Nt(n,"collapse"),Bt(n,"collapsing"),n.style.height=null,e.timeoutId=0,e.$emit("hidden")}),this.transitionDuration)}}},Wt={render:function(t){return t(this.tag,{class:{"btn-group":"div"===this.tag,dropdown:!this.dropup,dropup:this.dropup,open:this.show}},[this.$slots.default,t("ul",{class:{"dropdown-menu":!0,"dropdown-menu-right":this.menuRight},ref:"dropdown"},[this.$slots.dropdown])])},props:{tag:{type:String,default:"div"},appendToBody:{type:Boolean,default:!1},value:Boolean,dropup:{type:Boolean,default:!1},menuRight:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},notCloseElements:Array,positionElement:null},data:function(){return{show:!1,triggerEl:void 0}},watch:{value:function(t){this.toggle(t)}},mounted:function(){this.initTrigger(),this.triggerEl&&(At(this.triggerEl,ht,this.toggle),At(this.triggerEl,dt,this.onKeyPress)),At(this.$refs.dropdown,dt,this.onKeyPress),At(window,ht,this.windowClicked),At(window,gt,this.windowClicked),this.value&&this.toggle(!0)},beforeDestroy:function(){this.removeDropdownFromBody(),this.triggerEl&&(Dt(this.triggerEl,ht,this.toggle),Dt(this.triggerEl,dt,this.onKeyPress)),Dt(this.$refs.dropdown,dt,this.onKeyPress),Dt(window,ht,this.windowClicked),Dt(window,gt,this.windowClicked)},methods:{onKeyPress:function(t){if(this.show){var e=this.$refs.dropdown,n=t.keyCode||t.which;if(27===n)this.toggle(!1),this.triggerEl&&this.triggerEl.focus();else if(13===n){var i=e.querySelector("li > a:focus");i&&i.click()}else if(38===n||40===n){t.preventDefault(),t.stopPropagation();var r=e.querySelector("li > a:focus"),o=e.querySelectorAll("li:not(.disabled) > a");if(r){for(var a=0;a0?Ht(o[a-1]):40===n&&a=0;a=o||s&&l}if(a){n=!0;break}}var c=this.$refs.dropdown.contains(e),u=this.$el.contains(e)&&!c,h=c&&"touchend"===t.type;u||n||h||this.toggle(!1)}},appendDropdownToBody:function(){try{var t=this.$refs.dropdown;t.style.display="block",document.body.appendChild(t),function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=document.documentElement,r=(window.pageXOffset||i.scrollLeft)-(i.clientLeft||0),o=(window.pageYOffset||i.scrollTop)-(i.clientTop||0),a=e.getBoundingClientRect(),s=t.getBoundingClientRect();t.style.right="auto",t.style.bottom="auto",n.menuRight?t.style.left=r+a.left+a.width-s.width+"px":t.style.left=r+a.left+"px",n.dropup?t.style.top=o+a.top-s.height-4+"px":t.style.top=o+a.top+a.height+"px"}(t,this.positionElement||this.$el,this)}catch(t){}},removeDropdownFromBody:function(){try{var t=this.$refs.dropdown;t.removeAttribute("style"),this.$el.appendChild(t)}catch(t){}}}},Ut={uiv:{datePicker:{clear:"Clear",today:"Today",month:"Month",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",year:"Year",week1:"Mon",week2:"Tue",week3:"Wed",week4:"Thu",week5:"Fri",week6:"Sat",week7:"Sun"},timePicker:{am:"AM",pm:"PM"},modal:{cancel:"Cancel",ok:"OK"},multiSelect:{placeholder:"Select...",filterPlaceholder:"Search..."}}},qt=function(){var t=Object.getPrototypeOf(this).$t;if(Q(t))try{return t.apply(this,arguments)}catch(t){return this.$t.apply(this,arguments)}},Yt=function(t,e){e=e||{};var n=qt.apply(this,arguments);if(X(n)&&!e.$$locale)return n;for(var i=t.split("."),r=e.$$locale||Ut,o=0,a=i.length;o=0:r.value===r.inputValue,l=(n={btn:!0,active:r.inputType?s:r.active,disabled:r.disabled,"btn-block":r.block},Gt(n,"btn-"+r.type,Boolean(r.type)),Gt(n,"btn-"+r.size,Boolean(r.size)),n),c={click:function(t){r.disabled&&t instanceof Event&&(t.preventDefault(),t.stopPropagation())}},u=void 0,h=void 0,f=void 0;return r.href?(u="a",f=i,h=Zt(o,{on:c,class:l,attrs:{role:"button",href:r.href,target:r.target}})):r.to?(u="router-link",f=i,h=Zt(o,{nativeOn:c,class:l,props:{event:r.disabled?"":"click",to:r.to,replace:r.replace,append:r.append,exact:r.exact},attrs:{role:"button"}})):r.inputType?(u="label",h=Zt(o,{on:c,class:l}),f=[t("input",{attrs:{autocomplete:"off",type:r.inputType,checked:s?"checked":null,disabled:r.disabled},domProps:{checked:s},on:{input:function(t){t.stopPropagation()},change:function(){if("checkbox"===r.inputType){var t=r.value.slice();s?t.splice(t.indexOf(r.inputValue),1):t.push(r.inputValue),a.input(t)}else a.input(r.inputValue)}}}),i]):r.justified?(u=ne,h={},f=[t("button",Zt(o,{on:c,class:l,attrs:{type:r.nativeType,disabled:r.disabled}}),i)]):(u="button",f=i,h=Zt(o,{on:c,class:l,attrs:{type:r.nativeType,disabled:r.disabled}})),t(u,h,f)},props:{justified:{type:Boolean,default:!1},type:{type:String,default:"default"},nativeType:{type:String,default:"button"},size:String,block:{type:Boolean,default:!1},active:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},value:null,inputValue:null,inputType:{type:String,validator:function(t){return"checkbox"===t||"radio"===t}}}},re=function(){return document.querySelectorAll(".modal-backdrop")},oe=function(){return re().length},ae={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"modal",class:{fade:t.transitionDuration>0},attrs:{tabindex:"-1",role:"dialog"},on:{mousedown:function(e){return e.target!==e.currentTarget?null:t.backdropClicked(e)}}},[n("div",{ref:"dialog",staticClass:"modal-dialog",class:t.modalSizeClass,attrs:{role:"document"}},[n("div",{staticClass:"modal-content"},[t.header?n("div",{staticClass:"modal-header"},[t._t("header",[t.dismissBtn?n("button",{staticClass:"close",staticStyle:{position:"relative","z-index":"1060"},attrs:{type:"button","aria-label":"Close"},on:{click:function(e){return t.toggle(!1)}}},[n("span",{attrs:{"aria-hidden":"true"}},[t._v("×")])]):t._e(),t._v(" "),n("h4",{staticClass:"modal-title"},[t._t("title",[t._v(t._s(t.title))])],2)])],2):t._e(),t._v(" "),n("div",{staticClass:"modal-body"},[t._t("default")],2),t._v(" "),t.footer?n("div",{staticClass:"modal-footer"},[t._t("footer",[n("btn",{attrs:{type:t.cancelType},on:{click:function(e){return t.toggle(!1,"cancel")}}},[n("span",[t._v(t._s(t.cancelText||t.t("uiv.modal.cancel")))])]),t._v(" "),n("btn",{attrs:{type:t.okType,"data-action":"auto-focus"},on:{click:function(e){return t.toggle(!1,"ok")}}},[n("span",[t._v(t._s(t.okText||t.t("uiv.modal.ok")))])])])],2):t._e()])]),t._v(" "),n("div",{ref:"backdrop",staticClass:"modal-backdrop",class:{fade:t.transitionDuration>0}})])},staticRenderFns:[],mixins:[Qt],components:{Btn:ie},props:{value:{type:Boolean,default:!1},title:String,size:String,backdrop:{type:Boolean,default:!0},footer:{type:Boolean,default:!0},header:{type:Boolean,default:!0},cancelText:String,cancelType:{type:String,default:"default"},okText:String,okType:{type:String,default:"primary"},dismissBtn:{type:Boolean,default:!0},transitionDuration:{type:Number,default:150},autoFocus:{type:Boolean,default:!1},keyboard:{type:Boolean,default:!0},beforeClose:Function,zOffset:{type:Number,default:20},appendToBody:{type:Boolean,default:!1},displayStyle:{type:String,default:"block"}},data:function(){return{msg:"",timeoutId:0}},computed:{modalSizeClass:function(){return Gt({},"modal-"+this.size,Boolean(this.size))}},watch:{value:function(t){this.$toggle(t)}},mounted:function(){Ft(this.$refs.backdrop),At(window,pt,this.onKeyPress),this.value&&this.$toggle(!0)},beforeDestroy:function(){clearTimeout(this.timeoutId),Ft(this.$refs.backdrop),Ft(this.$el),0===oe()&&Rt(!0),Dt(window,pt,this.onKeyPress)},methods:{onKeyPress:function(t){if(this.keyboard&&this.value&&27===t.keyCode){var e=this.$refs.backdrop,n=e.style.zIndex;n=n&&"auto"!==n?parseInt(n):0;for(var i=re(),r=i.length,o=0;on)return}this.toggle(!1)}},toggle:function(t,e){var n=this,i=!0;if(Q(this.beforeClose)&&(i=this.beforeClose(e)),et())Promise.resolve(i).then((function(i){!t&&i&&(n.msg=e,n.$emit("input",t))}));else{if(!t&&!i)return;this.msg=e,this.$emit("input",t)}},$toggle:function(t){var e=this,n=this.$el,i=this.$refs.backdrop;if(clearTimeout(this.timeoutId),t){var r=oe();if(document.body.appendChild(i),this.appendToBody&&document.body.appendChild(n),n.style.display=this.displayStyle,n.scrollTop=0,i.offsetHeight,Rt(!1),Nt(i,"in"),Nt(n,"in"),r>0){var o=parseInt(St(n).zIndex)||1050,a=parseInt(St(i).zIndex)||1040,s=r*this.zOffset;n.style.zIndex=""+(o+s),i.style.zIndex=""+(a+s)}this.timeoutId=setTimeout((function(){if(e.autoFocus){var t=e.$el.querySelector('[data-action="auto-focus"]');t&&t.focus()}e.$emit("show"),e.timeoutId=0}),this.transitionDuration)}else Bt(i,"in"),Bt(n,"in"),this.timeoutId=setTimeout((function(){n.style.display="none",Ft(i),e.appendToBody&&Ft(n),0===oe()&&Rt(!0),e.$emit("hide",e.msg||"dismiss"),e.msg="",e.timeoutId=0,n.style.zIndex="",i.style.zIndex=""}),this.transitionDuration)},backdropClicked:function(t){this.backdrop&&this.toggle(!1)}}},se={render:function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"tab-pane",class:{fade:this.transition>0},attrs:{role:"tabpanel"}},[this._t("default")],2)},staticRenderFns:[],props:{title:{type:String,default:"Tab Title"},htmlTitle:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},"tab-classes":{type:Object,default:function(){return{}}},group:String,pullRight:{type:Boolean,default:!1}},data:function(){return{active:!0,transition:150}},watch:{active:function(t){var e=this;t?setTimeout((function(){Nt(e.$el,"active"),e.$el.offsetHeight,Nt(e.$el,"in");try{e.$parent.$emit("after-change",e.$parent.activeIndex)}catch(t){throw new Error(" parent must be .")}}),this.transition):(Bt(this.$el,"in"),setTimeout((function(){Bt(e.$el,"active")}),this.transition))}},created:function(){try{this.$parent.tabs.push(this)}catch(t){throw new Error(" parent must be .")}},beforeDestroy:function(){it(this.$parent&&this.$parent.tabs,this)},methods:{show:function(){var t=this;this.$nextTick((function(){Nt(t.$el,"active"),Nt(t.$el,"in")}))}}},le={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",[n("ul",{class:t.navClasses,attrs:{role:"tablist"}},[t._l(t.groupedTabs,(function(e,i){return[e.tabs?n("dropdown",{class:t.getTabClasses(e),attrs:{role:"presentation",tag:"li"}},[n("a",{staticClass:"dropdown-toggle",attrs:{role:"tab",href:"#"},on:{click:function(t){t.preventDefault()}}},[t._v(t._s(e.group)+" "),n("span",{staticClass:"caret"})]),t._v(" "),n("template",{slot:"dropdown"},t._l(e.tabs,(function(e){return n("li",{class:t.getTabClasses(e,!0)},[n("a",{attrs:{href:"#"},on:{click:function(n){n.preventDefault(),t.select(t.tabs.indexOf(e))}}},[t._v(t._s(e.title))])])})),0)],2):n("li",{class:t.getTabClasses(e),attrs:{role:"presentation"}},[e.htmlTitle?n("a",{attrs:{role:"tab",href:"#"},domProps:{innerHTML:t._s(e.title)},on:{click:function(n){n.preventDefault(),t.select(t.tabs.indexOf(e))}}}):n("a",{attrs:{role:"tab",href:"#"},domProps:{textContent:t._s(e.title)},on:{click:function(n){n.preventDefault(),t.select(t.tabs.indexOf(e))}}})])]})),t._v(" "),!t.justified&&t.$slots["nav-right"]?n("li",{staticClass:"pull-right"},[t._t("nav-right")],2):t._e()],2),t._v(" "),n("div",{class:t.contentClasses},[t._t("default")],2)])},staticRenderFns:[],components:{Dropdown:Wt},props:{value:{type:Number,validator:function(t){return t>=0}},transitionDuration:{type:Number,default:150},justified:Boolean,pills:Boolean,stacked:Boolean,customNavClass:null,customContentClass:null},data:function(){return{tabs:[],activeIndex:0}},watch:{value:{immediate:!0,handler:function(t){Z(t)&&(this.activeIndex=t,this.selectCurrent())}},tabs:function(t){var e=this;t.forEach((function(t,n){t.transition=e.transitionDuration,n===e.activeIndex&&t.show()})),this.selectCurrent()}},computed:{navClasses:function(){var t={nav:!0,"nav-justified":this.justified,"nav-tabs":!this.pills,"nav-pills":this.pills,"nav-stacked":this.stacked&&this.pills},e=this.customNavClass;return X(e)?tt(e)?Xt({},t,Gt({},e,!0)):Xt({},t,e):t},contentClasses:function(){var t={"tab-content":!0},e=this.customContentClass;return X(e)?tt(e)?Xt({},t,Gt({},e,!0)):Xt({},t,e):t},groupedTabs:function(){var t=[],e={};return this.tabs.forEach((function(n){n.group?(e.hasOwnProperty(n.group)?t[e[n.group]].tabs.push(n):(t.push({tabs:[n],group:n.group}),e[n.group]=t.length-1),n.active&&(t[e[n.group]].active=!0),n.pullRight&&(t[e[n.group]].pullRight=!0)):t.push(n)})),t}},methods:{getTabClasses:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n={active:t.active,disabled:t.disabled,"pull-right":t.pullRight&&!e};return Xt(n,t.tabClasses)},selectCurrent:function(){var t=this,e=!1;this.tabs.forEach((function(n,i){i===t.activeIndex?(e=!n.active,n.active=!0):n.active=!1})),e&&this.$emit("change",this.activeIndex)},selectValidate:function(t){var e=this;Q(this.$listeners["before-change"])?this.$emit("before-change",this.activeIndex,t,(function(n){X(n)||e.$select(t)})):this.$select(t)},select:function(t){this.tabs[t].disabled||t===this.activeIndex||this.selectValidate(t)},$select:function(t){Z(this.value)?this.$emit("input",t):(this.activeIndex=t,this.selectCurrent())}}};function ce(t,e){for(var n=e-(t+="").length;n>0;n--)t="0"+t;return t}var ue=["January","February","March","April","May","June","July","August","September","October","November","December"];function he(t){return new Date(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds())}var fe={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.pickerClass,style:t.pickerStyle,attrs:{"data-role":"date-picker"},on:{click:t.onPickerClick}},[n("date-view",{directives:[{name:"show",rawName:"v-show",value:"d"===t.view,expression:"view==='d'"}],attrs:{month:t.currentMonth,year:t.currentYear,date:t.valueDateObj,today:t.now,limit:t.limit,"week-starts-with":t.weekStartsWith,"icon-control-left":t.iconControlLeft,"icon-control-right":t.iconControlRight,"date-class":t.dateClass,"year-month-formatter":t.yearMonthFormatter,"week-numbers":t.weekNumbers,locale:t.locale},on:{"month-change":t.onMonthChange,"year-change":t.onYearChange,"date-change":t.onDateChange,"view-change":t.onViewChange}}),t._v(" "),n("month-view",{directives:[{name:"show",rawName:"v-show",value:"m"===t.view,expression:"view==='m'"}],attrs:{month:t.currentMonth,year:t.currentYear,"icon-control-left":t.iconControlLeft,"icon-control-right":t.iconControlRight,locale:t.locale},on:{"month-change":t.onMonthChange,"year-change":t.onYearChange,"view-change":t.onViewChange}}),t._v(" "),n("year-view",{directives:[{name:"show",rawName:"v-show",value:"y"===t.view,expression:"view==='y'"}],attrs:{year:t.currentYear,"icon-control-left":t.iconControlLeft,"icon-control-right":t.iconControlRight},on:{"year-change":t.onYearChange,"view-change":t.onViewChange}}),t._v(" "),t.todayBtn||t.clearBtn?n("div",[n("br"),t._v(" "),n("div",{staticClass:"text-center"},[t.todayBtn?n("btn",{attrs:{"data-action":"select",type:"info",size:"sm"},domProps:{textContent:t._s(t.t("uiv.datePicker.today"))},on:{click:t.selectToday}}):t._e(),t._v(" "),t.clearBtn?n("btn",{attrs:{"data-action":"select",size:"sm"},domProps:{textContent:t._s(t.t("uiv.datePicker.clear"))},on:{click:t.clearSelect}}):t._e()],1)]):t._e()],1)},staticRenderFns:[],mixins:[Qt],components:{DateView:{render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("table",{staticStyle:{width:"100%"},attrs:{role:"grid"}},[n("thead",[n("tr",[n("td",[n("btn",{staticClass:"uiv-datepicker-pager-prev",staticStyle:{border:"none"},attrs:{block:"",size:"sm"},on:{click:t.goPrevMonth}},[n("i",{class:t.iconControlLeft})])],1),t._v(" "),n("td",{attrs:{colspan:t.weekNumbers?6:5}},[n("btn",{staticClass:"uiv-datepicker-title",staticStyle:{border:"none"},attrs:{block:"",size:"sm"},on:{click:t.changeView}},[n("b",[t._v(t._s(t.yearMonthStr))])])],1),t._v(" "),n("td",[n("btn",{staticClass:"uiv-datepicker-pager-next",staticStyle:{border:"none"},attrs:{block:"",size:"sm"},on:{click:t.goNextMonth}},[n("i",{class:t.iconControlRight})])],1)]),t._v(" "),n("tr",{attrs:{align:"center"}},[t.weekNumbers?n("td"):t._e(),t._v(" "),t._l(t.weekDays,(function(e){return n("td",{attrs:{width:"14.2857142857%"}},[n("small",{staticClass:"uiv-datepicker-week"},[t._v(t._s(t.tWeekName(0===e?7:e)))])])}))],2)]),t._v(" "),n("tbody",t._l(t.monthDayRows,(function(e){return n("tr",[t.weekNumbers?n("td",{staticClass:"text-center",staticStyle:{"border-right":"1px solid #eee"}},[n("small",{staticClass:"text-muted"},[t._v(t._s(t.getWeekNumber(e[t.weekStartsWith])))])]):t._e(),t._v(" "),t._l(e,(function(e){return n("td",[n("btn",{class:e.classes,staticStyle:{border:"none"},attrs:{block:"",size:"sm","data-action":"select",type:t.getBtnType(e),disabled:e.disabled},on:{click:function(n){return t.select(e)}}},[n("span",{class:{"text-muted":t.month!==e.month},attrs:{"data-action":"select"}},[t._v(t._s(e.date))])])],1)}))],2)})),0)])},staticRenderFns:[],mixins:[Qt],props:{month:Number,year:Number,date:Date,today:Date,limit:Object,weekStartsWith:Number,iconControlLeft:String,iconControlRight:String,dateClass:Function,yearMonthFormatter:Function,weekNumbers:Boolean},components:{Btn:ie},computed:{weekDays:function(){for(var t=[],e=this.weekStartsWith;t.length<7;)t.push(e++),e>6&&(e=0);return t},yearMonthStr:function(){return this.yearMonthFormatter?this.yearMonthFormatter(this.year,this.month):X(this.month)?this.year+" "+this.t("uiv.datePicker.month"+(this.month+1)):this.year},monthDayRows:function(){var t,e,n=[],i=new Date(this.year,this.month,1),r=new Date(this.year,this.month,0).getDate(),o=i.getDay(),a=(t=this.month,e=this.year,new Date(e,t+1,0).getDate()),s=0;s=this.weekStartsWith>o?7-this.weekStartsWith:0-this.weekStartsWith;for(var l=0;l<6;l++){n.push([]);for(var c=0-s;c<7-s;c++){var u=7*l+c,h={year:this.year,disabled:!1};u0?h.month=this.month-1:(h.month=11,h.year--)):u=this.limit.from),this.limit&&this.limit.to&&(p=f0?t--:(t=11,e--,this.$emit("year-change",e)),this.$emit("month-change",t)},goNextMonth:function(){var t=this.month,e=this.year;this.month<11?t++:(t=0,e++,this.$emit("year-change",e)),this.$emit("month-change",t)},changeView:function(){this.$emit("view-change","m")}}},MonthView:{render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("table",{staticStyle:{width:"100%"},attrs:{role:"grid"}},[n("thead",[n("tr",[n("td",[n("btn",{staticClass:"uiv-datepicker-pager-prev",staticStyle:{border:"none"},attrs:{block:"",size:"sm"},on:{click:t.goPrevYear}},[n("i",{class:t.iconControlLeft})])],1),t._v(" "),n("td",{attrs:{colspan:"4"}},[n("btn",{staticClass:"uiv-datepicker-title",staticStyle:{border:"none"},attrs:{block:"",size:"sm"},on:{click:function(e){return t.changeView()}}},[n("b",[t._v(t._s(t.year))])])],1),t._v(" "),n("td",[n("btn",{staticClass:"uiv-datepicker-pager-next",staticStyle:{border:"none"},attrs:{block:"",size:"sm"},on:{click:t.goNextYear}},[n("i",{class:t.iconControlRight})])],1)])]),t._v(" "),n("tbody",t._l(t.rows,(function(e,i){return n("tr",t._l(e,(function(e,r){return n("td",{attrs:{colspan:"2",width:"33.333333%"}},[n("btn",{staticStyle:{border:"none"},attrs:{block:"",size:"sm",type:t.getBtnClass(3*i+r)},on:{click:function(e){return t.changeView(3*i+r)}}},[n("span",[t._v(t._s(t.tCell(e)))])])],1)})),0)})),0)])},staticRenderFns:[],components:{Btn:ie},mixins:[Qt],props:{month:Number,year:Number,iconControlLeft:String,iconControlRight:String},data:function(){return{rows:[]}},mounted:function(){for(var t=0;t<4;t++){this.rows.push([]);for(var e=0;e<3;e++)this.rows[t].push(3*t+e+1)}},methods:{tCell:function(t){return this.t("uiv.datePicker.month"+t)},getBtnClass:function(t){return t===this.month?"primary":"default"},goPrevYear:function(){this.$emit("year-change",this.year-1)},goNextYear:function(){this.$emit("year-change",this.year+1)},changeView:function(t){X(t)?(this.$emit("month-change",t),this.$emit("view-change","d")):this.$emit("view-change","y")}}},YearView:{render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("table",{staticStyle:{width:"100%"},attrs:{role:"grid"}},[n("thead",[n("tr",[n("td",[n("btn",{staticClass:"uiv-datepicker-pager-prev",staticStyle:{border:"none"},attrs:{block:"",size:"sm"},on:{click:t.goPrevYear}},[n("i",{class:t.iconControlLeft})])],1),t._v(" "),n("td",{attrs:{colspan:"3"}},[n("btn",{staticClass:"uiv-datepicker-title",staticStyle:{border:"none"},attrs:{block:"",size:"sm"}},[n("b",[t._v(t._s(t.yearStr))])])],1),t._v(" "),n("td",[n("btn",{staticClass:"uiv-datepicker-pager-next",staticStyle:{border:"none"},attrs:{block:"",size:"sm"},on:{click:t.goNextYear}},[n("i",{class:t.iconControlRight})])],1)])]),t._v(" "),n("tbody",t._l(t.rows,(function(e){return n("tr",t._l(e,(function(e){return n("td",{attrs:{width:"20%"}},[n("btn",{staticStyle:{border:"none"},attrs:{block:"",size:"sm",type:t.getBtnClass(e)},on:{click:function(n){return t.changeView(e)}}},[n("span",[t._v(t._s(e))])])],1)})),0)})),0)])},staticRenderFns:[],components:{Btn:ie},props:{year:Number,iconControlLeft:String,iconControlRight:String},computed:{rows:function(){for(var t=[],e=this.year-this.year%20,n=0;n<4;n++){t.push([]);for(var i=0;i<5;i++)t[n].push(e+5*n+i)}return t},yearStr:function(){var t=this.year-this.year%20;return t+" ~ "+(t+19)}},methods:{getBtnClass:function(t){return t===this.year?"primary":"default"},goPrevYear:function(){this.$emit("year-change",this.year-20)},goNextYear:function(){this.$emit("year-change",this.year+20)},changeView:function(t){this.$emit("year-change",t),this.$emit("view-change","m")}}},Btn:ie},props:{value:null,width:{type:Number,default:270},todayBtn:{type:Boolean,default:!0},clearBtn:{type:Boolean,default:!0},closeOnSelected:{type:Boolean,default:!0},limitFrom:null,limitTo:null,format:{type:String,default:"yyyy-MM-dd"},initialView:{type:String,default:"d"},dateParser:{type:Function,default:Date.parse},dateClass:Function,yearMonthFormatter:Function,weekStartsWith:{type:Number,default:0,validator:function(t){return t>=0&&t<=6}},weekNumbers:Boolean,iconControlLeft:{type:String,default:"glyphicon glyphicon-chevron-left"},iconControlRight:{type:String,default:"glyphicon glyphicon-chevron-right"}},data:function(){return{show:!1,now:new Date,currentMonth:0,currentYear:0,view:"d"}},computed:{valueDateObj:function(){var t=this.dateParser(this.value);if(isNaN(t))return null;var e=new Date(t);return 0!==e.getHours()&&(e=new Date(t+60*e.getTimezoneOffset()*1e3)),e},pickerStyle:function(){return{width:this.width+"px"}},pickerClass:function(){return{"uiv-datepicker":!0,"uiv-datepicker-date":"d"===this.view,"uiv-datepicker-month":"m"===this.view,"uiv-datepicker-year":"y"===this.view}},limit:function(){var t={};if(this.limitFrom){var e=this.dateParser(this.limitFrom);isNaN(e)||((e=he(new Date(e))).setHours(0,0,0,0),t.from=e)}if(this.limitTo){var n=this.dateParser(this.limitTo);isNaN(n)||((n=he(new Date(n))).setHours(0,0,0,0),t.to=n)}return t}},mounted:function(){this.value?this.setMonthAndYearByValue(this.value):(this.currentMonth=this.now.getMonth(),this.currentYear=this.now.getFullYear(),this.view=this.initialView)},watch:{value:function(t,e){this.setMonthAndYearByValue(t,e)}},methods:{setMonthAndYearByValue:function(t,e){var n=this.dateParser(t);if(!isNaN(n)){var i=new Date(n);0!==i.getHours()&&(i=new Date(n+60*i.getTimezoneOffset()*1e3)),this.limit&&(this.limit.from&&i=this.limit.to)?this.$emit("input",e||""):(this.currentMonth=i.getMonth(),this.currentYear=i.getFullYear())}},onMonthChange:function(t){this.currentMonth=t},onYearChange:function(t){this.currentYear=t,this.currentMonth=void 0},onDateChange:function(t){if(t&&Z(t.date)&&Z(t.month)&&Z(t.year)){var e=new Date(t.year,t.month,t.date);this.$emit("input",this.format?function(t,e){try{var n=t.getFullYear(),i=t.getMonth()+1,r=t.getDate(),o=ue[i-1];return e.replace(/yyyy/g,n).replace(/MMMM/g,o).replace(/MMM/g,o.substring(0,3)).replace(/MM/g,ce(i,2)).replace(/dd/g,ce(r,2)).replace(/yy/g,n).replace(/M(?!a)/g,i).replace(/d/g,r)}catch(t){return""}}(e,this.format):e),this.currentMonth=t.month,this.currentYear=t.year}else this.$emit("input","")},onViewChange:function(t){this.view=t},selectToday:function(){this.view="d",this.onDateChange({date:this.now.getDate(),month:this.now.getMonth(),year:this.now.getFullYear()})},clearSelect:function(){this.currentMonth=this.now.getMonth(),this.currentYear=this.now.getFullYear(),this.view=this.initialView,this.onDateChange()},onPickerClick:function(t){"select"===t.target.getAttribute("data-action")&&this.closeOnSelected||t.stopPropagation()}}},de="_uiv_scroll_handler",pe=[vt,mt],ve=function(t,e){var n=e.value;Q(n)&&(me(t),t[de]=n,pe.forEach((function(e){At(window,e,t[de])})))},me=function(t){pe.forEach((function(e){Dt(window,e,t[de])})),delete t[de]},ge={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"hidden-print"},[e("div",{directives:[{name:"scroll",rawName:"v-scroll",value:this.onScroll,expression:"onScroll"}],class:this.classes,style:this.styles},[this._t("default")],2)])},staticRenderFns:[],directives:{scroll:{bind:ve,unbind:me,update:function(t,e){e.value!==e.oldValue&&ve(t,e)}}},props:{offset:{type:Number,default:0}},data:function(){return{affixed:!1}},computed:{classes:function(){return{affix:this.affixed}},styles:function(){return{top:this.affixed?this.offset+"px":null}}},methods:{onScroll:function(){var t=this;if(this.$el.offsetWidth||this.$el.offsetHeight||this.$el.getClientRects().length){for(var e={},n={},i=this.$el.getBoundingClientRect(),r=document.body,o=["Top","Left"],a=0;an.top-this.offset;this.affixed!==c&&(this.affixed=c,this.affixed&&(this.$emit("affix"),this.$nextTick((function(){t.$emit("affixed")}))))}}}},ye={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{class:this.alertClass,attrs:{role:"alert"}},[this.dismissible?e("button",{staticClass:"close",attrs:{type:"button","aria-label":"Close"},on:{click:this.closeAlert}},[e("span",{attrs:{"aria-hidden":"true"}},[this._v("×")])]):this._e(),this._v(" "),this._t("default")],2)},staticRenderFns:[],props:{dismissible:{type:Boolean,default:!1},duration:{type:Number,default:0},type:{type:String,default:"info"}},data:function(){return{timeout:0}},computed:{alertClass:function(){var t;return Gt(t={alert:!0},"alert-"+this.type,Boolean(this.type)),Gt(t,"alert-dismissible",this.dismissible),t}},methods:{closeAlert:function(){clearTimeout(this.timeout),this.$emit("dismissed")}},mounted:function(){this.duration>0&&(this.timeout=setTimeout(this.closeAlert,this.duration))},destroyed:function(){clearTimeout(this.timeout)}},be={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("nav",{class:t.navClasses,attrs:{"aria-label":"Page navigation"}},[n("ul",{staticClass:"pagination",class:t.classes},[t.boundaryLinks?n("li",{class:{disabled:t.value<=1||t.disabled}},[n("a",{attrs:{href:"#",role:"button","aria-label":"First"},on:{click:function(e){return e.preventDefault(),t.onPageChange(1)}}},[n("span",{attrs:{"aria-hidden":"true"}},[t._v("«")])])]):t._e(),t._v(" "),t.directionLinks?n("li",{class:{disabled:t.value<=1||t.disabled}},[n("a",{attrs:{href:"#",role:"button","aria-label":"Previous"},on:{click:function(e){return e.preventDefault(),t.onPageChange(t.value-1)}}},[n("span",{attrs:{"aria-hidden":"true"}},[t._v("‹")])])]):t._e(),t._v(" "),t.sliceStart>0?n("li",{class:{disabled:t.disabled}},[n("a",{attrs:{href:"#",role:"button","aria-label":"Previous group"},on:{click:function(e){return e.preventDefault(),t.toPage(1)}}},[n("span",{attrs:{"aria-hidden":"true"}},[t._v("…")])])]):t._e(),t._v(" "),t._l(t.sliceArray,(function(e){return n("li",{key:e,class:{active:t.value===e+1,disabled:t.disabled}},[n("a",{attrs:{href:"#",role:"button"},on:{click:function(n){return n.preventDefault(),t.onPageChange(e+1)}}},[t._v(t._s(e+1))])])})),t._v(" "),t.sliceStart=t.totalPage||t.disabled}},[n("a",{attrs:{href:"#",role:"button","aria-label":"Next"},on:{click:function(e){return e.preventDefault(),t.onPageChange(t.value+1)}}},[n("span",{attrs:{"aria-hidden":"true"}},[t._v("›")])])]):t._e(),t._v(" "),t.boundaryLinks?n("li",{class:{disabled:t.value>=t.totalPage||t.disabled}},[n("a",{attrs:{href:"#",role:"button","aria-label":"Last"},on:{click:function(e){return e.preventDefault(),t.onPageChange(t.totalPage)}}},[n("span",{attrs:{"aria-hidden":"true"}},[t._v("»")])])]):t._e()],2)])},staticRenderFns:[],props:{value:{type:Number,required:!0,validator:function(t){return t>=1}},boundaryLinks:{type:Boolean,default:!1},directionLinks:{type:Boolean,default:!0},size:String,align:String,totalPage:{type:Number,required:!0,validator:function(t){return t>=0}},maxSize:{type:Number,default:5,validator:function(t){return t>=0}},disabled:Boolean},data:function(){return{sliceStart:0}},computed:{navClasses:function(){return Gt({},"text-"+this.align,Boolean(this.align))},classes:function(){return Gt({},"pagination-"+this.size,Boolean(this.size))},sliceArray:function(){return function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,i=[],r=e;rn+e){var i=this.totalPage-e;this.sliceStart=t>i?i:t-1}else te?t-e:0)},onPageChange:function(t){!this.disabled&&t>0&&t<=this.totalPage&&t!==this.value&&(this.$emit("input",t),this.$emit("change",t))},toPage:function(t){if(!this.disabled){var e=this.maxSize,n=this.sliceStart,i=this.totalPage-e,r=t?n-e:n+e;this.sliceStart=r<0?0:r>i?i:r}}},created:function(){this.$watch((function(t){return[t.value,t.maxSize,t.totalPage].join()}),this.calculateSliceStart,{immediate:!0})}},_e={props:{value:{type:Boolean,default:!1},tag:{type:String,default:"span"},placement:{type:String,default:Ct},autoPlacement:{type:Boolean,default:!0},appendTo:{type:String,default:"body"},transitionDuration:{type:Number,default:150},hideDelay:{type:Number,default:0},showDelay:{type:Number,default:0},enable:{type:Boolean,default:!0},enterable:{type:Boolean,default:!0},target:null,viewport:null,customClass:String},data:function(){return{triggerEl:null,hideTimeoutId:0,showTimeoutId:0,transitionTimeoutId:0,autoTimeoutId:0}},watch:{value:function(t){t?this.show():this.hide()},trigger:function(){this.clearListeners(),this.initListeners()},target:function(t){this.clearListeners(),this.initTriggerElByTarget(t),this.initListeners()},allContent:function(t){var e=this;this.isNotEmpty()?this.$nextTick((function(){e.isShown()&&e.resetPosition()})):this.hide()},enable:function(t){t||this.hide()}},mounted:function(){var t=this;Pt(),Ft(this.$refs.popup),this.$nextTick((function(){t.initTriggerElByTarget(t.target),t.initListeners(),t.value&&t.show()}))},beforeDestroy:function(){this.clearListeners(),Ft(this.$refs.popup)},methods:{initTriggerElByTarget:function(t){if(t)tt(t)?this.triggerEl=document.querySelector(t):Mt(t)?this.triggerEl=t:Mt(t.$el)&&(this.triggerEl=t.$el);else{var e=this.$el.querySelector('[data-role="trigger"]');if(e)this.triggerEl=e;else{var n=this.$el.firstChild;this.triggerEl=n===this.$refs.popup?null:n}}},initListeners:function(){this.triggerEl&&(this.trigger===bt?(At(this.triggerEl,st,this.show),At(this.triggerEl,lt,this.hide)):this.trigger===_t?(At(this.triggerEl,ct,this.show),At(this.triggerEl,ut,this.hide)):this.trigger===wt?(At(this.triggerEl,st,this.handleAuto),At(this.triggerEl,lt,this.handleAuto),At(this.triggerEl,ct,this.handleAuto),At(this.triggerEl,ut,this.handleAuto)):this.trigger!==yt&&this.trigger!==kt||At(this.triggerEl,ht,this.toggle)),At(window,ht,this.windowClicked)},clearListeners:function(){this.triggerEl&&(Dt(this.triggerEl,ct,this.show),Dt(this.triggerEl,ut,this.hide),Dt(this.triggerEl,st,this.show),Dt(this.triggerEl,lt,this.hide),Dt(this.triggerEl,ht,this.toggle),Dt(this.triggerEl,st,this.handleAuto),Dt(this.triggerEl,lt,this.handleAuto),Dt(this.triggerEl,ct,this.handleAuto),Dt(this.triggerEl,ut,this.handleAuto)),Dt(window,ht,this.windowClicked),this.clearTimeouts()},clearTimeouts:function(){this.hideTimeoutId&&(clearTimeout(this.hideTimeoutId),this.hideTimeoutId=0),this.showTimeoutId&&(clearTimeout(this.showTimeoutId),this.showTimeoutId=0),this.transitionTimeoutId&&(clearTimeout(this.transitionTimeoutId),this.transitionTimeoutId=0),this.autoTimeoutId&&(clearTimeout(this.autoTimeoutId),this.autoTimeoutId=0)},resetPosition:function(){var t=this.$refs.popup;t&&(!function(t,e,n,i,r,o){if(Mt(t)&&Mt(e)){var a=t&&t.className&&t.className.indexOf("popover")>=0,s=void 0,l=void 0;if(X(r)&&"body"!==r){var c=document.querySelector(r);l=c.scrollLeft,s=c.scrollTop}else{var u=document.documentElement;l=(window.pageXOffset||u.scrollLeft)-(u.clientLeft||0),s=(window.pageYOffset||u.scrollTop)-(u.clientTop||0)}if(i){var h=[xt,Tt,$t,Ct],f=function(e){h.forEach((function(e){Bt(t,e)})),Nt(t,e)};if(!Lt(e,t,n)){for(var d=0,p=h.length;dx&&(g=x-m.height),yT&&(y=T-m.width),n===Tt?g-=_:n===$t?y+=_:n===xt?y-=_:g+=_}t.style.top=g+"px",t.style.left=y+"px"}}(t,this.triggerEl,this.placement,this.autoPlacement,this.appendTo,this.viewport),t.offsetHeight)},hideOnLeave:function(){(this.trigger===bt||this.trigger===wt&&!this.triggerEl.matches(":focus"))&&this.$hide()},toggle:function(){this.isShown()?this.hide():this.show()},show:function(){var t=this;if(this.enable&&this.triggerEl&&this.isNotEmpty()&&!this.isShown()){var e=this.hideTimeoutId>0;e&&(clearTimeout(this.hideTimeoutId),this.hideTimeoutId=0),this.transitionTimeoutId>0&&(clearTimeout(this.transitionTimeoutId),this.transitionTimeoutId=0),clearTimeout(this.showTimeoutId),this.showTimeoutId=setTimeout((function(){t.showTimeoutId=0;var n=t.$refs.popup;if(n){if(!e)n.className=t.name+" "+t.placement+" "+(t.customClass?t.customClass:"")+" fade",document.querySelector(t.appendTo).appendChild(n),t.resetPosition();Nt(n,"in"),t.$emit("input",!0),t.$emit("show")}}),this.showDelay)}},hide:function(){var t=this;this.showTimeoutId>0&&(clearTimeout(this.showTimeoutId),this.showTimeoutId=0),this.isShown()&&(!this.enterable||this.trigger!==bt&&this.trigger!==wt?this.$hide():(clearTimeout(this.hideTimeoutId),this.hideTimeoutId=setTimeout((function(){t.hideTimeoutId=0;var e=t.$refs.popup;e&&!e.matches(":hover")&&t.$hide()}),100)))},$hide:function(){var t=this;this.isShown()&&(clearTimeout(this.hideTimeoutId),this.hideTimeoutId=setTimeout((function(){t.hideTimeoutId=0,Bt(t.$refs.popup,"in"),t.transitionTimeoutId=setTimeout((function(){t.transitionTimeoutId=0,Ft(t.$refs.popup),t.$emit("input",!1),t.$emit("hide")}),t.transitionDuration)}),this.hideDelay))},isShown:function(){return function(t,e){if(!Mt(t))return!1;for(var n=t.className.split(" "),i=0,r=n.length;i=1&&e<=12&&(this.meridian?this.hours=12===e?0:e:this.hours=12===e?12:e+12):e>=0&&e<=23&&(this.hours=e),this.setTime()}},minutesText:function(t){if(0!==this.minutes||""!==t){var e=parseInt(t);e>=0&&e<=59&&(this.minutes=e),this.setTime()}}},methods:{updateByValue:function(t){if(isNaN(t.getTime()))return this.hours=0,this.minutes=0,this.hoursText="",this.minutesText="",void(this.meridian=!0);this.hours=t.getHours(),this.minutes=t.getMinutes(),this.showMeridian?this.hours>=12?(12===this.hours?this.hoursText=this.hours+"":this.hoursText=ce(this.hours-12,2),this.meridian=!1):(0===this.hours?this.hoursText=12..toString():this.hoursText=ce(this.hours,2),this.meridian=!0):this.hoursText=ce(this.hours,2),this.minutesText=ce(this.minutes,2),this.$refs.hoursInput.value=this.hoursText,this.$refs.minutesInput.value=this.minutesText},addHour:function(t){t=t||this.hourStep,this.hours=this.hours>=23?0:this.hours+t},reduceHour:function(t){t=t||this.hourStep,this.hours=this.hours<=0?23:this.hours-t},addMinute:function(){this.minutes>=59?(this.minutes=0,this.addHour(1)):this.minutes+=this.minStep},reduceMinute:function(){this.minutes<=0?(this.minutes=60-this.minStep,this.reduceHour(1)):this.minutes-=this.minStep},changeTime:function(t,e){this.readonly||(t&&e?this.addHour():t&&!e?this.reduceHour():!t&&e?this.addMinute():this.reduceMinute(),this.setTime())},toggleMeridian:function(){this.meridian=!this.meridian,this.meridian?this.hours-=12:this.hours+=12,this.setTime()},onWheel:function(t,e){this.readonly||(t.preventDefault(),this.changeTime(e,t.deltaY<0))},setTime:function(){var t=this.value;if(isNaN(t.getTime())&&((t=new Date).setHours(0),t.setMinutes(0)),t.setHours(this.hours),t.setMinutes(this.minutes),this.max){var e=new Date(t);e.setHours(this.max.getHours()),e.setMinutes(this.max.getMinutes()),t=t>e?e:t}if(this.min){var n=new Date(t);n.setHours(this.min.getHours()),n.setMinutes(this.min.getMinutes()),t=t1&&void 0!==arguments[1]&&arguments[1];if(e)this.items=t.slice(0,this.limit);else{this.items=[],this.activeIndex=this.preselect?0:-1;for(var n=0,i=t.length;n=0)&&this.items.push(r),this.items.length>=this.limit)break}}},fetchItems:function(t,e){var n=this;if(clearTimeout(this.timeoutID),""!==t||this.openOnEmpty){if(this.data)this.prepareItems(this.data),this.open=this.hasEmptySlot()||Boolean(this.items.length);else if(this.asyncSrc)this.timeoutID=setTimeout((function(){var e,i,r,o;n.$emit("loading"),(e=n.asyncSrc+encodeURIComponent(t),i=new window.XMLHttpRequest,r={},o={then:function(t,e){return o.done(t).fail(e)},catch:function(t){return o.fail(t)},always:function(t){return o.done(t).fail(t)}},["done","fail"].forEach((function(t){r[t]=[],o[t]=function(e){return e instanceof Function&&r[t].push(e),o}})),o.done(JSON.parse),i.onreadystatechange=function(){if(4===i.readyState){var t={status:i.status};if(200===i.status){var e=i.responseText;for(var n in r.done)if(r.done.hasOwnProperty(n)&&Q(r.done[n])){var o=r.done[n](e);X(o)&&(e=o)}}else r.fail.forEach((function(e){return e(t)}))}},i.open("GET",e),i.setRequestHeader("Accept","application/json"),i.send(),o).then((function(t){n.inputEl.matches(":focus")&&(n.prepareItems(n.asyncKey?t[n.asyncKey]:t,!0),n.open=n.hasEmptySlot()||Boolean(n.items.length)),n.$emit("loaded")})).catch((function(t){console.error(t),n.$emit("loaded-error")}))}),e);else if(this.asyncFunction){var i=function(t){n.inputEl.matches(":focus")&&(n.prepareItems(t,!0),n.open=n.hasEmptySlot()||Boolean(n.items.length)),n.$emit("loaded")};this.timeoutID=setTimeout((function(){n.$emit("loading"),n.asyncFunction(t,i)}),e)}}else this.open=!1},inputChanged:function(){var t=this.inputEl.value;this.fetchItems(t,this.debounce),this.$emit("input",this.forceSelect?void 0:t)},inputFocused:function(){if(this.openOnFocus){var t=this.inputEl.value;this.fetchItems(t,0)}},inputBlured:function(){var t=this;this.dropdownMenuEl.matches(":hover")||(this.open=!1),this.inputEl&&this.forceClear&&this.$nextTick((function(){void 0===t.value&&(t.inputEl.value="")}))},inputKeyPressed:function(t){if(t.stopPropagation(),this.open)switch(t.keyCode){case 13:this.activeIndex>=0?this.selectItem(this.items[this.activeIndex]):this.open=!1,t.preventDefault();break;case 27:this.open=!1;break;case 38:this.activeIndex=this.activeIndex>0?this.activeIndex-1:0;break;case 40:var e=this.items.length-1;this.activeIndex=this.activeIndex$&")}}},Te={functional:!0,render:function(t,e){var n=e.props;return t("div",Zt(e.data,{class:Gt({"progress-bar":!0,"progress-bar-striped":n.striped,active:n.striped&&n.active},"progress-bar-"+n.type,Boolean(n.type)),style:{minWidth:n.minWidth?"2em":null,width:n.value+"%"},attrs:{role:"progressbar","aria-valuemin":0,"aria-valuenow":n.value,"aria-valuemax":100}}),n.label?n.labelText?n.labelText:n.value+"%":null)},props:{value:{type:Number,required:!0,validator:function(t){return t>=0&&t<=100}},labelText:String,type:String,label:{type:Boolean,default:!1},minWidth:{type:Boolean,default:!1},striped:{type:Boolean,default:!1},active:{type:Boolean,default:!1}}},$e={functional:!0,render:function(t,e){var n=e.props,i=e.data,r=e.children;return t("div",Zt(i,{class:"progress"}),r&&r.length?r:[t(Te,{props:n})])}},Se={functional:!0,mixins:[ee],render:function(t,e){var n=e.props,i=e.data,r=e.children,o=void 0;return o=n.active?r:n.to?[t("router-link",{props:{to:n.to,replace:n.replace,append:n.append,exact:n.exact}},r)]:[t("a",{attrs:{href:n.href,target:n.target}},r)],t("li",Zt(i,{class:{active:n.active}}),o)},props:{active:{type:Boolean,default:!1}}},Oe={functional:!0,render:function(t,e){var n=e.props,i=e.data,r=e.children,o=[];return r&&r.length?o=r:n.items&&(o=n.items.map((function(e,i){return t(Se,{key:e.hasOwnProperty("key")?e.key:i,props:{active:e.hasOwnProperty("active")?e.active:i===n.items.length-1,href:e.href,target:e.target,to:e.to,replace:e.replace,append:e.append,exact:e.exact}},e.text)}))),t("ol",Zt(i,{class:"breadcrumb"}),o)},props:{items:Array}},Ee={functional:!0,render:function(t,e){var n=e.children;return t("div",Zt(e.data,{class:{"btn-toolbar":!0},attrs:{role:"toolbar"}}),n)}},Ie={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("dropdown",{ref:"dropdown",style:t.containerStyles,attrs:{"not-close-elements":t.els,"append-to-body":t.appendToBody,disabled:t.disabled},nativeOn:{keydown:function(e){if(!e.type.indexOf("key")&&t._k(e.keyCode,"esc",27,e.key,["Esc","Escape"]))return null;t.showDropdown=!1}},model:{value:t.showDropdown,callback:function(e){t.showDropdown=e},expression:"showDropdown"}},[n("div",{staticClass:"form-control dropdown-toggle clearfix",class:t.selectClasses,attrs:{disabled:t.disabled,tabindex:"0","data-role":"trigger"},on:{focus:function(e){return t.$emit("focus",e)},blur:function(e){return t.$emit("blur",e)},keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"down",40,e.key,["Down","ArrowDown"])?null:(e.preventDefault(),e.stopPropagation(),t.goNextOption(e))},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"up",38,e.key,["Up","ArrowUp"])?null:(e.preventDefault(),e.stopPropagation(),t.goPrevOption(e))},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:(e.preventDefault(),e.stopPropagation(),t.selectOption(e))}]}},[n("div",{class:t.selectTextClasses,staticStyle:{display:"inline-block","vertical-align":"middle"}},[t._v(t._s(t.selectedText))]),t._v(" "),n("div",{staticClass:"pull-right",staticStyle:{display:"inline-block","vertical-align":"middle"}},[n("span",[t._v(" ")]),t._v(" "),n("span",{staticClass:"caret"})])]),t._v(" "),n("template",{slot:"dropdown"},[t.filterable?n("li",{staticStyle:{padding:"4px 8px"}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.filterInput,expression:"filterInput"}],ref:"filterInput",staticClass:"form-control input-sm",attrs:{"aria-label":"Filter...",type:"text",placeholder:t.filterPlaceholder||t.t("uiv.multiSelect.filterPlaceholder")},domProps:{value:t.filterInput},on:{keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"down",40,e.key,["Down","ArrowDown"])?null:(e.preventDefault(),e.stopPropagation(),t.goNextOption(e))},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"up",38,e.key,["Up","ArrowUp"])?null:(e.preventDefault(),e.stopPropagation(),t.goPrevOption(e))},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:(e.preventDefault(),e.stopPropagation(),t.selectOption(e))}],input:function(e){e.target.composing||(t.filterInput=e.target.value)}}})]):t._e(),t._v(" "),t._l(t.groupedOptions,(function(e){return[e.$group?n("li",{staticClass:"dropdown-header",domProps:{textContent:t._s(e.$group)}}):t._e(),t._v(" "),t._l(e.options,(function(e){return[n("li",{class:t.itemClasses(e),staticStyle:{outline:"0"},on:{keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"down",40,e.key,["Down","ArrowDown"])?null:(e.preventDefault(),e.stopPropagation(),t.goNextOption(e))},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"up",38,e.key,["Up","ArrowUp"])?null:(e.preventDefault(),e.stopPropagation(),t.goPrevOption(e))},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:(e.preventDefault(),e.stopPropagation(),t.selectOption(e))}],click:function(n){return n.stopPropagation(),t.toggle(e)},mouseenter:function(e){t.currentActive=-1}}},[t.isItemSelected(e)?n("a",{staticStyle:{outline:"0"},attrs:{role:"button"}},[n("b",[t._v(t._s(e[t.labelKey]))]),t._v(" "),t.selectedIcon?n("span",{class:t.selectedIconClasses}):t._e()]):n("a",{staticStyle:{outline:"0"},attrs:{role:"button"}},[n("span",[t._v(t._s(e[t.labelKey]))])])])]}))]}))],2)],2)},staticRenderFns:[],mixins:[Qt],components:{Dropdown:Wt},props:{value:{type:Array,required:!0},options:{type:Array,required:!0},labelKey:{type:String,default:"label"},valueKey:{type:String,default:"value"},limit:{type:Number,default:0},size:String,placeholder:String,split:{type:String,default:", "},disabled:{type:Boolean,default:!1},appendToBody:{type:Boolean,default:!1},block:{type:Boolean,default:!1},collapseSelected:{type:Boolean,default:!1},filterable:{type:Boolean,default:!1},filterAutoFocus:{type:Boolean,default:!0},filterFunction:Function,filterPlaceholder:String,selectedIcon:{type:String,default:"glyphicon glyphicon-ok"},itemSelectedClass:String},data:function(){return{showDropdown:!1,els:[],filterInput:"",currentActive:-1}},computed:{containerStyles:function(){return{width:this.block?"100%":""}},filteredOptions:function(){var t=this;if(this.filterable&&this.filterInput){if(this.filterFunction)return this.filterFunction(this.filterInput);var e=this.filterInput.toLowerCase();return this.options.filter((function(n){return n[t.valueKey].toString().toLowerCase().indexOf(e)>=0||n[t.labelKey].toString().toLowerCase().indexOf(e)>=0}))}return this.options},groupedOptions:function(){var t=this;return this.filteredOptions.map((function(t){return t.group})).filter(ot).map((function(e){return{options:t.filteredOptions.filter((function(t){return t.group===e})),$group:e}}))},flatternGroupedOptions:function(){if(this.groupedOptions&&this.groupedOptions.length){var t=[];return this.groupedOptions.forEach((function(e){t=t.concat(e.options)})),t}return[]},selectClasses:function(){return Gt({},"input-"+this.size,this.size)},selectedIconClasses:function(){var t;return Gt(t={},this.selectedIcon,!0),Gt(t,"pull-right",!0),t},selectTextClasses:function(){return{"text-muted":0===this.value.length}},labelValue:function(){var t=this,e=this.options.map((function(e){return e[t.valueKey]}));return this.value.map((function(n){var i=e.indexOf(n);return i>=0?t.options[i][t.labelKey]:n}))},selectedText:function(){if(this.value.length){var t=this.labelValue;if(this.collapseSelected){var e=t[0];return e+=t.length>1?this.split+"+"+(t.length-1):""}return t.join(this.split)}return this.placeholder||this.t("uiv.multiSelect.placeholder")}},watch:{showDropdown:function(t){var e=this;this.filterInput="",this.currentActive=-1,this.$emit("visible-change",t),t&&this.filterable&&this.filterAutoFocus&&this.$nextTick((function(){e.$refs.filterInput.focus()}))}},mounted:function(){this.els=[this.$el]},methods:{goPrevOption:function(){this.showDropdown&&(this.currentActive>0?this.currentActive--:this.currentActive=this.flatternGroupedOptions.length-1)},goNextOption:function(){this.showDropdown&&(this.currentActive=0&&t=0},toggle:function(t){if(!t.disabled){var e=t[this.valueKey],n=this.value.indexOf(e);if(1===this.limit){var i=n>=0?[]:[e];this.$emit("input",i),this.$emit("change",i)}else if(n>=0){var r=this.value.slice();r.splice(n,1),this.$emit("input",r),this.$emit("change",r)}else if(0===this.limit||this.value.length1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.el=t,this.opts=Xt({},We.DEFAULTS,n),this.opts.target=e,this.scrollElement="body"===e?window:document.querySelector("[id="+e+"]"),this.selector="li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.scrollElement&&(this.refresh(),this.process())}We.DEFAULTS={offset:10,callback:function(t){return 0}},We.prototype.getScrollHeight=function(){return this.scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},We.prototype.refresh=function(){var t=this;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight();var e=rt(this.el.querySelectorAll(this.selector)),n=this.scrollElement===window;e.map((function(e){var i=e.getAttribute("href");if(/^#./.test(i)){var r=document.documentElement,o=(n?document:t.scrollElement).querySelector("[id='"+i.slice(1)+"']"),a=(window.pageYOffset||r.scrollTop)-(r.clientTop||0);return[n?o.getBoundingClientRect().top+a:o.offsetTop+t.scrollElement.scrollTop,i]}return null})).filter((function(t){return t})).sort((function(t,e){return t[0]-e[0]})).forEach((function(e){t.offsets.push(e[0]),t.targets.push(e[1])}))},We.prototype.process=function(){var t=this.scrollElement===window,e=(t?window.pageYOffset:this.scrollElement.scrollTop)+this.opts.offset,n=this.getScrollHeight(),i=t?Ot().height:this.scrollElement.getBoundingClientRect().height,r=this.opts.offset+n-i,o=this.offsets,a=this.targets,s=this.activeTarget,l=void 0;if(this.scrollHeight!==n&&this.refresh(),e>=r)return s!==(l=a[a.length-1])&&this.activate(l);if(s&&e=o[l]&&(void 0===o[l+1]||e-1:t.input},on:{change:[function(e){var n=t.input,i=e.target,r=!!i.checked;if(Array.isArray(n)){var o=t._i(n,null);i.checked?o<0&&(t.input=n.concat([null])):o>-1&&(t.input=n.slice(0,o).concat(n.slice(o+1)))}else t.input=r},function(e){t.dirty=!0}],keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.validate(e)}}}):"radio"===t.inputType?n("input",{directives:[{name:"model",rawName:"v-model",value:t.input,expression:"input"}],ref:"input",staticClass:"form-control",attrs:{required:"","data-action":"auto-focus",type:"radio"},domProps:{checked:t._q(t.input,null)},on:{change:[function(e){t.input=null},function(e){t.dirty=!0}],keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.validate(e)}}}):n("input",{directives:[{name:"model",rawName:"v-model",value:t.input,expression:"input"}],ref:"input",staticClass:"form-control",attrs:{required:"","data-action":"auto-focus",type:t.inputType},domProps:{value:t.input},on:{change:function(e){t.dirty=!0},keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.validate(e)},input:function(e){e.target.composing||(t.input=e.target.value)}}}),t._v(" "),n("span",{directives:[{name:"show",rawName:"v-show",value:t.inputNotValid,expression:"inputNotValid"}],staticClass:"help-block"},[t._v(t._s(t.inputError))])])]):t._e(),t._v(" "),t.type===t.TYPES.ALERT?n("template",{slot:"footer"},[n("btn",{attrs:{type:t.okType,"data-action":"ok"===t.autoFocus?"auto-focus":""},domProps:{textContent:t._s(t.okBtnText)},on:{click:function(e){return t.toggle(!1,"ok")}}})],1):n("template",{slot:"footer"},[n("btn",{attrs:{type:t.cancelType,"data-action":"cancel"===t.autoFocus?"auto-focus":""},domProps:{textContent:t._s(t.cancelBtnText)},on:{click:function(e){return t.toggle(!1,"cancel")}}}),t._v(" "),t.type===t.TYPES.CONFIRM?n("btn",{attrs:{type:t.okType,"data-action":"ok"===t.autoFocus?"auto-focus":""},domProps:{textContent:t._s(t.okBtnText)},on:{click:function(e){return t.toggle(!1,"ok")}}}):n("btn",{attrs:{type:t.okType},domProps:{textContent:t._s(t.okBtnText)},on:{click:t.validate}})],1)],2)},staticRenderFns:[],mixins:[Qt],components:{Modal:ae,Btn:ie},props:{backdrop:null,title:String,content:String,html:{type:Boolean,default:!1},okText:String,okType:{type:String,default:"primary"},cancelText:String,cancelType:{type:String,default:"default"},type:{type:Number,default:Ze.ALERT},size:{type:String,default:"sm"},cb:{type:Function,required:!0},validator:{type:Function,default:function(){return null}},customClass:null,defaultValue:String,inputType:{type:String,default:"text"},autoFocus:{type:String,default:"ok"}},data:function(){return{TYPES:Ze,show:!1,input:"",dirty:!1}},mounted:function(){this.defaultValue&&(this.input=this.defaultValue)},computed:{closeOnBackdropClick:function(){return X(this.backdrop)?Boolean(this.backdrop):this.type!==Ze.ALERT},inputError:function(){return this.validator(this.input)},inputNotValid:function(){return this.dirty&&this.inputError},okBtnText:function(){return this.okText||this.t("uiv.modal.ok")},cancelBtnText:function(){return this.cancelText||this.t("uiv.modal.cancel")}},methods:{toggle:function(t,e){this.$refs.modal.toggle(t,e)},validate:function(){this.dirty=!0,X(this.inputError)||this.toggle(!1,{value:this.input})}}},en=[],nn=function(t){Ft(t.$el),t.$destroy(),it(en,t)},rn=function(t,e){return t===Ze.CONFIRM?"ok"===e:X(e)&&tt(e.value)},on=function(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,a=this.$i18n,s=new o.a({extends:tn,i18n:a,propsData:Xt({type:t},e,{cb:function(e){nn(s),Q(n)?t===Ze.CONFIRM?rn(t,e)?n(null,e):n(e):t===Ze.PROMPT&&rn(t,e)?n(null,e.value):n(e):i&&r&&(t===Ze.CONFIRM?rn(t,e)?i(e):r(e):t===Ze.PROMPT?rn(t,e)?i(e.value):r(e):i(e))}})});s.$mount(),document.body.appendChild(s.$el),s.show=!0,en.push(s)},an=function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments[2];if(et())return new Promise((function(r,o){on.apply(e,[t,n,i,r,o])}));on.apply(this,[t,n,i])},sn={alert:function(t,e){return an.apply(this,[Ze.ALERT,t,e])},confirm:function(t,e){return an.apply(this,[Ze.CONFIRM,t,e])},prompt:function(t,e){return an.apply(this,[Ze.PROMPT,t,e])}},ln="success",cn="info",un="danger",hn="warning",fn="top-left",dn="top-right",pn="bottom-left",vn="bottom-right",mn="glyphicon",gn={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("alert",{staticClass:"fade",class:t.customClass,style:t.styles,attrs:{type:t.type,duration:t.duration,dismissible:t.dismissible},on:{dismissed:t.onDismissed}},[n("div",{staticClass:"media",staticStyle:{margin:"0"}},[t.icons?n("div",{staticClass:"media-left"},[n("span",{class:t.icons,staticStyle:{"font-size":"1.5em"}})]):t._e(),t._v(" "),n("div",{staticClass:"media-body"},[t.title?n("div",{staticClass:"media-heading"},[n("b",[t._v(t._s(t.title))])]):t._e(),t._v(" "),t.html?n("div",{domProps:{innerHTML:t._s(t.content)}}):n("div",[t._v(t._s(t.content))])])])])},staticRenderFns:[],components:{Alert:ye},props:{title:String,content:String,html:{type:Boolean,default:!1},duration:{type:Number,default:5e3},dismissible:{type:Boolean,default:!0},type:String,placement:String,icon:String,customClass:null,cb:{type:Function,required:!0},queue:{type:Array,required:!0},offsetY:{type:Number,default:15},offsetX:{type:Number,default:15},offset:{type:Number,default:15}},data:function(){return{height:0,top:0,horizontal:this.placement===fn||this.placement===pn?"left":"right",vertical:this.placement===fn||this.placement===dn?"top":"bottom"}},created:function(){this.top=this.getTotalHeightOfQueue(this.queue)},mounted:function(){var t=this,e=this.$el;e.style[this.vertical]=this.top+"px",this.$nextTick((function(){e.style[t.horizontal]="-300px",t.height=e.offsetHeight,e.style[t.horizontal]=t.offsetX+"px",Nt(e,"in")}))},computed:{styles:function(){var t,e=this.queue,n=e.indexOf(this);return Gt(t={position:"fixed"},this.vertical,this.getTotalHeightOfQueue(e,n)+"px"),Gt(t,"width","300px"),Gt(t,"transition","all 0.3s ease-in-out"),t},icons:function(){if(tt(this.icon))return this.icon;switch(this.type){case cn:case hn:return mn+" "+mn+"-info-sign";case ln:return mn+" "+mn+"-ok-sign";case un:return mn+" "+mn+"-remove-sign";default:return null}}},methods:{getTotalHeightOfQueue:function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.length,n=this.offsetY,i=0;i2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,r=t.placement,a=yn[r];if(X(a)){"error"===t.type&&(t.type="danger");var s=new o.a({extends:gn,propsData:Xt({queue:a,placement:r},t,{cb:function(t){bn(a,s),Q(e)?e(t):n&&i&&n(t)}})});s.$mount(),document.body.appendChild(s.$el),a.push(s)}},wn=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments[1];if(tt(t)&&(t={content:t}),X(t.placement)||(t.placement=dn),et())return new Promise((function(n,i){_n(t,e,n,i)}));_n(t,e)};function kn(t,e){tt(e)?wn({content:e,type:t}):wn(Xt({},e,{type:t}))}var Cn={notify:Object.defineProperties(wn,{success:{configurable:!1,writable:!1,value:function(t){kn("success",t)}},info:{configurable:!1,writable:!1,value:function(t){kn("info",t)}},warning:{configurable:!1,writable:!1,value:function(t){kn("warning",t)}},danger:{configurable:!1,writable:!1,value:function(t){kn("danger",t)}},error:{configurable:!1,writable:!1,value:function(t){kn("danger",t)}},dismissAll:{configurable:!1,writable:!1,value:function(){for(var t in yn)yn.hasOwnProperty(t)&&yn[t].forEach((function(t){t.onDismissed()}))}}})},xn=Object.freeze({MessageBox:sn,Notification:Cn}),Tn=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Kt(e.locale),Jt(e.i18n),Object.keys(Pe).forEach((function(n){var i=e.prefix?e.prefix+n:n;t.component(i,Pe[n])})),Object.keys(Qe).forEach((function(n){var i=e.prefix?e.prefix+"-"+n:n;t.directive(i,Qe[n])})),Object.keys(xn).forEach((function(n){var i=xn[n];Object.keys(i).forEach((function(n){var r=e.prefix?e.prefix+"_"+n:n;t.prototype["$"+r]=i[n]}))}))};window.vuei18n=G,window.uiv=i,o.a.use(vuei18n),o.a.use(i),window.Vue=o.a}}); \ No newline at end of file diff --git a/public/v1/js/create_transaction.js b/public/v1/js/create_transaction.js index c722938dbf..bd32bcd718 100644 --- a/public/v1/js/create_transaction.js +++ b/public/v1/js/create_transaction.js @@ -1,2 +1,2 @@ /*! For license information please see create_transaction.js.LICENSE.txt */ -!function(t){var e={};function n(a){if(e[a])return e[a].exports;var i=e[a]={i:a,l:!1,exports:{}};return t[a].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=t,n.c=e,n.d=function(t,e,a){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:a})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(a,i,function(e){return t[e]}.bind(null,i));return a},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/",n(n.s=81)}([function(t,e,n){"use strict";function a(t,e,n,a,i,r,o,s){var c,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),a&&(u.functional=!0),r&&(u._scopeId="data-v-"+r),o?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},u._ssrRegister=c):i&&(c=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(t,e){return c.call(e),l(t,e)}}else{var A=u.beforeCreate;u.beforeCreate=A?[].concat(A,c):[c]}return{exports:t,options:u}}n.d(e,"a",(function(){return a}))},function(t,e,n){"use strict";var a=n(5),i=n(12),r=Object.prototype.toString;function o(t){return"[object Array]"===r.call(t)}function s(t){return null!==t&&"object"==typeof t}function c(t){return"[object Function]"===r.call(t)}function u(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),o(t))for(var n=0,a=t.length;n=200&&t<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},a.forEach(["delete","get","head"],(function(t){c.headers[t]={}})),a.forEach(["post","put","patch"],(function(t){c.headers[t]=a.merge(r)})),t.exports=c}).call(this,n(10))},function(t,e,n){t.exports=n(11)},,function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),a=0;a1)for(var n=1;n=0)return;o[e]="set-cookie"===e?(o[e]?o[e]:[]).concat([n]):o[e]?o[e]+", "+n:n}})),o):o}},function(t,e,n){"use strict";var a=n(1);t.exports=a.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(t){var a=t;return e&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=i(window.location.href),function(e){var n=a.isString(e)?i(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return!0}},function(t,e,n){"use strict";var a=n(1);t.exports=a.isStandardBrowserEnv()?{write:function(t,e,n,i,r,o){var s=[];s.push(t+"="+encodeURIComponent(e)),a.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),a.isString(i)&&s.push("path="+i),a.isString(r)&&s.push("domain="+r),!0===o&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(t,e,n){"use strict";var a=n(1);function i(){this.handlers=[]}i.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},i.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},i.prototype.forEach=function(t){a.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=i},function(t,e,n){"use strict";var a=n(1),i=n(23),r=n(8),o=n(2),s=n(24),c=n(25);function u(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return u(t),t.baseURL&&!s(t.url)&&(t.url=c(t.baseURL,t.url)),t.headers=t.headers||{},t.data=i(t.data,t.headers,t.transformRequest),t.headers=a.merge(t.headers.common||{},t.headers[t.method]||{},t.headers||{}),a.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||o.adapter)(t).then((function(e){return u(t),e.data=i(e.data,e.headers,t.transformResponse),e}),(function(e){return r(e)||(u(t),e&&e.response&&(e.response.data=i(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},function(t,e,n){"use strict";var a=n(1);t.exports=function(t,e,n){return a.forEach(n,(function(n){t=n(t,e)})),t}},function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},function(t,e,n){"use strict";var a=n(9);function i(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;t((function(t){n.reason||(n.reason=new a(t),e(n.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var t;return{token:new i((function(e){t=e})),cancel:t}},t.exports=i},function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,n){window.axios=n(3),window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest";var a=document.head.querySelector('meta[name="csrf-token"]');a?window.axios.defaults.headers.common["X-CSRF-TOKEN"]=a.content:console.error("CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token")},function(t,e,n){window,t.exports=function(t){var e={};function n(a){if(e[a])return e[a].exports;var i=e[a]={i:a,l:!1,exports:{}};return t[a].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,a){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:a})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(a,i,function(e){return t[e]}.bind(null,i));return a},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/dist/",n(n.s=6)}([function(t,e,n){var a=n(8);"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals),(0,n(4).default)("7ec05f6c",a,!1,{})},function(t,e,n){var a=n(10);"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals),(0,n(4).default)("3453d19d",a,!1,{})},function(t,e,n){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=function(t,e){var n,a=t[1]||"",i=t[3];if(!i)return a;if(e&&"function"==typeof btoa){var r=(n=i,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),o=i.sources.map((function(t){return"/*# sourceURL="+i.sourceRoot+t+" */"}));return[a].concat(o).concat([r]).join("\n")}return[a].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+n+"}":n})).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var a={},i=0;in.parts.length&&(a.parts.length=n.parts.length)}else{var o=[];for(i=0;i div[data-v-61d92e31] {\n cursor: pointer;\n padding: 3px 6px;\n width: 100%;\n}\n.ti-selected-item[data-v-61d92e31] {\n background-color: #5C6BC0;\n color: #fff;\n}\n',"",{version:3,sources:["C:/Users/johan/dev/vue-tags-input/vue-tags-input/C:/Users/johan/dev/vue-tags-input/vue-tags-input/vue-tags-input.scss"],names:[],mappings:"AAAA;EACE,uBAAuB;EACvB,mCAA8C;EAC9C,+JAAuM;EACvM,oBAAoB;EACpB,mBAAmB;CAAE;AAEvB;EACE,kCAAkC;EAClC,YAAY;EACZ,mBAAmB;EACnB,oBAAoB;EACpB,qBAAqB;EACrB,qBAAqB;EACrB,eAAe;EACf,oCAAoC;EACpC,mCAAmC;CAAE;AAEvC;EACE,iBAAiB;CAAE;AAErB;EACE,iBAAiB;CAAE;AAErB;EACE,iBAAiB;CAAE;AAErB;EACE,YAAY;EACZ,aAAa;EACb,sBAAsB;CAAE;AAE1B;EACE,uBAAuB;CAAE;AAE3B;EACE,cAAc;CAAE;AAElB;EACE,8BAA8B;CAAE;AAElC;EACE,iBAAiB;EACjB,mBAAmB;EACnB,uBAAuB;CAAE;AAE3B;EACE,aAAa;CAAE;AACf;IACE,gBAAgB;CAAE;AAEtB;EACE,uBAAuB;EACvB,cAAc;EACd,aAAa;EACb,gBAAgB;CAAE;AAEpB;EACE,cAAc;EACd,gBAAgB;EAChB,YAAY;EACZ,iBAAiB;CAAE;AAErB;EACE,0BAA0B;EAC1B,YAAY;EACZ,mBAAmB;EACnB,cAAc;EACd,iBAAiB;EACjB,YAAY;EACZ,iBAAiB;CAAE;AACnB;IACE,cAAc;CAAE;AAClB;IACE,cAAc;IACd,oBAAoB;CAAE;AACxB;IACE,mBAAmB;CAAE;AACvB;IACE,mBAAmB;CAAE;AACvB;IACE,mBAAmB;IACnB,mBAAmB;IACnB,YAAY;IACZ,iBAAiB;CAAE;AACrB;IACE,iBAAiB;IACjB,cAAc;IACd,oBAAoB;IACpB,kBAAkB;CAAE;AACpB;MACE,gBAAgB;CAAE;AACtB;IACE,kBAAkB;CAAE;AACtB;IACE,0BAA0B;CAAE;AAEhC;EACE,cAAc;EACd,eAAe;EACf,iBAAiB;EACjB,YAAY;EACZ,iBAAiB;CAAE;AACnB;IACE,eAAe;IACf,iBAAiB;IACjB,aAAa;IACb,aAAa;IACb,YAAY;CAAE;AAElB;EACE,qBAAqB;CAAE;AAEzB;EACE,uBAAuB;EACvB,iBAAiB;EACjB,mBAAmB;EACnB,YAAY;EACZ,uBAAuB;EACvB,YAAY;CAAE;AAEhB;EACE,gBAAgB;EAChB,iBAAiB;EACjB,YAAY;CAAE;AAEhB;EACE,0BAA0B;EAC1B,YAAY;CAAE",file:"vue-tags-input.scss?vue&type=style&index=0&id=61d92e31&lang=scss&scoped=true&",sourcesContent:['@font-face {\n font-family: \'icomoon\';\n src: url("./assets/fonts/icomoon.eot?7grlse");\n src: url("./assets/fonts/icomoon.eot?7grlse#iefix") format("embedded-opentype"), url("./assets/fonts/icomoon.ttf?7grlse") format("truetype"), url("./assets/fonts/icomoon.woff?7grlse") format("woff");\n font-weight: normal;\n font-style: normal; }\n\n[class^="ti-icon-"], [class*=" ti-icon-"] {\n font-family: \'icomoon\' !important;\n speak: none;\n font-style: normal;\n font-weight: normal;\n font-variant: normal;\n text-transform: none;\n line-height: 1;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale; }\n\n.ti-icon-check:before {\n content: "\\e902"; }\n\n.ti-icon-close:before {\n content: "\\e901"; }\n\n.ti-icon-undo:before {\n content: "\\e900"; }\n\nul {\n margin: 0px;\n padding: 0px;\n list-style-type: none; }\n\n*, *:before, *:after {\n box-sizing: border-box; }\n\ninput:focus {\n outline: none; }\n\ninput[disabled] {\n background-color: transparent; }\n\n.vue-tags-input {\n max-width: 450px;\n position: relative;\n background-color: #fff; }\n\ndiv.vue-tags-input.disabled {\n opacity: 0.5; }\n div.vue-tags-input.disabled * {\n cursor: default; }\n\n.ti-input {\n border: 1px solid #ccc;\n display: flex;\n padding: 4px;\n flex-wrap: wrap; }\n\n.ti-tags {\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n line-height: 1em; }\n\n.ti-tag {\n background-color: #5C6BC0;\n color: #fff;\n border-radius: 2px;\n display: flex;\n padding: 3px 5px;\n margin: 2px;\n font-size: .85em; }\n .ti-tag:focus {\n outline: none; }\n .ti-tag .ti-content {\n display: flex;\n align-items: center; }\n .ti-tag .ti-tag-center {\n position: relative; }\n .ti-tag span {\n line-height: .85em; }\n .ti-tag span.ti-hidden {\n padding-left: 14px;\n visibility: hidden;\n height: 0px;\n white-space: pre; }\n .ti-tag .ti-actions {\n margin-left: 2px;\n display: flex;\n align-items: center;\n font-size: 1.15em; }\n .ti-tag .ti-actions i {\n cursor: pointer; }\n .ti-tag:last-child {\n margin-right: 4px; }\n .ti-tag.ti-invalid, .ti-tag.ti-tag.ti-deletion-mark {\n background-color: #e54d42; }\n\n.ti-new-tag-input-wrapper {\n display: flex;\n flex: 1 0 auto;\n padding: 3px 5px;\n margin: 2px;\n font-size: .85em; }\n .ti-new-tag-input-wrapper input {\n flex: 1 0 auto;\n min-width: 100px;\n border: none;\n padding: 0px;\n margin: 0px; }\n\n.ti-new-tag-input {\n line-height: initial; }\n\n.ti-autocomplete {\n border: 1px solid #ccc;\n border-top: none;\n position: absolute;\n width: 100%;\n background-color: #fff;\n z-index: 20; }\n\n.ti-item > div {\n cursor: pointer;\n padding: 3px 6px;\n width: 100%; }\n\n.ti-selected-item {\n background-color: #5C6BC0;\n color: #fff; }\n'],sourceRoot:""}])},function(t,e,n){"use strict";t.exports=function(t){return"string"!=typeof t?t:(/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),/["'() \t\n]/.test(t)?'"'+t.replace(/"/g,'\\"').replace(/\n/g,"\\n")+'"':t)}},function(t,e){t.exports="data:font/ttf;base64,AAEAAAALAIAAAwAwT1MvMg8SBawAAAC8AAAAYGNtYXAXVtKJAAABHAAAAFRnYXNwAAAAEAAAAXAAAAAIZ2x5ZqWfozAAAAF4AAAA/GhlYWQPxZgIAAACdAAAADZoaGVhB4ADyAAAAqwAAAAkaG10eBIAAb4AAALQAAAAHGxvY2EAkgDiAAAC7AAAABBtYXhwAAkAHwAAAvwAAAAgbmFtZZlKCfsAAAMcAAABhnBvc3QAAwAAAAAEpAAAACAAAwOAAZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADpAgPA/8AAQAPAAEAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQADAAAAHAADAAEAAAAcAAQAOAAAAAoACAACAAIAAQAg6QL//f//AAAAAAAg6QD//f//AAH/4xcEAAMAAQAAAAAAAAAAAAAAAQAB//8ADwABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAABAFYBAQO+AoEAHAAAATIXHgEXFhcHJicuAScmIyIGBxchERc2Nz4BNzYCFkpDQ28pKRdkECAfVTM0OT9wLZz+gJgdIiJLKSgCVRcYUjg5QiAzKys+ERIrJZoBgJoZFRQcCAgAAQDWAIEDKgLVAAsAAAEHFwcnByc3JzcXNwMq7u487u487u487u4Cme7uPO7uPO7uPO7uAAEAkgCBA4ACvQAFAAAlARcBJzcBgAHEPP4A7jz5AcQ8/gDuPAAAAAABAAAAAAAAH8nTUV8PPPUACwQAAAAAANZ1KhsAAAAA1nUqGwAAAAADvgLVAAAACAACAAAAAAAAAAEAAAPA/8AAAAQAAAAAAAO+AAEAAAAAAAAAAAAAAAAAAAAHBAAAAAAAAAAAAAAAAgAAAAQAAFYEAADWBAAAkgAAAAAACgAUAB4AUABqAH4AAQAAAAcAHQABAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAA4ArgABAAAAAAABAAcAAAABAAAAAAACAAcAYAABAAAAAAADAAcANgABAAAAAAAEAAcAdQABAAAAAAAFAAsAFQABAAAAAAAGAAcASwABAAAAAAAKABoAigADAAEECQABAA4ABwADAAEECQACAA4AZwADAAEECQADAA4APQADAAEECQAEAA4AfAADAAEECQAFABYAIAADAAEECQAGAA4AUgADAAEECQAKADQApGljb21vb24AaQBjAG8AbQBvAG8AblZlcnNpb24gMS4wAFYAZQByAHMAaQBvAG4AIAAxAC4AMGljb21vb24AaQBjAG8AbQBvAG8Abmljb21vb24AaQBjAG8AbQBvAG8AblJlZ3VsYXIAUgBlAGcAdQBsAGEAcmljb21vb24AaQBjAG8AbQBvAG8AbkZvbnQgZ2VuZXJhdGVkIGJ5IEljb01vb24uAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALgAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="},function(t,e){t.exports="data:font/woff;base64,d09GRgABAAAAAAUQAAsAAAAABMQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAAABCAAAAGAAAABgDxIFrGNtYXAAAAFoAAAAVAAAAFQXVtKJZ2FzcAAAAbwAAAAIAAAACAAAABBnbHlmAAABxAAAAPwAAAD8pZ+jMGhlYWQAAALAAAAANgAAADYPxZgIaGhlYQAAAvgAAAAkAAAAJAeAA8hobXR4AAADHAAAABwAAAAcEgABvmxvY2EAAAM4AAAAEAAAABAAkgDibWF4cAAAA0gAAAAgAAAAIAAJAB9uYW1lAAADaAAAAYYAAAGGmUoJ+3Bvc3QAAATwAAAAIAAAACAAAwAAAAMDgAGQAAUAAAKZAswAAACPApkCzAAAAesAMwEJAAAAAAAAAAAAAAAAAAAAARAAAAAAAAAAAAAAAAAAAAAAQAAA6QIDwP/AAEADwABAAAAAAQAAAAAAAAAAAAAAIAAAAAAAAwAAAAMAAAAcAAEAAwAAABwAAwABAAAAHAAEADgAAAAKAAgAAgACAAEAIOkC//3//wAAAAAAIOkA//3//wAB/+MXBAADAAEAAAAAAAAAAAAAAAEAAf//AA8AAQAAAAAAAAAAAAIAADc5AQAAAAABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQBWAQEDvgKBABwAAAEyFx4BFxYXByYnLgEnJiMiBgcXIREXNjc+ATc2AhZKQ0NvKSkXZBAgH1UzNDk/cC2c/oCYHSIiSykoAlUXGFI4OUIgMysrPhESKyWaAYCaGRUUHAgIAAEA1gCBAyoC1QALAAABBxcHJwcnNyc3FzcDKu7uPO7uPO7uPO7uApnu7jzu7jzu7jzu7gABAJIAgQOAAr0ABQAAJQEXASc3AYABxDz+AO48+QHEPP4A7jwAAAAAAQAAAAAAAB/J01FfDzz1AAsEAAAAAADWdSobAAAAANZ1KhsAAAAAA74C1QAAAAgAAgAAAAAAAAABAAADwP/AAAAEAAAAAAADvgABAAAAAAAAAAAAAAAAAAAABwQAAAAAAAAAAAAAAAIAAAAEAABWBAAA1gQAAJIAAAAAAAoAFAAeAFAAagB+AAEAAAAHAB0AAQAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAOAK4AAQAAAAAAAQAHAAAAAQAAAAAAAgAHAGAAAQAAAAAAAwAHADYAAQAAAAAABAAHAHUAAQAAAAAABQALABUAAQAAAAAABgAHAEsAAQAAAAAACgAaAIoAAwABBAkAAQAOAAcAAwABBAkAAgAOAGcAAwABBAkAAwAOAD0AAwABBAkABAAOAHwAAwABBAkABQAWACAAAwABBAkABgAOAFIAAwABBAkACgA0AKRpY29tb29uAGkAYwBvAG0AbwBvAG5WZXJzaW9uIDEuMABWAGUAcgBzAGkAbwBuACAAMQAuADBpY29tb29uAGkAYwBvAG0AbwBvAG5pY29tb29uAGkAYwBvAG0AbwBvAG5SZWd1bGFyAFIAZQBnAHUAbABhAHJpY29tb29uAGkAYwBvAG0AbwBvAG5Gb250IGdlbmVyYXRlZCBieSBJY29Nb29uLgBGAG8AbgB0ACAAZwBlAG4AZQByAGEAdABlAGQAIABiAHkAIABJAGMAbwBNAG8AbwBuAC4AAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vue-tags-input",class:[{"ti-disabled":t.disabled},{"ti-focus":t.focused}]},[n("div",{staticClass:"ti-input"},[t.tagsCopy?n("ul",{staticClass:"ti-tags"},[t._l(t.tagsCopy,(function(e,a){return n("li",{key:a,staticClass:"ti-tag",class:[{"ti-editing":t.tagsEditStatus[a]},e.tiClasses,e.classes,{"ti-deletion-mark":t.isMarked(a)}],style:e.style,attrs:{tabindex:"0"},on:{click:function(n){return t.$emit("tag-clicked",{tag:e,index:a})}}},[n("div",{staticClass:"ti-content"},[t.$scopedSlots["tag-left"]?n("div",{staticClass:"ti-tag-left"},[t._t("tag-left",null,{tag:e,index:a,edit:t.tagsEditStatus[a],performSaveEdit:t.performSaveTag,performDelete:t.performDeleteTag,performCancelEdit:t.cancelEdit,performOpenEdit:t.performEditTag,deletionMark:t.isMarked(a)})],2):t._e(),t._v(" "),n("div",{ref:"tagCenter",refInFor:!0,staticClass:"ti-tag-center"},[t.$scopedSlots["tag-center"]?t._e():n("span",{class:{"ti-hidden":t.tagsEditStatus[a]},on:{click:function(e){return t.performEditTag(a)}}},[t._v(t._s(e.text))]),t._v(" "),t.$scopedSlots["tag-center"]?t._e():n("tag-input",{attrs:{scope:{edit:t.tagsEditStatus[a],maxlength:t.maxlength,tag:e,index:a,validateTag:t.createChangedTag,performCancelEdit:t.cancelEdit,performSaveEdit:t.performSaveTag}}}),t._v(" "),t._t("tag-center",null,{tag:e,index:a,maxlength:t.maxlength,edit:t.tagsEditStatus[a],performSaveEdit:t.performSaveTag,performDelete:t.performDeleteTag,performCancelEdit:t.cancelEdit,validateTag:t.createChangedTag,performOpenEdit:t.performEditTag,deletionMark:t.isMarked(a)})],2),t._v(" "),t.$scopedSlots["tag-right"]?n("div",{staticClass:"ti-tag-right"},[t._t("tag-right",null,{tag:e,index:a,edit:t.tagsEditStatus[a],performSaveEdit:t.performSaveTag,performDelete:t.performDeleteTag,performCancelEdit:t.cancelEdit,performOpenEdit:t.performEditTag,deletionMark:t.isMarked(a)})],2):t._e()]),t._v(" "),n("div",{staticClass:"ti-actions"},[t.$scopedSlots["tag-actions"]?t._e():n("i",{directives:[{name:"show",rawName:"v-show",value:t.tagsEditStatus[a],expression:"tagsEditStatus[index]"}],staticClass:"ti-icon-undo",on:{click:function(e){return t.cancelEdit(a)}}}),t._v(" "),t.$scopedSlots["tag-actions"]?t._e():n("i",{directives:[{name:"show",rawName:"v-show",value:!t.tagsEditStatus[a],expression:"!tagsEditStatus[index]"}],staticClass:"ti-icon-close",on:{click:function(e){return t.performDeleteTag(a)}}}),t._v(" "),t.$scopedSlots["tag-actions"]?t._t("tag-actions",null,{tag:e,index:a,edit:t.tagsEditStatus[a],performSaveEdit:t.performSaveTag,performDelete:t.performDeleteTag,performCancelEdit:t.cancelEdit,performOpenEdit:t.performEditTag,deletionMark:t.isMarked(a)}):t._e()],2)])})),t._v(" "),n("li",{staticClass:"ti-new-tag-input-wrapper"},[n("input",t._b({ref:"newTagInput",staticClass:"ti-new-tag-input",class:[t.createClasses(t.newTag,t.tags,t.validation,t.isDuplicate)],attrs:{placeholder:t.placeholder,maxlength:t.maxlength,disabled:t.disabled,type:"text",size:"1"},domProps:{value:t.newTag},on:{keydown:[function(e){return t.performAddTags(t.filteredAutocompleteItems[t.selectedItem]||t.newTag,e)},function(e){return e.type.indexOf("key")||8===e.keyCode?t.invokeDelete(e):null},function(e){return e.type.indexOf("key")||9===e.keyCode?t.performBlur(e):null},function(e){return e.type.indexOf("key")||38===e.keyCode?t.selectItem(e,"before"):null},function(e){return e.type.indexOf("key")||40===e.keyCode?t.selectItem(e,"after"):null}],paste:t.addTagsFromPaste,input:t.updateNewTag,blur:function(e){return t.$emit("blur",e)},focus:function(e){t.focused=!0,t.$emit("focus",e)},click:function(e){!t.addOnlyFromAutocomplete&&(t.selectedItem=null)}}},"input",t.$attrs,!1))])],2):t._e()]),t._v(" "),t._t("between-elements"),t._v(" "),t.autocompleteOpen?n("div",{staticClass:"ti-autocomplete",on:{mouseout:function(e){t.selectedItem=null}}},[t._t("autocomplete-header"),t._v(" "),n("ul",t._l(t.filteredAutocompleteItems,(function(e,a){return n("li",{key:a,staticClass:"ti-item",class:[e.tiClasses,e.classes,{"ti-selected-item":t.isSelected(a)}],style:e.style,on:{mouseover:function(e){!t.disabled&&(t.selectedItem=a)}}},[t.$scopedSlots["autocomplete-item"]?t._t("autocomplete-item",null,{item:e,index:a,performAdd:function(e){return t.performAddTags(e,void 0,"autocomplete")},selected:t.isSelected(a)}):n("div",{on:{click:function(n){return t.performAddTags(e,void 0,"autocomplete")}}},[t._v("\n "+t._s(e.text)+"\n ")])],2)})),0),t._v(" "),t._t("autocomplete-footer")],2):t._e()],2)};a._withStripped=!0;var i=n(5),r=n.n(i),o=function(t){return JSON.parse(JSON.stringify(t))},s=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=arguments.length>3?arguments[3]:void 0;void 0===t.text&&(t={text:t});var i=function(t,e){return e.filter((function(e){var n=t.text;return"string"==typeof e.rule?!new RegExp(e.rule).test(n):e.rule instanceof RegExp?!e.rule.test(n):"[object Function]"==={}.toString.call(e.rule)?e.rule(t):void 0})).map((function(t){return t.classes}))}(t,n),r=function(t,e){for(var n=0;n1?n-1:0),i=1;i1?e-1:0),a=1;a=this.autocompleteMinLength&&this.filteredAutocompleteItems.length>0&&this.focused},filteredAutocompleteItems:function(){var t=this,e=this.autocompleteItems.map((function(e){return c(e,t.tags,t.validation,t.isDuplicate)}));return this.autocompleteFilterDuplicates?e.filter(this.duplicateFilter):e}},methods:{createClasses:s,getSelectedIndex:function(t){var e=this.filteredAutocompleteItems,n=this.selectedItem,a=e.length-1;if(0!==e.length)return null===n?0:"before"===t&&0===n?a:"after"===t&&n===a?0:"after"===t?n+1:n-1},selectDefaultItem:function(){this.addOnlyFromAutocomplete&&this.filteredAutocompleteItems.length>0?this.selectedItem=0:this.selectedItem=null},selectItem:function(t,e){t.preventDefault(),this.selectedItem=this.getSelectedIndex(e)},isSelected:function(t){return this.selectedItem===t},isMarked:function(t){return this.deletionMark===t},invokeDelete:function(){var t=this;if(this.deleteOnBackspace&&!(this.newTag.length>0)){var e=this.tagsCopy.length-1;null===this.deletionMark?(this.deletionMarkTime=setTimeout((function(){return t.deletionMark=null}),1e3),this.deletionMark=e):this.performDeleteTag(e)}},addTagsFromPaste:function(){var t=this;this.addFromPaste&&setTimeout((function(){return t.performAddTags(t.newTag)}),10)},performEditTag:function(t){var e=this;this.allowEditTags&&(this._events["before-editing-tag"]||this.editTag(t),this.$emit("before-editing-tag",{index:t,tag:this.tagsCopy[t],editTag:function(){return e.editTag(t)}}))},editTag:function(t){this.allowEditTags&&(this.toggleEditMode(t),this.focus(t))},toggleEditMode:function(t){this.allowEditTags&&!this.disabled&&this.$set(this.tagsEditStatus,t,!this.tagsEditStatus[t])},createChangedTag:function(t,e){var n=this.tagsCopy[t];n.text=e?e.target.value:this.tagsCopy[t].text,this.$set(this.tagsCopy,t,c(n,this.tagsCopy,this.validation,this.isDuplicate))},focus:function(t){var e=this;this.$nextTick((function(){var n=e.$refs.tagCenter[t].querySelector("input.ti-tag-input");n&&n.focus()}))},quote:function(t){return t.replace(/([()[{*+.$^\\|?])/g,"\\$1")},cancelEdit:function(t){this.tags[t]&&(this.tagsCopy[t]=o(c(this.tags[t],this.tags,this.validation,this.isDuplicate)),this.$set(this.tagsEditStatus,t,!1))},hasForbiddingAddRule:function(t){var e=this;return t.some((function(t){var n=e.validation.find((function(e){return t===e.classes}));return!!n&&n.disableAdd}))},createTagTexts:function(t){var e=this,n=new RegExp(this.separators.map((function(t){return e.quote(t)})).join("|"));return t.split(n).map((function(t){return{text:t}}))},performDeleteTag:function(t){var e=this;this._events["before-deleting-tag"]||this.deleteTag(t),this.$emit("before-deleting-tag",{index:t,tag:this.tagsCopy[t],deleteTag:function(){return e.deleteTag(t)}})},deleteTag:function(t){this.disabled||(this.deletionMark=null,clearTimeout(this.deletionMarkTime),this.tagsCopy.splice(t,1),this._events["update:tags"]&&this.$emit("update:tags",this.tagsCopy),this.$emit("tags-changed",this.tagsCopy))},noTriggerKey:function(t,e){var n=-1!==this[e].indexOf(t.keyCode)||-1!==this[e].indexOf(t.key);return n&&t.preventDefault(),!n},performAddTags:function(t,e,n){var a=this;if(!(this.disabled||e&&this.noTriggerKey(e,"addOnKey"))){var i=[];"object"===m(t)&&(i=[t]),"string"==typeof t&&(i=this.createTagTexts(t)),(i=i.filter((function(t){return t.text.trim().length>0}))).forEach((function(t){t=c(t,a.tags,a.validation,a.isDuplicate),a._events["before-adding-tag"]||a.addTag(t,n),a.$emit("before-adding-tag",{tag:t,addTag:function(){return a.addTag(t,n)}})}))}},duplicateFilter:function(t){return this.isDuplicate?!this.isDuplicate(this.tagsCopy,t):!this.tagsCopy.find((function(e){return e.text===t.text}))},addTag:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"new-tag-input",a=this.filteredAutocompleteItems.map((function(t){return t.text}));this.addOnlyFromAutocomplete&&-1===a.indexOf(t.text)||this.$nextTick((function(){return e.maxTags&&e.maxTags<=e.tagsCopy.length?e.$emit("max-tags-reached",t):e.avoidAddingDuplicates&&!e.duplicateFilter(t)?e.$emit("adding-duplicate",t):void(e.hasForbiddingAddRule(t.tiClasses)||(e.$emit("input",""),e.tagsCopy.push(t),e._events["update:tags"]&&e.$emit("update:tags",e.tagsCopy),"autocomplete"===n&&e.$refs.newTagInput.focus(),e.$emit("tags-changed",e.tagsCopy)))}))},performSaveTag:function(t,e){var n=this,a=this.tagsCopy[t];this.disabled||e&&this.noTriggerKey(e,"addOnKey")||0!==a.text.trim().length&&(this._events["before-saving-tag"]||this.saveTag(t,a),this.$emit("before-saving-tag",{index:t,tag:a,saveTag:function(){return n.saveTag(t,a)}}))},saveTag:function(t,e){if(this.avoidAddingDuplicates){var n=o(this.tagsCopy),a=n.splice(t,1)[0];if(this.isDuplicate?this.isDuplicate(n,a):-1!==n.map((function(t){return t.text})).indexOf(a.text))return this.$emit("saving-duplicate",e)}this.hasForbiddingAddRule(e.tiClasses)||(this.$set(this.tagsCopy,t,e),this.toggleEditMode(t),this._events["update:tags"]&&this.$emit("update:tags",this.tagsCopy),this.$emit("tags-changed",this.tagsCopy))},tagsEqual:function(){var t=this;return!this.tagsCopy.some((function(e,n){return!r()(e,t.tags[n])}))},updateNewTag:function(t){var e=t.target.value;this.newTag=e,this.$emit("input",e)},initTags:function(){this.tagsCopy=u(this.tags,this.validation,this.isDuplicate),this.tagsEditStatus=o(this.tags).map((function(){return!1})),this._events["update:tags"]&&!this.tagsEqual()&&this.$emit("update:tags",this.tagsCopy)},blurredOnClick:function(t){this.$el.contains(t.target)||this.$el.contains(document.activeElement)||this.performBlur(t)},performBlur:function(){this.addOnBlur&&this.focused&&this.performAddTags(this.newTag),this.focused=!1}},watch:{value:function(t){this.addOnlyFromAutocomplete||(this.selectedItem=null),this.newTag=t},tags:{handler:function(){this.initTags()},deep:!0},autocompleteOpen:"selectDefaultItem"},created:function(){this.newTag=this.value,this.initTags()},mounted:function(){this.selectDefaultItem(),document.addEventListener("click",this.blurredOnClick)},destroyed:function(){document.removeEventListener("click",this.blurredOnClick)}},y=(n(9),d(v,a,[],!1,null,"61d92e31",null));y.options.__file="vue-tags-input/vue-tags-input.vue";var b=y.exports;n.d(e,"VueTagsInput",(function(){return b})),n.d(e,"createClasses",(function(){return s})),n.d(e,"createTag",(function(){return c})),n.d(e,"createTags",(function(){return u})),n.d(e,"TagInput",(function(){return f})),b.install=function(t){return t.component(b.name,b)},"undefined"!=typeof window&&window.Vue&&window.Vue.use(b),e.default=b}])},function(t,e,n){"use strict";var a={name:"CustomAttachments",props:{title:String,name:String,error:Array},methods:{hasError:function(){return this.error.length>0}}},i=n(0),r=Object(i.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("input",{staticClass:"form-control",attrs:{multiple:"multiple",autocomplete:"off",placeholder:t.title,title:t.title,name:t.name,type:"file"}}),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"73840c18",null);e.a=r.exports},function(t,e,n){"use strict";var a={name:"CustomDate",props:{value:String,title:String,name:String,error:Array},methods:{handleInput:function(t){this.$emit("input",this.$refs.date.value)},hasError:function(){return this.error.length>0},clearDate:function(){this.name="",this.$refs.date.value="",this.$emit("input",this.$refs.date.value)}}},i=n(0),r=Object(i.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("input",{ref:"date",staticClass:"form-control",attrs:{type:"date",name:t.name,title:t.title,autocomplete:"off",placeholder:t.title},domProps:{value:t.value?t.value.substr(0,10):""},on:{input:t.handleInput}}),t._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:t.clearDate}},[n("i",{staticClass:"fa fa-trash-o"})])])]),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"7a261844",null);e.a=r.exports},function(t,e,n){"use strict";var a={name:"CustomString",props:{title:String,name:String,value:String,error:Array},methods:{handleInput:function(t){this.$emit("input",this.$refs.str.value)},clearField:function(){this.name="",this.$refs.str.value="",this.$emit("input",this.$refs.str.value)},hasError:function(){return this.error.length>0}}},i=n(0),r=Object(i.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("input",{ref:"str",staticClass:"form-control",attrs:{type:"text",name:t.name,title:t.title,autocomplete:"off",placeholder:t.title},domProps:{value:t.value},on:{input:t.handleInput}}),t._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:t.clearField}},[n("i",{staticClass:"fa fa-trash-o"})])])]),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"ada77346",null);e.a=r.exports},function(t,e,n){"use strict";var a={name:"CustomTextarea",props:{title:String,name:String,value:String,error:Array},data:function(){return{textValue:this.value}},methods:{handleInput:function(t){this.$emit("input",this.$refs.str.value)},hasError:function(){return this.error.length>0}}},i=n(0),r=Object(i.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.textValue,expression:"textValue"}],ref:"str",staticClass:"form-control",attrs:{name:t.name,title:t.title,autocomplete:"off",rows:"8",placeholder:t.title},domProps:{value:t.textValue},on:{input:[function(e){e.target.composing||(t.textValue=e.target.value)},t.handleInput]}}),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"40389097",null);e.a=r.exports},function(t,e,n){"use strict";var a={props:["error","value","index"],name:"StandardDate",methods:{hasError:function(){return this.error.length>0},handleInput:function(t){this.$emit("input",this.$refs.date.value)},clearDate:function(){this.name="",this.$refs.date.value="",this.$emit("input",this.$refs.date.value),this.$emit("clear:date")}}},i=n(0),r=Object(i.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.$t("firefly.date"))+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("input",{ref:"date",staticClass:"form-control",attrs:{type:"date",name:"date[]",title:t.$t("firefly.date"),autocomplete:"off",disabled:t.index>0,placeholder:t.$t("firefly.date")},domProps:{value:t.value},on:{input:t.handleInput}}),t._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:t.clearDate}},[n("i",{staticClass:"fa fa-trash-o"})])])]),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"4e877916",null);e.a=r.exports},function(t,e,n){"use strict";var a={props:["error","value","index"],name:"GroupDescription",methods:{hasError:function(){return this.error.length>0},handleInput:function(t){this.$emit("input",this.$refs.descr.value)},clearField:function(){this.name="",this.$refs.descr.value="",this.$emit("input",this.$refs.descr.value)}}},i=n(0),r=Object(i.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.$t("firefly.split_transaction_title"))+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("input",{ref:"descr",staticClass:"form-control",attrs:{type:"text",name:"group_title",title:t.$t("firefly.split_transaction_title"),autocomplete:"off",placeholder:t.$t("firefly.split_transaction_title")},domProps:{value:t.value},on:{input:t.handleInput}}),t._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:t.clearField}},[n("i",{staticClass:"fa fa-trash-o"})])])]),t._v(" "),0===t.error.length?n("p",{staticClass:"help-block"},[t._v("\n "+t._s(t.$t("firefly.split_transaction_title_help"))+"\n ")]):t._e(),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"2666c561",null);e.a=r.exports},function(t,e,n){"use strict";var a={props:["error","value","index"],name:"TransactionDescription",mounted:function(){this.target=this.$refs.descr,this.descriptionAutoCompleteURI=document.getElementsByTagName("base")[0].href+"json/transaction-journals/all?search=",this.$refs.descr.focus()},components:{},data:function(){return{descriptionAutoCompleteURI:null,name:null,description:null,target:null}},methods:{search:function(t){return["ab","cd"]},hasError:function(){return this.error.length>0},clearDescription:function(){this.description="",this.$refs.descr.value="",this.$emit("input",this.$refs.descr.value),this.$emit("clear:description")},handleInput:function(t){this.$emit("input",this.$refs.descr.value)},handleEnter:function(t){t.keyCode},selectedItem:function(t){void 0!==this.name&&"string"!=typeof this.name&&(this.$refs.descr.value=this.name.description,this.$emit("input",this.$refs.descr.value))}}},i=n(0),r=Object(i.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.$t("firefly.description"))+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("input",{ref:"descr",staticClass:"form-control",attrs:{type:"text",name:"description[]",title:t.$t("firefly.description"),autocomplete:"off",placeholder:t.$t("firefly.description")},domProps:{value:t.value},on:{keypress:t.handleEnter,submit:function(t){t.preventDefault()},input:t.handleInput}}),t._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:t.clearDescription}},[n("i",{staticClass:"fa fa-trash-o"})])])]),t._v(" "),n("typeahead",{attrs:{"open-on-empty":!0,"open-on-focus":!0,"async-src":t.descriptionAutoCompleteURI,target:t.target,"item-key":"description"},on:{input:t.selectedItem},model:{value:t.name,callback:function(e){t.name=e},expression:"name"}}),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"dfd3d572",null);e.a=r.exports},function(t,e,n){"use strict";var a={name:"CustomTransactionFields",props:["value","error"],mounted:function(){this.getPreference()},data:function(){return{customInterestDate:null,fields:[{interest_date:!1,book_date:!1,process_date:!1,due_date:!1,payment_date:!1,invoice_date:!1,internal_reference:!1,notes:!1,attachments:!1}]}},computed:{dateComponent:function(){return"custom-date"},stringComponent:function(){return"custom-string"},attachmentComponent:function(){return"custom-attachments"},textareaComponent:function(){return"custom-textarea"}},methods:{handleInput:function(t){this.$emit("input",this.value)},getPreference:function(){var t=this,e=document.getElementsByTagName("base")[0].href+"api/v1/preferences/transaction_journal_optional_fields";axios.get(e).then((function(e){t.fields=e.data.data.attributes.data})).catch((function(){return console.warn("Oh. Something went wrong loading custom transaction fields.")}))}}},i=n(0),r=Object(i.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("p",{staticClass:"help-block",domProps:{innerHTML:t._s(t.$t("firefly.hidden_fields_preferences"))}}),t._v(" "),this.fields.interest_date?n(t.dateComponent,{tag:"component",attrs:{error:t.error.interest_date,name:"interest_date[]",title:t.$t("form.interest_date")},model:{value:t.value.interest_date,callback:function(e){t.$set(t.value,"interest_date",e)},expression:"value.interest_date"}}):t._e(),t._v(" "),this.fields.book_date?n(t.dateComponent,{tag:"component",attrs:{error:t.error.book_date,name:"book_date[]",title:t.$t("form.book_date")},model:{value:t.value.book_date,callback:function(e){t.$set(t.value,"book_date",e)},expression:"value.book_date"}}):t._e(),t._v(" "),this.fields.process_date?n(t.dateComponent,{tag:"component",attrs:{error:t.error.process_date,name:"process_date[]",title:t.$t("form.process_date")},model:{value:t.value.process_date,callback:function(e){t.$set(t.value,"process_date",e)},expression:"value.process_date"}}):t._e(),t._v(" "),this.fields.due_date?n(t.dateComponent,{tag:"component",attrs:{error:t.error.due_date,name:"due_date[]",title:t.$t("form.due_date")},model:{value:t.value.due_date,callback:function(e){t.$set(t.value,"due_date",e)},expression:"value.due_date"}}):t._e(),t._v(" "),this.fields.payment_date?n(t.dateComponent,{tag:"component",attrs:{error:t.error.payment_date,name:"payment_date[]",title:t.$t("form.payment_date")},model:{value:t.value.payment_date,callback:function(e){t.$set(t.value,"payment_date",e)},expression:"value.payment_date"}}):t._e(),t._v(" "),this.fields.invoice_date?n(t.dateComponent,{tag:"component",attrs:{error:t.error.invoice_date,name:"invoice_date[]",title:t.$t("form.invoice_date")},model:{value:t.value.invoice_date,callback:function(e){t.$set(t.value,"invoice_date",e)},expression:"value.invoice_date"}}):t._e(),t._v(" "),this.fields.internal_reference?n(t.stringComponent,{tag:"component",attrs:{error:t.error.internal_reference,name:"internal_reference[]",title:t.$t("form.internal_reference")},model:{value:t.value.internal_reference,callback:function(e){t.$set(t.value,"internal_reference",e)},expression:"value.internal_reference"}}):t._e(),t._v(" "),this.fields.attachments?n(t.attachmentComponent,{tag:"component",attrs:{error:t.error.attachments,name:"attachments[]",title:t.$t("firefly.attachments")},model:{value:t.value.attachments,callback:function(e){t.$set(t.value,"attachments",e)},expression:"value.attachments"}}):t._e(),t._v(" "),this.fields.notes?n(t.textareaComponent,{tag:"component",attrs:{error:t.error.notes,name:"notes[]",title:t.$t("firefly.notes")},model:{value:t.value.notes,callback:function(e){t.$set(t.value,"notes",e)},expression:"value.notes"}}):t._e()],1)}),[],!1,null,"c24d33ba",null);e.a=r.exports},function(t,e,n){"use strict";var a={name:"PiggyBank",props:["value","transactionType","error","no_piggy_bank"],mounted:function(){this.loadPiggies()},data:function(){return{piggies:[]}},methods:{handleInput:function(t){this.$emit("input",this.$refs.piggy.value)},hasError:function(){return this.error.length>0},loadPiggies:function(){var t=this,e=document.getElementsByTagName("base")[0].href+"json/piggy-banks";axios.get(e,{}).then((function(e){for(var n in t.piggies=[{name_with_amount:t.no_piggy_bank,id:0}],e.data)e.data.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n)&&n<=4294967294&&t.piggies.push(e.data[n])}))}}},i=n(0),r=Object(i.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return void 0!==this.transactionType&&"Transfer"===this.transactionType?n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12"},[this.piggies.length>0?n("select",{ref:"piggy",staticClass:"form-control",attrs:{name:"piggy_bank[]"},on:{input:t.handleInput}},t._l(this.piggies,(function(e){return n("option",{attrs:{label:e.name_with_amount},domProps:{value:e.id}},[t._v(t._s(e.name_with_amount))])})),0):t._e(),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)]):t._e()}),[],!1,null,"1797c09a",null);e.a=r.exports},function(t,e,n){"use strict";var a=n(3),i=n.n(a),r=n(29),o={name:"Tags",components:{VueTagsInput:n.n(r).a},props:["value","error"],data:function(){return{tag:"",autocompleteItems:[],debounce:null,tags:this.value}},watch:{tag:"initItems"},methods:{update:function(t){this.autocompleteItems=[],this.tags=t,this.$emit("input",this.tags)},clearTags:function(){this.tags=[]},hasError:function(){return this.error.length>0},initItems:function(){var t=this;if(!(this.tag.length<2)){var e=document.getElementsByTagName("base")[0].href+"json/tags?search=".concat(this.tag);clearTimeout(this.debounce),this.debounce=setTimeout((function(){i.a.get(e).then((function(e){t.autocompleteItems=e.data.map((function(t){return{text:t.tag}}))})).catch((function(){return console.warn("Oh. Something went wrong loading tags.")}))}),600)}}}},s=n(0),c=Object(s.a)(o,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.$t("firefly.tags"))+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("vue-tags-input",{attrs:{tags:t.tags,title:t.$t("firefly.tags"),classes:"form-input","autocomplete-items":t.autocompleteItems,"add-only-from-autocomplete":!1,placeholder:t.$t("firefly.tags")},on:{"tags-changed":t.update},model:{value:t.tag,callback:function(e){t.tag=e},expression:"tag"}}),t._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:t.clearTags}},[n("i",{staticClass:"fa fa-trash-o"})])])],1)]),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)}),[],!1,null,"4f8ece50",null);e.a=c.exports},function(t,e,n){"use strict";var a={name:"Category",props:{value:String,inputName:String,error:Array,accountName:{type:String,default:""}},data:function(){return{categoryAutoCompleteURI:null,name:null,target:null}},ready:function(){this.name=this.accountName},mounted:function(){this.target=this.$refs.input,this.categoryAutoCompleteURI=document.getElementsByTagName("base")[0].href+"json/categories?search="},methods:{hasError:function(){return this.error.length>0},handleInput:function(t){"string"!=typeof this.$refs.input.value?this.$emit("input",this.$refs.input.value.name):this.$emit("input",this.$refs.input.value)},clearCategory:function(){this.name="",this.$refs.input.value="",this.$emit("input",this.$refs.input.value),this.$emit("clear:category")},selectedItem:function(t){void 0!==this.name&&(this.$emit("select:category",this.name),"string"!=typeof this.name?this.$emit("input",this.name.name):this.$emit("input",this.name))},handleEnter:function(t){t.keyCode}}},i=n(0),r=Object(i.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.$t("firefly.category"))+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("input",{ref:"input",staticClass:"form-control",attrs:{type:"text",placeholder:t.$t("firefly.category"),autocomplete:"off","data-role":"input",name:"category[]",title:t.$t("firefly.category")},domProps:{value:t.value},on:{input:t.handleInput,keypress:t.handleEnter,submit:function(t){t.preventDefault()}}}),t._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{type:"button"},on:{click:t.clearCategory}},[n("i",{staticClass:"fa fa-trash-o"})])])]),t._v(" "),n("typeahead",{attrs:{"open-on-empty":!0,"open-on-focus":!0,"async-src":t.categoryAutoCompleteURI,target:t.target,"item-key":"name"},on:{input:t.selectedItem},model:{value:t.name,callback:function(e){t.name=e},expression:"name"}}),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"5fd3029c",null);e.a=r.exports},function(t,e,n){"use strict";var a={name:"Amount",props:["source","destination","transactionType","value","error"],data:function(){return{sourceAccount:this.source,destinationAccount:this.destination,type:this.transactionType}},methods:{handleInput:function(t){this.$emit("input",this.$refs.amount.value)},clearAmount:function(){this.$refs.amount.value="",this.$emit("input",this.$refs.amount.value),this.$emit("clear:amount")},hasError:function(){return this.error.length>0},changeData:function(){var t=this.transactionType;t||this.source.name||this.destination.name?(null===t&&(t=""),""!==t||""===this.source.currency_name?""!==t||""===this.destination.currency_name?"withdrawal"!==t.toLowerCase()&&"reconciliation"!==t.toLowerCase()&&"transfer"!==t.toLowerCase()?("deposit"===t.toLowerCase()&&"debt"!==this.source.type.toLowerCase()&&"loan"!==this.source.type.toLowerCase()&&"mortgage"!==this.source.type.toLowerCase()&&$(this.$refs.cur).text(this.destination.currency_name),"deposit"!==t.toLowerCase()||"debt"!==this.source.type.toLowerCase()&&"loan"!==this.source.type.toLowerCase()&&"mortgage"!==this.source.type.toLowerCase()||$(this.$refs.cur).text(this.source.currency_name)):$(this.$refs.cur).text(this.source.currency_name):$(this.$refs.cur).text(this.destination.currency_name):$(this.$refs.cur).text(this.source.currency_name)):$(this.$refs.cur).text("")}},watch:{source:function(){this.changeData()},destination:function(){this.changeData()},transactionType:function(){this.changeData()}},mounted:function(){this.changeData()}},i=n(0),r=Object(i.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-8 col-sm-offset-4 text-sm"},[t._v("\n "+t._s(t.$t("firefly.amount"))+"\n ")]),t._v(" "),n("label",{ref:"cur",staticClass:"col-sm-4 control-label"}),t._v(" "),n("div",{staticClass:"col-sm-8"},[n("div",{staticClass:"input-group"},[n("input",{ref:"amount",staticClass:"form-control",attrs:{type:"number",step:"any",name:"amount[]",title:t.$t("firefly.amount"),autocomplete:"off",placeholder:t.$t("firefly.amount")},domProps:{value:t.value},on:{input:t.handleInput}}),t._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:t.clearAmount}},[n("i",{staticClass:"fa fa-trash-o"})])])])]),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)}),[],!1,null,"440928b9",null);e.a=r.exports},function(t,e,n){"use strict";var a={name:"ForeignAmountSelect",props:["source","destination","transactionType","value","error","no_currency","title"],mounted:function(){this.liability=!1,this.loadCurrencies()},data:function(){return{currencies:[],enabledCurrencies:[],exclude:null,liability:!1}},watch:{source:function(){this.changeData()},destination:function(){this.changeData()},transactionType:function(){this.changeData()}},methods:{clearAmount:function(){this.$refs.amount.value="",this.$emit("input",this.$refs.amount.value),this.$emit("clear:amount")},hasError:function(){return this.error.length>0},handleInput:function(t){var e={amount:this.$refs.amount.value,currency_id:this.$refs.currency_select.value};this.$emit("input",e)},changeData:function(){this.enabledCurrencies=[];var t=this.destination.type?this.destination.type.toLowerCase():"invalid",e=this.source.type?this.source.type.toLowerCase():"invalid",n=this.transactionType?this.transactionType.toLowerCase():"invalid",a=["loan","debt","mortgage"],i=-1!==a.indexOf(e),r=-1!==a.indexOf(t);if("transfer"===n||r||i)for(var o in this.liability=!0,this.currencies)this.currencies.hasOwnProperty(o)&&/^0$|^[1-9]\d*$/.test(o)&&o<=4294967294&&this.currencies[o].id===this.destination.currency_id&&this.enabledCurrencies.push(this.currencies[o]);else if("withdrawal"===n&&this.source&&!1===i)for(var s in this.currencies)this.currencies.hasOwnProperty(s)&&/^0$|^[1-9]\d*$/.test(s)&&s<=4294967294&&this.source.currency_id!==this.currencies[s].id&&this.enabledCurrencies.push(this.currencies[s]);else if("deposit"===n&&this.destination)for(var c in this.currencies)this.currencies.hasOwnProperty(c)&&/^0$|^[1-9]\d*$/.test(c)&&c<=4294967294&&this.destination.currency_id!==this.currencies[c].id&&this.enabledCurrencies.push(this.currencies[c]);else for(var u in this.currencies)this.currencies.hasOwnProperty(u)&&/^0$|^[1-9]\d*$/.test(u)&&u<=4294967294&&this.enabledCurrencies.push(this.currencies[u])},loadCurrencies:function(){var t=this,e=document.getElementsByTagName("base")[0].href+"json/currencies";axios.get(e,{}).then((function(e){for(var n in t.currencies=[{name:t.no_currency,id:0,enabled:!0}],t.enabledCurrencies=[{name:t.no_currency,id:0,enabled:!0}],e.data)e.data.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n)&&n<=4294967294&&e.data[n].enabled&&(t.currencies.push(e.data[n]),t.enabledCurrencies.push(e.data[n]))}))}}},i=n(0),r=Object(i.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return this.enabledCurrencies.length>=1?n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-8 col-sm-offset-4 text-sm"},[t._v("\n "+t._s(t.$t("form.foreign_amount"))+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-4"},[n("select",{ref:"currency_select",staticClass:"form-control",attrs:{name:"foreign_currency[]"},on:{input:t.handleInput}},t._l(this.enabledCurrencies,(function(e){return e.enabled?n("option",{attrs:{label:e.name},domProps:{value:e.id,selected:t.value.currency_id===e.id}},[t._v("\n "+t._s(e.name)+"\n ")]):t._e()})),0)]),t._v(" "),n("div",{staticClass:"col-sm-8"},[n("div",{staticClass:"input-group"},[this.enabledCurrencies.length>0?n("input",{ref:"amount",staticClass:"form-control",attrs:{type:"number",step:"any",name:"foreign_amount[]",title:this.title,autocomplete:"off",placeholder:this.title},domProps:{value:t.value.amount},on:{input:t.handleInput}}):t._e(),t._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:t.clearAmount}},[n("i",{staticClass:"fa fa-trash-o"})])])]),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)]):t._e()}),[],!1,null,"37601284",null);e.a=r.exports},function(t,e,n){"use strict";var a={props:{source:String,destination:String,type:String},methods:{changeValue:function(){if(this.source&&this.destination){var t="";window.accountToTypes[this.source]?window.accountToTypes[this.source][this.destination]?t=window.accountToTypes[this.source][this.destination]:console.warn("User selected an impossible destination."):console.warn("User selected an impossible source."),""!==t&&(this.transactionType=t,this.sentence=this.$t("firefly.you_create_"+t.toLowerCase()),this.$emit("act:limitSourceType",this.source),this.$emit("act:limitDestinationType",this.destination))}else this.sentence="",this.transactionType="";this.$emit("set:transactionType",this.transactionType)}},data:function(){return{transactionType:this.type,sentence:""}},watch:{source:function(){this.changeValue()},destination:function(){this.changeValue()}},name:"TransactionType"},i=n(0),r=Object(i.a)(a,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"form-group"},[e("div",{staticClass:"col-sm-12"},[""!==this.sentence?e("label",{staticClass:"control-label text-info"},[this._v("\n "+this._s(this.sentence)+"\n ")]):this._e()])])}),[],!1,null,"0539dc1a",null);e.a=r.exports},function(t,e,n){"use strict";var a={props:{inputName:String,title:String,index:Number,transactionType:String,error:Array,accountName:{type:String,default:""},accountTypeFilters:{type:Array,default:function(){return[]}},defaultAccountTypeFilters:{type:Array,default:function(){return[]}}},data:function(){return{accountAutoCompleteURI:null,name:null,trType:this.transactionType,target:null,inputDisabled:!1,allowedTypes:this.accountTypeFilters,defaultAllowedTypes:this.defaultAccountTypeFilters}},ready:function(){this.name=this.accountName},mounted:function(){this.target=this.$refs.input;var t=this.allowedTypes.join(",");this.name=this.accountName,this.accountAutoCompleteURI=document.getElementsByTagName("base")[0].href+"json/accounts?types="+t+"&search=",this.triggerTransactionType()},watch:{transactionType:function(){this.triggerTransactionType()},accountName:function(){this.name=this.accountName},accountTypeFilters:function(){var t=this.accountTypeFilters.join(",");0===this.accountTypeFilters.length&&(t=this.defaultAccountTypeFilters.join(",")),this.accountAutoCompleteURI=document.getElementsByTagName("base")[0].href+"json/accounts?types="+t+"&search="},name:function(){}},methods:{hasError:function(){return this.error.length>0},triggerTransactionType:function(){if(this.name,null!==this.transactionType&&""!==this.transactionType&&(this.inputDisabled=!1,""!==this.transactionType.toString()&&this.index>0)){if("transfer"===this.transactionType.toString().toLowerCase())return void(this.inputDisabled=!0);if("withdrawal"===this.transactionType.toString().toLowerCase()&&"source"===this.inputName.substr(0,6).toLowerCase())return void(this.inputDisabled=!0);"deposit"===this.transactionType.toString().toLowerCase()&&"destination"===this.inputName.substr(0,11).toLowerCase()&&(this.inputDisabled=!0)}},selectedItem:function(t){void 0!==this.name&&("string"==typeof this.name&&this.$emit("clear:value"),this.$emit("select:account",this.name))},clearSource:function(t){this.name="",this.$emit("clear:value")},handleEnter:function(t){t.keyCode}}},i=n(0),r=Object(i.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("input",{ref:"input",staticClass:"form-control",attrs:{type:"text",placeholder:t.title,"data-index":t.index,autocomplete:"off","data-role":"input",disabled:t.inputDisabled,name:t.inputName,title:t.title},on:{keypress:t.handleEnter,submit:function(t){t.preventDefault()}}}),t._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:t.clearSource}},[n("i",{staticClass:"fa fa-trash-o"})])])]),t._v(" "),n("typeahead",{attrs:{"open-on-empty":!0,"open-on-focus":!0,"async-src":t.accountAutoCompleteURI,target:t.target,"item-key":"name_with_balance"},on:{input:t.selectedItem},model:{value:t.name,callback:function(e){t.name=e},expression:"name"}}),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"019a1ec0",null);e.a=r.exports},function(t,e,n){"use strict";var a={name:"Budget",props:{transactionType:String,value:{type:[String,Number],default:0},error:Array,no_budget:String},mounted:function(){this.loadBudgets()},data:function(){return{selected:this.value,budgets:[]}},methods:{signalChange:function(t){this.$emit("input",this.$refs.budget.value)},handleInput:function(t){this.$emit("input",this.$refs.budget.value)},hasError:function(){return this.error.length>0},loadBudgets:function(){var t=this,e=document.getElementsByTagName("base")[0].href+"json/budgets";axios.get(e,{}).then((function(e){for(var n in t.budgets=[{name:t.no_budget,id:0}],e.data)e.data.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n)&&n<=4294967294&&t.budgets.push(e.data[n])}))}}},i=n(0),r=Object(i.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return void 0===this.transactionType||"withdrawal"===this.transactionType||"Withdrawal"===this.transactionType||""===this.transactionType||null===this.transactionType?n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.$t("firefly.budget"))+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[this.budgets.length>0?n("select",{directives:[{name:"model",rawName:"v-model",value:t.selected,expression:"selected"}],ref:"budget",staticClass:"form-control",attrs:{name:"budget[]",title:t.$t("firefly.budget")},on:{input:t.handleInput,change:[function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.selected=e.target.multiple?n:n[0]},t.signalChange]}},t._l(this.budgets,(function(e){return n("option",{attrs:{label:e.name},domProps:{value:e.id}},[t._v(t._s(e.name)+"\n ")])})),0):t._e(),t._v(" "),1===this.budgets.length?n("p",{staticClass:"help-block",domProps:{innerHTML:t._s(t.$t("firefly.no_budget_pointer"))}}):t._e(),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)]):t._e()}),[],!1,null,"1e0beee7",null);e.a=r.exports},,,,,function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Jak to jde?","flash_error":"Chyba!","flash_success":"Úspěšně dokončeno!","close":"Zavřít","split_transaction_title":"Popis rozúčtování","errors_submission":"There was something wrong with your submission. Please check out the errors below.","split":"Rozdělit","transaction_journal_information":"Informace o transakci","no_budget_pointer":"Zdá se, že zatím nemáte žádné rozpočty. Na stránce rozpočty byste nějaké měli vytvořit. Rozpočty mohou pomoci udržet si přehled ve výdajích.","source_account":"Zdrojový účet","hidden_fields_preferences":"You can enable more transaction options in your settings.","destination_account":"Cílový účet","add_another_split":"Přidat další rozúčtování","submission":"Submission","create_another":"After storing, return here to create another one.","reset_after":"Reset form after submission","submit":"Odeslat","amount":"Částka","date":"Datum","tags":"Štítky","no_budget":"(žádný rozpočet)","category":"Kategorie","attachments":"Přílohy","notes":"Poznámky","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","store_as_new":"Store as a new transaction instead of updating.","split_title_help":"Pokud vytvoříte rozúčtování, je třeba, aby zde byl celkový popis pro všechna rozúčtování dané transakce.","none_in_select_list":"(žádné)","no_piggy_bank":"(žádná pokladnička)","description":"Popis","split_transaction_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","destination_account_reconciliation":"You can\'t edit the destination account of a reconciliation transaction.","source_account_reconciliation":"You can\'t edit the source account of a reconciliation transaction.","budget":"Rozpočet","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"Úrokové datum","book_date":"Datum rezervace","process_date":"Datum zpracování","due_date":"Datum splatnosti","foreign_amount":"Částka v cizí měně","payment_date":"Datum zaplacení","invoice_date":"Datum vystavení","internal_reference":"Interní reference"},"config":{"html_language":"cs"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Überblick","flash_error":"Fehler!","flash_success":"Geschafft!","close":"Schließen","split_transaction_title":"Beschreibung der Splittbuchung","errors_submission":"Problem bei der Übermittlung. Bitte überprüfen Sie die nachfolgenden Fehler.","split":"Teilen","transaction_journal_information":"Transaktionsinformationen","no_budget_pointer":"Sie scheinen noch keine Kostenrahmen festgelegt zu haben. Sie sollten einige davon auf der Seite „Kostenrahmen” anlegen. Kostenrahmen können Ihnen dabei helfen, den Überblick über die Ausgaben zu behalten.","source_account":"Quellkonto","hidden_fields_preferences":"Sie können weitere Buchungsoptionen in Ihren Einstellungen aktivieren.","destination_account":"Zielkonto","add_another_split":"Eine weitere Aufteilung hinzufügen","submission":"Übermittlung","create_another":"Nach dem Speichern hierher zurückkehren, um ein weiteres zu erstellen.","reset_after":"Formular nach der Übermittlung zurücksetzen","submit":"Absenden","amount":"Betrag","date":"Datum","tags":"Schlagwörter","no_budget":"(kein Budget)","category":"Kategorie","attachments":"Anhänge","notes":"Notizen","update_transaction":"Buchung aktualisieren","after_update_create_another":"Nach dem Aktualisieren hierher zurückkehren, um weiter zu bearbeiten.","store_as_new":"Als neue Buchung speichern statt zu aktualisieren.","split_title_help":"Wenn Sie eine Splittbuchung anlegen, muss es eine eindeutige Beschreibung für alle Aufteilungen der Buchhaltung geben.","none_in_select_list":"(Keine)","no_piggy_bank":"(kein Sparschwein)","description":"Beschreibung","split_transaction_title_help":"Wenn Sie eine Splittbuchung anlegen, muss es eine eindeutige Beschreibung für alle Aufteilungen der Buchung geben.","destination_account_reconciliation":"Sie können das Zielkonto einer Kontenausgleichsbuchung nicht bearbeiten.","source_account_reconciliation":"Sie können das Quellkonto einer Kontenausgleichsbuchung nicht bearbeiten.","budget":"Budget","you_create_withdrawal":"Sie haben eine Auszahlung erstellt.","you_create_transfer":"Sie haben eine Buchung erstellt.","you_create_deposit":"Sie haben eine Einzahlung erstellt."},"form":{"interest_date":"Zinstermin","book_date":"Buchungsdatum","process_date":"Bearbeitungsdatum","due_date":"Fälligkeitstermin","foreign_amount":"Ausländischer Betrag","payment_date":"Zahlungsdatum","invoice_date":"Rechnungsdatum","internal_reference":"Interner Verweis"},"config":{"html_language":"de"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"What\'s playing?","flash_error":"Error!","flash_success":"Success!","close":"Close","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors below.","split":"Split","transaction_journal_information":"Transaction information","no_budget_pointer":"You seem to have no budgets yet. You should create some on the budgets-page. Budgets can help you keep track of expenses.","source_account":"Source account","hidden_fields_preferences":"You can enable more transaction options in your settings.","destination_account":"Destination account","add_another_split":"Add another split","submission":"Submission","create_another":"After storing, return here to create another one.","reset_after":"Reset form after submission","submit":"Submit","amount":"Amount","date":"Date","tags":"Tags","no_budget":"(no budget)","category":"Category","attachments":"Attachments","notes":"Notes","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","store_as_new":"Store as a new transaction instead of updating.","split_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","none_in_select_list":"(none)","no_piggy_bank":"(no piggy bank)","description":"Description","split_transaction_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","destination_account_reconciliation":"You can\'t edit the destination account of a reconciliation transaction.","source_account_reconciliation":"You can\'t edit the source account of a reconciliation transaction.","budget":"Budget","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"Interest date","book_date":"Book date","process_date":"Processing date","due_date":"Due date","foreign_amount":"Foreign amount","payment_date":"Payment date","invoice_date":"Invoice date","internal_reference":"Internal reference"},"config":{"html_language":"en"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"¿Qué está pasando?","flash_error":"¡Error!","flash_success":"¡Operación correcta!","close":"Cerrar","split_transaction_title":"Descripción de la transacción dividida","errors_submission":"Hubo algo malo con su envío. Por favor, revise los errores de abajo.","split":"Separar","transaction_journal_information":"Información de transacción","no_budget_pointer":"Parece que aún no tiene presupuestos. Debe crear algunos en la página presupuestos. Los presupuestos pueden ayudarle a realizar un seguimiento de los gastos.","source_account":"Cuenta origen","hidden_fields_preferences":"Puede habilitar más opciones de transacción en sus ajustes .","destination_account":"Cuenta destino","add_another_split":"Añadir otra división","submission":"Envío","create_another":"Después de guardar, vuelve aquí para crear otro.","reset_after":"Restablecer formulario después del envío","submit":"Enviar","amount":"Cantidad","date":"Fecha","tags":"Etiquetas","no_budget":"(sin presupuesto)","category":"Categoria","attachments":"Archivos adjuntos","notes":"Notas","update_transaction":"Actualizar transacción","after_update_create_another":"Después de actualizar, vuelve aquí para continuar editando.","store_as_new":"Almacenar como una nueva transacción en lugar de actualizar.","split_title_help":"Si crea una transacción dividida, debe haber una descripción global para todos los fragmentos de la transacción.","none_in_select_list":"(ninguno)","no_piggy_bank":"(sin alcancía)","description":"Descripción","split_transaction_title_help":"Si crea una transacción dividida, debe existir una descripción global para todas las divisiones de la transacción.","destination_account_reconciliation":"No puede editar la cuenta de destino de una transacción de reconciliación.","source_account_reconciliation":"No puede editar la cuenta de origen de una transacción de reconciliación.","budget":"Presupuesto","you_create_withdrawal":"Está creando un retiro.","you_create_transfer":"Está creando una transferencia.","you_create_deposit":"Está creando un depósito."},"form":{"interest_date":"Fecha de interés","book_date":"Fecha de registro","process_date":"Fecha de procesamiento","due_date":"Fecha de vencimiento","foreign_amount":"Cantidad extranjera","payment_date":"Fecha de pago","invoice_date":"Fecha de la factura","internal_reference":"Referencia interna"},"config":{"html_language":"es"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Τι παίζει;","flash_error":"Σφάλμα!","flash_success":"Επιτυχία!","close":"Κλείσιμο","split_transaction_title":"Περιγραφή της συναλλαγής με διαχωρισμό","errors_submission":"Υπήρξε κάποιο λάθος με την υποβολή σας. Ελέγξτε τα παρακάτω σφάλματα.","split":"Διαχωρισμός","transaction_journal_information":"Πληροφορίες συναλλαγής","no_budget_pointer":"Φαίνεται πως δεν έχετε ορίσει προϋπολογισμούς ακόμη. Πρέπει να δημιουργήσετε κάποιον στη σελίδα προϋπολογισμών. Οι προϋπολογισμοί σας βοηθούν να επιβλέπετε τις δαπάνες σας.","source_account":"Λογαριασμός προέλευσης","hidden_fields_preferences":"Μπορείτε να ενεργοποιήσετε περισσότερες επιλογές συναλλαγών στις ρυθμίσεις.","destination_account":"Λογαριασμός προορισμού","add_another_split":"Προσθήκη ενός ακόμα διαχωρισμού","submission":"Υποβολή","create_another":"Μετά την αποθήκευση, επιστρέψτε εδώ για να δημιουργήσετε ακόμη ένα.","reset_after":"Επαναφορά φόρμας μετά την υποβολή","submit":"Υποβολή","amount":"Ποσό","date":"Ημερομηνία","tags":"Ετικέτες","no_budget":"(χωρίς προϋπολογισμό)","category":"Κατηγορία","attachments":"Συνημμένα","notes":"Σημειώσεις","update_transaction":"Ενημέρωση συναλλαγής","after_update_create_another":"Μετά την ενημέρωση, επιστρέψτε εδώ για να συνεχίσετε την επεξεργασία.","store_as_new":"Αποθήκευση ως νέα συναλλαγή αντί για ενημέρωση.","split_title_help":"Εάν δημιουργήσετε μια διαχωρισμένη συναλλαγή, πρέπει να υπάρχει μια καθολική περιγραφή για όλους τους διαχωρισμούς της συναλλαγής.","none_in_select_list":"(τίποτα)","no_piggy_bank":"(χωρίς κουμπαρά)","description":"Περιγραφή","split_transaction_title_help":"Εάν δημιουργήσετε μια διαχωρισμένη συναλλαγή, πρέπει να υπάρχει μια καθολική περιγραφή για όλους τους διαχωρισμούς της συναλλαγής.","destination_account_reconciliation":"Δεν μπορείτε να τροποποιήσετε τον λογαριασμό προορισμού σε μια συναλλαγή τακτοποίησης.","source_account_reconciliation":"Δεν μπορείτε να τροποποιήσετε τον λογαριασμό προέλευσης σε μια συναλλαγή τακτοποίησης.","budget":"Προϋπολογισμός","you_create_withdrawal":"Δημιουργείτε μια ανάληψη.","you_create_transfer":"Δημιουργείτε μια μεταφορά.","you_create_deposit":"Δημιουργείτε μια κατάθεση."},"form":{"interest_date":"Ημερομηνία τοκισμού","book_date":"Ημερομηνία εγγραφής","process_date":"Ημερομηνία επεξεργασίας","due_date":"Ημερομηνία προθεσμίας","foreign_amount":"Ποσό σε ξένο νόμισμα","payment_date":"Ημερομηνία πληρωμής","invoice_date":"Ημερομηνία τιμολόγησης","internal_reference":"Εσωτερική αναφορά"},"config":{"html_language":"el"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Que se passe-t-il ?","flash_error":"Erreur !","flash_success":"Super !","close":"Fermer","split_transaction_title":"Description de l\'opération ventilée","errors_submission":"Certaines informations ne sont pas correctes dans votre formulaire. Veuillez vérifier les erreurs ci-dessous.","split":"Ventiler","transaction_journal_information":"Informations sur les opérations","no_budget_pointer":"Vous semblez n’avoir encore aucun budget. Vous devriez en créer un sur la page des budgets. Les budgets peuvent vous aider à garder une trace des dépenses.","source_account":"Compte source","hidden_fields_preferences":"Vous pouvez activer plus d\'options d\'opérations dans vos paramètres.","destination_account":"Compte de destination","add_another_split":"Ajouter une autre fraction","submission":"Soumission","create_another":"Après enregistrement, revenir ici pour en créer un nouveau.","reset_after":"Réinitialiser le formulaire après soumission","submit":"Soumettre","amount":"Montant","date":"Date","tags":"Tags","no_budget":"(pas de budget)","category":"Catégorie","attachments":"Pièces jointes","notes":"Notes","update_transaction":"Mettre à jour l\'opération","after_update_create_another":"Après la mise à jour, revenir ici pour continuer l\'édition.","store_as_new":"Enregistrer comme une nouvelle opération au lieu de mettre à jour.","split_title_help":"Si vous créez une opération ventilée, il doit y avoir une description globale pour chaque fractions de l\'opération.","none_in_select_list":"(aucun)","no_piggy_bank":"(aucune tirelire)","description":"Description","split_transaction_title_help":"Si vous créez une opération ventilée, il doit y avoir une description globale pour chaque fraction de l\'opération.","destination_account_reconciliation":"Vous ne pouvez pas modifier le compte de destination d\'une opération de rapprochement.","source_account_reconciliation":"Vous ne pouvez pas modifier le compte source d\'une opération de rapprochement.","budget":"Budget","you_create_withdrawal":"Vous saisissez une dépense.","you_create_transfer":"Vous saisissez un transfert.","you_create_deposit":"Vous saisissez un dépôt."},"form":{"interest_date":"Date de valeur (intérêts)","book_date":"Date de réservation","process_date":"Date de traitement","due_date":"Échéance","foreign_amount":"Montant en devise étrangère","payment_date":"Date de paiement","invoice_date":"Date de facturation","internal_reference":"Référence interne"},"config":{"html_language":"fr"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Mi a helyzet?","flash_error":"Hiba!","flash_success":"Siker!","close":"Bezárás","split_transaction_title":"Felosztott tranzakció leírása","errors_submission":"Hiba történt a beküldés során. Kérem, javítsa az alábbi hibákat.","split":"Felosztás","transaction_journal_information":"Tranzakciós információk","no_budget_pointer":"Úgy tűnik, még nincsenek költségkeretek. Költségkereteket a költségkeretek oldalon lehet létrehozni. A költségkeretek segítenek nyomon követni a költségeket.","source_account":"Forrás számla","hidden_fields_preferences":"A beállításokban több tranzakciós beállítási lehetőség is megadható.","destination_account":"Célszámla","add_another_split":"Másik felosztás hozzáadása","submission":"Feliratkozás","create_another":"A tárolás után térjen vissza ide új létrehozásához.","reset_after":"Űrlap törlése a beküldés után","submit":"Beküldés","amount":"Összeg","date":"Dátum","tags":"Címkék","no_budget":"(nincs költségkeret)","category":"Kategória","attachments":"Mellékletek","notes":"Megjegyzések","update_transaction":"Tranzakció frissítése","after_update_create_another":"A frissítés után térjen vissza ide a szerkesztés folytatásához.","store_as_new":"Tárolás új tranzakcióként frissítés helyett.","split_title_help":"Felosztott tranzakció létrehozásakor meg kell adni egy globális leírást a tranzakció összes felosztása részére.","none_in_select_list":"(nincs)","no_piggy_bank":"(nincs malacpersely)","description":"Leírás","split_transaction_title_help":"Felosztott tranzakció létrehozásakor meg kell adni egy globális leírást a tranzakció összes felosztása részére.","destination_account_reconciliation":"Nem lehet szerkeszteni egy egyeztetett tranzakció célszámláját.","source_account_reconciliation":"Nem lehet szerkeszteni egy egyeztetett tranzakció forrásszámláját.","budget":"Költségkeret","you_create_withdrawal":"Egy költség létrehozása.","you_create_transfer":"Egy átutalás létrehozása.","you_create_deposit":"Egy bevétel létrehozása."},"form":{"interest_date":"Kamatfizetési időpont","book_date":"Könyvelés dátuma","process_date":"Feldolgozás dátuma","due_date":"Lejárati időpont","foreign_amount":"Külföldi összeg","payment_date":"Fizetés dátuma","invoice_date":"Számla dátuma","internal_reference":"Belső hivatkozás"},"config":{"html_language":"hu"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"What\'s playing?","flash_error":"Kesalahan!","flash_success":"Keberhasilan!","close":"Dekat","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors below.","split":"Pisah","transaction_journal_information":"Informasi transaksi","no_budget_pointer":"You seem to have no budgets yet. You should create some on the budgets-page. Budgets can help you keep track of expenses.","source_account":"Source account","hidden_fields_preferences":"You can enable more transaction options in your settings.","destination_account":"Destination account","add_another_split":"Tambahkan perpecahan lagi","submission":"Submission","create_another":"After storing, return here to create another one.","reset_after":"Reset form after submission","submit":"Menyerahkan","amount":"Jumlah","date":"Tanggal","tags":"Tag","no_budget":"(no budget)","category":"Kategori","attachments":"Lampiran","notes":"Notes","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","store_as_new":"Store as a new transaction instead of updating.","split_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","none_in_select_list":"(none)","no_piggy_bank":"(no piggy bank)","description":"Deskripsi","split_transaction_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","destination_account_reconciliation":"You can\'t edit the destination account of a reconciliation transaction.","source_account_reconciliation":"You can\'t edit the source account of a reconciliation transaction.","budget":"Anggaran","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"Tanggal bunga","book_date":"Tanggal buku","process_date":"Tanggal pemrosesan","due_date":"Batas tanggal terakhir","foreign_amount":"Foreign amount","payment_date":"Tanggal pembayaran","invoice_date":"Tanggal faktur","internal_reference":"Referensi internal"},"config":{"html_language":"id"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"La tua situazione finanziaria","flash_error":"Errore!","flash_success":"Successo!","close":"Chiudi","split_transaction_title":"Descrizione della transazione suddivisa","errors_submission":"Errore durante l\'invio. Controlla gli errori segnalati qui sotto.","split":"Dividi","transaction_journal_information":"Informazioni transazione","no_budget_pointer":"Sembra che tu non abbia ancora dei budget. Dovresti crearne alcuni nella pagina dei budget. I budget possono aiutarti a tenere traccia delle spese.","source_account":"Conto di origine","hidden_fields_preferences":"Puoi abilitare maggiori opzioni per le transazioni nelle tue impostazioni.","destination_account":"Conto destinazione","add_another_split":"Aggiungi un\'altra divisione","submission":"Invio","create_another":"Dopo il salvataggio, torna qui per crearne un\'altra.","reset_after":"Resetta il modulo dopo l\'invio","submit":"Invia","amount":"Importo","date":"Data","tags":"Etichette","no_budget":"(nessun budget)","category":"Categoria","attachments":"Allegati","notes":"Note","update_transaction":"Aggiorna transazione","after_update_create_another":"Dopo l\'aggiornamento, torna qui per continuare la modifica.","store_as_new":"Salva come nuova transazione invece di aggiornarla.","split_title_help":"Se crei una transazione suddivisa è necessario che ci sia una descrizione globale per tutte le suddivisioni della transazione.","none_in_select_list":"(nessuna)","no_piggy_bank":"(nessun salvadanaio)","description":"Descrizione","split_transaction_title_help":"Se crei una transazione suddivisa, è necessario che ci sia una descrizione globale per tutte le suddivisioni della transazione.","destination_account_reconciliation":"Non è possibile modificare il conto di destinazione di una transazione di riconciliazione.","source_account_reconciliation":"Non puoi modificare il conto di origine di una transazione di riconciliazione.","budget":"Budget","you_create_withdrawal":"Stai creando un prelievo.","you_create_transfer":"Stai creando un trasferimento.","you_create_deposit":"Stai creando un deposito."},"form":{"interest_date":"Data interesse","book_date":"Data contabile","process_date":"Data elaborazione","due_date":"Data scadenza","foreign_amount":"Importo estero","payment_date":"Data pagamento","invoice_date":"Data fatturazione","internal_reference":"Riferimento interno"},"config":{"html_language":"it"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Hoe staat het er voor?","flash_error":"Fout!","flash_success":"Gelukt!","close":"Sluiten","split_transaction_title":"Beschrijving van de gesplitste transactie","errors_submission":"Er ging iets mis. Check de errors.","split":"Splitsen","transaction_journal_information":"Transactieinformatie","no_budget_pointer":"Je hebt nog geen budgetten. Maak er een aantal op de budgetten-pagina. Met budgetten kan je je uitgaven beter bijhouden.","source_account":"Bronrekening","hidden_fields_preferences":"Je kan meer transactieopties inschakelen in je instellingen.","destination_account":"Doelrekening","add_another_split":"Voeg een split toe","submission":"Indienen","create_another":"Terug naar deze pagina voor een nieuwe transactie.","reset_after":"Reset formulier na opslaan","submit":"Invoeren","amount":"Bedrag","date":"Datum","tags":"Tags","no_budget":"(geen budget)","category":"Categorie","attachments":"Bijlagen","notes":"Notities","update_transaction":"Update transactie","after_update_create_another":"Na het opslaan terug om door te gaan met wijzigen.","store_as_new":"Opslaan als nieuwe transactie ipv de huidige bij te werken.","split_title_help":"Als je een gesplitste transactie maakt, moet er een algemene beschrijving zijn voor alle splitsingen van de transactie.","none_in_select_list":"(geen)","no_piggy_bank":"(geen spaarpotje)","description":"Omschrijving","split_transaction_title_help":"Als je een gesplitste transactie maakt, moet er een algemene beschrijving zijn voor alle splitsingen van de transactie.","destination_account_reconciliation":"Je kan de doelrekening van een afstemming niet wijzigen.","source_account_reconciliation":"Je kan de bronrekening van een afstemming niet wijzigen.","budget":"Budget","you_create_withdrawal":"Je maakt een uitgave.","you_create_transfer":"Je maakt een overschrijving.","you_create_deposit":"Je maakt inkomsten."},"form":{"interest_date":"Rentedatum","book_date":"Boekdatum","process_date":"Verwerkingsdatum","due_date":"Vervaldatum","foreign_amount":"Bedrag in vreemde valuta","payment_date":"Betalingsdatum","invoice_date":"Factuurdatum","internal_reference":"Interne verwijzing"},"config":{"html_language":"nl"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Hvordan går det?","flash_error":"Feil!","flash_success":"Suksess!","close":"Lukk","split_transaction_title":"Description of the split transaction","split":"Del opp","transaction_journal_information":"Transaksjonsinformasjon","source_account":"Source account","destination_account":"Destination account","add_another_split":"Legg til en oppdeling til","submit":"Send inn","amount":"Beløp","no_budget":"(ingen budsjett)","category":"Kategori","attachments":"Vedlegg","notes":"Notater"},"form":{"interest_date":"Rentedato","book_date":"Bokføringsdato","process_date":"Prosesseringsdato","due_date":"Forfallsdato","payment_date":"Betalingsdato","invoice_date":"Fakturadato","internal_reference":"Intern referanse"},"config":{"html_language":"no"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Co jest grane?","flash_error":"Błąd!","flash_success":"Sukces!","close":"Zamknij","split_transaction_title":"Opis podzielonej transakcji","errors_submission":"Coś poszło nie tak w czasie zapisu. Proszę sprawdź błędy poniżej.","split":"Podziel","transaction_journal_information":"Informacje o transakcji","no_budget_pointer":"Wygląda na to że nie masz jeszcze budżetów. Powinieneś utworzyć kilka na stronie budżety. Budżety mogą Ci pomóc śledzić wydatki.","source_account":"Konto źródłowe","hidden_fields_preferences":"Możesz włączyć więcej opcji transakcji w swoich ustawieniach.","destination_account":"Konto docelowe","add_another_split":"Dodaj kolejny podział","submission":"Zapisz","create_another":"Po zapisaniu wróć tutaj, aby utworzyć kolejny.","reset_after":"Wyczyść formularz po zapisaniu","submit":"Prześlij","amount":"Kwota","date":"Data","tags":"Tagi","no_budget":"(brak budżetu)","category":"Kategoria","attachments":"Załączniki","notes":"Notatki","update_transaction":"Zaktualizuj transakcję","after_update_create_another":"Po aktualizacji wróć tutaj, aby kontynuować edycję.","store_as_new":"Zapisz jako nową zamiast aktualizować.","split_title_help":"Podzielone transakcje muszą posiadać globalny opis.","none_in_select_list":"(żadne)","no_piggy_bank":"(brak skarbonki)","description":"Opis","split_transaction_title_help":"Jeśli tworzysz podzieloną transakcję, musi ona posiadać globalny opis dla wszystkich podziałów w transakcji.","destination_account_reconciliation":"Nie możesz edytować konta docelowego transakcji uzgadniania.","source_account_reconciliation":"Nie możesz edytować konta źródłowego transakcji uzgadniania.","budget":"Budżet","you_create_withdrawal":"Tworzysz wydatek.","you_create_transfer":"Tworzysz przelew.","you_create_deposit":"Tworzysz wpłatę."},"form":{"interest_date":"Data odsetek","book_date":"Data księgowania","process_date":"Data przetworzenia","due_date":"Termin realizacji","foreign_amount":"Kwota zagraniczna","payment_date":"Data płatności","invoice_date":"Data faktury","internal_reference":"Wewnętrzny numer"},"config":{"html_language":"pl"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Mitä kuuluu?","flash_error":"Virhe!","flash_success":"Valmista tuli!","close":"Sulje","split_transaction_title":"Jaetun tapahtuman kuvaus","errors_submission":"Lomakkeen tiedoissa oli puutteita - alta löydät listan puutteista.","split":"Jaa","transaction_journal_information":"Tapahtumatiedot","no_budget_pointer":"Sinulla ei näyttäisi olevan vielä yhtään budjettia. Sinun kannattaisi luoda niitä budjetit-sivulla. Budjetit voivat auttaa sinua pitämään kirjaa kuluistasi.","source_account":"Lähdetili","hidden_fields_preferences":"Voit aktivoida lisää tapahtumavalintoja asetuksissa.","destination_account":"Kohdetili","add_another_split":"Lisää tapahtumaan uusi osa","submission":"Vahvistus","create_another":"Tallennuksen jälkeen, palaa takaisin luomaan uusi tapahtuma.","reset_after":"Tyhjennä lomake lähetyksen jälkeen","submit":"Vahvista","amount":"Summa","date":"Päivämäärä","tags":"Tägit","no_budget":"(ei budjettia)","category":"Kategoria","attachments":"Liitteet","notes":"Muistiinpanot","update_transaction":"Päivitä tapahtuma","after_update_create_another":"Päivityksen jälkeen, palaa takaisin jatkamaan muokkausta.","store_as_new":"Tallenna uutena tapahtumana päivityksen sijaan.","split_title_help":"Jos luot jaetun tapahtuman, kokonaisuudelle tarvitaan nimi.","none_in_select_list":"(ei mitään)","no_piggy_bank":"(ei säästöpossu)","description":"Kuvaus","split_transaction_title_help":"Jos luot jaetun tapahtuman, kokonaisuudelle tarvitaan nimi.","destination_account_reconciliation":"Et voi muokata täsmäytystapahtuman kohdetiliä.","source_account_reconciliation":"Et voi muokata täsmäytystapahtuman lähdetiliä.","budget":"Budjetti","you_create_withdrawal":"Olet luomassa nostoa.","you_create_transfer":"Olet luomassa siirtoa.","you_create_deposit":"Olet luomassa talletusta."},"form":{"interest_date":"Korkopäivä","book_date":"Kirjauspäivä","process_date":"Käsittelypäivä","due_date":"Eräpäivä","foreign_amount":"Ulkomaan summa","payment_date":"Maksupäivä","invoice_date":"Laskun päivämäärä","internal_reference":"Sisäinen viite"},"config":{"html_language":"fi"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"O que está acontecendo?","flash_error":"Erro!","flash_success":"Sucesso!","close":"Fechar","split_transaction_title":"Descrição da transação dividida","errors_submission":"There was something wrong with your submission. Please check out the errors below.","split":"Dividir","transaction_journal_information":"Informação da transação","no_budget_pointer":"Parece que você ainda não tem orçamentos. Você deve criar alguns na página de orçamentos. Orçamentos podem ajudá-lo a manter o controle das despesas.","source_account":"Conta origem","hidden_fields_preferences":"You can enable more transaction options in your settings.","destination_account":"Conta destino","add_another_split":"Adicionar outra divisão","submission":"Submission","create_another":"After storing, return here to create another one.","reset_after":"Reset form after submission","submit":"Enviar","amount":"Valor","date":"Data","tags":"Tags","no_budget":"(sem orçamento)","category":"Categoria","attachments":"Anexos","notes":"Notas","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","store_as_new":"Store as a new transaction instead of updating.","split_title_help":"Se você criar uma transação dividida, é necessário haver uma descrição global para todas as partes da transação.","none_in_select_list":"(nenhum)","no_piggy_bank":"(nenhum cofrinho)","description":"Descrição","split_transaction_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","destination_account_reconciliation":"Você não pode editar a conta de origem de uma transação de reconciliação.","source_account_reconciliation":"Você não pode editar a conta de origem de uma transação de reconciliação.","budget":"Orçamento","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"Data de interesse","book_date":"Data reserva","process_date":"Data de processamento","due_date":"Data de vencimento","foreign_amount":"Montante em moeda estrangeira","payment_date":"Data de pagamento","invoice_date":"Data da Fatura","internal_reference":"Referência interna"},"config":{"html_language":"pt-br"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Ce se redă?","flash_error":"Eroare!","flash_success":"Succes!","close":"Închide","split_transaction_title":"Descrierea tranzacției divizate","errors_submission":"A fost ceva în neregulă cu transmiterea dvs. Vă rugăm să consultați erorile de mai jos.","split":"Împarte","transaction_journal_information":"Informații despre tranzacții","no_budget_pointer":"You seem to have no budgets yet. You should create some on the budgets-page. Budgets can help you keep track of expenses.","source_account":"Contul sursă","hidden_fields_preferences":"You can enable more transaction options in your settings.","destination_account":"Contul de destinație","add_another_split":"Adăugați o divizare","submission":"Transmitere","create_another":"După stocare, reveniți aici pentru a crea alta.","reset_after":"Resetați formularul după trimitere","submit":"Trimite","amount":"Sumă","date":"Dată","tags":"Etichete","no_budget":"(nici un buget)","category":"Categorie","attachments":"Atașamente","notes":"Notițe","update_transaction":"Actualizați tranzacția","after_update_create_another":"După actualizare, reveniți aici pentru a continua editarea.","store_as_new":"Stocați ca o tranzacție nouă în loc să actualizați.","split_title_help":"Dacă creați o tranzacție divizată, trebuie să existe o descriere globală pentru toate diviziunile tranzacției.","none_in_select_list":"(nici unul)","no_piggy_bank":"(nicio pușculiță)","description":"Descriere","split_transaction_title_help":"Dacă creați o tranzacție divizată, trebuie să existe o descriere globală pentru toate diviziunile tranzacției.","destination_account_reconciliation":"Nu puteți edita contul de destinație al unei tranzacții de reconciliere.","source_account_reconciliation":"Nu puteți edita contul sursă al unei tranzacții de reconciliere.","budget":"Buget","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"Data de interes","book_date":"Rezervă dată","process_date":"Data procesării","due_date":"Data scadentă","foreign_amount":"Sumă străină","payment_date":"Data de plată","invoice_date":"Data facturii","internal_reference":"Referință internă"},"config":{"html_language":"ro"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Что происходит с моими финансами?","flash_error":"Ошибка!","flash_success":"Успешно!","close":"Закрыть","split_transaction_title":"Описание разделённой транзакции","errors_submission":"При отправке произошла ошибка. Пожалуйста, проверьте ошибки ниже.","split":"Разделить","transaction_journal_information":"Информация о транзакции","no_budget_pointer":"Похоже, у вас пока нет бюджетов. Вы должны создать их в разделе Бюджеты. Бюджеты могут помочь вам отслеживать расходы.","source_account":"Счёт-источник","hidden_fields_preferences":"You can enable more transaction options in your settings.","destination_account":"Счёт назначения","add_another_split":"Добавить новую часть","submission":"Отправить","create_another":"После сохранения вернуться сюда и создать ещё одну аналогичную запись.","reset_after":"Сбросить форму после отправки","submit":"Подтвердить","amount":"Сумма","date":"Дата","tags":"Метки","no_budget":"(вне бюджета)","category":"Категория","attachments":"Вложения","notes":"Заметки","update_transaction":"Обновить транзакцию","after_update_create_another":"После обновления вернитесь сюда, чтобы продолжить редактирование.","store_as_new":"Сохранить как новую транзакцию вместо обновления.","split_title_help":"Если вы создаёте разделённую транзакцию, то должны указать общее описание дле всех её составляющих.","none_in_select_list":"(нет)","no_piggy_bank":"(нет копилки)","description":"Описание","split_transaction_title_help":"Если вы создаёте разделённую транзакцию, то должны указать общее описание для всех её составляющих.","destination_account_reconciliation":"You can\'t edit the destination account of a reconciliation transaction.","source_account_reconciliation":"Вы не можете редактировать исходный аккаунт сверки.","budget":"Бюджет","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"Дата выплаты","book_date":"Дата бронирования","process_date":"Дата обработки","due_date":"Срок","foreign_amount":"Сумма в иностранной валюте","payment_date":"Дата платежа","invoice_date":"Дата выставления счёта","internal_reference":"Внутренняя ссылка"},"config":{"html_language":"ru"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"吃饱没?","flash_error":"错误!","flash_success":"成功!","close":"关闭","split_transaction_title":"拆分交易的描述","split":"分割","transaction_journal_information":"交易资讯","source_account":"来源帐户","destination_account":"目标帐户","add_another_split":"增加拆分","submit":"送出","amount":"金额","no_budget":"(无预算)","category":"分类","attachments":"附加档案","notes":"注释"},"form":{"interest_date":"利率日期","book_date":"登记日期","process_date":"处理日期","due_date":"到期日","payment_date":"付款日期","invoice_date":"发票日期","internal_reference":"内部参考"},"config":{"html_language":"zh"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"What\'s playing?","flash_error":"錯誤!","flash_success":"成功!","close":"關閉","split_transaction_title":"拆分交易的描述","errors_submission":"There was something wrong with your submission. Please check out the errors below.","split":"分割","transaction_journal_information":"交易資訊","no_budget_pointer":"You seem to have no budgets yet. You should create some on the budgets-page. Budgets can help you keep track of expenses.","source_account":"Source account","hidden_fields_preferences":"You can enable more transaction options in your settings.","destination_account":"Destination account","add_another_split":"增加拆分","submission":"Submission","create_another":"After storing, return here to create another one.","reset_after":"Reset form after submission","submit":"送出","amount":"金額","date":"日期","tags":"標籤","no_budget":"(無預算)","category":"分類","attachments":"附加檔案","notes":"備註","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","store_as_new":"Store as a new transaction instead of updating.","split_title_help":"若您建立一筆拆分交易,須有一個有關交易所有拆分的整體描述。","none_in_select_list":"(空)","no_piggy_bank":"(no piggy bank)","description":"描述","split_transaction_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","destination_account_reconciliation":"You can\'t edit the destination account of a reconciliation transaction.","source_account_reconciliation":"You can\'t edit the source account of a reconciliation transaction.","budget":"預算","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"利率日期","book_date":"登記日期","process_date":"處理日期","due_date":"到期日","foreign_amount":"外幣金額","payment_date":"付款日期","invoice_date":"發票日期","internal_reference":"內部參考"},"config":{"html_language":"zh-tw"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"今天理财了吗?","flash_error":"错误!","flash_success":"成功!","close":"关闭","split_transaction_title":"拆分交易的描述","errors_submission":"您的提交有误,请查看下面输出的错误信息。","split":"分割","transaction_journal_information":"交易资讯","no_budget_pointer":"您似乎还没有任何预算。您应该在 预算页面上创建他们。预算可以帮助您跟踪费用。","source_account":"来源帐户","hidden_fields_preferences":"您可以在 设置中启用更多的交易选项。","destination_account":"目标帐户","add_another_split":"增加拆分","submission":"提交","create_another":"保存后,返回此页面创建另一笔记录。","reset_after":"提交后重置表单","submit":"提交","amount":"金额","date":"日期","tags":"标签","no_budget":"(无预算)","category":"分类","attachments":"附加档案","notes":"注释","update_transaction":"更新交易","after_update_create_another":"更新后,返回此页面继续编辑。","store_as_new":"保存为新交易而不是更新此交易。","split_title_help":"如果您创建一个拆分交易,必须有一个全局的交易描述。","none_in_select_list":"(空)","no_piggy_bank":"(无存钱罐)","description":"描述","split_transaction_title_help":"如果您创建了一个分割交易,交易的所有分割项都必须有全局描述。","destination_account_reconciliation":"您不能编辑对账交易的目标账户","source_account_reconciliation":"您不能编辑对账交易的源账户","budget":"预算","you_create_withdrawal":"您正在创建一个提款","you_create_transfer":"您正在创建一个转账","you_create_deposit":"您正在创建一个存款"},"form":{"interest_date":"利率日期","book_date":"登记日期","process_date":"处理日期","due_date":"到期日","foreign_amount":"外币金额","payment_date":"付款日期","invoice_date":"发票日期","internal_reference":"内部参考"},"config":{"html_language":"zh-cn"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Vad spelas?","flash_error":"Fel!","flash_success":"Slutförd!","close":"Stäng","split_transaction_title":"Description of the split transaction","errors_submission":"Något fel uppstod med inskickningen. Vänligen kontrollera felen nedan.","split":"Dela","transaction_journal_information":"Transaktionsinformation","no_budget_pointer":"You seem to have no budgets yet. You should create some on the budgets-page. Budgets can help you keep track of expenses.","source_account":"Från konto","hidden_fields_preferences":"You can enable more transaction options in your settings.","destination_account":"Till konto","add_another_split":"Lägga till en annan delning","submission":"Inskickning","create_another":"Efter sparat, återkom hit för att skapa ytterligare en.","reset_after":"Återställ formulär efter inskickat","submit":"Skicka","amount":"Belopp","date":"Datum","tags":"Etiketter","no_budget":"(ingen budget)","category":"Kategori","attachments":"Bilagor","notes":"Noteringar","update_transaction":"Uppdatera transaktion","after_update_create_another":"Efter uppdaterat, återkom hit för att fortsätta redigera.","store_as_new":"Spara en ny transaktion istället för att uppdatera.","split_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","none_in_select_list":"(Ingen)","no_piggy_bank":"(ingen spargris)","description":"Beskrivning","split_transaction_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","destination_account_reconciliation":"Du kan inte redigera destinationskontot för en avstämningstransaktion.","source_account_reconciliation":"Du kan inte redigera källkontot för en avstämningstransaktion.","budget":"Budget","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"Räntedatum","book_date":"Bokföringsdatum","process_date":"Behandlingsdatum","due_date":"Förfallodatum","foreign_amount":"Utländskt belopp","payment_date":"Betalningsdatum","invoice_date":"Fakturadatum","internal_reference":"Intern referens"},"config":{"html_language":"sv"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Chào mừng trở lại","flash_error":"Lỗi!","flash_success":"Thành công!","close":"Đóng","split_transaction_title":"Mô tả giao dịch tách","errors_submission":"Có gì đó sai. Vui lòng kiểm tra các lỗi dưới đây.","split":"Chia ra","transaction_journal_information":"Thông tin giao dịch","no_budget_pointer":"Bạn dường như chưa có ngân sách. Bạn nên tạo một cái trên budgets-page. Ngân sách có thể giúp bạn theo dõi chi phí.","source_account":"Nguồn tài khoản","hidden_fields_preferences":"Bạn có thể kích hoạt thêm tùy chọn giao dịch trong settings.","destination_account":"Tài khoản đích","add_another_split":"Thêm một phân chia khác","submission":"Gửi","create_another":"Sau khi lưu trữ, quay trở lại đây để tạo một cái khác.","reset_after":"Đặt lại mẫu sau khi gửi","submit":"Gửi","amount":"Số tiền","date":"Ngày","tags":"Thẻ","no_budget":"(không có ngân sách)","category":"Dan hmucj","attachments":"Tệp đính kèm","notes":"Ghi chú","update_transaction":"Cập nhật giao dịch","after_update_create_another":"Sau khi cập nhật, quay lại đây để tiếp tục chỉnh sửa.","store_as_new":"Lưu trữ như một giao dịch mới thay vì cập nhật.","split_title_help":"Nếu bạn tạo một giao dịch phân tách, phải có một mô tả toàn cầu cho tất cả các phân chia của giao dịch.","none_in_select_list":"(none)","no_piggy_bank":"(no piggy bank)","description":"Sự miêu tả","split_transaction_title_help":"Nếu bạn tạo một giao dịch phân tách, phải có một mô tả toàn cầu cho tất cả các phân chia của giao dịch.","destination_account_reconciliation":"Bạn không thể chỉnh sửa tài khoản đích của giao dịch đối chiếu.","source_account_reconciliation":"Bạn không thể chỉnh sửa tài khoản nguồn của giao dịch đối chiếu.","budget":"Ngân sách","you_create_withdrawal":"Bạn đang tạo một rút tiền.","you_create_transfer":"Bạn đang tạo một chuyển khoản.","you_create_deposit":"Bạn đang tạo một tiền gửi."},"form":{"interest_date":"Ngày lãi","book_date":"Ngày đặt sách","process_date":"Ngày xử lý","due_date":"Ngày đáo hạn","foreign_amount":"Ngoại tệ","payment_date":"Ngày thanh toán","invoice_date":"Ngày hóa đơn","internal_reference":"Tài liệu tham khảo nội bộ"},"config":{"html_language":"vi"}}')},,,,,,,,,,,function(t,e,n){t.exports=n(92)},,,,,,,,,,,function(t,e,n){"use strict";n.r(e);var a=n(30),i={name:"CreateTransaction",components:{},mounted:function(){var t=this;this.addTransactionToArray(),document.onreadystatechange=function(){"complete"===document.readyState&&(t.prefillSourceAccount(),t.prefillDestinationAccount())}},methods:{prefillSourceAccount:function(){0!==window.sourceId&&this.getAccount(window.sourceId,"source_account")},prefillDestinationAccount:function(){0!==destinationId&&this.getAccount(window.destinationId,"destination_account")},getAccount:function(t,e){var n=this,a="./api/v1/accounts/"+t+"?_token="+document.head.querySelector('meta[name="csrf-token"]').content;axios.get(a).then((function(t){var a=t.data.data.attributes;a.type=n.fullAccountType(a.type,a.liability_type),a.id=parseInt(t.data.data.id),"source_account"===e&&n.selectedSourceAccount(0,a),"destination_account"===e&&n.selectedDestinationAccount(0,a)})).catch((function(t){console.warn("Could not auto fill account"),console.warn(t)}))},fullAccountType:function(t,e){var n,a=t;"liabilities"===t&&(a=e);return null!==(n={asset:"Asset account",loan:"Loan",debt:"Debt",mortgage:"Mortgage"}[a])&&void 0!==n?n:a},convertData:function(){var t,e,n,a={transactions:[]};for(var i in this.transactions.length>1&&(a.group_title=this.group_title),t=this.transactionType?this.transactionType.toLowerCase():"invalid",e=this.transactions[0].source_account.type,n=this.transactions[0].destination_account.type,"invalid"===t&&["asset","Asset account","Loan","Debt","Mortgage"].includes(e)&&(t="withdrawal"),"invalid"===t&&["asset","Asset account","Loan","Debt","Mortgage"].includes(n)&&(t="deposit"),this.transactions)this.transactions.hasOwnProperty(i)&&/^0$|^[1-9]\d*$/.test(i)&&i<=4294967294&&a.transactions.push(this.convertDataRow(this.transactions[i],i,t));return""===a.group_title&&a.transactions.length>1&&(a.group_title=a.transactions[0].description),a},convertDataRow:function(t,e,n){var a,i,r,o,s,c,u=[],l=null,A=null;for(var d in i=t.source_account.id,r=t.source_account.name,o=t.destination_account.id,s=t.destination_account.name,c=t.date,e>0&&(c=this.transactions[0].date),"withdrawal"===n&&""===s&&(o=window.cashAccountId),"deposit"===n&&""===r&&(i=window.cashAccountId),e>0&&("withdrawal"===n.toLowerCase()||"transfer"===n.toLowerCase())&&(i=this.transactions[0].source_account.id,r=this.transactions[0].source_account.name),e>0&&("deposit"===n.toLowerCase()||"transfer"===n.toLowerCase())&&(o=this.transactions[0].destination_account.id,s=this.transactions[0].destination_account.name),u=[],l=null,A=null,t.tags)t.tags.hasOwnProperty(d)&&/^0$|^[1-9]\d*$/.test(d)&&d<=4294967294&&u.push(t.tags[d].text);return""!==t.foreign_amount.amount&&0!==parseFloat(t.foreign_amount.amount)&&(l=t.foreign_amount.amount,A=t.foreign_amount.currency_id),A===t.currency_id&&(l=null,A=null),0===o&&(o=null),0===i&&(i=null),1===(t.amount.match(/\,/g)||[]).length&&(t.amount=t.amount.replace(",",".")),a={type:n,date:c,amount:t.amount,currency_id:t.currency_id,description:t.description,source_id:i,source_name:r,destination_id:o,destination_name:s,category_name:t.category,interest_date:t.custom_fields.interest_date,book_date:t.custom_fields.book_date,process_date:t.custom_fields.process_date,due_date:t.custom_fields.due_date,payment_date:t.custom_fields.payment_date,invoice_date:t.custom_fields.invoice_date,internal_reference:t.custom_fields.internal_reference,notes:t.custom_fields.notes},u.length>0&&(a.tags=u),null!==l&&(a.foreign_amount=l,a.foreign_currency_id=A),parseInt(t.budget)>0&&(a.budget_id=parseInt(t.budget)),parseInt(t.piggy_bank)>0&&(a.piggy_bank_id=parseInt(t.piggy_bank)),a},submit:function(t){var e=this,n="./api/v1/transactions?_token="+document.head.querySelector('meta[name="csrf-token"]').content,a=this.convertData(),i=$("#submitButton");i.prop("disabled",!0),axios.post(n,a).then((function(t){0===e.collectAttachmentData(t)&&e.redirectUser(t.data.data.id,t.data.data)})).catch((function(t){console.error("Error in transaction submission."),console.error(t),e.parseErrors(t.response.data),console.log("enable button again."),i.removeAttr("disabled")})),t&&t.preventDefault()},escapeHTML:function(t){var e=document.createElement("div");return e.innerText=t,e.innerHTML},redirectUser:function(t,e){var n=this,a=null===e.attributes.group_title?e.attributes.transactions[0].description:e.attributes.group_title;this.createAnother?(this.success_message='Transaction #'+t+' ("'+this.escapeHTML(a)+'") has been stored.',this.error_message="",this.resetFormAfter&&(this.resetTransactions(),setTimeout((function(){return n.addTransactionToArray()}),50)),this.setDefaultErrors(),console.log("enable button again."),$("#submitButton").removeAttr("disabled")):window.location.href=window.previousUri+"?transaction_group_id="+t+"&message=created"},collectAttachmentData:function(t){var e=this,n=t.data.data.id,a=[],i=[],r=$('input[name="attachments[]"]');for(var o in r)if(r.hasOwnProperty(o)&&/^0$|^[1-9]\d*$/.test(o)&&o<=4294967294)for(var s in r[o].files)r[o].files.hasOwnProperty(s)&&/^0$|^[1-9]\d*$/.test(s)&&s<=4294967294&&a.push({journal:t.data.data.attributes.transactions[o].transaction_journal_id,file:r[o].files[s]});var c=a.length,u=function(r){var o,s,u;a.hasOwnProperty(r)&&/^0$|^[1-9]\d*$/.test(r)&&r<=4294967294&&(o=a[r],s=e,(u=new FileReader).onloadend=function(e){e.target.readyState===FileReader.DONE&&(i.push({name:a[r].file.name,journal:a[r].journal,content:new Blob([e.target.result])}),i.length===c&&s.uploadFiles(i,n,t.data.data))},u.readAsArrayBuffer(o.file))};for(var l in a)u(l);return c},uploadFiles:function(t,e,n){var a=this,i=t.length,r=0,o=function(o){if(t.hasOwnProperty(o)&&/^0$|^[1-9]\d*$/.test(o)&&o<=4294967294){var s={filename:t[o].name,attachable_type:"TransactionJournal",attachable_id:t[o].journal};axios.post("./api/v1/attachments",s).then((function(s){var c="./api/v1/attachments/"+s.data.data.id+"/upload";axios.post(c,t[o].content).then((function(t){return++r===i&&a.redirectUser(e,n),!0})).catch((function(t){return console.error("Could not upload"),console.error(t),++r===i&&a.redirectUser(e,n),!1}))}))}};for(var s in t)o(s)},setDefaultErrors:function(){for(var t in this.transactions)this.transactions.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294&&(this.transactions[t].errors={source_account:[],destination_account:[],description:[],amount:[],date:[],budget_id:[],foreign_amount:[],category:[],piggy_bank:[],tags:[],custom_errors:{interest_date:[],book_date:[],process_date:[],due_date:[],payment_date:[],invoice_date:[],internal_reference:[],notes:[],attachments:[]}})},parseErrors:function(t){var e,n;for(var a in this.setDefaultErrors(),this.error_message="",t.message.length>0?this.error_message=this.$t("firefly.errors_submission"):this.error_message="",t.errors)if(t.errors.hasOwnProperty(a)){if("group_title"===a&&(this.group_title_errors=t.errors[a]),"group_title"!==a)switch(e=parseInt(a.split(".")[1]),n=a.split(".")[2]){case"amount":case"date":case"budget_id":case"description":case"tags":this.transactions[e].errors[n]=t.errors[a];break;case"source_name":case"source_id":this.transactions[e].errors.source_account=this.transactions[e].errors.source_account.concat(t.errors[a]);break;case"destination_name":case"destination_id":this.transactions[e].errors.destination_account=this.transactions[e].errors.destination_account.concat(t.errors[a]);break;case"foreign_amount":case"foreign_currency_id":this.transactions[e].errors.foreign_amount=this.transactions[e].errors.foreign_amount.concat(t.errors[a])}void 0!==this.transactions[e]&&(this.transactions[e].errors.source_account=Array.from(new Set(this.transactions[e].errors.source_account)),this.transactions[e].errors.destination_account=Array.from(new Set(this.transactions[e].errors.destination_account)))}},resetTransactions:function(){this.transactions=[]},addTransactionToArray:function(t){if(this.transactions.push({description:"",date:"",amount:"",category:"",piggy_bank:0,errors:{source_account:[],destination_account:[],description:[],amount:[],date:[],budget_id:[],foreign_amount:[],category:[],piggy_bank:[],tags:[],custom_errors:{interest_date:[],book_date:[],process_date:[],due_date:[],payment_date:[],invoice_date:[],internal_reference:[],notes:[],attachments:[]}},budget:0,tags:[],custom_fields:{interest_date:"",book_date:"",process_date:"",due_date:"",payment_date:"",invoice_date:"",internal_reference:"",notes:"",attachments:[]},foreign_amount:{amount:"",currency_id:0},source_account:{id:0,name:"",type:"",currency_id:0,currency_name:"",currency_code:"",currency_decimal_places:2,allowed_types:["Asset account","Revenue account","Loan","Debt","Mortgage"],default_allowed_types:["Asset account","Revenue account","Loan","Debt","Mortgage"]},destination_account:{id:0,name:"",type:"",currency_id:0,currency_name:"",currency_code:"",currency_decimal_places:2,allowed_types:["Asset account","Expense account","Loan","Debt","Mortgage"],default_allowed_types:["Asset account","Expense account","Loan","Debt","Mortgage"]}}),1===this.transactions.length){var e=new Date;this.transactions[0].date=e.getFullYear()+"-"+("0"+(e.getMonth()+1)).slice(-2)+"-"+("0"+e.getDate()).slice(-2)}t&&t.preventDefault()},setTransactionType:function(t){this.transactionType=t},deleteTransaction:function(t,e){for(var n in e.preventDefault(),this.transactions)this.transactions.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n);for(var a in this.transactions.splice(t,1),this.transactions)this.transactions.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)},limitSourceType:function(t){var e;for(e=0;e1?n("span",[t._v(t._s(t.$t("firefly.split"))+" "+t._s(a+1)+" / "+t._s(t.transactions.length))]):t._e(),t._v(" "),1===t.transactions.length?n("span",[t._v(t._s(t.$t("firefly.transaction_journal_information")))]):t._e()]),t._v(" "),t.transactions.length>1?n("div",{staticClass:"box-tools pull-right",attrs:{x:""}},[n("button",{staticClass:"btn btn-xs btn-danger",attrs:{type:"button"},on:{click:function(e){return t.deleteTransaction(a,e)}}},[n("i",{staticClass:"fa fa-trash"})])]):t._e()]),t._v(" "),n("div",{staticClass:"box-body"},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-lg-4"},[n("transaction-description",{attrs:{index:a,error:e.errors.description},model:{value:e.description,callback:function(n){t.$set(e,"description",n)},expression:"transaction.description"}}),t._v(" "),n("account-select",{attrs:{inputName:"source[]",title:t.$t("firefly.source_account"),accountName:e.source_account.name,accountTypeFilters:e.source_account.allowed_types,defaultAccountTypeFilters:e.source_account.default_allowed_types,transactionType:t.transactionType,index:a,error:e.errors.source_account},on:{"clear:value":function(e){return t.clearSource(a)},"select:account":function(e){return t.selectedSourceAccount(a,e)}}}),t._v(" "),n("account-select",{attrs:{inputName:"destination[]",title:t.$t("firefly.destination_account"),accountName:e.destination_account.name,accountTypeFilters:e.destination_account.allowed_types,defaultAccountTypeFilters:e.destination_account.default_allowed_types,transactionType:t.transactionType,index:a,error:e.errors.destination_account},on:{"clear:value":function(e){return t.clearDestination(a)},"select:account":function(e){return t.selectedDestinationAccount(a,e)}}}),t._v(" "),0===a?n("standard-date",{attrs:{index:a,error:e.errors.date},model:{value:e.date,callback:function(n){t.$set(e,"date",n)},expression:"transaction.date"}}):t._e(),t._v(" "),0===a?n("div",[n("transaction-type",{attrs:{source:e.source_account.type,destination:e.destination_account.type},on:{"set:transactionType":function(e){return t.setTransactionType(e)},"act:limitSourceType":function(e){return t.limitSourceType(e)},"act:limitDestinationType":function(e){return t.limitDestinationType(e)}}})],1):t._e()],1),t._v(" "),n("div",{staticClass:"col-lg-4"},[n("amount",{attrs:{source:e.source_account,destination:e.destination_account,error:e.errors.amount,transactionType:t.transactionType},model:{value:e.amount,callback:function(n){t.$set(e,"amount",n)},expression:"transaction.amount"}}),t._v(" "),n("foreign-amount",{attrs:{source:e.source_account,destination:e.destination_account,transactionType:t.transactionType,error:e.errors.foreign_amount,title:t.$t("form.foreign_amount")},model:{value:e.foreign_amount,callback:function(n){t.$set(e,"foreign_amount",n)},expression:"transaction.foreign_amount"}})],1),t._v(" "),n("div",{staticClass:"col-lg-4"},[n("budget",{attrs:{transactionType:t.transactionType,error:e.errors.budget_id,no_budget:t.$t("firefly.none_in_select_list")},model:{value:e.budget,callback:function(n){t.$set(e,"budget",n)},expression:"transaction.budget"}}),t._v(" "),n("category",{attrs:{transactionType:t.transactionType,error:e.errors.category},model:{value:e.category,callback:function(n){t.$set(e,"category",n)},expression:"transaction.category"}}),t._v(" "),n("piggy-bank",{attrs:{transactionType:t.transactionType,error:e.errors.piggy_bank,no_piggy_bank:t.$t("firefly.no_piggy_bank")},model:{value:e.piggy_bank,callback:function(n){t.$set(e,"piggy_bank",n)},expression:"transaction.piggy_bank"}}),t._v(" "),n("tags",{attrs:{error:e.errors.tags},model:{value:e.tags,callback:function(n){t.$set(e,"tags",n)},expression:"transaction.tags"}}),t._v(" "),n("custom-transaction-fields",{attrs:{error:e.errors.custom_errors},model:{value:e.custom_fields,callback:function(n){t.$set(e,"custom_fields",n)},expression:"transaction.custom_fields"}})],1)])]),t._v(" "),t.transactions.length-1===a?n("div",{staticClass:"box-footer"},[n("button",{staticClass:"split_add_btn btn btn-default",attrs:{type:"button"},on:{click:t.addTransactionToArray}},[t._v(t._s(t.$t("firefly.add_another_split")))])]):t._e()])])])})),0),t._v(" "),t.transactions.length>1?n("div",{staticClass:"row"},[n("div",{staticClass:"col-lg-6 col-md-6 col-sm-12 col-xs-12"},[n("div",{staticClass:"box"},[n("div",{staticClass:"box-header with-border"},[n("h3",{staticClass:"box-title"},[t._v("\n "+t._s(t.$t("firefly.split_transaction_title"))+"\n ")])]),t._v(" "),n("div",{staticClass:"box-body"},[n("group-description",{attrs:{error:t.group_title_errors},model:{value:t.group_title,callback:function(e){t.group_title=e},expression:"group_title"}})],1)])])]):t._e(),t._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-lg-6 col-md-6 col-sm-12 col-xs-12"},[n("div",{staticClass:"box"},[n("div",{staticClass:"box-header with-border"},[n("h3",{staticClass:"box-title"},[t._v("\n "+t._s(t.$t("firefly.submission"))+"\n ")])]),t._v(" "),n("div",{staticClass:"box-body"},[n("div",{staticClass:"checkbox"},[n("label",[n("input",{directives:[{name:"model",rawName:"v-model",value:t.createAnother,expression:"createAnother"}],attrs:{name:"create_another",type:"checkbox"},domProps:{checked:Array.isArray(t.createAnother)?t._i(t.createAnother,null)>-1:t.createAnother},on:{change:function(e){var n=t.createAnother,a=e.target,i=!!a.checked;if(Array.isArray(n)){var r=t._i(n,null);a.checked?r<0&&(t.createAnother=n.concat([null])):r>-1&&(t.createAnother=n.slice(0,r).concat(n.slice(r+1)))}else t.createAnother=i}}}),t._v("\n "+t._s(t.$t("firefly.create_another"))+"\n ")])]),t._v(" "),n("div",{staticClass:"checkbox"},[n("label",{class:{"text-muted":!1===this.createAnother}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.resetFormAfter,expression:"resetFormAfter"}],attrs:{disabled:!1===this.createAnother,name:"reset_form",type:"checkbox"},domProps:{checked:Array.isArray(t.resetFormAfter)?t._i(t.resetFormAfter,null)>-1:t.resetFormAfter},on:{change:function(e){var n=t.resetFormAfter,a=e.target,i=!!a.checked;if(Array.isArray(n)){var r=t._i(n,null);a.checked?r<0&&(t.resetFormAfter=n.concat([null])):r>-1&&(t.resetFormAfter=n.slice(0,r).concat(n.slice(r+1)))}else t.resetFormAfter=i}}}),t._v("\n "+t._s(t.$t("firefly.reset_after"))+"\n\n ")])])]),t._v(" "),n("div",{staticClass:"box-footer"},[n("div",{staticClass:"btn-group"},[n("button",{staticClass:"btn btn-success",attrs:{id:"submitButton"},on:{click:t.submit}},[t._v(t._s(t.$t("firefly.submit")))])])])])])])])}),[],!1,null,"7b0e6965",null).exports,s=n(31),c=n(32),u=n(33),l=n(34),A=n(35),d=n(36),p=n(37),f=n(38),h=n(39),g=n(40),_=n(41),m=n(42),v=n(43),y=n(44),b=n(45);n(28),Vue.component("budget",b.a),Vue.component("custom-date",s.a),Vue.component("custom-string",c.a),Vue.component("custom-attachments",a.a),Vue.component("custom-textarea",u.a),Vue.component("standard-date",l.a),Vue.component("group-description",A.a),Vue.component("transaction-description",d.a),Vue.component("custom-transaction-fields",p.a),Vue.component("piggy-bank",f.a),Vue.component("tags",h.a),Vue.component("category",g.a),Vue.component("amount",_.a),Vue.component("foreign-amount",m.a),Vue.component("transaction-type",v.a),Vue.component("account-select",y.a),Vue.component("create-transaction",o);var C=new vuei18n({locale:document.documentElement.lang,fallbackLocale:"en",messages:{cs:n(50),de:n(51),en:n(52),es:n(53),el:n(54),fr:n(55),hu:n(56),id:n(57),it:n(58),nl:n(59),no:n(60),pl:n(61),fi:n(62),"pt-br":n(63),ro:n(64),ru:n(65),zh:n(66),"zh-tw":n(67),"zh-cn":n(68),sv:n(69),vi:n(70)}}),w={};new Vue({i18n:C,el:"#create_transaction",render:function(t){return t(o,{props:w})}})}]); \ No newline at end of file +!function(t){var e={};function n(a){if(e[a])return e[a].exports;var i=e[a]={i:a,l:!1,exports:{}};return t[a].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=t,n.c=e,n.d=function(t,e,a){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:a})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(a,i,function(e){return t[e]}.bind(null,i));return a},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/",n(n.s=81)}([function(t,e,n){"use strict";function a(t,e,n,a,i,r,o,s){var c,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),a&&(u.functional=!0),r&&(u._scopeId="data-v-"+r),o?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},u._ssrRegister=c):i&&(c=s?function(){i.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:i),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(t,e){return c.call(e),l(t,e)}}else{var A=u.beforeCreate;u.beforeCreate=A?[].concat(A,c):[c]}return{exports:t,options:u}}n.d(e,"a",(function(){return a}))},function(t,e,n){"use strict";var a=n(5),i=n(12),r=Object.prototype.toString;function o(t){return"[object Array]"===r.call(t)}function s(t){return null!==t&&"object"==typeof t}function c(t){return"[object Function]"===r.call(t)}function u(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),o(t))for(var n=0,a=t.length;n=200&&t<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},a.forEach(["delete","get","head"],(function(t){c.headers[t]={}})),a.forEach(["post","put","patch"],(function(t){c.headers[t]=a.merge(r)})),t.exports=c}).call(this,n(10))},function(t,e,n){t.exports=n(11)},,function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),a=0;a1)for(var n=1;n=0)return;o[e]="set-cookie"===e?(o[e]?o[e]:[]).concat([n]):o[e]?o[e]+", "+n:n}})),o):o}},function(t,e,n){"use strict";var a=n(1);t.exports=a.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(t){var a=t;return e&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=i(window.location.href),function(e){var n=a.isString(e)?i(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return!0}},function(t,e,n){"use strict";var a=n(1);t.exports=a.isStandardBrowserEnv()?{write:function(t,e,n,i,r,o){var s=[];s.push(t+"="+encodeURIComponent(e)),a.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),a.isString(i)&&s.push("path="+i),a.isString(r)&&s.push("domain="+r),!0===o&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(t,e,n){"use strict";var a=n(1);function i(){this.handlers=[]}i.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},i.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},i.prototype.forEach=function(t){a.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=i},function(t,e,n){"use strict";var a=n(1),i=n(23),r=n(8),o=n(2),s=n(24),c=n(25);function u(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return u(t),t.baseURL&&!s(t.url)&&(t.url=c(t.baseURL,t.url)),t.headers=t.headers||{},t.data=i(t.data,t.headers,t.transformRequest),t.headers=a.merge(t.headers.common||{},t.headers[t.method]||{},t.headers||{}),a.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||o.adapter)(t).then((function(e){return u(t),e.data=i(e.data,e.headers,t.transformResponse),e}),(function(e){return r(e)||(u(t),e&&e.response&&(e.response.data=i(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},function(t,e,n){"use strict";var a=n(1);t.exports=function(t,e,n){return a.forEach(n,(function(n){t=n(t,e)})),t}},function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},function(t,e,n){"use strict";var a=n(9);function i(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;t((function(t){n.reason||(n.reason=new a(t),e(n.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var t;return{token:new i((function(e){t=e})),cancel:t}},t.exports=i},function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,n){window.axios=n(3),window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest";var a=document.head.querySelector('meta[name="csrf-token"]');a?window.axios.defaults.headers.common["X-CSRF-TOKEN"]=a.content:console.error("CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token")},function(t,e,n){window,t.exports=function(t){var e={};function n(a){if(e[a])return e[a].exports;var i=e[a]={i:a,l:!1,exports:{}};return t[a].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,a){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:a})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(a,i,function(e){return t[e]}.bind(null,i));return a},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/dist/",n(n.s=6)}([function(t,e,n){var a=n(8);"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals),(0,n(4).default)("7ec05f6c",a,!1,{})},function(t,e,n){var a=n(10);"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals),(0,n(4).default)("3453d19d",a,!1,{})},function(t,e,n){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=function(t,e){var n,a=t[1]||"",i=t[3];if(!i)return a;if(e&&"function"==typeof btoa){var r=(n=i,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),o=i.sources.map((function(t){return"/*# sourceURL="+i.sourceRoot+t+" */"}));return[a].concat(o).concat([r]).join("\n")}return[a].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+n+"}":n})).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var a={},i=0;in.parts.length&&(a.parts.length=n.parts.length)}else{var o=[];for(i=0;i div[data-v-61d92e31] {\n cursor: pointer;\n padding: 3px 6px;\n width: 100%;\n}\n.ti-selected-item[data-v-61d92e31] {\n background-color: #5C6BC0;\n color: #fff;\n}\n',"",{version:3,sources:["C:/Users/johan/dev/vue-tags-input/vue-tags-input/C:/Users/johan/dev/vue-tags-input/vue-tags-input/vue-tags-input.scss"],names:[],mappings:"AAAA;EACE,uBAAuB;EACvB,mCAA8C;EAC9C,+JAAuM;EACvM,oBAAoB;EACpB,mBAAmB;CAAE;AAEvB;EACE,kCAAkC;EAClC,YAAY;EACZ,mBAAmB;EACnB,oBAAoB;EACpB,qBAAqB;EACrB,qBAAqB;EACrB,eAAe;EACf,oCAAoC;EACpC,mCAAmC;CAAE;AAEvC;EACE,iBAAiB;CAAE;AAErB;EACE,iBAAiB;CAAE;AAErB;EACE,iBAAiB;CAAE;AAErB;EACE,YAAY;EACZ,aAAa;EACb,sBAAsB;CAAE;AAE1B;EACE,uBAAuB;CAAE;AAE3B;EACE,cAAc;CAAE;AAElB;EACE,8BAA8B;CAAE;AAElC;EACE,iBAAiB;EACjB,mBAAmB;EACnB,uBAAuB;CAAE;AAE3B;EACE,aAAa;CAAE;AACf;IACE,gBAAgB;CAAE;AAEtB;EACE,uBAAuB;EACvB,cAAc;EACd,aAAa;EACb,gBAAgB;CAAE;AAEpB;EACE,cAAc;EACd,gBAAgB;EAChB,YAAY;EACZ,iBAAiB;CAAE;AAErB;EACE,0BAA0B;EAC1B,YAAY;EACZ,mBAAmB;EACnB,cAAc;EACd,iBAAiB;EACjB,YAAY;EACZ,iBAAiB;CAAE;AACnB;IACE,cAAc;CAAE;AAClB;IACE,cAAc;IACd,oBAAoB;CAAE;AACxB;IACE,mBAAmB;CAAE;AACvB;IACE,mBAAmB;CAAE;AACvB;IACE,mBAAmB;IACnB,mBAAmB;IACnB,YAAY;IACZ,iBAAiB;CAAE;AACrB;IACE,iBAAiB;IACjB,cAAc;IACd,oBAAoB;IACpB,kBAAkB;CAAE;AACpB;MACE,gBAAgB;CAAE;AACtB;IACE,kBAAkB;CAAE;AACtB;IACE,0BAA0B;CAAE;AAEhC;EACE,cAAc;EACd,eAAe;EACf,iBAAiB;EACjB,YAAY;EACZ,iBAAiB;CAAE;AACnB;IACE,eAAe;IACf,iBAAiB;IACjB,aAAa;IACb,aAAa;IACb,YAAY;CAAE;AAElB;EACE,qBAAqB;CAAE;AAEzB;EACE,uBAAuB;EACvB,iBAAiB;EACjB,mBAAmB;EACnB,YAAY;EACZ,uBAAuB;EACvB,YAAY;CAAE;AAEhB;EACE,gBAAgB;EAChB,iBAAiB;EACjB,YAAY;CAAE;AAEhB;EACE,0BAA0B;EAC1B,YAAY;CAAE",file:"vue-tags-input.scss?vue&type=style&index=0&id=61d92e31&lang=scss&scoped=true&",sourcesContent:['@font-face {\n font-family: \'icomoon\';\n src: url("./assets/fonts/icomoon.eot?7grlse");\n src: url("./assets/fonts/icomoon.eot?7grlse#iefix") format("embedded-opentype"), url("./assets/fonts/icomoon.ttf?7grlse") format("truetype"), url("./assets/fonts/icomoon.woff?7grlse") format("woff");\n font-weight: normal;\n font-style: normal; }\n\n[class^="ti-icon-"], [class*=" ti-icon-"] {\n font-family: \'icomoon\' !important;\n speak: none;\n font-style: normal;\n font-weight: normal;\n font-variant: normal;\n text-transform: none;\n line-height: 1;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale; }\n\n.ti-icon-check:before {\n content: "\\e902"; }\n\n.ti-icon-close:before {\n content: "\\e901"; }\n\n.ti-icon-undo:before {\n content: "\\e900"; }\n\nul {\n margin: 0px;\n padding: 0px;\n list-style-type: none; }\n\n*, *:before, *:after {\n box-sizing: border-box; }\n\ninput:focus {\n outline: none; }\n\ninput[disabled] {\n background-color: transparent; }\n\n.vue-tags-input {\n max-width: 450px;\n position: relative;\n background-color: #fff; }\n\ndiv.vue-tags-input.disabled {\n opacity: 0.5; }\n div.vue-tags-input.disabled * {\n cursor: default; }\n\n.ti-input {\n border: 1px solid #ccc;\n display: flex;\n padding: 4px;\n flex-wrap: wrap; }\n\n.ti-tags {\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n line-height: 1em; }\n\n.ti-tag {\n background-color: #5C6BC0;\n color: #fff;\n border-radius: 2px;\n display: flex;\n padding: 3px 5px;\n margin: 2px;\n font-size: .85em; }\n .ti-tag:focus {\n outline: none; }\n .ti-tag .ti-content {\n display: flex;\n align-items: center; }\n .ti-tag .ti-tag-center {\n position: relative; }\n .ti-tag span {\n line-height: .85em; }\n .ti-tag span.ti-hidden {\n padding-left: 14px;\n visibility: hidden;\n height: 0px;\n white-space: pre; }\n .ti-tag .ti-actions {\n margin-left: 2px;\n display: flex;\n align-items: center;\n font-size: 1.15em; }\n .ti-tag .ti-actions i {\n cursor: pointer; }\n .ti-tag:last-child {\n margin-right: 4px; }\n .ti-tag.ti-invalid, .ti-tag.ti-tag.ti-deletion-mark {\n background-color: #e54d42; }\n\n.ti-new-tag-input-wrapper {\n display: flex;\n flex: 1 0 auto;\n padding: 3px 5px;\n margin: 2px;\n font-size: .85em; }\n .ti-new-tag-input-wrapper input {\n flex: 1 0 auto;\n min-width: 100px;\n border: none;\n padding: 0px;\n margin: 0px; }\n\n.ti-new-tag-input {\n line-height: initial; }\n\n.ti-autocomplete {\n border: 1px solid #ccc;\n border-top: none;\n position: absolute;\n width: 100%;\n background-color: #fff;\n z-index: 20; }\n\n.ti-item > div {\n cursor: pointer;\n padding: 3px 6px;\n width: 100%; }\n\n.ti-selected-item {\n background-color: #5C6BC0;\n color: #fff; }\n'],sourceRoot:""}])},function(t,e,n){"use strict";t.exports=function(t){return"string"!=typeof t?t:(/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),/["'() \t\n]/.test(t)?'"'+t.replace(/"/g,'\\"').replace(/\n/g,"\\n")+'"':t)}},function(t,e){t.exports="data:font/ttf;base64,AAEAAAALAIAAAwAwT1MvMg8SBawAAAC8AAAAYGNtYXAXVtKJAAABHAAAAFRnYXNwAAAAEAAAAXAAAAAIZ2x5ZqWfozAAAAF4AAAA/GhlYWQPxZgIAAACdAAAADZoaGVhB4ADyAAAAqwAAAAkaG10eBIAAb4AAALQAAAAHGxvY2EAkgDiAAAC7AAAABBtYXhwAAkAHwAAAvwAAAAgbmFtZZlKCfsAAAMcAAABhnBvc3QAAwAAAAAEpAAAACAAAwOAAZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADpAgPA/8AAQAPAAEAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQADAAAAHAADAAEAAAAcAAQAOAAAAAoACAACAAIAAQAg6QL//f//AAAAAAAg6QD//f//AAH/4xcEAAMAAQAAAAAAAAAAAAAAAQAB//8ADwABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAABAFYBAQO+AoEAHAAAATIXHgEXFhcHJicuAScmIyIGBxchERc2Nz4BNzYCFkpDQ28pKRdkECAfVTM0OT9wLZz+gJgdIiJLKSgCVRcYUjg5QiAzKys+ERIrJZoBgJoZFRQcCAgAAQDWAIEDKgLVAAsAAAEHFwcnByc3JzcXNwMq7u487u487u487u4Cme7uPO7uPO7uPO7uAAEAkgCBA4ACvQAFAAAlARcBJzcBgAHEPP4A7jz5AcQ8/gDuPAAAAAABAAAAAAAAH8nTUV8PPPUACwQAAAAAANZ1KhsAAAAA1nUqGwAAAAADvgLVAAAACAACAAAAAAAAAAEAAAPA/8AAAAQAAAAAAAO+AAEAAAAAAAAAAAAAAAAAAAAHBAAAAAAAAAAAAAAAAgAAAAQAAFYEAADWBAAAkgAAAAAACgAUAB4AUABqAH4AAQAAAAcAHQABAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAA4ArgABAAAAAAABAAcAAAABAAAAAAACAAcAYAABAAAAAAADAAcANgABAAAAAAAEAAcAdQABAAAAAAAFAAsAFQABAAAAAAAGAAcASwABAAAAAAAKABoAigADAAEECQABAA4ABwADAAEECQACAA4AZwADAAEECQADAA4APQADAAEECQAEAA4AfAADAAEECQAFABYAIAADAAEECQAGAA4AUgADAAEECQAKADQApGljb21vb24AaQBjAG8AbQBvAG8AblZlcnNpb24gMS4wAFYAZQByAHMAaQBvAG4AIAAxAC4AMGljb21vb24AaQBjAG8AbQBvAG8Abmljb21vb24AaQBjAG8AbQBvAG8AblJlZ3VsYXIAUgBlAGcAdQBsAGEAcmljb21vb24AaQBjAG8AbQBvAG8AbkZvbnQgZ2VuZXJhdGVkIGJ5IEljb01vb24uAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALgAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="},function(t,e){t.exports="data:font/woff;base64,d09GRgABAAAAAAUQAAsAAAAABMQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAAABCAAAAGAAAABgDxIFrGNtYXAAAAFoAAAAVAAAAFQXVtKJZ2FzcAAAAbwAAAAIAAAACAAAABBnbHlmAAABxAAAAPwAAAD8pZ+jMGhlYWQAAALAAAAANgAAADYPxZgIaGhlYQAAAvgAAAAkAAAAJAeAA8hobXR4AAADHAAAABwAAAAcEgABvmxvY2EAAAM4AAAAEAAAABAAkgDibWF4cAAAA0gAAAAgAAAAIAAJAB9uYW1lAAADaAAAAYYAAAGGmUoJ+3Bvc3QAAATwAAAAIAAAACAAAwAAAAMDgAGQAAUAAAKZAswAAACPApkCzAAAAesAMwEJAAAAAAAAAAAAAAAAAAAAARAAAAAAAAAAAAAAAAAAAAAAQAAA6QIDwP/AAEADwABAAAAAAQAAAAAAAAAAAAAAIAAAAAAAAwAAAAMAAAAcAAEAAwAAABwAAwABAAAAHAAEADgAAAAKAAgAAgACAAEAIOkC//3//wAAAAAAIOkA//3//wAB/+MXBAADAAEAAAAAAAAAAAAAAAEAAf//AA8AAQAAAAAAAAAAAAIAADc5AQAAAAABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQBWAQEDvgKBABwAAAEyFx4BFxYXByYnLgEnJiMiBgcXIREXNjc+ATc2AhZKQ0NvKSkXZBAgH1UzNDk/cC2c/oCYHSIiSykoAlUXGFI4OUIgMysrPhESKyWaAYCaGRUUHAgIAAEA1gCBAyoC1QALAAABBxcHJwcnNyc3FzcDKu7uPO7uPO7uPO7uApnu7jzu7jzu7jzu7gABAJIAgQOAAr0ABQAAJQEXASc3AYABxDz+AO48+QHEPP4A7jwAAAAAAQAAAAAAAB/J01FfDzz1AAsEAAAAAADWdSobAAAAANZ1KhsAAAAAA74C1QAAAAgAAgAAAAAAAAABAAADwP/AAAAEAAAAAAADvgABAAAAAAAAAAAAAAAAAAAABwQAAAAAAAAAAAAAAAIAAAAEAABWBAAA1gQAAJIAAAAAAAoAFAAeAFAAagB+AAEAAAAHAB0AAQAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAOAK4AAQAAAAAAAQAHAAAAAQAAAAAAAgAHAGAAAQAAAAAAAwAHADYAAQAAAAAABAAHAHUAAQAAAAAABQALABUAAQAAAAAABgAHAEsAAQAAAAAACgAaAIoAAwABBAkAAQAOAAcAAwABBAkAAgAOAGcAAwABBAkAAwAOAD0AAwABBAkABAAOAHwAAwABBAkABQAWACAAAwABBAkABgAOAFIAAwABBAkACgA0AKRpY29tb29uAGkAYwBvAG0AbwBvAG5WZXJzaW9uIDEuMABWAGUAcgBzAGkAbwBuACAAMQAuADBpY29tb29uAGkAYwBvAG0AbwBvAG5pY29tb29uAGkAYwBvAG0AbwBvAG5SZWd1bGFyAFIAZQBnAHUAbABhAHJpY29tb29uAGkAYwBvAG0AbwBvAG5Gb250IGdlbmVyYXRlZCBieSBJY29Nb29uLgBGAG8AbgB0ACAAZwBlAG4AZQByAGEAdABlAGQAIABiAHkAIABJAGMAbwBNAG8AbwBuAC4AAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vue-tags-input",class:[{"ti-disabled":t.disabled},{"ti-focus":t.focused}]},[n("div",{staticClass:"ti-input"},[t.tagsCopy?n("ul",{staticClass:"ti-tags"},[t._l(t.tagsCopy,(function(e,a){return n("li",{key:a,staticClass:"ti-tag",class:[{"ti-editing":t.tagsEditStatus[a]},e.tiClasses,e.classes,{"ti-deletion-mark":t.isMarked(a)}],style:e.style,attrs:{tabindex:"0"},on:{click:function(n){return t.$emit("tag-clicked",{tag:e,index:a})}}},[n("div",{staticClass:"ti-content"},[t.$scopedSlots["tag-left"]?n("div",{staticClass:"ti-tag-left"},[t._t("tag-left",null,{tag:e,index:a,edit:t.tagsEditStatus[a],performSaveEdit:t.performSaveTag,performDelete:t.performDeleteTag,performCancelEdit:t.cancelEdit,performOpenEdit:t.performEditTag,deletionMark:t.isMarked(a)})],2):t._e(),t._v(" "),n("div",{ref:"tagCenter",refInFor:!0,staticClass:"ti-tag-center"},[t.$scopedSlots["tag-center"]?t._e():n("span",{class:{"ti-hidden":t.tagsEditStatus[a]},on:{click:function(e){return t.performEditTag(a)}}},[t._v(t._s(e.text))]),t._v(" "),t.$scopedSlots["tag-center"]?t._e():n("tag-input",{attrs:{scope:{edit:t.tagsEditStatus[a],maxlength:t.maxlength,tag:e,index:a,validateTag:t.createChangedTag,performCancelEdit:t.cancelEdit,performSaveEdit:t.performSaveTag}}}),t._v(" "),t._t("tag-center",null,{tag:e,index:a,maxlength:t.maxlength,edit:t.tagsEditStatus[a],performSaveEdit:t.performSaveTag,performDelete:t.performDeleteTag,performCancelEdit:t.cancelEdit,validateTag:t.createChangedTag,performOpenEdit:t.performEditTag,deletionMark:t.isMarked(a)})],2),t._v(" "),t.$scopedSlots["tag-right"]?n("div",{staticClass:"ti-tag-right"},[t._t("tag-right",null,{tag:e,index:a,edit:t.tagsEditStatus[a],performSaveEdit:t.performSaveTag,performDelete:t.performDeleteTag,performCancelEdit:t.cancelEdit,performOpenEdit:t.performEditTag,deletionMark:t.isMarked(a)})],2):t._e()]),t._v(" "),n("div",{staticClass:"ti-actions"},[t.$scopedSlots["tag-actions"]?t._e():n("i",{directives:[{name:"show",rawName:"v-show",value:t.tagsEditStatus[a],expression:"tagsEditStatus[index]"}],staticClass:"ti-icon-undo",on:{click:function(e){return t.cancelEdit(a)}}}),t._v(" "),t.$scopedSlots["tag-actions"]?t._e():n("i",{directives:[{name:"show",rawName:"v-show",value:!t.tagsEditStatus[a],expression:"!tagsEditStatus[index]"}],staticClass:"ti-icon-close",on:{click:function(e){return t.performDeleteTag(a)}}}),t._v(" "),t.$scopedSlots["tag-actions"]?t._t("tag-actions",null,{tag:e,index:a,edit:t.tagsEditStatus[a],performSaveEdit:t.performSaveTag,performDelete:t.performDeleteTag,performCancelEdit:t.cancelEdit,performOpenEdit:t.performEditTag,deletionMark:t.isMarked(a)}):t._e()],2)])})),t._v(" "),n("li",{staticClass:"ti-new-tag-input-wrapper"},[n("input",t._b({ref:"newTagInput",staticClass:"ti-new-tag-input",class:[t.createClasses(t.newTag,t.tags,t.validation,t.isDuplicate)],attrs:{placeholder:t.placeholder,maxlength:t.maxlength,disabled:t.disabled,type:"text",size:"1"},domProps:{value:t.newTag},on:{keydown:[function(e){return t.performAddTags(t.filteredAutocompleteItems[t.selectedItem]||t.newTag,e)},function(e){return e.type.indexOf("key")||8===e.keyCode?t.invokeDelete(e):null},function(e){return e.type.indexOf("key")||9===e.keyCode?t.performBlur(e):null},function(e){return e.type.indexOf("key")||38===e.keyCode?t.selectItem(e,"before"):null},function(e){return e.type.indexOf("key")||40===e.keyCode?t.selectItem(e,"after"):null}],paste:t.addTagsFromPaste,input:t.updateNewTag,blur:function(e){return t.$emit("blur",e)},focus:function(e){t.focused=!0,t.$emit("focus",e)},click:function(e){!t.addOnlyFromAutocomplete&&(t.selectedItem=null)}}},"input",t.$attrs,!1))])],2):t._e()]),t._v(" "),t._t("between-elements"),t._v(" "),t.autocompleteOpen?n("div",{staticClass:"ti-autocomplete",on:{mouseout:function(e){t.selectedItem=null}}},[t._t("autocomplete-header"),t._v(" "),n("ul",t._l(t.filteredAutocompleteItems,(function(e,a){return n("li",{key:a,staticClass:"ti-item",class:[e.tiClasses,e.classes,{"ti-selected-item":t.isSelected(a)}],style:e.style,on:{mouseover:function(e){!t.disabled&&(t.selectedItem=a)}}},[t.$scopedSlots["autocomplete-item"]?t._t("autocomplete-item",null,{item:e,index:a,performAdd:function(e){return t.performAddTags(e,void 0,"autocomplete")},selected:t.isSelected(a)}):n("div",{on:{click:function(n){return t.performAddTags(e,void 0,"autocomplete")}}},[t._v("\n "+t._s(e.text)+"\n ")])],2)})),0),t._v(" "),t._t("autocomplete-footer")],2):t._e()],2)};a._withStripped=!0;var i=n(5),r=n.n(i),o=function(t){return JSON.parse(JSON.stringify(t))},s=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=arguments.length>3?arguments[3]:void 0;void 0===t.text&&(t={text:t});var i=function(t,e){return e.filter((function(e){var n=t.text;return"string"==typeof e.rule?!new RegExp(e.rule).test(n):e.rule instanceof RegExp?!e.rule.test(n):"[object Function]"==={}.toString.call(e.rule)?e.rule(t):void 0})).map((function(t){return t.classes}))}(t,n),r=function(t,e){for(var n=0;n1?n-1:0),i=1;i1?e-1:0),a=1;a=this.autocompleteMinLength&&this.filteredAutocompleteItems.length>0&&this.focused},filteredAutocompleteItems:function(){var t=this,e=this.autocompleteItems.map((function(e){return c(e,t.tags,t.validation,t.isDuplicate)}));return this.autocompleteFilterDuplicates?e.filter(this.duplicateFilter):e}},methods:{createClasses:s,getSelectedIndex:function(t){var e=this.filteredAutocompleteItems,n=this.selectedItem,a=e.length-1;if(0!==e.length)return null===n?0:"before"===t&&0===n?a:"after"===t&&n===a?0:"after"===t?n+1:n-1},selectDefaultItem:function(){this.addOnlyFromAutocomplete&&this.filteredAutocompleteItems.length>0?this.selectedItem=0:this.selectedItem=null},selectItem:function(t,e){t.preventDefault(),this.selectedItem=this.getSelectedIndex(e)},isSelected:function(t){return this.selectedItem===t},isMarked:function(t){return this.deletionMark===t},invokeDelete:function(){var t=this;if(this.deleteOnBackspace&&!(this.newTag.length>0)){var e=this.tagsCopy.length-1;null===this.deletionMark?(this.deletionMarkTime=setTimeout((function(){return t.deletionMark=null}),1e3),this.deletionMark=e):this.performDeleteTag(e)}},addTagsFromPaste:function(){var t=this;this.addFromPaste&&setTimeout((function(){return t.performAddTags(t.newTag)}),10)},performEditTag:function(t){var e=this;this.allowEditTags&&(this._events["before-editing-tag"]||this.editTag(t),this.$emit("before-editing-tag",{index:t,tag:this.tagsCopy[t],editTag:function(){return e.editTag(t)}}))},editTag:function(t){this.allowEditTags&&(this.toggleEditMode(t),this.focus(t))},toggleEditMode:function(t){this.allowEditTags&&!this.disabled&&this.$set(this.tagsEditStatus,t,!this.tagsEditStatus[t])},createChangedTag:function(t,e){var n=this.tagsCopy[t];n.text=e?e.target.value:this.tagsCopy[t].text,this.$set(this.tagsCopy,t,c(n,this.tagsCopy,this.validation,this.isDuplicate))},focus:function(t){var e=this;this.$nextTick((function(){var n=e.$refs.tagCenter[t].querySelector("input.ti-tag-input");n&&n.focus()}))},quote:function(t){return t.replace(/([()[{*+.$^\\|?])/g,"\\$1")},cancelEdit:function(t){this.tags[t]&&(this.tagsCopy[t]=o(c(this.tags[t],this.tags,this.validation,this.isDuplicate)),this.$set(this.tagsEditStatus,t,!1))},hasForbiddingAddRule:function(t){var e=this;return t.some((function(t){var n=e.validation.find((function(e){return t===e.classes}));return!!n&&n.disableAdd}))},createTagTexts:function(t){var e=this,n=new RegExp(this.separators.map((function(t){return e.quote(t)})).join("|"));return t.split(n).map((function(t){return{text:t}}))},performDeleteTag:function(t){var e=this;this._events["before-deleting-tag"]||this.deleteTag(t),this.$emit("before-deleting-tag",{index:t,tag:this.tagsCopy[t],deleteTag:function(){return e.deleteTag(t)}})},deleteTag:function(t){this.disabled||(this.deletionMark=null,clearTimeout(this.deletionMarkTime),this.tagsCopy.splice(t,1),this._events["update:tags"]&&this.$emit("update:tags",this.tagsCopy),this.$emit("tags-changed",this.tagsCopy))},noTriggerKey:function(t,e){var n=-1!==this[e].indexOf(t.keyCode)||-1!==this[e].indexOf(t.key);return n&&t.preventDefault(),!n},performAddTags:function(t,e,n){var a=this;if(!(this.disabled||e&&this.noTriggerKey(e,"addOnKey"))){var i=[];"object"===m(t)&&(i=[t]),"string"==typeof t&&(i=this.createTagTexts(t)),(i=i.filter((function(t){return t.text.trim().length>0}))).forEach((function(t){t=c(t,a.tags,a.validation,a.isDuplicate),a._events["before-adding-tag"]||a.addTag(t,n),a.$emit("before-adding-tag",{tag:t,addTag:function(){return a.addTag(t,n)}})}))}},duplicateFilter:function(t){return this.isDuplicate?!this.isDuplicate(this.tagsCopy,t):!this.tagsCopy.find((function(e){return e.text===t.text}))},addTag:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"new-tag-input",a=this.filteredAutocompleteItems.map((function(t){return t.text}));this.addOnlyFromAutocomplete&&-1===a.indexOf(t.text)||this.$nextTick((function(){return e.maxTags&&e.maxTags<=e.tagsCopy.length?e.$emit("max-tags-reached",t):e.avoidAddingDuplicates&&!e.duplicateFilter(t)?e.$emit("adding-duplicate",t):void(e.hasForbiddingAddRule(t.tiClasses)||(e.$emit("input",""),e.tagsCopy.push(t),e._events["update:tags"]&&e.$emit("update:tags",e.tagsCopy),"autocomplete"===n&&e.$refs.newTagInput.focus(),e.$emit("tags-changed",e.tagsCopy)))}))},performSaveTag:function(t,e){var n=this,a=this.tagsCopy[t];this.disabled||e&&this.noTriggerKey(e,"addOnKey")||0!==a.text.trim().length&&(this._events["before-saving-tag"]||this.saveTag(t,a),this.$emit("before-saving-tag",{index:t,tag:a,saveTag:function(){return n.saveTag(t,a)}}))},saveTag:function(t,e){if(this.avoidAddingDuplicates){var n=o(this.tagsCopy),a=n.splice(t,1)[0];if(this.isDuplicate?this.isDuplicate(n,a):-1!==n.map((function(t){return t.text})).indexOf(a.text))return this.$emit("saving-duplicate",e)}this.hasForbiddingAddRule(e.tiClasses)||(this.$set(this.tagsCopy,t,e),this.toggleEditMode(t),this._events["update:tags"]&&this.$emit("update:tags",this.tagsCopy),this.$emit("tags-changed",this.tagsCopy))},tagsEqual:function(){var t=this;return!this.tagsCopy.some((function(e,n){return!r()(e,t.tags[n])}))},updateNewTag:function(t){var e=t.target.value;this.newTag=e,this.$emit("input",e)},initTags:function(){this.tagsCopy=u(this.tags,this.validation,this.isDuplicate),this.tagsEditStatus=o(this.tags).map((function(){return!1})),this._events["update:tags"]&&!this.tagsEqual()&&this.$emit("update:tags",this.tagsCopy)},blurredOnClick:function(t){this.$el.contains(t.target)||this.$el.contains(document.activeElement)||this.performBlur(t)},performBlur:function(){this.addOnBlur&&this.focused&&this.performAddTags(this.newTag),this.focused=!1}},watch:{value:function(t){this.addOnlyFromAutocomplete||(this.selectedItem=null),this.newTag=t},tags:{handler:function(){this.initTags()},deep:!0},autocompleteOpen:"selectDefaultItem"},created:function(){this.newTag=this.value,this.initTags()},mounted:function(){this.selectDefaultItem(),document.addEventListener("click",this.blurredOnClick)},destroyed:function(){document.removeEventListener("click",this.blurredOnClick)}},y=(n(9),d(v,a,[],!1,null,"61d92e31",null));y.options.__file="vue-tags-input/vue-tags-input.vue";var b=y.exports;n.d(e,"VueTagsInput",(function(){return b})),n.d(e,"createClasses",(function(){return s})),n.d(e,"createTag",(function(){return c})),n.d(e,"createTags",(function(){return u})),n.d(e,"TagInput",(function(){return f})),b.install=function(t){return t.component(b.name,b)},"undefined"!=typeof window&&window.Vue&&window.Vue.use(b),e.default=b}])},function(t,e,n){"use strict";var a={name:"CustomAttachments",props:{title:String,name:String,error:Array},methods:{hasError:function(){return this.error.length>0}}},i=n(0),r=Object(i.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("input",{staticClass:"form-control",attrs:{multiple:"multiple",autocomplete:"off",placeholder:t.title,title:t.title,name:t.name,type:"file"}}),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"73840c18",null);e.a=r.exports},function(t,e,n){"use strict";var a={name:"CustomDate",props:{value:String,title:String,name:String,error:Array},methods:{handleInput:function(t){this.$emit("input",this.$refs.date.value)},hasError:function(){return this.error.length>0},clearDate:function(){this.name="",this.$refs.date.value="",this.$emit("input",this.$refs.date.value)}}},i=n(0),r=Object(i.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("input",{ref:"date",staticClass:"form-control",attrs:{type:"date",name:t.name,title:t.title,autocomplete:"off",placeholder:t.title},domProps:{value:t.value?t.value.substr(0,10):""},on:{input:t.handleInput}}),t._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:t.clearDate}},[n("i",{staticClass:"fa fa-trash-o"})])])]),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"7a261844",null);e.a=r.exports},function(t,e,n){"use strict";var a={name:"CustomString",props:{title:String,name:String,value:String,error:Array},methods:{handleInput:function(t){this.$emit("input",this.$refs.str.value)},clearField:function(){this.name="",this.$refs.str.value="",this.$emit("input",this.$refs.str.value)},hasError:function(){return this.error.length>0}}},i=n(0),r=Object(i.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("input",{ref:"str",staticClass:"form-control",attrs:{type:"text",name:t.name,title:t.title,autocomplete:"off",placeholder:t.title},domProps:{value:t.value},on:{input:t.handleInput}}),t._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:t.clearField}},[n("i",{staticClass:"fa fa-trash-o"})])])]),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"ada77346",null);e.a=r.exports},function(t,e,n){"use strict";var a={name:"CustomTextarea",props:{title:String,name:String,value:String,error:Array},data:function(){return{textValue:this.value}},methods:{handleInput:function(t){this.$emit("input",this.$refs.str.value)},hasError:function(){return this.error.length>0}}},i=n(0),r=Object(i.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.textValue,expression:"textValue"}],ref:"str",staticClass:"form-control",attrs:{name:t.name,title:t.title,autocomplete:"off",rows:"8",placeholder:t.title},domProps:{value:t.textValue},on:{input:[function(e){e.target.composing||(t.textValue=e.target.value)},t.handleInput]}}),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"40389097",null);e.a=r.exports},function(t,e,n){"use strict";var a={props:["error","value","index"],name:"StandardDate",methods:{hasError:function(){return this.error.length>0},handleInput:function(t){this.$emit("input",this.$refs.date.value)},clearDate:function(){this.name="",this.$refs.date.value="",this.$emit("input",this.$refs.date.value),this.$emit("clear:date")}}},i=n(0),r=Object(i.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.$t("firefly.date"))+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("input",{ref:"date",staticClass:"form-control",attrs:{type:"date",name:"date[]",title:t.$t("firefly.date"),autocomplete:"off",disabled:t.index>0,placeholder:t.$t("firefly.date")},domProps:{value:t.value},on:{input:t.handleInput}}),t._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:t.clearDate}},[n("i",{staticClass:"fa fa-trash-o"})])])]),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"4e877916",null);e.a=r.exports},function(t,e,n){"use strict";var a={props:["error","value","index"],name:"GroupDescription",methods:{hasError:function(){return this.error.length>0},handleInput:function(t){this.$emit("input",this.$refs.descr.value)},clearField:function(){this.name="",this.$refs.descr.value="",this.$emit("input",this.$refs.descr.value)}}},i=n(0),r=Object(i.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.$t("firefly.split_transaction_title"))+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("input",{ref:"descr",staticClass:"form-control",attrs:{type:"text",name:"group_title",title:t.$t("firefly.split_transaction_title"),autocomplete:"off",placeholder:t.$t("firefly.split_transaction_title")},domProps:{value:t.value},on:{input:t.handleInput}}),t._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:t.clearField}},[n("i",{staticClass:"fa fa-trash-o"})])])]),t._v(" "),0===t.error.length?n("p",{staticClass:"help-block"},[t._v("\n "+t._s(t.$t("firefly.split_transaction_title_help"))+"\n ")]):t._e(),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"2666c561",null);e.a=r.exports},function(t,e,n){"use strict";var a={props:["error","value","index"],name:"TransactionDescription",mounted:function(){this.target=this.$refs.descr,this.descriptionAutoCompleteURI=document.getElementsByTagName("base")[0].href+"json/transaction-journals/all?search=",this.$refs.descr.focus()},components:{},data:function(){return{descriptionAutoCompleteURI:null,name:null,description:null,target:null}},methods:{search:function(t){return["ab","cd"]},hasError:function(){return this.error.length>0},clearDescription:function(){this.description="",this.$refs.descr.value="",this.$emit("input",this.$refs.descr.value),this.$emit("clear:description")},handleInput:function(t){this.$emit("input",this.$refs.descr.value)},handleEnter:function(t){t.keyCode},selectedItem:function(t){void 0!==this.name&&"string"!=typeof this.name&&(this.$refs.descr.value=this.name.description,this.$emit("input",this.$refs.descr.value))}}},i=n(0),r=Object(i.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.$t("firefly.description"))+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("input",{ref:"descr",staticClass:"form-control",attrs:{type:"text",name:"description[]",title:t.$t("firefly.description"),autocomplete:"off",placeholder:t.$t("firefly.description")},domProps:{value:t.value},on:{keypress:t.handleEnter,submit:function(t){t.preventDefault()},input:t.handleInput}}),t._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:t.clearDescription}},[n("i",{staticClass:"fa fa-trash-o"})])])]),t._v(" "),n("typeahead",{attrs:{"open-on-empty":!0,"open-on-focus":!0,"async-src":t.descriptionAutoCompleteURI,target:t.target,"item-key":"description"},on:{input:t.selectedItem},model:{value:t.name,callback:function(e){t.name=e},expression:"name"}}),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"dfd3d572",null);e.a=r.exports},function(t,e,n){"use strict";var a={name:"CustomTransactionFields",props:["value","error"],mounted:function(){this.getPreference()},data:function(){return{customInterestDate:null,fields:[{interest_date:!1,book_date:!1,process_date:!1,due_date:!1,payment_date:!1,invoice_date:!1,internal_reference:!1,notes:!1,attachments:!1}]}},computed:{dateComponent:function(){return"custom-date"},stringComponent:function(){return"custom-string"},attachmentComponent:function(){return"custom-attachments"},textareaComponent:function(){return"custom-textarea"}},methods:{handleInput:function(t){this.$emit("input",this.value)},getPreference:function(){var t=this,e=document.getElementsByTagName("base")[0].href+"api/v1/preferences/transaction_journal_optional_fields";axios.get(e).then((function(e){t.fields=e.data.data.attributes.data})).catch((function(){return console.warn("Oh. Something went wrong loading custom transaction fields.")}))}}},i=n(0),r=Object(i.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("p",{staticClass:"help-block",domProps:{innerHTML:t._s(t.$t("firefly.hidden_fields_preferences"))}}),t._v(" "),this.fields.interest_date?n(t.dateComponent,{tag:"component",attrs:{error:t.error.interest_date,name:"interest_date[]",title:t.$t("form.interest_date")},model:{value:t.value.interest_date,callback:function(e){t.$set(t.value,"interest_date",e)},expression:"value.interest_date"}}):t._e(),t._v(" "),this.fields.book_date?n(t.dateComponent,{tag:"component",attrs:{error:t.error.book_date,name:"book_date[]",title:t.$t("form.book_date")},model:{value:t.value.book_date,callback:function(e){t.$set(t.value,"book_date",e)},expression:"value.book_date"}}):t._e(),t._v(" "),this.fields.process_date?n(t.dateComponent,{tag:"component",attrs:{error:t.error.process_date,name:"process_date[]",title:t.$t("form.process_date")},model:{value:t.value.process_date,callback:function(e){t.$set(t.value,"process_date",e)},expression:"value.process_date"}}):t._e(),t._v(" "),this.fields.due_date?n(t.dateComponent,{tag:"component",attrs:{error:t.error.due_date,name:"due_date[]",title:t.$t("form.due_date")},model:{value:t.value.due_date,callback:function(e){t.$set(t.value,"due_date",e)},expression:"value.due_date"}}):t._e(),t._v(" "),this.fields.payment_date?n(t.dateComponent,{tag:"component",attrs:{error:t.error.payment_date,name:"payment_date[]",title:t.$t("form.payment_date")},model:{value:t.value.payment_date,callback:function(e){t.$set(t.value,"payment_date",e)},expression:"value.payment_date"}}):t._e(),t._v(" "),this.fields.invoice_date?n(t.dateComponent,{tag:"component",attrs:{error:t.error.invoice_date,name:"invoice_date[]",title:t.$t("form.invoice_date")},model:{value:t.value.invoice_date,callback:function(e){t.$set(t.value,"invoice_date",e)},expression:"value.invoice_date"}}):t._e(),t._v(" "),this.fields.internal_reference?n(t.stringComponent,{tag:"component",attrs:{error:t.error.internal_reference,name:"internal_reference[]",title:t.$t("form.internal_reference")},model:{value:t.value.internal_reference,callback:function(e){t.$set(t.value,"internal_reference",e)},expression:"value.internal_reference"}}):t._e(),t._v(" "),this.fields.attachments?n(t.attachmentComponent,{tag:"component",attrs:{error:t.error.attachments,name:"attachments[]",title:t.$t("firefly.attachments")},model:{value:t.value.attachments,callback:function(e){t.$set(t.value,"attachments",e)},expression:"value.attachments"}}):t._e(),t._v(" "),this.fields.notes?n(t.textareaComponent,{tag:"component",attrs:{error:t.error.notes,name:"notes[]",title:t.$t("firefly.notes")},model:{value:t.value.notes,callback:function(e){t.$set(t.value,"notes",e)},expression:"value.notes"}}):t._e()],1)}),[],!1,null,"c24d33ba",null);e.a=r.exports},function(t,e,n){"use strict";var a={name:"PiggyBank",props:["value","transactionType","error","no_piggy_bank"],mounted:function(){this.loadPiggies()},data:function(){return{piggies:[]}},methods:{handleInput:function(t){this.$emit("input",this.$refs.piggy.value)},hasError:function(){return this.error.length>0},loadPiggies:function(){var t=this,e=document.getElementsByTagName("base")[0].href+"json/piggy-banks";axios.get(e,{}).then((function(e){for(var n in t.piggies=[{name_with_amount:t.no_piggy_bank,id:0}],e.data)e.data.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n)&&n<=4294967294&&t.piggies.push(e.data[n])}))}}},i=n(0),r=Object(i.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return void 0!==this.transactionType&&"Transfer"===this.transactionType?n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12"},[this.piggies.length>0?n("select",{ref:"piggy",staticClass:"form-control",attrs:{name:"piggy_bank[]"},on:{input:t.handleInput}},t._l(this.piggies,(function(e){return n("option",{attrs:{label:e.name_with_amount},domProps:{value:e.id}},[t._v(t._s(e.name_with_amount))])})),0):t._e(),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)]):t._e()}),[],!1,null,"1797c09a",null);e.a=r.exports},function(t,e,n){"use strict";var a=n(3),i=n.n(a),r=n(29),o={name:"Tags",components:{VueTagsInput:n.n(r).a},props:["value","error"],data:function(){return{tag:"",autocompleteItems:[],debounce:null,tags:this.value}},watch:{tag:"initItems"},methods:{update:function(t){this.autocompleteItems=[],this.tags=t,this.$emit("input",this.tags)},clearTags:function(){this.tags=[]},hasError:function(){return this.error.length>0},initItems:function(){var t=this;if(!(this.tag.length<2)){var e=document.getElementsByTagName("base")[0].href+"json/tags?search=".concat(this.tag);clearTimeout(this.debounce),this.debounce=setTimeout((function(){i.a.get(e).then((function(e){t.autocompleteItems=e.data.map((function(t){return{text:t.tag}}))})).catch((function(){return console.warn("Oh. Something went wrong loading tags.")}))}),600)}}}},s=n(0),c=Object(s.a)(o,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.$t("firefly.tags"))+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("vue-tags-input",{attrs:{tags:t.tags,title:t.$t("firefly.tags"),classes:"form-input","autocomplete-items":t.autocompleteItems,"add-only-from-autocomplete":!1,placeholder:t.$t("firefly.tags")},on:{"tags-changed":t.update},model:{value:t.tag,callback:function(e){t.tag=e},expression:"tag"}}),t._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:t.clearTags}},[n("i",{staticClass:"fa fa-trash-o"})])])],1)]),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)}),[],!1,null,"4f8ece50",null);e.a=c.exports},function(t,e,n){"use strict";var a={name:"Category",props:{value:String,inputName:String,error:Array,accountName:{type:String,default:""}},data:function(){return{categoryAutoCompleteURI:null,name:null,target:null}},ready:function(){this.name=this.accountName},mounted:function(){this.target=this.$refs.input,this.categoryAutoCompleteURI=document.getElementsByTagName("base")[0].href+"json/categories?search="},methods:{hasError:function(){return this.error.length>0},handleInput:function(t){"string"!=typeof this.$refs.input.value?this.$emit("input",this.$refs.input.value.name):this.$emit("input",this.$refs.input.value)},clearCategory:function(){this.name="",this.$refs.input.value="",this.$emit("input",this.$refs.input.value),this.$emit("clear:category")},selectedItem:function(t){void 0!==this.name&&(this.$emit("select:category",this.name),"string"!=typeof this.name?this.$emit("input",this.name.name):this.$emit("input",this.name))},handleEnter:function(t){t.keyCode}}},i=n(0),r=Object(i.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.$t("firefly.category"))+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("input",{ref:"input",staticClass:"form-control",attrs:{type:"text",placeholder:t.$t("firefly.category"),autocomplete:"off","data-role":"input",name:"category[]",title:t.$t("firefly.category")},domProps:{value:t.value},on:{input:t.handleInput,keypress:t.handleEnter,submit:function(t){t.preventDefault()}}}),t._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{type:"button"},on:{click:t.clearCategory}},[n("i",{staticClass:"fa fa-trash-o"})])])]),t._v(" "),n("typeahead",{attrs:{"open-on-empty":!0,"open-on-focus":!0,"async-src":t.categoryAutoCompleteURI,target:t.target,"item-key":"name"},on:{input:t.selectedItem},model:{value:t.name,callback:function(e){t.name=e},expression:"name"}}),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"5fd3029c",null);e.a=r.exports},function(t,e,n){"use strict";var a={name:"Amount",props:["source","destination","transactionType","value","error"],data:function(){return{sourceAccount:this.source,destinationAccount:this.destination,type:this.transactionType}},methods:{handleInput:function(t){this.$emit("input",this.$refs.amount.value)},clearAmount:function(){this.$refs.amount.value="",this.$emit("input",this.$refs.amount.value),this.$emit("clear:amount")},hasError:function(){return this.error.length>0},changeData:function(){var t=this.transactionType;t||this.source.name||this.destination.name?(null===t&&(t=""),""!==t||""===this.source.currency_name?""!==t||""===this.destination.currency_name?"withdrawal"!==t.toLowerCase()&&"reconciliation"!==t.toLowerCase()&&"transfer"!==t.toLowerCase()?("deposit"===t.toLowerCase()&&"debt"!==this.source.type.toLowerCase()&&"loan"!==this.source.type.toLowerCase()&&"mortgage"!==this.source.type.toLowerCase()&&$(this.$refs.cur).text(this.destination.currency_name),"deposit"!==t.toLowerCase()||"debt"!==this.source.type.toLowerCase()&&"loan"!==this.source.type.toLowerCase()&&"mortgage"!==this.source.type.toLowerCase()||$(this.$refs.cur).text(this.source.currency_name)):$(this.$refs.cur).text(this.source.currency_name):$(this.$refs.cur).text(this.destination.currency_name):$(this.$refs.cur).text(this.source.currency_name)):$(this.$refs.cur).text("")}},watch:{source:function(){this.changeData()},destination:function(){this.changeData()},transactionType:function(){this.changeData()}},mounted:function(){this.changeData()}},i=n(0),r=Object(i.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-8 col-sm-offset-4 text-sm"},[t._v("\n "+t._s(t.$t("firefly.amount"))+"\n ")]),t._v(" "),n("label",{ref:"cur",staticClass:"col-sm-4 control-label"}),t._v(" "),n("div",{staticClass:"col-sm-8"},[n("div",{staticClass:"input-group"},[n("input",{ref:"amount",staticClass:"form-control",attrs:{type:"number",step:"any",name:"amount[]",title:t.$t("firefly.amount"),autocomplete:"off",placeholder:t.$t("firefly.amount")},domProps:{value:t.value},on:{input:t.handleInput}}),t._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:t.clearAmount}},[n("i",{staticClass:"fa fa-trash-o"})])])])]),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)}),[],!1,null,"440928b9",null);e.a=r.exports},function(t,e,n){"use strict";var a={name:"ForeignAmountSelect",props:["source","destination","transactionType","value","error","no_currency","title"],mounted:function(){this.liability=!1,this.loadCurrencies()},data:function(){return{currencies:[],enabledCurrencies:[],exclude:null,liability:!1}},watch:{source:function(){this.changeData()},destination:function(){this.changeData()},transactionType:function(){this.changeData()}},methods:{clearAmount:function(){this.$refs.amount.value="",this.$emit("input",this.$refs.amount.value),this.$emit("clear:amount")},hasError:function(){return this.error.length>0},handleInput:function(t){var e={amount:this.$refs.amount.value,currency_id:this.$refs.currency_select.value};this.$emit("input",e)},changeData:function(){this.enabledCurrencies=[];var t=this.destination.type?this.destination.type.toLowerCase():"invalid",e=this.source.type?this.source.type.toLowerCase():"invalid",n=this.transactionType?this.transactionType.toLowerCase():"invalid",a=["loan","debt","mortgage"],i=-1!==a.indexOf(e),r=-1!==a.indexOf(t);if("transfer"===n||r||i)for(var o in this.liability=!0,this.currencies)this.currencies.hasOwnProperty(o)&&/^0$|^[1-9]\d*$/.test(o)&&o<=4294967294&&this.currencies[o].id===this.destination.currency_id&&this.enabledCurrencies.push(this.currencies[o]);else if("withdrawal"===n&&this.source&&!1===i)for(var s in this.currencies)this.currencies.hasOwnProperty(s)&&/^0$|^[1-9]\d*$/.test(s)&&s<=4294967294&&this.source.currency_id!==this.currencies[s].id&&this.enabledCurrencies.push(this.currencies[s]);else if("deposit"===n&&this.destination)for(var c in this.currencies)this.currencies.hasOwnProperty(c)&&/^0$|^[1-9]\d*$/.test(c)&&c<=4294967294&&this.destination.currency_id!==this.currencies[c].id&&this.enabledCurrencies.push(this.currencies[c]);else for(var u in this.currencies)this.currencies.hasOwnProperty(u)&&/^0$|^[1-9]\d*$/.test(u)&&u<=4294967294&&this.enabledCurrencies.push(this.currencies[u])},loadCurrencies:function(){var t=this,e=document.getElementsByTagName("base")[0].href+"json/currencies";axios.get(e,{}).then((function(e){for(var n in t.currencies=[{name:t.no_currency,id:0,enabled:!0}],t.enabledCurrencies=[{name:t.no_currency,id:0,enabled:!0}],e.data)e.data.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n)&&n<=4294967294&&e.data[n].enabled&&(t.currencies.push(e.data[n]),t.enabledCurrencies.push(e.data[n]))}))}}},i=n(0),r=Object(i.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return this.enabledCurrencies.length>=1?n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-8 col-sm-offset-4 text-sm"},[t._v("\n "+t._s(t.$t("form.foreign_amount"))+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-4"},[n("select",{ref:"currency_select",staticClass:"form-control",attrs:{name:"foreign_currency[]"},on:{input:t.handleInput}},t._l(this.enabledCurrencies,(function(e){return e.enabled?n("option",{attrs:{label:e.name},domProps:{value:e.id,selected:t.value.currency_id===e.id}},[t._v("\n "+t._s(e.name)+"\n ")]):t._e()})),0)]),t._v(" "),n("div",{staticClass:"col-sm-8"},[n("div",{staticClass:"input-group"},[this.enabledCurrencies.length>0?n("input",{ref:"amount",staticClass:"form-control",attrs:{type:"number",step:"any",name:"foreign_amount[]",title:this.title,autocomplete:"off",placeholder:this.title},domProps:{value:t.value.amount},on:{input:t.handleInput}}):t._e(),t._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:t.clearAmount}},[n("i",{staticClass:"fa fa-trash-o"})])])]),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)]):t._e()}),[],!1,null,"37601284",null);e.a=r.exports},function(t,e,n){"use strict";var a={props:{source:String,destination:String,type:String},methods:{changeValue:function(){if(this.source&&this.destination){var t="";window.accountToTypes[this.source]?window.accountToTypes[this.source][this.destination]?t=window.accountToTypes[this.source][this.destination]:console.warn("User selected an impossible destination."):console.warn("User selected an impossible source."),""!==t&&(this.transactionType=t,this.sentence=this.$t("firefly.you_create_"+t.toLowerCase()),this.$emit("act:limitSourceType",this.source),this.$emit("act:limitDestinationType",this.destination))}else this.sentence="",this.transactionType="";this.$emit("set:transactionType",this.transactionType)}},data:function(){return{transactionType:this.type,sentence:""}},watch:{source:function(){this.changeValue()},destination:function(){this.changeValue()}},name:"TransactionType"},i=n(0),r=Object(i.a)(a,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"form-group"},[e("div",{staticClass:"col-sm-12"},[""!==this.sentence?e("label",{staticClass:"control-label text-info"},[this._v("\n "+this._s(this.sentence)+"\n ")]):this._e()])])}),[],!1,null,"0539dc1a",null);e.a=r.exports},function(t,e,n){"use strict";var a={props:{inputName:String,title:String,index:Number,transactionType:String,error:Array,accountName:{type:String,default:""},accountTypeFilters:{type:Array,default:function(){return[]}},defaultAccountTypeFilters:{type:Array,default:function(){return[]}}},data:function(){return{accountAutoCompleteURI:null,name:null,trType:this.transactionType,target:null,inputDisabled:!1,allowedTypes:this.accountTypeFilters,defaultAllowedTypes:this.defaultAccountTypeFilters}},ready:function(){this.name=this.accountName},mounted:function(){this.target=this.$refs.input;var t=this.allowedTypes.join(",");this.name=this.accountName,this.accountAutoCompleteURI=document.getElementsByTagName("base")[0].href+"json/accounts?types="+t+"&search=",this.triggerTransactionType()},watch:{transactionType:function(){this.triggerTransactionType()},accountName:function(){this.name=this.accountName},accountTypeFilters:function(){var t=this.accountTypeFilters.join(",");0===this.accountTypeFilters.length&&(t=this.defaultAccountTypeFilters.join(",")),this.accountAutoCompleteURI=document.getElementsByTagName("base")[0].href+"json/accounts?types="+t+"&search="},name:function(){}},methods:{hasError:function(){return this.error.length>0},triggerTransactionType:function(){if(this.name,null!==this.transactionType&&""!==this.transactionType&&(this.inputDisabled=!1,""!==this.transactionType.toString()&&this.index>0)){if("transfer"===this.transactionType.toString().toLowerCase())return void(this.inputDisabled=!0);if("withdrawal"===this.transactionType.toString().toLowerCase()&&"source"===this.inputName.substr(0,6).toLowerCase())return void(this.inputDisabled=!0);"deposit"===this.transactionType.toString().toLowerCase()&&"destination"===this.inputName.substr(0,11).toLowerCase()&&(this.inputDisabled=!0)}},selectedItem:function(t){void 0!==this.name&&("string"==typeof this.name&&this.$emit("clear:value"),this.$emit("select:account",this.name))},clearSource:function(t){this.name="",this.$emit("clear:value")},handleEnter:function(t){t.keyCode}}},i=n(0),r=Object(i.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("input",{ref:"input",staticClass:"form-control",attrs:{type:"text",placeholder:t.title,"data-index":t.index,autocomplete:"off","data-role":"input",disabled:t.inputDisabled,name:t.inputName,title:t.title},on:{keypress:t.handleEnter,submit:function(t){t.preventDefault()}}}),t._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:t.clearSource}},[n("i",{staticClass:"fa fa-trash-o"})])])]),t._v(" "),n("typeahead",{attrs:{"open-on-empty":!0,"open-on-focus":!0,"async-src":t.accountAutoCompleteURI,target:t.target,"item-key":"name_with_balance"},on:{input:t.selectedItem},model:{value:t.name,callback:function(e){t.name=e},expression:"name"}}),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"019a1ec0",null);e.a=r.exports},function(t,e,n){"use strict";var a={name:"Budget",props:{transactionType:String,value:{type:[String,Number],default:0},error:Array,no_budget:String},mounted:function(){this.loadBudgets()},data:function(){return{selected:this.value,budgets:[]}},methods:{signalChange:function(t){this.$emit("input",this.$refs.budget.value)},handleInput:function(t){this.$emit("input",this.$refs.budget.value)},hasError:function(){return this.error.length>0},loadBudgets:function(){var t=this,e=document.getElementsByTagName("base")[0].href+"json/budgets";axios.get(e,{}).then((function(e){for(var n in t.budgets=[{name:t.no_budget,id:0}],e.data)e.data.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n)&&n<=4294967294&&t.budgets.push(e.data[n])}))}}},i=n(0),r=Object(i.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return void 0===this.transactionType||"withdrawal"===this.transactionType||"Withdrawal"===this.transactionType||""===this.transactionType||null===this.transactionType?n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.$t("firefly.budget"))+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[this.budgets.length>0?n("select",{directives:[{name:"model",rawName:"v-model",value:t.selected,expression:"selected"}],ref:"budget",staticClass:"form-control",attrs:{name:"budget[]",title:t.$t("firefly.budget")},on:{input:t.handleInput,change:[function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.selected=e.target.multiple?n:n[0]},t.signalChange]}},t._l(this.budgets,(function(e){return n("option",{attrs:{label:e.name},domProps:{value:e.id}},[t._v(t._s(e.name)+"\n ")])})),0):t._e(),t._v(" "),1===this.budgets.length?n("p",{staticClass:"help-block",domProps:{innerHTML:t._s(t.$t("firefly.no_budget_pointer"))}}):t._e(),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)]):t._e()}),[],!1,null,"1e0beee7",null);e.a=r.exports},,,,,function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Jak to jde?","flash_error":"Chyba!","flash_success":"Úspěšně dokončeno!","close":"Zavřít","split_transaction_title":"Popis rozúčtování","errors_submission":"There was something wrong with your submission. Please check out the errors below.","split":"Rozdělit","transaction_journal_information":"Informace o transakci","no_budget_pointer":"Zdá se, že zatím nemáte žádné rozpočty. Na stránce rozpočty byste nějaké měli vytvořit. Rozpočty mohou pomoci udržet si přehled ve výdajích.","source_account":"Zdrojový účet","hidden_fields_preferences":"You can enable more transaction options in your settings.","destination_account":"Cílový účet","add_another_split":"Přidat další rozúčtování","submission":"Submission","create_another":"After storing, return here to create another one.","reset_after":"Reset form after submission","submit":"Odeslat","amount":"Částka","date":"Datum","tags":"Štítky","no_budget":"(žádný rozpočet)","category":"Kategorie","attachments":"Přílohy","notes":"Poznámky","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","store_as_new":"Store as a new transaction instead of updating.","split_title_help":"Pokud vytvoříte rozúčtování, je třeba, aby zde byl celkový popis pro všechna rozúčtování dané transakce.","none_in_select_list":"(žádné)","no_piggy_bank":"(žádná pokladnička)","description":"Popis","split_transaction_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","destination_account_reconciliation":"You can\'t edit the destination account of a reconciliation transaction.","source_account_reconciliation":"You can\'t edit the source account of a reconciliation transaction.","budget":"Rozpočet","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"Úrokové datum","book_date":"Datum rezervace","process_date":"Datum zpracování","due_date":"Datum splatnosti","foreign_amount":"Částka v cizí měně","payment_date":"Datum zaplacení","invoice_date":"Datum vystavení","internal_reference":"Interní reference"},"config":{"html_language":"cs"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Überblick","flash_error":"Fehler!","flash_success":"Geschafft!","close":"Schließen","split_transaction_title":"Beschreibung der Splittbuchung","errors_submission":"Problem bei der Übermittlung. Bitte überprüfen Sie die nachfolgenden Fehler.","split":"Teilen","transaction_journal_information":"Transaktionsinformationen","no_budget_pointer":"Sie scheinen noch keine Kostenrahmen festgelegt zu haben. Sie sollten einige davon auf der Seite „Kostenrahmen” anlegen. Kostenrahmen können Ihnen dabei helfen, den Überblick über die Ausgaben zu behalten.","source_account":"Quellkonto","hidden_fields_preferences":"Sie können weitere Buchungsoptionen in Ihren Einstellungen aktivieren.","destination_account":"Zielkonto","add_another_split":"Eine weitere Aufteilung hinzufügen","submission":"Übermittlung","create_another":"Nach dem Speichern hierher zurückkehren, um ein weiteres zu erstellen.","reset_after":"Formular nach der Übermittlung zurücksetzen","submit":"Absenden","amount":"Betrag","date":"Datum","tags":"Schlagwörter","no_budget":"(kein Budget)","category":"Kategorie","attachments":"Anhänge","notes":"Notizen","update_transaction":"Buchung aktualisieren","after_update_create_another":"Nach dem Aktualisieren hierher zurückkehren, um weiter zu bearbeiten.","store_as_new":"Als neue Buchung speichern statt zu aktualisieren.","split_title_help":"Wenn Sie eine Splittbuchung anlegen, muss es eine eindeutige Beschreibung für alle Aufteilungen der Buchhaltung geben.","none_in_select_list":"(Keine)","no_piggy_bank":"(kein Sparschwein)","description":"Beschreibung","split_transaction_title_help":"Wenn Sie eine Splittbuchung anlegen, muss es eine eindeutige Beschreibung für alle Aufteilungen der Buchung geben.","destination_account_reconciliation":"Sie können das Zielkonto einer Kontenausgleichsbuchung nicht bearbeiten.","source_account_reconciliation":"Sie können das Quellkonto einer Kontenausgleichsbuchung nicht bearbeiten.","budget":"Budget","you_create_withdrawal":"Sie haben eine Auszahlung erstellt.","you_create_transfer":"Sie haben eine Buchung erstellt.","you_create_deposit":"Sie haben eine Einzahlung erstellt."},"form":{"interest_date":"Zinstermin","book_date":"Buchungsdatum","process_date":"Bearbeitungsdatum","due_date":"Fälligkeitstermin","foreign_amount":"Ausländischer Betrag","payment_date":"Zahlungsdatum","invoice_date":"Rechnungsdatum","internal_reference":"Interner Verweis"},"config":{"html_language":"de"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"What\'s playing?","flash_error":"Error!","flash_success":"Success!","close":"Close","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors below.","split":"Split","transaction_journal_information":"Transaction information","no_budget_pointer":"You seem to have no budgets yet. You should create some on the budgets-page. Budgets can help you keep track of expenses.","source_account":"Source account","hidden_fields_preferences":"You can enable more transaction options in your settings.","destination_account":"Destination account","add_another_split":"Add another split","submission":"Submission","create_another":"After storing, return here to create another one.","reset_after":"Reset form after submission","submit":"Submit","amount":"Amount","date":"Date","tags":"Tags","no_budget":"(no budget)","category":"Category","attachments":"Attachments","notes":"Notes","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","store_as_new":"Store as a new transaction instead of updating.","split_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","none_in_select_list":"(none)","no_piggy_bank":"(no piggy bank)","description":"Description","split_transaction_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","destination_account_reconciliation":"You can\'t edit the destination account of a reconciliation transaction.","source_account_reconciliation":"You can\'t edit the source account of a reconciliation transaction.","budget":"Budget","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"Interest date","book_date":"Book date","process_date":"Processing date","due_date":"Due date","foreign_amount":"Foreign amount","payment_date":"Payment date","invoice_date":"Invoice date","internal_reference":"Internal reference"},"config":{"html_language":"en"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"¿Qué está pasando?","flash_error":"¡Error!","flash_success":"¡Operación correcta!","close":"Cerrar","split_transaction_title":"Descripción de la transacción dividida","errors_submission":"Hubo algo malo con su envío. Por favor, revise los errores de abajo.","split":"Separar","transaction_journal_information":"Información de transacción","no_budget_pointer":"Parece que aún no tiene presupuestos. Debe crear algunos en la página presupuestos. Los presupuestos pueden ayudarle a realizar un seguimiento de los gastos.","source_account":"Cuenta origen","hidden_fields_preferences":"Puede habilitar más opciones de transacción en sus ajustes .","destination_account":"Cuenta destino","add_another_split":"Añadir otra división","submission":"Envío","create_another":"Después de guardar, vuelve aquí para crear otro.","reset_after":"Restablecer formulario después del envío","submit":"Enviar","amount":"Cantidad","date":"Fecha","tags":"Etiquetas","no_budget":"(sin presupuesto)","category":"Categoria","attachments":"Archivos adjuntos","notes":"Notas","update_transaction":"Actualizar transacción","after_update_create_another":"Después de actualizar, vuelve aquí para continuar editando.","store_as_new":"Almacenar como una nueva transacción en lugar de actualizar.","split_title_help":"Si crea una transacción dividida, debe haber una descripción global para todos los fragmentos de la transacción.","none_in_select_list":"(ninguno)","no_piggy_bank":"(sin alcancía)","description":"Descripción","split_transaction_title_help":"Si crea una transacción dividida, debe existir una descripción global para todas las divisiones de la transacción.","destination_account_reconciliation":"No puede editar la cuenta de destino de una transacción de reconciliación.","source_account_reconciliation":"No puede editar la cuenta de origen de una transacción de reconciliación.","budget":"Presupuesto","you_create_withdrawal":"Está creando un retiro.","you_create_transfer":"Está creando una transferencia.","you_create_deposit":"Está creando un depósito."},"form":{"interest_date":"Fecha de interés","book_date":"Fecha de registro","process_date":"Fecha de procesamiento","due_date":"Fecha de vencimiento","foreign_amount":"Cantidad extranjera","payment_date":"Fecha de pago","invoice_date":"Fecha de la factura","internal_reference":"Referencia interna"},"config":{"html_language":"es"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Τι παίζει;","flash_error":"Σφάλμα!","flash_success":"Επιτυχία!","close":"Κλείσιμο","split_transaction_title":"Περιγραφή της συναλλαγής με διαχωρισμό","errors_submission":"Υπήρξε κάποιο λάθος με την υποβολή σας. Ελέγξτε τα παρακάτω σφάλματα.","split":"Διαχωρισμός","transaction_journal_information":"Πληροφορίες συναλλαγής","no_budget_pointer":"Φαίνεται πως δεν έχετε ορίσει προϋπολογισμούς ακόμη. Πρέπει να δημιουργήσετε κάποιον στη σελίδα προϋπολογισμών. Οι προϋπολογισμοί σας βοηθούν να επιβλέπετε τις δαπάνες σας.","source_account":"Λογαριασμός προέλευσης","hidden_fields_preferences":"Μπορείτε να ενεργοποιήσετε περισσότερες επιλογές συναλλαγών στις ρυθμίσεις.","destination_account":"Λογαριασμός προορισμού","add_another_split":"Προσθήκη ενός ακόμα διαχωρισμού","submission":"Υποβολή","create_another":"Μετά την αποθήκευση, επιστρέψτε εδώ για να δημιουργήσετε ακόμη ένα.","reset_after":"Επαναφορά φόρμας μετά την υποβολή","submit":"Υποβολή","amount":"Ποσό","date":"Ημερομηνία","tags":"Ετικέτες","no_budget":"(χωρίς προϋπολογισμό)","category":"Κατηγορία","attachments":"Συνημμένα","notes":"Σημειώσεις","update_transaction":"Ενημέρωση συναλλαγής","after_update_create_another":"Μετά την ενημέρωση, επιστρέψτε εδώ για να συνεχίσετε την επεξεργασία.","store_as_new":"Αποθήκευση ως νέα συναλλαγή αντί για ενημέρωση.","split_title_help":"Εάν δημιουργήσετε μια διαχωρισμένη συναλλαγή, πρέπει να υπάρχει μια καθολική περιγραφή για όλους τους διαχωρισμούς της συναλλαγής.","none_in_select_list":"(τίποτα)","no_piggy_bank":"(χωρίς κουμπαρά)","description":"Περιγραφή","split_transaction_title_help":"Εάν δημιουργήσετε μια διαχωρισμένη συναλλαγή, πρέπει να υπάρχει μια καθολική περιγραφή για όλους τους διαχωρισμούς της συναλλαγής.","destination_account_reconciliation":"Δεν μπορείτε να τροποποιήσετε τον λογαριασμό προορισμού σε μια συναλλαγή τακτοποίησης.","source_account_reconciliation":"Δεν μπορείτε να τροποποιήσετε τον λογαριασμό προέλευσης σε μια συναλλαγή τακτοποίησης.","budget":"Προϋπολογισμός","you_create_withdrawal":"Δημιουργείτε μια ανάληψη.","you_create_transfer":"Δημιουργείτε μια μεταφορά.","you_create_deposit":"Δημιουργείτε μια κατάθεση."},"form":{"interest_date":"Ημερομηνία τοκισμού","book_date":"Ημερομηνία εγγραφής","process_date":"Ημερομηνία επεξεργασίας","due_date":"Ημερομηνία προθεσμίας","foreign_amount":"Ποσό σε ξένο νόμισμα","payment_date":"Ημερομηνία πληρωμής","invoice_date":"Ημερομηνία τιμολόγησης","internal_reference":"Εσωτερική αναφορά"},"config":{"html_language":"el"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Que se passe-t-il ?","flash_error":"Erreur !","flash_success":"Super !","close":"Fermer","split_transaction_title":"Description de l\'opération ventilée","errors_submission":"Certaines informations ne sont pas correctes dans votre formulaire. Veuillez vérifier les erreurs ci-dessous.","split":"Ventiler","transaction_journal_information":"Informations sur les opérations","no_budget_pointer":"Vous semblez n’avoir encore aucun budget. Vous devriez en créer un sur la page des budgets. Les budgets peuvent vous aider à garder une trace des dépenses.","source_account":"Compte source","hidden_fields_preferences":"Vous pouvez activer plus d\'options d\'opérations dans vos paramètres.","destination_account":"Compte de destination","add_another_split":"Ajouter une autre fraction","submission":"Soumission","create_another":"Après enregistrement, revenir ici pour en créer un nouveau.","reset_after":"Réinitialiser le formulaire après soumission","submit":"Soumettre","amount":"Montant","date":"Date","tags":"Tags","no_budget":"(pas de budget)","category":"Catégorie","attachments":"Pièces jointes","notes":"Notes","update_transaction":"Mettre à jour l\'opération","after_update_create_another":"Après la mise à jour, revenir ici pour continuer l\'édition.","store_as_new":"Enregistrer comme une nouvelle opération au lieu de mettre à jour.","split_title_help":"Si vous créez une opération ventilée, il doit y avoir une description globale pour chaque fractions de l\'opération.","none_in_select_list":"(aucun)","no_piggy_bank":"(aucune tirelire)","description":"Description","split_transaction_title_help":"Si vous créez une opération ventilée, il doit y avoir une description globale pour chaque fraction de l\'opération.","destination_account_reconciliation":"Vous ne pouvez pas modifier le compte de destination d\'une opération de rapprochement.","source_account_reconciliation":"Vous ne pouvez pas modifier le compte source d\'une opération de rapprochement.","budget":"Budget","you_create_withdrawal":"Vous saisissez une dépense.","you_create_transfer":"Vous saisissez un transfert.","you_create_deposit":"Vous saisissez un dépôt."},"form":{"interest_date":"Date de valeur (intérêts)","book_date":"Date de réservation","process_date":"Date de traitement","due_date":"Échéance","foreign_amount":"Montant en devise étrangère","payment_date":"Date de paiement","invoice_date":"Date de facturation","internal_reference":"Référence interne"},"config":{"html_language":"fr"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Mi a helyzet?","flash_error":"Hiba!","flash_success":"Siker!","close":"Bezárás","split_transaction_title":"Felosztott tranzakció leírása","errors_submission":"Hiba történt a beküldés során. Kérem, javítsa az alábbi hibákat.","split":"Felosztás","transaction_journal_information":"Tranzakciós információk","no_budget_pointer":"Úgy tűnik, még nincsenek költségkeretek. Költségkereteket a költségkeretek oldalon lehet létrehozni. A költségkeretek segítenek nyomon követni a költségeket.","source_account":"Forrás számla","hidden_fields_preferences":"A beállításokban több tranzakciós beállítási lehetőség is megadható.","destination_account":"Célszámla","add_another_split":"Másik felosztás hozzáadása","submission":"Feliratkozás","create_another":"A tárolás után térjen vissza ide új létrehozásához.","reset_after":"Űrlap törlése a beküldés után","submit":"Beküldés","amount":"Összeg","date":"Dátum","tags":"Címkék","no_budget":"(nincs költségkeret)","category":"Kategória","attachments":"Mellékletek","notes":"Megjegyzések","update_transaction":"Tranzakció frissítése","after_update_create_another":"A frissítés után térjen vissza ide a szerkesztés folytatásához.","store_as_new":"Tárolás új tranzakcióként frissítés helyett.","split_title_help":"Felosztott tranzakció létrehozásakor meg kell adni egy globális leírást a tranzakció összes felosztása részére.","none_in_select_list":"(nincs)","no_piggy_bank":"(nincs malacpersely)","description":"Leírás","split_transaction_title_help":"Felosztott tranzakció létrehozásakor meg kell adni egy globális leírást a tranzakció összes felosztása részére.","destination_account_reconciliation":"Nem lehet szerkeszteni egy egyeztetett tranzakció célszámláját.","source_account_reconciliation":"Nem lehet szerkeszteni egy egyeztetett tranzakció forrásszámláját.","budget":"Költségkeret","you_create_withdrawal":"Egy költség létrehozása.","you_create_transfer":"Egy átutalás létrehozása.","you_create_deposit":"Egy bevétel létrehozása."},"form":{"interest_date":"Kamatfizetési időpont","book_date":"Könyvelés dátuma","process_date":"Feldolgozás dátuma","due_date":"Lejárati időpont","foreign_amount":"Külföldi összeg","payment_date":"Fizetés dátuma","invoice_date":"Számla dátuma","internal_reference":"Belső hivatkozás"},"config":{"html_language":"hu"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"What\'s playing?","flash_error":"Kesalahan!","flash_success":"Keberhasilan!","close":"Dekat","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors below.","split":"Pisah","transaction_journal_information":"Informasi transaksi","no_budget_pointer":"You seem to have no budgets yet. You should create some on the budgets-page. Budgets can help you keep track of expenses.","source_account":"Source account","hidden_fields_preferences":"You can enable more transaction options in your settings.","destination_account":"Destination account","add_another_split":"Tambahkan perpecahan lagi","submission":"Submission","create_another":"After storing, return here to create another one.","reset_after":"Reset form after submission","submit":"Menyerahkan","amount":"Jumlah","date":"Tanggal","tags":"Tag","no_budget":"(no budget)","category":"Kategori","attachments":"Lampiran","notes":"Notes","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","store_as_new":"Store as a new transaction instead of updating.","split_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","none_in_select_list":"(none)","no_piggy_bank":"(no piggy bank)","description":"Deskripsi","split_transaction_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","destination_account_reconciliation":"You can\'t edit the destination account of a reconciliation transaction.","source_account_reconciliation":"You can\'t edit the source account of a reconciliation transaction.","budget":"Anggaran","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"Tanggal bunga","book_date":"Tanggal buku","process_date":"Tanggal pemrosesan","due_date":"Batas tanggal terakhir","foreign_amount":"Foreign amount","payment_date":"Tanggal pembayaran","invoice_date":"Tanggal faktur","internal_reference":"Referensi internal"},"config":{"html_language":"id"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"La tua situazione finanziaria","flash_error":"Errore!","flash_success":"Successo!","close":"Chiudi","split_transaction_title":"Descrizione della transazione suddivisa","errors_submission":"Errore durante l\'invio. Controlla gli errori segnalati qui sotto.","split":"Dividi","transaction_journal_information":"Informazioni transazione","no_budget_pointer":"Sembra che tu non abbia ancora dei budget. Dovresti crearne alcuni nella pagina dei budget. I budget possono aiutarti a tenere traccia delle spese.","source_account":"Conto di origine","hidden_fields_preferences":"Puoi abilitare maggiori opzioni per le transazioni nelle tue impostazioni.","destination_account":"Conto destinazione","add_another_split":"Aggiungi un\'altra divisione","submission":"Invio","create_another":"Dopo il salvataggio, torna qui per crearne un\'altra.","reset_after":"Resetta il modulo dopo l\'invio","submit":"Invia","amount":"Importo","date":"Data","tags":"Etichette","no_budget":"(nessun budget)","category":"Categoria","attachments":"Allegati","notes":"Note","update_transaction":"Aggiorna transazione","after_update_create_another":"Dopo l\'aggiornamento, torna qui per continuare la modifica.","store_as_new":"Salva come nuova transazione invece di aggiornarla.","split_title_help":"Se crei una transazione suddivisa è necessario che ci sia una descrizione globale per tutte le suddivisioni della transazione.","none_in_select_list":"(nessuna)","no_piggy_bank":"(nessun salvadanaio)","description":"Descrizione","split_transaction_title_help":"Se crei una transazione suddivisa, è necessario che ci sia una descrizione globale per tutte le suddivisioni della transazione.","destination_account_reconciliation":"Non è possibile modificare il conto di destinazione di una transazione di riconciliazione.","source_account_reconciliation":"Non puoi modificare il conto di origine di una transazione di riconciliazione.","budget":"Budget","you_create_withdrawal":"Stai creando un prelievo.","you_create_transfer":"Stai creando un trasferimento.","you_create_deposit":"Stai creando un deposito."},"form":{"interest_date":"Data interesse","book_date":"Data contabile","process_date":"Data elaborazione","due_date":"Data scadenza","foreign_amount":"Importo estero","payment_date":"Data pagamento","invoice_date":"Data fatturazione","internal_reference":"Riferimento interno"},"config":{"html_language":"it"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Hoe staat het er voor?","flash_error":"Fout!","flash_success":"Gelukt!","close":"Sluiten","split_transaction_title":"Beschrijving van de gesplitste transactie","errors_submission":"Er ging iets mis. Check de errors.","split":"Splitsen","transaction_journal_information":"Transactieinformatie","no_budget_pointer":"Je hebt nog geen budgetten. Maak er een aantal op de budgetten-pagina. Met budgetten kan je je uitgaven beter bijhouden.","source_account":"Bronrekening","hidden_fields_preferences":"Je kan meer transactieopties inschakelen in je instellingen.","destination_account":"Doelrekening","add_another_split":"Voeg een split toe","submission":"Indienen","create_another":"Terug naar deze pagina voor een nieuwe transactie.","reset_after":"Reset formulier na opslaan","submit":"Invoeren","amount":"Bedrag","date":"Datum","tags":"Tags","no_budget":"(geen budget)","category":"Categorie","attachments":"Bijlagen","notes":"Notities","update_transaction":"Update transactie","after_update_create_another":"Na het opslaan terug om door te gaan met wijzigen.","store_as_new":"Opslaan als nieuwe transactie ipv de huidige bij te werken.","split_title_help":"Als je een gesplitste transactie maakt, moet er een algemene beschrijving zijn voor alle splitsingen van de transactie.","none_in_select_list":"(geen)","no_piggy_bank":"(geen spaarpotje)","description":"Omschrijving","split_transaction_title_help":"Als je een gesplitste transactie maakt, moet er een algemene beschrijving zijn voor alle splitsingen van de transactie.","destination_account_reconciliation":"Je kan de doelrekening van een afstemming niet wijzigen.","source_account_reconciliation":"Je kan de bronrekening van een afstemming niet wijzigen.","budget":"Budget","you_create_withdrawal":"Je maakt een uitgave.","you_create_transfer":"Je maakt een overschrijving.","you_create_deposit":"Je maakt inkomsten."},"form":{"interest_date":"Rentedatum","book_date":"Boekdatum","process_date":"Verwerkingsdatum","due_date":"Vervaldatum","foreign_amount":"Bedrag in vreemde valuta","payment_date":"Betalingsdatum","invoice_date":"Factuurdatum","internal_reference":"Interne verwijzing"},"config":{"html_language":"nl"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Hvordan går det?","flash_error":"Feil!","flash_success":"Suksess!","close":"Lukk","split_transaction_title":"Description of the split transaction","split":"Del opp","transaction_journal_information":"Transaksjonsinformasjon","source_account":"Source account","destination_account":"Destination account","add_another_split":"Legg til en oppdeling til","submit":"Send inn","amount":"Beløp","no_budget":"(ingen budsjett)","category":"Kategori","attachments":"Vedlegg","notes":"Notater"},"form":{"interest_date":"Rentedato","book_date":"Bokføringsdato","process_date":"Prosesseringsdato","due_date":"Forfallsdato","payment_date":"Betalingsdato","invoice_date":"Fakturadato","internal_reference":"Intern referanse"},"config":{"html_language":"no"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Co jest grane?","flash_error":"Błąd!","flash_success":"Sukces!","close":"Zamknij","split_transaction_title":"Opis podzielonej transakcji","errors_submission":"Coś poszło nie tak w czasie zapisu. Proszę sprawdź błędy poniżej.","split":"Podziel","transaction_journal_information":"Informacje o transakcji","no_budget_pointer":"Wygląda na to że nie masz jeszcze budżetów. Powinieneś utworzyć kilka na stronie budżety. Budżety mogą Ci pomóc śledzić wydatki.","source_account":"Konto źródłowe","hidden_fields_preferences":"Możesz włączyć więcej opcji transakcji w swoich ustawieniach.","destination_account":"Konto docelowe","add_another_split":"Dodaj kolejny podział","submission":"Zapisz","create_another":"Po zapisaniu wróć tutaj, aby utworzyć kolejny.","reset_after":"Wyczyść formularz po zapisaniu","submit":"Prześlij","amount":"Kwota","date":"Data","tags":"Tagi","no_budget":"(brak budżetu)","category":"Kategoria","attachments":"Załączniki","notes":"Notatki","update_transaction":"Zaktualizuj transakcję","after_update_create_another":"Po aktualizacji wróć tutaj, aby kontynuować edycję.","store_as_new":"Zapisz jako nową zamiast aktualizować.","split_title_help":"Podzielone transakcje muszą posiadać globalny opis.","none_in_select_list":"(żadne)","no_piggy_bank":"(brak skarbonki)","description":"Opis","split_transaction_title_help":"Jeśli tworzysz podzieloną transakcję, musi ona posiadać globalny opis dla wszystkich podziałów w transakcji.","destination_account_reconciliation":"Nie możesz edytować konta docelowego transakcji uzgadniania.","source_account_reconciliation":"Nie możesz edytować konta źródłowego transakcji uzgadniania.","budget":"Budżet","you_create_withdrawal":"Tworzysz wydatek.","you_create_transfer":"Tworzysz przelew.","you_create_deposit":"Tworzysz wpłatę."},"form":{"interest_date":"Data odsetek","book_date":"Data księgowania","process_date":"Data przetworzenia","due_date":"Termin realizacji","foreign_amount":"Kwota zagraniczna","payment_date":"Data płatności","invoice_date":"Data faktury","internal_reference":"Wewnętrzny numer"},"config":{"html_language":"pl"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Mitä kuuluu?","flash_error":"Virhe!","flash_success":"Valmista tuli!","close":"Sulje","split_transaction_title":"Jaetun tapahtuman kuvaus","errors_submission":"Lomakkeen tiedoissa oli puutteita - alta löydät listan puutteista.","split":"Jaa","transaction_journal_information":"Tapahtumatiedot","no_budget_pointer":"Sinulla ei näyttäisi olevan vielä yhtään budjettia. Sinun kannattaisi luoda niitä budjetit-sivulla. Budjetit voivat auttaa sinua pitämään kirjaa kuluistasi.","source_account":"Lähdetili","hidden_fields_preferences":"Voit aktivoida lisää tapahtumavalintoja asetuksissa.","destination_account":"Kohdetili","add_another_split":"Lisää tapahtumaan uusi osa","submission":"Vahvistus","create_another":"Tallennuksen jälkeen, palaa takaisin luomaan uusi tapahtuma.","reset_after":"Tyhjennä lomake lähetyksen jälkeen","submit":"Vahvista","amount":"Summa","date":"Päivämäärä","tags":"Tägit","no_budget":"(ei budjettia)","category":"Kategoria","attachments":"Liitteet","notes":"Muistiinpanot","update_transaction":"Päivitä tapahtuma","after_update_create_another":"Päivityksen jälkeen, palaa takaisin jatkamaan muokkausta.","store_as_new":"Tallenna uutena tapahtumana päivityksen sijaan.","split_title_help":"Jos luot jaetun tapahtuman, kokonaisuudelle tarvitaan nimi.","none_in_select_list":"(ei mitään)","no_piggy_bank":"(ei säästöpossu)","description":"Kuvaus","split_transaction_title_help":"Jos luot jaetun tapahtuman, kokonaisuudelle tarvitaan nimi.","destination_account_reconciliation":"Et voi muokata täsmäytystapahtuman kohdetiliä.","source_account_reconciliation":"Et voi muokata täsmäytystapahtuman lähdetiliä.","budget":"Budjetti","you_create_withdrawal":"Olet luomassa nostoa.","you_create_transfer":"Olet luomassa siirtoa.","you_create_deposit":"Olet luomassa talletusta."},"form":{"interest_date":"Korkopäivä","book_date":"Kirjauspäivä","process_date":"Käsittelypäivä","due_date":"Eräpäivä","foreign_amount":"Ulkomaan summa","payment_date":"Maksupäivä","invoice_date":"Laskun päivämäärä","internal_reference":"Sisäinen viite"},"config":{"html_language":"fi"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"O que está acontecendo?","flash_error":"Erro!","flash_success":"Sucesso!","close":"Fechar","split_transaction_title":"Descrição da transação dividida","errors_submission":"There was something wrong with your submission. Please check out the errors below.","split":"Dividir","transaction_journal_information":"Informação da transação","no_budget_pointer":"Parece que você ainda não tem orçamentos. Você deve criar alguns na página de orçamentos. Orçamentos podem ajudá-lo a manter o controle das despesas.","source_account":"Conta origem","hidden_fields_preferences":"You can enable more transaction options in your settings.","destination_account":"Conta destino","add_another_split":"Adicionar outra divisão","submission":"Submission","create_another":"After storing, return here to create another one.","reset_after":"Reset form after submission","submit":"Enviar","amount":"Valor","date":"Data","tags":"Tags","no_budget":"(sem orçamento)","category":"Categoria","attachments":"Anexos","notes":"Notas","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","store_as_new":"Store as a new transaction instead of updating.","split_title_help":"Se você criar uma transação dividida, é necessário haver uma descrição global para todas as partes da transação.","none_in_select_list":"(nenhum)","no_piggy_bank":"(nenhum cofrinho)","description":"Descrição","split_transaction_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","destination_account_reconciliation":"Você não pode editar a conta de origem de uma transação de reconciliação.","source_account_reconciliation":"Você não pode editar a conta de origem de uma transação de reconciliação.","budget":"Orçamento","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"Data de interesse","book_date":"Data reserva","process_date":"Data de processamento","due_date":"Data de vencimento","foreign_amount":"Montante em moeda estrangeira","payment_date":"Data de pagamento","invoice_date":"Data da Fatura","internal_reference":"Referência interna"},"config":{"html_language":"pt-br"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Ce se redă?","flash_error":"Eroare!","flash_success":"Succes!","close":"Închide","split_transaction_title":"Descrierea tranzacției divizate","errors_submission":"A fost ceva în neregulă cu transmiterea dvs. Vă rugăm să consultați erorile de mai jos.","split":"Împarte","transaction_journal_information":"Informații despre tranzacții","no_budget_pointer":"You seem to have no budgets yet. You should create some on the budgets-page. Budgets can help you keep track of expenses.","source_account":"Contul sursă","hidden_fields_preferences":"You can enable more transaction options in your settings.","destination_account":"Contul de destinație","add_another_split":"Adăugați o divizare","submission":"Transmitere","create_another":"După stocare, reveniți aici pentru a crea alta.","reset_after":"Resetați formularul după trimitere","submit":"Trimite","amount":"Sumă","date":"Dată","tags":"Etichete","no_budget":"(nici un buget)","category":"Categorie","attachments":"Atașamente","notes":"Notițe","update_transaction":"Actualizați tranzacția","after_update_create_another":"După actualizare, reveniți aici pentru a continua editarea.","store_as_new":"Stocați ca o tranzacție nouă în loc să actualizați.","split_title_help":"Dacă creați o tranzacție divizată, trebuie să existe o descriere globală pentru toate diviziunile tranzacției.","none_in_select_list":"(nici unul)","no_piggy_bank":"(nicio pușculiță)","description":"Descriere","split_transaction_title_help":"Dacă creați o tranzacție divizată, trebuie să existe o descriere globală pentru toate diviziunile tranzacției.","destination_account_reconciliation":"Nu puteți edita contul de destinație al unei tranzacții de reconciliere.","source_account_reconciliation":"Nu puteți edita contul sursă al unei tranzacții de reconciliere.","budget":"Buget","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"Data de interes","book_date":"Rezervă dată","process_date":"Data procesării","due_date":"Data scadentă","foreign_amount":"Sumă străină","payment_date":"Data de plată","invoice_date":"Data facturii","internal_reference":"Referință internă"},"config":{"html_language":"ro"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Что происходит с моими финансами?","flash_error":"Ошибка!","flash_success":"Успешно!","close":"Закрыть","split_transaction_title":"Описание разделённой транзакции","errors_submission":"При отправке произошла ошибка. Пожалуйста, проверьте ошибки ниже.","split":"Разделить","transaction_journal_information":"Информация о транзакции","no_budget_pointer":"Похоже, у вас пока нет бюджетов. Вы должны создать их в разделе Бюджеты. Бюджеты могут помочь вам отслеживать расходы.","source_account":"Счёт-источник","hidden_fields_preferences":"You can enable more transaction options in your settings.","destination_account":"Счёт назначения","add_another_split":"Добавить новую часть","submission":"Отправить","create_another":"После сохранения вернуться сюда и создать ещё одну аналогичную запись.","reset_after":"Сбросить форму после отправки","submit":"Подтвердить","amount":"Сумма","date":"Дата","tags":"Метки","no_budget":"(вне бюджета)","category":"Категория","attachments":"Вложения","notes":"Заметки","update_transaction":"Обновить транзакцию","after_update_create_another":"После обновления вернитесь сюда, чтобы продолжить редактирование.","store_as_new":"Сохранить как новую транзакцию вместо обновления.","split_title_help":"Если вы создаёте разделённую транзакцию, то должны указать общее описание дле всех её составляющих.","none_in_select_list":"(нет)","no_piggy_bank":"(нет копилки)","description":"Описание","split_transaction_title_help":"Если вы создаёте разделённую транзакцию, то должны указать общее описание для всех её составляющих.","destination_account_reconciliation":"You can\'t edit the destination account of a reconciliation transaction.","source_account_reconciliation":"Вы не можете редактировать исходный аккаунт сверки.","budget":"Бюджет","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"Дата выплаты","book_date":"Дата бронирования","process_date":"Дата обработки","due_date":"Срок","foreign_amount":"Сумма в иностранной валюте","payment_date":"Дата платежа","invoice_date":"Дата выставления счёта","internal_reference":"Внутренняя ссылка"},"config":{"html_language":"ru"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"吃饱没?","flash_error":"错误!","flash_success":"成功!","close":"关闭","split_transaction_title":"拆分交易的描述","split":"分割","transaction_journal_information":"交易资讯","source_account":"来源帐户","destination_account":"目标帐户","add_another_split":"增加拆分","submit":"送出","amount":"金额","no_budget":"(无预算)","category":"分类","attachments":"附加档案","notes":"注释"},"form":{"interest_date":"利率日期","book_date":"登记日期","process_date":"处理日期","due_date":"到期日","payment_date":"付款日期","invoice_date":"发票日期","internal_reference":"内部参考"},"config":{"html_language":"zh"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"What\'s playing?","flash_error":"錯誤!","flash_success":"成功!","close":"關閉","split_transaction_title":"拆分交易的描述","errors_submission":"There was something wrong with your submission. Please check out the errors below.","split":"分割","transaction_journal_information":"交易資訊","no_budget_pointer":"You seem to have no budgets yet. You should create some on the budgets-page. Budgets can help you keep track of expenses.","source_account":"Source account","hidden_fields_preferences":"You can enable more transaction options in your settings.","destination_account":"Destination account","add_another_split":"增加拆分","submission":"Submission","create_another":"After storing, return here to create another one.","reset_after":"Reset form after submission","submit":"送出","amount":"金額","date":"日期","tags":"標籤","no_budget":"(無預算)","category":"分類","attachments":"附加檔案","notes":"備註","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","store_as_new":"Store as a new transaction instead of updating.","split_title_help":"若您建立一筆拆分交易,須有一個有關交易所有拆分的整體描述。","none_in_select_list":"(空)","no_piggy_bank":"(no piggy bank)","description":"描述","split_transaction_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","destination_account_reconciliation":"You can\'t edit the destination account of a reconciliation transaction.","source_account_reconciliation":"You can\'t edit the source account of a reconciliation transaction.","budget":"預算","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"利率日期","book_date":"登記日期","process_date":"處理日期","due_date":"到期日","foreign_amount":"外幣金額","payment_date":"付款日期","invoice_date":"發票日期","internal_reference":"內部參考"},"config":{"html_language":"zh-tw"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"今天理财了吗?","flash_error":"错误!","flash_success":"成功!","close":"关闭","split_transaction_title":"拆分交易的描述","errors_submission":"您的提交有误,请查看下面输出的错误信息。","split":"分割","transaction_journal_information":"交易资讯","no_budget_pointer":"您似乎还没有任何预算。您应该在 预算页面上创建他们。预算可以帮助您跟踪费用。","source_account":"来源帐户","hidden_fields_preferences":"您可以在 设置中启用更多的交易选项。","destination_account":"目标帐户","add_another_split":"增加拆分","submission":"提交","create_another":"保存后,返回此页面创建另一笔记录。","reset_after":"提交后重置表单","submit":"提交","amount":"金额","date":"日期","tags":"标签","no_budget":"(无预算)","category":"分类","attachments":"附加档案","notes":"注释","update_transaction":"更新交易","after_update_create_another":"更新后,返回此页面继续编辑。","store_as_new":"保存为新交易而不是更新此交易。","split_title_help":"如果您创建一个拆分交易,必须有一个全局的交易描述。","none_in_select_list":"(空)","no_piggy_bank":"(无存钱罐)","description":"描述","split_transaction_title_help":"如果您创建了一个分割交易,交易的所有分割项都必须有全局描述。","destination_account_reconciliation":"您不能编辑对账交易的目标账户","source_account_reconciliation":"您不能编辑对账交易的源账户","budget":"预算","you_create_withdrawal":"您正在创建一个提款","you_create_transfer":"您正在创建一个转账","you_create_deposit":"您正在创建一个存款"},"form":{"interest_date":"利率日期","book_date":"登记日期","process_date":"处理日期","due_date":"到期日","foreign_amount":"外币金额","payment_date":"付款日期","invoice_date":"发票日期","internal_reference":"内部参考"},"config":{"html_language":"zh-cn"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Vad spelas?","flash_error":"Fel!","flash_success":"Slutförd!","close":"Stäng","split_transaction_title":"Description of the split transaction","errors_submission":"Något fel uppstod med inskickningen. Vänligen kontrollera felen nedan.","split":"Dela","transaction_journal_information":"Transaktionsinformation","no_budget_pointer":"You seem to have no budgets yet. You should create some on the budgets-page. Budgets can help you keep track of expenses.","source_account":"Från konto","hidden_fields_preferences":"You can enable more transaction options in your settings.","destination_account":"Till konto","add_another_split":"Lägga till en annan delning","submission":"Inskickning","create_another":"Efter sparat, återkom hit för att skapa ytterligare en.","reset_after":"Återställ formulär efter inskickat","submit":"Skicka","amount":"Belopp","date":"Datum","tags":"Etiketter","no_budget":"(ingen budget)","category":"Kategori","attachments":"Bilagor","notes":"Noteringar","update_transaction":"Uppdatera transaktion","after_update_create_another":"Efter uppdaterat, återkom hit för att fortsätta redigera.","store_as_new":"Spara en ny transaktion istället för att uppdatera.","split_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","none_in_select_list":"(Ingen)","no_piggy_bank":"(ingen spargris)","description":"Beskrivning","split_transaction_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","destination_account_reconciliation":"Du kan inte redigera destinationskontot för en avstämningstransaktion.","source_account_reconciliation":"Du kan inte redigera källkontot för en avstämningstransaktion.","budget":"Budget","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"Räntedatum","book_date":"Bokföringsdatum","process_date":"Behandlingsdatum","due_date":"Förfallodatum","foreign_amount":"Utländskt belopp","payment_date":"Betalningsdatum","invoice_date":"Fakturadatum","internal_reference":"Intern referens"},"config":{"html_language":"sv"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Chào mừng trở lại","flash_error":"Lỗi!","flash_success":"Thành công!","close":"Đóng","split_transaction_title":"Mô tả giao dịch tách","errors_submission":"Có gì đó sai. Vui lòng kiểm tra các lỗi dưới đây.","split":"Chia ra","transaction_journal_information":"Thông tin giao dịch","no_budget_pointer":"Bạn dường như chưa có ngân sách. Bạn nên tạo một cái trên budgets-page. Ngân sách có thể giúp bạn theo dõi chi phí.","source_account":"Nguồn tài khoản","hidden_fields_preferences":"Bạn có thể kích hoạt thêm tùy chọn giao dịch trong settings.","destination_account":"Tài khoản đích","add_another_split":"Thêm một phân chia khác","submission":"Gửi","create_another":"Sau khi lưu trữ, quay trở lại đây để tạo một cái khác.","reset_after":"Đặt lại mẫu sau khi gửi","submit":"Gửi","amount":"Số tiền","date":"Ngày","tags":"Thẻ","no_budget":"(không có ngân sách)","category":"Dan hmucj","attachments":"Tệp đính kèm","notes":"Ghi chú","update_transaction":"Cập nhật giao dịch","after_update_create_another":"Sau khi cập nhật, quay lại đây để tiếp tục chỉnh sửa.","store_as_new":"Lưu trữ như một giao dịch mới thay vì cập nhật.","split_title_help":"Nếu bạn tạo một giao dịch phân tách, phải có một mô tả toàn cầu cho tất cả các phân chia của giao dịch.","none_in_select_list":"(none)","no_piggy_bank":"(no piggy bank)","description":"Sự miêu tả","split_transaction_title_help":"Nếu bạn tạo một giao dịch phân tách, phải có một mô tả toàn cầu cho tất cả các phân chia của giao dịch.","destination_account_reconciliation":"Bạn không thể chỉnh sửa tài khoản đích của giao dịch đối chiếu.","source_account_reconciliation":"Bạn không thể chỉnh sửa tài khoản nguồn của giao dịch đối chiếu.","budget":"Ngân sách","you_create_withdrawal":"Bạn đang tạo một rút tiền.","you_create_transfer":"Bạn đang tạo một chuyển khoản.","you_create_deposit":"Bạn đang tạo một tiền gửi."},"form":{"interest_date":"Ngày lãi","book_date":"Ngày đặt sách","process_date":"Ngày xử lý","due_date":"Ngày đáo hạn","foreign_amount":"Ngoại tệ","payment_date":"Ngày thanh toán","invoice_date":"Ngày hóa đơn","internal_reference":"Tài liệu tham khảo nội bộ"},"config":{"html_language":"vi"}}')},,,,,,,,,,,function(t,e,n){t.exports=n(92)},,,,,,,,,,,function(t,e,n){"use strict";n.r(e);var a=n(30),i={name:"CreateTransaction",components:{},mounted:function(){var t=this;this.addTransactionToArray(),document.onreadystatechange=function(){"complete"===document.readyState&&(t.prefillSourceAccount(),t.prefillDestinationAccount())}},methods:{prefillSourceAccount:function(){0!==window.sourceId&&this.getAccount(window.sourceId,"source_account")},prefillDestinationAccount:function(){0!==destinationId&&this.getAccount(window.destinationId,"destination_account")},getAccount:function(t,e){var n=this,a="./api/v1/accounts/"+t+"?_token="+document.head.querySelector('meta[name="csrf-token"]').content;axios.get(a).then((function(t){var a=t.data.data.attributes;a.type=n.fullAccountType(a.type,a.liability_type),a.id=parseInt(t.data.data.id),"source_account"===e&&n.selectedSourceAccount(0,a),"destination_account"===e&&n.selectedDestinationAccount(0,a)})).catch((function(t){console.warn("Could not auto fill account"),console.warn(t)}))},fullAccountType:function(t,e){var n,a=t;"liabilities"===t&&(a=e);return null!==(n={asset:"Asset account",loan:"Loan",debt:"Debt",mortgage:"Mortgage"}[a])&&void 0!==n?n:a},convertData:function(){var t,e,n,a={transactions:[]};for(var i in this.transactions.length>1&&(a.group_title=this.group_title),t=this.transactionType?this.transactionType.toLowerCase():"invalid",e=this.transactions[0].source_account.type,n=this.transactions[0].destination_account.type,"invalid"===t&&["asset","Asset account","Loan","Debt","Mortgage"].includes(e)&&(t="withdrawal"),"invalid"===t&&["asset","Asset account","Loan","Debt","Mortgage"].includes(n)&&(t="deposit"),this.transactions)this.transactions.hasOwnProperty(i)&&/^0$|^[1-9]\d*$/.test(i)&&i<=4294967294&&a.transactions.push(this.convertDataRow(this.transactions[i],i,t));return""===a.group_title&&a.transactions.length>1&&(a.group_title=a.transactions[0].description),a},convertDataRow:function(t,e,n){var a,i,r,o,s,c,u=[],l=null,A=null;for(var d in i=t.source_account.id,r=t.source_account.name,o=t.destination_account.id,s=t.destination_account.name,c=t.date,e>0&&(c=this.transactions[0].date),"withdrawal"===n&&""===s&&(o=window.cashAccountId),"deposit"===n&&""===r&&(i=window.cashAccountId),e>0&&("withdrawal"===n.toLowerCase()||"transfer"===n.toLowerCase())&&(i=this.transactions[0].source_account.id,r=this.transactions[0].source_account.name),e>0&&("deposit"===n.toLowerCase()||"transfer"===n.toLowerCase())&&(o=this.transactions[0].destination_account.id,s=this.transactions[0].destination_account.name),u=[],l=null,A=null,t.tags)t.tags.hasOwnProperty(d)&&/^0$|^[1-9]\d*$/.test(d)&&d<=4294967294&&u.push(t.tags[d].text);return""!==t.foreign_amount.amount&&0!==parseFloat(t.foreign_amount.amount)&&(l=t.foreign_amount.amount,A=t.foreign_amount.currency_id),A===t.currency_id&&(l=null,A=null),0===o&&(o=null),0===i&&(i=null),1===(t.amount.match(/\,/g)||[]).length&&(t.amount=t.amount.replace(",",".")),a={type:n,date:c,amount:t.amount,currency_id:t.currency_id,description:t.description,source_id:i,source_name:r,destination_id:o,destination_name:s,category_name:t.category,interest_date:t.custom_fields.interest_date,book_date:t.custom_fields.book_date,process_date:t.custom_fields.process_date,due_date:t.custom_fields.due_date,payment_date:t.custom_fields.payment_date,invoice_date:t.custom_fields.invoice_date,internal_reference:t.custom_fields.internal_reference,notes:t.custom_fields.notes},u.length>0&&(a.tags=u),null!==l&&(a.foreign_amount=l,a.foreign_currency_id=A),parseInt(t.budget)>0&&(a.budget_id=parseInt(t.budget)),parseInt(t.piggy_bank)>0&&(a.piggy_bank_id=parseInt(t.piggy_bank)),a},submit:function(t){var e=this,n="./api/v1/transactions?_token="+document.head.querySelector('meta[name="csrf-token"]').content,a=this.convertData(),i=$("#submitButton");i.prop("disabled",!0),axios.post(n,a).then((function(t){0===e.collectAttachmentData(t)&&e.redirectUser(t.data.data.id,t.data.data)})).catch((function(t){console.error("Error in transaction submission."),console.error(t),e.parseErrors(t.response.data),console.log("enable button again."),i.removeAttr("disabled")})),t&&t.preventDefault()},escapeHTML:function(t){var e=document.createElement("div");return e.innerText=t,e.innerHTML},redirectUser:function(t,e){var n=this,a=null===e.attributes.group_title?e.attributes.transactions[0].description:e.attributes.group_title;this.createAnother?(this.success_message='Transaction #'+t+' ("'+this.escapeHTML(a)+'") has been stored.',this.error_message="",this.resetFormAfter&&(this.resetTransactions(),setTimeout((function(){return n.addTransactionToArray()}),50)),this.setDefaultErrors(),console.log("enable button again."),$("#submitButton").removeAttr("disabled")):window.location.href=window.previousUri+"?transaction_group_id="+t+"&message=created"},collectAttachmentData:function(t){var e=this,n=t.data.data.id,a=[],i=[],r=$('input[name="attachments[]"]');for(var o in r)if(r.hasOwnProperty(o)&&/^0$|^[1-9]\d*$/.test(o)&&o<=4294967294)for(var s in r[o].files)r[o].files.hasOwnProperty(s)&&/^0$|^[1-9]\d*$/.test(s)&&s<=4294967294&&a.push({journal:t.data.data.attributes.transactions[o].transaction_journal_id,file:r[o].files[s]});var c=a.length,u=function(r){var o,s,u;a.hasOwnProperty(r)&&/^0$|^[1-9]\d*$/.test(r)&&r<=4294967294&&(o=a[r],s=e,(u=new FileReader).onloadend=function(e){e.target.readyState===FileReader.DONE&&(i.push({name:a[r].file.name,journal:a[r].journal,content:new Blob([e.target.result])}),i.length===c&&s.uploadFiles(i,n,t.data.data))},u.readAsArrayBuffer(o.file))};for(var l in a)u(l);return c},uploadFiles:function(t,e,n){var a=this,i=t.length,r=0,o=function(o){if(t.hasOwnProperty(o)&&/^0$|^[1-9]\d*$/.test(o)&&o<=4294967294){var s={filename:t[o].name,attachable_type:"TransactionJournal",attachable_id:t[o].journal};axios.post("./api/v1/attachments",s).then((function(s){var c="./api/v1/attachments/"+s.data.data.id+"/upload";axios.post(c,t[o].content).then((function(t){return++r===i&&a.redirectUser(e,n),!0})).catch((function(t){return console.error("Could not upload"),console.error(t),++r===i&&a.redirectUser(e,n),!1}))}))}};for(var s in t)o(s)},setDefaultErrors:function(){for(var t in this.transactions)this.transactions.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294&&(this.transactions[t].errors={source_account:[],destination_account:[],description:[],amount:[],date:[],budget_id:[],foreign_amount:[],category:[],piggy_bank:[],tags:[],custom_errors:{interest_date:[],book_date:[],process_date:[],due_date:[],payment_date:[],invoice_date:[],internal_reference:[],notes:[],attachments:[]}})},parseErrors:function(t){var e,n;for(var a in this.setDefaultErrors(),this.error_message="",t.message.length>0?this.error_message=this.$t("firefly.errors_submission"):this.error_message="",t.errors)if(t.errors.hasOwnProperty(a)){if("group_title"===a&&(this.group_title_errors=t.errors[a]),"group_title"!==a)switch(e=parseInt(a.split(".")[1]),n=a.split(".")[2]){case"amount":case"date":case"budget_id":case"description":case"tags":this.transactions[e].errors[n]=t.errors[a];break;case"source_name":case"source_id":this.transactions[e].errors.source_account=this.transactions[e].errors.source_account.concat(t.errors[a]);break;case"destination_name":case"destination_id":this.transactions[e].errors.destination_account=this.transactions[e].errors.destination_account.concat(t.errors[a]);break;case"foreign_amount":case"foreign_currency_id":this.transactions[e].errors.foreign_amount=this.transactions[e].errors.foreign_amount.concat(t.errors[a])}void 0!==this.transactions[e]&&(this.transactions[e].errors.source_account=Array.from(new Set(this.transactions[e].errors.source_account)),this.transactions[e].errors.destination_account=Array.from(new Set(this.transactions[e].errors.destination_account)))}},resetTransactions:function(){this.transactions=[]},addTransactionToArray:function(t){if(this.transactions.push({description:"",date:"",amount:"",category:"",piggy_bank:0,errors:{source_account:[],destination_account:[],description:[],amount:[],date:[],budget_id:[],foreign_amount:[],category:[],piggy_bank:[],tags:[],custom_errors:{interest_date:[],book_date:[],process_date:[],due_date:[],payment_date:[],invoice_date:[],internal_reference:[],notes:[],attachments:[]}},budget:0,tags:[],custom_fields:{interest_date:"",book_date:"",process_date:"",due_date:"",payment_date:"",invoice_date:"",internal_reference:"",notes:"",attachments:[]},foreign_amount:{amount:"",currency_id:0},source_account:{id:0,name:"",type:"",currency_id:0,currency_name:"",currency_code:"",currency_decimal_places:2,allowed_types:["Asset account","Revenue account","Loan","Debt","Mortgage"],default_allowed_types:["Asset account","Revenue account","Loan","Debt","Mortgage"]},destination_account:{id:0,name:"",type:"",currency_id:0,currency_name:"",currency_code:"",currency_decimal_places:2,allowed_types:["Asset account","Expense account","Loan","Debt","Mortgage"],default_allowed_types:["Asset account","Expense account","Loan","Debt","Mortgage"]}}),1===this.transactions.length){var e=new Date;this.transactions[0].date=e.getFullYear()+"-"+("0"+(e.getMonth()+1)).slice(-2)+"-"+("0"+e.getDate()).slice(-2)}t&&t.preventDefault()},setTransactionType:function(t){this.transactionType=t},deleteTransaction:function(t,e){for(var n in e.preventDefault(),this.transactions)this.transactions.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n);for(var a in this.transactions.splice(t,1),this.transactions)this.transactions.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)},limitSourceType:function(t){var e;for(e=0;e1?n("span",[t._v(t._s(t.$t("firefly.split"))+" "+t._s(a+1)+" / "+t._s(t.transactions.length))]):t._e(),t._v(" "),1===t.transactions.length?n("span",[t._v(t._s(t.$t("firefly.transaction_journal_information")))]):t._e()]),t._v(" "),t.transactions.length>1?n("div",{staticClass:"box-tools pull-right",attrs:{x:""}},[n("button",{staticClass:"btn btn-xs btn-danger",attrs:{type:"button"},on:{click:function(e){return t.deleteTransaction(a,e)}}},[n("i",{staticClass:"fa fa-trash"})])]):t._e()]),t._v(" "),n("div",{staticClass:"box-body"},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-lg-4"},[n("transaction-description",{attrs:{index:a,error:e.errors.description},model:{value:e.description,callback:function(n){t.$set(e,"description",n)},expression:"transaction.description"}}),t._v(" "),n("account-select",{attrs:{inputName:"source[]",title:t.$t("firefly.source_account"),accountName:e.source_account.name,accountTypeFilters:e.source_account.allowed_types,defaultAccountTypeFilters:e.source_account.default_allowed_types,transactionType:t.transactionType,index:a,error:e.errors.source_account},on:{"clear:value":function(e){return t.clearSource(a)},"select:account":function(e){return t.selectedSourceAccount(a,e)}}}),t._v(" "),n("account-select",{attrs:{inputName:"destination[]",title:t.$t("firefly.destination_account"),accountName:e.destination_account.name,accountTypeFilters:e.destination_account.allowed_types,defaultAccountTypeFilters:e.destination_account.default_allowed_types,transactionType:t.transactionType,index:a,error:e.errors.destination_account},on:{"clear:value":function(e){return t.clearDestination(a)},"select:account":function(e){return t.selectedDestinationAccount(a,e)}}}),t._v(" "),0===a?n("standard-date",{attrs:{index:a,error:e.errors.date},model:{value:e.date,callback:function(n){t.$set(e,"date",n)},expression:"transaction.date"}}):t._e(),t._v(" "),0===a?n("div",[n("transaction-type",{attrs:{source:e.source_account.type,destination:e.destination_account.type},on:{"set:transactionType":function(e){return t.setTransactionType(e)},"act:limitSourceType":function(e){return t.limitSourceType(e)},"act:limitDestinationType":function(e){return t.limitDestinationType(e)}}})],1):t._e()],1),t._v(" "),n("div",{staticClass:"col-lg-4"},[n("amount",{attrs:{source:e.source_account,destination:e.destination_account,error:e.errors.amount,transactionType:t.transactionType},model:{value:e.amount,callback:function(n){t.$set(e,"amount",n)},expression:"transaction.amount"}}),t._v(" "),n("foreign-amount",{attrs:{source:e.source_account,destination:e.destination_account,transactionType:t.transactionType,error:e.errors.foreign_amount,title:t.$t("form.foreign_amount")},model:{value:e.foreign_amount,callback:function(n){t.$set(e,"foreign_amount",n)},expression:"transaction.foreign_amount"}})],1),t._v(" "),n("div",{staticClass:"col-lg-4"},[n("budget",{attrs:{transactionType:t.transactionType,error:e.errors.budget_id,no_budget:t.$t("firefly.none_in_select_list")},model:{value:e.budget,callback:function(n){t.$set(e,"budget",n)},expression:"transaction.budget"}}),t._v(" "),n("category",{attrs:{transactionType:t.transactionType,error:e.errors.category},model:{value:e.category,callback:function(n){t.$set(e,"category",n)},expression:"transaction.category"}}),t._v(" "),n("piggy-bank",{attrs:{transactionType:t.transactionType,error:e.errors.piggy_bank,no_piggy_bank:t.$t("firefly.no_piggy_bank")},model:{value:e.piggy_bank,callback:function(n){t.$set(e,"piggy_bank",n)},expression:"transaction.piggy_bank"}}),t._v(" "),n("tags",{attrs:{error:e.errors.tags},model:{value:e.tags,callback:function(n){t.$set(e,"tags",n)},expression:"transaction.tags"}}),t._v(" "),n("custom-transaction-fields",{attrs:{error:e.errors.custom_errors},model:{value:e.custom_fields,callback:function(n){t.$set(e,"custom_fields",n)},expression:"transaction.custom_fields"}})],1)])]),t._v(" "),t.transactions.length-1===a?n("div",{staticClass:"box-footer"},[n("button",{staticClass:"split_add_btn btn btn-default",attrs:{type:"button"},on:{click:t.addTransactionToArray}},[t._v(t._s(t.$t("firefly.add_another_split")))])]):t._e()])])])})),0),t._v(" "),t.transactions.length>1?n("div",{staticClass:"row"},[n("div",{staticClass:"col-lg-6 col-md-6 col-sm-12 col-xs-12"},[n("div",{staticClass:"box"},[n("div",{staticClass:"box-header with-border"},[n("h3",{staticClass:"box-title"},[t._v("\n "+t._s(t.$t("firefly.split_transaction_title"))+"\n ")])]),t._v(" "),n("div",{staticClass:"box-body"},[n("group-description",{attrs:{error:t.group_title_errors},model:{value:t.group_title,callback:function(e){t.group_title=e},expression:"group_title"}})],1)])])]):t._e(),t._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-lg-6 col-md-6 col-sm-12 col-xs-12"},[n("div",{staticClass:"box"},[n("div",{staticClass:"box-header with-border"},[n("h3",{staticClass:"box-title"},[t._v("\n "+t._s(t.$t("firefly.submission"))+"\n ")])]),t._v(" "),n("div",{staticClass:"box-body"},[n("div",{staticClass:"checkbox"},[n("label",[n("input",{directives:[{name:"model",rawName:"v-model",value:t.createAnother,expression:"createAnother"}],attrs:{name:"create_another",type:"checkbox"},domProps:{checked:Array.isArray(t.createAnother)?t._i(t.createAnother,null)>-1:t.createAnother},on:{change:function(e){var n=t.createAnother,a=e.target,i=!!a.checked;if(Array.isArray(n)){var r=t._i(n,null);a.checked?r<0&&(t.createAnother=n.concat([null])):r>-1&&(t.createAnother=n.slice(0,r).concat(n.slice(r+1)))}else t.createAnother=i}}}),t._v("\n "+t._s(t.$t("firefly.create_another"))+"\n ")])]),t._v(" "),n("div",{staticClass:"checkbox"},[n("label",{class:{"text-muted":!1===this.createAnother}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.resetFormAfter,expression:"resetFormAfter"}],attrs:{disabled:!1===this.createAnother,name:"reset_form",type:"checkbox"},domProps:{checked:Array.isArray(t.resetFormAfter)?t._i(t.resetFormAfter,null)>-1:t.resetFormAfter},on:{change:function(e){var n=t.resetFormAfter,a=e.target,i=!!a.checked;if(Array.isArray(n)){var r=t._i(n,null);a.checked?r<0&&(t.resetFormAfter=n.concat([null])):r>-1&&(t.resetFormAfter=n.slice(0,r).concat(n.slice(r+1)))}else t.resetFormAfter=i}}}),t._v("\n "+t._s(t.$t("firefly.reset_after"))+"\n\n ")])])]),t._v(" "),n("div",{staticClass:"box-footer"},[n("div",{staticClass:"btn-group"},[n("button",{staticClass:"btn btn-success",attrs:{id:"submitButton"},on:{click:t.submit}},[t._v(t._s(t.$t("firefly.submit")))])])])])])])])}),[],!1,null,"7b0e6965",null).exports,s=n(31),c=n(32),u=n(33),l=n(34),A=n(35),d=n(36),p=n(37),f=n(38),h=n(39),g=n(40),_=n(41),m=n(42),v=n(43),y=n(44),b=n(45);n(28),Vue.component("budget",b.a),Vue.component("custom-date",s.a),Vue.component("custom-string",c.a),Vue.component("custom-attachments",a.a),Vue.component("custom-textarea",u.a),Vue.component("standard-date",l.a),Vue.component("group-description",A.a),Vue.component("transaction-description",d.a),Vue.component("custom-transaction-fields",p.a),Vue.component("piggy-bank",f.a),Vue.component("tags",h.a),Vue.component("category",g.a),Vue.component("amount",_.a),Vue.component("foreign-amount",m.a),Vue.component("transaction-type",v.a),Vue.component("account-select",y.a),Vue.component("create-transaction",o);var C=new vuei18n({locale:document.documentElement.lang,fallbackLocale:"en",messages:{cs:n(50),de:n(51),en:n(52),es:n(53),el:n(54),fr:n(55),hu:n(56),id:n(57),it:n(58),nl:n(59),no:n(60),pl:n(61),fi:n(62),"pt-br":n(63),ro:n(64),ru:n(65),zh:n(66),"zh-tw":n(67),"zh-cn":n(68),sv:n(69),vi:n(70)}}),w={};new Vue({i18n:C,el:"#create_transaction",render:function(t){return t(o,{props:w})}})}]); \ No newline at end of file diff --git a/public/v1/js/edit_transaction.js b/public/v1/js/edit_transaction.js index a10bd9d20a..5e622ffa64 100644 --- a/public/v1/js/edit_transaction.js +++ b/public/v1/js/edit_transaction.js @@ -1,2 +1,2 @@ /*! For license information please see edit_transaction.js.LICENSE.txt */ -!function(t){var e={};function n(a){if(e[a])return e[a].exports;var i=e[a]={i:a,l:!1,exports:{}};return t[a].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=t,n.c=e,n.d=function(t,e,a){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:a})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(a,i,function(e){return t[e]}.bind(null,i));return a},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/",n(n.s=82)}([function(t,e,n){"use strict";function a(t,e,n,a,i,r,s,o){var c,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),a&&(u.functional=!0),r&&(u._scopeId="data-v-"+r),s?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},u._ssrRegister=c):i&&(c=o?function(){i.call(this,this.$root.$options.shadowRoot)}:i),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(t,e){return c.call(e),l(t,e)}}else{var A=u.beforeCreate;u.beforeCreate=A?[].concat(A,c):[c]}return{exports:t,options:u}}n.d(e,"a",(function(){return a}))},function(t,e,n){"use strict";var a=n(5),i=n(12),r=Object.prototype.toString;function s(t){return"[object Array]"===r.call(t)}function o(t){return null!==t&&"object"==typeof t}function c(t){return"[object Function]"===r.call(t)}function u(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),s(t))for(var n=0,a=t.length;n=200&&t<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},a.forEach(["delete","get","head"],(function(t){c.headers[t]={}})),a.forEach(["post","put","patch"],(function(t){c.headers[t]=a.merge(r)})),t.exports=c}).call(this,n(10))},function(t,e,n){t.exports=n(11)},,function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),a=0;a1)for(var n=1;n=0)return;s[e]="set-cookie"===e?(s[e]?s[e]:[]).concat([n]):s[e]?s[e]+", "+n:n}})),s):s}},function(t,e,n){"use strict";var a=n(1);t.exports=a.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(t){var a=t;return e&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=i(window.location.href),function(e){var n=a.isString(e)?i(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return!0}},function(t,e,n){"use strict";var a=n(1);t.exports=a.isStandardBrowserEnv()?{write:function(t,e,n,i,r,s){var o=[];o.push(t+"="+encodeURIComponent(e)),a.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),a.isString(i)&&o.push("path="+i),a.isString(r)&&o.push("domain="+r),!0===s&&o.push("secure"),document.cookie=o.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(t,e,n){"use strict";var a=n(1);function i(){this.handlers=[]}i.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},i.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},i.prototype.forEach=function(t){a.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=i},function(t,e,n){"use strict";var a=n(1),i=n(23),r=n(8),s=n(2),o=n(24),c=n(25);function u(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return u(t),t.baseURL&&!o(t.url)&&(t.url=c(t.baseURL,t.url)),t.headers=t.headers||{},t.data=i(t.data,t.headers,t.transformRequest),t.headers=a.merge(t.headers.common||{},t.headers[t.method]||{},t.headers||{}),a.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||s.adapter)(t).then((function(e){return u(t),e.data=i(e.data,e.headers,t.transformResponse),e}),(function(e){return r(e)||(u(t),e&&e.response&&(e.response.data=i(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},function(t,e,n){"use strict";var a=n(1);t.exports=function(t,e,n){return a.forEach(n,(function(n){t=n(t,e)})),t}},function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},function(t,e,n){"use strict";var a=n(9);function i(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;t((function(t){n.reason||(n.reason=new a(t),e(n.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var t;return{token:new i((function(e){t=e})),cancel:t}},t.exports=i},function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,n){window.axios=n(3),window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest";var a=document.head.querySelector('meta[name="csrf-token"]');a?window.axios.defaults.headers.common["X-CSRF-TOKEN"]=a.content:console.error("CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token")},function(t,e,n){window,t.exports=function(t){var e={};function n(a){if(e[a])return e[a].exports;var i=e[a]={i:a,l:!1,exports:{}};return t[a].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,a){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:a})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(a,i,function(e){return t[e]}.bind(null,i));return a},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/dist/",n(n.s=6)}([function(t,e,n){var a=n(8);"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals),(0,n(4).default)("7ec05f6c",a,!1,{})},function(t,e,n){var a=n(10);"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals),(0,n(4).default)("3453d19d",a,!1,{})},function(t,e,n){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=function(t,e){var n,a=t[1]||"",i=t[3];if(!i)return a;if(e&&"function"==typeof btoa){var r=(n=i,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),s=i.sources.map((function(t){return"/*# sourceURL="+i.sourceRoot+t+" */"}));return[a].concat(s).concat([r]).join("\n")}return[a].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+n+"}":n})).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var a={},i=0;in.parts.length&&(a.parts.length=n.parts.length)}else{var s=[];for(i=0;i div[data-v-61d92e31] {\n cursor: pointer;\n padding: 3px 6px;\n width: 100%;\n}\n.ti-selected-item[data-v-61d92e31] {\n background-color: #5C6BC0;\n color: #fff;\n}\n',"",{version:3,sources:["C:/Users/johan/dev/vue-tags-input/vue-tags-input/C:/Users/johan/dev/vue-tags-input/vue-tags-input/vue-tags-input.scss"],names:[],mappings:"AAAA;EACE,uBAAuB;EACvB,mCAA8C;EAC9C,+JAAuM;EACvM,oBAAoB;EACpB,mBAAmB;CAAE;AAEvB;EACE,kCAAkC;EAClC,YAAY;EACZ,mBAAmB;EACnB,oBAAoB;EACpB,qBAAqB;EACrB,qBAAqB;EACrB,eAAe;EACf,oCAAoC;EACpC,mCAAmC;CAAE;AAEvC;EACE,iBAAiB;CAAE;AAErB;EACE,iBAAiB;CAAE;AAErB;EACE,iBAAiB;CAAE;AAErB;EACE,YAAY;EACZ,aAAa;EACb,sBAAsB;CAAE;AAE1B;EACE,uBAAuB;CAAE;AAE3B;EACE,cAAc;CAAE;AAElB;EACE,8BAA8B;CAAE;AAElC;EACE,iBAAiB;EACjB,mBAAmB;EACnB,uBAAuB;CAAE;AAE3B;EACE,aAAa;CAAE;AACf;IACE,gBAAgB;CAAE;AAEtB;EACE,uBAAuB;EACvB,cAAc;EACd,aAAa;EACb,gBAAgB;CAAE;AAEpB;EACE,cAAc;EACd,gBAAgB;EAChB,YAAY;EACZ,iBAAiB;CAAE;AAErB;EACE,0BAA0B;EAC1B,YAAY;EACZ,mBAAmB;EACnB,cAAc;EACd,iBAAiB;EACjB,YAAY;EACZ,iBAAiB;CAAE;AACnB;IACE,cAAc;CAAE;AAClB;IACE,cAAc;IACd,oBAAoB;CAAE;AACxB;IACE,mBAAmB;CAAE;AACvB;IACE,mBAAmB;CAAE;AACvB;IACE,mBAAmB;IACnB,mBAAmB;IACnB,YAAY;IACZ,iBAAiB;CAAE;AACrB;IACE,iBAAiB;IACjB,cAAc;IACd,oBAAoB;IACpB,kBAAkB;CAAE;AACpB;MACE,gBAAgB;CAAE;AACtB;IACE,kBAAkB;CAAE;AACtB;IACE,0BAA0B;CAAE;AAEhC;EACE,cAAc;EACd,eAAe;EACf,iBAAiB;EACjB,YAAY;EACZ,iBAAiB;CAAE;AACnB;IACE,eAAe;IACf,iBAAiB;IACjB,aAAa;IACb,aAAa;IACb,YAAY;CAAE;AAElB;EACE,qBAAqB;CAAE;AAEzB;EACE,uBAAuB;EACvB,iBAAiB;EACjB,mBAAmB;EACnB,YAAY;EACZ,uBAAuB;EACvB,YAAY;CAAE;AAEhB;EACE,gBAAgB;EAChB,iBAAiB;EACjB,YAAY;CAAE;AAEhB;EACE,0BAA0B;EAC1B,YAAY;CAAE",file:"vue-tags-input.scss?vue&type=style&index=0&id=61d92e31&lang=scss&scoped=true&",sourcesContent:['@font-face {\n font-family: \'icomoon\';\n src: url("./assets/fonts/icomoon.eot?7grlse");\n src: url("./assets/fonts/icomoon.eot?7grlse#iefix") format("embedded-opentype"), url("./assets/fonts/icomoon.ttf?7grlse") format("truetype"), url("./assets/fonts/icomoon.woff?7grlse") format("woff");\n font-weight: normal;\n font-style: normal; }\n\n[class^="ti-icon-"], [class*=" ti-icon-"] {\n font-family: \'icomoon\' !important;\n speak: none;\n font-style: normal;\n font-weight: normal;\n font-variant: normal;\n text-transform: none;\n line-height: 1;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale; }\n\n.ti-icon-check:before {\n content: "\\e902"; }\n\n.ti-icon-close:before {\n content: "\\e901"; }\n\n.ti-icon-undo:before {\n content: "\\e900"; }\n\nul {\n margin: 0px;\n padding: 0px;\n list-style-type: none; }\n\n*, *:before, *:after {\n box-sizing: border-box; }\n\ninput:focus {\n outline: none; }\n\ninput[disabled] {\n background-color: transparent; }\n\n.vue-tags-input {\n max-width: 450px;\n position: relative;\n background-color: #fff; }\n\ndiv.vue-tags-input.disabled {\n opacity: 0.5; }\n div.vue-tags-input.disabled * {\n cursor: default; }\n\n.ti-input {\n border: 1px solid #ccc;\n display: flex;\n padding: 4px;\n flex-wrap: wrap; }\n\n.ti-tags {\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n line-height: 1em; }\n\n.ti-tag {\n background-color: #5C6BC0;\n color: #fff;\n border-radius: 2px;\n display: flex;\n padding: 3px 5px;\n margin: 2px;\n font-size: .85em; }\n .ti-tag:focus {\n outline: none; }\n .ti-tag .ti-content {\n display: flex;\n align-items: center; }\n .ti-tag .ti-tag-center {\n position: relative; }\n .ti-tag span {\n line-height: .85em; }\n .ti-tag span.ti-hidden {\n padding-left: 14px;\n visibility: hidden;\n height: 0px;\n white-space: pre; }\n .ti-tag .ti-actions {\n margin-left: 2px;\n display: flex;\n align-items: center;\n font-size: 1.15em; }\n .ti-tag .ti-actions i {\n cursor: pointer; }\n .ti-tag:last-child {\n margin-right: 4px; }\n .ti-tag.ti-invalid, .ti-tag.ti-tag.ti-deletion-mark {\n background-color: #e54d42; }\n\n.ti-new-tag-input-wrapper {\n display: flex;\n flex: 1 0 auto;\n padding: 3px 5px;\n margin: 2px;\n font-size: .85em; }\n .ti-new-tag-input-wrapper input {\n flex: 1 0 auto;\n min-width: 100px;\n border: none;\n padding: 0px;\n margin: 0px; }\n\n.ti-new-tag-input {\n line-height: initial; }\n\n.ti-autocomplete {\n border: 1px solid #ccc;\n border-top: none;\n position: absolute;\n width: 100%;\n background-color: #fff;\n z-index: 20; }\n\n.ti-item > div {\n cursor: pointer;\n padding: 3px 6px;\n width: 100%; }\n\n.ti-selected-item {\n background-color: #5C6BC0;\n color: #fff; }\n'],sourceRoot:""}])},function(t,e,n){"use strict";t.exports=function(t){return"string"!=typeof t?t:(/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),/["'() \t\n]/.test(t)?'"'+t.replace(/"/g,'\\"').replace(/\n/g,"\\n")+'"':t)}},function(t,e){t.exports="data:font/ttf;base64,AAEAAAALAIAAAwAwT1MvMg8SBawAAAC8AAAAYGNtYXAXVtKJAAABHAAAAFRnYXNwAAAAEAAAAXAAAAAIZ2x5ZqWfozAAAAF4AAAA/GhlYWQPxZgIAAACdAAAADZoaGVhB4ADyAAAAqwAAAAkaG10eBIAAb4AAALQAAAAHGxvY2EAkgDiAAAC7AAAABBtYXhwAAkAHwAAAvwAAAAgbmFtZZlKCfsAAAMcAAABhnBvc3QAAwAAAAAEpAAAACAAAwOAAZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADpAgPA/8AAQAPAAEAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQADAAAAHAADAAEAAAAcAAQAOAAAAAoACAACAAIAAQAg6QL//f//AAAAAAAg6QD//f//AAH/4xcEAAMAAQAAAAAAAAAAAAAAAQAB//8ADwABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAABAFYBAQO+AoEAHAAAATIXHgEXFhcHJicuAScmIyIGBxchERc2Nz4BNzYCFkpDQ28pKRdkECAfVTM0OT9wLZz+gJgdIiJLKSgCVRcYUjg5QiAzKys+ERIrJZoBgJoZFRQcCAgAAQDWAIEDKgLVAAsAAAEHFwcnByc3JzcXNwMq7u487u487u487u4Cme7uPO7uPO7uPO7uAAEAkgCBA4ACvQAFAAAlARcBJzcBgAHEPP4A7jz5AcQ8/gDuPAAAAAABAAAAAAAAH8nTUV8PPPUACwQAAAAAANZ1KhsAAAAA1nUqGwAAAAADvgLVAAAACAACAAAAAAAAAAEAAAPA/8AAAAQAAAAAAAO+AAEAAAAAAAAAAAAAAAAAAAAHBAAAAAAAAAAAAAAAAgAAAAQAAFYEAADWBAAAkgAAAAAACgAUAB4AUABqAH4AAQAAAAcAHQABAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAA4ArgABAAAAAAABAAcAAAABAAAAAAACAAcAYAABAAAAAAADAAcANgABAAAAAAAEAAcAdQABAAAAAAAFAAsAFQABAAAAAAAGAAcASwABAAAAAAAKABoAigADAAEECQABAA4ABwADAAEECQACAA4AZwADAAEECQADAA4APQADAAEECQAEAA4AfAADAAEECQAFABYAIAADAAEECQAGAA4AUgADAAEECQAKADQApGljb21vb24AaQBjAG8AbQBvAG8AblZlcnNpb24gMS4wAFYAZQByAHMAaQBvAG4AIAAxAC4AMGljb21vb24AaQBjAG8AbQBvAG8Abmljb21vb24AaQBjAG8AbQBvAG8AblJlZ3VsYXIAUgBlAGcAdQBsAGEAcmljb21vb24AaQBjAG8AbQBvAG8AbkZvbnQgZ2VuZXJhdGVkIGJ5IEljb01vb24uAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALgAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="},function(t,e){t.exports="data:font/woff;base64,d09GRgABAAAAAAUQAAsAAAAABMQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAAABCAAAAGAAAABgDxIFrGNtYXAAAAFoAAAAVAAAAFQXVtKJZ2FzcAAAAbwAAAAIAAAACAAAABBnbHlmAAABxAAAAPwAAAD8pZ+jMGhlYWQAAALAAAAANgAAADYPxZgIaGhlYQAAAvgAAAAkAAAAJAeAA8hobXR4AAADHAAAABwAAAAcEgABvmxvY2EAAAM4AAAAEAAAABAAkgDibWF4cAAAA0gAAAAgAAAAIAAJAB9uYW1lAAADaAAAAYYAAAGGmUoJ+3Bvc3QAAATwAAAAIAAAACAAAwAAAAMDgAGQAAUAAAKZAswAAACPApkCzAAAAesAMwEJAAAAAAAAAAAAAAAAAAAAARAAAAAAAAAAAAAAAAAAAAAAQAAA6QIDwP/AAEADwABAAAAAAQAAAAAAAAAAAAAAIAAAAAAAAwAAAAMAAAAcAAEAAwAAABwAAwABAAAAHAAEADgAAAAKAAgAAgACAAEAIOkC//3//wAAAAAAIOkA//3//wAB/+MXBAADAAEAAAAAAAAAAAAAAAEAAf//AA8AAQAAAAAAAAAAAAIAADc5AQAAAAABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQBWAQEDvgKBABwAAAEyFx4BFxYXByYnLgEnJiMiBgcXIREXNjc+ATc2AhZKQ0NvKSkXZBAgH1UzNDk/cC2c/oCYHSIiSykoAlUXGFI4OUIgMysrPhESKyWaAYCaGRUUHAgIAAEA1gCBAyoC1QALAAABBxcHJwcnNyc3FzcDKu7uPO7uPO7uPO7uApnu7jzu7jzu7jzu7gABAJIAgQOAAr0ABQAAJQEXASc3AYABxDz+AO48+QHEPP4A7jwAAAAAAQAAAAAAAB/J01FfDzz1AAsEAAAAAADWdSobAAAAANZ1KhsAAAAAA74C1QAAAAgAAgAAAAAAAAABAAADwP/AAAAEAAAAAAADvgABAAAAAAAAAAAAAAAAAAAABwQAAAAAAAAAAAAAAAIAAAAEAABWBAAA1gQAAJIAAAAAAAoAFAAeAFAAagB+AAEAAAAHAB0AAQAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAOAK4AAQAAAAAAAQAHAAAAAQAAAAAAAgAHAGAAAQAAAAAAAwAHADYAAQAAAAAABAAHAHUAAQAAAAAABQALABUAAQAAAAAABgAHAEsAAQAAAAAACgAaAIoAAwABBAkAAQAOAAcAAwABBAkAAgAOAGcAAwABBAkAAwAOAD0AAwABBAkABAAOAHwAAwABBAkABQAWACAAAwABBAkABgAOAFIAAwABBAkACgA0AKRpY29tb29uAGkAYwBvAG0AbwBvAG5WZXJzaW9uIDEuMABWAGUAcgBzAGkAbwBuACAAMQAuADBpY29tb29uAGkAYwBvAG0AbwBvAG5pY29tb29uAGkAYwBvAG0AbwBvAG5SZWd1bGFyAFIAZQBnAHUAbABhAHJpY29tb29uAGkAYwBvAG0AbwBvAG5Gb250IGdlbmVyYXRlZCBieSBJY29Nb29uLgBGAG8AbgB0ACAAZwBlAG4AZQByAGEAdABlAGQAIABiAHkAIABJAGMAbwBNAG8AbwBuAC4AAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vue-tags-input",class:[{"ti-disabled":t.disabled},{"ti-focus":t.focused}]},[n("div",{staticClass:"ti-input"},[t.tagsCopy?n("ul",{staticClass:"ti-tags"},[t._l(t.tagsCopy,(function(e,a){return n("li",{key:a,staticClass:"ti-tag",class:[{"ti-editing":t.tagsEditStatus[a]},e.tiClasses,e.classes,{"ti-deletion-mark":t.isMarked(a)}],style:e.style,attrs:{tabindex:"0"},on:{click:function(n){return t.$emit("tag-clicked",{tag:e,index:a})}}},[n("div",{staticClass:"ti-content"},[t.$scopedSlots["tag-left"]?n("div",{staticClass:"ti-tag-left"},[t._t("tag-left",null,{tag:e,index:a,edit:t.tagsEditStatus[a],performSaveEdit:t.performSaveTag,performDelete:t.performDeleteTag,performCancelEdit:t.cancelEdit,performOpenEdit:t.performEditTag,deletionMark:t.isMarked(a)})],2):t._e(),t._v(" "),n("div",{ref:"tagCenter",refInFor:!0,staticClass:"ti-tag-center"},[t.$scopedSlots["tag-center"]?t._e():n("span",{class:{"ti-hidden":t.tagsEditStatus[a]},on:{click:function(e){return t.performEditTag(a)}}},[t._v(t._s(e.text))]),t._v(" "),t.$scopedSlots["tag-center"]?t._e():n("tag-input",{attrs:{scope:{edit:t.tagsEditStatus[a],maxlength:t.maxlength,tag:e,index:a,validateTag:t.createChangedTag,performCancelEdit:t.cancelEdit,performSaveEdit:t.performSaveTag}}}),t._v(" "),t._t("tag-center",null,{tag:e,index:a,maxlength:t.maxlength,edit:t.tagsEditStatus[a],performSaveEdit:t.performSaveTag,performDelete:t.performDeleteTag,performCancelEdit:t.cancelEdit,validateTag:t.createChangedTag,performOpenEdit:t.performEditTag,deletionMark:t.isMarked(a)})],2),t._v(" "),t.$scopedSlots["tag-right"]?n("div",{staticClass:"ti-tag-right"},[t._t("tag-right",null,{tag:e,index:a,edit:t.tagsEditStatus[a],performSaveEdit:t.performSaveTag,performDelete:t.performDeleteTag,performCancelEdit:t.cancelEdit,performOpenEdit:t.performEditTag,deletionMark:t.isMarked(a)})],2):t._e()]),t._v(" "),n("div",{staticClass:"ti-actions"},[t.$scopedSlots["tag-actions"]?t._e():n("i",{directives:[{name:"show",rawName:"v-show",value:t.tagsEditStatus[a],expression:"tagsEditStatus[index]"}],staticClass:"ti-icon-undo",on:{click:function(e){return t.cancelEdit(a)}}}),t._v(" "),t.$scopedSlots["tag-actions"]?t._e():n("i",{directives:[{name:"show",rawName:"v-show",value:!t.tagsEditStatus[a],expression:"!tagsEditStatus[index]"}],staticClass:"ti-icon-close",on:{click:function(e){return t.performDeleteTag(a)}}}),t._v(" "),t.$scopedSlots["tag-actions"]?t._t("tag-actions",null,{tag:e,index:a,edit:t.tagsEditStatus[a],performSaveEdit:t.performSaveTag,performDelete:t.performDeleteTag,performCancelEdit:t.cancelEdit,performOpenEdit:t.performEditTag,deletionMark:t.isMarked(a)}):t._e()],2)])})),t._v(" "),n("li",{staticClass:"ti-new-tag-input-wrapper"},[n("input",t._b({ref:"newTagInput",staticClass:"ti-new-tag-input",class:[t.createClasses(t.newTag,t.tags,t.validation,t.isDuplicate)],attrs:{placeholder:t.placeholder,maxlength:t.maxlength,disabled:t.disabled,type:"text",size:"1"},domProps:{value:t.newTag},on:{keydown:[function(e){return t.performAddTags(t.filteredAutocompleteItems[t.selectedItem]||t.newTag,e)},function(e){return e.type.indexOf("key")||8===e.keyCode?t.invokeDelete(e):null},function(e){return e.type.indexOf("key")||9===e.keyCode?t.performBlur(e):null},function(e){return e.type.indexOf("key")||38===e.keyCode?t.selectItem(e,"before"):null},function(e){return e.type.indexOf("key")||40===e.keyCode?t.selectItem(e,"after"):null}],paste:t.addTagsFromPaste,input:t.updateNewTag,blur:function(e){return t.$emit("blur",e)},focus:function(e){t.focused=!0,t.$emit("focus",e)},click:function(e){!t.addOnlyFromAutocomplete&&(t.selectedItem=null)}}},"input",t.$attrs,!1))])],2):t._e()]),t._v(" "),t._t("between-elements"),t._v(" "),t.autocompleteOpen?n("div",{staticClass:"ti-autocomplete",on:{mouseout:function(e){t.selectedItem=null}}},[t._t("autocomplete-header"),t._v(" "),n("ul",t._l(t.filteredAutocompleteItems,(function(e,a){return n("li",{key:a,staticClass:"ti-item",class:[e.tiClasses,e.classes,{"ti-selected-item":t.isSelected(a)}],style:e.style,on:{mouseover:function(e){!t.disabled&&(t.selectedItem=a)}}},[t.$scopedSlots["autocomplete-item"]?t._t("autocomplete-item",null,{item:e,index:a,performAdd:function(e){return t.performAddTags(e,void 0,"autocomplete")},selected:t.isSelected(a)}):n("div",{on:{click:function(n){return t.performAddTags(e,void 0,"autocomplete")}}},[t._v("\n "+t._s(e.text)+"\n ")])],2)})),0),t._v(" "),t._t("autocomplete-footer")],2):t._e()],2)};a._withStripped=!0;var i=n(5),r=n.n(i),s=function(t){return JSON.parse(JSON.stringify(t))},o=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=arguments.length>3?arguments[3]:void 0;void 0===t.text&&(t={text:t});var i=function(t,e){return e.filter((function(e){var n=t.text;return"string"==typeof e.rule?!new RegExp(e.rule).test(n):e.rule instanceof RegExp?!e.rule.test(n):"[object Function]"==={}.toString.call(e.rule)?e.rule(t):void 0})).map((function(t){return t.classes}))}(t,n),r=function(t,e){for(var n=0;n1?n-1:0),i=1;i1?e-1:0),a=1;a=this.autocompleteMinLength&&this.filteredAutocompleteItems.length>0&&this.focused},filteredAutocompleteItems:function(){var t=this,e=this.autocompleteItems.map((function(e){return c(e,t.tags,t.validation,t.isDuplicate)}));return this.autocompleteFilterDuplicates?e.filter(this.duplicateFilter):e}},methods:{createClasses:o,getSelectedIndex:function(t){var e=this.filteredAutocompleteItems,n=this.selectedItem,a=e.length-1;if(0!==e.length)return null===n?0:"before"===t&&0===n?a:"after"===t&&n===a?0:"after"===t?n+1:n-1},selectDefaultItem:function(){this.addOnlyFromAutocomplete&&this.filteredAutocompleteItems.length>0?this.selectedItem=0:this.selectedItem=null},selectItem:function(t,e){t.preventDefault(),this.selectedItem=this.getSelectedIndex(e)},isSelected:function(t){return this.selectedItem===t},isMarked:function(t){return this.deletionMark===t},invokeDelete:function(){var t=this;if(this.deleteOnBackspace&&!(this.newTag.length>0)){var e=this.tagsCopy.length-1;null===this.deletionMark?(this.deletionMarkTime=setTimeout((function(){return t.deletionMark=null}),1e3),this.deletionMark=e):this.performDeleteTag(e)}},addTagsFromPaste:function(){var t=this;this.addFromPaste&&setTimeout((function(){return t.performAddTags(t.newTag)}),10)},performEditTag:function(t){var e=this;this.allowEditTags&&(this._events["before-editing-tag"]||this.editTag(t),this.$emit("before-editing-tag",{index:t,tag:this.tagsCopy[t],editTag:function(){return e.editTag(t)}}))},editTag:function(t){this.allowEditTags&&(this.toggleEditMode(t),this.focus(t))},toggleEditMode:function(t){this.allowEditTags&&!this.disabled&&this.$set(this.tagsEditStatus,t,!this.tagsEditStatus[t])},createChangedTag:function(t,e){var n=this.tagsCopy[t];n.text=e?e.target.value:this.tagsCopy[t].text,this.$set(this.tagsCopy,t,c(n,this.tagsCopy,this.validation,this.isDuplicate))},focus:function(t){var e=this;this.$nextTick((function(){var n=e.$refs.tagCenter[t].querySelector("input.ti-tag-input");n&&n.focus()}))},quote:function(t){return t.replace(/([()[{*+.$^\\|?])/g,"\\$1")},cancelEdit:function(t){this.tags[t]&&(this.tagsCopy[t]=s(c(this.tags[t],this.tags,this.validation,this.isDuplicate)),this.$set(this.tagsEditStatus,t,!1))},hasForbiddingAddRule:function(t){var e=this;return t.some((function(t){var n=e.validation.find((function(e){return t===e.classes}));return!!n&&n.disableAdd}))},createTagTexts:function(t){var e=this,n=new RegExp(this.separators.map((function(t){return e.quote(t)})).join("|"));return t.split(n).map((function(t){return{text:t}}))},performDeleteTag:function(t){var e=this;this._events["before-deleting-tag"]||this.deleteTag(t),this.$emit("before-deleting-tag",{index:t,tag:this.tagsCopy[t],deleteTag:function(){return e.deleteTag(t)}})},deleteTag:function(t){this.disabled||(this.deletionMark=null,clearTimeout(this.deletionMarkTime),this.tagsCopy.splice(t,1),this._events["update:tags"]&&this.$emit("update:tags",this.tagsCopy),this.$emit("tags-changed",this.tagsCopy))},noTriggerKey:function(t,e){var n=-1!==this[e].indexOf(t.keyCode)||-1!==this[e].indexOf(t.key);return n&&t.preventDefault(),!n},performAddTags:function(t,e,n){var a=this;if(!(this.disabled||e&&this.noTriggerKey(e,"addOnKey"))){var i=[];"object"===m(t)&&(i=[t]),"string"==typeof t&&(i=this.createTagTexts(t)),(i=i.filter((function(t){return t.text.trim().length>0}))).forEach((function(t){t=c(t,a.tags,a.validation,a.isDuplicate),a._events["before-adding-tag"]||a.addTag(t,n),a.$emit("before-adding-tag",{tag:t,addTag:function(){return a.addTag(t,n)}})}))}},duplicateFilter:function(t){return this.isDuplicate?!this.isDuplicate(this.tagsCopy,t):!this.tagsCopy.find((function(e){return e.text===t.text}))},addTag:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"new-tag-input",a=this.filteredAutocompleteItems.map((function(t){return t.text}));this.addOnlyFromAutocomplete&&-1===a.indexOf(t.text)||this.$nextTick((function(){return e.maxTags&&e.maxTags<=e.tagsCopy.length?e.$emit("max-tags-reached",t):e.avoidAddingDuplicates&&!e.duplicateFilter(t)?e.$emit("adding-duplicate",t):void(e.hasForbiddingAddRule(t.tiClasses)||(e.$emit("input",""),e.tagsCopy.push(t),e._events["update:tags"]&&e.$emit("update:tags",e.tagsCopy),"autocomplete"===n&&e.$refs.newTagInput.focus(),e.$emit("tags-changed",e.tagsCopy)))}))},performSaveTag:function(t,e){var n=this,a=this.tagsCopy[t];this.disabled||e&&this.noTriggerKey(e,"addOnKey")||0!==a.text.trim().length&&(this._events["before-saving-tag"]||this.saveTag(t,a),this.$emit("before-saving-tag",{index:t,tag:a,saveTag:function(){return n.saveTag(t,a)}}))},saveTag:function(t,e){if(this.avoidAddingDuplicates){var n=s(this.tagsCopy),a=n.splice(t,1)[0];if(this.isDuplicate?this.isDuplicate(n,a):-1!==n.map((function(t){return t.text})).indexOf(a.text))return this.$emit("saving-duplicate",e)}this.hasForbiddingAddRule(e.tiClasses)||(this.$set(this.tagsCopy,t,e),this.toggleEditMode(t),this._events["update:tags"]&&this.$emit("update:tags",this.tagsCopy),this.$emit("tags-changed",this.tagsCopy))},tagsEqual:function(){var t=this;return!this.tagsCopy.some((function(e,n){return!r()(e,t.tags[n])}))},updateNewTag:function(t){var e=t.target.value;this.newTag=e,this.$emit("input",e)},initTags:function(){this.tagsCopy=u(this.tags,this.validation,this.isDuplicate),this.tagsEditStatus=s(this.tags).map((function(){return!1})),this._events["update:tags"]&&!this.tagsEqual()&&this.$emit("update:tags",this.tagsCopy)},blurredOnClick:function(t){this.$el.contains(t.target)||this.$el.contains(document.activeElement)||this.performBlur(t)},performBlur:function(){this.addOnBlur&&this.focused&&this.performAddTags(this.newTag),this.focused=!1}},watch:{value:function(t){this.addOnlyFromAutocomplete||(this.selectedItem=null),this.newTag=t},tags:{handler:function(){this.initTags()},deep:!0},autocompleteOpen:"selectDefaultItem"},created:function(){this.newTag=this.value,this.initTags()},mounted:function(){this.selectDefaultItem(),document.addEventListener("click",this.blurredOnClick)},destroyed:function(){document.removeEventListener("click",this.blurredOnClick)}},y=(n(9),d(v,a,[],!1,null,"61d92e31",null));y.options.__file="vue-tags-input/vue-tags-input.vue";var b=y.exports;n.d(e,"VueTagsInput",(function(){return b})),n.d(e,"createClasses",(function(){return o})),n.d(e,"createTag",(function(){return c})),n.d(e,"createTags",(function(){return u})),n.d(e,"TagInput",(function(){return f})),b.install=function(t){return t.component(b.name,b)},"undefined"!=typeof window&&window.Vue&&window.Vue.use(b),e.default=b}])},function(t,e,n){"use strict";var a={name:"CustomAttachments",props:{title:String,name:String,error:Array},methods:{hasError:function(){return this.error.length>0}}},i=n(0),r=Object(i.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("input",{staticClass:"form-control",attrs:{multiple:"multiple",autocomplete:"off",placeholder:t.title,title:t.title,name:t.name,type:"file"}}),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"73840c18",null);e.a=r.exports},function(t,e,n){"use strict";var a={name:"CustomDate",props:{value:String,title:String,name:String,error:Array},methods:{handleInput:function(t){this.$emit("input",this.$refs.date.value)},hasError:function(){return this.error.length>0},clearDate:function(){this.name="",this.$refs.date.value="",this.$emit("input",this.$refs.date.value)}}},i=n(0),r=Object(i.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("input",{ref:"date",staticClass:"form-control",attrs:{type:"date",name:t.name,title:t.title,autocomplete:"off",placeholder:t.title},domProps:{value:t.value?t.value.substr(0,10):""},on:{input:t.handleInput}}),t._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:t.clearDate}},[n("i",{staticClass:"fa fa-trash-o"})])])]),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"7a261844",null);e.a=r.exports},function(t,e,n){"use strict";var a={name:"CustomString",props:{title:String,name:String,value:String,error:Array},methods:{handleInput:function(t){this.$emit("input",this.$refs.str.value)},clearField:function(){this.name="",this.$refs.str.value="",this.$emit("input",this.$refs.str.value)},hasError:function(){return this.error.length>0}}},i=n(0),r=Object(i.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("input",{ref:"str",staticClass:"form-control",attrs:{type:"text",name:t.name,title:t.title,autocomplete:"off",placeholder:t.title},domProps:{value:t.value},on:{input:t.handleInput}}),t._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:t.clearField}},[n("i",{staticClass:"fa fa-trash-o"})])])]),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"ada77346",null);e.a=r.exports},function(t,e,n){"use strict";var a={name:"CustomTextarea",props:{title:String,name:String,value:String,error:Array},data:function(){return{textValue:this.value}},methods:{handleInput:function(t){this.$emit("input",this.$refs.str.value)},hasError:function(){return this.error.length>0}}},i=n(0),r=Object(i.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.textValue,expression:"textValue"}],ref:"str",staticClass:"form-control",attrs:{name:t.name,title:t.title,autocomplete:"off",rows:"8",placeholder:t.title},domProps:{value:t.textValue},on:{input:[function(e){e.target.composing||(t.textValue=e.target.value)},t.handleInput]}}),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"40389097",null);e.a=r.exports},function(t,e,n){"use strict";var a={props:["error","value","index"],name:"StandardDate",methods:{hasError:function(){return this.error.length>0},handleInput:function(t){this.$emit("input",this.$refs.date.value)},clearDate:function(){this.name="",this.$refs.date.value="",this.$emit("input",this.$refs.date.value),this.$emit("clear:date")}}},i=n(0),r=Object(i.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.$t("firefly.date"))+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("input",{ref:"date",staticClass:"form-control",attrs:{type:"date",name:"date[]",title:t.$t("firefly.date"),autocomplete:"off",disabled:t.index>0,placeholder:t.$t("firefly.date")},domProps:{value:t.value},on:{input:t.handleInput}}),t._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:t.clearDate}},[n("i",{staticClass:"fa fa-trash-o"})])])]),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"4e877916",null);e.a=r.exports},function(t,e,n){"use strict";var a={props:["error","value","index"],name:"GroupDescription",methods:{hasError:function(){return this.error.length>0},handleInput:function(t){this.$emit("input",this.$refs.descr.value)},clearField:function(){this.name="",this.$refs.descr.value="",this.$emit("input",this.$refs.descr.value)}}},i=n(0),r=Object(i.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.$t("firefly.split_transaction_title"))+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("input",{ref:"descr",staticClass:"form-control",attrs:{type:"text",name:"group_title",title:t.$t("firefly.split_transaction_title"),autocomplete:"off",placeholder:t.$t("firefly.split_transaction_title")},domProps:{value:t.value},on:{input:t.handleInput}}),t._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:t.clearField}},[n("i",{staticClass:"fa fa-trash-o"})])])]),t._v(" "),0===t.error.length?n("p",{staticClass:"help-block"},[t._v("\n "+t._s(t.$t("firefly.split_transaction_title_help"))+"\n ")]):t._e(),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"2666c561",null);e.a=r.exports},function(t,e,n){"use strict";var a={props:["error","value","index"],name:"TransactionDescription",mounted:function(){this.target=this.$refs.descr,this.descriptionAutoCompleteURI=document.getElementsByTagName("base")[0].href+"json/transaction-journals/all?search=",this.$refs.descr.focus()},components:{},data:function(){return{descriptionAutoCompleteURI:null,name:null,description:null,target:null}},methods:{search:function(t){return["ab","cd"]},hasError:function(){return this.error.length>0},clearDescription:function(){this.description="",this.$refs.descr.value="",this.$emit("input",this.$refs.descr.value),this.$emit("clear:description")},handleInput:function(t){this.$emit("input",this.$refs.descr.value)},handleEnter:function(t){t.keyCode},selectedItem:function(t){void 0!==this.name&&"string"!=typeof this.name&&(this.$refs.descr.value=this.name.description,this.$emit("input",this.$refs.descr.value))}}},i=n(0),r=Object(i.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.$t("firefly.description"))+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("input",{ref:"descr",staticClass:"form-control",attrs:{type:"text",name:"description[]",title:t.$t("firefly.description"),autocomplete:"off",placeholder:t.$t("firefly.description")},domProps:{value:t.value},on:{keypress:t.handleEnter,submit:function(t){t.preventDefault()},input:t.handleInput}}),t._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:t.clearDescription}},[n("i",{staticClass:"fa fa-trash-o"})])])]),t._v(" "),n("typeahead",{attrs:{"open-on-empty":!0,"open-on-focus":!0,"async-src":t.descriptionAutoCompleteURI,target:t.target,"item-key":"description"},on:{input:t.selectedItem},model:{value:t.name,callback:function(e){t.name=e},expression:"name"}}),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"dfd3d572",null);e.a=r.exports},function(t,e,n){"use strict";var a={name:"CustomTransactionFields",props:["value","error"],mounted:function(){this.getPreference()},data:function(){return{customInterestDate:null,fields:[{interest_date:!1,book_date:!1,process_date:!1,due_date:!1,payment_date:!1,invoice_date:!1,internal_reference:!1,notes:!1,attachments:!1}]}},computed:{dateComponent:function(){return"custom-date"},stringComponent:function(){return"custom-string"},attachmentComponent:function(){return"custom-attachments"},textareaComponent:function(){return"custom-textarea"}},methods:{handleInput:function(t){this.$emit("input",this.value)},getPreference:function(){var t=this,e=document.getElementsByTagName("base")[0].href+"api/v1/preferences/transaction_journal_optional_fields";axios.get(e).then((function(e){t.fields=e.data.data.attributes.data})).catch((function(){return console.warn("Oh. Something went wrong loading custom transaction fields.")}))}}},i=n(0),r=Object(i.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("p",{staticClass:"help-block",domProps:{innerHTML:t._s(t.$t("firefly.hidden_fields_preferences"))}}),t._v(" "),this.fields.interest_date?n(t.dateComponent,{tag:"component",attrs:{error:t.error.interest_date,name:"interest_date[]",title:t.$t("form.interest_date")},model:{value:t.value.interest_date,callback:function(e){t.$set(t.value,"interest_date",e)},expression:"value.interest_date"}}):t._e(),t._v(" "),this.fields.book_date?n(t.dateComponent,{tag:"component",attrs:{error:t.error.book_date,name:"book_date[]",title:t.$t("form.book_date")},model:{value:t.value.book_date,callback:function(e){t.$set(t.value,"book_date",e)},expression:"value.book_date"}}):t._e(),t._v(" "),this.fields.process_date?n(t.dateComponent,{tag:"component",attrs:{error:t.error.process_date,name:"process_date[]",title:t.$t("form.process_date")},model:{value:t.value.process_date,callback:function(e){t.$set(t.value,"process_date",e)},expression:"value.process_date"}}):t._e(),t._v(" "),this.fields.due_date?n(t.dateComponent,{tag:"component",attrs:{error:t.error.due_date,name:"due_date[]",title:t.$t("form.due_date")},model:{value:t.value.due_date,callback:function(e){t.$set(t.value,"due_date",e)},expression:"value.due_date"}}):t._e(),t._v(" "),this.fields.payment_date?n(t.dateComponent,{tag:"component",attrs:{error:t.error.payment_date,name:"payment_date[]",title:t.$t("form.payment_date")},model:{value:t.value.payment_date,callback:function(e){t.$set(t.value,"payment_date",e)},expression:"value.payment_date"}}):t._e(),t._v(" "),this.fields.invoice_date?n(t.dateComponent,{tag:"component",attrs:{error:t.error.invoice_date,name:"invoice_date[]",title:t.$t("form.invoice_date")},model:{value:t.value.invoice_date,callback:function(e){t.$set(t.value,"invoice_date",e)},expression:"value.invoice_date"}}):t._e(),t._v(" "),this.fields.internal_reference?n(t.stringComponent,{tag:"component",attrs:{error:t.error.internal_reference,name:"internal_reference[]",title:t.$t("form.internal_reference")},model:{value:t.value.internal_reference,callback:function(e){t.$set(t.value,"internal_reference",e)},expression:"value.internal_reference"}}):t._e(),t._v(" "),this.fields.attachments?n(t.attachmentComponent,{tag:"component",attrs:{error:t.error.attachments,name:"attachments[]",title:t.$t("firefly.attachments")},model:{value:t.value.attachments,callback:function(e){t.$set(t.value,"attachments",e)},expression:"value.attachments"}}):t._e(),t._v(" "),this.fields.notes?n(t.textareaComponent,{tag:"component",attrs:{error:t.error.notes,name:"notes[]",title:t.$t("firefly.notes")},model:{value:t.value.notes,callback:function(e){t.$set(t.value,"notes",e)},expression:"value.notes"}}):t._e()],1)}),[],!1,null,"c24d33ba",null);e.a=r.exports},function(t,e,n){"use strict";var a={name:"PiggyBank",props:["value","transactionType","error","no_piggy_bank"],mounted:function(){this.loadPiggies()},data:function(){return{piggies:[]}},methods:{handleInput:function(t){this.$emit("input",this.$refs.piggy.value)},hasError:function(){return this.error.length>0},loadPiggies:function(){var t=this,e=document.getElementsByTagName("base")[0].href+"json/piggy-banks";axios.get(e,{}).then((function(e){for(var n in t.piggies=[{name_with_amount:t.no_piggy_bank,id:0}],e.data)e.data.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n)&&n<=4294967294&&t.piggies.push(e.data[n])}))}}},i=n(0),r=Object(i.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return void 0!==this.transactionType&&"Transfer"===this.transactionType?n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12"},[this.piggies.length>0?n("select",{ref:"piggy",staticClass:"form-control",attrs:{name:"piggy_bank[]"},on:{input:t.handleInput}},t._l(this.piggies,(function(e){return n("option",{attrs:{label:e.name_with_amount},domProps:{value:e.id}},[t._v(t._s(e.name_with_amount))])})),0):t._e(),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)]):t._e()}),[],!1,null,"1797c09a",null);e.a=r.exports},function(t,e,n){"use strict";var a=n(3),i=n.n(a),r=n(29),s={name:"Tags",components:{VueTagsInput:n.n(r).a},props:["value","error"],data:function(){return{tag:"",autocompleteItems:[],debounce:null,tags:this.value}},watch:{tag:"initItems"},methods:{update:function(t){this.autocompleteItems=[],this.tags=t,this.$emit("input",this.tags)},clearTags:function(){this.tags=[]},hasError:function(){return this.error.length>0},initItems:function(){var t=this;if(!(this.tag.length<2)){var e=document.getElementsByTagName("base")[0].href+"json/tags?search=".concat(this.tag);clearTimeout(this.debounce),this.debounce=setTimeout((function(){i.a.get(e).then((function(e){t.autocompleteItems=e.data.map((function(t){return{text:t.tag}}))})).catch((function(){return console.warn("Oh. Something went wrong loading tags.")}))}),600)}}}},o=n(0),c=Object(o.a)(s,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.$t("firefly.tags"))+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("vue-tags-input",{attrs:{tags:t.tags,title:t.$t("firefly.tags"),classes:"form-input","autocomplete-items":t.autocompleteItems,"add-only-from-autocomplete":!1,placeholder:t.$t("firefly.tags")},on:{"tags-changed":t.update},model:{value:t.tag,callback:function(e){t.tag=e},expression:"tag"}}),t._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:t.clearTags}},[n("i",{staticClass:"fa fa-trash-o"})])])],1)]),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)}),[],!1,null,"4f8ece50",null);e.a=c.exports},function(t,e,n){"use strict";var a={name:"Category",props:{value:String,inputName:String,error:Array,accountName:{type:String,default:""}},data:function(){return{categoryAutoCompleteURI:null,name:null,target:null}},ready:function(){this.name=this.accountName},mounted:function(){this.target=this.$refs.input,this.categoryAutoCompleteURI=document.getElementsByTagName("base")[0].href+"json/categories?search="},methods:{hasError:function(){return this.error.length>0},handleInput:function(t){"string"!=typeof this.$refs.input.value?this.$emit("input",this.$refs.input.value.name):this.$emit("input",this.$refs.input.value)},clearCategory:function(){this.name="",this.$refs.input.value="",this.$emit("input",this.$refs.input.value),this.$emit("clear:category")},selectedItem:function(t){void 0!==this.name&&(this.$emit("select:category",this.name),"string"!=typeof this.name?this.$emit("input",this.name.name):this.$emit("input",this.name))},handleEnter:function(t){t.keyCode}}},i=n(0),r=Object(i.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.$t("firefly.category"))+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("input",{ref:"input",staticClass:"form-control",attrs:{type:"text",placeholder:t.$t("firefly.category"),autocomplete:"off","data-role":"input",name:"category[]",title:t.$t("firefly.category")},domProps:{value:t.value},on:{input:t.handleInput,keypress:t.handleEnter,submit:function(t){t.preventDefault()}}}),t._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{type:"button"},on:{click:t.clearCategory}},[n("i",{staticClass:"fa fa-trash-o"})])])]),t._v(" "),n("typeahead",{attrs:{"open-on-empty":!0,"open-on-focus":!0,"async-src":t.categoryAutoCompleteURI,target:t.target,"item-key":"name"},on:{input:t.selectedItem},model:{value:t.name,callback:function(e){t.name=e},expression:"name"}}),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"5fd3029c",null);e.a=r.exports},function(t,e,n){"use strict";var a={name:"Amount",props:["source","destination","transactionType","value","error"],data:function(){return{sourceAccount:this.source,destinationAccount:this.destination,type:this.transactionType}},methods:{handleInput:function(t){this.$emit("input",this.$refs.amount.value)},clearAmount:function(){this.$refs.amount.value="",this.$emit("input",this.$refs.amount.value),this.$emit("clear:amount")},hasError:function(){return this.error.length>0},changeData:function(){var t=this.transactionType;t||this.source.name||this.destination.name?(null===t&&(t=""),""!==t||""===this.source.currency_name?""!==t||""===this.destination.currency_name?"withdrawal"!==t.toLowerCase()&&"reconciliation"!==t.toLowerCase()&&"transfer"!==t.toLowerCase()?("deposit"===t.toLowerCase()&&"debt"!==this.source.type.toLowerCase()&&"loan"!==this.source.type.toLowerCase()&&"mortgage"!==this.source.type.toLowerCase()&&$(this.$refs.cur).text(this.destination.currency_name),"deposit"!==t.toLowerCase()||"debt"!==this.source.type.toLowerCase()&&"loan"!==this.source.type.toLowerCase()&&"mortgage"!==this.source.type.toLowerCase()||$(this.$refs.cur).text(this.source.currency_name)):$(this.$refs.cur).text(this.source.currency_name):$(this.$refs.cur).text(this.destination.currency_name):$(this.$refs.cur).text(this.source.currency_name)):$(this.$refs.cur).text("")}},watch:{source:function(){this.changeData()},destination:function(){this.changeData()},transactionType:function(){this.changeData()}},mounted:function(){this.changeData()}},i=n(0),r=Object(i.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-8 col-sm-offset-4 text-sm"},[t._v("\n "+t._s(t.$t("firefly.amount"))+"\n ")]),t._v(" "),n("label",{ref:"cur",staticClass:"col-sm-4 control-label"}),t._v(" "),n("div",{staticClass:"col-sm-8"},[n("div",{staticClass:"input-group"},[n("input",{ref:"amount",staticClass:"form-control",attrs:{type:"number",step:"any",name:"amount[]",title:t.$t("firefly.amount"),autocomplete:"off",placeholder:t.$t("firefly.amount")},domProps:{value:t.value},on:{input:t.handleInput}}),t._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:t.clearAmount}},[n("i",{staticClass:"fa fa-trash-o"})])])])]),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)}),[],!1,null,"440928b9",null);e.a=r.exports},function(t,e,n){"use strict";var a={name:"ForeignAmountSelect",props:["source","destination","transactionType","value","error","no_currency","title"],mounted:function(){this.liability=!1,this.loadCurrencies()},data:function(){return{currencies:[],enabledCurrencies:[],exclude:null,liability:!1}},watch:{source:function(){this.changeData()},destination:function(){this.changeData()},transactionType:function(){this.changeData()}},methods:{clearAmount:function(){this.$refs.amount.value="",this.$emit("input",this.$refs.amount.value),this.$emit("clear:amount")},hasError:function(){return this.error.length>0},handleInput:function(t){var e={amount:this.$refs.amount.value,currency_id:this.$refs.currency_select.value};this.$emit("input",e)},changeData:function(){this.enabledCurrencies=[];var t=this.destination.type?this.destination.type.toLowerCase():"invalid",e=this.source.type?this.source.type.toLowerCase():"invalid",n=this.transactionType?this.transactionType.toLowerCase():"invalid",a=["loan","debt","mortgage"],i=-1!==a.indexOf(e),r=-1!==a.indexOf(t);if("transfer"===n||r||i)for(var s in this.liability=!0,this.currencies)this.currencies.hasOwnProperty(s)&&/^0$|^[1-9]\d*$/.test(s)&&s<=4294967294&&this.currencies[s].id===this.destination.currency_id&&this.enabledCurrencies.push(this.currencies[s]);else if("withdrawal"===n&&this.source&&!1===i)for(var o in this.currencies)this.currencies.hasOwnProperty(o)&&/^0$|^[1-9]\d*$/.test(o)&&o<=4294967294&&this.source.currency_id!==this.currencies[o].id&&this.enabledCurrencies.push(this.currencies[o]);else if("deposit"===n&&this.destination)for(var c in this.currencies)this.currencies.hasOwnProperty(c)&&/^0$|^[1-9]\d*$/.test(c)&&c<=4294967294&&this.destination.currency_id!==this.currencies[c].id&&this.enabledCurrencies.push(this.currencies[c]);else for(var u in this.currencies)this.currencies.hasOwnProperty(u)&&/^0$|^[1-9]\d*$/.test(u)&&u<=4294967294&&this.enabledCurrencies.push(this.currencies[u])},loadCurrencies:function(){var t=this,e=document.getElementsByTagName("base")[0].href+"json/currencies";axios.get(e,{}).then((function(e){for(var n in t.currencies=[{name:t.no_currency,id:0,enabled:!0}],t.enabledCurrencies=[{name:t.no_currency,id:0,enabled:!0}],e.data)e.data.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n)&&n<=4294967294&&e.data[n].enabled&&(t.currencies.push(e.data[n]),t.enabledCurrencies.push(e.data[n]))}))}}},i=n(0),r=Object(i.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return this.enabledCurrencies.length>=1?n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-8 col-sm-offset-4 text-sm"},[t._v("\n "+t._s(t.$t("form.foreign_amount"))+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-4"},[n("select",{ref:"currency_select",staticClass:"form-control",attrs:{name:"foreign_currency[]"},on:{input:t.handleInput}},t._l(this.enabledCurrencies,(function(e){return e.enabled?n("option",{attrs:{label:e.name},domProps:{value:e.id,selected:t.value.currency_id===e.id}},[t._v("\n "+t._s(e.name)+"\n ")]):t._e()})),0)]),t._v(" "),n("div",{staticClass:"col-sm-8"},[n("div",{staticClass:"input-group"},[this.enabledCurrencies.length>0?n("input",{ref:"amount",staticClass:"form-control",attrs:{type:"number",step:"any",name:"foreign_amount[]",title:this.title,autocomplete:"off",placeholder:this.title},domProps:{value:t.value.amount},on:{input:t.handleInput}}):t._e(),t._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:t.clearAmount}},[n("i",{staticClass:"fa fa-trash-o"})])])]),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)]):t._e()}),[],!1,null,"37601284",null);e.a=r.exports},function(t,e,n){"use strict";var a={props:{source:String,destination:String,type:String},methods:{changeValue:function(){if(this.source&&this.destination){var t="";window.accountToTypes[this.source]?window.accountToTypes[this.source][this.destination]?t=window.accountToTypes[this.source][this.destination]:console.warn("User selected an impossible destination."):console.warn("User selected an impossible source."),""!==t&&(this.transactionType=t,this.sentence=this.$t("firefly.you_create_"+t.toLowerCase()),this.$emit("act:limitSourceType",this.source),this.$emit("act:limitDestinationType",this.destination))}else this.sentence="",this.transactionType="";this.$emit("set:transactionType",this.transactionType)}},data:function(){return{transactionType:this.type,sentence:""}},watch:{source:function(){this.changeValue()},destination:function(){this.changeValue()}},name:"TransactionType"},i=n(0),r=Object(i.a)(a,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"form-group"},[e("div",{staticClass:"col-sm-12"},[""!==this.sentence?e("label",{staticClass:"control-label text-info"},[this._v("\n "+this._s(this.sentence)+"\n ")]):this._e()])])}),[],!1,null,"0539dc1a",null);e.a=r.exports},function(t,e,n){"use strict";var a={props:{inputName:String,title:String,index:Number,transactionType:String,error:Array,accountName:{type:String,default:""},accountTypeFilters:{type:Array,default:function(){return[]}},defaultAccountTypeFilters:{type:Array,default:function(){return[]}}},data:function(){return{accountAutoCompleteURI:null,name:null,trType:this.transactionType,target:null,inputDisabled:!1,allowedTypes:this.accountTypeFilters,defaultAllowedTypes:this.defaultAccountTypeFilters}},ready:function(){this.name=this.accountName},mounted:function(){this.target=this.$refs.input;var t=this.allowedTypes.join(",");this.name=this.accountName,this.accountAutoCompleteURI=document.getElementsByTagName("base")[0].href+"json/accounts?types="+t+"&search=",this.triggerTransactionType()},watch:{transactionType:function(){this.triggerTransactionType()},accountName:function(){this.name=this.accountName},accountTypeFilters:function(){var t=this.accountTypeFilters.join(",");0===this.accountTypeFilters.length&&(t=this.defaultAccountTypeFilters.join(",")),this.accountAutoCompleteURI=document.getElementsByTagName("base")[0].href+"json/accounts?types="+t+"&search="},name:function(){}},methods:{hasError:function(){return this.error.length>0},triggerTransactionType:function(){if(this.name,null!==this.transactionType&&""!==this.transactionType&&(this.inputDisabled=!1,""!==this.transactionType.toString()&&this.index>0)){if("transfer"===this.transactionType.toString().toLowerCase())return void(this.inputDisabled=!0);if("withdrawal"===this.transactionType.toString().toLowerCase()&&"source"===this.inputName.substr(0,6).toLowerCase())return void(this.inputDisabled=!0);"deposit"===this.transactionType.toString().toLowerCase()&&"destination"===this.inputName.substr(0,11).toLowerCase()&&(this.inputDisabled=!0)}},selectedItem:function(t){void 0!==this.name&&("string"==typeof this.name&&this.$emit("clear:value"),this.$emit("select:account",this.name))},clearSource:function(t){this.name="",this.$emit("clear:value")},handleEnter:function(t){t.keyCode}}},i=n(0),r=Object(i.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("input",{ref:"input",staticClass:"form-control",attrs:{type:"text",placeholder:t.title,"data-index":t.index,autocomplete:"off","data-role":"input",disabled:t.inputDisabled,name:t.inputName,title:t.title},on:{keypress:t.handleEnter,submit:function(t){t.preventDefault()}}}),t._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:t.clearSource}},[n("i",{staticClass:"fa fa-trash-o"})])])]),t._v(" "),n("typeahead",{attrs:{"open-on-empty":!0,"open-on-focus":!0,"async-src":t.accountAutoCompleteURI,target:t.target,"item-key":"name_with_balance"},on:{input:t.selectedItem},model:{value:t.name,callback:function(e){t.name=e},expression:"name"}}),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"019a1ec0",null);e.a=r.exports},function(t,e,n){"use strict";var a={name:"Budget",props:{transactionType:String,value:{type:[String,Number],default:0},error:Array,no_budget:String},mounted:function(){this.loadBudgets()},data:function(){return{selected:this.value,budgets:[]}},methods:{signalChange:function(t){this.$emit("input",this.$refs.budget.value)},handleInput:function(t){this.$emit("input",this.$refs.budget.value)},hasError:function(){return this.error.length>0},loadBudgets:function(){var t=this,e=document.getElementsByTagName("base")[0].href+"json/budgets";axios.get(e,{}).then((function(e){for(var n in t.budgets=[{name:t.no_budget,id:0}],e.data)e.data.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n)&&n<=4294967294&&t.budgets.push(e.data[n])}))}}},i=n(0),r=Object(i.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return void 0===this.transactionType||"withdrawal"===this.transactionType||"Withdrawal"===this.transactionType||""===this.transactionType||null===this.transactionType?n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.$t("firefly.budget"))+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[this.budgets.length>0?n("select",{directives:[{name:"model",rawName:"v-model",value:t.selected,expression:"selected"}],ref:"budget",staticClass:"form-control",attrs:{name:"budget[]",title:t.$t("firefly.budget")},on:{input:t.handleInput,change:[function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.selected=e.target.multiple?n:n[0]},t.signalChange]}},t._l(this.budgets,(function(e){return n("option",{attrs:{label:e.name},domProps:{value:e.id}},[t._v(t._s(e.name)+"\n ")])})),0):t._e(),t._v(" "),1===this.budgets.length?n("p",{staticClass:"help-block",domProps:{innerHTML:t._s(t.$t("firefly.no_budget_pointer"))}}):t._e(),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)]):t._e()}),[],!1,null,"1e0beee7",null);e.a=r.exports},,,,,function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Jak to jde?","flash_error":"Chyba!","flash_success":"Úspěšně dokončeno!","close":"Zavřít","split_transaction_title":"Popis rozúčtování","errors_submission":"There was something wrong with your submission. Please check out the errors below.","split":"Rozdělit","transaction_journal_information":"Informace o transakci","no_budget_pointer":"Zdá se, že zatím nemáte žádné rozpočty. Na stránce rozpočty byste nějaké měli vytvořit. Rozpočty mohou pomoci udržet si přehled ve výdajích.","source_account":"Zdrojový účet","hidden_fields_preferences":"You can enable more transaction options in your settings.","destination_account":"Cílový účet","add_another_split":"Přidat další rozúčtování","submission":"Submission","create_another":"After storing, return here to create another one.","reset_after":"Reset form after submission","submit":"Odeslat","amount":"Částka","date":"Datum","tags":"Štítky","no_budget":"(žádný rozpočet)","category":"Kategorie","attachments":"Přílohy","notes":"Poznámky","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","store_as_new":"Store as a new transaction instead of updating.","split_title_help":"Pokud vytvoříte rozúčtování, je třeba, aby zde byl celkový popis pro všechna rozúčtování dané transakce.","none_in_select_list":"(žádné)","no_piggy_bank":"(žádná pokladnička)","description":"Popis","split_transaction_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","destination_account_reconciliation":"You can\'t edit the destination account of a reconciliation transaction.","source_account_reconciliation":"You can\'t edit the source account of a reconciliation transaction.","budget":"Rozpočet","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"Úrokové datum","book_date":"Datum rezervace","process_date":"Datum zpracování","due_date":"Datum splatnosti","foreign_amount":"Částka v cizí měně","payment_date":"Datum zaplacení","invoice_date":"Datum vystavení","internal_reference":"Interní reference"},"config":{"html_language":"cs"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Überblick","flash_error":"Fehler!","flash_success":"Geschafft!","close":"Schließen","split_transaction_title":"Beschreibung der Splittbuchung","errors_submission":"Problem bei der Übermittlung. Bitte überprüfen Sie die nachfolgenden Fehler.","split":"Teilen","transaction_journal_information":"Transaktionsinformationen","no_budget_pointer":"Sie scheinen noch keine Kostenrahmen festgelegt zu haben. Sie sollten einige davon auf der Seite „Kostenrahmen” anlegen. Kostenrahmen können Ihnen dabei helfen, den Überblick über die Ausgaben zu behalten.","source_account":"Quellkonto","hidden_fields_preferences":"Sie können weitere Buchungsoptionen in Ihren Einstellungen aktivieren.","destination_account":"Zielkonto","add_another_split":"Eine weitere Aufteilung hinzufügen","submission":"Übermittlung","create_another":"Nach dem Speichern hierher zurückkehren, um ein weiteres zu erstellen.","reset_after":"Formular nach der Übermittlung zurücksetzen","submit":"Absenden","amount":"Betrag","date":"Datum","tags":"Schlagwörter","no_budget":"(kein Budget)","category":"Kategorie","attachments":"Anhänge","notes":"Notizen","update_transaction":"Buchung aktualisieren","after_update_create_another":"Nach dem Aktualisieren hierher zurückkehren, um weiter zu bearbeiten.","store_as_new":"Als neue Buchung speichern statt zu aktualisieren.","split_title_help":"Wenn Sie eine Splittbuchung anlegen, muss es eine eindeutige Beschreibung für alle Aufteilungen der Buchhaltung geben.","none_in_select_list":"(Keine)","no_piggy_bank":"(kein Sparschwein)","description":"Beschreibung","split_transaction_title_help":"Wenn Sie eine Splittbuchung anlegen, muss es eine eindeutige Beschreibung für alle Aufteilungen der Buchung geben.","destination_account_reconciliation":"Sie können das Zielkonto einer Kontenausgleichsbuchung nicht bearbeiten.","source_account_reconciliation":"Sie können das Quellkonto einer Kontenausgleichsbuchung nicht bearbeiten.","budget":"Budget","you_create_withdrawal":"Sie haben eine Auszahlung erstellt.","you_create_transfer":"Sie haben eine Buchung erstellt.","you_create_deposit":"Sie haben eine Einzahlung erstellt."},"form":{"interest_date":"Zinstermin","book_date":"Buchungsdatum","process_date":"Bearbeitungsdatum","due_date":"Fälligkeitstermin","foreign_amount":"Ausländischer Betrag","payment_date":"Zahlungsdatum","invoice_date":"Rechnungsdatum","internal_reference":"Interner Verweis"},"config":{"html_language":"de"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"What\'s playing?","flash_error":"Error!","flash_success":"Success!","close":"Close","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors below.","split":"Split","transaction_journal_information":"Transaction information","no_budget_pointer":"You seem to have no budgets yet. You should create some on the budgets-page. Budgets can help you keep track of expenses.","source_account":"Source account","hidden_fields_preferences":"You can enable more transaction options in your settings.","destination_account":"Destination account","add_another_split":"Add another split","submission":"Submission","create_another":"After storing, return here to create another one.","reset_after":"Reset form after submission","submit":"Submit","amount":"Amount","date":"Date","tags":"Tags","no_budget":"(no budget)","category":"Category","attachments":"Attachments","notes":"Notes","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","store_as_new":"Store as a new transaction instead of updating.","split_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","none_in_select_list":"(none)","no_piggy_bank":"(no piggy bank)","description":"Description","split_transaction_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","destination_account_reconciliation":"You can\'t edit the destination account of a reconciliation transaction.","source_account_reconciliation":"You can\'t edit the source account of a reconciliation transaction.","budget":"Budget","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"Interest date","book_date":"Book date","process_date":"Processing date","due_date":"Due date","foreign_amount":"Foreign amount","payment_date":"Payment date","invoice_date":"Invoice date","internal_reference":"Internal reference"},"config":{"html_language":"en"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"¿Qué está pasando?","flash_error":"¡Error!","flash_success":"¡Operación correcta!","close":"Cerrar","split_transaction_title":"Descripción de la transacción dividida","errors_submission":"Hubo algo malo con su envío. Por favor, revise los errores de abajo.","split":"Separar","transaction_journal_information":"Información de transacción","no_budget_pointer":"Parece que aún no tiene presupuestos. Debe crear algunos en la página presupuestos. Los presupuestos pueden ayudarle a realizar un seguimiento de los gastos.","source_account":"Cuenta origen","hidden_fields_preferences":"Puede habilitar más opciones de transacción en sus ajustes .","destination_account":"Cuenta destino","add_another_split":"Añadir otra división","submission":"Envío","create_another":"Después de guardar, vuelve aquí para crear otro.","reset_after":"Restablecer formulario después del envío","submit":"Enviar","amount":"Cantidad","date":"Fecha","tags":"Etiquetas","no_budget":"(sin presupuesto)","category":"Categoria","attachments":"Archivos adjuntos","notes":"Notas","update_transaction":"Actualizar transacción","after_update_create_another":"Después de actualizar, vuelve aquí para continuar editando.","store_as_new":"Almacenar como una nueva transacción en lugar de actualizar.","split_title_help":"Si crea una transacción dividida, debe haber una descripción global para todos los fragmentos de la transacción.","none_in_select_list":"(ninguno)","no_piggy_bank":"(sin alcancía)","description":"Descripción","split_transaction_title_help":"Si crea una transacción dividida, debe existir una descripción global para todas las divisiones de la transacción.","destination_account_reconciliation":"No puede editar la cuenta de destino de una transacción de reconciliación.","source_account_reconciliation":"No puede editar la cuenta de origen de una transacción de reconciliación.","budget":"Presupuesto","you_create_withdrawal":"Está creando un retiro.","you_create_transfer":"Está creando una transferencia.","you_create_deposit":"Está creando un depósito."},"form":{"interest_date":"Fecha de interés","book_date":"Fecha de registro","process_date":"Fecha de procesamiento","due_date":"Fecha de vencimiento","foreign_amount":"Cantidad extranjera","payment_date":"Fecha de pago","invoice_date":"Fecha de la factura","internal_reference":"Referencia interna"},"config":{"html_language":"es"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Τι παίζει;","flash_error":"Σφάλμα!","flash_success":"Επιτυχία!","close":"Κλείσιμο","split_transaction_title":"Περιγραφή της συναλλαγής με διαχωρισμό","errors_submission":"Υπήρξε κάποιο λάθος με την υποβολή σας. Ελέγξτε τα παρακάτω σφάλματα.","split":"Διαχωρισμός","transaction_journal_information":"Πληροφορίες συναλλαγής","no_budget_pointer":"Φαίνεται πως δεν έχετε ορίσει προϋπολογισμούς ακόμη. Πρέπει να δημιουργήσετε κάποιον στη σελίδα προϋπολογισμών. Οι προϋπολογισμοί σας βοηθούν να επιβλέπετε τις δαπάνες σας.","source_account":"Λογαριασμός προέλευσης","hidden_fields_preferences":"Μπορείτε να ενεργοποιήσετε περισσότερες επιλογές συναλλαγών στις ρυθμίσεις.","destination_account":"Λογαριασμός προορισμού","add_another_split":"Προσθήκη ενός ακόμα διαχωρισμού","submission":"Υποβολή","create_another":"Μετά την αποθήκευση, επιστρέψτε εδώ για να δημιουργήσετε ακόμη ένα.","reset_after":"Επαναφορά φόρμας μετά την υποβολή","submit":"Υποβολή","amount":"Ποσό","date":"Ημερομηνία","tags":"Ετικέτες","no_budget":"(χωρίς προϋπολογισμό)","category":"Κατηγορία","attachments":"Συνημμένα","notes":"Σημειώσεις","update_transaction":"Ενημέρωση συναλλαγής","after_update_create_another":"Μετά την ενημέρωση, επιστρέψτε εδώ για να συνεχίσετε την επεξεργασία.","store_as_new":"Αποθήκευση ως νέα συναλλαγή αντί για ενημέρωση.","split_title_help":"Εάν δημιουργήσετε μια διαχωρισμένη συναλλαγή, πρέπει να υπάρχει μια καθολική περιγραφή για όλους τους διαχωρισμούς της συναλλαγής.","none_in_select_list":"(τίποτα)","no_piggy_bank":"(χωρίς κουμπαρά)","description":"Περιγραφή","split_transaction_title_help":"Εάν δημιουργήσετε μια διαχωρισμένη συναλλαγή, πρέπει να υπάρχει μια καθολική περιγραφή για όλους τους διαχωρισμούς της συναλλαγής.","destination_account_reconciliation":"Δεν μπορείτε να τροποποιήσετε τον λογαριασμό προορισμού σε μια συναλλαγή τακτοποίησης.","source_account_reconciliation":"Δεν μπορείτε να τροποποιήσετε τον λογαριασμό προέλευσης σε μια συναλλαγή τακτοποίησης.","budget":"Προϋπολογισμός","you_create_withdrawal":"Δημιουργείτε μια ανάληψη.","you_create_transfer":"Δημιουργείτε μια μεταφορά.","you_create_deposit":"Δημιουργείτε μια κατάθεση."},"form":{"interest_date":"Ημερομηνία τοκισμού","book_date":"Ημερομηνία εγγραφής","process_date":"Ημερομηνία επεξεργασίας","due_date":"Ημερομηνία προθεσμίας","foreign_amount":"Ποσό σε ξένο νόμισμα","payment_date":"Ημερομηνία πληρωμής","invoice_date":"Ημερομηνία τιμολόγησης","internal_reference":"Εσωτερική αναφορά"},"config":{"html_language":"el"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Que se passe-t-il ?","flash_error":"Erreur !","flash_success":"Super !","close":"Fermer","split_transaction_title":"Description de l\'opération ventilée","errors_submission":"Certaines informations ne sont pas correctes dans votre formulaire. Veuillez vérifier les erreurs ci-dessous.","split":"Ventiler","transaction_journal_information":"Informations sur les opérations","no_budget_pointer":"Vous semblez n’avoir encore aucun budget. Vous devriez en créer un sur la page des budgets. Les budgets peuvent vous aider à garder une trace des dépenses.","source_account":"Compte source","hidden_fields_preferences":"Vous pouvez activer plus d\'options d\'opérations dans vos paramètres.","destination_account":"Compte de destination","add_another_split":"Ajouter une autre fraction","submission":"Soumission","create_another":"Après enregistrement, revenir ici pour en créer un nouveau.","reset_after":"Réinitialiser le formulaire après soumission","submit":"Soumettre","amount":"Montant","date":"Date","tags":"Tags","no_budget":"(pas de budget)","category":"Catégorie","attachments":"Pièces jointes","notes":"Notes","update_transaction":"Mettre à jour l\'opération","after_update_create_another":"Après la mise à jour, revenir ici pour continuer l\'édition.","store_as_new":"Enregistrer comme une nouvelle opération au lieu de mettre à jour.","split_title_help":"Si vous créez une opération ventilée, il doit y avoir une description globale pour chaque fractions de l\'opération.","none_in_select_list":"(aucun)","no_piggy_bank":"(aucune tirelire)","description":"Description","split_transaction_title_help":"Si vous créez une opération ventilée, il doit y avoir une description globale pour chaque fraction de l\'opération.","destination_account_reconciliation":"Vous ne pouvez pas modifier le compte de destination d\'une opération de rapprochement.","source_account_reconciliation":"Vous ne pouvez pas modifier le compte source d\'une opération de rapprochement.","budget":"Budget","you_create_withdrawal":"Vous saisissez une dépense.","you_create_transfer":"Vous saisissez un transfert.","you_create_deposit":"Vous saisissez un dépôt."},"form":{"interest_date":"Date de valeur (intérêts)","book_date":"Date de réservation","process_date":"Date de traitement","due_date":"Échéance","foreign_amount":"Montant en devise étrangère","payment_date":"Date de paiement","invoice_date":"Date de facturation","internal_reference":"Référence interne"},"config":{"html_language":"fr"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Mi a helyzet?","flash_error":"Hiba!","flash_success":"Siker!","close":"Bezárás","split_transaction_title":"Felosztott tranzakció leírása","errors_submission":"Hiba történt a beküldés során. Kérem, javítsa az alábbi hibákat.","split":"Felosztás","transaction_journal_information":"Tranzakciós információk","no_budget_pointer":"Úgy tűnik, még nincsenek költségkeretek. Költségkereteket a költségkeretek oldalon lehet létrehozni. A költségkeretek segítenek nyomon követni a költségeket.","source_account":"Forrás számla","hidden_fields_preferences":"A beállításokban több tranzakciós beállítási lehetőség is megadható.","destination_account":"Célszámla","add_another_split":"Másik felosztás hozzáadása","submission":"Feliratkozás","create_another":"A tárolás után térjen vissza ide új létrehozásához.","reset_after":"Űrlap törlése a beküldés után","submit":"Beküldés","amount":"Összeg","date":"Dátum","tags":"Címkék","no_budget":"(nincs költségkeret)","category":"Kategória","attachments":"Mellékletek","notes":"Megjegyzések","update_transaction":"Tranzakció frissítése","after_update_create_another":"A frissítés után térjen vissza ide a szerkesztés folytatásához.","store_as_new":"Tárolás új tranzakcióként frissítés helyett.","split_title_help":"Felosztott tranzakció létrehozásakor meg kell adni egy globális leírást a tranzakció összes felosztása részére.","none_in_select_list":"(nincs)","no_piggy_bank":"(nincs malacpersely)","description":"Leírás","split_transaction_title_help":"Felosztott tranzakció létrehozásakor meg kell adni egy globális leírást a tranzakció összes felosztása részére.","destination_account_reconciliation":"Nem lehet szerkeszteni egy egyeztetett tranzakció célszámláját.","source_account_reconciliation":"Nem lehet szerkeszteni egy egyeztetett tranzakció forrásszámláját.","budget":"Költségkeret","you_create_withdrawal":"Egy költség létrehozása.","you_create_transfer":"Egy átutalás létrehozása.","you_create_deposit":"Egy bevétel létrehozása."},"form":{"interest_date":"Kamatfizetési időpont","book_date":"Könyvelés dátuma","process_date":"Feldolgozás dátuma","due_date":"Lejárati időpont","foreign_amount":"Külföldi összeg","payment_date":"Fizetés dátuma","invoice_date":"Számla dátuma","internal_reference":"Belső hivatkozás"},"config":{"html_language":"hu"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"What\'s playing?","flash_error":"Kesalahan!","flash_success":"Keberhasilan!","close":"Dekat","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors below.","split":"Pisah","transaction_journal_information":"Informasi transaksi","no_budget_pointer":"You seem to have no budgets yet. You should create some on the budgets-page. Budgets can help you keep track of expenses.","source_account":"Source account","hidden_fields_preferences":"You can enable more transaction options in your settings.","destination_account":"Destination account","add_another_split":"Tambahkan perpecahan lagi","submission":"Submission","create_another":"After storing, return here to create another one.","reset_after":"Reset form after submission","submit":"Menyerahkan","amount":"Jumlah","date":"Tanggal","tags":"Tag","no_budget":"(no budget)","category":"Kategori","attachments":"Lampiran","notes":"Notes","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","store_as_new":"Store as a new transaction instead of updating.","split_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","none_in_select_list":"(none)","no_piggy_bank":"(no piggy bank)","description":"Deskripsi","split_transaction_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","destination_account_reconciliation":"You can\'t edit the destination account of a reconciliation transaction.","source_account_reconciliation":"You can\'t edit the source account of a reconciliation transaction.","budget":"Anggaran","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"Tanggal bunga","book_date":"Tanggal buku","process_date":"Tanggal pemrosesan","due_date":"Batas tanggal terakhir","foreign_amount":"Foreign amount","payment_date":"Tanggal pembayaran","invoice_date":"Tanggal faktur","internal_reference":"Referensi internal"},"config":{"html_language":"id"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"La tua situazione finanziaria","flash_error":"Errore!","flash_success":"Successo!","close":"Chiudi","split_transaction_title":"Descrizione della transazione suddivisa","errors_submission":"Errore durante l\'invio. Controlla gli errori segnalati qui sotto.","split":"Dividi","transaction_journal_information":"Informazioni transazione","no_budget_pointer":"Sembra che tu non abbia ancora dei budget. Dovresti crearne alcuni nella pagina dei budget. I budget possono aiutarti a tenere traccia delle spese.","source_account":"Conto di origine","hidden_fields_preferences":"Puoi abilitare maggiori opzioni per le transazioni nelle tue impostazioni.","destination_account":"Conto destinazione","add_another_split":"Aggiungi un\'altra divisione","submission":"Invio","create_another":"Dopo il salvataggio, torna qui per crearne un\'altra.","reset_after":"Resetta il modulo dopo l\'invio","submit":"Invia","amount":"Importo","date":"Data","tags":"Etichette","no_budget":"(nessun budget)","category":"Categoria","attachments":"Allegati","notes":"Note","update_transaction":"Aggiorna transazione","after_update_create_another":"Dopo l\'aggiornamento, torna qui per continuare la modifica.","store_as_new":"Salva come nuova transazione invece di aggiornarla.","split_title_help":"Se crei una transazione suddivisa è necessario che ci sia una descrizione globale per tutte le suddivisioni della transazione.","none_in_select_list":"(nessuna)","no_piggy_bank":"(nessun salvadanaio)","description":"Descrizione","split_transaction_title_help":"Se crei una transazione suddivisa, è necessario che ci sia una descrizione globale per tutte le suddivisioni della transazione.","destination_account_reconciliation":"Non è possibile modificare il conto di destinazione di una transazione di riconciliazione.","source_account_reconciliation":"Non puoi modificare il conto di origine di una transazione di riconciliazione.","budget":"Budget","you_create_withdrawal":"Stai creando un prelievo.","you_create_transfer":"Stai creando un trasferimento.","you_create_deposit":"Stai creando un deposito."},"form":{"interest_date":"Data interesse","book_date":"Data contabile","process_date":"Data elaborazione","due_date":"Data scadenza","foreign_amount":"Importo estero","payment_date":"Data pagamento","invoice_date":"Data fatturazione","internal_reference":"Riferimento interno"},"config":{"html_language":"it"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Hoe staat het er voor?","flash_error":"Fout!","flash_success":"Gelukt!","close":"Sluiten","split_transaction_title":"Beschrijving van de gesplitste transactie","errors_submission":"Er ging iets mis. Check de errors.","split":"Splitsen","transaction_journal_information":"Transactieinformatie","no_budget_pointer":"Je hebt nog geen budgetten. Maak er een aantal op de budgetten-pagina. Met budgetten kan je je uitgaven beter bijhouden.","source_account":"Bronrekening","hidden_fields_preferences":"Je kan meer transactieopties inschakelen in je instellingen.","destination_account":"Doelrekening","add_another_split":"Voeg een split toe","submission":"Indienen","create_another":"Terug naar deze pagina voor een nieuwe transactie.","reset_after":"Reset formulier na opslaan","submit":"Invoeren","amount":"Bedrag","date":"Datum","tags":"Tags","no_budget":"(geen budget)","category":"Categorie","attachments":"Bijlagen","notes":"Notities","update_transaction":"Update transactie","after_update_create_another":"Na het opslaan terug om door te gaan met wijzigen.","store_as_new":"Opslaan als nieuwe transactie ipv de huidige bij te werken.","split_title_help":"Als je een gesplitste transactie maakt, moet er een algemene beschrijving zijn voor alle splitsingen van de transactie.","none_in_select_list":"(geen)","no_piggy_bank":"(geen spaarpotje)","description":"Omschrijving","split_transaction_title_help":"Als je een gesplitste transactie maakt, moet er een algemene beschrijving zijn voor alle splitsingen van de transactie.","destination_account_reconciliation":"Je kan de doelrekening van een afstemming niet wijzigen.","source_account_reconciliation":"Je kan de bronrekening van een afstemming niet wijzigen.","budget":"Budget","you_create_withdrawal":"Je maakt een uitgave.","you_create_transfer":"Je maakt een overschrijving.","you_create_deposit":"Je maakt inkomsten."},"form":{"interest_date":"Rentedatum","book_date":"Boekdatum","process_date":"Verwerkingsdatum","due_date":"Vervaldatum","foreign_amount":"Bedrag in vreemde valuta","payment_date":"Betalingsdatum","invoice_date":"Factuurdatum","internal_reference":"Interne verwijzing"},"config":{"html_language":"nl"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Hvordan går det?","flash_error":"Feil!","flash_success":"Suksess!","close":"Lukk","split_transaction_title":"Description of the split transaction","split":"Del opp","transaction_journal_information":"Transaksjonsinformasjon","source_account":"Source account","destination_account":"Destination account","add_another_split":"Legg til en oppdeling til","submit":"Send inn","amount":"Beløp","no_budget":"(ingen budsjett)","category":"Kategori","attachments":"Vedlegg","notes":"Notater"},"form":{"interest_date":"Rentedato","book_date":"Bokføringsdato","process_date":"Prosesseringsdato","due_date":"Forfallsdato","payment_date":"Betalingsdato","invoice_date":"Fakturadato","internal_reference":"Intern referanse"},"config":{"html_language":"no"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Co jest grane?","flash_error":"Błąd!","flash_success":"Sukces!","close":"Zamknij","split_transaction_title":"Opis podzielonej transakcji","errors_submission":"Coś poszło nie tak w czasie zapisu. Proszę sprawdź błędy poniżej.","split":"Podziel","transaction_journal_information":"Informacje o transakcji","no_budget_pointer":"Wygląda na to że nie masz jeszcze budżetów. Powinieneś utworzyć kilka na stronie budżety. Budżety mogą Ci pomóc śledzić wydatki.","source_account":"Konto źródłowe","hidden_fields_preferences":"Możesz włączyć więcej opcji transakcji w swoich ustawieniach.","destination_account":"Konto docelowe","add_another_split":"Dodaj kolejny podział","submission":"Zapisz","create_another":"Po zapisaniu wróć tutaj, aby utworzyć kolejny.","reset_after":"Wyczyść formularz po zapisaniu","submit":"Prześlij","amount":"Kwota","date":"Data","tags":"Tagi","no_budget":"(brak budżetu)","category":"Kategoria","attachments":"Załączniki","notes":"Notatki","update_transaction":"Zaktualizuj transakcję","after_update_create_another":"Po aktualizacji wróć tutaj, aby kontynuować edycję.","store_as_new":"Zapisz jako nową zamiast aktualizować.","split_title_help":"Podzielone transakcje muszą posiadać globalny opis.","none_in_select_list":"(żadne)","no_piggy_bank":"(brak skarbonki)","description":"Opis","split_transaction_title_help":"Jeśli tworzysz podzieloną transakcję, musi ona posiadać globalny opis dla wszystkich podziałów w transakcji.","destination_account_reconciliation":"Nie możesz edytować konta docelowego transakcji uzgadniania.","source_account_reconciliation":"Nie możesz edytować konta źródłowego transakcji uzgadniania.","budget":"Budżet","you_create_withdrawal":"Tworzysz wydatek.","you_create_transfer":"Tworzysz przelew.","you_create_deposit":"Tworzysz wpłatę."},"form":{"interest_date":"Data odsetek","book_date":"Data księgowania","process_date":"Data przetworzenia","due_date":"Termin realizacji","foreign_amount":"Kwota zagraniczna","payment_date":"Data płatności","invoice_date":"Data faktury","internal_reference":"Wewnętrzny numer"},"config":{"html_language":"pl"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Mitä kuuluu?","flash_error":"Virhe!","flash_success":"Valmista tuli!","close":"Sulje","split_transaction_title":"Jaetun tapahtuman kuvaus","errors_submission":"Lomakkeen tiedoissa oli puutteita - alta löydät listan puutteista.","split":"Jaa","transaction_journal_information":"Tapahtumatiedot","no_budget_pointer":"Sinulla ei näyttäisi olevan vielä yhtään budjettia. Sinun kannattaisi luoda niitä budjetit-sivulla. Budjetit voivat auttaa sinua pitämään kirjaa kuluistasi.","source_account":"Lähdetili","hidden_fields_preferences":"Voit aktivoida lisää tapahtumavalintoja asetuksissa.","destination_account":"Kohdetili","add_another_split":"Lisää tapahtumaan uusi osa","submission":"Vahvistus","create_another":"Tallennuksen jälkeen, palaa takaisin luomaan uusi tapahtuma.","reset_after":"Tyhjennä lomake lähetyksen jälkeen","submit":"Vahvista","amount":"Summa","date":"Päivämäärä","tags":"Tägit","no_budget":"(ei budjettia)","category":"Kategoria","attachments":"Liitteet","notes":"Muistiinpanot","update_transaction":"Päivitä tapahtuma","after_update_create_another":"Päivityksen jälkeen, palaa takaisin jatkamaan muokkausta.","store_as_new":"Tallenna uutena tapahtumana päivityksen sijaan.","split_title_help":"Jos luot jaetun tapahtuman, kokonaisuudelle tarvitaan nimi.","none_in_select_list":"(ei mitään)","no_piggy_bank":"(ei säästöpossu)","description":"Kuvaus","split_transaction_title_help":"Jos luot jaetun tapahtuman, kokonaisuudelle tarvitaan nimi.","destination_account_reconciliation":"Et voi muokata täsmäytystapahtuman kohdetiliä.","source_account_reconciliation":"Et voi muokata täsmäytystapahtuman lähdetiliä.","budget":"Budjetti","you_create_withdrawal":"Olet luomassa nostoa.","you_create_transfer":"Olet luomassa siirtoa.","you_create_deposit":"Olet luomassa talletusta."},"form":{"interest_date":"Korkopäivä","book_date":"Kirjauspäivä","process_date":"Käsittelypäivä","due_date":"Eräpäivä","foreign_amount":"Ulkomaan summa","payment_date":"Maksupäivä","invoice_date":"Laskun päivämäärä","internal_reference":"Sisäinen viite"},"config":{"html_language":"fi"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"O que está acontecendo?","flash_error":"Erro!","flash_success":"Sucesso!","close":"Fechar","split_transaction_title":"Descrição da transação dividida","errors_submission":"There was something wrong with your submission. Please check out the errors below.","split":"Dividir","transaction_journal_information":"Informação da transação","no_budget_pointer":"Parece que você ainda não tem orçamentos. Você deve criar alguns na página de orçamentos. Orçamentos podem ajudá-lo a manter o controle das despesas.","source_account":"Conta origem","hidden_fields_preferences":"You can enable more transaction options in your settings.","destination_account":"Conta destino","add_another_split":"Adicionar outra divisão","submission":"Submission","create_another":"After storing, return here to create another one.","reset_after":"Reset form after submission","submit":"Enviar","amount":"Valor","date":"Data","tags":"Tags","no_budget":"(sem orçamento)","category":"Categoria","attachments":"Anexos","notes":"Notas","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","store_as_new":"Store as a new transaction instead of updating.","split_title_help":"Se você criar uma transação dividida, é necessário haver uma descrição global para todas as partes da transação.","none_in_select_list":"(nenhum)","no_piggy_bank":"(nenhum cofrinho)","description":"Descrição","split_transaction_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","destination_account_reconciliation":"Você não pode editar a conta de origem de uma transação de reconciliação.","source_account_reconciliation":"Você não pode editar a conta de origem de uma transação de reconciliação.","budget":"Orçamento","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"Data de interesse","book_date":"Data reserva","process_date":"Data de processamento","due_date":"Data de vencimento","foreign_amount":"Montante em moeda estrangeira","payment_date":"Data de pagamento","invoice_date":"Data da Fatura","internal_reference":"Referência interna"},"config":{"html_language":"pt-br"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Ce se redă?","flash_error":"Eroare!","flash_success":"Succes!","close":"Închide","split_transaction_title":"Descrierea tranzacției divizate","errors_submission":"A fost ceva în neregulă cu transmiterea dvs. Vă rugăm să consultați erorile de mai jos.","split":"Împarte","transaction_journal_information":"Informații despre tranzacții","no_budget_pointer":"You seem to have no budgets yet. You should create some on the budgets-page. Budgets can help you keep track of expenses.","source_account":"Contul sursă","hidden_fields_preferences":"You can enable more transaction options in your settings.","destination_account":"Contul de destinație","add_another_split":"Adăugați o divizare","submission":"Transmitere","create_another":"După stocare, reveniți aici pentru a crea alta.","reset_after":"Resetați formularul după trimitere","submit":"Trimite","amount":"Sumă","date":"Dată","tags":"Etichete","no_budget":"(nici un buget)","category":"Categorie","attachments":"Atașamente","notes":"Notițe","update_transaction":"Actualizați tranzacția","after_update_create_another":"După actualizare, reveniți aici pentru a continua editarea.","store_as_new":"Stocați ca o tranzacție nouă în loc să actualizați.","split_title_help":"Dacă creați o tranzacție divizată, trebuie să existe o descriere globală pentru toate diviziunile tranzacției.","none_in_select_list":"(nici unul)","no_piggy_bank":"(nicio pușculiță)","description":"Descriere","split_transaction_title_help":"Dacă creați o tranzacție divizată, trebuie să existe o descriere globală pentru toate diviziunile tranzacției.","destination_account_reconciliation":"Nu puteți edita contul de destinație al unei tranzacții de reconciliere.","source_account_reconciliation":"Nu puteți edita contul sursă al unei tranzacții de reconciliere.","budget":"Buget","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"Data de interes","book_date":"Rezervă dată","process_date":"Data procesării","due_date":"Data scadentă","foreign_amount":"Sumă străină","payment_date":"Data de plată","invoice_date":"Data facturii","internal_reference":"Referință internă"},"config":{"html_language":"ro"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Что происходит с моими финансами?","flash_error":"Ошибка!","flash_success":"Успешно!","close":"Закрыть","split_transaction_title":"Описание разделённой транзакции","errors_submission":"При отправке произошла ошибка. Пожалуйста, проверьте ошибки ниже.","split":"Разделить","transaction_journal_information":"Информация о транзакции","no_budget_pointer":"Похоже, у вас пока нет бюджетов. Вы должны создать их в разделе Бюджеты. Бюджеты могут помочь вам отслеживать расходы.","source_account":"Счёт-источник","hidden_fields_preferences":"You can enable more transaction options in your settings.","destination_account":"Счёт назначения","add_another_split":"Добавить новую часть","submission":"Отправить","create_another":"После сохранения вернуться сюда и создать ещё одну аналогичную запись.","reset_after":"Сбросить форму после отправки","submit":"Подтвердить","amount":"Сумма","date":"Дата","tags":"Метки","no_budget":"(вне бюджета)","category":"Категория","attachments":"Вложения","notes":"Заметки","update_transaction":"Обновить транзакцию","after_update_create_another":"После обновления вернитесь сюда, чтобы продолжить редактирование.","store_as_new":"Сохранить как новую транзакцию вместо обновления.","split_title_help":"Если вы создаёте разделённую транзакцию, то должны указать общее описание дле всех её составляющих.","none_in_select_list":"(нет)","no_piggy_bank":"(нет копилки)","description":"Описание","split_transaction_title_help":"Если вы создаёте разделённую транзакцию, то должны указать общее описание для всех её составляющих.","destination_account_reconciliation":"You can\'t edit the destination account of a reconciliation transaction.","source_account_reconciliation":"Вы не можете редактировать исходный аккаунт сверки.","budget":"Бюджет","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"Дата выплаты","book_date":"Дата бронирования","process_date":"Дата обработки","due_date":"Срок","foreign_amount":"Сумма в иностранной валюте","payment_date":"Дата платежа","invoice_date":"Дата выставления счёта","internal_reference":"Внутренняя ссылка"},"config":{"html_language":"ru"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"吃饱没?","flash_error":"错误!","flash_success":"成功!","close":"关闭","split_transaction_title":"拆分交易的描述","split":"分割","transaction_journal_information":"交易资讯","source_account":"来源帐户","destination_account":"目标帐户","add_another_split":"增加拆分","submit":"送出","amount":"金额","no_budget":"(无预算)","category":"分类","attachments":"附加档案","notes":"注释"},"form":{"interest_date":"利率日期","book_date":"登记日期","process_date":"处理日期","due_date":"到期日","payment_date":"付款日期","invoice_date":"发票日期","internal_reference":"内部参考"},"config":{"html_language":"zh"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"What\'s playing?","flash_error":"錯誤!","flash_success":"成功!","close":"關閉","split_transaction_title":"拆分交易的描述","errors_submission":"There was something wrong with your submission. Please check out the errors below.","split":"分割","transaction_journal_information":"交易資訊","no_budget_pointer":"You seem to have no budgets yet. You should create some on the budgets-page. Budgets can help you keep track of expenses.","source_account":"Source account","hidden_fields_preferences":"You can enable more transaction options in your settings.","destination_account":"Destination account","add_another_split":"增加拆分","submission":"Submission","create_another":"After storing, return here to create another one.","reset_after":"Reset form after submission","submit":"送出","amount":"金額","date":"日期","tags":"標籤","no_budget":"(無預算)","category":"分類","attachments":"附加檔案","notes":"備註","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","store_as_new":"Store as a new transaction instead of updating.","split_title_help":"若您建立一筆拆分交易,須有一個有關交易所有拆分的整體描述。","none_in_select_list":"(空)","no_piggy_bank":"(no piggy bank)","description":"描述","split_transaction_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","destination_account_reconciliation":"You can\'t edit the destination account of a reconciliation transaction.","source_account_reconciliation":"You can\'t edit the source account of a reconciliation transaction.","budget":"預算","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"利率日期","book_date":"登記日期","process_date":"處理日期","due_date":"到期日","foreign_amount":"外幣金額","payment_date":"付款日期","invoice_date":"發票日期","internal_reference":"內部參考"},"config":{"html_language":"zh-tw"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"今天理财了吗?","flash_error":"错误!","flash_success":"成功!","close":"关闭","split_transaction_title":"拆分交易的描述","errors_submission":"您的提交有误,请查看下面输出的错误信息。","split":"分割","transaction_journal_information":"交易资讯","no_budget_pointer":"您似乎还没有任何预算。您应该在 预算页面上创建他们。预算可以帮助您跟踪费用。","source_account":"来源帐户","hidden_fields_preferences":"您可以在 设置中启用更多的交易选项。","destination_account":"目标帐户","add_another_split":"增加拆分","submission":"提交","create_another":"保存后,返回此页面创建另一笔记录。","reset_after":"提交后重置表单","submit":"提交","amount":"金额","date":"日期","tags":"标签","no_budget":"(无预算)","category":"分类","attachments":"附加档案","notes":"注释","update_transaction":"更新交易","after_update_create_another":"更新后,返回此页面继续编辑。","store_as_new":"保存为新交易而不是更新此交易。","split_title_help":"如果您创建一个拆分交易,必须有一个全局的交易描述。","none_in_select_list":"(空)","no_piggy_bank":"(无存钱罐)","description":"描述","split_transaction_title_help":"如果您创建了一个分割交易,交易的所有分割项都必须有全局描述。","destination_account_reconciliation":"您不能编辑对账交易的目标账户","source_account_reconciliation":"您不能编辑对账交易的源账户","budget":"预算","you_create_withdrawal":"您正在创建一个提款","you_create_transfer":"您正在创建一个转账","you_create_deposit":"您正在创建一个存款"},"form":{"interest_date":"利率日期","book_date":"登记日期","process_date":"处理日期","due_date":"到期日","foreign_amount":"外币金额","payment_date":"付款日期","invoice_date":"发票日期","internal_reference":"内部参考"},"config":{"html_language":"zh-cn"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Vad spelas?","flash_error":"Fel!","flash_success":"Slutförd!","close":"Stäng","split_transaction_title":"Description of the split transaction","errors_submission":"Något fel uppstod med inskickningen. Vänligen kontrollera felen nedan.","split":"Dela","transaction_journal_information":"Transaktionsinformation","no_budget_pointer":"You seem to have no budgets yet. You should create some on the budgets-page. Budgets can help you keep track of expenses.","source_account":"Från konto","hidden_fields_preferences":"You can enable more transaction options in your settings.","destination_account":"Till konto","add_another_split":"Lägga till en annan delning","submission":"Inskickning","create_another":"Efter sparat, återkom hit för att skapa ytterligare en.","reset_after":"Återställ formulär efter inskickat","submit":"Skicka","amount":"Belopp","date":"Datum","tags":"Etiketter","no_budget":"(ingen budget)","category":"Kategori","attachments":"Bilagor","notes":"Noteringar","update_transaction":"Uppdatera transaktion","after_update_create_another":"Efter uppdaterat, återkom hit för att fortsätta redigera.","store_as_new":"Spara en ny transaktion istället för att uppdatera.","split_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","none_in_select_list":"(Ingen)","no_piggy_bank":"(ingen spargris)","description":"Beskrivning","split_transaction_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","destination_account_reconciliation":"Du kan inte redigera destinationskontot för en avstämningstransaktion.","source_account_reconciliation":"Du kan inte redigera källkontot för en avstämningstransaktion.","budget":"Budget","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"Räntedatum","book_date":"Bokföringsdatum","process_date":"Behandlingsdatum","due_date":"Förfallodatum","foreign_amount":"Utländskt belopp","payment_date":"Betalningsdatum","invoice_date":"Fakturadatum","internal_reference":"Intern referens"},"config":{"html_language":"sv"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Chào mừng trở lại","flash_error":"Lỗi!","flash_success":"Thành công!","close":"Đóng","split_transaction_title":"Mô tả giao dịch tách","errors_submission":"Có gì đó sai. Vui lòng kiểm tra các lỗi dưới đây.","split":"Chia ra","transaction_journal_information":"Thông tin giao dịch","no_budget_pointer":"Bạn dường như chưa có ngân sách. Bạn nên tạo một cái trên budgets-page. Ngân sách có thể giúp bạn theo dõi chi phí.","source_account":"Nguồn tài khoản","hidden_fields_preferences":"Bạn có thể kích hoạt thêm tùy chọn giao dịch trong settings.","destination_account":"Tài khoản đích","add_another_split":"Thêm một phân chia khác","submission":"Gửi","create_another":"Sau khi lưu trữ, quay trở lại đây để tạo một cái khác.","reset_after":"Đặt lại mẫu sau khi gửi","submit":"Gửi","amount":"Số tiền","date":"Ngày","tags":"Thẻ","no_budget":"(không có ngân sách)","category":"Dan hmucj","attachments":"Tệp đính kèm","notes":"Ghi chú","update_transaction":"Cập nhật giao dịch","after_update_create_another":"Sau khi cập nhật, quay lại đây để tiếp tục chỉnh sửa.","store_as_new":"Lưu trữ như một giao dịch mới thay vì cập nhật.","split_title_help":"Nếu bạn tạo một giao dịch phân tách, phải có một mô tả toàn cầu cho tất cả các phân chia của giao dịch.","none_in_select_list":"(none)","no_piggy_bank":"(no piggy bank)","description":"Sự miêu tả","split_transaction_title_help":"Nếu bạn tạo một giao dịch phân tách, phải có một mô tả toàn cầu cho tất cả các phân chia của giao dịch.","destination_account_reconciliation":"Bạn không thể chỉnh sửa tài khoản đích của giao dịch đối chiếu.","source_account_reconciliation":"Bạn không thể chỉnh sửa tài khoản nguồn của giao dịch đối chiếu.","budget":"Ngân sách","you_create_withdrawal":"Bạn đang tạo một rút tiền.","you_create_transfer":"Bạn đang tạo một chuyển khoản.","you_create_deposit":"Bạn đang tạo một tiền gửi."},"form":{"interest_date":"Ngày lãi","book_date":"Ngày đặt sách","process_date":"Ngày xử lý","due_date":"Ngày đáo hạn","foreign_amount":"Ngoại tệ","payment_date":"Ngày thanh toán","invoice_date":"Ngày hóa đơn","internal_reference":"Tài liệu tham khảo nội bộ"},"config":{"html_language":"vi"}}')},,,,,,,,,,,,function(t,e,n){t.exports=n(93)},,,,,,,,,,,function(t,e,n){"use strict";n.r(e);var a=n(30),i={name:"EditTransaction",props:{groupId:Number},mounted:function(){this.getGroup()},ready:function(){},methods:{positiveAmount:function(t){return t<0?-1*t:t},roundNumber:function(t,e){var n=Math.pow(10,e);return Math.round(t*n)/n},selectedSourceAccount:function(t,e){if("string"==typeof e)return this.transactions[t].source_account.id=null,void(this.transactions[t].source_account.name=e);this.transactions[t].source_account={id:e.id,name:e.name,type:e.type,currency_id:e.currency_id,currency_name:e.currency_name,currency_code:e.currency_code,currency_decimal_places:e.currency_decimal_places,allowed_types:this.transactions[t].source_account.allowed_types}},selectedDestinationAccount:function(t,e){if("string"==typeof e)return this.transactions[t].destination_account.id=null,void(this.transactions[t].destination_account.name=e);this.transactions[t].destination_account={id:e.id,name:e.name,type:e.type,currency_id:e.currency_id,currency_name:e.currency_name,currency_code:e.currency_code,currency_decimal_places:e.currency_decimal_places,allowed_types:this.transactions[t].destination_account.allowed_types}},clearSource:function(t){this.transactions[t].source_account={id:0,name:"",type:"",currency_id:0,currency_name:"",currency_code:"",currency_decimal_places:2,allowed_types:this.transactions[t].source_account.allowed_types},this.transactions[t].destination_account&&this.selectedDestinationAccount(t,this.transactions[t].destination_account)},setTransactionType:function(t){null!==t&&(this.transactionType=t)},deleteTransaction:function(t,e){for(var n in e.preventDefault(),this.transactions)this.transactions.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n);for(var a in this.transactions.splice(t,1),this.transactions)this.transactions.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)},clearDestination:function(t){this.transactions[t].destination_account={id:0,name:"",type:"",currency_id:0,currency_name:"",currency_code:"",currency_decimal_places:2,allowed_types:this.transactions[t].destination_account.allowed_types},this.transactions[t].source_account&&this.selectedSourceAccount(t,this.transactions[t].source_account)},getGroup:function(){var t=this,e=window.location.href.split("/"),n="./api/v1/transactions/"+e[e.length-1]+"?_token="+document.head.querySelector('meta[name="csrf-token"]').content;axios.get(n).then((function(e){t.processIncomingGroup(e.data.data)})).catch((function(t){}))},processIncomingGroup:function(t){this.group_title=t.attributes.group_title;var e=t.attributes.transactions.reverse();for(var n in e)if(e.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n)&&n<=4294967294){var a=e[n];this.processIncomingGroupRow(a)}},processIncomingGroupRow:function(t){this.setTransactionType(t.type);var e=[];for(var n in t.tags)t.tags.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n)&&n<=4294967294&&e.push({text:t.tags[n],tiClasses:[]});this.transactions.push({transaction_journal_id:t.transaction_journal_id,description:t.description,date:t.date.substr(0,10),amount:this.roundNumber(this.positiveAmount(t.amount),t.currency_decimal_places),category:t.category_name,errors:{source_account:[],destination_account:[],description:[],amount:[],date:[],budget_id:[],foreign_amount:[],category:[],piggy_bank:[],tags:[],custom_errors:{interest_date:[],book_date:[],process_date:[],due_date:[],payment_date:[],invoice_date:[],internal_reference:[],notes:[],attachments:[]}},budget:t.budget_id,tags:e,custom_fields:{interest_date:t.interest_date,book_date:t.book_date,process_date:t.process_date,due_date:t.due_date,payment_date:t.payment_date,invoice_date:t.invoice_date,internal_reference:t.internal_reference,notes:t.notes},foreign_amount:{amount:this.roundNumber(this.positiveAmount(t.foreign_amount),t.foreign_currency_decimal_places),currency_id:t.foreign_currency_id},source_account:{id:t.source_id,name:t.source_name,type:t.source_type,currency_id:t.currency_id,currency_name:t.currency_name,currency_code:t.currency_code,currency_decimal_places:t.currency_decimal_places,allowed_types:[t.source_type]},destination_account:{id:t.destination_id,name:t.destination_name,type:t.destination_type,currency_id:t.currency_id,currency_name:t.currency_name,currency_code:t.currency_code,currency_decimal_places:t.currency_decimal_places,allowed_types:[t.destination_type]}})},convertData:function(){var t,e,n,a={transactions:[]};for(var i in this.transactions.length>1&&(a.group_title=this.group_title),t=this.transactionType?this.transactionType.toLowerCase():"invalid",e=this.transactions[0].source_account.type,n=this.transactions[0].destination_account.type,"invalid"===t&&["Asset account","Loan","Debt","Mortgage"].includes(e)&&(t="withdrawal"),"invalid"===t&&["Asset account","Loan","Debt","Mortgage"].includes(n)&&(t="deposit"),this.transactions)this.transactions.hasOwnProperty(i)&&/^0$|^[1-9]\d*$/.test(i)&&i<=4294967294&&a.transactions.push(this.convertDataRow(this.transactions[i],i,t));return a},convertDataRow:function(t,e,n){var a,i,r,s,o,c,u=[],l=null,A=null;for(var d in i=t.source_account.id,r=t.source_account.name,s=t.destination_account.id,o=t.destination_account.name,c=t.date,e>0&&(c=this.transactions[0].date),"withdrawal"===n&&""===o&&(s=window.cashAccountId),"deposit"===n&&""===r&&(i=window.cashAccountId),e>0&&("withdrawal"===n.toLowerCase()||"transfer"===n.toLowerCase())&&(i=this.transactions[0].source_account.id,r=this.transactions[0].source_account.name),e>0&&("deposit"===n.toLowerCase()||"transfer"===n.toLowerCase())&&(s=this.transactions[0].destination_account.id,o=this.transactions[0].destination_account.name),u=[],l=null,A=null,t.tags)t.tags.hasOwnProperty(d)&&/^0$|^[1-9]\d*$/.test(d)&&d<=4294967294&&u.push(t.tags[d].text);return""!==t.foreign_amount.amount&&0!==parseFloat(t.foreign_amount.amount)&&(l=t.foreign_amount.amount,A=t.foreign_amount.currency_id),A===t.currency_id&&(l=null,A=null),0===s&&(s=null),0===i&&(i=null),1===(String(t.amount).match(/\,/g)||[]).length&&(t.amount=String(t.amount).replace(",",".")),a={transaction_journal_id:t.transaction_journal_id,type:n,date:c,amount:t.amount,currency_id:t.currency_id,description:t.description,source_id:i,source_name:r,destination_id:s,destination_name:o,category_name:t.category,interest_date:t.custom_fields.interest_date,book_date:t.custom_fields.book_date,process_date:t.custom_fields.process_date,due_date:t.custom_fields.due_date,payment_date:t.custom_fields.payment_date,invoice_date:t.custom_fields.invoice_date,internal_reference:t.custom_fields.internal_reference,notes:t.custom_fields.notes,tags:u},null!==l&&(a.foreign_amount=l,a.foreign_currency_id=A),a.budget_id=parseInt(t.budget),parseInt(t.piggy_bank)>0&&(a.piggy_bank_id=parseInt(t.piggy_bank)),a},submit:function(t){var e=this,n=window.location.href.split("/"),a="./api/v1/transactions/"+n[n.length-1]+"?_token="+document.head.querySelector('meta[name="csrf-token"]').content,i="PUT";this.storeAsNew&&(a="./api/v1/transactions?_token="+document.head.querySelector('meta[name="csrf-token"]').content,i="POST");var r=this.convertData(),s=$("#submitButton");s.prop("disabled",!0),axios({method:i,url:a,data:r}).then((function(t){0===e.collectAttachmentData(t)&&e.redirectUser(t.data.data.id)})).catch((function(t){e.parseErrors(t.response.data)})),t&&t.preventDefault(),s.removeAttr("disabled")},redirectUser:function(t){this.returnAfter?(this.setDefaultErrors(),this.storeAsNew?(this.success_message='Transaction #'+t+" has been created.",this.error_message=""):(this.success_message='The transaction has been updated.',this.error_message="")):this.storeAsNew?window.location.href=window.previousUri+"?transaction_group_id="+t+"&message=created":window.location.href=window.previousUri+"?transaction_group_id="+t+"&message=updated"},collectAttachmentData:function(t){var e=this,n=t.data.data.id,a=[],i=[],r=$('input[name="attachments[]"]');for(var s in r)if(r.hasOwnProperty(s)&&/^0$|^[1-9]\d*$/.test(s)&&s<=4294967294)for(var o in r[s].files)if(r[s].files.hasOwnProperty(o)&&/^0$|^[1-9]\d*$/.test(o)&&o<=4294967294){var c=t.data.data.attributes.transactions.reverse();a.push({journal:c[s].transaction_journal_id,file:r[s].files[o]})}var u=a.length,l=function(t){var r,s,o;a.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294&&(r=a[t],s=e,(o=new FileReader).onloadend=function(e){e.target.readyState===FileReader.DONE&&(i.push({name:a[t].file.name,journal:a[t].journal,content:new Blob([e.target.result])}),i.length===u&&s.uploadFiles(i,n))},o.readAsArrayBuffer(r.file))};for(var A in a)l(A);return u},uploadFiles:function(t,e){var n=this,a=t.length,i=0,r=function(r){if(t.hasOwnProperty(r)&&/^0$|^[1-9]\d*$/.test(r)&&r<=4294967294){var s={filename:t[r].name,attachable_type:"TransactionJournal",attachable_id:t[r].journal};axios.post("./api/v1/attachments",s).then((function(s){var o="./api/v1/attachments/"+s.data.data.id+"/upload";axios.post(o,t[r].content).then((function(t){return++i===a&&n.redirectUser(e,null),!0})).catch((function(t){return console.error("Could not upload file."),console.error(t),i++,n.error_message="Could not upload attachment: "+t,i===a&&n.redirectUser(e,null),!1}))}))}};for(var s in t)r(s)},addTransaction:function(t){this.transactions.push({transaction_journal_id:0,description:"",date:"",amount:"",category:"",piggy_bank:0,errors:{source_account:[],destination_account:[],description:[],amount:[],date:[],budget_id:[],foreign_amount:[],category:[],piggy_bank:[],tags:[],custom_errors:{interest_date:[],book_date:[],process_date:[],due_date:[],payment_date:[],invoice_date:[],internal_reference:[],notes:[],attachments:[]}},budget:0,tags:[],custom_fields:{interest_date:"",book_date:"",process_date:"",due_date:"",payment_date:"",invoice_date:"",internal_reference:"",notes:"",attachments:[]},foreign_amount:{amount:"",currency_id:0},source_account:{id:0,name:"",type:"",currency_id:0,currency_name:"",currency_code:"",currency_decimal_places:2,allowed_types:[]},destination_account:{id:0,name:"",type:"",currency_id:0,currency_name:"",currency_code:"",currency_decimal_places:2,allowed_types:[]}}),t&&t.preventDefault()},parseErrors:function(t){var e,n;for(var a in this.setDefaultErrors(),this.error_message="",t.message.length>0?this.error_message=this.$t("firefly.errors_submission"):this.error_message="",t.errors)if(t.errors.hasOwnProperty(a)&&("group_title"===a&&(this.group_title_errors=t.errors[a]),"group_title"!==a)){switch(e=parseInt(a.split(".")[1]),n=a.split(".")[2]){case"amount":case"date":case"budget_id":case"description":case"tags":this.transactions[e].errors[n]=t.errors[a];break;case"source_name":case"source_id":this.transactions[e].errors.source_account=this.transactions[e].errors.source_account.concat(t.errors[a]);break;case"destination_name":case"destination_id":this.transactions[e].errors.destination_account=this.transactions[e].errors.destination_account.concat(t.errors[a]);break;case"foreign_amount":case"foreign_currency_id":this.transactions[e].errors.foreign_amount=this.transactions[e].errors.foreign_amount.concat(t.errors[a])}this.transactions[e].errors.source_account=Array.from(new Set(this.transactions[e].errors.source_account)),this.transactions[e].errors.destination_account=Array.from(new Set(this.transactions[e].errors.destination_account))}},setDefaultErrors:function(){for(var t in this.transactions)this.transactions.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294&&(this.transactions[t].errors={source_account:[],destination_account:[],description:[],amount:[],date:[],budget_id:[],foreign_amount:[],category:[],piggy_bank:[],tags:[],custom_errors:{interest_date:[],book_date:[],process_date:[],due_date:[],payment_date:[],invoice_date:[],internal_reference:[],notes:[],attachments:[]}})}},data:function(){return{group:this.groupId,error_message:"",success_message:"",transactions:[],group_title:"",returnAfter:!1,storeAsNew:!1,transactionType:null,group_title_errors:[],resetButtonDisabled:!0}}},r=n(0),s=Object(r.a)(i,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("form",{staticClass:"form-horizontal",attrs:{method:"POST",action:"#","accept-charset":"UTF-8",id:"store",enctype:"multipart/form-data"}},[n("input",{attrs:{name:"_token",type:"hidden",value:"xxx"}}),t._v(" "),""!==t.error_message?n("div",{staticClass:"row"},[n("div",{staticClass:"col-lg-12"},[n("div",{staticClass:"alert alert-danger alert-dismissible",attrs:{role:"alert"}},[n("button",{staticClass:"close",attrs:{type:"button","data-dismiss":"alert","aria-label":t.$t("firefly.close")}},[n("span",{attrs:{"aria-hidden":"true"}},[t._v("×")])]),t._v(" "),n("strong",[t._v(t._s(t.$t("firefly.flash_error")))]),t._v(" "+t._s(t.error_message)+"\n ")])])]):t._e(),t._v(" "),""!==t.success_message?n("div",{staticClass:"row"},[n("div",{staticClass:"col-lg-12"},[n("div",{staticClass:"alert alert-success alert-dismissible",attrs:{role:"alert"}},[n("button",{staticClass:"close",attrs:{type:"button","data-dismiss":"alert","aria-label":t.$t("firefly.close")}},[n("span",{attrs:{"aria-hidden":"true"}},[t._v("×")])]),t._v(" "),n("strong",[t._v(t._s(t.$t("firefly.flash_success")))]),t._v(" "),n("span",{domProps:{innerHTML:t._s(t.success_message)}})])])]):t._e(),t._v(" "),n("div",t._l(t.transactions,(function(e,a){return n("div",{staticClass:"row"},[n("div",{staticClass:"col-lg-12"},[n("div",{staticClass:"box"},[n("div",{staticClass:"box-header with-border"},[n("h3",{staticClass:"box-title splitTitle"},[t.transactions.length>1?n("span",[t._v(t._s(t.$t("firefly.split"))+" "+t._s(a+1)+" / "+t._s(t.transactions.length))]):t._e(),t._v(" "),1===t.transactions.length?n("span",[t._v(t._s(t.$t("firefly.transaction_journal_information")))]):t._e()]),t._v(" "),t.transactions.length>1?n("div",{staticClass:"box-tools pull-right",attrs:{x:""}},[n("button",{staticClass:"btn btn-xs btn-danger",attrs:{type:"button"},on:{click:function(e){return t.deleteTransaction(a,e)}}},[n("i",{staticClass:"fa fa-trash"})])]):t._e()]),t._v(" "),n("div",{staticClass:"box-body"},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-lg-4"},["reconciliation"!==t.transactionType.toLowerCase()?n("transaction-description",{attrs:{index:a,error:e.errors.description},model:{value:e.description,callback:function(n){t.$set(e,"description",n)},expression:"transaction.description"}}):t._e(),t._v(" "),"reconciliation"!==t.transactionType.toLowerCase()?n("account-select",{attrs:{inputName:"source[]",title:t.$t("firefly.source_account"),accountName:e.source_account.name,accountTypeFilters:e.source_account.allowed_types,transactionType:t.transactionType,index:a,error:e.errors.source_account},on:{"clear:value":function(e){return t.clearSource(a)},"select:account":function(e){return t.selectedSourceAccount(a,e)}}}):t._e(),t._v(" "),"reconciliation"===t.transactionType.toLowerCase()?n("div",{staticClass:"form-group"},[n("div",{staticClass:"col-sm-12"},[n("p",{staticClass:"form-control-static",attrs:{id:"ffInput_source"}},[n("em",[t._v("\n "+t._s(t.$t("firefly.source_account_reconciliation"))+"\n ")])])])]):t._e(),t._v(" "),"reconciliation"!==t.transactionType.toLowerCase()?n("account-select",{attrs:{inputName:"destination[]",title:t.$t("firefly.destination_account"),accountName:e.destination_account.name,accountTypeFilters:e.destination_account.allowed_types,transactionType:t.transactionType,index:a,error:e.errors.destination_account},on:{"clear:value":function(e){return t.clearDestination(a)},"select:account":function(e){return t.selectedDestinationAccount(a,e)}}}):t._e(),t._v(" "),"reconciliation"===t.transactionType.toLowerCase()?n("div",{staticClass:"form-group"},[n("div",{staticClass:"col-sm-12"},[n("p",{staticClass:"form-control-static",attrs:{id:"ffInput_dest"}},[n("em",[t._v("\n "+t._s(t.$t("firefly.destination_account_reconciliation"))+"\n ")])])])]):t._e(),t._v(" "),n("standard-date",{attrs:{index:a,error:e.errors.date},model:{value:e.date,callback:function(n){t.$set(e,"date",n)},expression:"transaction.date"}}),t._v(" "),0===a?n("div",[n("transaction-type",{attrs:{source:e.source_account.type,destination:e.destination_account.type},on:{"set:transactionType":function(e){return t.setTransactionType(e)},"act:limitSourceType":function(e){return t.limitSourceType(e)},"act:limitDestinationType":function(e){return t.limitDestinationType(e)}}})],1):t._e()],1),t._v(" "),n("div",{staticClass:"col-lg-4"},[n("amount",{attrs:{source:e.source_account,destination:e.destination_account,error:e.errors.amount,transactionType:t.transactionType},model:{value:e.amount,callback:function(n){t.$set(e,"amount",n)},expression:"transaction.amount"}}),t._v(" "),"reconciliation"!==t.transactionType.toLowerCase()?n("foreign-amount",{attrs:{source:e.source_account,destination:e.destination_account,transactionType:t.transactionType,error:e.errors.foreign_amount,no_currency:t.$t("firefly.none_in_select_list"),title:t.$t("form.foreign_amount")},model:{value:e.foreign_amount,callback:function(n){t.$set(e,"foreign_amount",n)},expression:"transaction.foreign_amount"}}):t._e()],1),t._v(" "),n("div",{staticClass:"col-lg-4"},[n("budget",{attrs:{transactionType:t.transactionType,error:e.errors.budget_id,no_budget:t.$t("firefly.none_in_select_list")},model:{value:e.budget,callback:function(n){t.$set(e,"budget",n)},expression:"transaction.budget"}}),t._v(" "),n("category",{attrs:{transactionType:t.transactionType,error:e.errors.category},model:{value:e.category,callback:function(n){t.$set(e,"category",n)},expression:"transaction.category"}}),t._v(" "),n("tags",{attrs:{transactionType:t.transactionType,tags:e.tags,error:e.errors.tags},model:{value:e.tags,callback:function(n){t.$set(e,"tags",n)},expression:"transaction.tags"}}),t._v(" "),n("custom-transaction-fields",{attrs:{error:e.errors.custom_errors},model:{value:e.custom_fields,callback:function(n){t.$set(e,"custom_fields",n)},expression:"transaction.custom_fields"}})],1)])]),t._v(" "),t.transactions.length-1===a&&"reconciliation"!==t.transactionType.toLowerCase()?n("div",{staticClass:"box-footer"},[n("button",{staticClass:"btn btn-default",attrs:{type:"button"},on:{click:t.addTransaction}},[t._v(t._s(t.$t("firefly.add_another_split")))])]):t._e()])])])})),0),t._v(" "),t.transactions.length>1?n("div",{staticClass:"row"},[n("div",{staticClass:"col-lg-6 col-md-6 col-sm-12 col-xs-12"},[n("div",{staticClass:"box"},[n("div",{staticClass:"box-header with-border"},[n("h3",{staticClass:"box-title"},[t._v("\n "+t._s(t.$t("firefly.split_transaction_title"))+"\n ")])]),t._v(" "),n("div",{staticClass:"box-body"},[n("group-description",{attrs:{error:t.group_title_errors},model:{value:t.group_title,callback:function(e){t.group_title=e},expression:"group_title"}})],1)])])]):t._e(),t._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-lg-6 col-md-6 col-sm-12 col-xs-12"},[n("div",{staticClass:"box"},[n("div",{staticClass:"box-header with-border"},[n("h3",{staticClass:"box-title"},[t._v("\n "+t._s(t.$t("firefly.submission"))+"\n ")])]),t._v(" "),n("div",{staticClass:"box-body"},[n("div",{staticClass:"checkbox"},[n("label",[n("input",{directives:[{name:"model",rawName:"v-model",value:t.returnAfter,expression:"returnAfter"}],attrs:{name:"return_after",type:"checkbox"},domProps:{checked:Array.isArray(t.returnAfter)?t._i(t.returnAfter,null)>-1:t.returnAfter},on:{change:function(e){var n=t.returnAfter,a=e.target,i=!!a.checked;if(Array.isArray(n)){var r=t._i(n,null);a.checked?r<0&&(t.returnAfter=n.concat([null])):r>-1&&(t.returnAfter=n.slice(0,r).concat(n.slice(r+1)))}else t.returnAfter=i}}}),t._v("\n "+t._s(t.$t("firefly.after_update_create_another"))+"\n ")])]),t._v(" "),null!==t.transactionType&&"reconciliation"!==t.transactionType.toLowerCase()?n("div",{staticClass:"checkbox"},[n("label",[n("input",{directives:[{name:"model",rawName:"v-model",value:t.storeAsNew,expression:"storeAsNew"}],attrs:{name:"store_as_new",type:"checkbox"},domProps:{checked:Array.isArray(t.storeAsNew)?t._i(t.storeAsNew,null)>-1:t.storeAsNew},on:{change:function(e){var n=t.storeAsNew,a=e.target,i=!!a.checked;if(Array.isArray(n)){var r=t._i(n,null);a.checked?r<0&&(t.storeAsNew=n.concat([null])):r>-1&&(t.storeAsNew=n.slice(0,r).concat(n.slice(r+1)))}else t.storeAsNew=i}}}),t._v("\n "+t._s(t.$t("firefly.store_as_new"))+"\n ")])]):t._e()]),t._v(" "),n("div",{staticClass:"box-footer"},[n("div",{staticClass:"btn-group"},[n("button",{staticClass:"btn btn-success",on:{click:t.submit}},[t._v(t._s(t.$t("firefly.update_transaction")))])])])])])])])}),[],!1,null,"f382f1ae",null).exports,o=n(31),c=n(32),u=n(33),l=n(34),A=n(35),d=n(36),p=n(37),f=n(38),_=n(39),h=n(40),g=n(41),m=n(42),v=n(43),y=n(44),b=n(45);n(28),Vue.component("budget",b.a),Vue.component("custom-date",o.a),Vue.component("custom-string",c.a),Vue.component("custom-attachments",a.a),Vue.component("custom-textarea",u.a),Vue.component("standard-date",l.a),Vue.component("group-description",A.a),Vue.component("transaction-description",d.a),Vue.component("custom-transaction-fields",p.a),Vue.component("piggy-bank",f.a),Vue.component("tags",_.a),Vue.component("category",h.a),Vue.component("amount",g.a),Vue.component("foreign-amount",m.a),Vue.component("transaction-type",v.a),Vue.component("account-select",y.a),Vue.component("edit-transaction",s);var C=new vuei18n({locale:document.documentElement.lang,fallbackLocale:"en",messages:{cs:n(50),de:n(51),en:n(52),es:n(53),el:n(54),fr:n(55),hu:n(56),id:n(57),it:n(58),nl:n(59),no:n(60),pl:n(61),fi:n(62),"pt-br":n(63),ro:n(64),ru:n(65),zh:n(66),"zh-tw":n(67),"zh-cn":n(68),sv:n(69),vi:n(70)}}),w={};new Vue({i18n:C,el:"#edit_transaction",render:function(t){return t(s,{props:w})}})}]); \ No newline at end of file +!function(t){var e={};function n(a){if(e[a])return e[a].exports;var i=e[a]={i:a,l:!1,exports:{}};return t[a].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=t,n.c=e,n.d=function(t,e,a){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:a})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(a,i,function(e){return t[e]}.bind(null,i));return a},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/",n(n.s=82)}([function(t,e,n){"use strict";function a(t,e,n,a,i,r,s,o){var c,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),a&&(u.functional=!0),r&&(u._scopeId="data-v-"+r),s?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},u._ssrRegister=c):i&&(c=o?function(){i.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:i),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(t,e){return c.call(e),l(t,e)}}else{var A=u.beforeCreate;u.beforeCreate=A?[].concat(A,c):[c]}return{exports:t,options:u}}n.d(e,"a",(function(){return a}))},function(t,e,n){"use strict";var a=n(5),i=n(12),r=Object.prototype.toString;function s(t){return"[object Array]"===r.call(t)}function o(t){return null!==t&&"object"==typeof t}function c(t){return"[object Function]"===r.call(t)}function u(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),s(t))for(var n=0,a=t.length;n=200&&t<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},a.forEach(["delete","get","head"],(function(t){c.headers[t]={}})),a.forEach(["post","put","patch"],(function(t){c.headers[t]=a.merge(r)})),t.exports=c}).call(this,n(10))},function(t,e,n){t.exports=n(11)},,function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),a=0;a1)for(var n=1;n=0)return;s[e]="set-cookie"===e?(s[e]?s[e]:[]).concat([n]):s[e]?s[e]+", "+n:n}})),s):s}},function(t,e,n){"use strict";var a=n(1);t.exports=a.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(t){var a=t;return e&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=i(window.location.href),function(e){var n=a.isString(e)?i(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return!0}},function(t,e,n){"use strict";var a=n(1);t.exports=a.isStandardBrowserEnv()?{write:function(t,e,n,i,r,s){var o=[];o.push(t+"="+encodeURIComponent(e)),a.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),a.isString(i)&&o.push("path="+i),a.isString(r)&&o.push("domain="+r),!0===s&&o.push("secure"),document.cookie=o.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(t,e,n){"use strict";var a=n(1);function i(){this.handlers=[]}i.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},i.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},i.prototype.forEach=function(t){a.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=i},function(t,e,n){"use strict";var a=n(1),i=n(23),r=n(8),s=n(2),o=n(24),c=n(25);function u(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return u(t),t.baseURL&&!o(t.url)&&(t.url=c(t.baseURL,t.url)),t.headers=t.headers||{},t.data=i(t.data,t.headers,t.transformRequest),t.headers=a.merge(t.headers.common||{},t.headers[t.method]||{},t.headers||{}),a.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||s.adapter)(t).then((function(e){return u(t),e.data=i(e.data,e.headers,t.transformResponse),e}),(function(e){return r(e)||(u(t),e&&e.response&&(e.response.data=i(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},function(t,e,n){"use strict";var a=n(1);t.exports=function(t,e,n){return a.forEach(n,(function(n){t=n(t,e)})),t}},function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},function(t,e,n){"use strict";var a=n(9);function i(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;t((function(t){n.reason||(n.reason=new a(t),e(n.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var t;return{token:new i((function(e){t=e})),cancel:t}},t.exports=i},function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,n){window.axios=n(3),window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest";var a=document.head.querySelector('meta[name="csrf-token"]');a?window.axios.defaults.headers.common["X-CSRF-TOKEN"]=a.content:console.error("CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token")},function(t,e,n){window,t.exports=function(t){var e={};function n(a){if(e[a])return e[a].exports;var i=e[a]={i:a,l:!1,exports:{}};return t[a].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,a){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:a})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(a,i,function(e){return t[e]}.bind(null,i));return a},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/dist/",n(n.s=6)}([function(t,e,n){var a=n(8);"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals),(0,n(4).default)("7ec05f6c",a,!1,{})},function(t,e,n){var a=n(10);"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals),(0,n(4).default)("3453d19d",a,!1,{})},function(t,e,n){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=function(t,e){var n,a=t[1]||"",i=t[3];if(!i)return a;if(e&&"function"==typeof btoa){var r=(n=i,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),s=i.sources.map((function(t){return"/*# sourceURL="+i.sourceRoot+t+" */"}));return[a].concat(s).concat([r]).join("\n")}return[a].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+n+"}":n})).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var a={},i=0;in.parts.length&&(a.parts.length=n.parts.length)}else{var s=[];for(i=0;i div[data-v-61d92e31] {\n cursor: pointer;\n padding: 3px 6px;\n width: 100%;\n}\n.ti-selected-item[data-v-61d92e31] {\n background-color: #5C6BC0;\n color: #fff;\n}\n',"",{version:3,sources:["C:/Users/johan/dev/vue-tags-input/vue-tags-input/C:/Users/johan/dev/vue-tags-input/vue-tags-input/vue-tags-input.scss"],names:[],mappings:"AAAA;EACE,uBAAuB;EACvB,mCAA8C;EAC9C,+JAAuM;EACvM,oBAAoB;EACpB,mBAAmB;CAAE;AAEvB;EACE,kCAAkC;EAClC,YAAY;EACZ,mBAAmB;EACnB,oBAAoB;EACpB,qBAAqB;EACrB,qBAAqB;EACrB,eAAe;EACf,oCAAoC;EACpC,mCAAmC;CAAE;AAEvC;EACE,iBAAiB;CAAE;AAErB;EACE,iBAAiB;CAAE;AAErB;EACE,iBAAiB;CAAE;AAErB;EACE,YAAY;EACZ,aAAa;EACb,sBAAsB;CAAE;AAE1B;EACE,uBAAuB;CAAE;AAE3B;EACE,cAAc;CAAE;AAElB;EACE,8BAA8B;CAAE;AAElC;EACE,iBAAiB;EACjB,mBAAmB;EACnB,uBAAuB;CAAE;AAE3B;EACE,aAAa;CAAE;AACf;IACE,gBAAgB;CAAE;AAEtB;EACE,uBAAuB;EACvB,cAAc;EACd,aAAa;EACb,gBAAgB;CAAE;AAEpB;EACE,cAAc;EACd,gBAAgB;EAChB,YAAY;EACZ,iBAAiB;CAAE;AAErB;EACE,0BAA0B;EAC1B,YAAY;EACZ,mBAAmB;EACnB,cAAc;EACd,iBAAiB;EACjB,YAAY;EACZ,iBAAiB;CAAE;AACnB;IACE,cAAc;CAAE;AAClB;IACE,cAAc;IACd,oBAAoB;CAAE;AACxB;IACE,mBAAmB;CAAE;AACvB;IACE,mBAAmB;CAAE;AACvB;IACE,mBAAmB;IACnB,mBAAmB;IACnB,YAAY;IACZ,iBAAiB;CAAE;AACrB;IACE,iBAAiB;IACjB,cAAc;IACd,oBAAoB;IACpB,kBAAkB;CAAE;AACpB;MACE,gBAAgB;CAAE;AACtB;IACE,kBAAkB;CAAE;AACtB;IACE,0BAA0B;CAAE;AAEhC;EACE,cAAc;EACd,eAAe;EACf,iBAAiB;EACjB,YAAY;EACZ,iBAAiB;CAAE;AACnB;IACE,eAAe;IACf,iBAAiB;IACjB,aAAa;IACb,aAAa;IACb,YAAY;CAAE;AAElB;EACE,qBAAqB;CAAE;AAEzB;EACE,uBAAuB;EACvB,iBAAiB;EACjB,mBAAmB;EACnB,YAAY;EACZ,uBAAuB;EACvB,YAAY;CAAE;AAEhB;EACE,gBAAgB;EAChB,iBAAiB;EACjB,YAAY;CAAE;AAEhB;EACE,0BAA0B;EAC1B,YAAY;CAAE",file:"vue-tags-input.scss?vue&type=style&index=0&id=61d92e31&lang=scss&scoped=true&",sourcesContent:['@font-face {\n font-family: \'icomoon\';\n src: url("./assets/fonts/icomoon.eot?7grlse");\n src: url("./assets/fonts/icomoon.eot?7grlse#iefix") format("embedded-opentype"), url("./assets/fonts/icomoon.ttf?7grlse") format("truetype"), url("./assets/fonts/icomoon.woff?7grlse") format("woff");\n font-weight: normal;\n font-style: normal; }\n\n[class^="ti-icon-"], [class*=" ti-icon-"] {\n font-family: \'icomoon\' !important;\n speak: none;\n font-style: normal;\n font-weight: normal;\n font-variant: normal;\n text-transform: none;\n line-height: 1;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale; }\n\n.ti-icon-check:before {\n content: "\\e902"; }\n\n.ti-icon-close:before {\n content: "\\e901"; }\n\n.ti-icon-undo:before {\n content: "\\e900"; }\n\nul {\n margin: 0px;\n padding: 0px;\n list-style-type: none; }\n\n*, *:before, *:after {\n box-sizing: border-box; }\n\ninput:focus {\n outline: none; }\n\ninput[disabled] {\n background-color: transparent; }\n\n.vue-tags-input {\n max-width: 450px;\n position: relative;\n background-color: #fff; }\n\ndiv.vue-tags-input.disabled {\n opacity: 0.5; }\n div.vue-tags-input.disabled * {\n cursor: default; }\n\n.ti-input {\n border: 1px solid #ccc;\n display: flex;\n padding: 4px;\n flex-wrap: wrap; }\n\n.ti-tags {\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n line-height: 1em; }\n\n.ti-tag {\n background-color: #5C6BC0;\n color: #fff;\n border-radius: 2px;\n display: flex;\n padding: 3px 5px;\n margin: 2px;\n font-size: .85em; }\n .ti-tag:focus {\n outline: none; }\n .ti-tag .ti-content {\n display: flex;\n align-items: center; }\n .ti-tag .ti-tag-center {\n position: relative; }\n .ti-tag span {\n line-height: .85em; }\n .ti-tag span.ti-hidden {\n padding-left: 14px;\n visibility: hidden;\n height: 0px;\n white-space: pre; }\n .ti-tag .ti-actions {\n margin-left: 2px;\n display: flex;\n align-items: center;\n font-size: 1.15em; }\n .ti-tag .ti-actions i {\n cursor: pointer; }\n .ti-tag:last-child {\n margin-right: 4px; }\n .ti-tag.ti-invalid, .ti-tag.ti-tag.ti-deletion-mark {\n background-color: #e54d42; }\n\n.ti-new-tag-input-wrapper {\n display: flex;\n flex: 1 0 auto;\n padding: 3px 5px;\n margin: 2px;\n font-size: .85em; }\n .ti-new-tag-input-wrapper input {\n flex: 1 0 auto;\n min-width: 100px;\n border: none;\n padding: 0px;\n margin: 0px; }\n\n.ti-new-tag-input {\n line-height: initial; }\n\n.ti-autocomplete {\n border: 1px solid #ccc;\n border-top: none;\n position: absolute;\n width: 100%;\n background-color: #fff;\n z-index: 20; }\n\n.ti-item > div {\n cursor: pointer;\n padding: 3px 6px;\n width: 100%; }\n\n.ti-selected-item {\n background-color: #5C6BC0;\n color: #fff; }\n'],sourceRoot:""}])},function(t,e,n){"use strict";t.exports=function(t){return"string"!=typeof t?t:(/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),/["'() \t\n]/.test(t)?'"'+t.replace(/"/g,'\\"').replace(/\n/g,"\\n")+'"':t)}},function(t,e){t.exports="data:font/ttf;base64,AAEAAAALAIAAAwAwT1MvMg8SBawAAAC8AAAAYGNtYXAXVtKJAAABHAAAAFRnYXNwAAAAEAAAAXAAAAAIZ2x5ZqWfozAAAAF4AAAA/GhlYWQPxZgIAAACdAAAADZoaGVhB4ADyAAAAqwAAAAkaG10eBIAAb4AAALQAAAAHGxvY2EAkgDiAAAC7AAAABBtYXhwAAkAHwAAAvwAAAAgbmFtZZlKCfsAAAMcAAABhnBvc3QAAwAAAAAEpAAAACAAAwOAAZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADpAgPA/8AAQAPAAEAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQADAAAAHAADAAEAAAAcAAQAOAAAAAoACAACAAIAAQAg6QL//f//AAAAAAAg6QD//f//AAH/4xcEAAMAAQAAAAAAAAAAAAAAAQAB//8ADwABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAABAFYBAQO+AoEAHAAAATIXHgEXFhcHJicuAScmIyIGBxchERc2Nz4BNzYCFkpDQ28pKRdkECAfVTM0OT9wLZz+gJgdIiJLKSgCVRcYUjg5QiAzKys+ERIrJZoBgJoZFRQcCAgAAQDWAIEDKgLVAAsAAAEHFwcnByc3JzcXNwMq7u487u487u487u4Cme7uPO7uPO7uPO7uAAEAkgCBA4ACvQAFAAAlARcBJzcBgAHEPP4A7jz5AcQ8/gDuPAAAAAABAAAAAAAAH8nTUV8PPPUACwQAAAAAANZ1KhsAAAAA1nUqGwAAAAADvgLVAAAACAACAAAAAAAAAAEAAAPA/8AAAAQAAAAAAAO+AAEAAAAAAAAAAAAAAAAAAAAHBAAAAAAAAAAAAAAAAgAAAAQAAFYEAADWBAAAkgAAAAAACgAUAB4AUABqAH4AAQAAAAcAHQABAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAA4ArgABAAAAAAABAAcAAAABAAAAAAACAAcAYAABAAAAAAADAAcANgABAAAAAAAEAAcAdQABAAAAAAAFAAsAFQABAAAAAAAGAAcASwABAAAAAAAKABoAigADAAEECQABAA4ABwADAAEECQACAA4AZwADAAEECQADAA4APQADAAEECQAEAA4AfAADAAEECQAFABYAIAADAAEECQAGAA4AUgADAAEECQAKADQApGljb21vb24AaQBjAG8AbQBvAG8AblZlcnNpb24gMS4wAFYAZQByAHMAaQBvAG4AIAAxAC4AMGljb21vb24AaQBjAG8AbQBvAG8Abmljb21vb24AaQBjAG8AbQBvAG8AblJlZ3VsYXIAUgBlAGcAdQBsAGEAcmljb21vb24AaQBjAG8AbQBvAG8AbkZvbnQgZ2VuZXJhdGVkIGJ5IEljb01vb24uAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALgAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="},function(t,e){t.exports="data:font/woff;base64,d09GRgABAAAAAAUQAAsAAAAABMQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAAABCAAAAGAAAABgDxIFrGNtYXAAAAFoAAAAVAAAAFQXVtKJZ2FzcAAAAbwAAAAIAAAACAAAABBnbHlmAAABxAAAAPwAAAD8pZ+jMGhlYWQAAALAAAAANgAAADYPxZgIaGhlYQAAAvgAAAAkAAAAJAeAA8hobXR4AAADHAAAABwAAAAcEgABvmxvY2EAAAM4AAAAEAAAABAAkgDibWF4cAAAA0gAAAAgAAAAIAAJAB9uYW1lAAADaAAAAYYAAAGGmUoJ+3Bvc3QAAATwAAAAIAAAACAAAwAAAAMDgAGQAAUAAAKZAswAAACPApkCzAAAAesAMwEJAAAAAAAAAAAAAAAAAAAAARAAAAAAAAAAAAAAAAAAAAAAQAAA6QIDwP/AAEADwABAAAAAAQAAAAAAAAAAAAAAIAAAAAAAAwAAAAMAAAAcAAEAAwAAABwAAwABAAAAHAAEADgAAAAKAAgAAgACAAEAIOkC//3//wAAAAAAIOkA//3//wAB/+MXBAADAAEAAAAAAAAAAAAAAAEAAf//AA8AAQAAAAAAAAAAAAIAADc5AQAAAAABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQBWAQEDvgKBABwAAAEyFx4BFxYXByYnLgEnJiMiBgcXIREXNjc+ATc2AhZKQ0NvKSkXZBAgH1UzNDk/cC2c/oCYHSIiSykoAlUXGFI4OUIgMysrPhESKyWaAYCaGRUUHAgIAAEA1gCBAyoC1QALAAABBxcHJwcnNyc3FzcDKu7uPO7uPO7uPO7uApnu7jzu7jzu7jzu7gABAJIAgQOAAr0ABQAAJQEXASc3AYABxDz+AO48+QHEPP4A7jwAAAAAAQAAAAAAAB/J01FfDzz1AAsEAAAAAADWdSobAAAAANZ1KhsAAAAAA74C1QAAAAgAAgAAAAAAAAABAAADwP/AAAAEAAAAAAADvgABAAAAAAAAAAAAAAAAAAAABwQAAAAAAAAAAAAAAAIAAAAEAABWBAAA1gQAAJIAAAAAAAoAFAAeAFAAagB+AAEAAAAHAB0AAQAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAOAK4AAQAAAAAAAQAHAAAAAQAAAAAAAgAHAGAAAQAAAAAAAwAHADYAAQAAAAAABAAHAHUAAQAAAAAABQALABUAAQAAAAAABgAHAEsAAQAAAAAACgAaAIoAAwABBAkAAQAOAAcAAwABBAkAAgAOAGcAAwABBAkAAwAOAD0AAwABBAkABAAOAHwAAwABBAkABQAWACAAAwABBAkABgAOAFIAAwABBAkACgA0AKRpY29tb29uAGkAYwBvAG0AbwBvAG5WZXJzaW9uIDEuMABWAGUAcgBzAGkAbwBuACAAMQAuADBpY29tb29uAGkAYwBvAG0AbwBvAG5pY29tb29uAGkAYwBvAG0AbwBvAG5SZWd1bGFyAFIAZQBnAHUAbABhAHJpY29tb29uAGkAYwBvAG0AbwBvAG5Gb250IGdlbmVyYXRlZCBieSBJY29Nb29uLgBGAG8AbgB0ACAAZwBlAG4AZQByAGEAdABlAGQAIABiAHkAIABJAGMAbwBNAG8AbwBuAC4AAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vue-tags-input",class:[{"ti-disabled":t.disabled},{"ti-focus":t.focused}]},[n("div",{staticClass:"ti-input"},[t.tagsCopy?n("ul",{staticClass:"ti-tags"},[t._l(t.tagsCopy,(function(e,a){return n("li",{key:a,staticClass:"ti-tag",class:[{"ti-editing":t.tagsEditStatus[a]},e.tiClasses,e.classes,{"ti-deletion-mark":t.isMarked(a)}],style:e.style,attrs:{tabindex:"0"},on:{click:function(n){return t.$emit("tag-clicked",{tag:e,index:a})}}},[n("div",{staticClass:"ti-content"},[t.$scopedSlots["tag-left"]?n("div",{staticClass:"ti-tag-left"},[t._t("tag-left",null,{tag:e,index:a,edit:t.tagsEditStatus[a],performSaveEdit:t.performSaveTag,performDelete:t.performDeleteTag,performCancelEdit:t.cancelEdit,performOpenEdit:t.performEditTag,deletionMark:t.isMarked(a)})],2):t._e(),t._v(" "),n("div",{ref:"tagCenter",refInFor:!0,staticClass:"ti-tag-center"},[t.$scopedSlots["tag-center"]?t._e():n("span",{class:{"ti-hidden":t.tagsEditStatus[a]},on:{click:function(e){return t.performEditTag(a)}}},[t._v(t._s(e.text))]),t._v(" "),t.$scopedSlots["tag-center"]?t._e():n("tag-input",{attrs:{scope:{edit:t.tagsEditStatus[a],maxlength:t.maxlength,tag:e,index:a,validateTag:t.createChangedTag,performCancelEdit:t.cancelEdit,performSaveEdit:t.performSaveTag}}}),t._v(" "),t._t("tag-center",null,{tag:e,index:a,maxlength:t.maxlength,edit:t.tagsEditStatus[a],performSaveEdit:t.performSaveTag,performDelete:t.performDeleteTag,performCancelEdit:t.cancelEdit,validateTag:t.createChangedTag,performOpenEdit:t.performEditTag,deletionMark:t.isMarked(a)})],2),t._v(" "),t.$scopedSlots["tag-right"]?n("div",{staticClass:"ti-tag-right"},[t._t("tag-right",null,{tag:e,index:a,edit:t.tagsEditStatus[a],performSaveEdit:t.performSaveTag,performDelete:t.performDeleteTag,performCancelEdit:t.cancelEdit,performOpenEdit:t.performEditTag,deletionMark:t.isMarked(a)})],2):t._e()]),t._v(" "),n("div",{staticClass:"ti-actions"},[t.$scopedSlots["tag-actions"]?t._e():n("i",{directives:[{name:"show",rawName:"v-show",value:t.tagsEditStatus[a],expression:"tagsEditStatus[index]"}],staticClass:"ti-icon-undo",on:{click:function(e){return t.cancelEdit(a)}}}),t._v(" "),t.$scopedSlots["tag-actions"]?t._e():n("i",{directives:[{name:"show",rawName:"v-show",value:!t.tagsEditStatus[a],expression:"!tagsEditStatus[index]"}],staticClass:"ti-icon-close",on:{click:function(e){return t.performDeleteTag(a)}}}),t._v(" "),t.$scopedSlots["tag-actions"]?t._t("tag-actions",null,{tag:e,index:a,edit:t.tagsEditStatus[a],performSaveEdit:t.performSaveTag,performDelete:t.performDeleteTag,performCancelEdit:t.cancelEdit,performOpenEdit:t.performEditTag,deletionMark:t.isMarked(a)}):t._e()],2)])})),t._v(" "),n("li",{staticClass:"ti-new-tag-input-wrapper"},[n("input",t._b({ref:"newTagInput",staticClass:"ti-new-tag-input",class:[t.createClasses(t.newTag,t.tags,t.validation,t.isDuplicate)],attrs:{placeholder:t.placeholder,maxlength:t.maxlength,disabled:t.disabled,type:"text",size:"1"},domProps:{value:t.newTag},on:{keydown:[function(e){return t.performAddTags(t.filteredAutocompleteItems[t.selectedItem]||t.newTag,e)},function(e){return e.type.indexOf("key")||8===e.keyCode?t.invokeDelete(e):null},function(e){return e.type.indexOf("key")||9===e.keyCode?t.performBlur(e):null},function(e){return e.type.indexOf("key")||38===e.keyCode?t.selectItem(e,"before"):null},function(e){return e.type.indexOf("key")||40===e.keyCode?t.selectItem(e,"after"):null}],paste:t.addTagsFromPaste,input:t.updateNewTag,blur:function(e){return t.$emit("blur",e)},focus:function(e){t.focused=!0,t.$emit("focus",e)},click:function(e){!t.addOnlyFromAutocomplete&&(t.selectedItem=null)}}},"input",t.$attrs,!1))])],2):t._e()]),t._v(" "),t._t("between-elements"),t._v(" "),t.autocompleteOpen?n("div",{staticClass:"ti-autocomplete",on:{mouseout:function(e){t.selectedItem=null}}},[t._t("autocomplete-header"),t._v(" "),n("ul",t._l(t.filteredAutocompleteItems,(function(e,a){return n("li",{key:a,staticClass:"ti-item",class:[e.tiClasses,e.classes,{"ti-selected-item":t.isSelected(a)}],style:e.style,on:{mouseover:function(e){!t.disabled&&(t.selectedItem=a)}}},[t.$scopedSlots["autocomplete-item"]?t._t("autocomplete-item",null,{item:e,index:a,performAdd:function(e){return t.performAddTags(e,void 0,"autocomplete")},selected:t.isSelected(a)}):n("div",{on:{click:function(n){return t.performAddTags(e,void 0,"autocomplete")}}},[t._v("\n "+t._s(e.text)+"\n ")])],2)})),0),t._v(" "),t._t("autocomplete-footer")],2):t._e()],2)};a._withStripped=!0;var i=n(5),r=n.n(i),s=function(t){return JSON.parse(JSON.stringify(t))},o=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=arguments.length>3?arguments[3]:void 0;void 0===t.text&&(t={text:t});var i=function(t,e){return e.filter((function(e){var n=t.text;return"string"==typeof e.rule?!new RegExp(e.rule).test(n):e.rule instanceof RegExp?!e.rule.test(n):"[object Function]"==={}.toString.call(e.rule)?e.rule(t):void 0})).map((function(t){return t.classes}))}(t,n),r=function(t,e){for(var n=0;n1?n-1:0),i=1;i1?e-1:0),a=1;a=this.autocompleteMinLength&&this.filteredAutocompleteItems.length>0&&this.focused},filteredAutocompleteItems:function(){var t=this,e=this.autocompleteItems.map((function(e){return c(e,t.tags,t.validation,t.isDuplicate)}));return this.autocompleteFilterDuplicates?e.filter(this.duplicateFilter):e}},methods:{createClasses:o,getSelectedIndex:function(t){var e=this.filteredAutocompleteItems,n=this.selectedItem,a=e.length-1;if(0!==e.length)return null===n?0:"before"===t&&0===n?a:"after"===t&&n===a?0:"after"===t?n+1:n-1},selectDefaultItem:function(){this.addOnlyFromAutocomplete&&this.filteredAutocompleteItems.length>0?this.selectedItem=0:this.selectedItem=null},selectItem:function(t,e){t.preventDefault(),this.selectedItem=this.getSelectedIndex(e)},isSelected:function(t){return this.selectedItem===t},isMarked:function(t){return this.deletionMark===t},invokeDelete:function(){var t=this;if(this.deleteOnBackspace&&!(this.newTag.length>0)){var e=this.tagsCopy.length-1;null===this.deletionMark?(this.deletionMarkTime=setTimeout((function(){return t.deletionMark=null}),1e3),this.deletionMark=e):this.performDeleteTag(e)}},addTagsFromPaste:function(){var t=this;this.addFromPaste&&setTimeout((function(){return t.performAddTags(t.newTag)}),10)},performEditTag:function(t){var e=this;this.allowEditTags&&(this._events["before-editing-tag"]||this.editTag(t),this.$emit("before-editing-tag",{index:t,tag:this.tagsCopy[t],editTag:function(){return e.editTag(t)}}))},editTag:function(t){this.allowEditTags&&(this.toggleEditMode(t),this.focus(t))},toggleEditMode:function(t){this.allowEditTags&&!this.disabled&&this.$set(this.tagsEditStatus,t,!this.tagsEditStatus[t])},createChangedTag:function(t,e){var n=this.tagsCopy[t];n.text=e?e.target.value:this.tagsCopy[t].text,this.$set(this.tagsCopy,t,c(n,this.tagsCopy,this.validation,this.isDuplicate))},focus:function(t){var e=this;this.$nextTick((function(){var n=e.$refs.tagCenter[t].querySelector("input.ti-tag-input");n&&n.focus()}))},quote:function(t){return t.replace(/([()[{*+.$^\\|?])/g,"\\$1")},cancelEdit:function(t){this.tags[t]&&(this.tagsCopy[t]=s(c(this.tags[t],this.tags,this.validation,this.isDuplicate)),this.$set(this.tagsEditStatus,t,!1))},hasForbiddingAddRule:function(t){var e=this;return t.some((function(t){var n=e.validation.find((function(e){return t===e.classes}));return!!n&&n.disableAdd}))},createTagTexts:function(t){var e=this,n=new RegExp(this.separators.map((function(t){return e.quote(t)})).join("|"));return t.split(n).map((function(t){return{text:t}}))},performDeleteTag:function(t){var e=this;this._events["before-deleting-tag"]||this.deleteTag(t),this.$emit("before-deleting-tag",{index:t,tag:this.tagsCopy[t],deleteTag:function(){return e.deleteTag(t)}})},deleteTag:function(t){this.disabled||(this.deletionMark=null,clearTimeout(this.deletionMarkTime),this.tagsCopy.splice(t,1),this._events["update:tags"]&&this.$emit("update:tags",this.tagsCopy),this.$emit("tags-changed",this.tagsCopy))},noTriggerKey:function(t,e){var n=-1!==this[e].indexOf(t.keyCode)||-1!==this[e].indexOf(t.key);return n&&t.preventDefault(),!n},performAddTags:function(t,e,n){var a=this;if(!(this.disabled||e&&this.noTriggerKey(e,"addOnKey"))){var i=[];"object"===m(t)&&(i=[t]),"string"==typeof t&&(i=this.createTagTexts(t)),(i=i.filter((function(t){return t.text.trim().length>0}))).forEach((function(t){t=c(t,a.tags,a.validation,a.isDuplicate),a._events["before-adding-tag"]||a.addTag(t,n),a.$emit("before-adding-tag",{tag:t,addTag:function(){return a.addTag(t,n)}})}))}},duplicateFilter:function(t){return this.isDuplicate?!this.isDuplicate(this.tagsCopy,t):!this.tagsCopy.find((function(e){return e.text===t.text}))},addTag:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"new-tag-input",a=this.filteredAutocompleteItems.map((function(t){return t.text}));this.addOnlyFromAutocomplete&&-1===a.indexOf(t.text)||this.$nextTick((function(){return e.maxTags&&e.maxTags<=e.tagsCopy.length?e.$emit("max-tags-reached",t):e.avoidAddingDuplicates&&!e.duplicateFilter(t)?e.$emit("adding-duplicate",t):void(e.hasForbiddingAddRule(t.tiClasses)||(e.$emit("input",""),e.tagsCopy.push(t),e._events["update:tags"]&&e.$emit("update:tags",e.tagsCopy),"autocomplete"===n&&e.$refs.newTagInput.focus(),e.$emit("tags-changed",e.tagsCopy)))}))},performSaveTag:function(t,e){var n=this,a=this.tagsCopy[t];this.disabled||e&&this.noTriggerKey(e,"addOnKey")||0!==a.text.trim().length&&(this._events["before-saving-tag"]||this.saveTag(t,a),this.$emit("before-saving-tag",{index:t,tag:a,saveTag:function(){return n.saveTag(t,a)}}))},saveTag:function(t,e){if(this.avoidAddingDuplicates){var n=s(this.tagsCopy),a=n.splice(t,1)[0];if(this.isDuplicate?this.isDuplicate(n,a):-1!==n.map((function(t){return t.text})).indexOf(a.text))return this.$emit("saving-duplicate",e)}this.hasForbiddingAddRule(e.tiClasses)||(this.$set(this.tagsCopy,t,e),this.toggleEditMode(t),this._events["update:tags"]&&this.$emit("update:tags",this.tagsCopy),this.$emit("tags-changed",this.tagsCopy))},tagsEqual:function(){var t=this;return!this.tagsCopy.some((function(e,n){return!r()(e,t.tags[n])}))},updateNewTag:function(t){var e=t.target.value;this.newTag=e,this.$emit("input",e)},initTags:function(){this.tagsCopy=u(this.tags,this.validation,this.isDuplicate),this.tagsEditStatus=s(this.tags).map((function(){return!1})),this._events["update:tags"]&&!this.tagsEqual()&&this.$emit("update:tags",this.tagsCopy)},blurredOnClick:function(t){this.$el.contains(t.target)||this.$el.contains(document.activeElement)||this.performBlur(t)},performBlur:function(){this.addOnBlur&&this.focused&&this.performAddTags(this.newTag),this.focused=!1}},watch:{value:function(t){this.addOnlyFromAutocomplete||(this.selectedItem=null),this.newTag=t},tags:{handler:function(){this.initTags()},deep:!0},autocompleteOpen:"selectDefaultItem"},created:function(){this.newTag=this.value,this.initTags()},mounted:function(){this.selectDefaultItem(),document.addEventListener("click",this.blurredOnClick)},destroyed:function(){document.removeEventListener("click",this.blurredOnClick)}},y=(n(9),d(v,a,[],!1,null,"61d92e31",null));y.options.__file="vue-tags-input/vue-tags-input.vue";var b=y.exports;n.d(e,"VueTagsInput",(function(){return b})),n.d(e,"createClasses",(function(){return o})),n.d(e,"createTag",(function(){return c})),n.d(e,"createTags",(function(){return u})),n.d(e,"TagInput",(function(){return f})),b.install=function(t){return t.component(b.name,b)},"undefined"!=typeof window&&window.Vue&&window.Vue.use(b),e.default=b}])},function(t,e,n){"use strict";var a={name:"CustomAttachments",props:{title:String,name:String,error:Array},methods:{hasError:function(){return this.error.length>0}}},i=n(0),r=Object(i.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("input",{staticClass:"form-control",attrs:{multiple:"multiple",autocomplete:"off",placeholder:t.title,title:t.title,name:t.name,type:"file"}}),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"73840c18",null);e.a=r.exports},function(t,e,n){"use strict";var a={name:"CustomDate",props:{value:String,title:String,name:String,error:Array},methods:{handleInput:function(t){this.$emit("input",this.$refs.date.value)},hasError:function(){return this.error.length>0},clearDate:function(){this.name="",this.$refs.date.value="",this.$emit("input",this.$refs.date.value)}}},i=n(0),r=Object(i.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("input",{ref:"date",staticClass:"form-control",attrs:{type:"date",name:t.name,title:t.title,autocomplete:"off",placeholder:t.title},domProps:{value:t.value?t.value.substr(0,10):""},on:{input:t.handleInput}}),t._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:t.clearDate}},[n("i",{staticClass:"fa fa-trash-o"})])])]),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"7a261844",null);e.a=r.exports},function(t,e,n){"use strict";var a={name:"CustomString",props:{title:String,name:String,value:String,error:Array},methods:{handleInput:function(t){this.$emit("input",this.$refs.str.value)},clearField:function(){this.name="",this.$refs.str.value="",this.$emit("input",this.$refs.str.value)},hasError:function(){return this.error.length>0}}},i=n(0),r=Object(i.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("input",{ref:"str",staticClass:"form-control",attrs:{type:"text",name:t.name,title:t.title,autocomplete:"off",placeholder:t.title},domProps:{value:t.value},on:{input:t.handleInput}}),t._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:t.clearField}},[n("i",{staticClass:"fa fa-trash-o"})])])]),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"ada77346",null);e.a=r.exports},function(t,e,n){"use strict";var a={name:"CustomTextarea",props:{title:String,name:String,value:String,error:Array},data:function(){return{textValue:this.value}},methods:{handleInput:function(t){this.$emit("input",this.$refs.str.value)},hasError:function(){return this.error.length>0}}},i=n(0),r=Object(i.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.textValue,expression:"textValue"}],ref:"str",staticClass:"form-control",attrs:{name:t.name,title:t.title,autocomplete:"off",rows:"8",placeholder:t.title},domProps:{value:t.textValue},on:{input:[function(e){e.target.composing||(t.textValue=e.target.value)},t.handleInput]}}),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"40389097",null);e.a=r.exports},function(t,e,n){"use strict";var a={props:["error","value","index"],name:"StandardDate",methods:{hasError:function(){return this.error.length>0},handleInput:function(t){this.$emit("input",this.$refs.date.value)},clearDate:function(){this.name="",this.$refs.date.value="",this.$emit("input",this.$refs.date.value),this.$emit("clear:date")}}},i=n(0),r=Object(i.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.$t("firefly.date"))+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("input",{ref:"date",staticClass:"form-control",attrs:{type:"date",name:"date[]",title:t.$t("firefly.date"),autocomplete:"off",disabled:t.index>0,placeholder:t.$t("firefly.date")},domProps:{value:t.value},on:{input:t.handleInput}}),t._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:t.clearDate}},[n("i",{staticClass:"fa fa-trash-o"})])])]),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"4e877916",null);e.a=r.exports},function(t,e,n){"use strict";var a={props:["error","value","index"],name:"GroupDescription",methods:{hasError:function(){return this.error.length>0},handleInput:function(t){this.$emit("input",this.$refs.descr.value)},clearField:function(){this.name="",this.$refs.descr.value="",this.$emit("input",this.$refs.descr.value)}}},i=n(0),r=Object(i.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.$t("firefly.split_transaction_title"))+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("input",{ref:"descr",staticClass:"form-control",attrs:{type:"text",name:"group_title",title:t.$t("firefly.split_transaction_title"),autocomplete:"off",placeholder:t.$t("firefly.split_transaction_title")},domProps:{value:t.value},on:{input:t.handleInput}}),t._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:t.clearField}},[n("i",{staticClass:"fa fa-trash-o"})])])]),t._v(" "),0===t.error.length?n("p",{staticClass:"help-block"},[t._v("\n "+t._s(t.$t("firefly.split_transaction_title_help"))+"\n ")]):t._e(),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"2666c561",null);e.a=r.exports},function(t,e,n){"use strict";var a={props:["error","value","index"],name:"TransactionDescription",mounted:function(){this.target=this.$refs.descr,this.descriptionAutoCompleteURI=document.getElementsByTagName("base")[0].href+"json/transaction-journals/all?search=",this.$refs.descr.focus()},components:{},data:function(){return{descriptionAutoCompleteURI:null,name:null,description:null,target:null}},methods:{search:function(t){return["ab","cd"]},hasError:function(){return this.error.length>0},clearDescription:function(){this.description="",this.$refs.descr.value="",this.$emit("input",this.$refs.descr.value),this.$emit("clear:description")},handleInput:function(t){this.$emit("input",this.$refs.descr.value)},handleEnter:function(t){t.keyCode},selectedItem:function(t){void 0!==this.name&&"string"!=typeof this.name&&(this.$refs.descr.value=this.name.description,this.$emit("input",this.$refs.descr.value))}}},i=n(0),r=Object(i.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.$t("firefly.description"))+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("input",{ref:"descr",staticClass:"form-control",attrs:{type:"text",name:"description[]",title:t.$t("firefly.description"),autocomplete:"off",placeholder:t.$t("firefly.description")},domProps:{value:t.value},on:{keypress:t.handleEnter,submit:function(t){t.preventDefault()},input:t.handleInput}}),t._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:t.clearDescription}},[n("i",{staticClass:"fa fa-trash-o"})])])]),t._v(" "),n("typeahead",{attrs:{"open-on-empty":!0,"open-on-focus":!0,"async-src":t.descriptionAutoCompleteURI,target:t.target,"item-key":"description"},on:{input:t.selectedItem},model:{value:t.name,callback:function(e){t.name=e},expression:"name"}}),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"dfd3d572",null);e.a=r.exports},function(t,e,n){"use strict";var a={name:"CustomTransactionFields",props:["value","error"],mounted:function(){this.getPreference()},data:function(){return{customInterestDate:null,fields:[{interest_date:!1,book_date:!1,process_date:!1,due_date:!1,payment_date:!1,invoice_date:!1,internal_reference:!1,notes:!1,attachments:!1}]}},computed:{dateComponent:function(){return"custom-date"},stringComponent:function(){return"custom-string"},attachmentComponent:function(){return"custom-attachments"},textareaComponent:function(){return"custom-textarea"}},methods:{handleInput:function(t){this.$emit("input",this.value)},getPreference:function(){var t=this,e=document.getElementsByTagName("base")[0].href+"api/v1/preferences/transaction_journal_optional_fields";axios.get(e).then((function(e){t.fields=e.data.data.attributes.data})).catch((function(){return console.warn("Oh. Something went wrong loading custom transaction fields.")}))}}},i=n(0),r=Object(i.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("p",{staticClass:"help-block",domProps:{innerHTML:t._s(t.$t("firefly.hidden_fields_preferences"))}}),t._v(" "),this.fields.interest_date?n(t.dateComponent,{tag:"component",attrs:{error:t.error.interest_date,name:"interest_date[]",title:t.$t("form.interest_date")},model:{value:t.value.interest_date,callback:function(e){t.$set(t.value,"interest_date",e)},expression:"value.interest_date"}}):t._e(),t._v(" "),this.fields.book_date?n(t.dateComponent,{tag:"component",attrs:{error:t.error.book_date,name:"book_date[]",title:t.$t("form.book_date")},model:{value:t.value.book_date,callback:function(e){t.$set(t.value,"book_date",e)},expression:"value.book_date"}}):t._e(),t._v(" "),this.fields.process_date?n(t.dateComponent,{tag:"component",attrs:{error:t.error.process_date,name:"process_date[]",title:t.$t("form.process_date")},model:{value:t.value.process_date,callback:function(e){t.$set(t.value,"process_date",e)},expression:"value.process_date"}}):t._e(),t._v(" "),this.fields.due_date?n(t.dateComponent,{tag:"component",attrs:{error:t.error.due_date,name:"due_date[]",title:t.$t("form.due_date")},model:{value:t.value.due_date,callback:function(e){t.$set(t.value,"due_date",e)},expression:"value.due_date"}}):t._e(),t._v(" "),this.fields.payment_date?n(t.dateComponent,{tag:"component",attrs:{error:t.error.payment_date,name:"payment_date[]",title:t.$t("form.payment_date")},model:{value:t.value.payment_date,callback:function(e){t.$set(t.value,"payment_date",e)},expression:"value.payment_date"}}):t._e(),t._v(" "),this.fields.invoice_date?n(t.dateComponent,{tag:"component",attrs:{error:t.error.invoice_date,name:"invoice_date[]",title:t.$t("form.invoice_date")},model:{value:t.value.invoice_date,callback:function(e){t.$set(t.value,"invoice_date",e)},expression:"value.invoice_date"}}):t._e(),t._v(" "),this.fields.internal_reference?n(t.stringComponent,{tag:"component",attrs:{error:t.error.internal_reference,name:"internal_reference[]",title:t.$t("form.internal_reference")},model:{value:t.value.internal_reference,callback:function(e){t.$set(t.value,"internal_reference",e)},expression:"value.internal_reference"}}):t._e(),t._v(" "),this.fields.attachments?n(t.attachmentComponent,{tag:"component",attrs:{error:t.error.attachments,name:"attachments[]",title:t.$t("firefly.attachments")},model:{value:t.value.attachments,callback:function(e){t.$set(t.value,"attachments",e)},expression:"value.attachments"}}):t._e(),t._v(" "),this.fields.notes?n(t.textareaComponent,{tag:"component",attrs:{error:t.error.notes,name:"notes[]",title:t.$t("firefly.notes")},model:{value:t.value.notes,callback:function(e){t.$set(t.value,"notes",e)},expression:"value.notes"}}):t._e()],1)}),[],!1,null,"c24d33ba",null);e.a=r.exports},function(t,e,n){"use strict";var a={name:"PiggyBank",props:["value","transactionType","error","no_piggy_bank"],mounted:function(){this.loadPiggies()},data:function(){return{piggies:[]}},methods:{handleInput:function(t){this.$emit("input",this.$refs.piggy.value)},hasError:function(){return this.error.length>0},loadPiggies:function(){var t=this,e=document.getElementsByTagName("base")[0].href+"json/piggy-banks";axios.get(e,{}).then((function(e){for(var n in t.piggies=[{name_with_amount:t.no_piggy_bank,id:0}],e.data)e.data.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n)&&n<=4294967294&&t.piggies.push(e.data[n])}))}}},i=n(0),r=Object(i.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return void 0!==this.transactionType&&"Transfer"===this.transactionType?n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12"},[this.piggies.length>0?n("select",{ref:"piggy",staticClass:"form-control",attrs:{name:"piggy_bank[]"},on:{input:t.handleInput}},t._l(this.piggies,(function(e){return n("option",{attrs:{label:e.name_with_amount},domProps:{value:e.id}},[t._v(t._s(e.name_with_amount))])})),0):t._e(),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)]):t._e()}),[],!1,null,"1797c09a",null);e.a=r.exports},function(t,e,n){"use strict";var a=n(3),i=n.n(a),r=n(29),s={name:"Tags",components:{VueTagsInput:n.n(r).a},props:["value","error"],data:function(){return{tag:"",autocompleteItems:[],debounce:null,tags:this.value}},watch:{tag:"initItems"},methods:{update:function(t){this.autocompleteItems=[],this.tags=t,this.$emit("input",this.tags)},clearTags:function(){this.tags=[]},hasError:function(){return this.error.length>0},initItems:function(){var t=this;if(!(this.tag.length<2)){var e=document.getElementsByTagName("base")[0].href+"json/tags?search=".concat(this.tag);clearTimeout(this.debounce),this.debounce=setTimeout((function(){i.a.get(e).then((function(e){t.autocompleteItems=e.data.map((function(t){return{text:t.tag}}))})).catch((function(){return console.warn("Oh. Something went wrong loading tags.")}))}),600)}}}},o=n(0),c=Object(o.a)(s,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.$t("firefly.tags"))+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("vue-tags-input",{attrs:{tags:t.tags,title:t.$t("firefly.tags"),classes:"form-input","autocomplete-items":t.autocompleteItems,"add-only-from-autocomplete":!1,placeholder:t.$t("firefly.tags")},on:{"tags-changed":t.update},model:{value:t.tag,callback:function(e){t.tag=e},expression:"tag"}}),t._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:t.clearTags}},[n("i",{staticClass:"fa fa-trash-o"})])])],1)]),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)}),[],!1,null,"4f8ece50",null);e.a=c.exports},function(t,e,n){"use strict";var a={name:"Category",props:{value:String,inputName:String,error:Array,accountName:{type:String,default:""}},data:function(){return{categoryAutoCompleteURI:null,name:null,target:null}},ready:function(){this.name=this.accountName},mounted:function(){this.target=this.$refs.input,this.categoryAutoCompleteURI=document.getElementsByTagName("base")[0].href+"json/categories?search="},methods:{hasError:function(){return this.error.length>0},handleInput:function(t){"string"!=typeof this.$refs.input.value?this.$emit("input",this.$refs.input.value.name):this.$emit("input",this.$refs.input.value)},clearCategory:function(){this.name="",this.$refs.input.value="",this.$emit("input",this.$refs.input.value),this.$emit("clear:category")},selectedItem:function(t){void 0!==this.name&&(this.$emit("select:category",this.name),"string"!=typeof this.name?this.$emit("input",this.name.name):this.$emit("input",this.name))},handleEnter:function(t){t.keyCode}}},i=n(0),r=Object(i.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.$t("firefly.category"))+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("input",{ref:"input",staticClass:"form-control",attrs:{type:"text",placeholder:t.$t("firefly.category"),autocomplete:"off","data-role":"input",name:"category[]",title:t.$t("firefly.category")},domProps:{value:t.value},on:{input:t.handleInput,keypress:t.handleEnter,submit:function(t){t.preventDefault()}}}),t._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{type:"button"},on:{click:t.clearCategory}},[n("i",{staticClass:"fa fa-trash-o"})])])]),t._v(" "),n("typeahead",{attrs:{"open-on-empty":!0,"open-on-focus":!0,"async-src":t.categoryAutoCompleteURI,target:t.target,"item-key":"name"},on:{input:t.selectedItem},model:{value:t.name,callback:function(e){t.name=e},expression:"name"}}),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"5fd3029c",null);e.a=r.exports},function(t,e,n){"use strict";var a={name:"Amount",props:["source","destination","transactionType","value","error"],data:function(){return{sourceAccount:this.source,destinationAccount:this.destination,type:this.transactionType}},methods:{handleInput:function(t){this.$emit("input",this.$refs.amount.value)},clearAmount:function(){this.$refs.amount.value="",this.$emit("input",this.$refs.amount.value),this.$emit("clear:amount")},hasError:function(){return this.error.length>0},changeData:function(){var t=this.transactionType;t||this.source.name||this.destination.name?(null===t&&(t=""),""!==t||""===this.source.currency_name?""!==t||""===this.destination.currency_name?"withdrawal"!==t.toLowerCase()&&"reconciliation"!==t.toLowerCase()&&"transfer"!==t.toLowerCase()?("deposit"===t.toLowerCase()&&"debt"!==this.source.type.toLowerCase()&&"loan"!==this.source.type.toLowerCase()&&"mortgage"!==this.source.type.toLowerCase()&&$(this.$refs.cur).text(this.destination.currency_name),"deposit"!==t.toLowerCase()||"debt"!==this.source.type.toLowerCase()&&"loan"!==this.source.type.toLowerCase()&&"mortgage"!==this.source.type.toLowerCase()||$(this.$refs.cur).text(this.source.currency_name)):$(this.$refs.cur).text(this.source.currency_name):$(this.$refs.cur).text(this.destination.currency_name):$(this.$refs.cur).text(this.source.currency_name)):$(this.$refs.cur).text("")}},watch:{source:function(){this.changeData()},destination:function(){this.changeData()},transactionType:function(){this.changeData()}},mounted:function(){this.changeData()}},i=n(0),r=Object(i.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-8 col-sm-offset-4 text-sm"},[t._v("\n "+t._s(t.$t("firefly.amount"))+"\n ")]),t._v(" "),n("label",{ref:"cur",staticClass:"col-sm-4 control-label"}),t._v(" "),n("div",{staticClass:"col-sm-8"},[n("div",{staticClass:"input-group"},[n("input",{ref:"amount",staticClass:"form-control",attrs:{type:"number",step:"any",name:"amount[]",title:t.$t("firefly.amount"),autocomplete:"off",placeholder:t.$t("firefly.amount")},domProps:{value:t.value},on:{input:t.handleInput}}),t._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:t.clearAmount}},[n("i",{staticClass:"fa fa-trash-o"})])])])]),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)}),[],!1,null,"440928b9",null);e.a=r.exports},function(t,e,n){"use strict";var a={name:"ForeignAmountSelect",props:["source","destination","transactionType","value","error","no_currency","title"],mounted:function(){this.liability=!1,this.loadCurrencies()},data:function(){return{currencies:[],enabledCurrencies:[],exclude:null,liability:!1}},watch:{source:function(){this.changeData()},destination:function(){this.changeData()},transactionType:function(){this.changeData()}},methods:{clearAmount:function(){this.$refs.amount.value="",this.$emit("input",this.$refs.amount.value),this.$emit("clear:amount")},hasError:function(){return this.error.length>0},handleInput:function(t){var e={amount:this.$refs.amount.value,currency_id:this.$refs.currency_select.value};this.$emit("input",e)},changeData:function(){this.enabledCurrencies=[];var t=this.destination.type?this.destination.type.toLowerCase():"invalid",e=this.source.type?this.source.type.toLowerCase():"invalid",n=this.transactionType?this.transactionType.toLowerCase():"invalid",a=["loan","debt","mortgage"],i=-1!==a.indexOf(e),r=-1!==a.indexOf(t);if("transfer"===n||r||i)for(var s in this.liability=!0,this.currencies)this.currencies.hasOwnProperty(s)&&/^0$|^[1-9]\d*$/.test(s)&&s<=4294967294&&this.currencies[s].id===this.destination.currency_id&&this.enabledCurrencies.push(this.currencies[s]);else if("withdrawal"===n&&this.source&&!1===i)for(var o in this.currencies)this.currencies.hasOwnProperty(o)&&/^0$|^[1-9]\d*$/.test(o)&&o<=4294967294&&this.source.currency_id!==this.currencies[o].id&&this.enabledCurrencies.push(this.currencies[o]);else if("deposit"===n&&this.destination)for(var c in this.currencies)this.currencies.hasOwnProperty(c)&&/^0$|^[1-9]\d*$/.test(c)&&c<=4294967294&&this.destination.currency_id!==this.currencies[c].id&&this.enabledCurrencies.push(this.currencies[c]);else for(var u in this.currencies)this.currencies.hasOwnProperty(u)&&/^0$|^[1-9]\d*$/.test(u)&&u<=4294967294&&this.enabledCurrencies.push(this.currencies[u])},loadCurrencies:function(){var t=this,e=document.getElementsByTagName("base")[0].href+"json/currencies";axios.get(e,{}).then((function(e){for(var n in t.currencies=[{name:t.no_currency,id:0,enabled:!0}],t.enabledCurrencies=[{name:t.no_currency,id:0,enabled:!0}],e.data)e.data.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n)&&n<=4294967294&&e.data[n].enabled&&(t.currencies.push(e.data[n]),t.enabledCurrencies.push(e.data[n]))}))}}},i=n(0),r=Object(i.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return this.enabledCurrencies.length>=1?n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-8 col-sm-offset-4 text-sm"},[t._v("\n "+t._s(t.$t("form.foreign_amount"))+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-4"},[n("select",{ref:"currency_select",staticClass:"form-control",attrs:{name:"foreign_currency[]"},on:{input:t.handleInput}},t._l(this.enabledCurrencies,(function(e){return e.enabled?n("option",{attrs:{label:e.name},domProps:{value:e.id,selected:t.value.currency_id===e.id}},[t._v("\n "+t._s(e.name)+"\n ")]):t._e()})),0)]),t._v(" "),n("div",{staticClass:"col-sm-8"},[n("div",{staticClass:"input-group"},[this.enabledCurrencies.length>0?n("input",{ref:"amount",staticClass:"form-control",attrs:{type:"number",step:"any",name:"foreign_amount[]",title:this.title,autocomplete:"off",placeholder:this.title},domProps:{value:t.value.amount},on:{input:t.handleInput}}):t._e(),t._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:t.clearAmount}},[n("i",{staticClass:"fa fa-trash-o"})])])]),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)]):t._e()}),[],!1,null,"37601284",null);e.a=r.exports},function(t,e,n){"use strict";var a={props:{source:String,destination:String,type:String},methods:{changeValue:function(){if(this.source&&this.destination){var t="";window.accountToTypes[this.source]?window.accountToTypes[this.source][this.destination]?t=window.accountToTypes[this.source][this.destination]:console.warn("User selected an impossible destination."):console.warn("User selected an impossible source."),""!==t&&(this.transactionType=t,this.sentence=this.$t("firefly.you_create_"+t.toLowerCase()),this.$emit("act:limitSourceType",this.source),this.$emit("act:limitDestinationType",this.destination))}else this.sentence="",this.transactionType="";this.$emit("set:transactionType",this.transactionType)}},data:function(){return{transactionType:this.type,sentence:""}},watch:{source:function(){this.changeValue()},destination:function(){this.changeValue()}},name:"TransactionType"},i=n(0),r=Object(i.a)(a,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"form-group"},[e("div",{staticClass:"col-sm-12"},[""!==this.sentence?e("label",{staticClass:"control-label text-info"},[this._v("\n "+this._s(this.sentence)+"\n ")]):this._e()])])}),[],!1,null,"0539dc1a",null);e.a=r.exports},function(t,e,n){"use strict";var a={props:{inputName:String,title:String,index:Number,transactionType:String,error:Array,accountName:{type:String,default:""},accountTypeFilters:{type:Array,default:function(){return[]}},defaultAccountTypeFilters:{type:Array,default:function(){return[]}}},data:function(){return{accountAutoCompleteURI:null,name:null,trType:this.transactionType,target:null,inputDisabled:!1,allowedTypes:this.accountTypeFilters,defaultAllowedTypes:this.defaultAccountTypeFilters}},ready:function(){this.name=this.accountName},mounted:function(){this.target=this.$refs.input;var t=this.allowedTypes.join(",");this.name=this.accountName,this.accountAutoCompleteURI=document.getElementsByTagName("base")[0].href+"json/accounts?types="+t+"&search=",this.triggerTransactionType()},watch:{transactionType:function(){this.triggerTransactionType()},accountName:function(){this.name=this.accountName},accountTypeFilters:function(){var t=this.accountTypeFilters.join(",");0===this.accountTypeFilters.length&&(t=this.defaultAccountTypeFilters.join(",")),this.accountAutoCompleteURI=document.getElementsByTagName("base")[0].href+"json/accounts?types="+t+"&search="},name:function(){}},methods:{hasError:function(){return this.error.length>0},triggerTransactionType:function(){if(this.name,null!==this.transactionType&&""!==this.transactionType&&(this.inputDisabled=!1,""!==this.transactionType.toString()&&this.index>0)){if("transfer"===this.transactionType.toString().toLowerCase())return void(this.inputDisabled=!0);if("withdrawal"===this.transactionType.toString().toLowerCase()&&"source"===this.inputName.substr(0,6).toLowerCase())return void(this.inputDisabled=!0);"deposit"===this.transactionType.toString().toLowerCase()&&"destination"===this.inputName.substr(0,11).toLowerCase()&&(this.inputDisabled=!0)}},selectedItem:function(t){void 0!==this.name&&("string"==typeof this.name&&this.$emit("clear:value"),this.$emit("select:account",this.name))},clearSource:function(t){this.name="",this.$emit("clear:value")},handleEnter:function(t){t.keyCode}}},i=n(0),r=Object(i.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("input",{ref:"input",staticClass:"form-control",attrs:{type:"text",placeholder:t.title,"data-index":t.index,autocomplete:"off","data-role":"input",disabled:t.inputDisabled,name:t.inputName,title:t.title},on:{keypress:t.handleEnter,submit:function(t){t.preventDefault()}}}),t._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:t.clearSource}},[n("i",{staticClass:"fa fa-trash-o"})])])]),t._v(" "),n("typeahead",{attrs:{"open-on-empty":!0,"open-on-focus":!0,"async-src":t.accountAutoCompleteURI,target:t.target,"item-key":"name_with_balance"},on:{input:t.selectedItem},model:{value:t.name,callback:function(e){t.name=e},expression:"name"}}),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"019a1ec0",null);e.a=r.exports},function(t,e,n){"use strict";var a={name:"Budget",props:{transactionType:String,value:{type:[String,Number],default:0},error:Array,no_budget:String},mounted:function(){this.loadBudgets()},data:function(){return{selected:this.value,budgets:[]}},methods:{signalChange:function(t){this.$emit("input",this.$refs.budget.value)},handleInput:function(t){this.$emit("input",this.$refs.budget.value)},hasError:function(){return this.error.length>0},loadBudgets:function(){var t=this,e=document.getElementsByTagName("base")[0].href+"json/budgets";axios.get(e,{}).then((function(e){for(var n in t.budgets=[{name:t.no_budget,id:0}],e.data)e.data.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n)&&n<=4294967294&&t.budgets.push(e.data[n])}))}}},i=n(0),r=Object(i.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return void 0===this.transactionType||"withdrawal"===this.transactionType||"Withdrawal"===this.transactionType||""===this.transactionType||null===this.transactionType?n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.$t("firefly.budget"))+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[this.budgets.length>0?n("select",{directives:[{name:"model",rawName:"v-model",value:t.selected,expression:"selected"}],ref:"budget",staticClass:"form-control",attrs:{name:"budget[]",title:t.$t("firefly.budget")},on:{input:t.handleInput,change:[function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.selected=e.target.multiple?n:n[0]},t.signalChange]}},t._l(this.budgets,(function(e){return n("option",{attrs:{label:e.name},domProps:{value:e.id}},[t._v(t._s(e.name)+"\n ")])})),0):t._e(),t._v(" "),1===this.budgets.length?n("p",{staticClass:"help-block",domProps:{innerHTML:t._s(t.$t("firefly.no_budget_pointer"))}}):t._e(),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)]):t._e()}),[],!1,null,"1e0beee7",null);e.a=r.exports},,,,,function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Jak to jde?","flash_error":"Chyba!","flash_success":"Úspěšně dokončeno!","close":"Zavřít","split_transaction_title":"Popis rozúčtování","errors_submission":"There was something wrong with your submission. Please check out the errors below.","split":"Rozdělit","transaction_journal_information":"Informace o transakci","no_budget_pointer":"Zdá se, že zatím nemáte žádné rozpočty. Na stránce rozpočty byste nějaké měli vytvořit. Rozpočty mohou pomoci udržet si přehled ve výdajích.","source_account":"Zdrojový účet","hidden_fields_preferences":"You can enable more transaction options in your settings.","destination_account":"Cílový účet","add_another_split":"Přidat další rozúčtování","submission":"Submission","create_another":"After storing, return here to create another one.","reset_after":"Reset form after submission","submit":"Odeslat","amount":"Částka","date":"Datum","tags":"Štítky","no_budget":"(žádný rozpočet)","category":"Kategorie","attachments":"Přílohy","notes":"Poznámky","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","store_as_new":"Store as a new transaction instead of updating.","split_title_help":"Pokud vytvoříte rozúčtování, je třeba, aby zde byl celkový popis pro všechna rozúčtování dané transakce.","none_in_select_list":"(žádné)","no_piggy_bank":"(žádná pokladnička)","description":"Popis","split_transaction_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","destination_account_reconciliation":"You can\'t edit the destination account of a reconciliation transaction.","source_account_reconciliation":"You can\'t edit the source account of a reconciliation transaction.","budget":"Rozpočet","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"Úrokové datum","book_date":"Datum rezervace","process_date":"Datum zpracování","due_date":"Datum splatnosti","foreign_amount":"Částka v cizí měně","payment_date":"Datum zaplacení","invoice_date":"Datum vystavení","internal_reference":"Interní reference"},"config":{"html_language":"cs"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Überblick","flash_error":"Fehler!","flash_success":"Geschafft!","close":"Schließen","split_transaction_title":"Beschreibung der Splittbuchung","errors_submission":"Problem bei der Übermittlung. Bitte überprüfen Sie die nachfolgenden Fehler.","split":"Teilen","transaction_journal_information":"Transaktionsinformationen","no_budget_pointer":"Sie scheinen noch keine Kostenrahmen festgelegt zu haben. Sie sollten einige davon auf der Seite „Kostenrahmen” anlegen. Kostenrahmen können Ihnen dabei helfen, den Überblick über die Ausgaben zu behalten.","source_account":"Quellkonto","hidden_fields_preferences":"Sie können weitere Buchungsoptionen in Ihren Einstellungen aktivieren.","destination_account":"Zielkonto","add_another_split":"Eine weitere Aufteilung hinzufügen","submission":"Übermittlung","create_another":"Nach dem Speichern hierher zurückkehren, um ein weiteres zu erstellen.","reset_after":"Formular nach der Übermittlung zurücksetzen","submit":"Absenden","amount":"Betrag","date":"Datum","tags":"Schlagwörter","no_budget":"(kein Budget)","category":"Kategorie","attachments":"Anhänge","notes":"Notizen","update_transaction":"Buchung aktualisieren","after_update_create_another":"Nach dem Aktualisieren hierher zurückkehren, um weiter zu bearbeiten.","store_as_new":"Als neue Buchung speichern statt zu aktualisieren.","split_title_help":"Wenn Sie eine Splittbuchung anlegen, muss es eine eindeutige Beschreibung für alle Aufteilungen der Buchhaltung geben.","none_in_select_list":"(Keine)","no_piggy_bank":"(kein Sparschwein)","description":"Beschreibung","split_transaction_title_help":"Wenn Sie eine Splittbuchung anlegen, muss es eine eindeutige Beschreibung für alle Aufteilungen der Buchung geben.","destination_account_reconciliation":"Sie können das Zielkonto einer Kontenausgleichsbuchung nicht bearbeiten.","source_account_reconciliation":"Sie können das Quellkonto einer Kontenausgleichsbuchung nicht bearbeiten.","budget":"Budget","you_create_withdrawal":"Sie haben eine Auszahlung erstellt.","you_create_transfer":"Sie haben eine Buchung erstellt.","you_create_deposit":"Sie haben eine Einzahlung erstellt."},"form":{"interest_date":"Zinstermin","book_date":"Buchungsdatum","process_date":"Bearbeitungsdatum","due_date":"Fälligkeitstermin","foreign_amount":"Ausländischer Betrag","payment_date":"Zahlungsdatum","invoice_date":"Rechnungsdatum","internal_reference":"Interner Verweis"},"config":{"html_language":"de"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"What\'s playing?","flash_error":"Error!","flash_success":"Success!","close":"Close","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors below.","split":"Split","transaction_journal_information":"Transaction information","no_budget_pointer":"You seem to have no budgets yet. You should create some on the budgets-page. Budgets can help you keep track of expenses.","source_account":"Source account","hidden_fields_preferences":"You can enable more transaction options in your settings.","destination_account":"Destination account","add_another_split":"Add another split","submission":"Submission","create_another":"After storing, return here to create another one.","reset_after":"Reset form after submission","submit":"Submit","amount":"Amount","date":"Date","tags":"Tags","no_budget":"(no budget)","category":"Category","attachments":"Attachments","notes":"Notes","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","store_as_new":"Store as a new transaction instead of updating.","split_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","none_in_select_list":"(none)","no_piggy_bank":"(no piggy bank)","description":"Description","split_transaction_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","destination_account_reconciliation":"You can\'t edit the destination account of a reconciliation transaction.","source_account_reconciliation":"You can\'t edit the source account of a reconciliation transaction.","budget":"Budget","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"Interest date","book_date":"Book date","process_date":"Processing date","due_date":"Due date","foreign_amount":"Foreign amount","payment_date":"Payment date","invoice_date":"Invoice date","internal_reference":"Internal reference"},"config":{"html_language":"en"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"¿Qué está pasando?","flash_error":"¡Error!","flash_success":"¡Operación correcta!","close":"Cerrar","split_transaction_title":"Descripción de la transacción dividida","errors_submission":"Hubo algo malo con su envío. Por favor, revise los errores de abajo.","split":"Separar","transaction_journal_information":"Información de transacción","no_budget_pointer":"Parece que aún no tiene presupuestos. Debe crear algunos en la página presupuestos. Los presupuestos pueden ayudarle a realizar un seguimiento de los gastos.","source_account":"Cuenta origen","hidden_fields_preferences":"Puede habilitar más opciones de transacción en sus ajustes .","destination_account":"Cuenta destino","add_another_split":"Añadir otra división","submission":"Envío","create_another":"Después de guardar, vuelve aquí para crear otro.","reset_after":"Restablecer formulario después del envío","submit":"Enviar","amount":"Cantidad","date":"Fecha","tags":"Etiquetas","no_budget":"(sin presupuesto)","category":"Categoria","attachments":"Archivos adjuntos","notes":"Notas","update_transaction":"Actualizar transacción","after_update_create_another":"Después de actualizar, vuelve aquí para continuar editando.","store_as_new":"Almacenar como una nueva transacción en lugar de actualizar.","split_title_help":"Si crea una transacción dividida, debe haber una descripción global para todos los fragmentos de la transacción.","none_in_select_list":"(ninguno)","no_piggy_bank":"(sin alcancía)","description":"Descripción","split_transaction_title_help":"Si crea una transacción dividida, debe existir una descripción global para todas las divisiones de la transacción.","destination_account_reconciliation":"No puede editar la cuenta de destino de una transacción de reconciliación.","source_account_reconciliation":"No puede editar la cuenta de origen de una transacción de reconciliación.","budget":"Presupuesto","you_create_withdrawal":"Está creando un retiro.","you_create_transfer":"Está creando una transferencia.","you_create_deposit":"Está creando un depósito."},"form":{"interest_date":"Fecha de interés","book_date":"Fecha de registro","process_date":"Fecha de procesamiento","due_date":"Fecha de vencimiento","foreign_amount":"Cantidad extranjera","payment_date":"Fecha de pago","invoice_date":"Fecha de la factura","internal_reference":"Referencia interna"},"config":{"html_language":"es"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Τι παίζει;","flash_error":"Σφάλμα!","flash_success":"Επιτυχία!","close":"Κλείσιμο","split_transaction_title":"Περιγραφή της συναλλαγής με διαχωρισμό","errors_submission":"Υπήρξε κάποιο λάθος με την υποβολή σας. Ελέγξτε τα παρακάτω σφάλματα.","split":"Διαχωρισμός","transaction_journal_information":"Πληροφορίες συναλλαγής","no_budget_pointer":"Φαίνεται πως δεν έχετε ορίσει προϋπολογισμούς ακόμη. Πρέπει να δημιουργήσετε κάποιον στη σελίδα προϋπολογισμών. Οι προϋπολογισμοί σας βοηθούν να επιβλέπετε τις δαπάνες σας.","source_account":"Λογαριασμός προέλευσης","hidden_fields_preferences":"Μπορείτε να ενεργοποιήσετε περισσότερες επιλογές συναλλαγών στις ρυθμίσεις.","destination_account":"Λογαριασμός προορισμού","add_another_split":"Προσθήκη ενός ακόμα διαχωρισμού","submission":"Υποβολή","create_another":"Μετά την αποθήκευση, επιστρέψτε εδώ για να δημιουργήσετε ακόμη ένα.","reset_after":"Επαναφορά φόρμας μετά την υποβολή","submit":"Υποβολή","amount":"Ποσό","date":"Ημερομηνία","tags":"Ετικέτες","no_budget":"(χωρίς προϋπολογισμό)","category":"Κατηγορία","attachments":"Συνημμένα","notes":"Σημειώσεις","update_transaction":"Ενημέρωση συναλλαγής","after_update_create_another":"Μετά την ενημέρωση, επιστρέψτε εδώ για να συνεχίσετε την επεξεργασία.","store_as_new":"Αποθήκευση ως νέα συναλλαγή αντί για ενημέρωση.","split_title_help":"Εάν δημιουργήσετε μια διαχωρισμένη συναλλαγή, πρέπει να υπάρχει μια καθολική περιγραφή για όλους τους διαχωρισμούς της συναλλαγής.","none_in_select_list":"(τίποτα)","no_piggy_bank":"(χωρίς κουμπαρά)","description":"Περιγραφή","split_transaction_title_help":"Εάν δημιουργήσετε μια διαχωρισμένη συναλλαγή, πρέπει να υπάρχει μια καθολική περιγραφή για όλους τους διαχωρισμούς της συναλλαγής.","destination_account_reconciliation":"Δεν μπορείτε να τροποποιήσετε τον λογαριασμό προορισμού σε μια συναλλαγή τακτοποίησης.","source_account_reconciliation":"Δεν μπορείτε να τροποποιήσετε τον λογαριασμό προέλευσης σε μια συναλλαγή τακτοποίησης.","budget":"Προϋπολογισμός","you_create_withdrawal":"Δημιουργείτε μια ανάληψη.","you_create_transfer":"Δημιουργείτε μια μεταφορά.","you_create_deposit":"Δημιουργείτε μια κατάθεση."},"form":{"interest_date":"Ημερομηνία τοκισμού","book_date":"Ημερομηνία εγγραφής","process_date":"Ημερομηνία επεξεργασίας","due_date":"Ημερομηνία προθεσμίας","foreign_amount":"Ποσό σε ξένο νόμισμα","payment_date":"Ημερομηνία πληρωμής","invoice_date":"Ημερομηνία τιμολόγησης","internal_reference":"Εσωτερική αναφορά"},"config":{"html_language":"el"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Que se passe-t-il ?","flash_error":"Erreur !","flash_success":"Super !","close":"Fermer","split_transaction_title":"Description de l\'opération ventilée","errors_submission":"Certaines informations ne sont pas correctes dans votre formulaire. Veuillez vérifier les erreurs ci-dessous.","split":"Ventiler","transaction_journal_information":"Informations sur les opérations","no_budget_pointer":"Vous semblez n’avoir encore aucun budget. Vous devriez en créer un sur la page des budgets. Les budgets peuvent vous aider à garder une trace des dépenses.","source_account":"Compte source","hidden_fields_preferences":"Vous pouvez activer plus d\'options d\'opérations dans vos paramètres.","destination_account":"Compte de destination","add_another_split":"Ajouter une autre fraction","submission":"Soumission","create_another":"Après enregistrement, revenir ici pour en créer un nouveau.","reset_after":"Réinitialiser le formulaire après soumission","submit":"Soumettre","amount":"Montant","date":"Date","tags":"Tags","no_budget":"(pas de budget)","category":"Catégorie","attachments":"Pièces jointes","notes":"Notes","update_transaction":"Mettre à jour l\'opération","after_update_create_another":"Après la mise à jour, revenir ici pour continuer l\'édition.","store_as_new":"Enregistrer comme une nouvelle opération au lieu de mettre à jour.","split_title_help":"Si vous créez une opération ventilée, il doit y avoir une description globale pour chaque fractions de l\'opération.","none_in_select_list":"(aucun)","no_piggy_bank":"(aucune tirelire)","description":"Description","split_transaction_title_help":"Si vous créez une opération ventilée, il doit y avoir une description globale pour chaque fraction de l\'opération.","destination_account_reconciliation":"Vous ne pouvez pas modifier le compte de destination d\'une opération de rapprochement.","source_account_reconciliation":"Vous ne pouvez pas modifier le compte source d\'une opération de rapprochement.","budget":"Budget","you_create_withdrawal":"Vous saisissez une dépense.","you_create_transfer":"Vous saisissez un transfert.","you_create_deposit":"Vous saisissez un dépôt."},"form":{"interest_date":"Date de valeur (intérêts)","book_date":"Date de réservation","process_date":"Date de traitement","due_date":"Échéance","foreign_amount":"Montant en devise étrangère","payment_date":"Date de paiement","invoice_date":"Date de facturation","internal_reference":"Référence interne"},"config":{"html_language":"fr"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Mi a helyzet?","flash_error":"Hiba!","flash_success":"Siker!","close":"Bezárás","split_transaction_title":"Felosztott tranzakció leírása","errors_submission":"Hiba történt a beküldés során. Kérem, javítsa az alábbi hibákat.","split":"Felosztás","transaction_journal_information":"Tranzakciós információk","no_budget_pointer":"Úgy tűnik, még nincsenek költségkeretek. Költségkereteket a költségkeretek oldalon lehet létrehozni. A költségkeretek segítenek nyomon követni a költségeket.","source_account":"Forrás számla","hidden_fields_preferences":"A beállításokban több tranzakciós beállítási lehetőség is megadható.","destination_account":"Célszámla","add_another_split":"Másik felosztás hozzáadása","submission":"Feliratkozás","create_another":"A tárolás után térjen vissza ide új létrehozásához.","reset_after":"Űrlap törlése a beküldés után","submit":"Beküldés","amount":"Összeg","date":"Dátum","tags":"Címkék","no_budget":"(nincs költségkeret)","category":"Kategória","attachments":"Mellékletek","notes":"Megjegyzések","update_transaction":"Tranzakció frissítése","after_update_create_another":"A frissítés után térjen vissza ide a szerkesztés folytatásához.","store_as_new":"Tárolás új tranzakcióként frissítés helyett.","split_title_help":"Felosztott tranzakció létrehozásakor meg kell adni egy globális leírást a tranzakció összes felosztása részére.","none_in_select_list":"(nincs)","no_piggy_bank":"(nincs malacpersely)","description":"Leírás","split_transaction_title_help":"Felosztott tranzakció létrehozásakor meg kell adni egy globális leírást a tranzakció összes felosztása részére.","destination_account_reconciliation":"Nem lehet szerkeszteni egy egyeztetett tranzakció célszámláját.","source_account_reconciliation":"Nem lehet szerkeszteni egy egyeztetett tranzakció forrásszámláját.","budget":"Költségkeret","you_create_withdrawal":"Egy költség létrehozása.","you_create_transfer":"Egy átutalás létrehozása.","you_create_deposit":"Egy bevétel létrehozása."},"form":{"interest_date":"Kamatfizetési időpont","book_date":"Könyvelés dátuma","process_date":"Feldolgozás dátuma","due_date":"Lejárati időpont","foreign_amount":"Külföldi összeg","payment_date":"Fizetés dátuma","invoice_date":"Számla dátuma","internal_reference":"Belső hivatkozás"},"config":{"html_language":"hu"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"What\'s playing?","flash_error":"Kesalahan!","flash_success":"Keberhasilan!","close":"Dekat","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors below.","split":"Pisah","transaction_journal_information":"Informasi transaksi","no_budget_pointer":"You seem to have no budgets yet. You should create some on the budgets-page. Budgets can help you keep track of expenses.","source_account":"Source account","hidden_fields_preferences":"You can enable more transaction options in your settings.","destination_account":"Destination account","add_another_split":"Tambahkan perpecahan lagi","submission":"Submission","create_another":"After storing, return here to create another one.","reset_after":"Reset form after submission","submit":"Menyerahkan","amount":"Jumlah","date":"Tanggal","tags":"Tag","no_budget":"(no budget)","category":"Kategori","attachments":"Lampiran","notes":"Notes","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","store_as_new":"Store as a new transaction instead of updating.","split_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","none_in_select_list":"(none)","no_piggy_bank":"(no piggy bank)","description":"Deskripsi","split_transaction_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","destination_account_reconciliation":"You can\'t edit the destination account of a reconciliation transaction.","source_account_reconciliation":"You can\'t edit the source account of a reconciliation transaction.","budget":"Anggaran","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"Tanggal bunga","book_date":"Tanggal buku","process_date":"Tanggal pemrosesan","due_date":"Batas tanggal terakhir","foreign_amount":"Foreign amount","payment_date":"Tanggal pembayaran","invoice_date":"Tanggal faktur","internal_reference":"Referensi internal"},"config":{"html_language":"id"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"La tua situazione finanziaria","flash_error":"Errore!","flash_success":"Successo!","close":"Chiudi","split_transaction_title":"Descrizione della transazione suddivisa","errors_submission":"Errore durante l\'invio. Controlla gli errori segnalati qui sotto.","split":"Dividi","transaction_journal_information":"Informazioni transazione","no_budget_pointer":"Sembra che tu non abbia ancora dei budget. Dovresti crearne alcuni nella pagina dei budget. I budget possono aiutarti a tenere traccia delle spese.","source_account":"Conto di origine","hidden_fields_preferences":"Puoi abilitare maggiori opzioni per le transazioni nelle tue impostazioni.","destination_account":"Conto destinazione","add_another_split":"Aggiungi un\'altra divisione","submission":"Invio","create_another":"Dopo il salvataggio, torna qui per crearne un\'altra.","reset_after":"Resetta il modulo dopo l\'invio","submit":"Invia","amount":"Importo","date":"Data","tags":"Etichette","no_budget":"(nessun budget)","category":"Categoria","attachments":"Allegati","notes":"Note","update_transaction":"Aggiorna transazione","after_update_create_another":"Dopo l\'aggiornamento, torna qui per continuare la modifica.","store_as_new":"Salva come nuova transazione invece di aggiornarla.","split_title_help":"Se crei una transazione suddivisa è necessario che ci sia una descrizione globale per tutte le suddivisioni della transazione.","none_in_select_list":"(nessuna)","no_piggy_bank":"(nessun salvadanaio)","description":"Descrizione","split_transaction_title_help":"Se crei una transazione suddivisa, è necessario che ci sia una descrizione globale per tutte le suddivisioni della transazione.","destination_account_reconciliation":"Non è possibile modificare il conto di destinazione di una transazione di riconciliazione.","source_account_reconciliation":"Non puoi modificare il conto di origine di una transazione di riconciliazione.","budget":"Budget","you_create_withdrawal":"Stai creando un prelievo.","you_create_transfer":"Stai creando un trasferimento.","you_create_deposit":"Stai creando un deposito."},"form":{"interest_date":"Data interesse","book_date":"Data contabile","process_date":"Data elaborazione","due_date":"Data scadenza","foreign_amount":"Importo estero","payment_date":"Data pagamento","invoice_date":"Data fatturazione","internal_reference":"Riferimento interno"},"config":{"html_language":"it"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Hoe staat het er voor?","flash_error":"Fout!","flash_success":"Gelukt!","close":"Sluiten","split_transaction_title":"Beschrijving van de gesplitste transactie","errors_submission":"Er ging iets mis. Check de errors.","split":"Splitsen","transaction_journal_information":"Transactieinformatie","no_budget_pointer":"Je hebt nog geen budgetten. Maak er een aantal op de budgetten-pagina. Met budgetten kan je je uitgaven beter bijhouden.","source_account":"Bronrekening","hidden_fields_preferences":"Je kan meer transactieopties inschakelen in je instellingen.","destination_account":"Doelrekening","add_another_split":"Voeg een split toe","submission":"Indienen","create_another":"Terug naar deze pagina voor een nieuwe transactie.","reset_after":"Reset formulier na opslaan","submit":"Invoeren","amount":"Bedrag","date":"Datum","tags":"Tags","no_budget":"(geen budget)","category":"Categorie","attachments":"Bijlagen","notes":"Notities","update_transaction":"Update transactie","after_update_create_another":"Na het opslaan terug om door te gaan met wijzigen.","store_as_new":"Opslaan als nieuwe transactie ipv de huidige bij te werken.","split_title_help":"Als je een gesplitste transactie maakt, moet er een algemene beschrijving zijn voor alle splitsingen van de transactie.","none_in_select_list":"(geen)","no_piggy_bank":"(geen spaarpotje)","description":"Omschrijving","split_transaction_title_help":"Als je een gesplitste transactie maakt, moet er een algemene beschrijving zijn voor alle splitsingen van de transactie.","destination_account_reconciliation":"Je kan de doelrekening van een afstemming niet wijzigen.","source_account_reconciliation":"Je kan de bronrekening van een afstemming niet wijzigen.","budget":"Budget","you_create_withdrawal":"Je maakt een uitgave.","you_create_transfer":"Je maakt een overschrijving.","you_create_deposit":"Je maakt inkomsten."},"form":{"interest_date":"Rentedatum","book_date":"Boekdatum","process_date":"Verwerkingsdatum","due_date":"Vervaldatum","foreign_amount":"Bedrag in vreemde valuta","payment_date":"Betalingsdatum","invoice_date":"Factuurdatum","internal_reference":"Interne verwijzing"},"config":{"html_language":"nl"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Hvordan går det?","flash_error":"Feil!","flash_success":"Suksess!","close":"Lukk","split_transaction_title":"Description of the split transaction","split":"Del opp","transaction_journal_information":"Transaksjonsinformasjon","source_account":"Source account","destination_account":"Destination account","add_another_split":"Legg til en oppdeling til","submit":"Send inn","amount":"Beløp","no_budget":"(ingen budsjett)","category":"Kategori","attachments":"Vedlegg","notes":"Notater"},"form":{"interest_date":"Rentedato","book_date":"Bokføringsdato","process_date":"Prosesseringsdato","due_date":"Forfallsdato","payment_date":"Betalingsdato","invoice_date":"Fakturadato","internal_reference":"Intern referanse"},"config":{"html_language":"no"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Co jest grane?","flash_error":"Błąd!","flash_success":"Sukces!","close":"Zamknij","split_transaction_title":"Opis podzielonej transakcji","errors_submission":"Coś poszło nie tak w czasie zapisu. Proszę sprawdź błędy poniżej.","split":"Podziel","transaction_journal_information":"Informacje o transakcji","no_budget_pointer":"Wygląda na to że nie masz jeszcze budżetów. Powinieneś utworzyć kilka na stronie budżety. Budżety mogą Ci pomóc śledzić wydatki.","source_account":"Konto źródłowe","hidden_fields_preferences":"Możesz włączyć więcej opcji transakcji w swoich ustawieniach.","destination_account":"Konto docelowe","add_another_split":"Dodaj kolejny podział","submission":"Zapisz","create_another":"Po zapisaniu wróć tutaj, aby utworzyć kolejny.","reset_after":"Wyczyść formularz po zapisaniu","submit":"Prześlij","amount":"Kwota","date":"Data","tags":"Tagi","no_budget":"(brak budżetu)","category":"Kategoria","attachments":"Załączniki","notes":"Notatki","update_transaction":"Zaktualizuj transakcję","after_update_create_another":"Po aktualizacji wróć tutaj, aby kontynuować edycję.","store_as_new":"Zapisz jako nową zamiast aktualizować.","split_title_help":"Podzielone transakcje muszą posiadać globalny opis.","none_in_select_list":"(żadne)","no_piggy_bank":"(brak skarbonki)","description":"Opis","split_transaction_title_help":"Jeśli tworzysz podzieloną transakcję, musi ona posiadać globalny opis dla wszystkich podziałów w transakcji.","destination_account_reconciliation":"Nie możesz edytować konta docelowego transakcji uzgadniania.","source_account_reconciliation":"Nie możesz edytować konta źródłowego transakcji uzgadniania.","budget":"Budżet","you_create_withdrawal":"Tworzysz wydatek.","you_create_transfer":"Tworzysz przelew.","you_create_deposit":"Tworzysz wpłatę."},"form":{"interest_date":"Data odsetek","book_date":"Data księgowania","process_date":"Data przetworzenia","due_date":"Termin realizacji","foreign_amount":"Kwota zagraniczna","payment_date":"Data płatności","invoice_date":"Data faktury","internal_reference":"Wewnętrzny numer"},"config":{"html_language":"pl"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Mitä kuuluu?","flash_error":"Virhe!","flash_success":"Valmista tuli!","close":"Sulje","split_transaction_title":"Jaetun tapahtuman kuvaus","errors_submission":"Lomakkeen tiedoissa oli puutteita - alta löydät listan puutteista.","split":"Jaa","transaction_journal_information":"Tapahtumatiedot","no_budget_pointer":"Sinulla ei näyttäisi olevan vielä yhtään budjettia. Sinun kannattaisi luoda niitä budjetit-sivulla. Budjetit voivat auttaa sinua pitämään kirjaa kuluistasi.","source_account":"Lähdetili","hidden_fields_preferences":"Voit aktivoida lisää tapahtumavalintoja asetuksissa.","destination_account":"Kohdetili","add_another_split":"Lisää tapahtumaan uusi osa","submission":"Vahvistus","create_another":"Tallennuksen jälkeen, palaa takaisin luomaan uusi tapahtuma.","reset_after":"Tyhjennä lomake lähetyksen jälkeen","submit":"Vahvista","amount":"Summa","date":"Päivämäärä","tags":"Tägit","no_budget":"(ei budjettia)","category":"Kategoria","attachments":"Liitteet","notes":"Muistiinpanot","update_transaction":"Päivitä tapahtuma","after_update_create_another":"Päivityksen jälkeen, palaa takaisin jatkamaan muokkausta.","store_as_new":"Tallenna uutena tapahtumana päivityksen sijaan.","split_title_help":"Jos luot jaetun tapahtuman, kokonaisuudelle tarvitaan nimi.","none_in_select_list":"(ei mitään)","no_piggy_bank":"(ei säästöpossu)","description":"Kuvaus","split_transaction_title_help":"Jos luot jaetun tapahtuman, kokonaisuudelle tarvitaan nimi.","destination_account_reconciliation":"Et voi muokata täsmäytystapahtuman kohdetiliä.","source_account_reconciliation":"Et voi muokata täsmäytystapahtuman lähdetiliä.","budget":"Budjetti","you_create_withdrawal":"Olet luomassa nostoa.","you_create_transfer":"Olet luomassa siirtoa.","you_create_deposit":"Olet luomassa talletusta."},"form":{"interest_date":"Korkopäivä","book_date":"Kirjauspäivä","process_date":"Käsittelypäivä","due_date":"Eräpäivä","foreign_amount":"Ulkomaan summa","payment_date":"Maksupäivä","invoice_date":"Laskun päivämäärä","internal_reference":"Sisäinen viite"},"config":{"html_language":"fi"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"O que está acontecendo?","flash_error":"Erro!","flash_success":"Sucesso!","close":"Fechar","split_transaction_title":"Descrição da transação dividida","errors_submission":"There was something wrong with your submission. Please check out the errors below.","split":"Dividir","transaction_journal_information":"Informação da transação","no_budget_pointer":"Parece que você ainda não tem orçamentos. Você deve criar alguns na página de orçamentos. Orçamentos podem ajudá-lo a manter o controle das despesas.","source_account":"Conta origem","hidden_fields_preferences":"You can enable more transaction options in your settings.","destination_account":"Conta destino","add_another_split":"Adicionar outra divisão","submission":"Submission","create_another":"After storing, return here to create another one.","reset_after":"Reset form after submission","submit":"Enviar","amount":"Valor","date":"Data","tags":"Tags","no_budget":"(sem orçamento)","category":"Categoria","attachments":"Anexos","notes":"Notas","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","store_as_new":"Store as a new transaction instead of updating.","split_title_help":"Se você criar uma transação dividida, é necessário haver uma descrição global para todas as partes da transação.","none_in_select_list":"(nenhum)","no_piggy_bank":"(nenhum cofrinho)","description":"Descrição","split_transaction_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","destination_account_reconciliation":"Você não pode editar a conta de origem de uma transação de reconciliação.","source_account_reconciliation":"Você não pode editar a conta de origem de uma transação de reconciliação.","budget":"Orçamento","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"Data de interesse","book_date":"Data reserva","process_date":"Data de processamento","due_date":"Data de vencimento","foreign_amount":"Montante em moeda estrangeira","payment_date":"Data de pagamento","invoice_date":"Data da Fatura","internal_reference":"Referência interna"},"config":{"html_language":"pt-br"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Ce se redă?","flash_error":"Eroare!","flash_success":"Succes!","close":"Închide","split_transaction_title":"Descrierea tranzacției divizate","errors_submission":"A fost ceva în neregulă cu transmiterea dvs. Vă rugăm să consultați erorile de mai jos.","split":"Împarte","transaction_journal_information":"Informații despre tranzacții","no_budget_pointer":"You seem to have no budgets yet. You should create some on the budgets-page. Budgets can help you keep track of expenses.","source_account":"Contul sursă","hidden_fields_preferences":"You can enable more transaction options in your settings.","destination_account":"Contul de destinație","add_another_split":"Adăugați o divizare","submission":"Transmitere","create_another":"După stocare, reveniți aici pentru a crea alta.","reset_after":"Resetați formularul după trimitere","submit":"Trimite","amount":"Sumă","date":"Dată","tags":"Etichete","no_budget":"(nici un buget)","category":"Categorie","attachments":"Atașamente","notes":"Notițe","update_transaction":"Actualizați tranzacția","after_update_create_another":"După actualizare, reveniți aici pentru a continua editarea.","store_as_new":"Stocați ca o tranzacție nouă în loc să actualizați.","split_title_help":"Dacă creați o tranzacție divizată, trebuie să existe o descriere globală pentru toate diviziunile tranzacției.","none_in_select_list":"(nici unul)","no_piggy_bank":"(nicio pușculiță)","description":"Descriere","split_transaction_title_help":"Dacă creați o tranzacție divizată, trebuie să existe o descriere globală pentru toate diviziunile tranzacției.","destination_account_reconciliation":"Nu puteți edita contul de destinație al unei tranzacții de reconciliere.","source_account_reconciliation":"Nu puteți edita contul sursă al unei tranzacții de reconciliere.","budget":"Buget","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"Data de interes","book_date":"Rezervă dată","process_date":"Data procesării","due_date":"Data scadentă","foreign_amount":"Sumă străină","payment_date":"Data de plată","invoice_date":"Data facturii","internal_reference":"Referință internă"},"config":{"html_language":"ro"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Что происходит с моими финансами?","flash_error":"Ошибка!","flash_success":"Успешно!","close":"Закрыть","split_transaction_title":"Описание разделённой транзакции","errors_submission":"При отправке произошла ошибка. Пожалуйста, проверьте ошибки ниже.","split":"Разделить","transaction_journal_information":"Информация о транзакции","no_budget_pointer":"Похоже, у вас пока нет бюджетов. Вы должны создать их в разделе Бюджеты. Бюджеты могут помочь вам отслеживать расходы.","source_account":"Счёт-источник","hidden_fields_preferences":"You can enable more transaction options in your settings.","destination_account":"Счёт назначения","add_another_split":"Добавить новую часть","submission":"Отправить","create_another":"После сохранения вернуться сюда и создать ещё одну аналогичную запись.","reset_after":"Сбросить форму после отправки","submit":"Подтвердить","amount":"Сумма","date":"Дата","tags":"Метки","no_budget":"(вне бюджета)","category":"Категория","attachments":"Вложения","notes":"Заметки","update_transaction":"Обновить транзакцию","after_update_create_another":"После обновления вернитесь сюда, чтобы продолжить редактирование.","store_as_new":"Сохранить как новую транзакцию вместо обновления.","split_title_help":"Если вы создаёте разделённую транзакцию, то должны указать общее описание дле всех её составляющих.","none_in_select_list":"(нет)","no_piggy_bank":"(нет копилки)","description":"Описание","split_transaction_title_help":"Если вы создаёте разделённую транзакцию, то должны указать общее описание для всех её составляющих.","destination_account_reconciliation":"You can\'t edit the destination account of a reconciliation transaction.","source_account_reconciliation":"Вы не можете редактировать исходный аккаунт сверки.","budget":"Бюджет","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"Дата выплаты","book_date":"Дата бронирования","process_date":"Дата обработки","due_date":"Срок","foreign_amount":"Сумма в иностранной валюте","payment_date":"Дата платежа","invoice_date":"Дата выставления счёта","internal_reference":"Внутренняя ссылка"},"config":{"html_language":"ru"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"吃饱没?","flash_error":"错误!","flash_success":"成功!","close":"关闭","split_transaction_title":"拆分交易的描述","split":"分割","transaction_journal_information":"交易资讯","source_account":"来源帐户","destination_account":"目标帐户","add_another_split":"增加拆分","submit":"送出","amount":"金额","no_budget":"(无预算)","category":"分类","attachments":"附加档案","notes":"注释"},"form":{"interest_date":"利率日期","book_date":"登记日期","process_date":"处理日期","due_date":"到期日","payment_date":"付款日期","invoice_date":"发票日期","internal_reference":"内部参考"},"config":{"html_language":"zh"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"What\'s playing?","flash_error":"錯誤!","flash_success":"成功!","close":"關閉","split_transaction_title":"拆分交易的描述","errors_submission":"There was something wrong with your submission. Please check out the errors below.","split":"分割","transaction_journal_information":"交易資訊","no_budget_pointer":"You seem to have no budgets yet. You should create some on the budgets-page. Budgets can help you keep track of expenses.","source_account":"Source account","hidden_fields_preferences":"You can enable more transaction options in your settings.","destination_account":"Destination account","add_another_split":"增加拆分","submission":"Submission","create_another":"After storing, return here to create another one.","reset_after":"Reset form after submission","submit":"送出","amount":"金額","date":"日期","tags":"標籤","no_budget":"(無預算)","category":"分類","attachments":"附加檔案","notes":"備註","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","store_as_new":"Store as a new transaction instead of updating.","split_title_help":"若您建立一筆拆分交易,須有一個有關交易所有拆分的整體描述。","none_in_select_list":"(空)","no_piggy_bank":"(no piggy bank)","description":"描述","split_transaction_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","destination_account_reconciliation":"You can\'t edit the destination account of a reconciliation transaction.","source_account_reconciliation":"You can\'t edit the source account of a reconciliation transaction.","budget":"預算","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"利率日期","book_date":"登記日期","process_date":"處理日期","due_date":"到期日","foreign_amount":"外幣金額","payment_date":"付款日期","invoice_date":"發票日期","internal_reference":"內部參考"},"config":{"html_language":"zh-tw"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"今天理财了吗?","flash_error":"错误!","flash_success":"成功!","close":"关闭","split_transaction_title":"拆分交易的描述","errors_submission":"您的提交有误,请查看下面输出的错误信息。","split":"分割","transaction_journal_information":"交易资讯","no_budget_pointer":"您似乎还没有任何预算。您应该在 预算页面上创建他们。预算可以帮助您跟踪费用。","source_account":"来源帐户","hidden_fields_preferences":"您可以在 设置中启用更多的交易选项。","destination_account":"目标帐户","add_another_split":"增加拆分","submission":"提交","create_another":"保存后,返回此页面创建另一笔记录。","reset_after":"提交后重置表单","submit":"提交","amount":"金额","date":"日期","tags":"标签","no_budget":"(无预算)","category":"分类","attachments":"附加档案","notes":"注释","update_transaction":"更新交易","after_update_create_another":"更新后,返回此页面继续编辑。","store_as_new":"保存为新交易而不是更新此交易。","split_title_help":"如果您创建一个拆分交易,必须有一个全局的交易描述。","none_in_select_list":"(空)","no_piggy_bank":"(无存钱罐)","description":"描述","split_transaction_title_help":"如果您创建了一个分割交易,交易的所有分割项都必须有全局描述。","destination_account_reconciliation":"您不能编辑对账交易的目标账户","source_account_reconciliation":"您不能编辑对账交易的源账户","budget":"预算","you_create_withdrawal":"您正在创建一个提款","you_create_transfer":"您正在创建一个转账","you_create_deposit":"您正在创建一个存款"},"form":{"interest_date":"利率日期","book_date":"登记日期","process_date":"处理日期","due_date":"到期日","foreign_amount":"外币金额","payment_date":"付款日期","invoice_date":"发票日期","internal_reference":"内部参考"},"config":{"html_language":"zh-cn"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Vad spelas?","flash_error":"Fel!","flash_success":"Slutförd!","close":"Stäng","split_transaction_title":"Description of the split transaction","errors_submission":"Något fel uppstod med inskickningen. Vänligen kontrollera felen nedan.","split":"Dela","transaction_journal_information":"Transaktionsinformation","no_budget_pointer":"You seem to have no budgets yet. You should create some on the budgets-page. Budgets can help you keep track of expenses.","source_account":"Från konto","hidden_fields_preferences":"You can enable more transaction options in your settings.","destination_account":"Till konto","add_another_split":"Lägga till en annan delning","submission":"Inskickning","create_another":"Efter sparat, återkom hit för att skapa ytterligare en.","reset_after":"Återställ formulär efter inskickat","submit":"Skicka","amount":"Belopp","date":"Datum","tags":"Etiketter","no_budget":"(ingen budget)","category":"Kategori","attachments":"Bilagor","notes":"Noteringar","update_transaction":"Uppdatera transaktion","after_update_create_another":"Efter uppdaterat, återkom hit för att fortsätta redigera.","store_as_new":"Spara en ny transaktion istället för att uppdatera.","split_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","none_in_select_list":"(Ingen)","no_piggy_bank":"(ingen spargris)","description":"Beskrivning","split_transaction_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","destination_account_reconciliation":"Du kan inte redigera destinationskontot för en avstämningstransaktion.","source_account_reconciliation":"Du kan inte redigera källkontot för en avstämningstransaktion.","budget":"Budget","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"Räntedatum","book_date":"Bokföringsdatum","process_date":"Behandlingsdatum","due_date":"Förfallodatum","foreign_amount":"Utländskt belopp","payment_date":"Betalningsdatum","invoice_date":"Fakturadatum","internal_reference":"Intern referens"},"config":{"html_language":"sv"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Chào mừng trở lại","flash_error":"Lỗi!","flash_success":"Thành công!","close":"Đóng","split_transaction_title":"Mô tả giao dịch tách","errors_submission":"Có gì đó sai. Vui lòng kiểm tra các lỗi dưới đây.","split":"Chia ra","transaction_journal_information":"Thông tin giao dịch","no_budget_pointer":"Bạn dường như chưa có ngân sách. Bạn nên tạo một cái trên budgets-page. Ngân sách có thể giúp bạn theo dõi chi phí.","source_account":"Nguồn tài khoản","hidden_fields_preferences":"Bạn có thể kích hoạt thêm tùy chọn giao dịch trong settings.","destination_account":"Tài khoản đích","add_another_split":"Thêm một phân chia khác","submission":"Gửi","create_another":"Sau khi lưu trữ, quay trở lại đây để tạo một cái khác.","reset_after":"Đặt lại mẫu sau khi gửi","submit":"Gửi","amount":"Số tiền","date":"Ngày","tags":"Thẻ","no_budget":"(không có ngân sách)","category":"Dan hmucj","attachments":"Tệp đính kèm","notes":"Ghi chú","update_transaction":"Cập nhật giao dịch","after_update_create_another":"Sau khi cập nhật, quay lại đây để tiếp tục chỉnh sửa.","store_as_new":"Lưu trữ như một giao dịch mới thay vì cập nhật.","split_title_help":"Nếu bạn tạo một giao dịch phân tách, phải có một mô tả toàn cầu cho tất cả các phân chia của giao dịch.","none_in_select_list":"(none)","no_piggy_bank":"(no piggy bank)","description":"Sự miêu tả","split_transaction_title_help":"Nếu bạn tạo một giao dịch phân tách, phải có một mô tả toàn cầu cho tất cả các phân chia của giao dịch.","destination_account_reconciliation":"Bạn không thể chỉnh sửa tài khoản đích của giao dịch đối chiếu.","source_account_reconciliation":"Bạn không thể chỉnh sửa tài khoản nguồn của giao dịch đối chiếu.","budget":"Ngân sách","you_create_withdrawal":"Bạn đang tạo một rút tiền.","you_create_transfer":"Bạn đang tạo một chuyển khoản.","you_create_deposit":"Bạn đang tạo một tiền gửi."},"form":{"interest_date":"Ngày lãi","book_date":"Ngày đặt sách","process_date":"Ngày xử lý","due_date":"Ngày đáo hạn","foreign_amount":"Ngoại tệ","payment_date":"Ngày thanh toán","invoice_date":"Ngày hóa đơn","internal_reference":"Tài liệu tham khảo nội bộ"},"config":{"html_language":"vi"}}')},,,,,,,,,,,,function(t,e,n){t.exports=n(93)},,,,,,,,,,,function(t,e,n){"use strict";n.r(e);var a=n(30),i={name:"EditTransaction",props:{groupId:Number},mounted:function(){this.getGroup()},ready:function(){},methods:{positiveAmount:function(t){return t<0?-1*t:t},roundNumber:function(t,e){var n=Math.pow(10,e);return Math.round(t*n)/n},selectedSourceAccount:function(t,e){if("string"==typeof e)return this.transactions[t].source_account.id=null,void(this.transactions[t].source_account.name=e);this.transactions[t].source_account={id:e.id,name:e.name,type:e.type,currency_id:e.currency_id,currency_name:e.currency_name,currency_code:e.currency_code,currency_decimal_places:e.currency_decimal_places,allowed_types:this.transactions[t].source_account.allowed_types}},selectedDestinationAccount:function(t,e){if("string"==typeof e)return this.transactions[t].destination_account.id=null,void(this.transactions[t].destination_account.name=e);this.transactions[t].destination_account={id:e.id,name:e.name,type:e.type,currency_id:e.currency_id,currency_name:e.currency_name,currency_code:e.currency_code,currency_decimal_places:e.currency_decimal_places,allowed_types:this.transactions[t].destination_account.allowed_types}},clearSource:function(t){this.transactions[t].source_account={id:0,name:"",type:"",currency_id:0,currency_name:"",currency_code:"",currency_decimal_places:2,allowed_types:this.transactions[t].source_account.allowed_types},this.transactions[t].destination_account&&this.selectedDestinationAccount(t,this.transactions[t].destination_account)},setTransactionType:function(t){null!==t&&(this.transactionType=t)},deleteTransaction:function(t,e){for(var n in e.preventDefault(),this.transactions)this.transactions.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n);for(var a in this.transactions.splice(t,1),this.transactions)this.transactions.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)},clearDestination:function(t){this.transactions[t].destination_account={id:0,name:"",type:"",currency_id:0,currency_name:"",currency_code:"",currency_decimal_places:2,allowed_types:this.transactions[t].destination_account.allowed_types},this.transactions[t].source_account&&this.selectedSourceAccount(t,this.transactions[t].source_account)},getGroup:function(){var t=this,e=window.location.href.split("/"),n="./api/v1/transactions/"+e[e.length-1]+"?_token="+document.head.querySelector('meta[name="csrf-token"]').content;axios.get(n).then((function(e){t.processIncomingGroup(e.data.data)})).catch((function(t){}))},processIncomingGroup:function(t){this.group_title=t.attributes.group_title;var e=t.attributes.transactions.reverse();for(var n in e)if(e.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n)&&n<=4294967294){var a=e[n];this.processIncomingGroupRow(a)}},processIncomingGroupRow:function(t){this.setTransactionType(t.type);var e=[];for(var n in t.tags)t.tags.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n)&&n<=4294967294&&e.push({text:t.tags[n],tiClasses:[]});this.transactions.push({transaction_journal_id:t.transaction_journal_id,description:t.description,date:t.date.substr(0,10),amount:this.roundNumber(this.positiveAmount(t.amount),t.currency_decimal_places),category:t.category_name,errors:{source_account:[],destination_account:[],description:[],amount:[],date:[],budget_id:[],foreign_amount:[],category:[],piggy_bank:[],tags:[],custom_errors:{interest_date:[],book_date:[],process_date:[],due_date:[],payment_date:[],invoice_date:[],internal_reference:[],notes:[],attachments:[]}},budget:t.budget_id,tags:e,custom_fields:{interest_date:t.interest_date,book_date:t.book_date,process_date:t.process_date,due_date:t.due_date,payment_date:t.payment_date,invoice_date:t.invoice_date,internal_reference:t.internal_reference,notes:t.notes},foreign_amount:{amount:this.roundNumber(this.positiveAmount(t.foreign_amount),t.foreign_currency_decimal_places),currency_id:t.foreign_currency_id},source_account:{id:t.source_id,name:t.source_name,type:t.source_type,currency_id:t.currency_id,currency_name:t.currency_name,currency_code:t.currency_code,currency_decimal_places:t.currency_decimal_places,allowed_types:[t.source_type]},destination_account:{id:t.destination_id,name:t.destination_name,type:t.destination_type,currency_id:t.currency_id,currency_name:t.currency_name,currency_code:t.currency_code,currency_decimal_places:t.currency_decimal_places,allowed_types:[t.destination_type]}})},convertData:function(){var t,e,n,a={transactions:[]};for(var i in this.transactions.length>1&&(a.group_title=this.group_title),t=this.transactionType?this.transactionType.toLowerCase():"invalid",e=this.transactions[0].source_account.type,n=this.transactions[0].destination_account.type,"invalid"===t&&["Asset account","Loan","Debt","Mortgage"].includes(e)&&(t="withdrawal"),"invalid"===t&&["Asset account","Loan","Debt","Mortgage"].includes(n)&&(t="deposit"),this.transactions)this.transactions.hasOwnProperty(i)&&/^0$|^[1-9]\d*$/.test(i)&&i<=4294967294&&a.transactions.push(this.convertDataRow(this.transactions[i],i,t));return a},convertDataRow:function(t,e,n){var a,i,r,s,o,c,u=[],l=null,A=null;for(var d in i=t.source_account.id,r=t.source_account.name,s=t.destination_account.id,o=t.destination_account.name,c=t.date,e>0&&(c=this.transactions[0].date),"withdrawal"===n&&""===o&&(s=window.cashAccountId),"deposit"===n&&""===r&&(i=window.cashAccountId),e>0&&("withdrawal"===n.toLowerCase()||"transfer"===n.toLowerCase())&&(i=this.transactions[0].source_account.id,r=this.transactions[0].source_account.name),e>0&&("deposit"===n.toLowerCase()||"transfer"===n.toLowerCase())&&(s=this.transactions[0].destination_account.id,o=this.transactions[0].destination_account.name),u=[],l=null,A=null,t.tags)t.tags.hasOwnProperty(d)&&/^0$|^[1-9]\d*$/.test(d)&&d<=4294967294&&u.push(t.tags[d].text);return""!==t.foreign_amount.amount&&0!==parseFloat(t.foreign_amount.amount)&&(l=t.foreign_amount.amount,A=t.foreign_amount.currency_id),A===t.currency_id&&(l=null,A=null),0===s&&(s=null),0===i&&(i=null),1===(String(t.amount).match(/\,/g)||[]).length&&(t.amount=String(t.amount).replace(",",".")),a={transaction_journal_id:t.transaction_journal_id,type:n,date:c,amount:t.amount,currency_id:t.currency_id,description:t.description,source_id:i,source_name:r,destination_id:s,destination_name:o,category_name:t.category,interest_date:t.custom_fields.interest_date,book_date:t.custom_fields.book_date,process_date:t.custom_fields.process_date,due_date:t.custom_fields.due_date,payment_date:t.custom_fields.payment_date,invoice_date:t.custom_fields.invoice_date,internal_reference:t.custom_fields.internal_reference,notes:t.custom_fields.notes,tags:u},null!==l&&(a.foreign_amount=l,a.foreign_currency_id=A),a.budget_id=parseInt(t.budget),parseInt(t.piggy_bank)>0&&(a.piggy_bank_id=parseInt(t.piggy_bank)),a},submit:function(t){var e=this,n=window.location.href.split("/"),a="./api/v1/transactions/"+n[n.length-1]+"?_token="+document.head.querySelector('meta[name="csrf-token"]').content,i="PUT";this.storeAsNew&&(a="./api/v1/transactions?_token="+document.head.querySelector('meta[name="csrf-token"]').content,i="POST");var r=this.convertData(),s=$("#submitButton");s.prop("disabled",!0),axios({method:i,url:a,data:r}).then((function(t){0===e.collectAttachmentData(t)&&e.redirectUser(t.data.data.id)})).catch((function(t){e.parseErrors(t.response.data)})),t&&t.preventDefault(),s.removeAttr("disabled")},redirectUser:function(t){this.returnAfter?(this.setDefaultErrors(),this.storeAsNew?(this.success_message='Transaction #'+t+" has been created.",this.error_message=""):(this.success_message='The transaction has been updated.',this.error_message="")):this.storeAsNew?window.location.href=window.previousUri+"?transaction_group_id="+t+"&message=created":window.location.href=window.previousUri+"?transaction_group_id="+t+"&message=updated"},collectAttachmentData:function(t){var e=this,n=t.data.data.id,a=[],i=[],r=$('input[name="attachments[]"]');for(var s in r)if(r.hasOwnProperty(s)&&/^0$|^[1-9]\d*$/.test(s)&&s<=4294967294)for(var o in r[s].files)if(r[s].files.hasOwnProperty(o)&&/^0$|^[1-9]\d*$/.test(o)&&o<=4294967294){var c=t.data.data.attributes.transactions.reverse();a.push({journal:c[s].transaction_journal_id,file:r[s].files[o]})}var u=a.length,l=function(t){var r,s,o;a.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294&&(r=a[t],s=e,(o=new FileReader).onloadend=function(e){e.target.readyState===FileReader.DONE&&(i.push({name:a[t].file.name,journal:a[t].journal,content:new Blob([e.target.result])}),i.length===u&&s.uploadFiles(i,n))},o.readAsArrayBuffer(r.file))};for(var A in a)l(A);return u},uploadFiles:function(t,e){var n=this,a=t.length,i=0,r=function(r){if(t.hasOwnProperty(r)&&/^0$|^[1-9]\d*$/.test(r)&&r<=4294967294){var s={filename:t[r].name,attachable_type:"TransactionJournal",attachable_id:t[r].journal};axios.post("./api/v1/attachments",s).then((function(s){var o="./api/v1/attachments/"+s.data.data.id+"/upload";axios.post(o,t[r].content).then((function(t){return++i===a&&n.redirectUser(e,null),!0})).catch((function(t){return console.error("Could not upload file."),console.error(t),i++,n.error_message="Could not upload attachment: "+t,i===a&&n.redirectUser(e,null),!1}))}))}};for(var s in t)r(s)},addTransaction:function(t){this.transactions.push({transaction_journal_id:0,description:"",date:"",amount:"",category:"",piggy_bank:0,errors:{source_account:[],destination_account:[],description:[],amount:[],date:[],budget_id:[],foreign_amount:[],category:[],piggy_bank:[],tags:[],custom_errors:{interest_date:[],book_date:[],process_date:[],due_date:[],payment_date:[],invoice_date:[],internal_reference:[],notes:[],attachments:[]}},budget:0,tags:[],custom_fields:{interest_date:"",book_date:"",process_date:"",due_date:"",payment_date:"",invoice_date:"",internal_reference:"",notes:"",attachments:[]},foreign_amount:{amount:"",currency_id:0},source_account:{id:0,name:"",type:"",currency_id:0,currency_name:"",currency_code:"",currency_decimal_places:2,allowed_types:[]},destination_account:{id:0,name:"",type:"",currency_id:0,currency_name:"",currency_code:"",currency_decimal_places:2,allowed_types:[]}}),t&&t.preventDefault()},parseErrors:function(t){var e,n;for(var a in this.setDefaultErrors(),this.error_message="",t.message.length>0?this.error_message=this.$t("firefly.errors_submission"):this.error_message="",t.errors)if(t.errors.hasOwnProperty(a)&&("group_title"===a&&(this.group_title_errors=t.errors[a]),"group_title"!==a)){switch(e=parseInt(a.split(".")[1]),n=a.split(".")[2]){case"amount":case"date":case"budget_id":case"description":case"tags":this.transactions[e].errors[n]=t.errors[a];break;case"source_name":case"source_id":this.transactions[e].errors.source_account=this.transactions[e].errors.source_account.concat(t.errors[a]);break;case"destination_name":case"destination_id":this.transactions[e].errors.destination_account=this.transactions[e].errors.destination_account.concat(t.errors[a]);break;case"foreign_amount":case"foreign_currency_id":this.transactions[e].errors.foreign_amount=this.transactions[e].errors.foreign_amount.concat(t.errors[a])}this.transactions[e].errors.source_account=Array.from(new Set(this.transactions[e].errors.source_account)),this.transactions[e].errors.destination_account=Array.from(new Set(this.transactions[e].errors.destination_account))}},setDefaultErrors:function(){for(var t in this.transactions)this.transactions.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294&&(this.transactions[t].errors={source_account:[],destination_account:[],description:[],amount:[],date:[],budget_id:[],foreign_amount:[],category:[],piggy_bank:[],tags:[],custom_errors:{interest_date:[],book_date:[],process_date:[],due_date:[],payment_date:[],invoice_date:[],internal_reference:[],notes:[],attachments:[]}})}},data:function(){return{group:this.groupId,error_message:"",success_message:"",transactions:[],group_title:"",returnAfter:!1,storeAsNew:!1,transactionType:null,group_title_errors:[],resetButtonDisabled:!0}}},r=n(0),s=Object(r.a)(i,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("form",{staticClass:"form-horizontal",attrs:{method:"POST",action:"#","accept-charset":"UTF-8",id:"store",enctype:"multipart/form-data"}},[n("input",{attrs:{name:"_token",type:"hidden",value:"xxx"}}),t._v(" "),""!==t.error_message?n("div",{staticClass:"row"},[n("div",{staticClass:"col-lg-12"},[n("div",{staticClass:"alert alert-danger alert-dismissible",attrs:{role:"alert"}},[n("button",{staticClass:"close",attrs:{type:"button","data-dismiss":"alert","aria-label":t.$t("firefly.close")}},[n("span",{attrs:{"aria-hidden":"true"}},[t._v("×")])]),t._v(" "),n("strong",[t._v(t._s(t.$t("firefly.flash_error")))]),t._v(" "+t._s(t.error_message)+"\n ")])])]):t._e(),t._v(" "),""!==t.success_message?n("div",{staticClass:"row"},[n("div",{staticClass:"col-lg-12"},[n("div",{staticClass:"alert alert-success alert-dismissible",attrs:{role:"alert"}},[n("button",{staticClass:"close",attrs:{type:"button","data-dismiss":"alert","aria-label":t.$t("firefly.close")}},[n("span",{attrs:{"aria-hidden":"true"}},[t._v("×")])]),t._v(" "),n("strong",[t._v(t._s(t.$t("firefly.flash_success")))]),t._v(" "),n("span",{domProps:{innerHTML:t._s(t.success_message)}})])])]):t._e(),t._v(" "),n("div",t._l(t.transactions,(function(e,a){return n("div",{staticClass:"row"},[n("div",{staticClass:"col-lg-12"},[n("div",{staticClass:"box"},[n("div",{staticClass:"box-header with-border"},[n("h3",{staticClass:"box-title splitTitle"},[t.transactions.length>1?n("span",[t._v(t._s(t.$t("firefly.split"))+" "+t._s(a+1)+" / "+t._s(t.transactions.length))]):t._e(),t._v(" "),1===t.transactions.length?n("span",[t._v(t._s(t.$t("firefly.transaction_journal_information")))]):t._e()]),t._v(" "),t.transactions.length>1?n("div",{staticClass:"box-tools pull-right",attrs:{x:""}},[n("button",{staticClass:"btn btn-xs btn-danger",attrs:{type:"button"},on:{click:function(e){return t.deleteTransaction(a,e)}}},[n("i",{staticClass:"fa fa-trash"})])]):t._e()]),t._v(" "),n("div",{staticClass:"box-body"},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-lg-4"},["reconciliation"!==t.transactionType.toLowerCase()?n("transaction-description",{attrs:{index:a,error:e.errors.description},model:{value:e.description,callback:function(n){t.$set(e,"description",n)},expression:"transaction.description"}}):t._e(),t._v(" "),"reconciliation"!==t.transactionType.toLowerCase()?n("account-select",{attrs:{inputName:"source[]",title:t.$t("firefly.source_account"),accountName:e.source_account.name,accountTypeFilters:e.source_account.allowed_types,transactionType:t.transactionType,index:a,error:e.errors.source_account},on:{"clear:value":function(e){return t.clearSource(a)},"select:account":function(e){return t.selectedSourceAccount(a,e)}}}):t._e(),t._v(" "),"reconciliation"===t.transactionType.toLowerCase()?n("div",{staticClass:"form-group"},[n("div",{staticClass:"col-sm-12"},[n("p",{staticClass:"form-control-static",attrs:{id:"ffInput_source"}},[n("em",[t._v("\n "+t._s(t.$t("firefly.source_account_reconciliation"))+"\n ")])])])]):t._e(),t._v(" "),"reconciliation"!==t.transactionType.toLowerCase()?n("account-select",{attrs:{inputName:"destination[]",title:t.$t("firefly.destination_account"),accountName:e.destination_account.name,accountTypeFilters:e.destination_account.allowed_types,transactionType:t.transactionType,index:a,error:e.errors.destination_account},on:{"clear:value":function(e){return t.clearDestination(a)},"select:account":function(e){return t.selectedDestinationAccount(a,e)}}}):t._e(),t._v(" "),"reconciliation"===t.transactionType.toLowerCase()?n("div",{staticClass:"form-group"},[n("div",{staticClass:"col-sm-12"},[n("p",{staticClass:"form-control-static",attrs:{id:"ffInput_dest"}},[n("em",[t._v("\n "+t._s(t.$t("firefly.destination_account_reconciliation"))+"\n ")])])])]):t._e(),t._v(" "),n("standard-date",{attrs:{index:a,error:e.errors.date},model:{value:e.date,callback:function(n){t.$set(e,"date",n)},expression:"transaction.date"}}),t._v(" "),0===a?n("div",[n("transaction-type",{attrs:{source:e.source_account.type,destination:e.destination_account.type},on:{"set:transactionType":function(e){return t.setTransactionType(e)},"act:limitSourceType":function(e){return t.limitSourceType(e)},"act:limitDestinationType":function(e){return t.limitDestinationType(e)}}})],1):t._e()],1),t._v(" "),n("div",{staticClass:"col-lg-4"},[n("amount",{attrs:{source:e.source_account,destination:e.destination_account,error:e.errors.amount,transactionType:t.transactionType},model:{value:e.amount,callback:function(n){t.$set(e,"amount",n)},expression:"transaction.amount"}}),t._v(" "),"reconciliation"!==t.transactionType.toLowerCase()?n("foreign-amount",{attrs:{source:e.source_account,destination:e.destination_account,transactionType:t.transactionType,error:e.errors.foreign_amount,no_currency:t.$t("firefly.none_in_select_list"),title:t.$t("form.foreign_amount")},model:{value:e.foreign_amount,callback:function(n){t.$set(e,"foreign_amount",n)},expression:"transaction.foreign_amount"}}):t._e()],1),t._v(" "),n("div",{staticClass:"col-lg-4"},[n("budget",{attrs:{transactionType:t.transactionType,error:e.errors.budget_id,no_budget:t.$t("firefly.none_in_select_list")},model:{value:e.budget,callback:function(n){t.$set(e,"budget",n)},expression:"transaction.budget"}}),t._v(" "),n("category",{attrs:{transactionType:t.transactionType,error:e.errors.category},model:{value:e.category,callback:function(n){t.$set(e,"category",n)},expression:"transaction.category"}}),t._v(" "),n("tags",{attrs:{transactionType:t.transactionType,tags:e.tags,error:e.errors.tags},model:{value:e.tags,callback:function(n){t.$set(e,"tags",n)},expression:"transaction.tags"}}),t._v(" "),n("custom-transaction-fields",{attrs:{error:e.errors.custom_errors},model:{value:e.custom_fields,callback:function(n){t.$set(e,"custom_fields",n)},expression:"transaction.custom_fields"}})],1)])]),t._v(" "),t.transactions.length-1===a&&"reconciliation"!==t.transactionType.toLowerCase()?n("div",{staticClass:"box-footer"},[n("button",{staticClass:"btn btn-default",attrs:{type:"button"},on:{click:t.addTransaction}},[t._v(t._s(t.$t("firefly.add_another_split")))])]):t._e()])])])})),0),t._v(" "),t.transactions.length>1?n("div",{staticClass:"row"},[n("div",{staticClass:"col-lg-6 col-md-6 col-sm-12 col-xs-12"},[n("div",{staticClass:"box"},[n("div",{staticClass:"box-header with-border"},[n("h3",{staticClass:"box-title"},[t._v("\n "+t._s(t.$t("firefly.split_transaction_title"))+"\n ")])]),t._v(" "),n("div",{staticClass:"box-body"},[n("group-description",{attrs:{error:t.group_title_errors},model:{value:t.group_title,callback:function(e){t.group_title=e},expression:"group_title"}})],1)])])]):t._e(),t._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-lg-6 col-md-6 col-sm-12 col-xs-12"},[n("div",{staticClass:"box"},[n("div",{staticClass:"box-header with-border"},[n("h3",{staticClass:"box-title"},[t._v("\n "+t._s(t.$t("firefly.submission"))+"\n ")])]),t._v(" "),n("div",{staticClass:"box-body"},[n("div",{staticClass:"checkbox"},[n("label",[n("input",{directives:[{name:"model",rawName:"v-model",value:t.returnAfter,expression:"returnAfter"}],attrs:{name:"return_after",type:"checkbox"},domProps:{checked:Array.isArray(t.returnAfter)?t._i(t.returnAfter,null)>-1:t.returnAfter},on:{change:function(e){var n=t.returnAfter,a=e.target,i=!!a.checked;if(Array.isArray(n)){var r=t._i(n,null);a.checked?r<0&&(t.returnAfter=n.concat([null])):r>-1&&(t.returnAfter=n.slice(0,r).concat(n.slice(r+1)))}else t.returnAfter=i}}}),t._v("\n "+t._s(t.$t("firefly.after_update_create_another"))+"\n ")])]),t._v(" "),null!==t.transactionType&&"reconciliation"!==t.transactionType.toLowerCase()?n("div",{staticClass:"checkbox"},[n("label",[n("input",{directives:[{name:"model",rawName:"v-model",value:t.storeAsNew,expression:"storeAsNew"}],attrs:{name:"store_as_new",type:"checkbox"},domProps:{checked:Array.isArray(t.storeAsNew)?t._i(t.storeAsNew,null)>-1:t.storeAsNew},on:{change:function(e){var n=t.storeAsNew,a=e.target,i=!!a.checked;if(Array.isArray(n)){var r=t._i(n,null);a.checked?r<0&&(t.storeAsNew=n.concat([null])):r>-1&&(t.storeAsNew=n.slice(0,r).concat(n.slice(r+1)))}else t.storeAsNew=i}}}),t._v("\n "+t._s(t.$t("firefly.store_as_new"))+"\n ")])]):t._e()]),t._v(" "),n("div",{staticClass:"box-footer"},[n("div",{staticClass:"btn-group"},[n("button",{staticClass:"btn btn-success",on:{click:t.submit}},[t._v(t._s(t.$t("firefly.update_transaction")))])])])])])])])}),[],!1,null,"f382f1ae",null).exports,o=n(31),c=n(32),u=n(33),l=n(34),A=n(35),d=n(36),p=n(37),f=n(38),_=n(39),h=n(40),g=n(41),m=n(42),v=n(43),y=n(44),b=n(45);n(28),Vue.component("budget",b.a),Vue.component("custom-date",o.a),Vue.component("custom-string",c.a),Vue.component("custom-attachments",a.a),Vue.component("custom-textarea",u.a),Vue.component("standard-date",l.a),Vue.component("group-description",A.a),Vue.component("transaction-description",d.a),Vue.component("custom-transaction-fields",p.a),Vue.component("piggy-bank",f.a),Vue.component("tags",_.a),Vue.component("category",h.a),Vue.component("amount",g.a),Vue.component("foreign-amount",m.a),Vue.component("transaction-type",v.a),Vue.component("account-select",y.a),Vue.component("edit-transaction",s);var C=new vuei18n({locale:document.documentElement.lang,fallbackLocale:"en",messages:{cs:n(50),de:n(51),en:n(52),es:n(53),el:n(54),fr:n(55),hu:n(56),id:n(57),it:n(58),nl:n(59),no:n(60),pl:n(61),fi:n(62),"pt-br":n(63),ro:n(64),ru:n(65),zh:n(66),"zh-tw":n(67),"zh-cn":n(68),sv:n(69),vi:n(70)}}),w={};new Vue({i18n:C,el:"#edit_transaction",render:function(t){return t(s,{props:w})}})}]); \ No newline at end of file diff --git a/public/v1/js/ff/accounts/show.js b/public/v1/js/ff/accounts/show.js index 509b42ce5a..ae2fa13ee6 100644 --- a/public/v1/js/ff/accounts/show.js +++ b/public/v1/js/ff/accounts/show.js @@ -84,10 +84,10 @@ $(function () { dragging: false }).setView([latitude, longitude], zoomLevel); - L.tileLayer('https://api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png?access_token={accessToken}', { - attribution: 'Map data © OpenStreetMap contributors, CC-BY-SA, Imagery © Mapbox', + L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png?access_token={accessToken}', { + attribution: '© OpenStreetMap contributors', maxZoom: 18, - id: 'mapbox.streets', + id: 'mapbox/streets-v11', accessToken: mapboxToken }).addTo(mymap); L.marker([latitude, longitude]).addTo(mymap); diff --git a/public/v1/js/ff/tags/show.js b/public/v1/js/ff/tags/show.js index 4f9ff7d401..4a279c5d60 100644 --- a/public/v1/js/ff/tags/show.js +++ b/public/v1/js/ff/tags/show.js @@ -40,10 +40,10 @@ $(function () { dragging: false }).setView([latitude, longitude], zoomLevel); - L.tileLayer('https://api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png?access_token={accessToken}', { - attribution: 'Map data © OpenStreetMap contributors, CC-BY-SA, Imagery © Mapbox', + L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png?access_token={accessToken}', { + attribution: '© OpenStreetMap contributors', maxZoom: 18, - id: 'mapbox.streets', + id: 'mapbox/streets-v11', accessToken: mapboxToken }).addTo(mymap); L.marker([latitude, longitude]).addTo(mymap); diff --git a/public/v1/js/profile.js b/public/v1/js/profile.js index 90730fc603..7319417d11 100644 --- a/public/v1/js/profile.js +++ b/public/v1/js/profile.js @@ -1,2 +1,2 @@ /*! For license information please see profile.js.LICENSE.txt */ -!function(t){var e={};function n(o){if(e[o])return e[o].exports;var r=e[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(o,r,function(e){return t[e]}.bind(null,r));return o},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/",n(n.s=83)}([function(t,e,n){"use strict";function o(t,e,n,o,r,s,i,a){var c,l="function"==typeof t?t.options:t;if(e&&(l.render=e,l.staticRenderFns=n,l._compiled=!0),o&&(l.functional=!0),s&&(l._scopeId="data-v-"+s),i?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(i)},l._ssrRegister=c):r&&(c=a?function(){r.call(this,this.$root.$options.shadowRoot)}:r),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(t,e){return c.call(e),u(t,e)}}else{var f=l.beforeCreate;l.beforeCreate=f?[].concat(f,c):[c]}return{exports:t,options:l}}n.d(e,"a",(function(){return o}))},function(t,e,n){"use strict";var o=n(5),r=n(12),s=Object.prototype.toString;function i(t){return"[object Array]"===s.call(t)}function a(t){return null!==t&&"object"==typeof t}function c(t){return"[object Function]"===s.call(t)}function l(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),i(t))for(var n=0,o=t.length;n=200&&t<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},o.forEach(["delete","get","head"],(function(t){c.headers[t]={}})),o.forEach(["post","put","patch"],(function(t){c.headers[t]=o.merge(s)})),t.exports=c}).call(this,n(10))},function(t,e,n){t.exports=n(11)},,function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),o=0;o1)for(var n=1;n=0)return;i[e]="set-cookie"===e?(i[e]?i[e]:[]).concat([n]):i[e]?i[e]+", "+n:n}})),i):i}},function(t,e,n){"use strict";var o=n(1);t.exports=o.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function r(t){var o=t;return e&&(n.setAttribute("href",o),o=n.href),n.setAttribute("href",o),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=r(window.location.href),function(e){var n=o.isString(e)?r(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return!0}},function(t,e,n){"use strict";var o=n(1);t.exports=o.isStandardBrowserEnv()?{write:function(t,e,n,r,s,i){var a=[];a.push(t+"="+encodeURIComponent(e)),o.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),o.isString(r)&&a.push("path="+r),o.isString(s)&&a.push("domain="+s),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(t,e,n){"use strict";var o=n(1);function r(){this.handlers=[]}r.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},r.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},r.prototype.forEach=function(t){o.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=r},function(t,e,n){"use strict";var o=n(1),r=n(23),s=n(8),i=n(2),a=n(24),c=n(25);function l(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return l(t),t.baseURL&&!a(t.url)&&(t.url=c(t.baseURL,t.url)),t.headers=t.headers||{},t.data=r(t.data,t.headers,t.transformRequest),t.headers=o.merge(t.headers.common||{},t.headers[t.method]||{},t.headers||{}),o.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||i.adapter)(t).then((function(e){return l(t),e.data=r(e.data,e.headers,t.transformResponse),e}),(function(e){return s(e)||(l(t),e&&e.response&&(e.response.data=r(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},function(t,e,n){"use strict";var o=n(1);t.exports=function(t,e,n){return o.forEach(n,(function(n){t=n(t,e)})),t}},function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},function(t,e,n){"use strict";var o=n(9);function r(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;t((function(t){n.reason||(n.reason=new o(t),e(n.reason))}))}r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var t;return{token:new r((function(e){t=e})),cancel:t}},t.exports=r},function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,n){window.axios=n(3),window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest";var o=document.head.querySelector('meta[name="csrf-token"]');o?window.axios.defaults.headers.common["X-CSRF-TOKEN"]=o.content:console.error("CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token")},,,,,,,,,,,,,,,,,,function(t,e,n){var o=n(85);"string"==typeof o&&(o=[[t.i,o,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n(72)(o,r);o.locals&&(t.exports=o.locals)},function(t,e,n){var o=n(88);"string"==typeof o&&(o=[[t.i,o,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n(72)(o,r);o.locals&&(t.exports=o.locals)},function(t,e,n){var o=n(90);"string"==typeof o&&(o=[[t.i,o,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n(72)(o,r);o.locals&&(t.exports=o.locals)},,,,,,,,,,,,,,,,,,,,,,,function(t,e){t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=function(t,e){var n=t[1]||"",o=t[3];if(!o)return n;if(e&&"function"==typeof btoa){var r=(i=o,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),s=o.sources.map((function(t){return"/*# sourceURL="+o.sourceRoot+t+" */"}));return[n].concat(s).concat([r]).join("\n")}var i;return[n].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+n+"}":n})).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var o={},r=0;r=0&&f.splice(e,1)}function b(t){var e=document.createElement("style");if(void 0===t.attrs.type&&(t.attrs.type="text/css"),void 0===t.attrs.nonce){var o=function(){0;return n.nc}();o&&(t.attrs.nonce=o)}return _(e,t.attrs),h(t,e),e}function _(t,e){Object.keys(e).forEach((function(n){t.setAttribute(n,e[n])}))}function y(t,e){var n,o,r,s;if(e.transform&&t.css){if(!(s="function"==typeof e.transform?e.transform(t.css):e.transform.default(t.css)))return function(){};t.css=s}if(e.singleton){var i=u++;n=l||(l=b(e)),o=x.bind(null,n,i,!1),r=x.bind(null,n,i,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(t){var e=document.createElement("link");return void 0===t.attrs.type&&(t.attrs.type="text/css"),t.attrs.rel="stylesheet",_(e,t.attrs),h(t,e),e}(e),o=k.bind(null,n,e),r=function(){v(n),n.href&&URL.revokeObjectURL(n.href)}):(n=b(e),o=w.bind(null,n),r=function(){v(n)});return o(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;o(t=e)}else r()}}t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(e=e||{}).attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||"boolean"==typeof e.singleton||(e.singleton=i()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var n=m(t,e);return p(n,e),function(t){for(var o=[],r=0;r0?n("table",{staticClass:"table table-borderless m-b-none"},[n("caption",[t._v("Clients")]),t._v(" "),t._m(1),t._v(" "),n("tbody",t._l(t.clients,(function(e){return n("tr",[n("td",{staticStyle:{"vertical-align":"middle"}},[t._v("\n "+t._s(e.id)+"\n ")]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[t._v("\n "+t._s(e.name)+"\n ")]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[n("code",[t._v(t._s(e.secret))])]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[n("a",{staticClass:"action-link btn btn-default btn-xs",on:{click:function(n){return t.edit(e)}}},[t._v("\n Edit\n ")])]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[n("a",{staticClass:"action-link btn btn-danger btn-xs",on:{click:function(n){return t.destroy(e)}}},[t._v("\n Delete\n ")])])])})),0)]):t._e()]),t._v(" "),n("div",{staticClass:"box-footer"},[n("a",{staticClass:"action-link btn btn-success",on:{click:t.showCreateClientForm}},[t._v("\n Create New Client\n ")])])]),t._v(" "),n("div",{staticClass:"modal fade",attrs:{id:"modal-create-client",tabindex:"-1",role:"dialog"}},[n("div",{staticClass:"modal-dialog"},[n("div",{staticClass:"modal-content"},[t._m(2),t._v(" "),n("div",{staticClass:"modal-body"},[t.createForm.errors.length>0?n("div",{staticClass:"alert alert-danger"},[t._m(3),t._v(" "),n("br"),t._v(" "),n("ul",t._l(t.createForm.errors,(function(e){return n("li",[t._v("\n "+t._s(e)+"\n ")])})),0)]):t._e(),t._v(" "),n("form",{staticClass:"form-horizontal",attrs:{role:"form"}},[n("div",{staticClass:"form-group"},[n("label",{staticClass:"col-md-3 control-label"},[t._v("Name")]),t._v(" "),n("div",{staticClass:"col-md-7"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.createForm.name,expression:"createForm.name"}],staticClass:"form-control",attrs:{id:"create-client-name",type:"text"},domProps:{value:t.createForm.name},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.store(e)},input:function(e){e.target.composing||t.$set(t.createForm,"name",e.target.value)}}}),t._v(" "),n("span",{staticClass:"help-block"},[t._v("\n Something your users will recognize and trust.\n ")])])]),t._v(" "),n("div",{staticClass:"form-group"},[n("label",{staticClass:"col-md-3 control-label"},[t._v("Redirect URL")]),t._v(" "),n("div",{staticClass:"col-md-7"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.createForm.redirect,expression:"createForm.redirect"}],staticClass:"form-control",attrs:{type:"text",name:"redirect"},domProps:{value:t.createForm.redirect},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.store(e)},input:function(e){e.target.composing||t.$set(t.createForm,"redirect",e.target.value)}}}),t._v(" "),n("span",{staticClass:"help-block"},[t._v("\n Your application's authorization callback URL.\n ")])])])])]),t._v(" "),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-default",attrs:{type:"button","data-dismiss":"modal"}},[t._v("Close")]),t._v(" "),n("button",{staticClass:"btn btn-primary",attrs:{type:"button"},on:{click:t.store}},[t._v("\n Create\n ")])])])])]),t._v(" "),n("div",{staticClass:"modal fade",attrs:{id:"modal-edit-client",tabindex:"-1",role:"dialog"}},[n("div",{staticClass:"modal-dialog"},[n("div",{staticClass:"modal-content"},[t._m(4),t._v(" "),n("div",{staticClass:"modal-body"},[t.editForm.errors.length>0?n("div",{staticClass:"alert alert-danger"},[t._m(5),t._v(" "),n("br"),t._v(" "),n("ul",t._l(t.editForm.errors,(function(e){return n("li",[t._v("\n "+t._s(e)+"\n ")])})),0)]):t._e(),t._v(" "),n("form",{staticClass:"form-horizontal",attrs:{role:"form"}},[n("div",{staticClass:"form-group"},[n("label",{staticClass:"col-md-3 control-label"},[t._v("Name")]),t._v(" "),n("div",{staticClass:"col-md-7"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.editForm.name,expression:"editForm.name"}],staticClass:"form-control",attrs:{id:"edit-client-name",type:"text"},domProps:{value:t.editForm.name},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.update(e)},input:function(e){e.target.composing||t.$set(t.editForm,"name",e.target.value)}}}),t._v(" "),n("span",{staticClass:"help-block"},[t._v("\n Something your users will recognize and trust.\n ")])])]),t._v(" "),n("div",{staticClass:"form-group"},[n("label",{staticClass:"col-md-3 control-label"},[t._v("Redirect URL")]),t._v(" "),n("div",{staticClass:"col-md-7"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.editForm.redirect,expression:"editForm.redirect"}],staticClass:"form-control",attrs:{type:"text",name:"redirect"},domProps:{value:t.editForm.redirect},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.update(e)},input:function(e){e.target.composing||t.$set(t.editForm,"redirect",e.target.value)}}}),t._v(" "),n("span",{staticClass:"help-block"},[t._v("\n Your application's authorization callback URL.\n ")])])])])]),t._v(" "),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-default",attrs:{type:"button","data-dismiss":"modal"}},[t._v("Close")]),t._v(" "),n("button",{staticClass:"btn btn-primary",attrs:{type:"button"},on:{click:t.update}},[t._v("\n Save Changes\n ")])])])])])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"box-header with-border"},[e("h3",{staticClass:"box-title"},[this._v("\n OAuth Clients\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("thead",[e("tr",[e("th",{attrs:{scope:"col"}},[this._v("Client ID")]),this._v(" "),e("th",{attrs:{scope:"col"}},[this._v("Name")]),this._v(" "),e("th",{attrs:{scope:"col"}},[this._v("Secret")]),this._v(" "),e("th",{attrs:{scope:"col"}}),this._v(" "),e("th",{attrs:{scope:"col"}})])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"modal-header"},[e("button",{staticClass:"close",attrs:{type:"button","data-dismiss":"modal","aria-hidden":"true"}},[this._v("×")]),this._v(" "),e("h4",{staticClass:"modal-title"},[this._v("\n Create Client\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",[e("strong",[this._v("Whoops!")]),this._v(" Something went wrong!")])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"modal-header"},[e("button",{staticClass:"close",attrs:{type:"button","data-dismiss":"modal","aria-hidden":"true"}},[this._v("×")]),this._v(" "),e("h4",{staticClass:"modal-title"},[this._v("\n Edit Client\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",[e("strong",[this._v("Whoops!")]),this._v(" Something went wrong!")])}],!1,null,"3676a6c4",null).exports,a={data:function(){return{tokens:[]}},ready:function(){this.prepareComponent()},mounted:function(){this.prepareComponent()},methods:{prepareComponent:function(){this.getTokens()},getTokens:function(){var t=this;axios.get("./oauth/tokens").then((function(e){t.tokens=e.data}))},revoke:function(t){var e=this;axios.delete("./oauth/tokens/"+t.id).then((function(t){e.getTokens()}))}}},c=(n(87),Object(s.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.tokens.length>0?n("div",[n("div",{staticClass:"box box-primary"},[t._m(0),t._v(" "),n("div",{staticClass:"box-body"},[n("table",{staticClass:"table table-borderless m-b-none"},[n("caption",[t._v("Authorized clients")]),t._v(" "),t._m(1),t._v(" "),n("tbody",t._l(t.tokens,(function(e){return n("tr",[n("td",{staticStyle:{"vertical-align":"middle"}},[t._v("\n "+t._s(e.client.name)+"\n ")]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[e.scopes.length>0?n("span",[t._v("\n "+t._s(e.scopes.join(", "))+"\n ")]):t._e()]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[n("a",{staticClass:"action-link btn btn-danger btn-xs",on:{click:function(n){return t.revoke(e)}}},[t._v("\n Revoke\n ")])])])})),0)])])])]):t._e()])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"box-header with-border"},[e("h3",{staticClass:"box-title"},[this._v("\n Authorized Applications\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("thead",[e("tr",[e("th",{attrs:{scope:"col"}},[this._v("Name")]),this._v(" "),e("th",{attrs:{scope:"col"}},[this._v("Scopes")]),this._v(" "),e("th",{attrs:{scope:"col"}})])])}],!1,null,"163871ec",null).exports);function l(t){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var u={data:function(){return{accessToken:null,tokens:[],scopes:[],form:{name:"",scopes:[],errors:[]}}},ready:function(){this.prepareComponent()},mounted:function(){this.prepareComponent()},methods:{prepareComponent:function(){this.getTokens(),this.getScopes(),$("#modal-create-token").on("shown.bs.modal",(function(){$("#create-token-name").focus()}))},getTokens:function(){var t=this;axios.get("./oauth/personal-access-tokens").then((function(e){t.tokens=e.data}))},getScopes:function(){var t=this;axios.get("./oauth/scopes").then((function(e){t.scopes=e.data}))},showCreateTokenForm:function(){$("#modal-create-token").modal("show")},store:function(){var t=this;this.accessToken=null,this.form.errors=[],axios.post("./oauth/personal-access-tokens?_token="+document.head.querySelector('meta[name="csrf-token"]').content,this.form).then((function(e){t.form.name="",t.form.scopes=[],t.form.errors=[],t.tokens.push(e.data.token),t.showAccessToken(e.data.accessToken)})).catch((function(e){"object"===l(e.response.data)?t.form.errors=_.flatten(_.toArray(e.response.data)):t.form.errors=["Something went wrong. Please try again."]}))},toggleScope:function(t){this.scopeIsAssigned(t)?this.form.scopes=_.reject(this.form.scopes,(function(e){return e==t})):this.form.scopes.push(t)},scopeIsAssigned:function(t){return _.indexOf(this.form.scopes,t)>=0},showAccessToken:function(t){$("#modal-create-token").modal("hide"),this.accessToken=t,$("#modal-access-token").modal("show")},revoke:function(t){var e=this;axios.delete("./oauth/personal-access-tokens/"+t.id).then((function(t){e.getTokens()}))}}},f=(n(89),Object(s.a)(u,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",[n("div",{staticClass:"box box-primary"},[t._m(0),t._v(" "),n("div",{staticClass:"box-body"},[0===t.tokens.length?n("p",{staticClass:"m-b-none"},[t._v("\n You have not created any personal access tokens.\n ")]):t._e(),t._v(" "),t.tokens.length>0?n("table",{staticClass:"table table-borderless m-b-none"},[n("caption",[t._v("Personal Access Tokens")]),t._v(" "),t._m(1),t._v(" "),n("tbody",t._l(t.tokens,(function(e){return n("tr",[n("td",{staticStyle:{"vertical-align":"middle"}},[t._v("\n "+t._s(e.name)+"\n ")]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[n("a",{staticClass:"action-link text-danger",on:{click:function(n){return t.revoke(e)}}},[t._v("\n Delete\n ")])])])})),0)]):t._e()]),t._v(" "),n("div",{staticClass:"box-footer"},[n("a",{staticClass:"action-link btn btn-success",on:{click:t.showCreateTokenForm}},[t._v("\n Create New Token\n ")])])])]),t._v(" "),n("div",{staticClass:"modal fade",attrs:{id:"modal-create-token",tabindex:"-1",role:"dialog"}},[n("div",{staticClass:"modal-dialog"},[n("div",{staticClass:"modal-content"},[t._m(2),t._v(" "),n("div",{staticClass:"modal-body"},[t.form.errors.length>0?n("div",{staticClass:"alert alert-danger"},[t._m(3),t._v(" "),n("br"),t._v(" "),n("ul",t._l(t.form.errors,(function(e){return n("li",[t._v("\n "+t._s(e)+"\n ")])})),0)]):t._e(),t._v(" "),n("form",{staticClass:"form-horizontal",attrs:{role:"form"},on:{submit:function(e){return e.preventDefault(),t.store(e)}}},[n("div",{staticClass:"form-group"},[n("label",{staticClass:"col-md-4 control-label"},[t._v("Name")]),t._v(" "),n("div",{staticClass:"col-md-6"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.form.name,expression:"form.name"}],staticClass:"form-control",attrs:{id:"create-token-name",type:"text",name:"name"},domProps:{value:t.form.name},on:{input:function(e){e.target.composing||t.$set(t.form,"name",e.target.value)}}})])]),t._v(" "),t.scopes.length>0?n("div",{staticClass:"form-group"},[n("label",{staticClass:"col-md-4 control-label"},[t._v("Scopes")]),t._v(" "),n("div",{staticClass:"col-md-6"},t._l(t.scopes,(function(e){return n("div",[n("div",{staticClass:"checkbox"},[n("label",[n("input",{attrs:{type:"checkbox"},domProps:{checked:t.scopeIsAssigned(e.id)},on:{click:function(n){return t.toggleScope(e.id)}}}),t._v("\n\n "+t._s(e.id)+"\n ")])])])})),0)]):t._e()])]),t._v(" "),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-default",attrs:{type:"button","data-dismiss":"modal"}},[t._v("Close")]),t._v(" "),n("button",{staticClass:"btn btn-primary",attrs:{type:"button"},on:{click:t.store}},[t._v("\n Create\n ")])])])])]),t._v(" "),n("div",{staticClass:"modal fade",attrs:{id:"modal-access-token",tabindex:"-1",role:"dialog"}},[n("div",{staticClass:"modal-dialog"},[n("div",{staticClass:"modal-content"},[t._m(4),t._v(" "),n("div",{staticClass:"modal-body"},[n("p",[t._v("\n Here is your new personal access token. This is the only time it will be shown so don't lose it!\n You may now use this token to make API requests.\n ")]),t._v(" "),n("pre",[n("textarea",{staticClass:"form-control",staticStyle:{width:"100%"},attrs:{id:"tokenHidden",rows:"20"}},[t._v(t._s(t.accessToken))])])]),t._v(" "),t._m(5)])])])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"box-header with-border"},[e("h3",{staticClass:"box-title"},[this._v("\n Personal Access Tokens\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("thead",[e("tr",[e("th",{attrs:{scope:"col"}},[this._v("Name")]),this._v(" "),e("th",{attrs:{scope:"col"}})])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"modal-header"},[e("button",{staticClass:"close",attrs:{type:"button","data-dismiss":"modal","aria-hidden":"true"}},[this._v("×")]),this._v(" "),e("h4",{staticClass:"modal-title"},[this._v("\n Create Token\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",[e("strong",[this._v("Whoops!")]),this._v(" Something went wrong!")])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"modal-header"},[e("button",{staticClass:"close",attrs:{type:"button","data-dismiss":"modal","aria-hidden":"true"}},[this._v("×")]),this._v(" "),e("h4",{staticClass:"modal-title"},[this._v("\n Personal Access Token\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"modal-footer"},[e("button",{staticClass:"btn btn-default",attrs:{type:"button","data-dismiss":"modal"}},[this._v("Close")])])}],!1,null,"0ba42ada",null).exports),d={name:"ProfileOptions"},p=Object(s.a)(d,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",[e("div",{staticClass:"row"},[e("div",{staticClass:"col-lg-8 col-lg-offset-2 col-md-12 col-sm-12"},[e("passport-clients")],1)]),this._v(" "),e("div",{staticClass:"row"},[e("div",{staticClass:"col-lg-8 col-lg-offset-2 col-md-12 col-sm-12"},[e("passport-authorized-clients")],1)]),this._v(" "),e("div",{staticClass:"row"},[e("div",{staticClass:"col-lg-8 col-lg-offset-2 col-md-12 col-sm-12"},[e("passport-personal-access-tokens")],1)])])}),[],!1,null,"7669c746",null).exports;n(28),Vue.component("passport-clients",i),Vue.component("passport-authorized-clients",c),Vue.component("passport-personal-access-tokens",f),Vue.component("profile-options",p);var m={};new Vue({el:"#passport_clients",render:function(t){return t(p,{props:m})}})}]); \ No newline at end of file +!function(t){var e={};function n(o){if(e[o])return e[o].exports;var r=e[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(o,r,function(e){return t[e]}.bind(null,r));return o},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/",n(n.s=83)}([function(t,e,n){"use strict";function o(t,e,n,o,r,s,i,a){var c,l="function"==typeof t?t.options:t;if(e&&(l.render=e,l.staticRenderFns=n,l._compiled=!0),o&&(l.functional=!0),s&&(l._scopeId="data-v-"+s),i?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(i)},l._ssrRegister=c):r&&(c=a?function(){r.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:r),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(t,e){return c.call(e),u(t,e)}}else{var f=l.beforeCreate;l.beforeCreate=f?[].concat(f,c):[c]}return{exports:t,options:l}}n.d(e,"a",(function(){return o}))},function(t,e,n){"use strict";var o=n(5),r=n(12),s=Object.prototype.toString;function i(t){return"[object Array]"===s.call(t)}function a(t){return null!==t&&"object"==typeof t}function c(t){return"[object Function]"===s.call(t)}function l(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),i(t))for(var n=0,o=t.length;n=200&&t<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},o.forEach(["delete","get","head"],(function(t){c.headers[t]={}})),o.forEach(["post","put","patch"],(function(t){c.headers[t]=o.merge(s)})),t.exports=c}).call(this,n(10))},function(t,e,n){t.exports=n(11)},,function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),o=0;o1)for(var n=1;n=0)return;i[e]="set-cookie"===e?(i[e]?i[e]:[]).concat([n]):i[e]?i[e]+", "+n:n}})),i):i}},function(t,e,n){"use strict";var o=n(1);t.exports=o.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function r(t){var o=t;return e&&(n.setAttribute("href",o),o=n.href),n.setAttribute("href",o),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=r(window.location.href),function(e){var n=o.isString(e)?r(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return!0}},function(t,e,n){"use strict";var o=n(1);t.exports=o.isStandardBrowserEnv()?{write:function(t,e,n,r,s,i){var a=[];a.push(t+"="+encodeURIComponent(e)),o.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),o.isString(r)&&a.push("path="+r),o.isString(s)&&a.push("domain="+s),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(t,e,n){"use strict";var o=n(1);function r(){this.handlers=[]}r.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},r.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},r.prototype.forEach=function(t){o.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=r},function(t,e,n){"use strict";var o=n(1),r=n(23),s=n(8),i=n(2),a=n(24),c=n(25);function l(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return l(t),t.baseURL&&!a(t.url)&&(t.url=c(t.baseURL,t.url)),t.headers=t.headers||{},t.data=r(t.data,t.headers,t.transformRequest),t.headers=o.merge(t.headers.common||{},t.headers[t.method]||{},t.headers||{}),o.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||i.adapter)(t).then((function(e){return l(t),e.data=r(e.data,e.headers,t.transformResponse),e}),(function(e){return s(e)||(l(t),e&&e.response&&(e.response.data=r(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},function(t,e,n){"use strict";var o=n(1);t.exports=function(t,e,n){return o.forEach(n,(function(n){t=n(t,e)})),t}},function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},function(t,e,n){"use strict";var o=n(9);function r(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;t((function(t){n.reason||(n.reason=new o(t),e(n.reason))}))}r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var t;return{token:new r((function(e){t=e})),cancel:t}},t.exports=r},function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,n){window.axios=n(3),window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest";var o=document.head.querySelector('meta[name="csrf-token"]');o?window.axios.defaults.headers.common["X-CSRF-TOKEN"]=o.content:console.error("CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token")},,,,,,,,,,,,,,,,,,function(t,e,n){var o=n(85);"string"==typeof o&&(o=[[t.i,o,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n(72)(o,r);o.locals&&(t.exports=o.locals)},function(t,e,n){var o=n(88);"string"==typeof o&&(o=[[t.i,o,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n(72)(o,r);o.locals&&(t.exports=o.locals)},function(t,e,n){var o=n(90);"string"==typeof o&&(o=[[t.i,o,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n(72)(o,r);o.locals&&(t.exports=o.locals)},,,,,,,,,,,,,,,,,,,,,,,function(t,e){t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=function(t,e){var n=t[1]||"",o=t[3];if(!o)return n;if(e&&"function"==typeof btoa){var r=(i=o,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),s=o.sources.map((function(t){return"/*# sourceURL="+o.sourceRoot+t+" */"}));return[n].concat(s).concat([r]).join("\n")}var i;return[n].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+n+"}":n})).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var o={},r=0;r=0&&f.splice(e,1)}function b(t){var e=document.createElement("style");if(void 0===t.attrs.type&&(t.attrs.type="text/css"),void 0===t.attrs.nonce){var o=function(){0;return n.nc}();o&&(t.attrs.nonce=o)}return _(e,t.attrs),h(t,e),e}function _(t,e){Object.keys(e).forEach((function(n){t.setAttribute(n,e[n])}))}function y(t,e){var n,o,r,s;if(e.transform&&t.css){if(!(s="function"==typeof e.transform?e.transform(t.css):e.transform.default(t.css)))return function(){};t.css=s}if(e.singleton){var i=u++;n=l||(l=b(e)),o=x.bind(null,n,i,!1),r=x.bind(null,n,i,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(t){var e=document.createElement("link");return void 0===t.attrs.type&&(t.attrs.type="text/css"),t.attrs.rel="stylesheet",_(e,t.attrs),h(t,e),e}(e),o=k.bind(null,n,e),r=function(){v(n),n.href&&URL.revokeObjectURL(n.href)}):(n=b(e),o=w.bind(null,n),r=function(){v(n)});return o(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;o(t=e)}else r()}}t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(e=e||{}).attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||"boolean"==typeof e.singleton||(e.singleton=i()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var n=m(t,e);return p(n,e),function(t){for(var o=[],r=0;r0?n("table",{staticClass:"table table-borderless m-b-none"},[n("caption",[t._v("Clients")]),t._v(" "),t._m(1),t._v(" "),n("tbody",t._l(t.clients,(function(e){return n("tr",[n("td",{staticStyle:{"vertical-align":"middle"}},[t._v("\n "+t._s(e.id)+"\n ")]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[t._v("\n "+t._s(e.name)+"\n ")]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[n("code",[t._v(t._s(e.secret))])]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[n("a",{staticClass:"action-link btn btn-default btn-xs",on:{click:function(n){return t.edit(e)}}},[t._v("\n Edit\n ")])]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[n("a",{staticClass:"action-link btn btn-danger btn-xs",on:{click:function(n){return t.destroy(e)}}},[t._v("\n Delete\n ")])])])})),0)]):t._e()]),t._v(" "),n("div",{staticClass:"box-footer"},[n("a",{staticClass:"action-link btn btn-success",on:{click:t.showCreateClientForm}},[t._v("\n Create New Client\n ")])])]),t._v(" "),n("div",{staticClass:"modal fade",attrs:{id:"modal-create-client",tabindex:"-1",role:"dialog"}},[n("div",{staticClass:"modal-dialog"},[n("div",{staticClass:"modal-content"},[t._m(2),t._v(" "),n("div",{staticClass:"modal-body"},[t.createForm.errors.length>0?n("div",{staticClass:"alert alert-danger"},[t._m(3),t._v(" "),n("br"),t._v(" "),n("ul",t._l(t.createForm.errors,(function(e){return n("li",[t._v("\n "+t._s(e)+"\n ")])})),0)]):t._e(),t._v(" "),n("form",{staticClass:"form-horizontal",attrs:{role:"form"}},[n("div",{staticClass:"form-group"},[n("label",{staticClass:"col-md-3 control-label"},[t._v("Name")]),t._v(" "),n("div",{staticClass:"col-md-7"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.createForm.name,expression:"createForm.name"}],staticClass:"form-control",attrs:{id:"create-client-name",type:"text"},domProps:{value:t.createForm.name},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.store(e)},input:function(e){e.target.composing||t.$set(t.createForm,"name",e.target.value)}}}),t._v(" "),n("span",{staticClass:"help-block"},[t._v("\n Something your users will recognize and trust.\n ")])])]),t._v(" "),n("div",{staticClass:"form-group"},[n("label",{staticClass:"col-md-3 control-label"},[t._v("Redirect URL")]),t._v(" "),n("div",{staticClass:"col-md-7"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.createForm.redirect,expression:"createForm.redirect"}],staticClass:"form-control",attrs:{type:"text",name:"redirect"},domProps:{value:t.createForm.redirect},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.store(e)},input:function(e){e.target.composing||t.$set(t.createForm,"redirect",e.target.value)}}}),t._v(" "),n("span",{staticClass:"help-block"},[t._v("\n Your application's authorization callback URL.\n ")])])])])]),t._v(" "),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-default",attrs:{type:"button","data-dismiss":"modal"}},[t._v("Close")]),t._v(" "),n("button",{staticClass:"btn btn-primary",attrs:{type:"button"},on:{click:t.store}},[t._v("\n Create\n ")])])])])]),t._v(" "),n("div",{staticClass:"modal fade",attrs:{id:"modal-edit-client",tabindex:"-1",role:"dialog"}},[n("div",{staticClass:"modal-dialog"},[n("div",{staticClass:"modal-content"},[t._m(4),t._v(" "),n("div",{staticClass:"modal-body"},[t.editForm.errors.length>0?n("div",{staticClass:"alert alert-danger"},[t._m(5),t._v(" "),n("br"),t._v(" "),n("ul",t._l(t.editForm.errors,(function(e){return n("li",[t._v("\n "+t._s(e)+"\n ")])})),0)]):t._e(),t._v(" "),n("form",{staticClass:"form-horizontal",attrs:{role:"form"}},[n("div",{staticClass:"form-group"},[n("label",{staticClass:"col-md-3 control-label"},[t._v("Name")]),t._v(" "),n("div",{staticClass:"col-md-7"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.editForm.name,expression:"editForm.name"}],staticClass:"form-control",attrs:{id:"edit-client-name",type:"text"},domProps:{value:t.editForm.name},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.update(e)},input:function(e){e.target.composing||t.$set(t.editForm,"name",e.target.value)}}}),t._v(" "),n("span",{staticClass:"help-block"},[t._v("\n Something your users will recognize and trust.\n ")])])]),t._v(" "),n("div",{staticClass:"form-group"},[n("label",{staticClass:"col-md-3 control-label"},[t._v("Redirect URL")]),t._v(" "),n("div",{staticClass:"col-md-7"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.editForm.redirect,expression:"editForm.redirect"}],staticClass:"form-control",attrs:{type:"text",name:"redirect"},domProps:{value:t.editForm.redirect},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.update(e)},input:function(e){e.target.composing||t.$set(t.editForm,"redirect",e.target.value)}}}),t._v(" "),n("span",{staticClass:"help-block"},[t._v("\n Your application's authorization callback URL.\n ")])])])])]),t._v(" "),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-default",attrs:{type:"button","data-dismiss":"modal"}},[t._v("Close")]),t._v(" "),n("button",{staticClass:"btn btn-primary",attrs:{type:"button"},on:{click:t.update}},[t._v("\n Save Changes\n ")])])])])])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"box-header with-border"},[e("h3",{staticClass:"box-title"},[this._v("\n OAuth Clients\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("thead",[e("tr",[e("th",{attrs:{scope:"col"}},[this._v("Client ID")]),this._v(" "),e("th",{attrs:{scope:"col"}},[this._v("Name")]),this._v(" "),e("th",{attrs:{scope:"col"}},[this._v("Secret")]),this._v(" "),e("th",{attrs:{scope:"col"}}),this._v(" "),e("th",{attrs:{scope:"col"}})])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"modal-header"},[e("button",{staticClass:"close",attrs:{type:"button","data-dismiss":"modal","aria-hidden":"true"}},[this._v("×")]),this._v(" "),e("h4",{staticClass:"modal-title"},[this._v("\n Create Client\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",[e("strong",[this._v("Whoops!")]),this._v(" Something went wrong!")])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"modal-header"},[e("button",{staticClass:"close",attrs:{type:"button","data-dismiss":"modal","aria-hidden":"true"}},[this._v("×")]),this._v(" "),e("h4",{staticClass:"modal-title"},[this._v("\n Edit Client\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",[e("strong",[this._v("Whoops!")]),this._v(" Something went wrong!")])}],!1,null,"3676a6c4",null).exports,a={data:function(){return{tokens:[]}},ready:function(){this.prepareComponent()},mounted:function(){this.prepareComponent()},methods:{prepareComponent:function(){this.getTokens()},getTokens:function(){var t=this;axios.get("./oauth/tokens").then((function(e){t.tokens=e.data}))},revoke:function(t){var e=this;axios.delete("./oauth/tokens/"+t.id).then((function(t){e.getTokens()}))}}},c=(n(87),Object(s.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.tokens.length>0?n("div",[n("div",{staticClass:"box box-primary"},[t._m(0),t._v(" "),n("div",{staticClass:"box-body"},[n("table",{staticClass:"table table-borderless m-b-none"},[n("caption",[t._v("Authorized clients")]),t._v(" "),t._m(1),t._v(" "),n("tbody",t._l(t.tokens,(function(e){return n("tr",[n("td",{staticStyle:{"vertical-align":"middle"}},[t._v("\n "+t._s(e.client.name)+"\n ")]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[e.scopes.length>0?n("span",[t._v("\n "+t._s(e.scopes.join(", "))+"\n ")]):t._e()]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[n("a",{staticClass:"action-link btn btn-danger btn-xs",on:{click:function(n){return t.revoke(e)}}},[t._v("\n Revoke\n ")])])])})),0)])])])]):t._e()])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"box-header with-border"},[e("h3",{staticClass:"box-title"},[this._v("\n Authorized Applications\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("thead",[e("tr",[e("th",{attrs:{scope:"col"}},[this._v("Name")]),this._v(" "),e("th",{attrs:{scope:"col"}},[this._v("Scopes")]),this._v(" "),e("th",{attrs:{scope:"col"}})])])}],!1,null,"163871ec",null).exports);function l(t){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var u={data:function(){return{accessToken:null,tokens:[],scopes:[],form:{name:"",scopes:[],errors:[]}}},ready:function(){this.prepareComponent()},mounted:function(){this.prepareComponent()},methods:{prepareComponent:function(){this.getTokens(),this.getScopes(),$("#modal-create-token").on("shown.bs.modal",(function(){$("#create-token-name").focus()}))},getTokens:function(){var t=this;axios.get("./oauth/personal-access-tokens").then((function(e){t.tokens=e.data}))},getScopes:function(){var t=this;axios.get("./oauth/scopes").then((function(e){t.scopes=e.data}))},showCreateTokenForm:function(){$("#modal-create-token").modal("show")},store:function(){var t=this;this.accessToken=null,this.form.errors=[],axios.post("./oauth/personal-access-tokens?_token="+document.head.querySelector('meta[name="csrf-token"]').content,this.form).then((function(e){t.form.name="",t.form.scopes=[],t.form.errors=[],t.tokens.push(e.data.token),t.showAccessToken(e.data.accessToken)})).catch((function(e){"object"===l(e.response.data)?t.form.errors=_.flatten(_.toArray(e.response.data)):t.form.errors=["Something went wrong. Please try again."]}))},toggleScope:function(t){this.scopeIsAssigned(t)?this.form.scopes=_.reject(this.form.scopes,(function(e){return e==t})):this.form.scopes.push(t)},scopeIsAssigned:function(t){return _.indexOf(this.form.scopes,t)>=0},showAccessToken:function(t){$("#modal-create-token").modal("hide"),this.accessToken=t,$("#modal-access-token").modal("show")},revoke:function(t){var e=this;axios.delete("./oauth/personal-access-tokens/"+t.id).then((function(t){e.getTokens()}))}}},f=(n(89),Object(s.a)(u,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",[n("div",{staticClass:"box box-primary"},[t._m(0),t._v(" "),n("div",{staticClass:"box-body"},[0===t.tokens.length?n("p",{staticClass:"m-b-none"},[t._v("\n You have not created any personal access tokens.\n ")]):t._e(),t._v(" "),t.tokens.length>0?n("table",{staticClass:"table table-borderless m-b-none"},[n("caption",[t._v("Personal Access Tokens")]),t._v(" "),t._m(1),t._v(" "),n("tbody",t._l(t.tokens,(function(e){return n("tr",[n("td",{staticStyle:{"vertical-align":"middle"}},[t._v("\n "+t._s(e.name)+"\n ")]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[n("a",{staticClass:"action-link text-danger",on:{click:function(n){return t.revoke(e)}}},[t._v("\n Delete\n ")])])])})),0)]):t._e()]),t._v(" "),n("div",{staticClass:"box-footer"},[n("a",{staticClass:"action-link btn btn-success",on:{click:t.showCreateTokenForm}},[t._v("\n Create New Token\n ")])])])]),t._v(" "),n("div",{staticClass:"modal fade",attrs:{id:"modal-create-token",tabindex:"-1",role:"dialog"}},[n("div",{staticClass:"modal-dialog"},[n("div",{staticClass:"modal-content"},[t._m(2),t._v(" "),n("div",{staticClass:"modal-body"},[t.form.errors.length>0?n("div",{staticClass:"alert alert-danger"},[t._m(3),t._v(" "),n("br"),t._v(" "),n("ul",t._l(t.form.errors,(function(e){return n("li",[t._v("\n "+t._s(e)+"\n ")])})),0)]):t._e(),t._v(" "),n("form",{staticClass:"form-horizontal",attrs:{role:"form"},on:{submit:function(e){return e.preventDefault(),t.store(e)}}},[n("div",{staticClass:"form-group"},[n("label",{staticClass:"col-md-4 control-label"},[t._v("Name")]),t._v(" "),n("div",{staticClass:"col-md-6"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.form.name,expression:"form.name"}],staticClass:"form-control",attrs:{id:"create-token-name",type:"text",name:"name"},domProps:{value:t.form.name},on:{input:function(e){e.target.composing||t.$set(t.form,"name",e.target.value)}}})])]),t._v(" "),t.scopes.length>0?n("div",{staticClass:"form-group"},[n("label",{staticClass:"col-md-4 control-label"},[t._v("Scopes")]),t._v(" "),n("div",{staticClass:"col-md-6"},t._l(t.scopes,(function(e){return n("div",[n("div",{staticClass:"checkbox"},[n("label",[n("input",{attrs:{type:"checkbox"},domProps:{checked:t.scopeIsAssigned(e.id)},on:{click:function(n){return t.toggleScope(e.id)}}}),t._v("\n\n "+t._s(e.id)+"\n ")])])])})),0)]):t._e()])]),t._v(" "),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-default",attrs:{type:"button","data-dismiss":"modal"}},[t._v("Close")]),t._v(" "),n("button",{staticClass:"btn btn-primary",attrs:{type:"button"},on:{click:t.store}},[t._v("\n Create\n ")])])])])]),t._v(" "),n("div",{staticClass:"modal fade",attrs:{id:"modal-access-token",tabindex:"-1",role:"dialog"}},[n("div",{staticClass:"modal-dialog"},[n("div",{staticClass:"modal-content"},[t._m(4),t._v(" "),n("div",{staticClass:"modal-body"},[n("p",[t._v("\n Here is your new personal access token. This is the only time it will be shown so don't lose it!\n You may now use this token to make API requests.\n ")]),t._v(" "),n("pre",[n("textarea",{staticClass:"form-control",staticStyle:{width:"100%"},attrs:{id:"tokenHidden",rows:"20"}},[t._v(t._s(t.accessToken))])])]),t._v(" "),t._m(5)])])])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"box-header with-border"},[e("h3",{staticClass:"box-title"},[this._v("\n Personal Access Tokens\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("thead",[e("tr",[e("th",{attrs:{scope:"col"}},[this._v("Name")]),this._v(" "),e("th",{attrs:{scope:"col"}})])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"modal-header"},[e("button",{staticClass:"close",attrs:{type:"button","data-dismiss":"modal","aria-hidden":"true"}},[this._v("×")]),this._v(" "),e("h4",{staticClass:"modal-title"},[this._v("\n Create Token\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",[e("strong",[this._v("Whoops!")]),this._v(" Something went wrong!")])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"modal-header"},[e("button",{staticClass:"close",attrs:{type:"button","data-dismiss":"modal","aria-hidden":"true"}},[this._v("×")]),this._v(" "),e("h4",{staticClass:"modal-title"},[this._v("\n Personal Access Token\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"modal-footer"},[e("button",{staticClass:"btn btn-default",attrs:{type:"button","data-dismiss":"modal"}},[this._v("Close")])])}],!1,null,"0ba42ada",null).exports),d={name:"ProfileOptions"},p=Object(s.a)(d,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",[e("div",{staticClass:"row"},[e("div",{staticClass:"col-lg-8 col-lg-offset-2 col-md-12 col-sm-12"},[e("passport-clients")],1)]),this._v(" "),e("div",{staticClass:"row"},[e("div",{staticClass:"col-lg-8 col-lg-offset-2 col-md-12 col-sm-12"},[e("passport-authorized-clients")],1)]),this._v(" "),e("div",{staticClass:"row"},[e("div",{staticClass:"col-lg-8 col-lg-offset-2 col-md-12 col-sm-12"},[e("passport-personal-access-tokens")],1)])])}),[],!1,null,"7669c746",null).exports;n(28),Vue.component("passport-clients",i),Vue.component("passport-authorized-clients",c),Vue.component("passport-personal-access-tokens",f),Vue.component("profile-options",p);var m={};new Vue({el:"#passport_clients",render:function(t){return t(p,{props:m})}})}]); \ No newline at end of file diff --git a/resources/lang/cs_CZ/firefly.php b/resources/lang/cs_CZ/firefly.php index f2f9c271b7..dd5819ebbf 100644 --- a/resources/lang/cs_CZ/firefly.php +++ b/resources/lang/cs_CZ/firefly.php @@ -540,7 +540,9 @@ return [ 'pref_languages' => 'Jazyky', 'pref_locale' => 'Místní nastavení', 'pref_languages_help' => 'Firefly III podporuje několik jazyků – ve kterém ho chcete používat?', - 'pref_locale_help' => 'Firefly III allows you to set other local settings, like how currencies, numbers and dates are formatted. Entries in this list may not be supported by your system. Firefly III doesn\'t have the correct date settings for every locale; contact me for improvements.', + 'pref_locale_help' => 'Firefly III vám umožňuje nastavit další lokální nastavení, jako je formátování měn, čísel a dat. Položky v tomto seznamu nemusí být podporovány vaším systémem. Firefly III nemá správné nastavení data pro každé lokální místo. Pro vylepšení mě kontaktujte.', + 'pref_locale_no_windows' => 'This feature may not work on Windows.', + 'pref_locale_no_docker' => 'The Docker image only has a small set of installed locales.', 'pref_custom_fiscal_year' => 'Nastavení fiskálního roku', 'pref_custom_fiscal_year_label' => 'Zapnuto', 'pref_custom_fiscal_year_help' => 'Pro země, ve kterých finanční rok nezačíná 1. ledna a tedy ani nekončí 31. prosince, je možné zapnutím tohoto určit den začátku a konce fiskálního roku', @@ -1130,6 +1132,11 @@ return [ 'interest_period_help' => 'This field is purely cosmetic and won\'t be calculated for you. As it turns out banks are very sneaky so Firefly III never gets it right.', 'store_new_liabilities_account' => 'Uložit nový závazek', 'edit_liabilities_account' => 'Upravit závazek „:name“', + 'financial_control' => 'Financial control', + 'accounting' => 'Accounting', + 'automation' => 'Automation', + 'others' => 'Others', + 'classification' => 'Classification', // reports: 'report_default' => 'Výchozí finanční výkaz v období :start a :end', diff --git a/resources/lang/de_DE/components.php b/resources/lang/de_DE/components.php index 3a8f115ffa..d2ed224e86 100644 --- a/resources/lang/de_DE/components.php +++ b/resources/lang/de_DE/components.php @@ -27,6 +27,6 @@ return [ 'personal_access_tokens' => 'Persönliche Zugangs-Authentifizierungsschlüssel', // bills: - 'not_expected_period' => 'Unerwarteter Zeitraum', + 'not_expected_period' => 'In diesem Zeitraum nicht erwartet', 'not_or_not_yet' => '(Noch) nicht', ]; diff --git a/resources/lang/de_DE/firefly.php b/resources/lang/de_DE/firefly.php index 4992a18c62..f62956847f 100644 --- a/resources/lang/de_DE/firefly.php +++ b/resources/lang/de_DE/firefly.php @@ -541,6 +541,8 @@ return [ 'pref_locale' => 'Lokale Einstellungen', 'pref_languages_help' => 'Firefly III unterstützt mehrere Sprachen. Welche möchten Sie nutzen?', 'pref_locale_help' => 'Mit Firefly III können Sie weitere lokale Einstellungen vornehmen, z.B. wie Währungen, Zahlen und Daten formatiert werden sollen. Einträge in dieser Liste werden von Ihrem System möglicherweise nicht unterstützt. Firefly III enthält nicht die korrekten Datumseinstellungen für jedes Gebietsschema. Kontaktieren Sie uns für Verbesserungen.', + 'pref_locale_no_windows' => 'Diese Funktion funktioniert unter Windows möglicherweise nicht.', + 'pref_locale_no_docker' => 'Das Docker-Abbild enthält nur einen kleinen Satz installierter Gebietsschemata.', 'pref_custom_fiscal_year' => 'Einstellungen zum Geschäftsjahr', 'pref_custom_fiscal_year_label' => 'Aktiviert', 'pref_custom_fiscal_year_help' => 'In Ländern, in denen ein Geschäftsjahr nicht vom 1. Januar bis 31. Dezember dauert, können Sie diese Option ändern und Start / Ende des Geschäftsjahres angeben', @@ -1130,6 +1132,11 @@ return [ 'interest_period_help' => 'Dieses Feld ist rein kosmetisch und wird für Sie nicht berechnet. Wie sich herausstellt, sind Banken sehr hinterhältig, so dass Firefly III es nie richtig macht.', 'store_new_liabilities_account' => 'Neue Verbindlichkeit speichern', 'edit_liabilities_account' => 'Verbindlichkeit „:name” bearbeiten', + 'financial_control' => 'Finanzkontrolle', + 'accounting' => 'Buchhaltung', + 'automation' => 'Automatisierungen', + 'others' => 'Weitere', + 'classification' => 'Klassifizierung', // reports: 'report_default' => 'Standardfinanzbericht zwischen :start und :end', diff --git a/resources/lang/el_GR/firefly.php b/resources/lang/el_GR/firefly.php index d6410f5a56..bb8106a89c 100644 --- a/resources/lang/el_GR/firefly.php +++ b/resources/lang/el_GR/firefly.php @@ -541,6 +541,8 @@ return [ 'pref_locale' => 'Ρυθμίσεις τοποθεσίας', 'pref_languages_help' => 'Το Firefly III υποστηρίζει διάφορες γλώσσες. Ποιά προτιμάτε;', 'pref_locale_help' => 'Το Firefly III σας επιτρέπει να ορίσετε ορισμένες ρυθμίσεις τοποθεσίας, όπως τον τρόπο μορφοποίησης νομισμάτων, αριθμών και ημερομηνιών. Οι καταχωρήσεις σε αυτήν τη λίστα ενδέχεται να μην υποστηρίζονται από το σύστημά σας. Το Firefly III δεν έχει τις σωστές ρυθμίσεις ημερομηνίας για κάθε τοποθεσία. επικοινωνήστε μαζί μου για βελτιώσεις.', + 'pref_locale_no_windows' => 'This feature may not work on Windows.', + 'pref_locale_no_docker' => 'The Docker image only has a small set of installed locales.', 'pref_custom_fiscal_year' => 'Ρυθμίσεις οικονομικού έτους', 'pref_custom_fiscal_year_label' => 'Ενεργοποιημένο', 'pref_custom_fiscal_year_help' => 'Σε χώρες που χρησιμοποιούν οικονομικό έτος διαφορετικό από 1 Ιανουαρίου εώς 31 Δεκεμβρίου, μπορείτε να ενεργοποιήσετε αυτή την επιλογή και να ορίσετε την αρχή και το τέλος του οικονομικού έτους', @@ -1130,6 +1132,11 @@ return [ 'interest_period_help' => 'Αυτό το πεδίο είναι διακοσμητικό και δεν θα υπολογιστεί για εσάς. Όπως φαίνεται, οι τράπεζες είναι αρκετά πονηρές οπότε το Firefly III δεν το βρίσκει ποτέ σωστά.', 'store_new_liabilities_account' => 'Αποθήκευση νέας υποχρέωσης', 'edit_liabilities_account' => 'Επεξεργασία υποχρέωσης ":name"', + 'financial_control' => 'Financial control', + 'accounting' => 'Accounting', + 'automation' => 'Automation', + 'others' => 'Others', + 'classification' => 'Classification', // reports: 'report_default' => 'Προεπιλεγμένη οικονομική αναφορά μεταξύ :start και :end', diff --git a/resources/lang/en_GB/firefly.php b/resources/lang/en_GB/firefly.php index 3035b8fdb1..8dd0acf104 100644 --- a/resources/lang/en_GB/firefly.php +++ b/resources/lang/en_GB/firefly.php @@ -541,6 +541,8 @@ return [ 'pref_locale' => 'Locale settings', 'pref_languages_help' => 'Firefly III supports several languages. Which one do you prefer?', 'pref_locale_help' => 'Firefly III allows you to set other local settings, like how currencies, numbers and dates are formatted. Entries in this list may not be supported by your system. Firefly III doesn\'t have the correct date settings for every locale; contact me for improvements.', + 'pref_locale_no_windows' => 'This feature may not work on Windows.', + 'pref_locale_no_docker' => 'The Docker image only has a small set of installed locales.', 'pref_custom_fiscal_year' => 'Fiscal year settings', 'pref_custom_fiscal_year_label' => 'Enabled', 'pref_custom_fiscal_year_help' => 'In countries that use a financial year other than January 1 to December 31, you can switch this on and specify start / end days of the fiscal year', @@ -1130,6 +1132,11 @@ return [ 'interest_period_help' => 'This field is purely cosmetic and won\'t be calculated for you. As it turns out banks are very sneaky so Firefly III never gets it right.', 'store_new_liabilities_account' => 'Store new liability', 'edit_liabilities_account' => 'Edit liability ":name"', + 'financial_control' => 'Financial control', + 'accounting' => 'Accounting', + 'automation' => 'Automation', + 'others' => 'Others', + 'classification' => 'Classification', // reports: 'report_default' => 'Default financial report between :start and :end', diff --git a/resources/lang/en_US/firefly.php b/resources/lang/en_US/firefly.php index d5c4477b91..2707ff6e11 100644 --- a/resources/lang/en_US/firefly.php +++ b/resources/lang/en_US/firefly.php @@ -541,6 +541,8 @@ return [ 'pref_locale' => 'Locale settings', 'pref_languages_help' => 'Firefly III supports several languages. Which one do you prefer?', 'pref_locale_help' => 'Firefly III allows you to set other local settings, like how currencies, numbers and dates are formatted. Entries in this list may not be supported by your system. Firefly III doesn\'t have the correct date settings for every locale; contact me for improvements.', + 'pref_locale_no_windows' => 'This feature may not work on Windows.', + 'pref_locale_no_docker' => 'The Docker image only has a small set of installed locales.', 'pref_custom_fiscal_year' => 'Fiscal year settings', 'pref_custom_fiscal_year_label' => 'Enabled', 'pref_custom_fiscal_year_help' => 'In countries that use a financial year other than January 1 to December 31, you can switch this on and specify start / end days of the fiscal year', @@ -1130,6 +1132,11 @@ return [ 'interest_period_help' => 'This field is purely cosmetic and won\'t be calculated for you. As it turns out banks are very sneaky so Firefly III never gets it right.', 'store_new_liabilities_account' => 'Store new liability', 'edit_liabilities_account' => 'Edit liability ":name"', + 'financial_control' => 'Financial control', + 'accounting' => 'Accounting', + 'automation' => 'Automation', + 'others' => 'Others', + 'classification' => 'Classification', // reports: 'report_default' => 'Default financial report between :start and :end', diff --git a/resources/lang/es_ES/firefly.php b/resources/lang/es_ES/firefly.php index 679a7c871f..12f2b9d723 100644 --- a/resources/lang/es_ES/firefly.php +++ b/resources/lang/es_ES/firefly.php @@ -541,6 +541,8 @@ return [ 'pref_locale' => 'Configuración del idioma', 'pref_languages_help' => 'Firefly III apoya varios idiomas. cual usted prefiere?', 'pref_locale_help' => 'Firefly III allows you to set other local settings, like how currencies, numbers and dates are formatted. Entries in this list may not be supported by your system. Firefly III doesn\'t have the correct date settings for every locale; contact me for improvements.', + 'pref_locale_no_windows' => 'This feature may not work on Windows.', + 'pref_locale_no_docker' => 'The Docker image only has a small set of installed locales.', 'pref_custom_fiscal_year' => 'Configuraciónes del año fiscal', 'pref_custom_fiscal_year_label' => 'Habilitado', 'pref_custom_fiscal_year_help' => 'En países que utilizan año fiscal diferente del 1 al 31 de diciembre, usted puede cambiarlo y especificar los días de inicio / y termino del año fiscal', @@ -1130,6 +1132,11 @@ return [ 'interest_period_help' => 'Este campo es meramente cosmético y no se calculará para usted. Como resulta que los bancos son muy estrepitosos, por lo que Firefly III nunca lo hace bien.', 'store_new_liabilities_account' => 'Crear nuevo pasivo', 'edit_liabilities_account' => 'Editar pasivo ":name"', + 'financial_control' => 'Financial control', + 'accounting' => 'Accounting', + 'automation' => 'Automation', + 'others' => 'Others', + 'classification' => 'Classification', // reports: 'report_default' => 'Reporte financiero por defecto entre :start y :end', diff --git a/resources/lang/fi_FI/firefly.php b/resources/lang/fi_FI/firefly.php index 1507ba5285..4de0ac222f 100644 --- a/resources/lang/fi_FI/firefly.php +++ b/resources/lang/fi_FI/firefly.php @@ -541,6 +541,8 @@ return [ 'pref_locale' => 'Alueasetukset', 'pref_languages_help' => 'Firefly III tukee useita kieliä. Mitä niistä haluat käyttää?', 'pref_locale_help' => 'Firefly III antaa sinun asettaa erikseen paikallisia asetuksia, kuten valuuttojen, numeroiden ja päivämäärien muotoilun. Järjestelmäsi ei ehkä tue kaikkia tämän luettelon alueasetuksia. Firefly III:lla ei ole oikeita päivämääräasetuksia jokaiselle alueelle; ota minuun yhteyttä saadaksesi parannuksia.', + 'pref_locale_no_windows' => 'Tämä ominaisuus ei välttämättä toimi Windowsissa.', + 'pref_locale_no_docker' => 'Docker imagessa on vain pieni määrä asennettuja lokalisaatioita.', 'pref_custom_fiscal_year' => 'Tilikauden asetukset', 'pref_custom_fiscal_year_label' => 'Käytössä', 'pref_custom_fiscal_year_help' => 'Maissa joiden tilikausi on jokin muu kuin Tammikuun 1:stä Joulukuun 31:seen päivään, voit valita tämän ja määrittää tilikauden aloitus- ja lopetuspäivän', @@ -1130,6 +1132,11 @@ return [ 'interest_period_help' => 'Tämä kenttä on puhtaasti kosmeettinen, eikä sitä lasketa sinulle. Kuten huomaat, pankit ovat erittäin salaperäisiä, joten Firefly III ei koskaan osaa tehdä näitä oikein.', 'store_new_liabilities_account' => 'Tallenna uusi vastuu', 'edit_liabilities_account' => 'Muokkaa vastuuta ":name"', + 'financial_control' => 'Talouden hallinta', + 'accounting' => 'Kirjanpito', + 'automation' => 'Automaatio', + 'others' => 'Muut', + 'classification' => 'Luokitus', // reports: 'report_default' => 'Talousraportti välillä :start ja :end', diff --git a/resources/lang/fr_FR/firefly.php b/resources/lang/fr_FR/firefly.php index a6016e3aff..e83e40db33 100644 --- a/resources/lang/fr_FR/firefly.php +++ b/resources/lang/fr_FR/firefly.php @@ -541,6 +541,8 @@ return [ 'pref_locale' => 'Paramètres régionaux', 'pref_languages_help' => 'Firefly III prend en charge plusieurs langues. Laquelle préférez-vous ?', 'pref_locale_help' => 'Firefly III vous permet de définir d\'autres paramètres locaux, comme la façon dont les devises, les nombres et les dates sont formatées. Les entrées dans cette liste peuvent ne pas être prises en charge par votre système. Firefly III n\'est pas paramétré correctement pour toutes les langues ; contactez-moi pour les améliorer.', + 'pref_locale_no_windows' => 'Cette fonctionnalité peut ne pas fonctionner sous Windows.', + 'pref_locale_no_docker' => 'L\'image Docker ne dispose que d\'un petit nombre de paramètres régionaux installés.', 'pref_custom_fiscal_year' => 'Paramètres fiscaux de l\'année', 'pref_custom_fiscal_year_label' => 'Activé', 'pref_custom_fiscal_year_help' => 'Dans les pays qui utilisent une année financière autre que du 1er janvier au 31 décembre, vous pouvez la changer en spécifiant le jour de début et de fin de l\'année fiscale', @@ -1130,6 +1132,11 @@ return [ 'interest_period_help' => 'Ce champ est purement cosmétique et ne sera pas calculé pour vous. Il se trouve que les banques ont chacune leur façon de faire et Firefly III ne fournira pas de bonne solution.', 'store_new_liabilities_account' => 'Enregistrer un nouveau passif', 'edit_liabilities_account' => 'Modifier le passif ":name"', + 'financial_control' => 'Contrôle financier', + 'accounting' => 'Comptabilité', + 'automation' => 'Automatisation', + 'others' => 'Autres', + 'classification' => 'Classification', // reports: 'report_default' => 'Rapport financier par défaut entre le :start et le :end', diff --git a/resources/lang/hu_HU/firefly.php b/resources/lang/hu_HU/firefly.php index 648df4fdc3..cde7b5d315 100644 --- a/resources/lang/hu_HU/firefly.php +++ b/resources/lang/hu_HU/firefly.php @@ -541,6 +541,8 @@ return [ 'pref_locale' => 'Területi beállítások', 'pref_languages_help' => 'A Firefly III több nyelven is elérhető. Melyiket szeretné használni?', 'pref_locale_help' => 'Firefly III allows you to set other local settings, like how currencies, numbers and dates are formatted. Entries in this list may not be supported by your system. Firefly III doesn\'t have the correct date settings for every locale; contact me for improvements.', + 'pref_locale_no_windows' => 'This feature may not work on Windows.', + 'pref_locale_no_docker' => 'The Docker image only has a small set of installed locales.', 'pref_custom_fiscal_year' => 'Költségvetési év beállításai', 'pref_custom_fiscal_year_label' => 'Engedélyezett', 'pref_custom_fiscal_year_help' => 'Azokban az országokban ahol a pénzügyi év nem Január 1 és December 31 közé esik, be lehet ezt kapcsolni és meg lehet adni a pénzügyi év kezdő- és végdátumát', @@ -1130,6 +1132,11 @@ return [ 'interest_period_help' => 'Ez kizárólag kozmetikázásra használt mező, nem fog a számláláshoz hozzáadódni. Mint kiderült, a bankok néha sunyik és Firefly III tévedhet.', 'store_new_liabilities_account' => 'Új kötelezettség eltárolása', 'edit_liabilities_account' => '":name" kötelezettség szerkesztése', + 'financial_control' => 'Financial control', + 'accounting' => 'Accounting', + 'automation' => 'Automation', + 'others' => 'Others', + 'classification' => 'Classification', // reports: 'report_default' => 'Alapértelmezett pénzügyi jelentés :start és :end között', diff --git a/resources/lang/id_ID/firefly.php b/resources/lang/id_ID/firefly.php index ad1c7a7f13..771fdc89e6 100644 --- a/resources/lang/id_ID/firefly.php +++ b/resources/lang/id_ID/firefly.php @@ -541,6 +541,8 @@ return [ 'pref_locale' => 'Locale settings', 'pref_languages_help' => 'Firefly III mendukung beberapa bahasa. Mana yang kamu suka?', 'pref_locale_help' => 'Firefly III allows you to set other local settings, like how currencies, numbers and dates are formatted. Entries in this list may not be supported by your system. Firefly III doesn\'t have the correct date settings for every locale; contact me for improvements.', + 'pref_locale_no_windows' => 'This feature may not work on Windows.', + 'pref_locale_no_docker' => 'The Docker image only has a small set of installed locales.', 'pref_custom_fiscal_year' => 'Pengaturan tahun fiskal', 'pref_custom_fiscal_year_label' => 'Diaktifkan', 'pref_custom_fiscal_year_help' => 'Di negara-negara yang menggunakan tahun keuangan selain 1 Januari sampai 31 Desember, Anda dapat mengaktifkannya dan menentukan hari-hari awal / akhir dari tahun fiskal', @@ -1130,6 +1132,11 @@ return [ 'interest_period_help' => 'This field is purely cosmetic and won\'t be calculated for you. As it turns out banks are very sneaky so Firefly III never gets it right.', 'store_new_liabilities_account' => 'Store new liability', 'edit_liabilities_account' => 'Edit liability ":name"', + 'financial_control' => 'Financial control', + 'accounting' => 'Accounting', + 'automation' => 'Automation', + 'others' => 'Others', + 'classification' => 'Classification', // reports: 'report_default' => 'Laporan keuangan standar antara :start dan :end', diff --git a/resources/lang/it_IT/firefly.php b/resources/lang/it_IT/firefly.php index bcab1fd810..074d5c59ec 100644 --- a/resources/lang/it_IT/firefly.php +++ b/resources/lang/it_IT/firefly.php @@ -541,6 +541,8 @@ return [ 'pref_locale' => 'Impostazioni regionali', 'pref_languages_help' => 'Firefly III supporta diverse lingue. Quale di queste preferisci?', 'pref_locale_help' => 'Firefly III ti permette di impostare altre impostazioni regionali, come la formattazione delle valute, dei numeri e delle date. Le voci in questa lista potrebbero non essere supportate dal tuo sistema. Firefly III non ha le corrette impostazioni di data per ogni regione; contattami per ulteriori miglioramenti.', + 'pref_locale_no_windows' => 'Questa funzionalità potrebbe non funzionare su Windows.', + 'pref_locale_no_docker' => 'L\'immagine Docker ha solo un piccolo insieme di localizzazioni installate.', 'pref_custom_fiscal_year' => 'Impostazioni anno fiscale', 'pref_custom_fiscal_year_label' => 'Abilita', 'pref_custom_fiscal_year_help' => 'Nei paesi che utilizzano un anno finanziario che non va dal 1 gennaio al 31 dicembre, è possibile attivare questa opzione e specificare i giorni di inizio / fine dell\'anno fiscale', @@ -1130,6 +1132,11 @@ return [ 'interest_period_help' => 'Questo campo è puramente estetico e non ti viene calcolato. Sembra che le banche siano molto subdole, pertanto Firefly III non lo calcola mai correttamente.', 'store_new_liabilities_account' => 'Memorizza nuova passività', 'edit_liabilities_account' => 'Modica passività ":name"', + 'financial_control' => 'Controllo finanziario', + 'accounting' => 'Contabilità', + 'automation' => 'Automazione', + 'others' => 'Altro', + 'classification' => 'Classificazione', // reports: 'report_default' => 'Resoconto predefinito delle tue finanze tra :start e :end', diff --git a/resources/lang/nb_NO/firefly.php b/resources/lang/nb_NO/firefly.php index 40ccf3d50c..81f5654613 100644 --- a/resources/lang/nb_NO/firefly.php +++ b/resources/lang/nb_NO/firefly.php @@ -541,6 +541,8 @@ return [ 'pref_locale' => 'Locale settings', 'pref_languages_help' => 'Firefly III støtter flere språk. Hvilket foretrekker du?', 'pref_locale_help' => 'Firefly III allows you to set other local settings, like how currencies, numbers and dates are formatted. Entries in this list may not be supported by your system. Firefly III doesn\'t have the correct date settings for every locale; contact me for improvements.', + 'pref_locale_no_windows' => 'This feature may not work on Windows.', + 'pref_locale_no_docker' => 'The Docker image only has a small set of installed locales.', 'pref_custom_fiscal_year' => 'Innstillinger for regnskapsår', 'pref_custom_fiscal_year_label' => 'Aktivert', 'pref_custom_fiscal_year_help' => 'I land som bruker et annet regnskapsår enn 1. januar til 31. desember, kan du slå på dette og angi start- og sluttdager for regnskapsåret', @@ -1130,6 +1132,11 @@ return [ 'interest_period_help' => 'This field is purely cosmetic and won\'t be calculated for you. As it turns out banks are very sneaky so Firefly III never gets it right.', 'store_new_liabilities_account' => 'Lagre ny gjeld', 'edit_liabilities_account' => 'Rediger gjeld ":name"', + 'financial_control' => 'Financial control', + 'accounting' => 'Accounting', + 'automation' => 'Automation', + 'others' => 'Others', + 'classification' => 'Classification', // reports: 'report_default' => 'Standard finansiell rapport mellom :start og :end', diff --git a/resources/lang/nl_NL/firefly.php b/resources/lang/nl_NL/firefly.php index a126af760d..c69cb6a131 100644 --- a/resources/lang/nl_NL/firefly.php +++ b/resources/lang/nl_NL/firefly.php @@ -541,6 +541,8 @@ return [ 'pref_locale' => 'Lokale instellingen', 'pref_languages_help' => 'Firefly III ondersteunt meerdere talen. Welke heeft jouw voorkeur?', 'pref_locale_help' => 'Firefly III kan andere lokale instellingen gebruiken, die bepalen hoe valuta, nummers en datums worden weergegeven. De lijst hieronder is compleet maar niet alles wordt ondersteund door jouw systeem. Het kan zijn dat Firefly III bepaalde lokale instellingen niet lekker weergeeft; neem dan contact met me op.', + 'pref_locale_no_windows' => 'Deze functie werkt mogelijk niet op Windows.', + 'pref_locale_no_docker' => 'Het Docker image heeft maar een paar geïnstalleerde locales.', 'pref_custom_fiscal_year' => 'Instellingen voor boekjaar', 'pref_custom_fiscal_year_label' => 'Ingeschakeld', 'pref_custom_fiscal_year_help' => 'Voor in landen die een boekjaar gebruiken anders dan 1 januari tot 31 december', @@ -1130,6 +1132,11 @@ return [ 'interest_period_help' => 'Dit veld doet verder niks. Firefly III gaat dit niet voor je uitrekenen. Banken pakken dit toch altijd net anders aan.', 'store_new_liabilities_account' => 'Nieuwe passiva opslaan', 'edit_liabilities_account' => 'Passiva ":name" wijzigen', + 'financial_control' => 'Financieel overzicht', + 'accounting' => 'Boekhouden', + 'automation' => 'Automatisering', + 'others' => 'Overige', + 'classification' => 'Indeling', // reports: 'report_default' => 'Standaard financieel rapport (:start tot :end)', diff --git a/resources/lang/pl_PL/firefly.php b/resources/lang/pl_PL/firefly.php index 0dab617526..4a36517ed8 100644 --- a/resources/lang/pl_PL/firefly.php +++ b/resources/lang/pl_PL/firefly.php @@ -540,7 +540,9 @@ return [ 'pref_languages' => 'Języki', 'pref_locale' => 'Ustawienia regionalne', 'pref_languages_help' => 'Firefly III obsługuje kilka języków. Który wolisz?', - 'pref_locale_help' => 'Firefly III allows you to set other local settings, like how currencies, numbers and dates are formatted. Entries in this list may not be supported by your system. Firefly III doesn\'t have the correct date settings for every locale; contact me for improvements.', + 'pref_locale_help' => 'Firefly III pozwala na ustawienie innych ustawień lokalnych, takich jak formatowanie walut, liczb i dat. Wpisy na tej liście mogą nie być obsługiwane przez Twój system. Firefly III nie ma poprawnych ustawień daty dla każdego miejsca; skontaktuj się ze mną, abym mógł to ulepszyć.', + 'pref_locale_no_windows' => 'Ta funkcja może nie działać w systemie Windows.', + 'pref_locale_no_docker' => 'Obraz Dockera ma zainstalowany tylko mały zestaw wersji lokalnych.', 'pref_custom_fiscal_year' => 'Ustawienia roku podatkowego', 'pref_custom_fiscal_year_label' => 'Włączone', 'pref_custom_fiscal_year_help' => 'W krajach, w których rok podatkowy nie zaczyna się 1 stycznia i nie kończy 31 grudnia, możesz włączyć tą opcję oraz podać początek / koniec roku podatkowego', @@ -1130,6 +1132,11 @@ return [ 'interest_period_help' => 'To pole jest czysto kosmetyczne i nie zostanie obliczone automatycznie. Jak się okazuje, banki są bardzo podstępne, więc Firefly III nigdy nie oblicza tego prawidłowo.', 'store_new_liabilities_account' => 'Zapisz nowe zobowiązanie', 'edit_liabilities_account' => 'Modyfikuj zobowiązanie ":name"', + 'financial_control' => 'Kontrola finansowa', + 'accounting' => 'Księgowość', + 'automation' => 'Automatyzacja', + 'others' => 'Pozostałe', + 'classification' => 'Klasyfikacja', // reports: 'report_default' => 'Domyślny raport finansowy między :start i :end', diff --git a/resources/lang/pl_PL/import.php b/resources/lang/pl_PL/import.php index 72d4c59011..ec3a3b2368 100644 --- a/resources/lang/pl_PL/import.php +++ b/resources/lang/pl_PL/import.php @@ -157,7 +157,7 @@ return [ 'ynab_account_type_merchantAccount' => 'konto handlowe', 'ynab_account_type_investmentAccount' => 'konto inwestycyjne', 'ynab_account_type_mortgage' => 'mortgage', - 'ynab_do_not_import' => '(do not import)', + 'ynab_do_not_import' => '(nie importuj)', 'job_config_ynab_apply_rules' => 'Zastosuj reguły', 'job_config_ynab_apply_rules_text' => 'By default, your rules will be applied to the transactions created during this import routine. If you do not want this to happen, deselect this checkbox.', @@ -167,7 +167,7 @@ return [ 'job_config_ynab_no_budgets' => 'There are no budgets available to be imported from.', 'ynab_no_mapping' => 'It seems you have not selected any accounts to import from.', 'job_config_ynab_bad_currency' => 'You cannot import from the following budget(s), because you do not have accounts with the same currency as these budgets.', - 'job_config_ynab_accounts_title' => 'Select accounts', + 'job_config_ynab_accounts_title' => 'Wybierz konta', 'job_config_ynab_accounts_text' => 'You have the following accounts available in this budget. Please select from which accounts you want to import, and where the transactions should be stored.', @@ -202,29 +202,29 @@ return [ 'job_config_local_account_help' => 'Wybierz konto Firefly III odpowiadające wybranemu powyżej kontu bankowemu.', // specifics: 'specific_ing_name' => 'ING NL', - 'specific_ing_descr' => 'Create better descriptions in ING exports', + 'specific_ing_descr' => 'Tworzenie lepszych opisów w eksporcie z ING', 'specific_sns_name' => 'SNS / Volksbank NL', 'specific_sns_descr' => 'Usuwa cudzysłowy z plików eksportów SNS / Volksbank', 'specific_abn_name' => 'ABN AMRO NL', 'specific_abn_descr' => 'Napraw potencjalne problemy z plikami ABN AMRO', 'specific_rabo_name' => 'Rabobank NL', - 'specific_rabo_descr' => 'Fixes potential problems with Rabobank files', + 'specific_rabo_descr' => 'Napraw potencjalne problemy z plikami Rabobank', 'specific_pres_name' => 'President\'s Choice Financial CA', - 'specific_pres_descr' => 'Fixes potential problems with PC files', + 'specific_pres_descr' => 'Napraw potencjalne problemy z plikami PC', 'specific_belfius_name' => 'Belfius BE', - 'specific_belfius_descr' => 'Fixes potential problems with Belfius files', + 'specific_belfius_descr' => 'Napraw potencjalne problemy z plikami Belfius', 'specific_ingbelgium_name' => 'ING BE', - 'specific_ingbelgium_descr' => 'Fixes potential problems with ING Belgium files', + 'specific_ingbelgium_descr' => 'Napraw potencjalne problemy z plikami ING Belgium', // job configuration for file provider (stage: roles) - 'job_config_roles_title' => 'Import setup (3/4) - Define each column\'s role', - 'job_config_roles_text' => 'Each column in your CSV file contains certain data. Please indicate what kind of data the importer should expect. The option to "map" data means that you will link each entry found in the column to a value in your database. An often mapped column is the column that contains the IBAN of the opposing account. That can be easily matched to IBAN\'s present in your database already.', + 'job_config_roles_title' => 'Konfiguracja importu (3/4) - Zdefiniuj rolę każdej kolumny', + 'job_config_roles_text' => 'Każda kolumna w pliku CSV zawiera pewne dane. Proszę podać, jakich danych importer powinien oczekiwać. Opcja "mapowania" oznacza powiązanie każdego wpisu znalezionego w kolumnie z wartością w bazie danych. Często mapowaną kolumną jest kolumna, która zawiera IBAN przeciwnego konta. Można to łatwo dopasować do obecnego w bazie danych IBAN.', 'job_config_roles_submit' => 'Kontynuuj', 'job_config_roles_column_name' => 'Nazwa kolumny', - 'job_config_roles_column_example' => 'Column example data', - 'job_config_roles_column_role' => 'Column data meaning', - 'job_config_roles_do_map_value' => 'Map these values', - 'job_config_roles_no_example' => 'No example data available', - 'job_config_roles_fa_warning' => 'If you mark a column as containing an amount in a foreign currency, you must also set the column that contains which currency it is.', + 'job_config_roles_column_example' => 'Przykładowe dane w kolumnie', + 'job_config_roles_column_role' => 'Znaczenie danych w kolumnie', + 'job_config_roles_do_map_value' => 'Zmapuj te wartości', + 'job_config_roles_no_example' => 'Brak przykładowych danych', + 'job_config_roles_fa_warning' => 'Jeśli zaznaczysz kolumnę jako zawierającą kwotę w obcej walucie, musisz także ustawić kolumnę, która zawiera kod tej waluty.', 'job_config_roles_rwarning' => 'At the very least, mark one column as the amount-column. It is advisable to also select a column for the description, date and the opposing account.', 'job_config_roles_colum_count' => 'Kolumna', // job config for the file provider (stage: mapping): @@ -312,9 +312,9 @@ return [ 'column_account-number' => 'Konto aktywów (numer konta)', 'column_opposing-number' => 'Konto przeciwne (numer konta)', 'column_note' => 'Notatki', - 'column_internal-reference' => 'Internal reference', + 'column_internal-reference' => 'Wewnętrzny numer', // error message - 'duplicate_row' => 'Row #:row (":description") could not be imported. It already exists.', + 'duplicate_row' => 'Wiersz #:row (":description") nie mógł zostać zaimportowany. Już istnieje.', ]; diff --git a/resources/lang/pt_BR/firefly.php b/resources/lang/pt_BR/firefly.php index 5f387bbc91..0d7dfeb38d 100644 --- a/resources/lang/pt_BR/firefly.php +++ b/resources/lang/pt_BR/firefly.php @@ -541,6 +541,8 @@ return [ 'pref_locale' => 'Configurações regionais', 'pref_languages_help' => 'Firefly III suporta muitos idiomas. Qual você prefere?', 'pref_locale_help' => 'Firefly III permite que você defina outras configurações locais, por exemplo, como moedas, números e datas são formatadas. Os itens nesta lista podem não ser suportadas pelo seu sistema. Firefly III não tem as corretas configurações de data para cada local; entre em contato para melhorias.', + 'pref_locale_no_windows' => 'Esse recurso pode não funcionar no Windows.', + 'pref_locale_no_docker' => 'A imagem do Docker tem apenas um pequeno conjunto de localidades instaladas.', 'pref_custom_fiscal_year' => 'Configurações de ano fiscal', 'pref_custom_fiscal_year_label' => 'Habilitado', 'pref_custom_fiscal_year_help' => 'Nos países que usam um exercício diferente de 1 de Janeiro a 31 de Dezembro, você pode ativar isto e especificar início / fim do ano fiscal', @@ -1130,6 +1132,11 @@ return [ 'interest_period_help' => 'This field is purely cosmetic and won\'t be calculated for you. As it turns out banks are very sneaky so Firefly III never gets it right.', 'store_new_liabilities_account' => 'Guardar novo passivo', 'edit_liabilities_account' => 'Editar passivo ":name"', + 'financial_control' => 'Controle financeiro', + 'accounting' => 'Contabilidade', + 'automation' => 'Automação', + 'others' => 'Outros', + 'classification' => 'Classificação', // reports: 'report_default' => 'Relatório financeiro padrão entre :start e :end', diff --git a/resources/lang/ro_RO/firefly.php b/resources/lang/ro_RO/firefly.php index 30fb0a86dc..8623263d53 100644 --- a/resources/lang/ro_RO/firefly.php +++ b/resources/lang/ro_RO/firefly.php @@ -541,6 +541,8 @@ return [ 'pref_locale' => 'Locale settings', 'pref_languages_help' => 'Firefly III acceptă mai multe limbi. Pe care o preferați?', 'pref_locale_help' => 'Firefly III allows you to set other local settings, like how currencies, numbers and dates are formatted. Entries in this list may not be supported by your system. Firefly III doesn\'t have the correct date settings for every locale; contact me for improvements.', + 'pref_locale_no_windows' => 'This feature may not work on Windows.', + 'pref_locale_no_docker' => 'The Docker image only has a small set of installed locales.', 'pref_custom_fiscal_year' => 'Setări an fiscal', 'pref_custom_fiscal_year_label' => 'Activat', 'pref_custom_fiscal_year_help' => 'În țările care utilizează un exercițiu financiar, altul decât 1 ianuarie până la 31 decembrie, puteți să le activați și să specificați zilele de începere / sfârșit ale anului fiscal', @@ -1130,6 +1132,11 @@ return [ 'interest_period_help' => 'This field is purely cosmetic and won\'t be calculated for you. As it turns out banks are very sneaky so Firefly III never gets it right.', 'store_new_liabilities_account' => 'Salvați provizion nou', 'edit_liabilities_account' => 'Editați provizion ":name"', + 'financial_control' => 'Financial control', + 'accounting' => 'Accounting', + 'automation' => 'Automation', + 'others' => 'Others', + 'classification' => 'Classification', // reports: 'report_default' => 'Raportul financiar prestabilit între :start și :end', diff --git a/resources/lang/ru_RU/firefly.php b/resources/lang/ru_RU/firefly.php index c9cde2b136..8e28607190 100644 --- a/resources/lang/ru_RU/firefly.php +++ b/resources/lang/ru_RU/firefly.php @@ -541,6 +541,8 @@ return [ 'pref_locale' => 'Locale settings', 'pref_languages_help' => 'Firefly III поддерживает несколько языков. Какой язык вы предпочитаете?', 'pref_locale_help' => 'Firefly III allows you to set other local settings, like how currencies, numbers and dates are formatted. Entries in this list may not be supported by your system. Firefly III doesn\'t have the correct date settings for every locale; contact me for improvements.', + 'pref_locale_no_windows' => 'This feature may not work on Windows.', + 'pref_locale_no_docker' => 'The Docker image only has a small set of installed locales.', 'pref_custom_fiscal_year' => 'Параметры финансового года', 'pref_custom_fiscal_year_label' => 'Включить', 'pref_custom_fiscal_year_help' => 'Для стран, в которых финансовый год начинается не 1 января, а заканчивается не 31 декабря, вы должны указать даты начала и окончания финансового года', @@ -1130,6 +1132,11 @@ return [ 'interest_period_help' => 'This field is purely cosmetic and won\'t be calculated for you. As it turns out banks are very sneaky so Firefly III never gets it right.', 'store_new_liabilities_account' => 'Сохранить новое обязательство', 'edit_liabilities_account' => 'Редактировать долговой счёт ":name"', + 'financial_control' => 'Financial control', + 'accounting' => 'Accounting', + 'automation' => 'Automation', + 'others' => 'Others', + 'classification' => 'Classification', // reports: 'report_default' => 'Стандартный финансовый отчёт за период с :start по :end', diff --git a/resources/lang/sv_SE/firefly.php b/resources/lang/sv_SE/firefly.php index dabe9e7170..c0b5d56d93 100644 --- a/resources/lang/sv_SE/firefly.php +++ b/resources/lang/sv_SE/firefly.php @@ -541,6 +541,8 @@ return [ 'pref_locale' => 'Locale settings', 'pref_languages_help' => 'Firefly III stödjer flera språk. Vilket föredrar du?', 'pref_locale_help' => 'Firefly III allows you to set other local settings, like how currencies, numbers and dates are formatted. Entries in this list may not be supported by your system. Firefly III doesn\'t have the correct date settings for every locale; contact me for improvements.', + 'pref_locale_no_windows' => 'This feature may not work on Windows.', + 'pref_locale_no_docker' => 'The Docker image only has a small set of installed locales.', 'pref_custom_fiscal_year' => 'Räkneskapsårs inställningar', 'pref_custom_fiscal_year_label' => 'Aktiverad', 'pref_custom_fiscal_year_help' => 'I länder som använder räkneskapsår annat än 1a Januari till 31a December, går det att ändra detta och välja start / slut dagar för räkneskapsåret', @@ -1130,6 +1132,11 @@ return [ 'interest_period_help' => 'This field is purely cosmetic and won\'t be calculated for you. As it turns out banks are very sneaky so Firefly III never gets it right.', 'store_new_liabilities_account' => 'Spara en ny skuld', 'edit_liabilities_account' => 'Ändra skuld ":name"', + 'financial_control' => 'Financial control', + 'accounting' => 'Accounting', + 'automation' => 'Automation', + 'others' => 'Others', + 'classification' => 'Classification', // reports: 'report_default' => 'Standard ekonomisk rapport mellan :start och :end', diff --git a/resources/lang/tr_TR/firefly.php b/resources/lang/tr_TR/firefly.php index 12ceacada1..95a6954103 100644 --- a/resources/lang/tr_TR/firefly.php +++ b/resources/lang/tr_TR/firefly.php @@ -543,6 +543,8 @@ işlemlerin kontrol edildiğini lütfen unutmayın.', 'pref_locale' => 'Locale settings', 'pref_languages_help' => 'Firefly III birçok dili destekliyor. Hangisini tercih edersiniz?', 'pref_locale_help' => 'Firefly III allows you to set other local settings, like how currencies, numbers and dates are formatted. Entries in this list may not be supported by your system. Firefly III doesn\'t have the correct date settings for every locale; contact me for improvements.', + 'pref_locale_no_windows' => 'This feature may not work on Windows.', + 'pref_locale_no_docker' => 'The Docker image only has a small set of installed locales.', 'pref_custom_fiscal_year' => 'Mali yıl ayarları', 'pref_custom_fiscal_year_label' => 'Etkin', 'pref_custom_fiscal_year_help' => '1 Ocak - 31 Aralık arasındaki bir mali yılı kullanan ülkelerde bu ayarı açabilir ve mali yılın başlangıç / bitiş günlerini belirleyebilirsiniz', @@ -1132,6 +1134,11 @@ işlemlerin kontrol edildiğini lütfen unutmayın.', 'interest_period_help' => 'This field is purely cosmetic and won\'t be calculated for you. As it turns out banks are very sneaky so Firefly III never gets it right.', 'store_new_liabilities_account' => 'Store new liability', 'edit_liabilities_account' => 'Edit liability ":name"', + 'financial_control' => 'Financial control', + 'accounting' => 'Accounting', + 'automation' => 'Automation', + 'others' => 'Others', + 'classification' => 'Classification', // reports: 'report_default' => ':start ve :end arasında varsayılan finans raporu', diff --git a/resources/lang/vi_VN/firefly.php b/resources/lang/vi_VN/firefly.php index 7670f43b2a..d6edc4efe5 100644 --- a/resources/lang/vi_VN/firefly.php +++ b/resources/lang/vi_VN/firefly.php @@ -541,6 +541,8 @@ return [ 'pref_locale' => 'Locale settings', 'pref_languages_help' => 'Firefly III hỗ trợ một số ngôn ngữ. Bạn thích cái nào hơn?', 'pref_locale_help' => 'Firefly III allows you to set other local settings, like how currencies, numbers and dates are formatted. Entries in this list may not be supported by your system. Firefly III doesn\'t have the correct date settings for every locale; contact me for improvements.', + 'pref_locale_no_windows' => 'This feature may not work on Windows.', + 'pref_locale_no_docker' => 'The Docker image only has a small set of installed locales.', 'pref_custom_fiscal_year' => 'Cài đặt năm tài chính', 'pref_custom_fiscal_year_label' => 'Đã bật', 'pref_custom_fiscal_year_help' => 'Ở các quốc gia sử dụng năm tài chính khác từ ngày 1 tháng 1 đến ngày 31 tháng 12, bạn có thể bật tính năng này và chỉ định ngày bắt đầu / ngày kết thúc của năm tài chính', @@ -1130,6 +1132,11 @@ return [ 'interest_period_help' => 'This field is purely cosmetic and won\'t be calculated for you. As it turns out banks are very sneaky so Firefly III never gets it right.', 'store_new_liabilities_account' => 'Lưu trữ nợ mới', 'edit_liabilities_account' => 'Sửa nợ ":name"', + 'financial_control' => 'Financial control', + 'accounting' => 'Accounting', + 'automation' => 'Automation', + 'others' => 'Others', + 'classification' => 'Classification', // reports: 'report_default' => 'Báo cáo tài chính mặc định giữa: start và: end', diff --git a/resources/lang/zh_CN/firefly.php b/resources/lang/zh_CN/firefly.php index 1e077de7a3..157267b729 100644 --- a/resources/lang/zh_CN/firefly.php +++ b/resources/lang/zh_CN/firefly.php @@ -541,6 +541,8 @@ return [ 'pref_locale' => 'Locale settings', 'pref_languages_help' => 'Firefly III 支援多种语言,您倾向使用何者?', 'pref_locale_help' => 'Firefly III allows you to set other local settings, like how currencies, numbers and dates are formatted. Entries in this list may not be supported by your system. Firefly III doesn\'t have the correct date settings for every locale; contact me for improvements.', + 'pref_locale_no_windows' => 'This feature may not work on Windows.', + 'pref_locale_no_docker' => 'The Docker image only has a small set of installed locales.', 'pref_custom_fiscal_year' => '财政年度设定', 'pref_custom_fiscal_year_label' => '已启用', 'pref_custom_fiscal_year_help' => '在使用1月1日至12月31日以外作为会计年度的国家,您可开启此功能并指定财政年度的起迄日。', @@ -1130,6 +1132,11 @@ return [ 'interest_period_help' => 'This field is purely cosmetic and won\'t be calculated for you. As it turns out banks are very sneaky so Firefly III never gets it right.', 'store_new_liabilities_account' => '储存新债务', 'edit_liabilities_account' => '编辑债务 “:name”', + 'financial_control' => 'Financial control', + 'accounting' => 'Accounting', + 'automation' => 'Automation', + 'others' => 'Others', + 'classification' => 'Classification', // reports: 'report_default' => '自 :start 至 :end 的预设财务报表', diff --git a/resources/lang/zh_TW/firefly.php b/resources/lang/zh_TW/firefly.php index bda6ed3fcb..85d8372357 100644 --- a/resources/lang/zh_TW/firefly.php +++ b/resources/lang/zh_TW/firefly.php @@ -541,6 +541,8 @@ return [ 'pref_locale' => 'Locale settings', 'pref_languages_help' => 'Firefly III 支援多種語言,您想顯示哪一種?', 'pref_locale_help' => 'Firefly III allows you to set other local settings, like how currencies, numbers and dates are formatted. Entries in this list may not be supported by your system. Firefly III doesn\'t have the correct date settings for every locale; contact me for improvements.', + 'pref_locale_no_windows' => 'This feature may not work on Windows.', + 'pref_locale_no_docker' => 'The Docker image only has a small set of installed locales.', 'pref_custom_fiscal_year' => '財政年度設定', 'pref_custom_fiscal_year_label' => '已啟用', 'pref_custom_fiscal_year_help' => '有些國家/地區採用的會計年度有別於每年 1 月 1 日至 12 月 31 日,您可開啟此功能並指定財政年度的起迄日。', @@ -1130,6 +1132,11 @@ return [ 'interest_period_help' => 'This field is purely cosmetic and won\'t be calculated for you. As it turns out banks are very sneaky so Firefly III never gets it right.', 'store_new_liabilities_account' => '儲存新債務', 'edit_liabilities_account' => '編輯債務 “:name”', + 'financial_control' => 'Financial control', + 'accounting' => 'Accounting', + 'automation' => 'Automation', + 'others' => 'Others', + 'classification' => 'Classification', // reports: 'report_default' => '自 :start 至 :end 的預設財務報表', diff --git a/resources/views/v1/accounts/reconcile/transactions.twig b/resources/views/v1/accounts/reconcile/transactions.twig index 4e98432b0a..73944ce267 100644 --- a/resources/views/v1/accounts/reconcile/transactions.twig +++ b/resources/views/v1/accounts/reconcile/transactions.twig @@ -8,8 +8,8 @@ {{ trans('list.date') }} {{ trans('list.from') }} {{ trans('list.to') }} - - + + diff --git a/resources/views/v1/form/location.twig b/resources/views/v1/form/location.twig index fc05436cee..98f97c6e24 100644 --- a/resources/views/v1/form/location.twig +++ b/resources/views/v1/form/location.twig @@ -111,8 +111,8 @@ // make map: mymap = L.map('{{ name }}_map').setView({lat: locations.{{ name }}.latitude, lng: locations.{{ name }}.longitude}, locations.{{ name }}.zoom_level); - L.tileLayer('https://api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png?access_token={accessToken}', { - attribution: 'Map data © OpenStreetMap contributors, CC-BY-SA, Imagery © Mapbox', + L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png?access_token={accessToken}', { + attribution: '© OpenStreetMap contributors', maxZoom: 18, id: 'mapbox.streets', accessToken: mapboxToken diff --git a/resources/views/v1/index.twig b/resources/views/v1/index.twig index f9b51ec6fa..480041b5da 100644 --- a/resources/views/v1/index.twig +++ b/resources/views/v1/index.twig @@ -30,8 +30,10 @@ {# CATEGORIES #} @@ -44,8 +46,10 @@ diff --git a/resources/views/v1/partials/control-bar.twig b/resources/views/v1/partials/control-bar.twig index 40d25cbbe4..ae6cca0c5c 100644 --- a/resources/views/v1/partials/control-bar.twig +++ b/resources/views/v1/partials/control-bar.twig @@ -69,7 +69,7 @@
  • - +
  • - +
  • - + +
      +
    • {{ 'pref_locale_no_windows'|_ }}
    • +
    • {{ 'pref_locale_no_docker'|_ }}
    • +
    {# fiscal year #} diff --git a/resources/views/v1/reports/partials/journals-audit.twig b/resources/views/v1/reports/partials/journals-audit.twig index 3272acc386..d2838af694 100644 --- a/resources/views/v1/reports/partials/journals-audit.twig +++ b/resources/views/v1/reports/partials/journals-audit.twig @@ -14,8 +14,8 @@ {{ trans('list.from') }} {{ trans('list.to') }} - - + + {{ trans('list.bill') }} {# more optional fields (2x) #} diff --git a/yarn.lock b/yarn.lock index 1e217f1a88..de81d8e895 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9,28 +9,28 @@ dependencies: "@babel/highlight" "^7.8.3" -"@babel/compat-data@^7.8.6", "@babel/compat-data@^7.9.0": - version "7.9.0" - resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.9.0.tgz#04815556fc90b0c174abd2c0c1bb966faa036a6c" - integrity sha512-zeFQrr+284Ekvd9e7KAX954LkapWiOmQtsfHirhxqfdlX6MEC32iRE+pqUGlYIBchdevaCwvzxWGSy/YBNI85g== +"@babel/compat-data@^7.9.6": + version "7.9.6" + resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.9.6.tgz#3f604c40e420131affe6f2c8052e9a275ae2049b" + integrity sha512-5QPTrNen2bm7RBc7dsOmcA5hbrS4O2Vhmk5XOL4zWW/zD/hV0iinpefDlkm+tBBy8kDtFaaeEvmAqt+nURAV2g== dependencies: - browserslist "^4.9.1" + browserslist "^4.11.1" invariant "^2.2.4" semver "^5.5.0" "@babel/core@^7.0.0-beta.49", "@babel/core@^7.2.0": - version "7.9.0" - resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.9.0.tgz#ac977b538b77e132ff706f3b8a4dbad09c03c56e" - integrity sha512-kWc7L0fw1xwvI0zi8OKVBuxRVefwGOrKSQMvrQ3dW+bIIavBY3/NpXmpjMy7bQnLgwgzWQZ8TlM57YHpHNHz4w== + version "7.9.6" + resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.9.6.tgz#d9aa1f580abf3b2286ef40b6904d390904c63376" + integrity sha512-nD3deLvbsApbHAHttzIssYqgb883yU/d9roe4RZymBCDaZryMJDbptVpEpeQuRh4BJ+SYI8le9YGxKvFEvl1Wg== dependencies: "@babel/code-frame" "^7.8.3" - "@babel/generator" "^7.9.0" + "@babel/generator" "^7.9.6" "@babel/helper-module-transforms" "^7.9.0" - "@babel/helpers" "^7.9.0" - "@babel/parser" "^7.9.0" + "@babel/helpers" "^7.9.6" + "@babel/parser" "^7.9.6" "@babel/template" "^7.8.6" - "@babel/traverse" "^7.9.0" - "@babel/types" "^7.9.0" + "@babel/traverse" "^7.9.6" + "@babel/types" "^7.9.6" convert-source-map "^1.7.0" debug "^4.1.0" gensync "^1.0.0-beta.1" @@ -40,12 +40,12 @@ semver "^5.4.1" source-map "^0.5.0" -"@babel/generator@^7.9.0", "@babel/generator@^7.9.5": - version "7.9.5" - resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.9.5.tgz#27f0917741acc41e6eaaced6d68f96c3fa9afaf9" - integrity sha512-GbNIxVB3ZJe3tLeDm1HSn2AhuD/mVcyLDpgtLXa5tplmWrJdF/elxB56XNqCuD6szyNkDi6wuoKXln3QeBmCHQ== +"@babel/generator@^7.9.6": + version "7.9.6" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.9.6.tgz#5408c82ac5de98cda0d77d8124e99fa1f2170a43" + integrity sha512-+htwWKJbH2bL72HRluF8zumBxzuX0ZZUFl3JLNyoUjM/Ho8wnVpPXM6aUz8cfKDqQ/h7zHqKt4xzJteUosckqQ== dependencies: - "@babel/types" "^7.9.5" + "@babel/types" "^7.9.6" jsesc "^2.5.1" lodash "^4.17.13" source-map "^0.5.0" @@ -65,13 +65,13 @@ "@babel/helper-explode-assignable-expression" "^7.8.3" "@babel/types" "^7.8.3" -"@babel/helper-compilation-targets@^7.8.7": - version "7.8.7" - resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.8.7.tgz#dac1eea159c0e4bd46e309b5a1b04a66b53c1dde" - integrity sha512-4mWm8DCK2LugIS+p1yArqvG1Pf162upsIsjE7cNBjez+NjliQpVhj20obE520nao0o14DaTnFJv+Fw5a0JpoUw== +"@babel/helper-compilation-targets@^7.9.6": + version "7.9.6" + resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.9.6.tgz#1e05b7ccc9d38d2f8b40b458b380a04dcfadd38a" + integrity sha512-x2Nvu0igO0ejXzx09B/1fGBxY9NXQlBW2kZsSxCJft+KHN8t9XWzIvFxtPHnBOAXpVsdxZKZFbRUC8TsNKajMw== dependencies: - "@babel/compat-data" "^7.8.6" - browserslist "^4.9.1" + "@babel/compat-data" "^7.9.6" + browserslist "^4.11.1" invariant "^2.2.4" levenary "^1.1.1" semver "^5.5.0" @@ -183,14 +183,14 @@ "@babel/types" "^7.8.3" "@babel/helper-replace-supers@^7.8.3", "@babel/helper-replace-supers@^7.8.6": - version "7.8.6" - resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.8.6.tgz#5ada744fd5ad73203bf1d67459a27dcba67effc8" - integrity sha512-PeMArdA4Sv/Wf4zXwBKPqVj7n9UF/xg6slNRtZW84FM7JpE1CbG8B612FyM4cxrf4fMAMGO0kR7voy1ForHHFA== + version "7.9.6" + resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.9.6.tgz#03149d7e6a5586ab6764996cd31d6981a17e1444" + integrity sha512-qX+chbxkbArLyCImk3bWV+jB5gTNU/rsze+JlcF6Nf8tVTigPJSI1o1oBow/9Resa1yehUO9lIipsmu9oG4RzA== dependencies: "@babel/helper-member-expression-to-functions" "^7.8.3" "@babel/helper-optimise-call-expression" "^7.8.3" - "@babel/traverse" "^7.8.6" - "@babel/types" "^7.8.6" + "@babel/traverse" "^7.9.6" + "@babel/types" "^7.9.6" "@babel/helper-simple-access@^7.8.3": version "7.8.3" @@ -222,14 +222,14 @@ "@babel/traverse" "^7.8.3" "@babel/types" "^7.8.3" -"@babel/helpers@^7.9.0": - version "7.9.2" - resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.9.2.tgz#b42a81a811f1e7313b88cba8adc66b3d9ae6c09f" - integrity sha512-JwLvzlXVPjO8eU9c/wF9/zOIN7X6h8DYf7mG4CiFRZRvZNKEF5dQ3H3V+ASkHoIB3mWhatgl5ONhyqHRI6MppA== +"@babel/helpers@^7.9.6": + version "7.9.6" + resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.9.6.tgz#092c774743471d0bb6c7de3ad465ab3d3486d580" + integrity sha512-tI4bUbldloLcHWoRUMAj4g1bF313M/o6fBKhIsb3QnGVPwRm9JsNf/gqMkQ7zjqReABiffPV6RWj7hEglID5Iw== dependencies: "@babel/template" "^7.8.3" - "@babel/traverse" "^7.9.0" - "@babel/types" "^7.9.0" + "@babel/traverse" "^7.9.6" + "@babel/types" "^7.9.6" "@babel/highlight@^7.8.3": version "7.9.0" @@ -240,10 +240,10 @@ chalk "^2.0.0" js-tokens "^4.0.0" -"@babel/parser@^7.8.6", "@babel/parser@^7.9.0": - version "7.9.4" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.9.4.tgz#68a35e6b0319bbc014465be43828300113f2f2e8" - integrity sha512-bC49otXX6N0/VYhgOMh4gnP26E9xnDZK3TmbNpxYzzz9BQLBosQwfyOe9/cXUU3txYhTzLCbcqd5c8y/OmCjHA== +"@babel/parser@^7.8.6", "@babel/parser@^7.9.6": + version "7.9.6" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.9.6.tgz#3b1bbb30dabe600cd72db58720998376ff653bc7" + integrity sha512-AoeIEJn8vt+d/6+PXDRPaksYhnlbMIiejioBZvvMQsOjW/JYK6k/0dKnvvP3EhK5GfMBWDPtrxRtegWdAcdq9Q== "@babel/plugin-proposal-async-generator-functions@^7.8.3": version "7.8.3" @@ -286,10 +286,10 @@ "@babel/helper-plugin-utils" "^7.8.3" "@babel/plugin-syntax-numeric-separator" "^7.8.3" -"@babel/plugin-proposal-object-rest-spread@^7.2.0", "@babel/plugin-proposal-object-rest-spread@^7.9.5": - version "7.9.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.9.5.tgz#3fd65911306d8746014ec0d0cf78f0e39a149116" - integrity sha512-VP2oXvAf7KCYTthbUHwBlewbl1Iq059f6seJGsxMizaCdgHIeczOr7FBqELhSqfkIl04Fi8okzWzl63UKbQmmg== +"@babel/plugin-proposal-object-rest-spread@^7.2.0", "@babel/plugin-proposal-object-rest-spread@^7.9.6": + version "7.9.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.9.6.tgz#7a093586fcb18b08266eb1a7177da671ac575b63" + integrity sha512-Ga6/fhGqA9Hj+y6whNpPv8psyaK5xzrQwSPsGPloVkvmH+PqW1ixdnfJ9uIO06OjQNYol3PMnfmJ8vfZtkzF+A== dependencies: "@babel/helper-plugin-utils" "^7.8.3" "@babel/plugin-syntax-object-rest-spread" "^7.8.0" @@ -493,34 +493,34 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.3" -"@babel/plugin-transform-modules-amd@^7.9.0": - version "7.9.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.9.0.tgz#19755ee721912cf5bb04c07d50280af3484efef4" - integrity sha512-vZgDDF003B14O8zJy0XXLnPH4sg+9X5hFBBGN1V+B2rgrB+J2xIypSN6Rk9imB2hSTHQi5OHLrFWsZab1GMk+Q== +"@babel/plugin-transform-modules-amd@^7.9.6": + version "7.9.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.9.6.tgz#8539ec42c153d12ea3836e0e3ac30d5aae7b258e" + integrity sha512-zoT0kgC3EixAyIAU+9vfaUVKTv9IxBDSabgHoUCBP6FqEJ+iNiN7ip7NBKcYqbfUDfuC2mFCbM7vbu4qJgOnDw== dependencies: "@babel/helper-module-transforms" "^7.9.0" "@babel/helper-plugin-utils" "^7.8.3" - babel-plugin-dynamic-import-node "^2.3.0" + babel-plugin-dynamic-import-node "^2.3.3" -"@babel/plugin-transform-modules-commonjs@^7.9.0": - version "7.9.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.9.0.tgz#e3e72f4cbc9b4a260e30be0ea59bdf5a39748940" - integrity sha512-qzlCrLnKqio4SlgJ6FMMLBe4bySNis8DFn1VkGmOcxG9gqEyPIOzeQrA//u0HAKrWpJlpZbZMPB1n/OPa4+n8g== +"@babel/plugin-transform-modules-commonjs@^7.9.6": + version "7.9.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.9.6.tgz#64b7474a4279ee588cacd1906695ca721687c277" + integrity sha512-7H25fSlLcn+iYimmsNe3uK1at79IE6SKW9q0/QeEHTMC9MdOZ+4bA+T1VFB5fgOqBWoqlifXRzYD0JPdmIrgSQ== dependencies: "@babel/helper-module-transforms" "^7.9.0" "@babel/helper-plugin-utils" "^7.8.3" "@babel/helper-simple-access" "^7.8.3" - babel-plugin-dynamic-import-node "^2.3.0" + babel-plugin-dynamic-import-node "^2.3.3" -"@babel/plugin-transform-modules-systemjs@^7.9.0": - version "7.9.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.9.0.tgz#e9fd46a296fc91e009b64e07ddaa86d6f0edeb90" - integrity sha512-FsiAv/nao/ud2ZWy4wFacoLOm5uxl0ExSQ7ErvP7jpoihLR6Cq90ilOFyX9UXct3rbtKsAiZ9kFt5XGfPe/5SQ== +"@babel/plugin-transform-modules-systemjs@^7.9.6": + version "7.9.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.9.6.tgz#207f1461c78a231d5337a92140e52422510d81a4" + integrity sha512-NW5XQuW3N2tTHim8e1b7qGy7s0kZ2OH3m5octc49K1SdAKGxYxeIx7hiIz05kS1R2R+hOWcsr1eYwcGhrdHsrg== dependencies: "@babel/helper-hoist-variables" "^7.8.3" "@babel/helper-module-transforms" "^7.9.0" "@babel/helper-plugin-utils" "^7.8.3" - babel-plugin-dynamic-import-node "^2.3.0" + babel-plugin-dynamic-import-node "^2.3.3" "@babel/plugin-transform-modules-umd@^7.9.0": version "7.9.0" @@ -582,9 +582,9 @@ "@babel/helper-plugin-utils" "^7.8.3" "@babel/plugin-transform-runtime@^7.2.0": - version "7.9.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.9.0.tgz#45468c0ae74cc13204e1d3b1f4ce6ee83258af0b" - integrity sha512-pUu9VSf3kI1OqbWINQ7MaugnitRss1z533436waNXp+0N3ur3zfut37sXiQMxkuCF4VUjwZucen/quskCh7NHw== + version "7.9.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.9.6.tgz#3ba804438ad0d880a17bca5eaa0cdf1edeedb2fd" + integrity sha512-qcmiECD0mYOjOIt8YHNsAP1SxPooC/rDmfmiSK9BNY72EitdSc7l44WTEklaWuFtbOEBjNhWWyph/kOImbNJ4w== dependencies: "@babel/helper-module-imports" "^7.8.3" "@babel/helper-plugin-utils" "^7.8.3" @@ -637,12 +637,12 @@ "@babel/helper-plugin-utils" "^7.8.3" "@babel/preset-env@^7.2.0": - version "7.9.5" - resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.9.5.tgz#8ddc76039bc45b774b19e2fc548f6807d8a8919f" - integrity sha512-eWGYeADTlPJH+wq1F0wNfPbVS1w1wtmMJiYk55Td5Yu28AsdR9AsC97sZ0Qq8fHqQuslVSIYSGJMcblr345GfQ== + version "7.9.6" + resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.9.6.tgz#df063b276c6455ec6fcfc6e53aacc38da9b0aea6" + integrity sha512-0gQJ9RTzO0heXOhzftog+a/WyOuqMrAIugVYxMYf83gh1CQaQDjMtsOpqOwXyDL/5JcWsrCm8l4ju8QC97O7EQ== dependencies: - "@babel/compat-data" "^7.9.0" - "@babel/helper-compilation-targets" "^7.8.7" + "@babel/compat-data" "^7.9.6" + "@babel/helper-compilation-targets" "^7.9.6" "@babel/helper-module-imports" "^7.8.3" "@babel/helper-plugin-utils" "^7.8.3" "@babel/plugin-proposal-async-generator-functions" "^7.8.3" @@ -650,7 +650,7 @@ "@babel/plugin-proposal-json-strings" "^7.8.3" "@babel/plugin-proposal-nullish-coalescing-operator" "^7.8.3" "@babel/plugin-proposal-numeric-separator" "^7.8.3" - "@babel/plugin-proposal-object-rest-spread" "^7.9.5" + "@babel/plugin-proposal-object-rest-spread" "^7.9.6" "@babel/plugin-proposal-optional-catch-binding" "^7.8.3" "@babel/plugin-proposal-optional-chaining" "^7.9.0" "@babel/plugin-proposal-unicode-property-regex" "^7.8.3" @@ -677,9 +677,9 @@ "@babel/plugin-transform-function-name" "^7.8.3" "@babel/plugin-transform-literals" "^7.8.3" "@babel/plugin-transform-member-expression-literals" "^7.8.3" - "@babel/plugin-transform-modules-amd" "^7.9.0" - "@babel/plugin-transform-modules-commonjs" "^7.9.0" - "@babel/plugin-transform-modules-systemjs" "^7.9.0" + "@babel/plugin-transform-modules-amd" "^7.9.6" + "@babel/plugin-transform-modules-commonjs" "^7.9.6" + "@babel/plugin-transform-modules-systemjs" "^7.9.6" "@babel/plugin-transform-modules-umd" "^7.9.0" "@babel/plugin-transform-named-capturing-groups-regex" "^7.8.3" "@babel/plugin-transform-new-target" "^7.8.3" @@ -695,8 +695,8 @@ "@babel/plugin-transform-typeof-symbol" "^7.8.4" "@babel/plugin-transform-unicode-regex" "^7.8.3" "@babel/preset-modules" "^0.1.3" - "@babel/types" "^7.9.5" - browserslist "^4.9.1" + "@babel/types" "^7.9.6" + browserslist "^4.11.1" core-js-compat "^3.6.2" invariant "^2.2.2" levenary "^1.1.1" @@ -714,9 +714,9 @@ esutils "^2.0.2" "@babel/runtime@^7.2.0", "@babel/runtime@^7.8.4": - version "7.9.2" - resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.9.2.tgz#d90df0583a3a252f09aaa619665367bae518db06" - integrity sha512-NE2DtOdufG7R5vnfQUTehdTfNycfUANEtCa9PssN9O/xmTzP4E08UI797ixaei6hBEVL9BI/PsdJS5x7mWoB9Q== + version "7.9.6" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.9.6.tgz#a9102eb5cadedf3f31d08a9ecf294af7827ea29f" + integrity sha512-64AF1xY3OAkFHqOb9s4jpgk1Mm5vDZ4L3acHvAml+53nO1XbXLuDodsVpO4OIUsmemlUHMxNdYMNJmsvOwLrvQ== dependencies: regenerator-runtime "^0.13.4" @@ -729,25 +729,25 @@ "@babel/parser" "^7.8.6" "@babel/types" "^7.8.6" -"@babel/traverse@^7.8.3", "@babel/traverse@^7.8.6", "@babel/traverse@^7.9.0": - version "7.9.5" - resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.9.5.tgz#6e7c56b44e2ac7011a948c21e283ddd9d9db97a2" - integrity sha512-c4gH3jsvSuGUezlP6rzSJ6jf8fYjLj3hsMZRx/nX0h+fmHN0w+ekubRrHPqnMec0meycA2nwCsJ7dC8IPem2FQ== +"@babel/traverse@^7.8.3", "@babel/traverse@^7.9.6": + version "7.9.6" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.9.6.tgz#5540d7577697bf619cc57b92aa0f1c231a94f442" + integrity sha512-b3rAHSjbxy6VEAvlxM8OV/0X4XrG72zoxme6q1MOoe2vd0bEc+TwayhuC1+Dfgqh1QEG+pj7atQqvUprHIccsg== dependencies: "@babel/code-frame" "^7.8.3" - "@babel/generator" "^7.9.5" + "@babel/generator" "^7.9.6" "@babel/helper-function-name" "^7.9.5" "@babel/helper-split-export-declaration" "^7.8.3" - "@babel/parser" "^7.9.0" - "@babel/types" "^7.9.5" + "@babel/parser" "^7.9.6" + "@babel/types" "^7.9.6" debug "^4.1.0" globals "^11.1.0" lodash "^4.17.13" -"@babel/types@^7.4.4", "@babel/types@^7.8.3", "@babel/types@^7.8.6", "@babel/types@^7.9.0", "@babel/types@^7.9.5": - version "7.9.5" - resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.9.5.tgz#89231f82915a8a566a703b3b20133f73da6b9444" - integrity sha512-XjnvNqenk818r5zMaba+sLQjnbda31UfUURv3ei0qPQw4u+j2jMyJ5b11y8ZHYTRSI3NnInQkkkRT4fLqqPdHg== +"@babel/types@^7.4.4", "@babel/types@^7.8.3", "@babel/types@^7.8.6", "@babel/types@^7.9.0", "@babel/types@^7.9.5", "@babel/types@^7.9.6": + version "7.9.6" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.9.6.tgz#2c5502b427251e9de1bd2dff95add646d95cc9f7" + integrity sha512-qxXzvBO//jO9ZnoasKF1uJzHd2+M6Q2ZPIVfnFps8JJvXy0ZBbwbNOmE6SGIY5XOY6d1Bo5lb9d9RJ8nv3WSeA== dependencies: "@babel/helper-validator-identifier" "^7.9.5" lodash "^4.17.13" @@ -793,9 +793,9 @@ integrity sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA== "@types/node@*": - version "13.13.2" - resolved "https://registry.yarnpkg.com/@types/node/-/node-13.13.2.tgz#160d82623610db590a64e8ca81784e11117e5a54" - integrity sha512-LB2R1Oyhpg8gu4SON/mfforE525+Hi/M1ineICEDftqNVTyFg1aRIeGuTvXAoWHc4nbrFncWtJgMmoyRvuGh7A== + version "13.13.4" + resolved "https://registry.yarnpkg.com/@types/node/-/node-13.13.4.tgz#1581d6c16e3d4803eb079c87d4ac893ee7501c2c" + integrity sha512-x26ur3dSXgv5AwKS0lNfbjpCakGIduWU1DU91Zz58ONRWrIKGunmZBNv4P7N+e27sJkiGDsw/3fT4AtsqQBrBA== "@types/q@^1.5.1": version "1.5.2" @@ -1235,7 +1235,7 @@ babel-merge@^2.0.1: deepmerge "^2.1.0" object.omit "^3.0.0" -babel-plugin-dynamic-import-node@^2.3.0: +babel-plugin-dynamic-import-node@^2.3.3: version "2.3.3" resolved "https://registry.yarnpkg.com/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.3.3.tgz#84fda19c976ec5c6defef57f9427b3def66e17a3" integrity sha512-jZVI+s9Zg3IqA/kdi0i6UDCybUI3aSBLnglhYbSSjKlV7yF1F/5LWv8MakQmvYpnbJDS6fcBL2KzHSxNCMtWSQ== @@ -1423,7 +1423,7 @@ browserify-zlib@^0.2.0: dependencies: pako "~1.0.5" -browserslist@^4.0.0, browserslist@^4.11.1, browserslist@^4.8.5, browserslist@^4.9.1: +browserslist@^4.0.0, browserslist@^4.11.1, browserslist@^4.8.5: version "4.12.0" resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.12.0.tgz#06c6d5715a1ede6c51fc39ff67fd647f740b656d" integrity sha512-UH2GkcEDSI0k/lRkuDSzFl9ZZ87skSy9w2XAn1MsZnL+4c4rqbBd3e82UWHbYDpztABrPBhZsTEeuxVfHppqDg== @@ -1580,9 +1580,9 @@ caniuse-api@^3.0.0: lodash.uniq "^4.5.0" caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001039, caniuse-lite@^1.0.30001043: - version "1.0.30001048" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001048.tgz#4bb4f1bc2eb304e5e1154da80b93dee3f1cf447e" - integrity sha512-g1iSHKVxornw0K8LG9LLdf+Fxnv7T1Z+mMsf0/YYLclQX4Cd522Ap0Lrw6NFqHgezit78dtyWxzlV2Xfc7vgRg== + version "1.0.30001050" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001050.tgz#11218af4b6b85dc1089536f31e10e3181e849e71" + integrity sha512-OvGZqalCwmapci76ISq5q4kuAskb1ebqF3FEQBv1LE1kWht0pojlDDqzFlmk5jgYkuZN7MNZ1n+ULwe/7MaDNQ== chalk@2.4.2, chalk@^2.0.0, chalk@^2.4.1, chalk@^2.4.2: version "2.4.2" @@ -2397,9 +2397,9 @@ ee-first@1.1.1: integrity sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0= electron-to-chromium@^1.3.413: - version "1.3.418" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.418.tgz#840021191f466b803a873e154113620c9f53cec6" - integrity sha512-i2QrQtHes5fK/F9QGG5XacM5WKEuR322fxTYF9e8O9Gu0mc0WmjjwGpV8c7Htso6Zf2Di18lc3SIPxmMeRFBug== + version "1.3.427" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.427.tgz#ea43d02908a8c71f47ebb46e09de5a3cf8236f04" + integrity sha512-/rG5G7Opcw68/Yrb4qYkz07h3bESVRJjUl4X/FrKLXzoUJleKm6D7K7rTTz8V5LUWnd+BbTOyxJX2XprRqHD8A== elliptic@^6.0.0: version "6.5.2" @@ -3095,9 +3095,9 @@ globs@^0.1.2: glob "^7.1.1" graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.2.2: - version "4.2.3" - resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.3.tgz#4a12ff1b60376ef09862c2093edd908328be8423" - integrity sha512-a30VEBm4PEdx1dRB7MFK7BejejvCvBronbLjht+sHuGYj8PHs7M/5Z+rt5lw551vZ7yfTCj4Vuyy3mSJytDWRQ== + version "4.2.4" + resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.4.tgz#2256bde14d3632958c465ebc96dc467ca07a29fb" + integrity sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw== growly@^1.3.0: version "1.3.0" @@ -3175,12 +3175,13 @@ has@^1.0.0, has@^1.0.3: function-bind "^1.1.1" hash-base@^3.0.0: - version "3.0.4" - resolved "https://registry.yarnpkg.com/hash-base/-/hash-base-3.0.4.tgz#5fc8686847ecd73499403319a6b0a3f3f6ae4918" - integrity sha1-X8hoaEfs1zSZQDMZprCj8/auSRg= + version "3.1.0" + resolved "https://registry.yarnpkg.com/hash-base/-/hash-base-3.1.0.tgz#55c381d9e06e1d2997a883b4a3fddfe7f0d3af33" + integrity sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA== dependencies: - inherits "^2.0.1" - safe-buffer "^5.0.1" + inherits "^2.0.4" + readable-stream "^3.6.0" + safe-buffer "^5.2.0" hash-sum@^1.0.2: version "1.0.2" @@ -3459,7 +3460,7 @@ inflight@^1.0.4: once "^1.3.0" wrappy "1" -inherits@2, inherits@2.0.4, inherits@^2.0.1, inherits@^2.0.3, inherits@~2.0.1, inherits@~2.0.3: +inherits@2, inherits@2.0.4, inherits@^2.0.1, inherits@^2.0.3, inherits@^2.0.4, inherits@~2.0.1, inherits@~2.0.3: version "2.0.4" resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== @@ -3779,9 +3780,9 @@ isobject@^3.0.0, isobject@^3.0.1: integrity sha1-TkMekrEalzFjaqH5yNHMvP2reN8= jest-worker@^25.4.0: - version "25.4.0" - resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-25.4.0.tgz#ee0e2ceee5a36ecddf5172d6d7e0ab00df157384" - integrity sha512-ghAs/1FtfYpMmYQ0AHqxV62XPvKdUDIBBApMZfly+E9JEmYh2K45G0R5dWxx986RN12pRCxsViwQVtGl+N4whw== + version "25.5.0" + resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-25.5.0.tgz#2611d071b79cea0f43ee57a3d118593ac1547db1" + integrity sha512-/dsSmUkIy5EBGfv/IjjqmFxrNAUpBERfGs1oHROyD7yxjG/w+t0GOJDX8O1k32ySmd7+a5IhnJU2qQFcJ4n1vw== dependencies: merge-stream "^2.0.0" supports-color "^7.0.0" @@ -4219,9 +4220,9 @@ mime@1.6.0: integrity sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg== mime@^2.4.4: - version "2.4.4" - resolved "https://registry.yarnpkg.com/mime/-/mime-2.4.4.tgz#bd7b91135fc6b01cde3e9bae33d659b63d8857e5" - integrity sha512-LRxmNwziLPT828z+4YkNzloCFC2YM4wrB99k+AV5ZbEyfGNWfG8SO1FUXLmLDBSo89NrJZ4DIWeLjy1CHGhMGA== + version "2.4.5" + resolved "https://registry.yarnpkg.com/mime/-/mime-2.4.5.tgz#d8de2ecb92982dedbb6541c9b6841d7f218ea009" + integrity sha512-3hQhEUF027BuxZjQA3s7rIv/7VCQPa27hN9u9g87sEkWaKwQPuXOkVKtOeiyUrnWqTDiOs8Ed2rwg733mB0R5w== mimic-fn@^2.0.0: version "2.1.0" @@ -4979,9 +4980,9 @@ pkg-up@^2.0.0: find-up "^2.1.0" portfinder@^1.0.25: - version "1.0.25" - resolved "https://registry.yarnpkg.com/portfinder/-/portfinder-1.0.25.tgz#254fd337ffba869f4b9d37edc298059cb4d35eca" - integrity sha512-6ElJnHBbxVA1XSLgBp7G1FiCkQdlqGzuF7DswL5tcea+E8UpuvPU7beVAjjRwCioTS9ZluNbu+ZyRvgTsmqEBg== + version "1.0.26" + resolved "https://registry.yarnpkg.com/portfinder/-/portfinder-1.0.26.tgz#475658d56ca30bed72ac7f1378ed350bd1b64e70" + integrity sha512-Xi7mKxJHHMI3rIUrnm/jjUgwhbYMkp/XKEcZX3aG4BrumLpq3nmoQMX+ClYnDZnZ/New7IatC1no5RX0zo1vXQ== dependencies: async "^2.6.2" debug "^3.1.1" @@ -5312,9 +5313,9 @@ postcss-value-parser@^3.0.0, postcss-value-parser@^3.3.0: integrity sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ== postcss-value-parser@^4.0.2, postcss-value-parser@^4.0.3: - version "4.0.3" - resolved "https://registry.yarnpkg.com/postcss-value-parser/-/postcss-value-parser-4.0.3.tgz#651ff4593aa9eda8d5d0d66593a2417aeaeb325d" - integrity sha512-N7h4pG+Nnu5BEIzyeaaIYWs0LI5XC40OrRh5L60z0QjFsqGWcHcbkBvpe1WYpcIS9yQ8sOi/vIPt1ejQCrMVrg== + version "4.1.0" + resolved "https://registry.yarnpkg.com/postcss-value-parser/-/postcss-value-parser-4.1.0.tgz#443f6a20ced6481a2bda4fa8532a6e55d789a2cb" + integrity sha512-97DXOFbQJhk71ne5/Mt6cOu6yxsSfM0QGQyl0L25Gca4yGWEGJaig7l7gbCX623VqTBNGLRLaVUCnNkcedlRSQ== postcss@^6.0.1, postcss@^6.0.23: version "6.0.23" @@ -5326,9 +5327,9 @@ postcss@^6.0.1, postcss@^6.0.23: supports-color "^5.4.0" postcss@^7.0.0, postcss@^7.0.1, postcss@^7.0.14, postcss@^7.0.27: - version "7.0.27" - resolved "https://registry.yarnpkg.com/postcss/-/postcss-7.0.27.tgz#cc67cdc6b0daa375105b7c424a85567345fc54d9" - integrity sha512-WuQETPMcW9Uf1/22HWUWP9lgsIC+KEHg2kozMflKjbeUtw9ujvFX6QmIfozaErDkmLWS9WEnEdEe6Uo9/BNTdQ== + version "7.0.28" + resolved "https://registry.yarnpkg.com/postcss/-/postcss-7.0.28.tgz#d349ced7743475717ba91f6810efb58c51fb5dbb" + integrity sha512-YU6nVhyWIsVtlNlnAj1fHTsUKW5qxm3KEgzq2Jj6KTEFOTK8QWR12eIDvrlWhiSTK8WIBFTBhOJV4DY6dUuEbw== dependencies: chalk "^2.4.2" source-map "^0.6.1" @@ -5507,7 +5508,7 @@ rc@^1.2.7: string_decoder "~1.1.1" util-deprecate "~1.0.1" -readable-stream@^3.0.6: +readable-stream@^3.0.6, readable-stream@^3.6.0: version "3.6.0" resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.0.tgz#337bbda3adc0706bd3e024426a286d4b4b2c9198" integrity sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA== @@ -5621,9 +5622,9 @@ repeat-string@^1.6.1: integrity sha1-jcrkcOHIirwtYA//Sndihtp15jc= replace-ext@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/replace-ext/-/replace-ext-1.0.0.tgz#de63128373fcbf7c3ccfa4de5a480c45a67958eb" - integrity sha1-3mMSg3P8v3w8z6TeWkgMRaZ5WOs= + version "1.0.1" + resolved "https://registry.yarnpkg.com/replace-ext/-/replace-ext-1.0.1.tgz#2d6d996d04a15855d967443631dd5f77825b016a" + integrity sha512-yD5BHCe7quCgBph4rMQ+0KkIRKwWCrHDOX1p1Gp6HwjPM5kVoCdKGNhN7ydqqsX6lJEnQDKZ/tFMiEdQ1dvPEw== require-directory@^2.1.1: version "2.1.1" @@ -5724,7 +5725,7 @@ safe-buffer@5.1.2, safe-buffer@~5.1.0, safe-buffer@~5.1.1: resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== -safe-buffer@>=5.1.0, safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, safe-buffer@^5.1.2, safe-buffer@~5.2.0: +safe-buffer@>=5.1.0, safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, safe-buffer@^5.1.2, safe-buffer@^5.2.0, safe-buffer@~5.2.0: version "5.2.0" resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.0.tgz#b74daec49b1148f88c64b68d49b1e815c1f2f519" integrity sha512-fZEwUGbVl7kouZs1jCdMLdt95hdIv0ZeHg6L7qPeciMZhZ+/gdesW4wgTARkrFWEpspjEATAzUGPG8N2jJiwbg== @@ -6341,9 +6342,9 @@ terser@^3.11.0: source-map-support "~0.5.10" terser@^4.1.2, terser@^4.6.12: - version "4.6.12" - resolved "https://registry.yarnpkg.com/terser/-/terser-4.6.12.tgz#44b98aef8703fdb09a3491bf79b43faffc5b4fee" - integrity sha512-fnIwuaKjFPANG6MAixC/k1TDtnl1YlPLUlLVIxxGZUn1gfUx2+l3/zGNB72wya+lgsb50QBi2tUV75RiODwnww== + version "4.6.13" + resolved "https://registry.yarnpkg.com/terser/-/terser-4.6.13.tgz#e879a7364a5e0db52ba4891ecde007422c56a916" + integrity sha512-wMvqukYgVpQlymbnNbabVZbtM6PN63AzqexpwJL8tbh/mRT9LE5o+ruVduAGL7D6Fpjl+Q+06U5I9Ul82odAhw== dependencies: commander "^2.20.0" source-map "~0.6.1" @@ -6650,14 +6651,14 @@ vue-hot-reload-api@^2.3.0: integrity sha512-BXq3jwIagosjgNVae6tkHzzIk6a8MHFtzAdwhnV5VlvPTFxDCvIttgSiHWjdGoTJvXtmRu5HacExfdarRcFhog== vue-i18n@^8.15: - version "8.17.3" - resolved "https://registry.yarnpkg.com/vue-i18n/-/vue-i18n-8.17.3.tgz#f366082d5784c3c35e8ffda733cb3f3990a3900d" - integrity sha512-sWjGOL7dXo6rYcPQmlY8FN/beLxq2aCnTZMSxfW0yW78rRGpqWrqXJURH56kvMYCnyNCepBjGWEEW0rbFiig5Q== + version "8.17.4" + resolved "https://registry.yarnpkg.com/vue-i18n/-/vue-i18n-8.17.4.tgz#d314df7a3fa0780f86cff46a02752668f89b3935" + integrity sha512-wpk/drIkPf6gHCtvHc8zAZ1nsWBZ+/OOJYtJxqhYD6CKT0FJAG5oypwgF9kABt30FBWhl8NEb/QY+vaaBARlFg== vue-loader@^15.4.2: - version "15.9.1" - resolved "https://registry.yarnpkg.com/vue-loader/-/vue-loader-15.9.1.tgz#bd2ab8f3d281e51d7b81d15390a58424d142243e" - integrity sha512-IaPU2KOPjs/QjMlxFs/TiTtQUSbftQ7lsAvoxe21rtcQohsMhx+1AltXCNhZIpIn46PtODiAgz+o8RbMpKtmJw== + version "15.9.2" + resolved "https://registry.yarnpkg.com/vue-loader/-/vue-loader-15.9.2.tgz#ae01f5f4c9c6a04bff4483912e72ef91a402c1ae" + integrity sha512-oXBubaY//CYEISBlHX+c2YPJbmOH68xXPXjFv4MAgPqQvUsnjrBAjCJi8HXZ/r/yfn0tPL5VZj1Zcp8mJPI8VA== dependencies: "@vue/component-compiler-utils" "^3.1.0" hash-sum "^1.0.2"