diff --git a/README.md b/README.md index 80d2c44..1aa3bed 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,7 @@ - disable/enable buttons depend on the usage to avoid noise & keep the user focused - shortcuts - | navigation | button | keyboard | mouse | + | navigation | button | keyboard |mouse (click) | |---------------------|-----------------------------|-----------|--------------| | | upload *(toolbar)* | u | | | | refresh *(toolbar)* | r | | @@ -82,19 +82,19 @@ | | delete *(toolbar)* | d/del | | | | bulk select *(toolbar)* | b | | | | bulk select all *(toolbar)* | a | | - | | toggle *(sidebar)* | t | click | + | | toggle *(sidebar)* | t | | | | file rename *(modal)* | enter | | | | file delete *(modal)* | enter | | | | create new folder *(modal)* | enter | | | select next | | right | | | select prev | | left | | - | selct first | | home | | + | select first | | home | | | select last | | end | | | open folder | | enter | double click | - | go back to prev dir | folderName *(breadcrumb)* | backspace | click | - | play/pause | player controller | space | | - | view image | sidebar image | space | click | - | hide image | | space/esc | click | + | go back to prev dir | folderName *(breadcrumb)* | backspace | | + | play/pause |player controller *(sidebar)*| space | | + | view image | image *(sidebar)* | space | | + | hide image | image *(light-box)* | space/esc | | ## Config **config/mediaManager.php** @@ -109,17 +109,17 @@ return [ /* * filesystem disk */ - 'storage_disk'=> 'public', + 'storage_disk' => 'public', /* * remove any file special chars except (. _ -) */ - 'allowed_fileNames_chars'=> '.\_\-', + 'allowed_fileNames_chars' => '.\_\-', /* * remove any folder special chars except (_ -) */ - 'allowed_folderNames_chars'=> '\_\-', + 'allowed_folderNames_chars' => '\_\-', /* * disallow uploading files with the following mimetypes @@ -130,7 +130,7 @@ return [ /* * when file names gets cleand up */ - 'sanitized_text'=> 'sanitized', + 'sanitized_text' => 'sanitized', /* * css farmework @@ -141,13 +141,14 @@ return [ ## Usage -#### - Simple -- visit `http://127.0.0.1:8000/media` -- open `views/vendor/MediaManager/bulma/media.blade.php` and make any changes you may need. - + to use a different css framework ex."bootstrap", you'll have to edit the vue-components as well. +- For everyone that hate ***npm*** & possibly the whole js ecosystem **"YOU ARE NOT ALONE"** but maintaining a seperate dist copy is a tedious job for me, so if you need a help installing it, here are some steps to get you going + + install npm https://www.npmjs.com/get-npm + + (optional) install yarn https://yarnpkg.com/lang/en/docs/install/ + + follow the steps below :clap: :muscle: :dancers: -#### - Advanced -- install javascript dependencies +--- + +- install dependencies ```bash yarn add vue dropzone keycode vue-tippy vue2-filters vue-lightbox vuemit @@ -164,11 +165,13 @@ npm install vue dropzone keycode vue-tippy vue2-filters vue-lightbox vuemit > - duplicate `assets/vendor/MediaManager/sass/bulma` and rename it to the framework you want ex.`bootstrap` > - set `MIX_MM_FRAMEWORK` to the framework name ex.`MIX_MM_FRAMEWORK=bootstrap` > - start editing the new files. -> - run `npm run watch` to compile your `js/css` files. -- at last, simply add this one liner to your main js file +- add this one liner to your main js file and run `npm run watch` to compile your `js/css` files. + + if you are having issues with `npm run production`, [Check](https://ctf0.wordpress.com/2017/09/12/laravel-mix-es6/) ```js +// ex. "resources/assets/js/app.js" + require('./../vendor/MediaManager/js/media') new Vue({ @@ -178,6 +181,6 @@ new Vue({ ## ToDo "ANY HELP IS APPRECIATED" -* [ ] Add Support To Other Css Frameworks. -* [ ] Add Support For Editors usage "tinymce / Ckeditor/ etc". -* [ ] Fix `sortBy:size` To Work Properly With (kb vs Mb). +* Add Support To Other Css Frameworks. +* Add Support For Editors usage "tinymce / Ckeditor/ etc..". +* Fix `sortBy:size` To Work Properly With (kb vs Mb). diff --git a/src/Commands/MMAppend.php b/src/Commands/MMAppend.php index d6e877d..c181e09 100644 --- a/src/Commands/MMAppend.php +++ b/src/Commands/MMAppend.php @@ -19,7 +19,7 @@ class MMAppend extends Command * * @var string */ - protected $description = "Append routes to 'routes/web.php', Append assets compiling to 'webpack.mix.js'"; + protected $description = 'Auto Add MediaManager (routes, assets, env)'; /** * Create a new command instance. @@ -50,7 +50,7 @@ public function handle() $mix_file = base_path('webpack.mix.js'); $search = 'MediaManager'; if (File::exists($mix_file) && !str_contains(File::get($mix_file), $search)) { - $data = "\n// Media-Manager\nrequire('dotenv').config()\nmix.sass('resources/assets/vendor/MediaManager/sass/' + process.env.MIX_MM_FRAMEWORK + '/media.scss', 'public/assets/vendor/MediaManager/style.css')\n\t.version();"; + $data = "\n// Media-Manager\nrequire('dotenv').config()\nmix.sass('resources/assets/vendor/MediaManager/sass/' + process.env.MIX_MM_FRAMEWORK + '/media.scss', 'public/assets/vendor/MediaManager/style.css').version();"; File::append($mix_file, $data); $this->comment("['mix.sass(..).version()'] added to [webpack.mix.js]"); diff --git a/src/dist/BM/octopus.json b/src/dist/BM/octopus.json new file mode 100644 index 0000000..be62b59 --- /dev/null +++ b/src/dist/BM/octopus.json @@ -0,0 +1 @@ +{"v":"4.5.7","fr":29.9700012207031,"ip":30.0000012219251,"op":160.000006516934,"w":800,"h":600,"ddd":0,"assets":[{"id":"comp_0","layers":[{"ddd":0,"ind":0,"ty":4,"nm":"middle","ks":{"o":{"a":0,"k":100},"r":{"a":0,"k":0},"p":{"a":0,"k":[150.375,266,0]},"a":{"a":0,"k":[-3.5,-51,0]},"s":{"a":0,"k":[100,100,100]}},"ao":0,"shapes":[{"ind":0,"ty":"sh","ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-4.875,-167.5],[-4.125,-37]],"c":false}},"nm":"Path 1","mn":"ADBE Vector Shape - Group"},{"ty":"tm","s":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.581],"y":[0]},"n":["0p667_1_0p581_0"],"t":20,"s":[40],"e":[80]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"n":["0p667_1_0p333_0"],"t":40,"s":[80],"e":[74]},{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.333],"y":[0]},"n":["0p833_1_0p333_0"],"t":50,"s":[74],"e":[80]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.167],"y":[0]},"n":["0p667_1_0p167_0"],"t":70,"s":[80],"e":[74]},{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.333],"y":[0]},"n":["0p833_1_0p333_0"],"t":90,"s":[74],"e":[80]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.167],"y":[0]},"n":["0p667_1_0p167_0"],"t":110,"s":[80],"e":[74]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"n":["0p667_1_0p333_0"],"t":130,"s":[74],"e":[80]},{"i":{"x":[0.364],"y":[1]},"o":{"x":[0.333],"y":[0]},"n":["0p364_1_0p333_0"],"t":137,"s":[80],"e":[40]},{"t":145.000005905971}],"ix":1},"e":{"a":1,"k":[{"i":{"x":[0.674],"y":[1]},"o":{"x":[0.697],"y":[0]},"n":["0p674_1_0p697_0"],"t":20,"s":[80],"e":[100]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.333],"y":[0.333]},"n":["0p833_0p833_0p333_0p333"],"t":36,"s":[100],"e":[100]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.333],"y":[0.333]},"n":["0p833_0p833_0p333_0p333"],"t":50,"s":[100],"e":[100]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.333],"y":[0.333]},"n":["0p833_0p833_0p333_0p333"],"t":130,"s":[100],"e":[100]},{"i":{"x":[0.323],"y":[1]},"o":{"x":[0.333],"y":[0]},"n":["0p323_1_0p333_0"],"t":137,"s":[100],"e":[80]},{"t":145.000005905971}],"ix":2},"o":{"a":0,"k":0,"ix":3},"m":1,"ix":2,"nm":"Trim Paths 1","mn":"ADBE Vector Filter - Trim"},{"ty":"st","c":{"a":0,"k":[0.41,0.27,1,1]},"o":{"a":0,"k":100},"w":{"a":0,"k":14},"lc":2,"lj":2,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke"}],"ip":0,"op":1798.00007323404,"st":0,"bm":0,"sr":1},{"ddd":0,"ind":1,"ty":4,"nm":"line","ks":{"o":{"a":0,"k":100},"r":{"a":0,"k":0},"p":{"a":0,"k":[148,314.455,0]},"a":{"a":0,"k":[-140,0,0]},"s":{"a":0,"k":[100,100,100]}},"ao":0,"shapes":[{"ind":0,"ty":"sh","ks":{"a":1,"k":[{"i":{"x":0.393,"y":1},"o":{"x":0.645,"y":0},"n":"0p393_1_0p645_0","t":20,"s":[{"i":[[0,0],[0,-3.005],[-21.785,0],[0,0],[0,0],[-20.481,0],[0,-20.481],[0,0],[-23.132,0],[0,0],[0,0]],"o":[[0,0],[0,3.251],[23.004,0],[0,0],[0,-20.481],[20.48,0],[0,0],[0,0],[23.132,0],[0,0],[0,0]],"v":[[-225.83,-67.954],[-225.83,-58.756],[-200.046,-34.513],[-175.201,-58.756],[-175.379,-229.249],[-138.141,-266.487],[-100.904,-229.249],[-100.726,-58.756],[-75.531,-34.513],[-50.17,-58.756],[-50.17,-67.954]],"c":false}],"e":[{"i":[[0,0],[0,-3.005],[-21.785,0],[0,0],[0,0],[-20.481,0],[0,-20.481],[0,0],[-23.132,0],[0,0],[0,0]],"o":[[0,0],[0,3.251],[23.004,0],[0,0],[0,-20.481],[20.48,0],[0,0],[0,0],[23.132,0],[0,0],[0,0]],"v":[[-224.58,-68.005],[-224.58,-58.807],[-200.046,-34.513],[-175.201,-58.756],[-175.201,-120.249],[-137.963,-157.487],[-100.726,-120.249],[-100.726,-58.756],[-75.531,-34.513],[-51.42,-58.807],[-51.42,-68.005]],"c":false}]},{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"n":"0p667_1_0p333_0","t":50,"s":[{"i":[[0,0],[0,-3.005],[-21.785,0],[0,0],[0,0],[-20.481,0],[0,-20.481],[0,0],[-23.132,0],[0,0],[0,0]],"o":[[0,0],[0,3.251],[23.004,0],[0,0],[0,-20.481],[20.48,0],[0,0],[0,0],[23.132,0],[0,0],[0,0]],"v":[[-224.58,-68.005],[-224.58,-58.807],[-200.046,-34.513],[-175.201,-58.756],[-175.201,-120.249],[-137.963,-157.487],[-100.726,-120.249],[-100.726,-58.756],[-75.531,-34.513],[-51.42,-58.807],[-51.42,-68.005]],"c":false}],"e":[{"i":[[0,0],[0,-3.005],[-21.785,0],[0,0],[0,0],[-20.481,0],[0,-20.481],[0,0],[-23.132,0],[0,0],[0,0]],"o":[[0,0],[0,3.251],[23.004,0],[0,0],[0,-20.481],[20.48,0],[0,0],[0,0],[23.132,0],[0,0],[0,0]],"v":[[-224.58,-68.005],[-224.58,-58.807],[-200.046,-34.513],[-175.201,-58.756],[-175.201,-120.249],[-137.963,-157.487],[-100.726,-120.249],[-100.726,-58.756],[-75.531,-34.513],[-51.42,-58.807],[-51.42,-68.005]],"c":false}]},{"i":{"x":0.406,"y":1},"o":{"x":0.675,"y":0},"n":"0p406_1_0p675_0","t":130,"s":[{"i":[[0,0],[0,-3.005],[-21.785,0],[0,0],[0,0],[-20.481,0],[0,-20.481],[0,0],[-23.132,0],[0,0],[0,0]],"o":[[0,0],[0,3.251],[23.004,0],[0,0],[0,-20.481],[20.48,0],[0,0],[0,0],[23.132,0],[0,0],[0,0]],"v":[[-224.58,-68.005],[-224.58,-58.807],[-200.046,-34.513],[-175.201,-58.756],[-175.201,-120.249],[-137.963,-157.487],[-100.726,-120.249],[-100.726,-58.756],[-75.531,-34.513],[-51.42,-58.807],[-51.42,-68.005]],"c":false}],"e":[{"i":[[0,0],[0,-3.005],[-21.785,0],[0,0],[0,0],[-20.481,0],[0,-20.481],[0,0],[-23.132,0],[0,0],[0,0]],"o":[[0,0],[0,3.251],[23.004,0],[0,0],[0,-20.481],[20.48,0],[0,0],[0,0],[23.132,0],[0,0],[0,0]],"v":[[-225.83,-67.954],[-225.83,-58.756],[-200.046,-34.513],[-175.201,-58.756],[-175.379,-229.249],[-138.141,-266.487],[-100.904,-229.249],[-100.726,-58.756],[-75.531,-34.513],[-50.17,-58.756],[-50.17,-67.954]],"c":false}]},{"t":145.000005905971}]},"nm":"Path 1","mn":"ADBE Vector Shape - Group"},{"ty":"tm","s":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.828],"y":[0]},"n":["0p667_1_0p828_0"],"t":20,"s":[14],"e":[0]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"n":["0p667_1_0p333_0"],"t":50,"s":[0],"e":[2]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"n":["0p667_1_0p333_0"],"t":70,"s":[2],"e":[0]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"n":["0p667_1_0p333_0"],"t":90,"s":[0],"e":[2]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"n":["0p667_1_0p333_0"],"t":110,"s":[2],"e":[0]},{"i":{"x":[0.234],"y":[1]},"o":{"x":[0.333],"y":[0]},"n":["0p234_1_0p333_0"],"t":130,"s":[0],"e":[14]},{"t":145.000005905971}],"ix":1},"e":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.818],"y":[0]},"n":["0p667_1_0p818_0"],"t":20,"s":[86],"e":[100]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"n":["0p667_1_0p333_0"],"t":50,"s":[100],"e":[98]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"n":["0p667_1_0p333_0"],"t":70,"s":[98],"e":[100]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"n":["0p667_1_0p333_0"],"t":90,"s":[100],"e":[98]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"n":["0p667_1_0p333_0"],"t":110,"s":[98],"e":[100]},{"i":{"x":[0.18],"y":[1]},"o":{"x":[0.333],"y":[0]},"n":["0p18_1_0p333_0"],"t":130,"s":[100],"e":[86]},{"t":145.000005905971}],"ix":2},"o":{"a":0,"k":0,"ix":3},"m":1,"ix":2,"nm":"Trim Paths 1","mn":"ADBE Vector Filter - Trim"},{"ty":"st","c":{"a":0,"k":[0.41,0.27,1,1]},"o":{"a":0,"k":100},"w":{"a":0,"k":14},"lc":2,"lj":2,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke"}],"ip":0,"op":1798.00007323404,"st":0,"bm":0,"sr":1},{"ddd":0,"ind":2,"ty":4,"nm":"eye","ks":{"o":{"a":0,"k":100},"r":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"n":["0p667_1_0p333_0"],"t":70,"s":[0],"e":[120]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"n":["0p667_1_0p333_0"],"t":80,"s":[120],"e":[0]},{"t":90.0000036657751}]},"p":{"a":1,"k":[{"i":{"x":0.375,"y":1},"o":{"x":0.687,"y":0},"n":"0p375_1_0p687_0","t":20,"s":[150.125,87.5,0],"e":[150.125,196,0],"to":[0,18.0833339691162,0],"ti":[0,-18.0833339691162,0]},{"i":{"x":0.667,"y":0.667},"o":{"x":0.333,"y":0.333},"n":"0p667_0p667_0p333_0p333","t":50,"s":[150.125,196,0],"e":[150.125,196,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.352,"y":1},"o":{"x":0.594,"y":0},"n":"0p352_1_0p594_0","t":130,"s":[150.125,196,0],"e":[150.125,87.5,0],"to":[0,-18.0833339691162,0],"ti":[0,18.0833339691162,0]},{"t":145.000005905971}]},"a":{"a":0,"k":[0,0,0]},"s":{"a":0,"k":[100,100,100]}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"s","pt":{"a":0,"k":{"i":[[3.59,0],[0,-3.59],[-3.59,0],[0,3.59]],"o":[[-3.59,0],[0,3.59],[3.59,0],[0,-3.59]],"v":[[-6.5,-0.25],[-13,6.25],[-6.5,12.75],[0,6.25]],"c":true}},"o":{"a":0,"k":100},"x":{"a":0,"k":0},"nm":"Mask 1"}],"shapes":[{"ind":0,"ty":"sh","ks":{"a":1,"k":[{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"n":"0p667_1_0p333_0","t":96,"s":[{"i":[[0,-6.489],[6.489,0],[0,6.489],[-6.489,0]],"o":[[0,6.489],[-6.489,0],[0,-6.489],[6.489,0]],"v":[[11.75,0],[0,11.75],[-11.75,0],[0,-11.75]],"c":true}],"e":[{"i":[[0,0],[6.489,0],[0,0],[-6.489,0]],"o":[[0,0],[-6.489,0],[0,0],[6.489,0]],"v":[[11.75,-0.125],[0,-0.125],[-11.75,-0.125],[0,-0.125]],"c":true}]},{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"n":"0p667_1_0p333_0","t":101,"s":[{"i":[[0,0],[6.489,0],[0,0],[-6.489,0]],"o":[[0,0],[-6.489,0],[0,0],[6.489,0]],"v":[[11.75,-0.125],[0,-0.125],[-11.75,-0.125],[0,-0.125]],"c":true}],"e":[{"i":[[0,-6.489],[6.489,0],[0,6.489],[-6.489,0]],"o":[[0,6.489],[-6.489,0],[0,-6.489],[6.489,0]],"v":[[11.75,0],[0,11.75],[-11.75,0],[0,-11.75]],"c":true}]},{"t":106.000004317469}]},"nm":"Path 1","mn":"ADBE Vector Shape - Group"},{"ty":"fl","c":{"a":0,"k":[0.41,0.27,1,1]},"o":{"a":0,"k":100},"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill"}],"ip":0,"op":1798.00007323404,"st":0,"bm":0,"sr":1}]}],"layers":[{"ddd":0,"ind":0,"ty":0,"nm":"octopus","refId":"comp_0","ks":{"o":{"a":0,"k":100},"r":{"a":0,"k":0},"p":{"a":1,"k":[{"i":{"x":0.467,"y":1},"o":{"x":0.534,"y":0},"n":"0p467_1_0p534_0","t":30,"s":[402,230.066,0],"e":[402,-391.934,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.467,"y":0.467},"o":{"x":0.333,"y":0.333},"n":"0p467_0p467_0p333_0p333","t":60,"s":[402,-391.934,0],"e":[402,-391.934,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.467,"y":1},"o":{"x":0.333,"y":0},"n":"0p467_1_0p333_0","t":80,"s":[402,-391.934,0],"e":[402,-400.434,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.467,"y":1},"o":{"x":0.333,"y":0},"n":"0p467_1_0p333_0","t":100,"s":[402,-400.434,0],"e":[402,-391.934,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.467,"y":1},"o":{"x":0.333,"y":0},"n":"0p467_1_0p333_0","t":120,"s":[402,-391.934,0],"e":[402,-400.434,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.467,"y":1},"o":{"x":0.333,"y":0},"n":"0p467_1_0p333_0","t":140,"s":[402,-400.434,0],"e":[402,-391.934,0],"to":[0,0,0],"ti":[0,0,0]},{"t":160.000006516934}]},"a":{"a":0,"k":[150,150,0]},"s":{"a":0,"k":[100,100,100]}},"ao":0,"ef":[{"ty":5,"nm":"CC Cross Blur","mn":"CS CrossBlur","ix":1,"en":1,"ef":[{"ty":0,"nm":"Radius X","mn":"CS CrossBlur-0001","ix":1,"v":{"a":0,"k":0}},{"ty":0,"nm":"Radius Y","mn":"CS CrossBlur-0002","ix":2,"v":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"n":["0p667_1_0p333_0"],"t":30,"s":[0],"e":[16]},{"t":45.0000018328876}]}},{"ty":7,"nm":"Transfer Mode","mn":"CS CrossBlur-0003","ix":3,"v":{"a":0,"k":1}},{"ty":7,"nm":"Repeat Edge Pixels","mn":"CS CrossBlur-0004","ix":4,"v":{"a":0,"k":0}}]}],"w":300,"h":300,"ip":-100.000004073084,"op":1698.00006916096,"st":-100.000004073084,"bm":0,"sr":1},{"ddd":0,"ind":1,"ty":0,"nm":"octopus2","parent":0,"refId":"comp_0","ks":{"o":{"a":0,"k":100},"r":{"a":0,"k":0},"p":{"a":0,"k":[150,771.934,0]},"a":{"a":0,"k":[150,150,0]},"s":{"a":0,"k":[100,100,100]}},"ao":0,"ef":[{"ty":5,"nm":"CC Cross Blur","mn":"CS CrossBlur","ix":1,"en":1,"ef":[{"ty":0,"nm":"Radius X","mn":"CS CrossBlur-0001","ix":1,"v":{"a":0,"k":0}},{"ty":0,"nm":"Radius Y","mn":"CS CrossBlur-0002","ix":2,"v":{"a":1,"k":[{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.167],"y":[0]},"n":["0p833_1_0p167_0"],"t":45,"s":[16],"e":[0]},{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.333],"y":[0]},"n":["0p833_1_0p333_0"],"t":60,"s":[0],"e":[8]},{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.167],"y":[0]},"n":["0p833_1_0p167_0"],"t":68,"s":[8],"e":[0]},{"t":75.0000030548126}]}},{"ty":7,"nm":"Transfer Mode","mn":"CS CrossBlur-0003","ix":3,"v":{"a":0,"k":1}},{"ty":7,"nm":"Repeat Edge Pixels","mn":"CS CrossBlur-0004","ix":4,"v":{"a":0,"k":0}}]}],"w":300,"h":300,"ip":30.0000012219251,"op":1828.00007445597,"st":30.0000012219251,"bm":0,"sr":1}]} \ No newline at end of file diff --git a/src/dist/BM/zero.json b/src/dist/BM/zero.json new file mode 100644 index 0000000..208e697 --- /dev/null +++ b/src/dist/BM/zero.json @@ -0,0 +1 @@ +{"v":"4.6.9","fr":30,"ip":0,"op":60,"w":150,"h":220,"nm":"0","ddd":0,"assets":[{"id":"comp_0","layers":[{"ddd":0,"ind":1,"ty":0,"nm":"Plein 0","refId":"comp_1","ks":{"o":{"a":0,"k":100},"r":{"a":0,"k":0},"p":{"a":0,"k":[-509,112,0]},"a":{"a":0,"k":[960,540,0]},"s":{"a":0,"k":[100,50,100]}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"n":"0p833_0p833_0p167_0p167","t":26,"s":[{"i":[[-9.387,27.847],[-20.083,0],[-9.168,-27.411],[0,-38.724],[9.387,-27.846],[20.082,0],[9.167,27.412],[0,38.724]],"o":[[9.167,-27.411],[20.082,0],[9.387,27.847],[0,38.724],[-9.168,27.412],[-20.083,0],[-9.387,-27.846],[0,-38.724]],"v":[[1502.061,432.251],[1545.5,387],[1588.939,432.251],[1601.6,534.5],[1588.939,636.75],[1545.5,682],[1502.061,636.75],[1489.4,534.5]],"c":true}],"e":[{"i":[[-9.769,28.98],[-20.9,0],[-9.541,-28.527],[0,-40.3],[9.769,-28.979],[20.899,0],[9.54,28.527],[0,40.3]],"o":[[9.54,-28.527],[20.899,0],[9.769,28.98],[0,40.3],[-9.541,28.527],[-20.9,0],[-9.769,-28.979],[0,-40.3]],"v":[[1500.294,428.092],[1545.5,381],[1590.706,428.092],[1603.882,534.5],[1590.706,640.91],[1545.5,688],[1500.294,640.91],[1487.118,534.5]],"c":true}]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"n":"0p833_0p833_0p167_0p167","t":27,"s":[{"i":[[-9.769,28.98],[-20.9,0],[-9.541,-28.527],[0,-40.3],[9.769,-28.979],[20.899,0],[9.54,28.527],[0,40.3]],"o":[[9.54,-28.527],[20.899,0],[9.769,28.98],[0,40.3],[-9.541,28.527],[-20.9,0],[-9.769,-28.979],[0,-40.3]],"v":[[1500.294,428.092],[1545.5,381],[1590.706,428.092],[1603.882,534.5],[1590.706,640.91],[1545.5,688],[1500.294,640.91],[1487.118,534.5]],"c":true}],"e":[{"i":[[-9.387,27.847],[-20.083,0],[-9.168,-27.411],[0,-38.724],[9.387,-27.846],[20.082,0],[9.167,27.412],[0,38.724]],"o":[[9.167,-27.411],[20.082,0],[9.387,27.847],[0,38.724],[-9.168,27.412],[-20.083,0],[-9.387,-27.846],[0,-38.724]],"v":[[1502.061,432.251],[1545.5,387],[1588.939,432.251],[1601.6,534.5],[1588.939,636.75],[1545.5,682],[1502.061,636.75],[1489.4,534.5]],"c":true}]},{"t":30}]},"o":{"a":0,"k":100},"x":{"a":0,"k":0},"nm":"Masque 1"}],"w":1920,"h":1080,"ip":0,"op":5522,"st":-4,"bm":0,"sr":1}]},{"id":"comp_1","layers":[{"ddd":0,"ind":1,"ty":1,"nm":"Noir uni 12","ks":{"o":{"a":0,"k":100},"r":{"a":0,"k":-45},"p":{"a":0,"k":[1261.376,1107.71,0]},"a":{"a":0,"k":[960,540,0]},"s":{"a":0,"k":[100,100,100]}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.812,"y":0},"n":"0p833_0p833_0p812_0","t":4,"s":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1444.5,466.5],[1443.5,466.5],[1443.5,491],[1444.5,491]],"c":true}],"e":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1707.5,466.5],[1443.5,466.5],[1443.5,491],[1707.5,491]],"c":true}]},{"t":19}]},"o":{"a":0,"k":100},"x":{"a":0,"k":0},"nm":"Masque 1"}],"sw":1920,"sh":1080,"sc":"#000000","ip":4,"op":5530,"st":4,"bm":0,"sr":1},{"ddd":0,"ind":2,"ty":1,"nm":"Noir uni 11","ks":{"o":{"a":0,"k":100},"r":{"a":0,"k":-45},"p":{"a":0,"k":[1245.112,1091.447,0]},"a":{"a":0,"k":[960,540,0]},"s":{"a":0,"k":[100,100,100]}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":1,"y":0},"n":"0p833_0p833_1_0","t":5,"s":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1444.5,466.5],[1443.5,466.5],[1443.5,491],[1444.5,491]],"c":true}],"e":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1707.5,466.5],[1443.5,466.5],[1443.5,491],[1707.5,491]],"c":true}]},{"t":20}]},"o":{"a":0,"k":100},"x":{"a":0,"k":0},"nm":"Masque 1"}],"sw":1920,"sh":1080,"sc":"#000000","ip":5,"op":5531,"st":5,"bm":0,"sr":1},{"ddd":0,"ind":3,"ty":1,"nm":"Noir uni 10","ks":{"o":{"a":0,"k":100},"r":{"a":0,"k":-45},"p":{"a":0,"k":[1228.849,1075.183,0]},"a":{"a":0,"k":[960,540,0]},"s":{"a":0,"k":[100,100,100]}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":1,"y":0},"n":"0p833_0p833_1_0","t":6,"s":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1444.5,466.5],[1443.5,466.5],[1443.5,491],[1444.5,491]],"c":true}],"e":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1707.5,466.5],[1443.5,466.5],[1443.5,491],[1707.5,491]],"c":true}]},{"t":21}]},"o":{"a":0,"k":100},"x":{"a":0,"k":0},"nm":"Masque 1"}],"sw":1920,"sh":1080,"sc":"#000000","ip":6,"op":5532,"st":6,"bm":0,"sr":1},{"ddd":0,"ind":4,"ty":1,"nm":"Noir uni 9","ks":{"o":{"a":0,"k":100},"r":{"a":0,"k":-45},"p":{"a":0,"k":[1212.585,1058.92,0]},"a":{"a":0,"k":[960,540,0]},"s":{"a":0,"k":[100,100,100]}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":1,"y":0},"n":"0p833_0p833_1_0","t":7,"s":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1444.5,466.5],[1443.5,466.5],[1443.5,491],[1444.5,491]],"c":true}],"e":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1707.5,466.5],[1443.5,466.5],[1443.5,491],[1707.5,491]],"c":true}]},{"t":22}]},"o":{"a":0,"k":100},"x":{"a":0,"k":0},"nm":"Masque 1"}],"sw":1920,"sh":1080,"sc":"#000000","ip":7,"op":5533,"st":7,"bm":0,"sr":1},{"ddd":0,"ind":5,"ty":1,"nm":"Noir uni 8","ks":{"o":{"a":0,"k":100},"r":{"a":0,"k":-45},"p":{"a":0,"k":[1196.322,1042.656,0]},"a":{"a":0,"k":[960,540,0]},"s":{"a":0,"k":[100,100,100]}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":1,"y":0},"n":"0p833_0p833_1_0","t":8,"s":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1444.5,466.5],[1443.5,466.5],[1443.5,491],[1444.5,491]],"c":true}],"e":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1707.5,466.5],[1443.5,466.5],[1443.5,491],[1707.5,491]],"c":true}]},{"t":23}]},"o":{"a":0,"k":100},"x":{"a":0,"k":0},"nm":"Masque 1"}],"sw":1920,"sh":1080,"sc":"#000000","ip":8,"op":5534,"st":8,"bm":0,"sr":1},{"ddd":0,"ind":6,"ty":1,"nm":"Noir uni 7","ks":{"o":{"a":0,"k":100},"r":{"a":0,"k":-45},"p":{"a":0,"k":[1180.058,1026.393,0]},"a":{"a":0,"k":[960,540,0]},"s":{"a":0,"k":[100,100,100]}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":1,"y":0},"n":"0p833_0p833_1_0","t":9,"s":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1444.5,466.5],[1443.5,466.5],[1443.5,491],[1444.5,491]],"c":true}],"e":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1707.5,466.5],[1443.5,466.5],[1443.5,491],[1707.5,491]],"c":true}]},{"t":24}]},"o":{"a":0,"k":100},"x":{"a":0,"k":0},"nm":"Masque 1"}],"sw":1920,"sh":1080,"sc":"#000000","ip":9,"op":5535,"st":9,"bm":0,"sr":1},{"ddd":0,"ind":7,"ty":1,"nm":"Noir uni 12","ks":{"o":{"a":0,"k":100},"r":{"a":0,"k":-45},"p":{"a":0,"k":[1163.376,1009.46,0]},"a":{"a":0,"k":[960,540,0]},"s":{"a":0,"k":[100,100,100]}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.812,"y":0},"n":"0p833_0p833_0p812_0","t":10,"s":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1444.5,466.5],[1443.5,466.5],[1443.5,491],[1444.5,491]],"c":true}],"e":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1707.5,466.5],[1443.5,466.5],[1443.5,491],[1707.5,491]],"c":true}]},{"t":25}]},"o":{"a":0,"k":100},"x":{"a":0,"k":0},"nm":"Masque 1"}],"sw":1920,"sh":1080,"sc":"#000000","ip":10,"op":5536,"st":10,"bm":0,"sr":1},{"ddd":0,"ind":8,"ty":1,"nm":"Noir uni 11","ks":{"o":{"a":0,"k":100},"r":{"a":0,"k":-45},"p":{"a":0,"k":[1147.112,993.197,0]},"a":{"a":0,"k":[960,540,0]},"s":{"a":0,"k":[100,100,100]}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":1,"y":0},"n":"0p833_0p833_1_0","t":11,"s":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1444.5,466.5],[1443.5,466.5],[1443.5,491],[1444.5,491]],"c":true}],"e":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1707.5,466.5],[1443.5,466.5],[1443.5,491],[1707.5,491]],"c":true}]},{"t":26}]},"o":{"a":0,"k":100},"x":{"a":0,"k":0},"nm":"Masque 1"}],"sw":1920,"sh":1080,"sc":"#000000","ip":11,"op":5537,"st":11,"bm":0,"sr":1},{"ddd":0,"ind":9,"ty":1,"nm":"Noir uni 10","ks":{"o":{"a":0,"k":100},"r":{"a":0,"k":-45},"p":{"a":0,"k":[1130.849,976.933,0]},"a":{"a":0,"k":[960,540,0]},"s":{"a":0,"k":[100,100,100]}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":1,"y":0},"n":"0p833_0p833_1_0","t":12,"s":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1444.5,466.5],[1443.5,466.5],[1443.5,491],[1444.5,491]],"c":true}],"e":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1707.5,466.5],[1443.5,466.5],[1443.5,491],[1707.5,491]],"c":true}]},{"t":27}]},"o":{"a":0,"k":100},"x":{"a":0,"k":0},"nm":"Masque 1"}],"sw":1920,"sh":1080,"sc":"#000000","ip":12,"op":5538,"st":12,"bm":0,"sr":1},{"ddd":0,"ind":10,"ty":1,"nm":"Noir uni 9","ks":{"o":{"a":0,"k":100},"r":{"a":0,"k":-45},"p":{"a":0,"k":[1114.585,960.67,0]},"a":{"a":0,"k":[960,540,0]},"s":{"a":0,"k":[100,100,100]}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":1,"y":0},"n":"0p833_0p833_1_0","t":13,"s":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1444.5,466.5],[1443.5,466.5],[1443.5,491],[1444.5,491]],"c":true}],"e":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1707.5,466.5],[1443.5,466.5],[1443.5,491],[1707.5,491]],"c":true}]},{"t":28}]},"o":{"a":0,"k":100},"x":{"a":0,"k":0},"nm":"Masque 1"}],"sw":1920,"sh":1080,"sc":"#000000","ip":13,"op":5539,"st":13,"bm":0,"sr":1},{"ddd":0,"ind":11,"ty":1,"nm":"Noir uni 8","ks":{"o":{"a":0,"k":100},"r":{"a":0,"k":-45},"p":{"a":0,"k":[1098.322,944.406,0]},"a":{"a":0,"k":[960,540,0]},"s":{"a":0,"k":[100,100,100]}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":1,"y":0},"n":"0p833_0p833_1_0","t":14,"s":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1444.5,466.5],[1443.5,466.5],[1443.5,491],[1444.5,491]],"c":true}],"e":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1707.5,466.5],[1443.5,466.5],[1443.5,491],[1707.5,491]],"c":true}]},{"t":29}]},"o":{"a":0,"k":100},"x":{"a":0,"k":0},"nm":"Masque 1"}],"sw":1920,"sh":1080,"sc":"#000000","ip":14,"op":5540,"st":14,"bm":0,"sr":1},{"ddd":0,"ind":12,"ty":1,"nm":"Noir uni 7","ks":{"o":{"a":0,"k":100},"r":{"a":0,"k":-45},"p":{"a":0,"k":[1082.058,928.143,0]},"a":{"a":0,"k":[960,540,0]},"s":{"a":0,"k":[100,100,100]}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":1,"y":0},"n":"0p833_0p833_1_0","t":15,"s":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1444.5,466.5],[1443.5,466.5],[1443.5,491],[1444.5,491]],"c":true}],"e":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1707.5,466.5],[1443.5,466.5],[1443.5,491],[1707.5,491]],"c":true}]},{"t":30}]},"o":{"a":0,"k":100},"x":{"a":0,"k":0},"nm":"Masque 1"}],"sw":1920,"sh":1080,"sc":"#000000","ip":15,"op":5541,"st":15,"bm":0,"sr":1},{"ddd":0,"ind":13,"ty":1,"nm":"Cyan uni 9","ks":{"o":{"a":0,"k":100},"r":{"a":0,"k":-45},"p":{"a":0,"k":[1261.376,1107.71,0]},"a":{"a":0,"k":[960,540,0]},"s":{"a":0,"k":[100,100,100]}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.812,"y":0},"n":"0p833_0p833_0p812_0","t":1,"s":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1444.5,466.5],[1443.5,466.5],[1443.5,491],[1444.5,491]],"c":true}],"e":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1707.5,466.5],[1443.5,466.5],[1443.5,491],[1707.5,491]],"c":true}]},{"t":16}]},"o":{"a":0,"k":100},"x":{"a":0,"k":0},"nm":"Masque 1"}],"sw":1920,"sh":1080,"sc":"#05d5c7","ip":1,"op":5527,"st":1,"bm":0,"sr":1},{"ddd":0,"ind":14,"ty":1,"nm":"Cyan uni 8","ks":{"o":{"a":0,"k":100},"r":{"a":0,"k":-45},"p":{"a":0,"k":[1245.112,1091.447,0]},"a":{"a":0,"k":[960,540,0]},"s":{"a":0,"k":[100,100,100]}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":1,"y":0},"n":"0p833_0p833_1_0","t":2,"s":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1444.5,466.5],[1443.5,466.5],[1443.5,491],[1444.5,491]],"c":true}],"e":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1707.5,466.5],[1443.5,466.5],[1443.5,491],[1707.5,491]],"c":true}]},{"t":17}]},"o":{"a":0,"k":100},"x":{"a":0,"k":0},"nm":"Masque 1"}],"sw":1920,"sh":1080,"sc":"#05d5c7","ip":2,"op":5528,"st":2,"bm":0,"sr":1},{"ddd":0,"ind":15,"ty":1,"nm":"Cyan uni 7","ks":{"o":{"a":0,"k":100},"r":{"a":0,"k":-45},"p":{"a":0,"k":[1228.849,1075.183,0]},"a":{"a":0,"k":[960,540,0]},"s":{"a":0,"k":[100,100,100]}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":1,"y":0},"n":"0p833_0p833_1_0","t":3,"s":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1444.5,466.5],[1443.5,466.5],[1443.5,491],[1444.5,491]],"c":true}],"e":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1707.5,466.5],[1443.5,466.5],[1443.5,491],[1707.5,491]],"c":true}]},{"t":18}]},"o":{"a":0,"k":100},"x":{"a":0,"k":0},"nm":"Masque 1"}],"sw":1920,"sh":1080,"sc":"#05d5c7","ip":3,"op":5529,"st":3,"bm":0,"sr":1},{"ddd":0,"ind":16,"ty":1,"nm":"Cyan uni 6","ks":{"o":{"a":0,"k":100},"r":{"a":0,"k":-45},"p":{"a":0,"k":[1212.585,1058.92,0]},"a":{"a":0,"k":[960,540,0]},"s":{"a":0,"k":[100,100,100]}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":1,"y":0},"n":"0p833_0p833_1_0","t":4,"s":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1444.5,466.5],[1443.5,466.5],[1443.5,491],[1444.5,491]],"c":true}],"e":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1707.5,466.5],[1443.5,466.5],[1443.5,491],[1707.5,491]],"c":true}]},{"t":19}]},"o":{"a":0,"k":100},"x":{"a":0,"k":0},"nm":"Masque 1"}],"sw":1920,"sh":1080,"sc":"#05d5c7","ip":4,"op":5530,"st":4,"bm":0,"sr":1},{"ddd":0,"ind":17,"ty":1,"nm":"Cyan uni 5","ks":{"o":{"a":0,"k":100},"r":{"a":0,"k":-45},"p":{"a":0,"k":[1196.322,1042.656,0]},"a":{"a":0,"k":[960,540,0]},"s":{"a":0,"k":[100,100,100]}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":1,"y":0},"n":"0p833_0p833_1_0","t":5,"s":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1444.5,466.5],[1443.5,466.5],[1443.5,491],[1444.5,491]],"c":true}],"e":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1707.5,466.5],[1443.5,466.5],[1443.5,491],[1707.5,491]],"c":true}]},{"t":20}]},"o":{"a":0,"k":100},"x":{"a":0,"k":0},"nm":"Masque 1"}],"sw":1920,"sh":1080,"sc":"#05d5c7","ip":5,"op":5531,"st":5,"bm":0,"sr":1},{"ddd":0,"ind":18,"ty":1,"nm":"Cyan uni 4","ks":{"o":{"a":0,"k":100},"r":{"a":0,"k":-45},"p":{"a":0,"k":[1180.058,1026.393,0]},"a":{"a":0,"k":[960,540,0]},"s":{"a":0,"k":[100,100,100]}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":1,"y":0},"n":"0p833_0p833_1_0","t":6,"s":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1444.5,466.5],[1443.5,466.5],[1443.5,491],[1444.5,491]],"c":true}],"e":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1707.5,466.5],[1443.5,466.5],[1443.5,491],[1707.5,491]],"c":true}]},{"t":21}]},"o":{"a":0,"k":100},"x":{"a":0,"k":0},"nm":"Masque 1"}],"sw":1920,"sh":1080,"sc":"#05d5c7","ip":6,"op":5532,"st":6,"bm":0,"sr":1},{"ddd":0,"ind":19,"ty":1,"nm":"Cyan uni 9","ks":{"o":{"a":0,"k":100},"r":{"a":0,"k":-45},"p":{"a":0,"k":[1163.376,1009.46,0]},"a":{"a":0,"k":[960,540,0]},"s":{"a":0,"k":[100,100,100]}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.812,"y":0},"n":"0p833_0p833_0p812_0","t":7,"s":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1444.5,466.5],[1443.5,466.5],[1443.5,491],[1444.5,491]],"c":true}],"e":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1707.5,466.5],[1443.5,466.5],[1443.5,491],[1707.5,491]],"c":true}]},{"t":22}]},"o":{"a":0,"k":100},"x":{"a":0,"k":0},"nm":"Masque 1"}],"sw":1920,"sh":1080,"sc":"#05d5c7","ip":7,"op":5533,"st":7,"bm":0,"sr":1},{"ddd":0,"ind":20,"ty":1,"nm":"Cyan uni 8","ks":{"o":{"a":0,"k":100},"r":{"a":0,"k":-45},"p":{"a":0,"k":[1147.112,993.197,0]},"a":{"a":0,"k":[960,540,0]},"s":{"a":0,"k":[100,100,100]}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":1,"y":0},"n":"0p833_0p833_1_0","t":8,"s":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1444.5,466.5],[1443.5,466.5],[1443.5,491],[1444.5,491]],"c":true}],"e":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1707.5,466.5],[1443.5,466.5],[1443.5,491],[1707.5,491]],"c":true}]},{"t":23}]},"o":{"a":0,"k":100},"x":{"a":0,"k":0},"nm":"Masque 1"}],"sw":1920,"sh":1080,"sc":"#05d5c7","ip":8,"op":5534,"st":8,"bm":0,"sr":1},{"ddd":0,"ind":21,"ty":1,"nm":"Cyan uni 7","ks":{"o":{"a":0,"k":100},"r":{"a":0,"k":-45},"p":{"a":0,"k":[1130.849,976.933,0]},"a":{"a":0,"k":[960,540,0]},"s":{"a":0,"k":[100,100,100]}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":1,"y":0},"n":"0p833_0p833_1_0","t":9,"s":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1444.5,466.5],[1443.5,466.5],[1443.5,491],[1444.5,491]],"c":true}],"e":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1707.5,466.5],[1443.5,466.5],[1443.5,491],[1707.5,491]],"c":true}]},{"t":24}]},"o":{"a":0,"k":100},"x":{"a":0,"k":0},"nm":"Masque 1"}],"sw":1920,"sh":1080,"sc":"#05d5c7","ip":9,"op":5535,"st":9,"bm":0,"sr":1},{"ddd":0,"ind":22,"ty":1,"nm":"Cyan uni 6","ks":{"o":{"a":0,"k":100},"r":{"a":0,"k":-45},"p":{"a":0,"k":[1114.585,960.67,0]},"a":{"a":0,"k":[960,540,0]},"s":{"a":0,"k":[100,100,100]}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":1,"y":0},"n":"0p833_0p833_1_0","t":10,"s":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1444.5,466.5],[1443.5,466.5],[1443.5,491],[1444.5,491]],"c":true}],"e":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1707.5,466.5],[1443.5,466.5],[1443.5,491],[1707.5,491]],"c":true}]},{"t":25}]},"o":{"a":0,"k":100},"x":{"a":0,"k":0},"nm":"Masque 1"}],"sw":1920,"sh":1080,"sc":"#05d5c7","ip":10,"op":5536,"st":10,"bm":0,"sr":1},{"ddd":0,"ind":23,"ty":1,"nm":"Cyan uni 5","ks":{"o":{"a":0,"k":100},"r":{"a":0,"k":-45},"p":{"a":0,"k":[1098.322,944.406,0]},"a":{"a":0,"k":[960,540,0]},"s":{"a":0,"k":[100,100,100]}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":1,"y":0},"n":"0p833_0p833_1_0","t":11,"s":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1444.5,466.5],[1443.5,466.5],[1443.5,491],[1444.5,491]],"c":true}],"e":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1707.5,466.5],[1443.5,466.5],[1443.5,491],[1707.5,491]],"c":true}]},{"t":26}]},"o":{"a":0,"k":100},"x":{"a":0,"k":0},"nm":"Masque 1"}],"sw":1920,"sh":1080,"sc":"#05d5c7","ip":11,"op":5537,"st":11,"bm":0,"sr":1},{"ddd":0,"ind":24,"ty":1,"nm":"Cyan uni 4","ks":{"o":{"a":0,"k":100},"r":{"a":0,"k":-45},"p":{"a":0,"k":[1082.058,928.143,0]},"a":{"a":0,"k":[960,540,0]},"s":{"a":0,"k":[100,100,100]}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":1,"y":0},"n":"0p833_0p833_1_0","t":12,"s":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1444.5,466.5],[1443.5,466.5],[1443.5,491],[1444.5,491]],"c":true}],"e":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1707.5,466.5],[1443.5,466.5],[1443.5,491],[1707.5,491]],"c":true}]},{"t":27}]},"o":{"a":0,"k":100},"x":{"a":0,"k":0},"nm":"Masque 1"}],"sw":1920,"sh":1080,"sc":"#05d5c7","ip":12,"op":5538,"st":12,"bm":0,"sr":1},{"ddd":0,"ind":25,"ty":1,"nm":"Jaune uni 5","ks":{"o":{"a":0,"k":100},"r":{"a":0,"k":-45},"p":{"a":0,"k":[1260.876,1107.71,0]},"a":{"a":0,"k":[960,540,0]},"s":{"a":0,"k":[100,100,100]}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.812,"y":0},"n":"0p833_0p833_0p812_0","t":-1,"s":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1444.5,466.5],[1443.5,466.5],[1443.5,491],[1444.5,491]],"c":true}],"e":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1707.5,466.5],[1443.5,466.5],[1443.5,491],[1707.5,491]],"c":true}]},{"t":14}]},"o":{"a":0,"k":100},"x":{"a":0,"k":0},"nm":"Masque 1"}],"sw":1920,"sh":1080,"sc":"#ffe100","ip":-1,"op":5525,"st":-1,"bm":0,"sr":1},{"ddd":0,"ind":26,"ty":1,"nm":"Jaune uni 5","ks":{"o":{"a":0,"k":100},"r":{"a":0,"k":-45},"p":{"a":0,"k":[1244.612,1091.447,0]},"a":{"a":0,"k":[960,540,0]},"s":{"a":0,"k":[100,100,100]}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":1,"y":0},"n":"0p833_0p833_1_0","t":0,"s":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1444.5,466.5],[1443.5,466.5],[1443.5,491],[1444.5,491]],"c":true}],"e":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1707.5,466.5],[1443.5,466.5],[1443.5,491],[1707.5,491]],"c":true}]},{"t":15}]},"o":{"a":0,"k":100},"x":{"a":0,"k":0},"nm":"Masque 1"}],"sw":1920,"sh":1080,"sc":"#ffe100","ip":0,"op":5526,"st":0,"bm":0,"sr":1},{"ddd":0,"ind":27,"ty":1,"nm":"Jaune uni 5","ks":{"o":{"a":0,"k":100},"r":{"a":0,"k":-45},"p":{"a":0,"k":[1228.349,1075.183,0]},"a":{"a":0,"k":[960,540,0]},"s":{"a":0,"k":[100,100,100]}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":1,"y":0},"n":"0p833_0p833_1_0","t":1,"s":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1444.5,466.5],[1443.5,466.5],[1443.5,491],[1444.5,491]],"c":true}],"e":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1707.5,466.5],[1443.5,466.5],[1443.5,491],[1707.5,491]],"c":true}]},{"t":16}]},"o":{"a":0,"k":100},"x":{"a":0,"k":0},"nm":"Masque 1"}],"sw":1920,"sh":1080,"sc":"#ffe100","ip":1,"op":5527,"st":1,"bm":0,"sr":1},{"ddd":0,"ind":28,"ty":1,"nm":"Jaune uni 5","ks":{"o":{"a":0,"k":100},"r":{"a":0,"k":-45},"p":{"a":0,"k":[1212.085,1058.92,0]},"a":{"a":0,"k":[960,540,0]},"s":{"a":0,"k":[100,100,100]}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":1,"y":0},"n":"0p833_0p833_1_0","t":2,"s":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1444.5,466.5],[1443.5,466.5],[1443.5,491],[1444.5,491]],"c":true}],"e":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1707.5,466.5],[1443.5,466.5],[1443.5,491],[1707.5,491]],"c":true}]},{"t":17}]},"o":{"a":0,"k":100},"x":{"a":0,"k":0},"nm":"Masque 1"}],"sw":1920,"sh":1080,"sc":"#ffe100","ip":2,"op":5528,"st":2,"bm":0,"sr":1},{"ddd":0,"ind":29,"ty":1,"nm":"Jaune uni 5","ks":{"o":{"a":0,"k":100},"r":{"a":0,"k":-45},"p":{"a":0,"k":[1195.822,1042.656,0]},"a":{"a":0,"k":[960,540,0]},"s":{"a":0,"k":[100,100,100]}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":1,"y":0},"n":"0p833_0p833_1_0","t":3,"s":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1444.5,466.5],[1443.5,466.5],[1443.5,491],[1444.5,491]],"c":true}],"e":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1707.5,466.5],[1443.5,466.5],[1443.5,491],[1707.5,491]],"c":true}]},{"t":18}]},"o":{"a":0,"k":100},"x":{"a":0,"k":0},"nm":"Masque 1"}],"sw":1920,"sh":1080,"sc":"#ffe100","ip":3,"op":5529,"st":3,"bm":0,"sr":1},{"ddd":0,"ind":30,"ty":1,"nm":"Jaune uni 5","ks":{"o":{"a":0,"k":100},"r":{"a":0,"k":-45},"p":{"a":0,"k":[1179.558,1026.393,0]},"a":{"a":0,"k":[960,540,0]},"s":{"a":0,"k":[100,100,100]}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":1,"y":0},"n":"0p833_0p833_1_0","t":4,"s":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1444.5,466.5],[1443.5,466.5],[1443.5,491],[1444.5,491]],"c":true}],"e":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1707.5,466.5],[1443.5,466.5],[1443.5,491],[1707.5,491]],"c":true}]},{"t":19}]},"o":{"a":0,"k":100},"x":{"a":0,"k":0},"nm":"Masque 1"}],"sw":1920,"sh":1080,"sc":"#ffe100","ip":4,"op":5530,"st":4,"bm":0,"sr":1},{"ddd":0,"ind":31,"ty":1,"nm":"Jaune uni 5","ks":{"o":{"a":0,"k":100},"r":{"a":0,"k":-45},"p":{"a":0,"k":[1162.876,1009.46,0]},"a":{"a":0,"k":[960,540,0]},"s":{"a":0,"k":[100,100,100]}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.812,"y":0},"n":"0p833_0p833_0p812_0","t":5,"s":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1444.5,466.5],[1443.5,466.5],[1443.5,491],[1444.5,491]],"c":true}],"e":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1707.5,466.5],[1443.5,466.5],[1443.5,491],[1707.5,491]],"c":true}]},{"t":20}]},"o":{"a":0,"k":100},"x":{"a":0,"k":0},"nm":"Masque 1"}],"sw":1920,"sh":1080,"sc":"#ffe100","ip":5,"op":5531,"st":5,"bm":0,"sr":1},{"ddd":0,"ind":32,"ty":1,"nm":"Jaune uni 5","ks":{"o":{"a":0,"k":100},"r":{"a":0,"k":-45},"p":{"a":0,"k":[1146.612,993.197,0]},"a":{"a":0,"k":[960,540,0]},"s":{"a":0,"k":[100,100,100]}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":1,"y":0},"n":"0p833_0p833_1_0","t":6,"s":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1444.5,466.5],[1443.5,466.5],[1443.5,491],[1444.5,491]],"c":true}],"e":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1707.5,466.5],[1443.5,466.5],[1443.5,491],[1707.5,491]],"c":true}]},{"t":21}]},"o":{"a":0,"k":100},"x":{"a":0,"k":0},"nm":"Masque 1"}],"sw":1920,"sh":1080,"sc":"#ffe100","ip":6,"op":5532,"st":6,"bm":0,"sr":1},{"ddd":0,"ind":33,"ty":1,"nm":"Jaune uni 5","ks":{"o":{"a":0,"k":100},"r":{"a":0,"k":-45},"p":{"a":0,"k":[1130.349,976.933,0]},"a":{"a":0,"k":[960,540,0]},"s":{"a":0,"k":[100,100,100]}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":1,"y":0},"n":"0p833_0p833_1_0","t":7,"s":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1444.5,466.5],[1443.5,466.5],[1443.5,491],[1444.5,491]],"c":true}],"e":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1707.5,466.5],[1443.5,466.5],[1443.5,491],[1707.5,491]],"c":true}]},{"t":22}]},"o":{"a":0,"k":100},"x":{"a":0,"k":0},"nm":"Masque 1"}],"sw":1920,"sh":1080,"sc":"#ffe100","ip":7,"op":5533,"st":7,"bm":0,"sr":1},{"ddd":0,"ind":34,"ty":1,"nm":"Jaune uni 5","ks":{"o":{"a":0,"k":100},"r":{"a":0,"k":-45},"p":{"a":0,"k":[1114.085,960.67,0]},"a":{"a":0,"k":[960,540,0]},"s":{"a":0,"k":[100,100,100]}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":1,"y":0},"n":"0p833_0p833_1_0","t":8,"s":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1444.5,466.5],[1443.5,466.5],[1443.5,491],[1444.5,491]],"c":true}],"e":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1707.5,466.5],[1443.5,466.5],[1443.5,491],[1707.5,491]],"c":true}]},{"t":23}]},"o":{"a":0,"k":100},"x":{"a":0,"k":0},"nm":"Masque 1"}],"sw":1920,"sh":1080,"sc":"#ffe100","ip":8,"op":5534,"st":8,"bm":0,"sr":1},{"ddd":0,"ind":35,"ty":1,"nm":"Jaune uni 5","ks":{"o":{"a":0,"k":100},"r":{"a":0,"k":-45},"p":{"a":0,"k":[1097.822,944.406,0]},"a":{"a":0,"k":[960,540,0]},"s":{"a":0,"k":[100,100,100]}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":1,"y":0},"n":"0p833_0p833_1_0","t":9,"s":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1444.5,466.5],[1443.5,466.5],[1443.5,491],[1444.5,491]],"c":true}],"e":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1707.5,466.5],[1443.5,466.5],[1443.5,491],[1707.5,491]],"c":true}]},{"t":24}]},"o":{"a":0,"k":100},"x":{"a":0,"k":0},"nm":"Masque 1"}],"sw":1920,"sh":1080,"sc":"#ffe100","ip":9,"op":5535,"st":9,"bm":0,"sr":1},{"ddd":0,"ind":36,"ty":1,"nm":"Jaune uni 5","ks":{"o":{"a":0,"k":100},"r":{"a":0,"k":-45},"p":{"a":0,"k":[1081.558,928.143,0]},"a":{"a":0,"k":[960,540,0]},"s":{"a":0,"k":[100,100,100]}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":1,"y":0},"n":"0p833_0p833_1_0","t":10,"s":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1444.5,466.5],[1443.5,466.5],[1443.5,491],[1444.5,491]],"c":true}],"e":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[1707.5,466.5],[1443.5,466.5],[1443.5,491],[1707.5,491]],"c":true}]},{"t":25}]},"o":{"a":0,"k":100},"x":{"a":0,"k":0},"nm":"Masque 1"}],"sw":1920,"sh":1080,"sc":"#ffe100","ip":10,"op":5536,"st":10,"bm":0,"sr":1}]}],"layers":[{"ddd":0,"ind":1,"ty":1,"nm":"Magenta-rouge moyen uni 1","ks":{"o":{"a":0,"k":100},"r":{"a":0,"k":0},"p":{"a":0,"k":[-121,74,0]},"a":{"a":0,"k":[960,540,0]},"s":{"a":0,"k":[100,100,100]}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"n","pt":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[1100.5,586.5],[1216.5,492]],"c":false}},"o":{"a":0,"k":100},"x":{"a":0,"k":0},"nm":"Masque 1"}],"ef":[{"ty":22,"nm":"Trait","mn":"ADBE Stroke","ix":1,"en":1,"ef":[{"ty":10,"nm":"Chemin","mn":"ADBE Stroke-0001","ix":1,"v":{"a":0,"k":1}},{"ty":7,"nm":"Tous les masques","mn":"ADBE Stroke-0010","ix":2,"v":{"a":0,"k":0}},{"ty":7,"nm":"Contour séquentiel","mn":"ADBE Stroke-0011","ix":3,"v":{"a":0,"k":1}},{"ty":2,"nm":"Couleur","mn":"ADBE Stroke-0002","ix":4,"v":{"a":0,"k":[0.9176471,0.627451,0.9607843,0.9921569]}},{"ty":0,"nm":"Epaisseur","mn":"ADBE Stroke-0003","ix":5,"v":{"a":0,"k":2.9}},{"ty":0,"nm":"Dureté","mn":"ADBE Stroke-0004","ix":6,"v":{"a":0,"k":0.75}},{"ty":0,"nm":"Opacité","mn":"ADBE Stroke-0005","ix":7,"v":{"a":0,"k":1}},{"ty":0,"nm":"Début","mn":"ADBE Stroke-0008","ix":8,"v":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"n":["0p833_0p833_0p167_0p167"],"t":14.25,"s":[0],"e":[100]},{"t":18}]}},{"ty":0,"nm":"Fin","mn":"ADBE Stroke-0009","ix":9,"v":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"n":["0p833_0p833_0p167_0p167"],"t":10.5,"s":[0],"e":[100]},{"t":14.25}]}},{"ty":7,"nm":"Espacement","mn":"ADBE Stroke-0006","ix":10,"v":{"a":0,"k":15}},{"ty":7,"nm":"Style de peinture","mn":"ADBE Stroke-0007","ix":11,"v":{"a":0,"k":2}}]}],"sw":1920,"sh":1080,"sc":"#ff95cc","ip":10,"op":18,"st":-7,"bm":0,"sr":1},{"ddd":0,"ind":2,"ty":1,"nm":"Magenta-rouge moyen uni 1","ks":{"o":{"a":0,"k":100},"r":{"a":0,"k":0},"p":{"a":0,"k":[-121,89,0]},"a":{"a":0,"k":[960,540,0]},"s":{"a":0,"k":[100,100,100]}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"n","pt":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[1100.5,586.5],[1216.5,492]],"c":false}},"o":{"a":0,"k":100},"x":{"a":0,"k":0},"nm":"Masque 1"}],"ef":[{"ty":22,"nm":"Trait","mn":"ADBE Stroke","ix":1,"en":1,"ef":[{"ty":10,"nm":"Chemin","mn":"ADBE Stroke-0001","ix":1,"v":{"a":0,"k":1}},{"ty":7,"nm":"Tous les masques","mn":"ADBE Stroke-0010","ix":2,"v":{"a":0,"k":0}},{"ty":7,"nm":"Contour séquentiel","mn":"ADBE Stroke-0011","ix":3,"v":{"a":0,"k":1}},{"ty":2,"nm":"Couleur","mn":"ADBE Stroke-0002","ix":4,"v":{"a":0,"k":[0.9176471,0.627451,0.9607843,0.9921569]}},{"ty":0,"nm":"Epaisseur","mn":"ADBE Stroke-0003","ix":5,"v":{"a":0,"k":2.9}},{"ty":0,"nm":"Dureté","mn":"ADBE Stroke-0004","ix":6,"v":{"a":0,"k":0.75}},{"ty":0,"nm":"Opacité","mn":"ADBE Stroke-0005","ix":7,"v":{"a":0,"k":1}},{"ty":0,"nm":"Début","mn":"ADBE Stroke-0008","ix":8,"v":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"n":["0p833_0p833_0p167_0p167"],"t":12.25,"s":[0],"e":[100]},{"t":16}]}},{"ty":0,"nm":"Fin","mn":"ADBE Stroke-0009","ix":9,"v":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"n":["0p833_0p833_0p167_0p167"],"t":8.5,"s":[0],"e":[100]},{"t":12.25}]}},{"ty":7,"nm":"Espacement","mn":"ADBE Stroke-0006","ix":10,"v":{"a":0,"k":15}},{"ty":7,"nm":"Style de peinture","mn":"ADBE Stroke-0007","ix":11,"v":{"a":0,"k":2}}]}],"sw":1920,"sh":1080,"sc":"#ff95cc","ip":8,"op":16,"st":-9,"bm":0,"sr":1},{"ddd":0,"ind":3,"ty":1,"nm":"Magenta-rouge moyen uni 1","ks":{"o":{"a":0,"k":100},"r":{"a":0,"k":0},"p":{"a":0,"k":[-121,104,0]},"a":{"a":0,"k":[960,540,0]},"s":{"a":0,"k":[100,100,100]}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"n","pt":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[1100.5,586.5],[1216.5,492]],"c":false}},"o":{"a":0,"k":100},"x":{"a":0,"k":0},"nm":"Masque 1"}],"ef":[{"ty":22,"nm":"Trait","mn":"ADBE Stroke","ix":1,"en":1,"ef":[{"ty":10,"nm":"Chemin","mn":"ADBE Stroke-0001","ix":1,"v":{"a":0,"k":1}},{"ty":7,"nm":"Tous les masques","mn":"ADBE Stroke-0010","ix":2,"v":{"a":0,"k":0}},{"ty":7,"nm":"Contour séquentiel","mn":"ADBE Stroke-0011","ix":3,"v":{"a":0,"k":1}},{"ty":2,"nm":"Couleur","mn":"ADBE Stroke-0002","ix":4,"v":{"a":0,"k":[0.9176471,0.627451,0.9607843,0.9921569]}},{"ty":0,"nm":"Epaisseur","mn":"ADBE Stroke-0003","ix":5,"v":{"a":0,"k":2.9}},{"ty":0,"nm":"Dureté","mn":"ADBE Stroke-0004","ix":6,"v":{"a":0,"k":0.75}},{"ty":0,"nm":"Opacité","mn":"ADBE Stroke-0005","ix":7,"v":{"a":0,"k":1}},{"ty":0,"nm":"Début","mn":"ADBE Stroke-0008","ix":8,"v":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"n":["0p833_0p833_0p167_0p167"],"t":10.25,"s":[0],"e":[100]},{"t":14}]}},{"ty":0,"nm":"Fin","mn":"ADBE Stroke-0009","ix":9,"v":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"n":["0p833_0p833_0p167_0p167"],"t":6.5,"s":[0],"e":[100]},{"t":10.25}]}},{"ty":7,"nm":"Espacement","mn":"ADBE Stroke-0006","ix":10,"v":{"a":0,"k":15}},{"ty":7,"nm":"Style de peinture","mn":"ADBE Stroke-0007","ix":11,"v":{"a":0,"k":2}}]}],"sw":1920,"sh":1080,"sc":"#ff95cc","ip":6,"op":14,"st":-11,"bm":0,"sr":1},{"ddd":0,"ind":4,"ty":1,"nm":"Magenta-rouge moyen uni 1","ks":{"o":{"a":0,"k":100},"r":{"a":0,"k":0},"p":{"a":0,"k":[-121,119,0]},"a":{"a":0,"k":[960,540,0]},"s":{"a":0,"k":[100,100,100]}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"n","pt":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[1100.5,586.5],[1216.5,492]],"c":false}},"o":{"a":0,"k":100},"x":{"a":0,"k":0},"nm":"Masque 1"}],"ef":[{"ty":22,"nm":"Trait","mn":"ADBE Stroke","ix":1,"en":1,"ef":[{"ty":10,"nm":"Chemin","mn":"ADBE Stroke-0001","ix":1,"v":{"a":0,"k":1}},{"ty":7,"nm":"Tous les masques","mn":"ADBE Stroke-0010","ix":2,"v":{"a":0,"k":0}},{"ty":7,"nm":"Contour séquentiel","mn":"ADBE Stroke-0011","ix":3,"v":{"a":0,"k":1}},{"ty":2,"nm":"Couleur","mn":"ADBE Stroke-0002","ix":4,"v":{"a":0,"k":[0.9176471,0.627451,0.9607843,0.9921569]}},{"ty":0,"nm":"Epaisseur","mn":"ADBE Stroke-0003","ix":5,"v":{"a":0,"k":2.9}},{"ty":0,"nm":"Dureté","mn":"ADBE Stroke-0004","ix":6,"v":{"a":0,"k":0.75}},{"ty":0,"nm":"Opacité","mn":"ADBE Stroke-0005","ix":7,"v":{"a":0,"k":1}},{"ty":0,"nm":"Début","mn":"ADBE Stroke-0008","ix":8,"v":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"n":["0p833_0p833_0p167_0p167"],"t":8.25,"s":[0],"e":[100]},{"t":12}]}},{"ty":0,"nm":"Fin","mn":"ADBE Stroke-0009","ix":9,"v":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"n":["0p833_0p833_0p167_0p167"],"t":4.5,"s":[0],"e":[100]},{"t":8.25}]}},{"ty":7,"nm":"Espacement","mn":"ADBE Stroke-0006","ix":10,"v":{"a":0,"k":15}},{"ty":7,"nm":"Style de peinture","mn":"ADBE Stroke-0007","ix":11,"v":{"a":0,"k":2}}]}],"sw":1920,"sh":1080,"sc":"#ff95cc","ip":4,"op":12,"st":-13,"bm":0,"sr":1},{"ddd":0,"ind":5,"ty":1,"nm":"Magenta-rouge moyen uni 1","ks":{"o":{"a":0,"k":100},"r":{"a":0,"k":0},"p":{"a":0,"k":[-121,134,0]},"a":{"a":0,"k":[960,540,0]},"s":{"a":0,"k":[100,100,100]}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"n","pt":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[1100.5,586.5],[1216.5,492]],"c":false}},"o":{"a":0,"k":100},"x":{"a":0,"k":0},"nm":"Masque 1"}],"ef":[{"ty":22,"nm":"Trait","mn":"ADBE Stroke","ix":1,"en":1,"ef":[{"ty":10,"nm":"Chemin","mn":"ADBE Stroke-0001","ix":1,"v":{"a":0,"k":1}},{"ty":7,"nm":"Tous les masques","mn":"ADBE Stroke-0010","ix":2,"v":{"a":0,"k":0}},{"ty":7,"nm":"Contour séquentiel","mn":"ADBE Stroke-0011","ix":3,"v":{"a":0,"k":1}},{"ty":2,"nm":"Couleur","mn":"ADBE Stroke-0002","ix":4,"v":{"a":0,"k":[0.9176471,0.627451,0.9607843,0.9921569]}},{"ty":0,"nm":"Epaisseur","mn":"ADBE Stroke-0003","ix":5,"v":{"a":0,"k":2.9}},{"ty":0,"nm":"Dureté","mn":"ADBE Stroke-0004","ix":6,"v":{"a":0,"k":0.75}},{"ty":0,"nm":"Opacité","mn":"ADBE Stroke-0005","ix":7,"v":{"a":0,"k":1}},{"ty":0,"nm":"Début","mn":"ADBE Stroke-0008","ix":8,"v":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"n":["0p833_0p833_0p167_0p167"],"t":6.25,"s":[0],"e":[100]},{"t":10}]}},{"ty":0,"nm":"Fin","mn":"ADBE Stroke-0009","ix":9,"v":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"n":["0p833_0p833_0p167_0p167"],"t":2.5,"s":[0],"e":[100]},{"t":6.25}]}},{"ty":7,"nm":"Espacement","mn":"ADBE Stroke-0006","ix":10,"v":{"a":0,"k":15}},{"ty":7,"nm":"Style de peinture","mn":"ADBE Stroke-0007","ix":11,"v":{"a":0,"k":2}}]}],"sw":1920,"sh":1080,"sc":"#ff95cc","ip":2,"op":10,"st":-15,"bm":0,"sr":1},{"ddd":0,"ind":6,"ty":1,"nm":"Magenta-rouge moyen uni 1","ks":{"o":{"a":0,"k":100},"r":{"a":0,"k":0},"p":{"a":0,"k":[-121,149,0]},"a":{"a":0,"k":[960,540,0]},"s":{"a":0,"k":[100,100,100]}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"n","pt":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[1100.5,586.5],[1216.5,492]],"c":false}},"o":{"a":0,"k":100},"x":{"a":0,"k":0},"nm":"Masque 1"}],"ef":[{"ty":22,"nm":"Trait","mn":"ADBE Stroke","ix":1,"en":1,"ef":[{"ty":10,"nm":"Chemin","mn":"ADBE Stroke-0001","ix":1,"v":{"a":0,"k":1}},{"ty":7,"nm":"Tous les masques","mn":"ADBE Stroke-0010","ix":2,"v":{"a":0,"k":0}},{"ty":7,"nm":"Contour séquentiel","mn":"ADBE Stroke-0011","ix":3,"v":{"a":0,"k":1}},{"ty":2,"nm":"Couleur","mn":"ADBE Stroke-0002","ix":4,"v":{"a":0,"k":[0.9176471,0.627451,0.9607843,0.9921569]}},{"ty":0,"nm":"Epaisseur","mn":"ADBE Stroke-0003","ix":5,"v":{"a":0,"k":2.9}},{"ty":0,"nm":"Dureté","mn":"ADBE Stroke-0004","ix":6,"v":{"a":0,"k":0.75}},{"ty":0,"nm":"Opacité","mn":"ADBE Stroke-0005","ix":7,"v":{"a":0,"k":1}},{"ty":0,"nm":"Début","mn":"ADBE Stroke-0008","ix":8,"v":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"n":["0p833_0p833_0p167_0p167"],"t":4.25,"s":[0],"e":[100]},{"t":8}]}},{"ty":0,"nm":"Fin","mn":"ADBE Stroke-0009","ix":9,"v":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"n":["0p833_0p833_0p167_0p167"],"t":0.5,"s":[0],"e":[100]},{"t":4.25}]}},{"ty":7,"nm":"Espacement","mn":"ADBE Stroke-0006","ix":10,"v":{"a":0,"k":15}},{"ty":7,"nm":"Style de peinture","mn":"ADBE Stroke-0007","ix":11,"v":{"a":0,"k":2}}]}],"sw":1920,"sh":1080,"sc":"#ff95cc","ip":0,"op":8,"st":-17,"bm":0,"sr":1},{"ddd":0,"ind":9,"ty":0,"nm":"Plein 0 - Comp 1","refId":"comp_0","ks":{"o":{"a":0,"k":100},"r":{"a":0,"k":0},"p":{"a":0,"k":[75,110,0]},"a":{"a":0,"k":[75,110,0]},"s":{"a":0,"k":[100,100,100]}},"ao":0,"hasMask":true,"masksProperties":[{"inv":true,"mode":"a","pt":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"n":"0p833_0p833_0p167_0p167","t":25,"s":[{"i":[[-8.513,-8.866],[-10.042,0],[-5.457,5.624],[0,21.411],[8.514,8.867],[10.042,0],[5.458,-5.623],[0,-21.411]],"o":[[5.458,5.624],[10.042,0],[8.514,-8.866],[0,-21.411],[-5.457,-5.623],[-10.042,0],[-8.513,8.867],[0,21.411]],"v":[[53.016,154.166],[75.5,163.25],[97.983,154.166],[110.426,108.75],[97.983,63.333],[75.5,54.25],[53.016,63.333],[40.573,108.75]],"c":true}],"e":[{"i":[[-8.043,-8.378],[-9.488,0],[-5.156,5.314],[0,20.23],[8.044,8.378],[9.488,0],[5.157,-5.313],[0,-20.23]],"o":[[5.157,5.314],[9.488,0],[8.044,-8.378],[0,-20.23],[-5.156,-5.313],[-9.488,0],[-8.043,8.378],[0,20.23]],"v":[[54.255,151.662],[75.5,160.245],[96.743,151.662],[108.5,108.75],[96.743,65.837],[75.5,57.255],[54.255,65.837],[42.499,108.75]],"c":true}]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"n":"0p833_0p833_0p167_0p167","t":26,"s":[{"i":[[-8.043,-8.378],[-9.488,0],[-5.156,5.314],[0,20.23],[8.044,8.378],[9.488,0],[5.157,-5.313],[0,-20.23]],"o":[[5.157,5.314],[9.488,0],[8.044,-8.378],[0,-20.23],[-5.156,-5.313],[-9.488,0],[-8.043,8.378],[0,20.23]],"v":[[54.255,151.662],[75.5,160.245],[96.743,151.662],[108.5,108.75],[96.743,65.837],[75.5,57.255],[54.255,65.837],[42.499,108.75]],"c":true}],"e":[{"i":[[-8.864,-9.232],[-10.456,0],[-5.682,5.856],[0,22.294],[8.865,9.234],[10.456,0],[5.683,-5.855],[0,-22.295]],"o":[[5.683,5.856],[10.456,0],[8.865,-9.232],[0,-22.294],[-5.682,-5.855],[-10.456,0],[-8.864,9.234],[0,22.295]],"v":[[52.088,156.041],[75.5,165.5],[98.911,156.041],[111.868,108.75],[98.911,61.458],[75.5,52],[52.088,61.458],[39.131,108.75]],"c":true}]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"n":"0p833_0p833_0p167_0p167","t":28,"s":[{"i":[[-8.864,-9.232],[-10.456,0],[-5.682,5.856],[0,22.294],[8.865,9.234],[10.456,0],[5.683,-5.855],[0,-22.295]],"o":[[5.683,5.856],[10.456,0],[8.865,-9.232],[0,-22.294],[-5.682,-5.855],[-10.456,0],[-8.864,9.234],[0,22.295]],"v":[[52.088,156.041],[75.5,165.5],[98.911,156.041],[111.868,108.75],[98.911,61.458],[75.5,52],[52.088,61.458],[39.131,108.75]],"c":true}],"e":[{"i":[[-8.513,-8.866],[-10.042,0],[-5.457,5.624],[0,21.411],[8.514,8.867],[10.042,0],[5.458,-5.623],[0,-21.411]],"o":[[5.458,5.624],[10.042,0],[8.514,-8.866],[0,-21.411],[-5.457,-5.623],[-10.042,0],[-8.513,8.867],[0,21.411]],"v":[[53.016,154.166],[75.5,163.25],[97.983,154.166],[110.426,108.75],[97.983,63.333],[75.5,54.25],[53.016,63.333],[40.573,108.75]],"c":true}]},{"t":30}]},"o":{"a":0,"k":100},"x":{"a":0,"k":0},"nm":"Masque 2"}],"w":150,"h":220,"ip":0,"op":5526,"st":0,"bm":0,"sr":1}]} \ No newline at end of file diff --git a/src/dist/app.894d6569187ababe687c.js b/src/dist/app.894d6569187ababe687c.js deleted file mode 100644 index 520ed79..0000000 --- a/src/dist/app.894d6569187ababe687c.js +++ /dev/null @@ -1,22232 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; -/******/ -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./node_modules/babel-loader/lib/index.js?{\"cacheDirectory\":true,\"presets\":[[\"env\",{\"modules\":false,\"targets\":{\"browsers\":[\"> 2%\"],\"uglify\":true}}]]}!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./resources/assets/js/components/Alert/Notification.vue": -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// - -/* harmony default export */ __webpack_exports__["default"] = ({ - props: { - title: '', - body: '', - icon: { - default: true - }, - type: { default: 'info' }, - duration: null - }, - data: function data() { - return { - notif_group: [], - self_title: this.title, - self_body: this.body, - self_type: this.type, - self_icon: Boolean(this.icon), - self_duration: this.duration, - self_show: false - }; - }, - created: function created() { - var _this = this; - - this.checkProp(); - - EventHub.listen('showNotif', function (data) { - _this.collectData(data); - }); - }, - - methods: { - checkForGroup: function checkForGroup() { - return this.notif_group.length > 1 && this.notif_group.filter(function (item) { - return item.show == true; - }).length > 1; - }, - closeAll: function closeAll() { - this.notif_group.map(function (item) { - item.show = false; - item.duration = null; - }); - }, - checkProp: function checkProp() { - var _this2 = this; - - if (this.self_title) { - this.self_show = true; - } - - if (this.self_duration !== undefined) { - setTimeout(function () { - _this2.self_show = false; - }, this.self_duration * 1000); - } - }, - collectData: function collectData(data) { - this.notif_group.push({ - title: data.title, - body: data.body, - type: data.type, - icon: data.icon == null ? true : false, - duration: data.duration, - onClose: data.onClose, - show: true - }); - }, - IsVisible: function IsVisible(index) { - var _this3 = this; - - var dur = this.notif_group[index].duration; - - if (dur !== undefined) { - setTimeout(function () { - _this3.closeNotif(index); - }, dur * 1000); - } - - return this.notif_group[index].show; - }, - closeNotif: function closeNotif(index) { - this.notif_group[index].show = false; - - if (typeof this.notif_group[index].onClose != 'undefined' && typeof this.notif_group[index].onClose === 'function') { - this.notif_group[index].onClose(); - } - }, - classObj: function classObj(type) { - return 'notification has-shadow is-' + type; - }, - getIcon: function getIcon(type) { - switch (type) { - case 'primary': - return 'track_changes'; - case 'success': - return 'check_circle'; - case 'info': - return 'live_help'; - case 'warning': - return 'power_settings_new'; - case 'danger': - return 'add_alert'; - default: - return 'error'; - } - } - } -}); - -/***/ }), - -/***/ "./node_modules/babel-loader/lib/index.js?{\"cacheDirectory\":true,\"presets\":[[\"env\",{\"modules\":false,\"targets\":{\"browsers\":[\"> 2%\"],\"uglify\":true}}]]}!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./resources/assets/vendor/MediaManager/js/components/bulma/media.vue": -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); -// -// - -/* external classes */ -// is-warning -// is-danger -// field -// has-addons -// fa-plus -// fa-minus -// fa fa-angle-double-right -// fa fa-angle-double-left - -/* harmony default export */ __webpack_exports__["default"] = ({ - name: 'media-manager', - data: function data() { - return { - files: [], - folders: [], - directories: [], - filterdList: [], - bulkList: [], - showBy: undefined, - currentFilterName: undefined, - selectedFile: undefined, - searchItemsCount: undefined, - searchFor: undefined - }; - }, - - computed: { - allFiles: function allFiles() { - if (typeof this.filterdList !== 'undefined' && this.filterdList.length > 0) { - return this.filterdList; - } else { - return this.files.items; - } - }, - allItemsCount: function allItemsCount() { - if (typeof this.allFiles !== 'undefined' && this.allFiles.length > 0) { - return this.allFiles.length; - } - }, - bulkItemsCount: function bulkItemsCount() { - if (typeof this.bulkList !== 'undefined' && this.bulkList.length > 0) { - return this.bulkList.length; - } - } - }, - mounted: function mounted() { - this.render(); - }, - - methods: { - /* Render */ - render: function render() { - var _this = this; - - var manager = this; - - this.getFiles('/'); - - //********** File Upload **********// - $('#new-upload').dropzone({ - createImageThumbnails: false, - parallelUploads: 10, - uploadMultiple: true, - previewsContainer: '#uploadPreview', - processingmultiple: function processingmultiple() { - $('#uploadProgress').fadeIn(); - }, - totaluploadprogress: function totaluploadprogress(uploadProgress) { - $('#uploadProgress .progress-bar').css('width', uploadProgress + '%'); - }, - successmultiple: function successmultiple(files, res) { - res.data.map(function (item) { - if (item.success) { - EventHub.fire('showNotif', { - title: 'Success', - body: 'Successfully Uploaded "' + item.message + '"', - type: 'success', - duration: 5 - }); - } else { - EventHub.fire('showNotif', { - title: 'Error', - body: item.message, - type: 'danger' - }); - } - }); - - manager.getFiles(manager.folders); - }, - errormultiple: function errormultiple(files, res) { - EventHub.fire('showNotif', { - title: 'Error', - body: res, - type: 'danger' - }); - }, - queuecomplete: function queuecomplete() { - $('#upload').trigger('click'); - $('#uploadProgress').fadeOut(function () { - $('#uploadProgress .progress-bar').css('width', 0); - }); - } - }); - - //********** Key Press **********// - - $(document).keydown(function (e) { - - var curSelected = parseInt($('#files li .selected').data('index')); - - // when modal isnt visible - if (!$('#new_folder_modal').is(':visible') && !$('#move_file_modal').is(':visible') && !$('#rename_file_modal').is(':visible') && !$('#confirm_delete_modal').is(':visible')) { - - // when search is not focused - if (!$('.input').is(':focus')) { - - // when no bulk selecting & no light box is active - if (!_this.isBulkSelecting() && !_this.lightBoxIsActive()) { - - var cur = ''; - var newSelected = ''; - - if ((keycode(e) == 'left' || keycode(e) == 'up') && curSelected !== 0) { - newSelected = curSelected - 1; - cur = $('div[data-index="' + newSelected + '"]'); - _this.scrollToFile(cur); - } - - if ((keycode(e) == 'right' || keycode(e) == 'down') && curSelected < _this.allItemsCount - 1) { - newSelected = curSelected + 1; - cur = $('div[data-index="' + newSelected + '"]'); - _this.scrollToFile(cur); - } - - // open folder - if (keycode(e) == 'enter') { - if (!_this.selectedFileIs('folder')) { - return false; - } - _this.currentFilterName = undefined; - _this.folders.push(_this.selectedFile.name); - _this.getFiles(_this.folders); - } - - // go up a dir - if (keycode(e) == 'backspace') { - index = parseInt(_this.folders.length) - 1; - if (index < 0) { - return false; - } - if (index === 0) { - _this.folders = []; - _this.getFiles(_this.folders); - } else { - _this.folders = _this.folders.splice(0, index); - _this.getFiles(_this.folders); - } - _this.currentFilterName = undefined; - } - - // go to first / last item - if (_this.allItemsCount) { - if (keycode(e) == 'home') { - _this.scrollToFile(); - } - if (keycode(e) == 'end') { - var index = _this.allItemsCount - 1; - cur = $('div[data-index="' + index + '"]'); - _this.scrollToFile(cur); - } - } - - // file upload - if (keycode(e) == 'u') { - $('#upload').trigger('click'); - } - } - - // quick view for images / play audio or video - if (!_this.isBulkSelecting()) { - if (keycode(e) == 'space' && e.target == document.body) { - // prevent body from scrolling - e.preventDefault(); - - // play audio/video - if (_this.selectedFileIs('video') || _this.selectedFileIs('audio')) { - return $('.player')[0].paused ? $('.player')[0].play() : $('.player')[0].pause(); - } - - // quick view image - if (_this.selectedFileIs('image')) { - if (_this.lightBoxIsActive()) { - $('#vue-lightboxOverlay').trigger('click'); - } else { - $('.quickView').trigger('click'); - } - } - } - - // quick view image "esc" - if (keycode(e) == 'esc' && _this.selectedFileIs('image') && _this.lightBoxIsActive()) { - $('#vue-lightboxOverlay').trigger('click'); - e.preventDefault(); - } - } - /* end of no bulk selection */ - - // when there are files - if (_this.allItemsCount) { - - // when lightbox is not active - if (!_this.lightBoxIsActive()) { - // bulk select - if (keycode(e) == 'b') { - $('#blk_slct').trigger('click'); - } - - // add all to bulk list - if (_this.isBulkSelecting() && keycode(e) == 'a') { - $('#blk_slct_all').trigger('click'); - } - - // delete file - if (keycode(e) == 'delete' || keycode(e) == 'd') { - $('#delete').trigger('click'); - } - - // refresh - if (keycode(e) == 'r') { - $('#refresh').trigger('click'); - } - - // move file - if (_this.checkForFolders()) { - if (keycode(e) == 'm') { - $('#move').trigger('click'); - } - } - } - /* end when lightbox is not active */ - } - /* end of there are files */ - - // toggle file details box - if (keycode(e) == 't' && !_this.lightBoxIsActive()) { - $('.toggle').trigger('click'); - } - } - /* end of search is not focused */ - } - /* end of modal isnt visible */ - - // when modal is visible - if (keycode(e) == 'enter') { - if ($('#confirm_delete_modal').is(':visible')) { - $('#confirm_delete').trigger('click'); - } - - if ($('#rename_file_modal').is(':visible')) { - $('#rename_btn').trigger('click'); - } - - if ($('#new_folder_modal').is(':visible')) { - $('#new_folder_submit').trigger('click'); - } - } - /* end of modal is visible */ - }); - - //********** Toolbar Buttons **********// - - // bulk select - $('#blk_slct').click(function () { - $(this).toggleClass('is-danger'); - $('#upload, #new_folder, #refresh, #rename').parent().hide(); - $(this).closest('.field').toggleClass('has-addons'); - $('#blk_slct_all').fadeIn(); - - // reset when toggled off - if (!manager.isBulkSelecting()) { - $('#upload, #new_folder, #refresh, #rename').parent().show(); - if ($('#blk_slct_all').hasClass('is-warning')) { - $('#blk_slct_all').trigger('click'); - } - $('#blk_slct_all').hide(); - - $('li.bulk-selected').removeClass('bulk-selected'); - manager.bulkList = []; - manager.selectFirst(); - } - - manager.clearSelected(); - }); - - // select all files - $('#blk_slct_all').click(function () { - - // if no items in bulk list - if (manager.bulkList == 0) { - // if no search query - if (!manager.searchFor) { - $(this).addClass('is-warning'); - manager.bulkList = manager.allFiles.slice(0); - } - - // if found search items - if (manager.searchItemsCount) { - $(this).addClass('is-warning'); - $('#files li').each(function () { - $(this).trigger('click'); - }); - } - } - - // if having search + having bulk items < search found items - else if (manager.searchFor && manager.bulkItemsCount < manager.searchItemsCount) { - manager.bulkList = []; - manager.clearSelected(); - - if ($(this).hasClass('is-warning')) { - $(this).removeClass('is-warning'); - } else { - $(this).addClass('is-warning'); - $('#files li').each(function () { - $(this).trigger('click'); - }); - } - } - - // if NO search + having bulk items < all items - else if (!manager.searchFor && manager.bulkItemsCount < manager.allItemsCount) { - if ($(this).hasClass('is-warning')) { - $(this).removeClass('is-warning'); - manager.bulkList = []; - } else { - $(this).addClass('is-warning'); - manager.bulkList = manager.allFiles.slice(0); - } - - manager.clearSelected(); - } - - // otherwise - else { - $(this).removeClass('is-warning'); - manager.bulkList = []; - manager.clearSelected(); - } - - // if we have items in bulk list, select first item - if (manager.bulkItemsCount) { - manager.selectedFile = manager.bulkList[0]; - } - - // toggle styling - var toggle_text = $(this).find('span').not('.icon'); - - if ($(this).hasClass('is-warning')) { - $(this).find('.fa').removeClass('fa-plus').addClass('fa-minus'); - toggle_text.text('Select Non'); - } else { - $(this).find('.fa').removeClass('fa-minus').addClass('fa-plus'); - toggle_text.text('Select All'); - } - }); - - // refresh - $('#refresh').click(function () { - _this.getFiles(_this.folders); - }); - - // upload - $('#upload').click(function () { - $('#new-upload').fadeToggle('fast'); - }); - - // new folder - $('#new_folder').click(function () { - $('#new_folder_modal').modal('show'); - }); - - $('#new_folder_modal').on('shown.bs.modal', function () { - $('#new_folder_name').focus(); - }); - - $('#new_folder_submit').click(function () { - $.post(route('media.new_folder'), { - current_path: _this.files.path, - new_folder_name: $('#new_folder_name').val() - }, function (data) { - if (data.success) { - EventHub.fire('showNotif', { - title: 'Success', - body: 'Successfully Created "' + data.new_folder_name + '" at "' + data.full_path + '"', - type: 'success', - duration: 5 - }); - _this.getFiles(_this.folders); - } else { - EventHub.fire('showNotif', { - title: 'Error', - body: data.message, - type: 'danger' - }); - } - - $('#new_folder_name').val(''); - $('#new_folder_modal').modal('hide'); - }); - }); - - // delete - $('#delete').click(function () { - if (!manager.isBulkSelecting()) { - if (_this.selectedFileIs('folder')) { - $('.folder_warning').show(); - } else { - $('.folder_warning').hide(); - } - $('.confirm_delete').text(_this.selectedFile.name); - } - - if (_this.bulkItemsCount) { - $('.folder_warning').hide(); - _this.bulkList.some(function (item) { - if (item.type.includes('folder')) { - $('.folder_warning').show(); - } - }); - } - - $('#confirm_delete_modal').modal('show'); - }); - - $('#confirm_delete').click(function () { - if (_this.bulkItemsCount) { - _this.confirm_delete(_this.bulkList); - $('#blk_slct').trigger('click'); - } else { - _this.confirm_delete([_this.selectedFile]); - } - }); - - // move - $('#move').click(function () { - $('#move_file_modal').modal('show'); - }); - - $('#move_btn').click(function () { - if (_this.bulkItemsCount) { - _this.move_btn(_this.bulkList); - $('#blk_slct').trigger('click'); - } else { - _this.move_btn([_this.selectedFile]); - } - }); - - // rename - $('#rename').click(function () { - $('#rename_file_modal').modal('show'); - }); - - $('#rename_file_modal').on('shown.bs.modal', function () { - $('#new_filename').focus(); - }); - - $('#rename_btn').click(function () { - var filename = _this.selectedFile.name; - var ext = filename.substring(filename.lastIndexOf('.') + 1); - var new_filename = $('#new_filename').val() + ('.' + ext); - - $.post(route('media.rename_file'), { - folder_location: _this.folders, - filename: filename, - new_filename: new_filename - }, function (data) { - if (data.success) { - EventHub.fire('showNotif', { - title: 'Success', - body: 'Successfully Renamed "' + filename + '" to "' + data.new_filename + '"', - type: 'success', - duration: 5 - }); - _this.updateItemName(_this.selectedFile, filename, data.new_filename); - if (_this.selectedFileIs('folder')) { - _this.updateDirsList(); - } - } else { - EventHub.fire('showNotif', { - title: 'Error', - body: data.message, - type: 'danger' - }); - } - - $('#rename_file_modal').modal('hide'); - }); - }); - }, - - - /* Main */ - getFiles: function getFiles(folders) { - var _this2 = this; - - $('#file_loader').show(); - this.searchFor = ''; - this.showFilesOfType('all'); - this.showBy = undefined; - - var folder_location = ''; - - if (folders != '/') { - folder_location = '/' + folders.join('/'); - } else { - folder_location = '/'; - } - - // files list - $.post(route('media.files'), { - folder: folder_location - }, function (res) { - _this2.files = res; - $('#file_loader').hide(); - _this2.selectFirst(); - $('#right').fadeIn(); - - for (var i = _this2.allItemsCount - 1; i >= 0; i--) { - if (typeof _this2.allFiles[i].size !== 'undefined') { - _this2.allFiles[i].size = _this2.bytesToSize(_this2.allFiles[i].size); - } - } - }); - - // dirs list - this.updateDirsList(); - }, - bytesToSize: function bytesToSize(bytes) { - if (bytes === 0) { - return '0 Bytes'; - } - var sizes = ['Bytes', 'KB', 'MB', 'GB', 'TB']; - var i = parseInt(Math.floor(Math.log(bytes) / Math.log(1024))); - return Math.round(bytes / Math.pow(1024, i), 2) + ' ' + sizes[i]; - }, - confirm_delete: function confirm_delete(files) { - var _this3 = this; - - $.post(route('media.delete_file_folder'), { - folder_location: this.folders, - deleted_files: files - }, function (res) { - res.data.map(function (item) { - if (item.success) { - EventHub.fire('showNotif', { - title: 'Success', - body: 'Successfully Deleted "' + item.name + '"', - type: 'warning', - duration: 5 - }); - _this3.removeFromLists(item.name); - } else { - EventHub.fire('showNotif', { - title: 'Error', - body: item.message, - type: 'danger' - }); - } - }); - - $('#confirm_delete_modal').modal('hide'); - _this3.updateFoundCount(files.length); - _this3.selectFirst(); - }); - }, - move_btn: function move_btn(files) { - var _this4 = this; - - var destination = $('#move_folder_dropdown').val(); - - $.post(route('media.move_file'), { - folder_location: this.folders, - destination: destination, - moved_files: files - }, function (res) { - res.data.map(function (item) { - if (item.success) { - EventHub.fire('showNotif', { - title: 'Success', - body: 'Successfully moved "' + item.name + '" to "' + destination + '"', - type: 'success', - duration: 5 - }); - _this4.removeFromLists(item.name); - _this4.updateFolderCount(destination, 1); - - // update dirs list after move - if (item.type.includes('folder')) { - _this4.updateDirsList(); - } - } else { - EventHub.fire('showNotif', { - title: 'Error', - body: item.message, - type: 'danger' - }); - } - }); - - // update folder count when folder is moved into another - for (var i = files.length - 1; i >= 0; i--) { - if (files[i].items && files[i].items > 0) { - _this4.updateFolderCount(destination, files[i].items); - } - } - - $('#move_file_modal').modal('hide'); - _this4.updateFoundCount(files.length); - _this4.selectFirst(); - }); - }, - - - /* Bulk */ - isBulkSelecting: function isBulkSelecting() { - return $('#blk_slct').hasClass('is-danger'); - }, - IsInBulkList: function IsInBulkList(file) { - return this.bulkList.includes(file); - }, - pushtoBulkList: function pushtoBulkList(file) { - if (!this.bulkItemsCount) { - return this.bulkList.push(file); - } - - if (!this.bulkList.includes(file)) { - return this.bulkList.push(file); - } else { - this.bulkList.splice(this.bulkList.indexOf(file), 1); - - // normal single selction behavior - if (!$('#blk_slct_all').hasClass('is-warning')) { - // select prev item - if (this.bulkItemsCount) { - this.selectedFile = this.bulkList[this.bulkItemsCount - 1]; - } else { - // clear slection - this.clearSelected(); - } - } - } - }, - - - /* Selected */ - selectFirst: function selectFirst() { - this.$nextTick(function () { - var file = $('div[data-index="0"]'); - if (file.length > 0) { - file.trigger('click'); - } - }); - }, - setSelected: function setSelected(file) { - this.clearSelected(); - $('div[data-folder="' + file.name + '"]').addClass('selected'); - this.selectedFile = file; - - if (this.isBulkSelecting()) { - this.pushtoBulkList(file); - } - }, - clearSelected: function clearSelected() { - this.selectedFile = undefined; - $('#files li .selected').removeClass('selected'); - }, - openFolder: function openFolder(file) { - if (!this.isBulkSelecting()) { - if (!this.fileTypeIs(file, 'folder')) { - return false; - } - this.folders.push(file.name); - this.getFiles(this.folders); - } - this.currentFilterName = undefined; - }, - goToFolder: function goToFolder(index) { - if (!this.isBulkSelecting()) { - this.folders = this.folders.splice(0, index); - this.getFiles(this.folders); - } - }, - scrollToFile: function scrollToFile(file) { - if (!file) { - file = $('div[data-index="0"]'); - } - - $(file).trigger('click'); - $('#left').scrollTo($(file), 0, { - margin: true, - offset: -8 - }); - }, - - - /* Filtration */ - btnFilter: function btnFilter(val) { - var _this5 = this; - - if (val == 'all') { - return this.filterdList.length; - } - - return this.files.items.some(function (item) { - return _this5.fileTypeIs(item, val); - }); - }, - selectedFileIs: function selectedFileIs(val) { - if (typeof this.selectedFile !== 'undefined') { - return this.fileTypeIs(this.selectedFile, val); - } - }, - filterNameIs: function filterNameIs(val) { - return this.currentFilterName == val; - }, - fileTypeIs: function fileTypeIs(item, val) { - if (val == 'text') { - if (!item.type.includes('folder') && !item.type.includes('image') && !item.type.includes('video') && !item.type.includes('audio')) { - return true; - } - } else { - return item.type.includes(val); - } - }, - showFilesOfType: function showFilesOfType(val) { - var _this6 = this; - - if (this.currentFilterName == val) { - return false; - } - if (val == 'all') { - this.filterdList = []; - this.currentFilterName = undefined; - } else { - this.filterdList = this.files.items.filter(function (item) { - return _this6.fileTypeIs(item, val); - }); - this.currentFilterName = val; - } - - if (!this.isBulkSelecting()) { - this.clearSelected(); - this.selectFirst(); - } - if (this.searchFor) { - this.updateSearchCount(); - } - }, - filterDir: function filterDir(dir) { - // dont show dirs that have similarity with selected item(s) - if (this.bulkItemsCount) { - if (this.bulkList.filter(function (e) { - return dir.match('(/?)' + e.name + '(/?)'); - }).length > 0) { - return false; - } else { - return true; - } - } else { - return this.selectedFile && !dir.includes(this.selectedFile.name); - } - }, - checkForFolders: function checkForFolders() { - if ($('#move_folder_dropdown').val() !== null) { - return true; - } else { - return false; - } - }, - - - /* Operations */ - removeFromLists: function removeFromLists(name) { - var i = 0; - - if (this.filterdList.length) { - for (i = this.filterdList.length - 1; i >= 0; i--) { - if (this.filterdList[i].name.includes(name)) { - this.filterdList.splice(i, 1); - } - } - } - - if (this.directories.length) { - for (i = this.directories.length - 1; i >= 0; i--) { - if (this.directories[i].includes(name)) { - this.directories.splice(i, 1); - } - } - } - - for (i = this.files.items.length - 1; i >= 0; i--) { - if (this.files.items[i].name.includes(name)) { - this.files.items.splice(i, 1); - } - } - - this.clearSelected(); - }, - updateFolderCount: function updateFolderCount(destination, count) { - if (destination !== '../') { - - if (destination.includes('/')) { - destination = destination.split('/').shift(); - } - - var i = 0; - - if (this.filterdList.length) { - for (i = this.filterdList.length - 1; i >= 0; i--) { - if (this.filterdList[i].name.includes(destination)) { - this.filterdList[i].items += parseInt(count); - } - } - } - - for (i = this.files.items.length - 1; i >= 0; i--) { - if (this.files.items[i].name.includes(destination)) { - this.files.items[i].items += parseInt(count); - } - } - } - }, - updateItemName: function updateItemName(item, oldName, newName) { - // update the main files list - var filesIndex = this.files.items[this.files.items.indexOf(item)]; - filesIndex.name = newName; - filesIndex.path = filesIndex.path.replace(oldName, newName); - - // if found in the filterd list, then update it aswell - if (this.filterdList.includes(item)) { - var filterIndex = this.filterdList[this.filterdList.indexOf(item)]; - filterIndex.name = newName; - filesIndex.path = filterIndex.path.replace(oldName, newName); - } - }, - updateSearchCount: function updateSearchCount() { - var _this7 = this; - - this.$nextTick(function () { - _this7.searchItemsCount = parseInt($('#files li').length); - - if (_this7.searchItemsCount == 0) { - $('#no_files').fadeIn(); - } else { - $('#no_files').hide(); - } - }); - }, - updateFoundCount: function updateFoundCount(count) { - if (this.searchFor) { - this.searchItemsCount = parseInt(this.searchItemsCount - count); - } - }, - updateDirsList: function updateDirsList() { - var _this8 = this; - - $.post(route('media.directories'), { - folder_location: this.folders - }, function (data) { - _this8.directories = data; - }); - }, - - - /* Utils */ - lastItem: function lastItem(item, list) { - return item == list[list.length - 1]; - }, - toggleInfo: function toggleInfo() { - $('#right').fadeToggle(); - var span = $('.toggle').find('span').not('.icon'); - span.text(span.text() == 'Close' ? 'Open' : 'Close'); - $('.toggle').find('.fa').toggleClass('fa fa-angle-double-right').toggleClass('fa fa-angle-double-left'); - }, - lightBoxIsActive: function lightBoxIsActive() { - return $('#vue-lightboxOverlay').is(':visible'); - }, - fileName: function fileName(name) { - return name.replace(/(.[^.]*)$/, ''); - } - }, - watch: { - allFiles: function allFiles(newVal) { - if (newVal.length < 1) { - $('#no_files').fadeIn(); - } else { - $('#no_files').hide(); - } - }, - bulkList: function bulkList(val) { - var _this9 = this; - - if (val) { - // hide move button when all folders are selected - this.$nextTick(function () { - if (!_this9.checkForFolders()) { - $('#move').attr('disabled', true); - } - }); - } - - if (val == 0 && this.isBulkSelecting()) { - var toggle_text = $('#blk_slct_all').find('span').not('.icon'); - $('#blk_slct_all').removeClass('is-warning'); - $('#blk_slct_all').find('.fa').removeClass('fa-minus').addClass('fa-plus'); - toggle_text.text('Select All'); - } - }, - selectedFile: function selectedFile(val) { - var _this10 = this; - - if (!val) { - $('#move').attr('disabled', true); - $('#rename').attr('disabled', true); - $('#delete').attr('disabled', true); - } else { - // hide move button when there is only one folder and its selected - this.$nextTick(function () { - if (!_this10.checkForFolders()) { - $('#move').attr('disabled', true); - } - }); - - $('#move').removeAttr('disabled'); - $('#rename').removeAttr('disabled'); - $('#delete').removeAttr('disabled'); - } - }, - searchFor: function searchFor(val) { - if (val) { - this.updateSearchCount(); - } - - // so we dont miss with the bulk selection list - if (!this.isBulkSelecting()) { - this.clearSelected(); - this.selectFirst(); - } - this.searchItemsCount = undefined; - }, - searchItemsCount: function searchItemsCount(val) { - // make sure "no_files" is hidden when search query is cleared - if (val == undefined) { - $('#no_files').hide(); - } - }, - showBy: function showBy(val) { - if (val) { - if (val == 'clear') { - this.showBy = undefined; - } - if (!this.isBulkSelecting()) { - this.selectFirst(); - } - } - } - } -}); - -/***/ }), - -/***/ "./node_modules/css-loader/index.js!./node_modules/tippy.js/dist/tippy.css": -/***/ (function(module, exports, __webpack_require__) { - -exports = module.exports = __webpack_require__("./node_modules/css-loader/lib/css-base.js")(); -exports.push([module.i, ".tippy-touch{cursor:pointer!important}.tippy-notransition{-webkit-transition:none!important;transition:none!important}.tippy-popper{max-width:400px;-webkit-perspective:800px;perspective:800px;z-index:9999}.tippy-popper.html-template{max-width:96%;max-width:calc(100% - 20px)}.tippy-popper[x-placement^=top] [x-arrow]{position:absolute;width:0;height:0;border-top:7px solid #333;border-right:7px solid transparent;border-left:7px solid transparent;bottom:-7px}.tippy-popper[x-placement^=top] [x-arrow].arrow-small{border-top:5px solid #333;border-right:5px solid transparent;border-left:5px solid transparent;bottom:-5px}.tippy-popper[x-placement^=top] [x-arrow].arrow-big{border-top:9px solid #333;border-right:9px solid transparent;border-left:9px solid transparent;bottom:-9px}.tippy-popper[x-placement^=top] [x-circle]{-webkit-transform-origin:0 100%;transform-origin:0 100%}.tippy-popper[x-placement^=top] [x-circle].enter{opacity:1;-webkit-transform:scale(1) translate(-50%,-50%);transform:scale(1) translate(-50%,-50%)}.tippy-popper[x-placement^=top] [x-circle].leave{opacity:0;-webkit-transform:scale(.45) translate(-50%,-100%);transform:scale(.45) translate(-50%,-100%)}.tippy-popper[x-placement^=top] .tippy-tooltip.light-theme [x-circle]{background-color:#fff}.tippy-popper[x-placement^=top] .tippy-tooltip.light-theme [x-arrow]{border-top:7px solid #fff;border-right:7px solid transparent;border-left:7px solid transparent}.tippy-popper[x-placement^=top] .tippy-tooltip.light-theme [x-arrow].arrow-small{border-top:5px solid #fff;border-right:5px solid transparent;border-left:5px solid transparent}.tippy-popper[x-placement^=top] .tippy-tooltip.light-theme [x-arrow].arrow-big{border-top:9px solid #fff;border-right:9px solid transparent;border-left:9px solid transparent}.tippy-popper[x-placement^=top] .tippy-tooltip.transparent-theme [x-circle]{background-color:rgba(0,0,0,.7)}.tippy-popper[x-placement^=top] .tippy-tooltip.transparent-theme [x-arrow]{border-top:7px solid rgba(0,0,0,.7);border-right:7px solid transparent;border-left:7px solid transparent}.tippy-popper[x-placement^=top] .tippy-tooltip.transparent-theme [x-arrow].arrow-small{border-top:5px solid rgba(0,0,0,.7);border-right:5px solid transparent;border-left:5px solid transparent}.tippy-popper[x-placement^=top] .tippy-tooltip.transparent-theme [x-arrow].arrow-big{border-top:9px solid rgba(0,0,0,.7);border-right:9px solid transparent;border-left:9px solid transparent}.tippy-popper[x-placement^=top] [data-animation=perspective]{-webkit-transform-origin:bottom;transform-origin:bottom}.tippy-popper[x-placement^=top] [data-animation=perspective].enter{opacity:1;-webkit-transform:translateY(-10px) rotateX(0);transform:translateY(-10px) rotateX(0)}.tippy-popper[x-placement^=top] [data-animation=perspective].leave{opacity:0;-webkit-transform:translateY(0) rotateX(90deg);transform:translateY(0) rotateX(90deg)}.tippy-popper[x-placement^=top] [data-animation=fade].enter{opacity:1;-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=fade].leave{opacity:0;-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift].enter{opacity:1;-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift].leave{opacity:0;-webkit-transform:translateY(0);transform:translateY(0)}.tippy-popper[x-placement^=top] [data-animation=scale].enter{opacity:1;-webkit-transform:translateY(-10px) scale(1);transform:translateY(-10px) scale(1)}.tippy-popper[x-placement^=top] [data-animation=scale].leave{opacity:0;-webkit-transform:translateY(0) scale(0);transform:translateY(0) scale(0)}.tippy-popper[x-placement^=bottom] [x-arrow]{position:absolute;width:0;height:0;border-bottom:7px solid #333;border-right:7px solid transparent;border-left:7px solid transparent;top:-7px}.tippy-popper[x-placement^=bottom] [x-arrow].arrow-small{border-bottom:5px solid #333;border-right:5px solid transparent;border-left:5px solid transparent;top:-5px}.tippy-popper[x-placement^=bottom] [x-arrow].arrow-big{border-bottom:9px solid #333;border-right:9px solid transparent;border-left:9px solid transparent;top:-9px}.tippy-popper[x-placement^=bottom] [x-circle]{-webkit-transform-origin:0 -100%;transform-origin:0 -100%}.tippy-popper[x-placement^=bottom] [x-circle].enter{opacity:1;-webkit-transform:scale(1) translate(-50%,-50%);transform:scale(1) translate(-50%,-50%)}.tippy-popper[x-placement^=bottom] [x-circle].leave{opacity:0;-webkit-transform:scale(.45) translate(-50%,5%);transform:scale(.45) translate(-50%,5%)}.tippy-popper[x-placement^=bottom] .tippy-tooltip.light-theme [x-circle]{background-color:#fff}.tippy-popper[x-placement^=bottom] .tippy-tooltip.light-theme [x-arrow]{border-bottom:7px solid #fff;border-right:7px solid transparent;border-left:7px solid transparent}.tippy-popper[x-placement^=bottom] .tippy-tooltip.light-theme [x-arrow].arrow-small{border-bottom:5px solid #fff;border-right:5px solid transparent;border-left:5px solid transparent}.tippy-popper[x-placement^=bottom] .tippy-tooltip.light-theme [x-arrow].arrow-big{border-bottom:9px solid #fff;border-right:9px solid transparent;border-left:9px solid transparent}.tippy-popper[x-placement^=bottom] .tippy-tooltip.transparent-theme [x-circle]{background-color:rgba(0,0,0,.7)}.tippy-popper[x-placement^=bottom] .tippy-tooltip.transparent-theme [x-arrow]{border-bottom:7px solid rgba(0,0,0,.7);border-right:7px solid transparent;border-left:7px solid transparent}.tippy-popper[x-placement^=bottom] .tippy-tooltip.transparent-theme [x-arrow].arrow-small{border-bottom:5px solid rgba(0,0,0,.7);border-right:5px solid transparent;border-left:5px solid transparent}.tippy-popper[x-placement^=bottom] .tippy-tooltip.transparent-theme [x-arrow].arrow-big{border-bottom:9px solid rgba(0,0,0,.7);border-right:9px solid transparent;border-left:9px solid transparent}.tippy-popper[x-placement^=bottom] [data-animation=perspective]{-webkit-transform-origin:top;transform-origin:top}.tippy-popper[x-placement^=bottom] [data-animation=perspective].enter{opacity:1;-webkit-transform:translateY(10px) rotateX(0);transform:translateY(10px) rotateX(0)}.tippy-popper[x-placement^=bottom] [data-animation=perspective].leave{opacity:0;-webkit-transform:translateY(0) rotateX(-90deg);transform:translateY(0) rotateX(-90deg)}.tippy-popper[x-placement^=bottom] [data-animation=fade].enter{opacity:1;-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=fade].leave{opacity:0;-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift].enter{opacity:1;-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift].leave{opacity:0;-webkit-transform:translateY(0);transform:translateY(0)}.tippy-popper[x-placement^=bottom] [data-animation=scale].enter{opacity:1;-webkit-transform:translateY(10px) scale(1);transform:translateY(10px) scale(1)}.tippy-popper[x-placement^=bottom] [data-animation=scale].leave{opacity:0;-webkit-transform:translateY(0) scale(0);transform:translateY(0) scale(0)}.tippy-popper[x-placement^=left] [x-arrow]{position:absolute;width:0;height:0;border-left:7px solid #333;border-top:7px solid transparent;border-bottom:7px solid transparent;right:-7px;top:50%}.tippy-popper[x-placement^=left] [x-arrow].arrow-small{border-left:5px solid #333;border-top:5px solid transparent;border-bottom:5px solid transparent;right:-5px;top:50%}.tippy-popper[x-placement^=left] [x-arrow].arrow-big{border-left:9px solid #333;border-top:9px solid transparent;border-bottom:9px solid transparent;right:-9px;top:50%}.tippy-popper[x-placement^=left] [x-circle]{-webkit-transform-origin:50% 0;transform-origin:50% 0}.tippy-popper[x-placement^=left] [x-circle].enter{opacity:1;-webkit-transform:scale(1) translate(-50%,-50%);transform:scale(1) translate(-50%,-50%)}.tippy-popper[x-placement^=left] [x-circle].leave{opacity:0;-webkit-transform:scale(.45) translate(-50%,-50%);transform:scale(.45) translate(-50%,-50%)}.tippy-popper[x-placement^=left] .tippy-tooltip.light-theme [x-circle]{background-color:#fff}.tippy-popper[x-placement^=left] .tippy-tooltip.light-theme [x-arrow]{border-left:7px solid #fff;border-top:7px solid transparent;border-bottom:7px solid transparent}.tippy-popper[x-placement^=left] .tippy-tooltip.light-theme [x-arrow].arrow-small{border-left:5px solid #fff;border-top:5px solid transparent;border-bottom:5px solid transparent}.tippy-popper[x-placement^=left] .tippy-tooltip.light-theme [x-arrow].arrow-big{border-left:9px solid #fff;border-top:9px solid transparent;border-bottom:9px solid transparent}.tippy-popper[x-placement^=left] .tippy-tooltip.transparent-theme [x-circle]{background-color:rgba(0,0,0,.7)}.tippy-popper[x-placement^=left] .tippy-tooltip.transparent-theme [x-arrow]{border-left:7px solid rgba(0,0,0,.7);border-top:7px solid transparent;border-bottom:7px solid transparent}.tippy-popper[x-placement^=left] .tippy-tooltip.transparent-theme [x-arrow].arrow-small{border-left:5px solid rgba(0,0,0,.7);border-top:5px solid transparent;border-bottom:5px solid transparent}.tippy-popper[x-placement^=left] .tippy-tooltip.transparent-theme [x-arrow].arrow-big{border-left:9px solid rgba(0,0,0,.7);border-top:9px solid transparent;border-bottom:9px solid transparent}.tippy-popper[x-placement^=left] [data-animation=perspective]{-webkit-transform-origin:right;transform-origin:right}.tippy-popper[x-placement^=left] [data-animation=perspective].enter{opacity:1;-webkit-transform:translateX(-10px) rotateY(0);transform:translateX(-10px) rotateY(0)}.tippy-popper[x-placement^=left] [data-animation=perspective].leave{opacity:0;-webkit-transform:translateX(0) rotateY(-90deg);transform:translateX(0) rotateY(-90deg)}.tippy-popper[x-placement^=left] [data-animation=fade].enter{opacity:1;-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=fade].leave{opacity:0;-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift].enter{opacity:1;-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift].leave{opacity:0;-webkit-transform:translateX(0);transform:translateX(0)}.tippy-popper[x-placement^=left] [data-animation=scale].enter{opacity:1;-webkit-transform:translateX(-10px) scale(1);transform:translateX(-10px) scale(1)}.tippy-popper[x-placement^=left] [data-animation=scale].leave{opacity:0;-webkit-transform:translateX(0) scale(0);transform:translateX(0) scale(0)}.tippy-popper[x-placement^=right] [x-arrow]{position:absolute;width:0;height:0;border-right:7px solid #333;border-top:7px solid transparent;border-bottom:7px solid transparent;left:-7px;top:50%}.tippy-popper[x-placement^=right] [x-arrow].arrow-small{border-right:5px solid #333;border-top:5px solid transparent;border-bottom:5px solid transparent;left:-5px;top:50%}.tippy-popper[x-placement^=right] [x-arrow].arrow-big{border-right:9px solid #333;border-top:9px solid transparent;border-bottom:9px solid transparent;left:-9px;top:50%}.tippy-popper[x-placement^=right] [x-circle]{-webkit-transform-origin:-50% 0;transform-origin:-50% 0}.tippy-popper[x-placement^=right] [x-circle].enter{opacity:1;-webkit-transform:scale(1) translate(-50%,-50%);transform:scale(1) translate(-50%,-50%)}.tippy-popper[x-placement^=right] [x-circle].leave{opacity:0;-webkit-transform:scale(.45) translate(-50%,-50%);transform:scale(.45) translate(-50%,-50%)}.tippy-popper[x-placement^=right] .tippy-tooltip.light-theme [x-circle]{background-color:#fff}.tippy-popper[x-placement^=right] .tippy-tooltip.light-theme [x-arrow]{border-right:7px solid #fff;border-top:7px solid transparent;border-bottom:7px solid transparent}.tippy-popper[x-placement^=right] .tippy-tooltip.light-theme [x-arrow].arrow-small{border-right:5px solid #fff;border-top:5px solid transparent;border-bottom:5px solid transparent}.tippy-popper[x-placement^=right] .tippy-tooltip.light-theme [x-arrow].arrow-big{border-right:9px solid #fff;border-top:9px solid transparent;border-bottom:9px solid transparent}.tippy-popper[x-placement^=right] .tippy-tooltip.transparent-theme [x-circle]{background-color:rgba(0,0,0,.7)}.tippy-popper[x-placement^=right] .tippy-tooltip.transparent-theme [x-arrow]{border-right:7px solid rgba(0,0,0,.7);border-top:7px solid transparent;border-bottom:7px solid transparent}.tippy-popper[x-placement^=right] .tippy-tooltip.transparent-theme [x-arrow].arrow-small{border-right:5px solid rgba(0,0,0,.7);border-top:5px solid transparent;border-bottom:5px solid transparent}.tippy-popper[x-placement^=right] .tippy-tooltip.transparent-theme [x-arrow].arrow-big{border-right:9px solid rgba(0,0,0,.7);border-top:9px solid transparent;border-bottom:9px solid transparent}.tippy-popper[x-placement^=right] [data-animation=perspective]{-webkit-transform-origin:left;transform-origin:left}.tippy-popper[x-placement^=right] [data-animation=perspective].enter{opacity:1;-webkit-transform:translateX(10px) rotateY(0);transform:translateX(10px) rotateY(0)}.tippy-popper[x-placement^=right] [data-animation=perspective].leave{opacity:0;-webkit-transform:translateX(0) rotateY(90deg);transform:translateX(0) rotateY(90deg)}.tippy-popper[x-placement^=right] [data-animation=fade].enter{opacity:1;-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=fade].leave{opacity:0;-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift].enter{opacity:1;-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift].leave{opacity:0;-webkit-transform:translateX(0);transform:translateX(0)}.tippy-popper[x-placement^=right] [data-animation=scale].enter{opacity:1;-webkit-transform:translateX(10px) scale(1);transform:translateX(10px) scale(1)}.tippy-popper[x-placement^=right] [data-animation=scale].leave{opacity:0;-webkit-transform:translateX(0) scale(0);transform:translateX(0) scale(0)}.tippy-popper [x-circle]{background-color:#fff}.tippy-popper[data-animatefill]{background-color:transparent}.tippy-popper [x-arrow]{position:absolute;width:0;height:0}.tippy-popper .tippy-tooltip.transparent-theme{background-color:rgba(0,0,0,.7)}.tippy-popper .tippy-tooltip.transparent-theme[data-animatefill]{background-color:transparent}.tippy-popper .tippy-tooltip.light-theme{color:#203d5d;box-shadow:0 4px 20px 4px rgba(0,20,60,.1),0 4px 80px -8px rgba(0,20,60,.2);background-color:#fff}.tippy-popper .tippy-tooltip.light-theme[data-animatefill]{background-color:transparent}.tippy-tooltip{position:relative;color:#fff;border-radius:4px;font-size:.95rem;padding:.4rem .8rem;text-align:center;will-change:transform;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#333}.tippy-tooltip--small{padding:.25rem .5rem;font-size:.8rem}.tippy-tooltip--big{padding:.6rem 1.2rem;font-size:1.2rem}.tippy-tooltip[data-animatefill]{overflow:hidden;background-color:transparent}.tippy-tooltip[data-inertia]{-webkit-transition-timing-function:cubic-bezier(.53,1,.36,.85);transition-timing-function:cubic-bezier(.53,2,.36,.85)}.tippy-tooltip [x-circle]{position:absolute;will-change:transform;background-color:#333;border-radius:50%;width:120%;width:calc(100% + 2rem);-webkit-transition:all ease-out;transition:all ease-out;left:50%;top:50%;z-index:-1;opacity:0;overflow:hidden}.tippy-tooltip [x-circle]:before{content:\"\";padding-top:75%;float:left}@media (max-width:450px){.tippy-popper{max-width:96%;max-width:calc(100% - 20px)}}", ""]); - -/***/ }), - -/***/ "./node_modules/css-loader/index.js!./node_modules/vue-loader/lib/style-compiler/index.js?{\"id\":\"data-v-4eeedfda\",\"scoped\":true,\"hasInlineConfig\":true}!./node_modules/vue-loader/lib/selector.js?type=styles&index=0!./resources/assets/js/components/Alert/Notification.vue": -/***/ (function(module, exports, __webpack_require__) { - -exports = module.exports = __webpack_require__("./node_modules/css-loader/lib/css-base.js")(); -exports.push([module.i, "@import url(https://fonts.googleapis.com/icon?family=Material+Icons);", ""]); -exports.push([module.i, "\n\n.item[data-v-4eeedfda] {\n width: 330px;\n}\n.material-icons[data-v-4eeedfda] {\n font-size: 3rem;\n}\n.media-left[data-v-4eeedfda] {\n -ms-flex-item-align: center;\n -ms-grid-row-align: center;\n align-self: center;\n position: relative;\n margin-right: 1.25rem;\n}\n.has-shadow[data-v-4eeedfda] {\n box-shadow: 0 2px 4px rgba(0,0,0,0.12), 0 0 6px rgba(0,0,0,0.04);\n}\n.notification[data-v-4eeedfda] {\n padding: 1.25rem;\n margin-bottom: 10px;\n}\n#close_all[data-v-4eeedfda] {\n background-color: rgba(54, 54, 54, 0.9);\n cursor: pointer;\n position: fixed;\n z-index: 1;\n top: 1rem;\n right: 1rem;\n}\n#close_all[data-v-4eeedfda]:hover{\n background-color: rgb(54, 54, 54);\n}\n", ""]); - -/***/ }), - -/***/ "./node_modules/css-loader/lib/css-base.js": -/***/ (function(module, exports) { - -/* - MIT License http://www.opensource.org/licenses/mit-license.php - Author Tobias Koppers @sokra -*/ -// css base code, injected by the css-loader -module.exports = function() { - var list = []; - - // return the list of modules as css string - list.toString = function toString() { - var result = []; - for(var i = 0; i < this.length; i++) { - var item = this[i]; - if(item[2]) { - result.push("@media " + item[2] + "{" + item[1] + "}"); - } else { - result.push(item[1]); - } - } - return result.join(""); - }; - - // import a list of modules into the list - list.i = function(modules, mediaQuery) { - if(typeof modules === "string") - modules = [[null, modules, ""]]; - var alreadyImportedModules = {}; - for(var i = 0; i < this.length; i++) { - var id = this[i][0]; - if(typeof id === "number") - alreadyImportedModules[id] = true; - } - for(i = 0; i < modules.length; i++) { - var item = modules[i]; - // skip already imported module - // this implementation is not 100% perfect for weird media query combinations - // when a module is imported multiple times with different media queries. - // I hope this will never occur (Hey this way we have smaller bundles) - if(typeof item[0] !== "number" || !alreadyImportedModules[item[0]]) { - if(mediaQuery && !item[2]) { - item[2] = mediaQuery; - } else if(mediaQuery) { - item[2] = "(" + item[2] + ") and (" + mediaQuery + ")"; - } - list.push(item); - } - } - }; - return list; -}; - - -/***/ }), - -/***/ "./node_modules/dropzone/dist/dropzone.js": -/***/ (function(module, exports, __webpack_require__) { - -/* WEBPACK VAR INJECTION */(function(module) { -/* - * - * More info at [www.dropzonejs.com](http://www.dropzonejs.com) - * - * Copyright (c) 2012, Matias Meno - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - * THE SOFTWARE. - * - */ - -(function() { - var Dropzone, Emitter, ExifRestore, camelize, contentLoaded, detectVerticalSquash, drawImageIOSFix, noop, without, - slice = [].slice, - extend1 = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, - hasProp = {}.hasOwnProperty; - - noop = function() {}; - - Emitter = (function() { - function Emitter() {} - - Emitter.prototype.addEventListener = Emitter.prototype.on; - - Emitter.prototype.on = function(event, fn) { - this._callbacks = this._callbacks || {}; - if (!this._callbacks[event]) { - this._callbacks[event] = []; - } - this._callbacks[event].push(fn); - return this; - }; - - Emitter.prototype.emit = function() { - var args, callback, callbacks, event, j, len; - event = arguments[0], args = 2 <= arguments.length ? slice.call(arguments, 1) : []; - this._callbacks = this._callbacks || {}; - callbacks = this._callbacks[event]; - if (callbacks) { - for (j = 0, len = callbacks.length; j < len; j++) { - callback = callbacks[j]; - callback.apply(this, args); - } - } - return this; - }; - - Emitter.prototype.removeListener = Emitter.prototype.off; - - Emitter.prototype.removeAllListeners = Emitter.prototype.off; - - Emitter.prototype.removeEventListener = Emitter.prototype.off; - - Emitter.prototype.off = function(event, fn) { - var callback, callbacks, i, j, len; - if (!this._callbacks || arguments.length === 0) { - this._callbacks = {}; - return this; - } - callbacks = this._callbacks[event]; - if (!callbacks) { - return this; - } - if (arguments.length === 1) { - delete this._callbacks[event]; - return this; - } - for (i = j = 0, len = callbacks.length; j < len; i = ++j) { - callback = callbacks[i]; - if (callback === fn) { - callbacks.splice(i, 1); - break; - } - } - return this; - }; - - return Emitter; - - })(); - - Dropzone = (function(superClass) { - var extend, resolveOption; - - extend1(Dropzone, superClass); - - Dropzone.prototype.Emitter = Emitter; - - - /* - This is a list of all available events you can register on a dropzone object. - - You can register an event handler like this: - - dropzone.on("dragEnter", function() { }); - */ - - Dropzone.prototype.events = ["drop", "dragstart", "dragend", "dragenter", "dragover", "dragleave", "addedfile", "addedfiles", "removedfile", "thumbnail", "error", "errormultiple", "processing", "processingmultiple", "uploadprogress", "totaluploadprogress", "sending", "sendingmultiple", "success", "successmultiple", "canceled", "canceledmultiple", "complete", "completemultiple", "reset", "maxfilesexceeded", "maxfilesreached", "queuecomplete"]; - - Dropzone.prototype.defaultOptions = { - url: null, - method: "post", - withCredentials: false, - timeout: 30000, - parallelUploads: 2, - uploadMultiple: false, - maxFilesize: 256, - paramName: "file", - createImageThumbnails: true, - maxThumbnailFilesize: 10, - thumbnailWidth: 120, - thumbnailHeight: 120, - thumbnailMethod: 'crop', - resizeWidth: null, - resizeHeight: null, - resizeMimeType: null, - resizeQuality: 0.8, - resizeMethod: 'contain', - filesizeBase: 1000, - maxFiles: null, - params: {}, - headers: null, - clickable: true, - ignoreHiddenFiles: true, - acceptedFiles: null, - acceptedMimeTypes: null, - autoProcessQueue: true, - autoQueue: true, - addRemoveLinks: false, - previewsContainer: null, - hiddenInputContainer: "body", - capture: null, - renameFilename: null, - renameFile: null, - forceFallback: false, - dictDefaultMessage: "Drop files here to upload", - dictFallbackMessage: "Your browser does not support drag'n'drop file uploads.", - dictFallbackText: "Please use the fallback form below to upload your files like in the olden days.", - dictFileTooBig: "File is too big ({{filesize}}MiB). Max filesize: {{maxFilesize}}MiB.", - dictInvalidFileType: "You can't upload files of this type.", - dictResponseError: "Server responded with {{statusCode}} code.", - dictCancelUpload: "Cancel upload", - dictCancelUploadConfirmation: "Are you sure you want to cancel this upload?", - dictRemoveFile: "Remove file", - dictRemoveFileConfirmation: null, - dictMaxFilesExceeded: "You can not upload any more files.", - dictFileSizeUnits: { - tb: "TB", - gb: "GB", - mb: "MB", - kb: "KB", - b: "b" - }, - init: function() { - return noop; - }, - accept: function(file, done) { - return done(); - }, - fallback: function() { - var child, j, len, messageElement, ref, span; - this.element.className = this.element.className + " dz-browser-not-supported"; - ref = this.element.getElementsByTagName("div"); - for (j = 0, len = ref.length; j < len; j++) { - child = ref[j]; - if (/(^| )dz-message($| )/.test(child.className)) { - messageElement = child; - child.className = "dz-message"; - continue; - } - } - if (!messageElement) { - messageElement = Dropzone.createElement("
"); - this.element.appendChild(messageElement); - } - span = messageElement.getElementsByTagName("span")[0]; - if (span) { - if (span.textContent != null) { - span.textContent = this.options.dictFallbackMessage; - } else if (span.innerText != null) { - span.innerText = this.options.dictFallbackMessage; - } - } - return this.element.appendChild(this.getFallbackForm()); - }, - resize: function(file, width, height, resizeMethod) { - var info, srcRatio, trgRatio; - info = { - srcX: 0, - srcY: 0, - srcWidth: file.width, - srcHeight: file.height - }; - srcRatio = file.width / file.height; - if ((width == null) && (height == null)) { - width = info.srcWidth; - height = info.srcHeight; - } else if (width == null) { - width = height * srcRatio; - } else if (height == null) { - height = width / srcRatio; - } - width = Math.min(width, info.srcWidth); - height = Math.min(height, info.srcHeight); - trgRatio = width / height; - if (info.srcWidth > width || info.srcHeight > height) { - if (resizeMethod === 'crop') { - if (srcRatio > trgRatio) { - info.srcHeight = file.height; - info.srcWidth = info.srcHeight * trgRatio; - } else { - info.srcWidth = file.width; - info.srcHeight = info.srcWidth / trgRatio; - } - } else if (resizeMethod === 'contain') { - if (srcRatio > trgRatio) { - height = width / srcRatio; - } else { - width = height * srcRatio; - } - } else { - throw new Error("Unknown resizeMethod '" + resizeMethod + "'"); - } - } - info.srcX = (file.width - info.srcWidth) / 2; - info.srcY = (file.height - info.srcHeight) / 2; - info.trgWidth = width; - info.trgHeight = height; - return info; - }, - transformFile: function(file, done) { - if ((this.options.resizeWidth || this.options.resizeHeight) && file.type.match(/image.*/)) { - return this.resizeImage(file, this.options.resizeWidth, this.options.resizeHeight, this.options.resizeMethod, done); - } else { - return done(file); - } - }, - previewTemplate: "
\n
\n
\n
\n
\n
\n
\n
\n
\n \n Check\n \n \n \n \n \n
\n
\n \n Error\n \n \n \n \n \n \n \n
\n
", - - /* - Those functions register themselves to the events on init and handle all - the user interface specific stuff. Overwriting them won't break the upload - but can break the way it's displayed. - You can overwrite them if you don't like the default behavior. If you just - want to add an additional event handler, register it on the dropzone object - and don't overwrite those options. - */ - drop: function(e) { - return this.element.classList.remove("dz-drag-hover"); - }, - dragstart: noop, - dragend: function(e) { - return this.element.classList.remove("dz-drag-hover"); - }, - dragenter: function(e) { - return this.element.classList.add("dz-drag-hover"); - }, - dragover: function(e) { - return this.element.classList.add("dz-drag-hover"); - }, - dragleave: function(e) { - return this.element.classList.remove("dz-drag-hover"); - }, - paste: noop, - reset: function() { - return this.element.classList.remove("dz-started"); - }, - addedfile: function(file) { - var j, k, l, len, len1, len2, node, ref, ref1, ref2, removeFileEvent, removeLink, results; - if (this.element === this.previewsContainer) { - this.element.classList.add("dz-started"); - } - if (this.previewsContainer) { - file.previewElement = Dropzone.createElement(this.options.previewTemplate.trim()); - file.previewTemplate = file.previewElement; - this.previewsContainer.appendChild(file.previewElement); - ref = file.previewElement.querySelectorAll("[data-dz-name]"); - for (j = 0, len = ref.length; j < len; j++) { - node = ref[j]; - node.textContent = file.name; - } - ref1 = file.previewElement.querySelectorAll("[data-dz-size]"); - for (k = 0, len1 = ref1.length; k < len1; k++) { - node = ref1[k]; - node.innerHTML = this.filesize(file.size); - } - if (this.options.addRemoveLinks) { - file._removeLink = Dropzone.createElement("" + this.options.dictRemoveFile + ""); - file.previewElement.appendChild(file._removeLink); - } - removeFileEvent = (function(_this) { - return function(e) { - e.preventDefault(); - e.stopPropagation(); - if (file.status === Dropzone.UPLOADING) { - return Dropzone.confirm(_this.options.dictCancelUploadConfirmation, function() { - return _this.removeFile(file); - }); - } else { - if (_this.options.dictRemoveFileConfirmation) { - return Dropzone.confirm(_this.options.dictRemoveFileConfirmation, function() { - return _this.removeFile(file); - }); - } else { - return _this.removeFile(file); - } - } - }; - })(this); - ref2 = file.previewElement.querySelectorAll("[data-dz-remove]"); - results = []; - for (l = 0, len2 = ref2.length; l < len2; l++) { - removeLink = ref2[l]; - results.push(removeLink.addEventListener("click", removeFileEvent)); - } - return results; - } - }, - removedfile: function(file) { - var ref; - if (file.previewElement) { - if ((ref = file.previewElement) != null) { - ref.parentNode.removeChild(file.previewElement); - } - } - return this._updateMaxFilesReachedClass(); - }, - thumbnail: function(file, dataUrl) { - var j, len, ref, thumbnailElement; - if (file.previewElement) { - file.previewElement.classList.remove("dz-file-preview"); - ref = file.previewElement.querySelectorAll("[data-dz-thumbnail]"); - for (j = 0, len = ref.length; j < len; j++) { - thumbnailElement = ref[j]; - thumbnailElement.alt = file.name; - thumbnailElement.src = dataUrl; - } - return setTimeout(((function(_this) { - return function() { - return file.previewElement.classList.add("dz-image-preview"); - }; - })(this)), 1); - } - }, - error: function(file, message) { - var j, len, node, ref, results; - if (file.previewElement) { - file.previewElement.classList.add("dz-error"); - if (typeof message !== "String" && message.error) { - message = message.error; - } - ref = file.previewElement.querySelectorAll("[data-dz-errormessage]"); - results = []; - for (j = 0, len = ref.length; j < len; j++) { - node = ref[j]; - results.push(node.textContent = message); - } - return results; - } - }, - errormultiple: noop, - processing: function(file) { - if (file.previewElement) { - file.previewElement.classList.add("dz-processing"); - if (file._removeLink) { - return file._removeLink.textContent = this.options.dictCancelUpload; - } - } - }, - processingmultiple: noop, - uploadprogress: function(file, progress, bytesSent) { - var j, len, node, ref, results; - if (file.previewElement) { - ref = file.previewElement.querySelectorAll("[data-dz-uploadprogress]"); - results = []; - for (j = 0, len = ref.length; j < len; j++) { - node = ref[j]; - if (node.nodeName === 'PROGRESS') { - results.push(node.value = progress); - } else { - results.push(node.style.width = progress + "%"); - } - } - return results; - } - }, - totaluploadprogress: noop, - sending: noop, - sendingmultiple: noop, - success: function(file) { - if (file.previewElement) { - return file.previewElement.classList.add("dz-success"); - } - }, - successmultiple: noop, - canceled: function(file) { - return this.emit("error", file, "Upload canceled."); - }, - canceledmultiple: noop, - complete: function(file) { - if (file._removeLink) { - file._removeLink.textContent = this.options.dictRemoveFile; - } - if (file.previewElement) { - return file.previewElement.classList.add("dz-complete"); - } - }, - completemultiple: noop, - maxfilesexceeded: noop, - maxfilesreached: noop, - queuecomplete: noop, - addedfiles: noop - }; - - extend = function() { - var j, key, len, object, objects, target, val; - target = arguments[0], objects = 2 <= arguments.length ? slice.call(arguments, 1) : []; - for (j = 0, len = objects.length; j < len; j++) { - object = objects[j]; - for (key in object) { - val = object[key]; - target[key] = val; - } - } - return target; - }; - - function Dropzone(element1, options) { - var elementOptions, fallback, ref; - this.element = element1; - this.version = Dropzone.version; - this.defaultOptions.previewTemplate = this.defaultOptions.previewTemplate.replace(/\n*/g, ""); - this.clickableElements = []; - this.listeners = []; - this.files = []; - if (typeof this.element === "string") { - this.element = document.querySelector(this.element); - } - if (!(this.element && (this.element.nodeType != null))) { - throw new Error("Invalid dropzone element."); - } - if (this.element.dropzone) { - throw new Error("Dropzone already attached."); - } - Dropzone.instances.push(this); - this.element.dropzone = this; - elementOptions = (ref = Dropzone.optionsForElement(this.element)) != null ? ref : {}; - this.options = extend({}, this.defaultOptions, elementOptions, options != null ? options : {}); - if (this.options.forceFallback || !Dropzone.isBrowserSupported()) { - return this.options.fallback.call(this); - } - if (this.options.url == null) { - this.options.url = this.element.getAttribute("action"); - } - if (!this.options.url) { - throw new Error("No URL provided."); - } - if (this.options.acceptedFiles && this.options.acceptedMimeTypes) { - throw new Error("You can't provide both 'acceptedFiles' and 'acceptedMimeTypes'. 'acceptedMimeTypes' is deprecated."); - } - if (this.options.acceptedMimeTypes) { - this.options.acceptedFiles = this.options.acceptedMimeTypes; - delete this.options.acceptedMimeTypes; - } - if (this.options.renameFilename != null) { - this.options.renameFile = (function(_this) { - return function(file) { - return _this.options.renameFilename.call(_this, file.name, file); - }; - })(this); - } - this.options.method = this.options.method.toUpperCase(); - if ((fallback = this.getExistingFallback()) && fallback.parentNode) { - fallback.parentNode.removeChild(fallback); - } - if (this.options.previewsContainer !== false) { - if (this.options.previewsContainer) { - this.previewsContainer = Dropzone.getElement(this.options.previewsContainer, "previewsContainer"); - } else { - this.previewsContainer = this.element; - } - } - if (this.options.clickable) { - if (this.options.clickable === true) { - this.clickableElements = [this.element]; - } else { - this.clickableElements = Dropzone.getElements(this.options.clickable, "clickable"); - } - } - this.init(); - } - - Dropzone.prototype.getAcceptedFiles = function() { - var file, j, len, ref, results; - ref = this.files; - results = []; - for (j = 0, len = ref.length; j < len; j++) { - file = ref[j]; - if (file.accepted) { - results.push(file); - } - } - return results; - }; - - Dropzone.prototype.getRejectedFiles = function() { - var file, j, len, ref, results; - ref = this.files; - results = []; - for (j = 0, len = ref.length; j < len; j++) { - file = ref[j]; - if (!file.accepted) { - results.push(file); - } - } - return results; - }; - - Dropzone.prototype.getFilesWithStatus = function(status) { - var file, j, len, ref, results; - ref = this.files; - results = []; - for (j = 0, len = ref.length; j < len; j++) { - file = ref[j]; - if (file.status === status) { - results.push(file); - } - } - return results; - }; - - Dropzone.prototype.getQueuedFiles = function() { - return this.getFilesWithStatus(Dropzone.QUEUED); - }; - - Dropzone.prototype.getUploadingFiles = function() { - return this.getFilesWithStatus(Dropzone.UPLOADING); - }; - - Dropzone.prototype.getAddedFiles = function() { - return this.getFilesWithStatus(Dropzone.ADDED); - }; - - Dropzone.prototype.getActiveFiles = function() { - var file, j, len, ref, results; - ref = this.files; - results = []; - for (j = 0, len = ref.length; j < len; j++) { - file = ref[j]; - if (file.status === Dropzone.UPLOADING || file.status === Dropzone.QUEUED) { - results.push(file); - } - } - return results; - }; - - Dropzone.prototype.init = function() { - var eventName, j, len, noPropagation, ref, ref1, setupHiddenFileInput; - if (this.element.tagName === "form") { - this.element.setAttribute("enctype", "multipart/form-data"); - } - if (this.element.classList.contains("dropzone") && !this.element.querySelector(".dz-message")) { - this.element.appendChild(Dropzone.createElement("
" + this.options.dictDefaultMessage + "
")); - } - if (this.clickableElements.length) { - setupHiddenFileInput = (function(_this) { - return function() { - if (_this.hiddenFileInput) { - _this.hiddenFileInput.parentNode.removeChild(_this.hiddenFileInput); - } - _this.hiddenFileInput = document.createElement("input"); - _this.hiddenFileInput.setAttribute("type", "file"); - if ((_this.options.maxFiles == null) || _this.options.maxFiles > 1) { - _this.hiddenFileInput.setAttribute("multiple", "multiple"); - } - _this.hiddenFileInput.className = "dz-hidden-input"; - if (_this.options.acceptedFiles != null) { - _this.hiddenFileInput.setAttribute("accept", _this.options.acceptedFiles); - } - if (_this.options.capture != null) { - _this.hiddenFileInput.setAttribute("capture", _this.options.capture); - } - _this.hiddenFileInput.style.visibility = "hidden"; - _this.hiddenFileInput.style.position = "absolute"; - _this.hiddenFileInput.style.top = "0"; - _this.hiddenFileInput.style.left = "0"; - _this.hiddenFileInput.style.height = "0"; - _this.hiddenFileInput.style.width = "0"; - document.querySelector(_this.options.hiddenInputContainer).appendChild(_this.hiddenFileInput); - return _this.hiddenFileInput.addEventListener("change", function() { - var file, files, j, len; - files = _this.hiddenFileInput.files; - if (files.length) { - for (j = 0, len = files.length; j < len; j++) { - file = files[j]; - _this.addFile(file); - } - } - _this.emit("addedfiles", files); - return setupHiddenFileInput(); - }); - }; - })(this); - setupHiddenFileInput(); - } - this.URL = (ref = window.URL) != null ? ref : window.webkitURL; - ref1 = this.events; - for (j = 0, len = ref1.length; j < len; j++) { - eventName = ref1[j]; - this.on(eventName, this.options[eventName]); - } - this.on("uploadprogress", (function(_this) { - return function() { - return _this.updateTotalUploadProgress(); - }; - })(this)); - this.on("removedfile", (function(_this) { - return function() { - return _this.updateTotalUploadProgress(); - }; - })(this)); - this.on("canceled", (function(_this) { - return function(file) { - return _this.emit("complete", file); - }; - })(this)); - this.on("complete", (function(_this) { - return function(file) { - if (_this.getAddedFiles().length === 0 && _this.getUploadingFiles().length === 0 && _this.getQueuedFiles().length === 0) { - return setTimeout((function() { - return _this.emit("queuecomplete"); - }), 0); - } - }; - })(this)); - noPropagation = function(e) { - e.stopPropagation(); - if (e.preventDefault) { - return e.preventDefault(); - } else { - return e.returnValue = false; - } - }; - this.listeners = [ - { - element: this.element, - events: { - "dragstart": (function(_this) { - return function(e) { - return _this.emit("dragstart", e); - }; - })(this), - "dragenter": (function(_this) { - return function(e) { - noPropagation(e); - return _this.emit("dragenter", e); - }; - })(this), - "dragover": (function(_this) { - return function(e) { - var efct; - try { - efct = e.dataTransfer.effectAllowed; - } catch (undefined) {} - e.dataTransfer.dropEffect = 'move' === efct || 'linkMove' === efct ? 'move' : 'copy'; - noPropagation(e); - return _this.emit("dragover", e); - }; - })(this), - "dragleave": (function(_this) { - return function(e) { - return _this.emit("dragleave", e); - }; - })(this), - "drop": (function(_this) { - return function(e) { - noPropagation(e); - return _this.drop(e); - }; - })(this), - "dragend": (function(_this) { - return function(e) { - return _this.emit("dragend", e); - }; - })(this) - } - } - ]; - this.clickableElements.forEach((function(_this) { - return function(clickableElement) { - return _this.listeners.push({ - element: clickableElement, - events: { - "click": function(evt) { - if ((clickableElement !== _this.element) || (evt.target === _this.element || Dropzone.elementInside(evt.target, _this.element.querySelector(".dz-message")))) { - _this.hiddenFileInput.click(); - } - return true; - } - } - }); - }; - })(this)); - this.enable(); - return this.options.init.call(this); - }; - - Dropzone.prototype.destroy = function() { - var ref; - this.disable(); - this.removeAllFiles(true); - if ((ref = this.hiddenFileInput) != null ? ref.parentNode : void 0) { - this.hiddenFileInput.parentNode.removeChild(this.hiddenFileInput); - this.hiddenFileInput = null; - } - delete this.element.dropzone; - return Dropzone.instances.splice(Dropzone.instances.indexOf(this), 1); - }; - - Dropzone.prototype.updateTotalUploadProgress = function() { - var activeFiles, file, j, len, ref, totalBytes, totalBytesSent, totalUploadProgress; - totalBytesSent = 0; - totalBytes = 0; - activeFiles = this.getActiveFiles(); - if (activeFiles.length) { - ref = this.getActiveFiles(); - for (j = 0, len = ref.length; j < len; j++) { - file = ref[j]; - totalBytesSent += file.upload.bytesSent; - totalBytes += file.upload.total; - } - totalUploadProgress = 100 * totalBytesSent / totalBytes; - } else { - totalUploadProgress = 100; - } - return this.emit("totaluploadprogress", totalUploadProgress, totalBytes, totalBytesSent); - }; - - Dropzone.prototype._getParamName = function(n) { - if (typeof this.options.paramName === "function") { - return this.options.paramName(n); - } else { - return "" + this.options.paramName + (this.options.uploadMultiple ? "[" + n + "]" : ""); - } - }; - - Dropzone.prototype._renameFile = function(file) { - if (typeof this.options.renameFile !== "function") { - return file.name; - } - return this.options.renameFile(file); - }; - - Dropzone.prototype.getFallbackForm = function() { - var existingFallback, fields, fieldsString, form; - if (existingFallback = this.getExistingFallback()) { - return existingFallback; - } - fieldsString = "
"; - if (this.options.dictFallbackText) { - fieldsString += "

" + this.options.dictFallbackText + "

"; - } - fieldsString += "
"; - fields = Dropzone.createElement(fieldsString); - if (this.element.tagName !== "FORM") { - form = Dropzone.createElement("
"); - form.appendChild(fields); - } else { - this.element.setAttribute("enctype", "multipart/form-data"); - this.element.setAttribute("method", this.options.method); - } - return form != null ? form : fields; - }; - - Dropzone.prototype.getExistingFallback = function() { - var fallback, getFallback, j, len, ref, tagName; - getFallback = function(elements) { - var el, j, len; - for (j = 0, len = elements.length; j < len; j++) { - el = elements[j]; - if (/(^| )fallback($| )/.test(el.className)) { - return el; - } - } - }; - ref = ["div", "form"]; - for (j = 0, len = ref.length; j < len; j++) { - tagName = ref[j]; - if (fallback = getFallback(this.element.getElementsByTagName(tagName))) { - return fallback; - } - } - }; - - Dropzone.prototype.setupEventListeners = function() { - var elementListeners, event, j, len, listener, ref, results; - ref = this.listeners; - results = []; - for (j = 0, len = ref.length; j < len; j++) { - elementListeners = ref[j]; - results.push((function() { - var ref1, results1; - ref1 = elementListeners.events; - results1 = []; - for (event in ref1) { - listener = ref1[event]; - results1.push(elementListeners.element.addEventListener(event, listener, false)); - } - return results1; - })()); - } - return results; - }; - - Dropzone.prototype.removeEventListeners = function() { - var elementListeners, event, j, len, listener, ref, results; - ref = this.listeners; - results = []; - for (j = 0, len = ref.length; j < len; j++) { - elementListeners = ref[j]; - results.push((function() { - var ref1, results1; - ref1 = elementListeners.events; - results1 = []; - for (event in ref1) { - listener = ref1[event]; - results1.push(elementListeners.element.removeEventListener(event, listener, false)); - } - return results1; - })()); - } - return results; - }; - - Dropzone.prototype.disable = function() { - var file, j, len, ref, results; - this.clickableElements.forEach(function(element) { - return element.classList.remove("dz-clickable"); - }); - this.removeEventListeners(); - ref = this.files; - results = []; - for (j = 0, len = ref.length; j < len; j++) { - file = ref[j]; - results.push(this.cancelUpload(file)); - } - return results; - }; - - Dropzone.prototype.enable = function() { - this.clickableElements.forEach(function(element) { - return element.classList.add("dz-clickable"); - }); - return this.setupEventListeners(); - }; - - Dropzone.prototype.filesize = function(size) { - var cutoff, i, j, len, selectedSize, selectedUnit, unit, units; - selectedSize = 0; - selectedUnit = "b"; - if (size > 0) { - units = ['tb', 'gb', 'mb', 'kb', 'b']; - for (i = j = 0, len = units.length; j < len; i = ++j) { - unit = units[i]; - cutoff = Math.pow(this.options.filesizeBase, 4 - i) / 10; - if (size >= cutoff) { - selectedSize = size / Math.pow(this.options.filesizeBase, 4 - i); - selectedUnit = unit; - break; - } - } - selectedSize = Math.round(10 * selectedSize) / 10; - } - return "" + selectedSize + " " + this.options.dictFileSizeUnits[selectedUnit]; - }; - - Dropzone.prototype._updateMaxFilesReachedClass = function() { - if ((this.options.maxFiles != null) && this.getAcceptedFiles().length >= this.options.maxFiles) { - if (this.getAcceptedFiles().length === this.options.maxFiles) { - this.emit('maxfilesreached', this.files); - } - return this.element.classList.add("dz-max-files-reached"); - } else { - return this.element.classList.remove("dz-max-files-reached"); - } - }; - - Dropzone.prototype.drop = function(e) { - var files, items; - if (!e.dataTransfer) { - return; - } - this.emit("drop", e); - files = e.dataTransfer.files; - this.emit("addedfiles", files); - if (files.length) { - items = e.dataTransfer.items; - if (items && items.length && (items[0].webkitGetAsEntry != null)) { - this._addFilesFromItems(items); - } else { - this.handleFiles(files); - } - } - }; - - Dropzone.prototype.paste = function(e) { - var items, ref; - if ((e != null ? (ref = e.clipboardData) != null ? ref.items : void 0 : void 0) == null) { - return; - } - this.emit("paste", e); - items = e.clipboardData.items; - if (items.length) { - return this._addFilesFromItems(items); - } - }; - - Dropzone.prototype.handleFiles = function(files) { - var file, j, len, results; - results = []; - for (j = 0, len = files.length; j < len; j++) { - file = files[j]; - results.push(this.addFile(file)); - } - return results; - }; - - Dropzone.prototype._addFilesFromItems = function(items) { - var entry, item, j, len, results; - results = []; - for (j = 0, len = items.length; j < len; j++) { - item = items[j]; - if ((item.webkitGetAsEntry != null) && (entry = item.webkitGetAsEntry())) { - if (entry.isFile) { - results.push(this.addFile(item.getAsFile())); - } else if (entry.isDirectory) { - results.push(this._addFilesFromDirectory(entry, entry.name)); - } else { - results.push(void 0); - } - } else if (item.getAsFile != null) { - if ((item.kind == null) || item.kind === "file") { - results.push(this.addFile(item.getAsFile())); - } else { - results.push(void 0); - } - } else { - results.push(void 0); - } - } - return results; - }; - - Dropzone.prototype._addFilesFromDirectory = function(directory, path) { - var dirReader, errorHandler, readEntries; - dirReader = directory.createReader(); - errorHandler = function(error) { - return typeof console !== "undefined" && console !== null ? typeof console.log === "function" ? console.log(error) : void 0 : void 0; - }; - readEntries = (function(_this) { - return function() { - return dirReader.readEntries(function(entries) { - var entry, j, len; - if (entries.length > 0) { - for (j = 0, len = entries.length; j < len; j++) { - entry = entries[j]; - if (entry.isFile) { - entry.file(function(file) { - if (_this.options.ignoreHiddenFiles && file.name.substring(0, 1) === '.') { - return; - } - file.fullPath = path + "/" + file.name; - return _this.addFile(file); - }); - } else if (entry.isDirectory) { - _this._addFilesFromDirectory(entry, path + "/" + entry.name); - } - } - readEntries(); - } - return null; - }, errorHandler); - }; - })(this); - return readEntries(); - }; - - Dropzone.prototype.accept = function(file, done) { - if (file.size > this.options.maxFilesize * 1024 * 1024) { - return done(this.options.dictFileTooBig.replace("{{filesize}}", Math.round(file.size / 1024 / 10.24) / 100).replace("{{maxFilesize}}", this.options.maxFilesize)); - } else if (!Dropzone.isValidFile(file, this.options.acceptedFiles)) { - return done(this.options.dictInvalidFileType); - } else if ((this.options.maxFiles != null) && this.getAcceptedFiles().length >= this.options.maxFiles) { - done(this.options.dictMaxFilesExceeded.replace("{{maxFiles}}", this.options.maxFiles)); - return this.emit("maxfilesexceeded", file); - } else { - return this.options.accept.call(this, file, done); - } - }; - - Dropzone.prototype.addFile = function(file) { - file.upload = { - progress: 0, - total: file.size, - bytesSent: 0, - filename: this._renameFile(file) - }; - this.files.push(file); - file.status = Dropzone.ADDED; - this.emit("addedfile", file); - this._enqueueThumbnail(file); - return this.accept(file, (function(_this) { - return function(error) { - if (error) { - file.accepted = false; - _this._errorProcessing([file], error); - } else { - file.accepted = true; - if (_this.options.autoQueue) { - _this.enqueueFile(file); - } - } - return _this._updateMaxFilesReachedClass(); - }; - })(this)); - }; - - Dropzone.prototype.enqueueFiles = function(files) { - var file, j, len; - for (j = 0, len = files.length; j < len; j++) { - file = files[j]; - this.enqueueFile(file); - } - return null; - }; - - Dropzone.prototype.enqueueFile = function(file) { - if (file.status === Dropzone.ADDED && file.accepted === true) { - file.status = Dropzone.QUEUED; - if (this.options.autoProcessQueue) { - return setTimeout(((function(_this) { - return function() { - return _this.processQueue(); - }; - })(this)), 0); - } - } else { - throw new Error("This file can't be queued because it has already been processed or was rejected."); - } - }; - - Dropzone.prototype._thumbnailQueue = []; - - Dropzone.prototype._processingThumbnail = false; - - Dropzone.prototype._enqueueThumbnail = function(file) { - if (this.options.createImageThumbnails && file.type.match(/image.*/) && file.size <= this.options.maxThumbnailFilesize * 1024 * 1024) { - this._thumbnailQueue.push(file); - return setTimeout(((function(_this) { - return function() { - return _this._processThumbnailQueue(); - }; - })(this)), 0); - } - }; - - Dropzone.prototype._processThumbnailQueue = function() { - var file; - if (this._processingThumbnail || this._thumbnailQueue.length === 0) { - return; - } - this._processingThumbnail = true; - file = this._thumbnailQueue.shift(); - return this.createThumbnail(file, this.options.thumbnailWidth, this.options.thumbnailHeight, this.options.thumbnailMethod, true, (function(_this) { - return function(dataUrl) { - _this.emit("thumbnail", file, dataUrl); - _this._processingThumbnail = false; - return _this._processThumbnailQueue(); - }; - })(this)); - }; - - Dropzone.prototype.removeFile = function(file) { - if (file.status === Dropzone.UPLOADING) { - this.cancelUpload(file); - } - this.files = without(this.files, file); - this.emit("removedfile", file); - if (this.files.length === 0) { - return this.emit("reset"); - } - }; - - Dropzone.prototype.removeAllFiles = function(cancelIfNecessary) { - var file, j, len, ref; - if (cancelIfNecessary == null) { - cancelIfNecessary = false; - } - ref = this.files.slice(); - for (j = 0, len = ref.length; j < len; j++) { - file = ref[j]; - if (file.status !== Dropzone.UPLOADING || cancelIfNecessary) { - this.removeFile(file); - } - } - return null; - }; - - Dropzone.prototype.resizeImage = function(file, width, height, resizeMethod, callback) { - return this.createThumbnail(file, width, height, resizeMethod, false, (function(_this) { - return function(dataUrl, canvas) { - var resizeMimeType, resizedDataURL; - if (canvas === null) { - return callback(file); - } else { - resizeMimeType = _this.options.resizeMimeType; - if (resizeMimeType == null) { - resizeMimeType = file.type; - } - resizedDataURL = canvas.toDataURL(resizeMimeType, _this.options.resizeQuality); - if (resizeMimeType === 'image/jpeg' || resizeMimeType === 'image/jpg') { - resizedDataURL = ExifRestore.restore(file.dataURL, resizedDataURL); - } - return callback(Dropzone.dataURItoBlob(resizedDataURL)); - } - }; - })(this)); - }; - - Dropzone.prototype.createThumbnail = function(file, width, height, resizeMethod, fixOrientation, callback) { - var fileReader; - fileReader = new FileReader; - fileReader.onload = (function(_this) { - return function() { - file.dataURL = fileReader.result; - if (file.type === "image/svg+xml") { - if (callback != null) { - callback(fileReader.result); - } - return; - } - return _this.createThumbnailFromUrl(file, width, height, resizeMethod, fixOrientation, callback); - }; - })(this); - return fileReader.readAsDataURL(file); - }; - - Dropzone.prototype.createThumbnailFromUrl = function(file, width, height, resizeMethod, fixOrientation, callback, crossOrigin) { - var img; - img = document.createElement("img"); - if (crossOrigin) { - img.crossOrigin = crossOrigin; - } - img.onload = (function(_this) { - return function() { - var loadExif; - loadExif = function(callback) { - return callback(1); - }; - if ((typeof EXIF !== "undefined" && EXIF !== null) && fixOrientation) { - loadExif = function(callback) { - return EXIF.getData(img, function() { - return callback(EXIF.getTag(this, 'Orientation')); - }); - }; - } - return loadExif(function(orientation) { - var canvas, ctx, ref, ref1, ref2, ref3, resizeInfo, thumbnail; - file.width = img.width; - file.height = img.height; - resizeInfo = _this.options.resize.call(_this, file, width, height, resizeMethod); - canvas = document.createElement("canvas"); - ctx = canvas.getContext("2d"); - canvas.width = resizeInfo.trgWidth; - canvas.height = resizeInfo.trgHeight; - if (orientation > 4) { - canvas.width = resizeInfo.trgHeight; - canvas.height = resizeInfo.trgWidth; - } - switch (orientation) { - case 2: - ctx.translate(canvas.width, 0); - ctx.scale(-1, 1); - break; - case 3: - ctx.translate(canvas.width, canvas.height); - ctx.rotate(Math.PI); - break; - case 4: - ctx.translate(0, canvas.height); - ctx.scale(1, -1); - break; - case 5: - ctx.rotate(0.5 * Math.PI); - ctx.scale(1, -1); - break; - case 6: - ctx.rotate(0.5 * Math.PI); - ctx.translate(0, -canvas.height); - break; - case 7: - ctx.rotate(0.5 * Math.PI); - ctx.translate(canvas.width, -canvas.height); - ctx.scale(-1, 1); - break; - case 8: - ctx.rotate(-0.5 * Math.PI); - ctx.translate(-canvas.width, 0); - } - drawImageIOSFix(ctx, img, (ref = resizeInfo.srcX) != null ? ref : 0, (ref1 = resizeInfo.srcY) != null ? ref1 : 0, resizeInfo.srcWidth, resizeInfo.srcHeight, (ref2 = resizeInfo.trgX) != null ? ref2 : 0, (ref3 = resizeInfo.trgY) != null ? ref3 : 0, resizeInfo.trgWidth, resizeInfo.trgHeight); - thumbnail = canvas.toDataURL("image/png"); - if (callback != null) { - return callback(thumbnail, canvas); - } - }); - }; - })(this); - if (callback != null) { - img.onerror = callback; - } - return img.src = file.dataURL; - }; - - Dropzone.prototype.processQueue = function() { - var i, parallelUploads, processingLength, queuedFiles; - parallelUploads = this.options.parallelUploads; - processingLength = this.getUploadingFiles().length; - i = processingLength; - if (processingLength >= parallelUploads) { - return; - } - queuedFiles = this.getQueuedFiles(); - if (!(queuedFiles.length > 0)) { - return; - } - if (this.options.uploadMultiple) { - return this.processFiles(queuedFiles.slice(0, parallelUploads - processingLength)); - } else { - while (i < parallelUploads) { - if (!queuedFiles.length) { - return; - } - this.processFile(queuedFiles.shift()); - i++; - } - } - }; - - Dropzone.prototype.processFile = function(file) { - return this.processFiles([file]); - }; - - Dropzone.prototype.processFiles = function(files) { - var file, j, len; - for (j = 0, len = files.length; j < len; j++) { - file = files[j]; - file.processing = true; - file.status = Dropzone.UPLOADING; - this.emit("processing", file); - } - if (this.options.uploadMultiple) { - this.emit("processingmultiple", files); - } - return this.uploadFiles(files); - }; - - Dropzone.prototype._getFilesWithXhr = function(xhr) { - var file, files; - return files = (function() { - var j, len, ref, results; - ref = this.files; - results = []; - for (j = 0, len = ref.length; j < len; j++) { - file = ref[j]; - if (file.xhr === xhr) { - results.push(file); - } - } - return results; - }).call(this); - }; - - Dropzone.prototype.cancelUpload = function(file) { - var groupedFile, groupedFiles, j, k, len, len1, ref; - if (file.status === Dropzone.UPLOADING) { - groupedFiles = this._getFilesWithXhr(file.xhr); - for (j = 0, len = groupedFiles.length; j < len; j++) { - groupedFile = groupedFiles[j]; - groupedFile.status = Dropzone.CANCELED; - } - file.xhr.abort(); - for (k = 0, len1 = groupedFiles.length; k < len1; k++) { - groupedFile = groupedFiles[k]; - this.emit("canceled", groupedFile); - } - if (this.options.uploadMultiple) { - this.emit("canceledmultiple", groupedFiles); - } - } else if ((ref = file.status) === Dropzone.ADDED || ref === Dropzone.QUEUED) { - file.status = Dropzone.CANCELED; - this.emit("canceled", file); - if (this.options.uploadMultiple) { - this.emit("canceledmultiple", [file]); - } - } - if (this.options.autoProcessQueue) { - return this.processQueue(); - } - }; - - resolveOption = function() { - var args, option; - option = arguments[0], args = 2 <= arguments.length ? slice.call(arguments, 1) : []; - if (typeof option === 'function') { - return option.apply(this, args); - } - return option; - }; - - Dropzone.prototype.uploadFile = function(file) { - return this.uploadFiles([file]); - }; - - Dropzone.prototype.uploadFiles = function(files) { - var doneCounter, doneFunction, file, formData, handleError, headerName, headerValue, headers, i, input, inputName, inputType, j, k, key, l, len, len1, len2, len3, m, method, o, option, progressObj, ref, ref1, ref2, ref3, ref4, ref5, response, results, updateProgress, url, value, xhr; - xhr = new XMLHttpRequest(); - for (j = 0, len = files.length; j < len; j++) { - file = files[j]; - file.xhr = xhr; - } - method = resolveOption(this.options.method, files); - url = resolveOption(this.options.url, files); - xhr.open(method, url, true); - xhr.timeout = resolveOption(this.options.timeout, files); - xhr.withCredentials = !!this.options.withCredentials; - response = null; - handleError = (function(_this) { - return function() { - var k, len1, results; - results = []; - for (k = 0, len1 = files.length; k < len1; k++) { - file = files[k]; - results.push(_this._errorProcessing(files, response || _this.options.dictResponseError.replace("{{statusCode}}", xhr.status), xhr)); - } - return results; - }; - })(this); - updateProgress = (function(_this) { - return function(e) { - var allFilesFinished, k, l, len1, len2, len3, m, progress, results; - if (e != null) { - progress = 100 * e.loaded / e.total; - for (k = 0, len1 = files.length; k < len1; k++) { - file = files[k]; - file.upload.progress = progress; - file.upload.total = e.total; - file.upload.bytesSent = e.loaded; - } - } else { - allFilesFinished = true; - progress = 100; - for (l = 0, len2 = files.length; l < len2; l++) { - file = files[l]; - if (!(file.upload.progress === 100 && file.upload.bytesSent === file.upload.total)) { - allFilesFinished = false; - } - file.upload.progress = progress; - file.upload.bytesSent = file.upload.total; - } - if (allFilesFinished) { - return; - } - } - results = []; - for (m = 0, len3 = files.length; m < len3; m++) { - file = files[m]; - results.push(_this.emit("uploadprogress", file, progress, file.upload.bytesSent)); - } - return results; - }; - })(this); - xhr.onload = (function(_this) { - return function(e) { - var error1, ref; - if (files[0].status === Dropzone.CANCELED) { - return; - } - if (xhr.readyState !== 4) { - return; - } - if (xhr.responseType !== 'arraybuffer' && xhr.responseType !== 'blob') { - response = xhr.responseText; - if (xhr.getResponseHeader("content-type") && ~xhr.getResponseHeader("content-type").indexOf("application/json")) { - try { - response = JSON.parse(response); - } catch (error1) { - e = error1; - response = "Invalid JSON response from server."; - } - } - } - updateProgress(); - if (!((200 <= (ref = xhr.status) && ref < 300))) { - return handleError(); - } else { - return _this._finished(files, response, e); - } - }; - })(this); - xhr.onerror = (function(_this) { - return function() { - if (files[0].status === Dropzone.CANCELED) { - return; - } - return handleError(); - }; - })(this); - progressObj = (ref = xhr.upload) != null ? ref : xhr; - progressObj.onprogress = updateProgress; - headers = { - "Accept": "application/json", - "Cache-Control": "no-cache", - "X-Requested-With": "XMLHttpRequest" - }; - if (this.options.headers) { - extend(headers, this.options.headers); - } - for (headerName in headers) { - headerValue = headers[headerName]; - if (headerValue) { - xhr.setRequestHeader(headerName, headerValue); - } - } - formData = new FormData(); - if (this.options.params) { - ref1 = this.options.params; - for (key in ref1) { - value = ref1[key]; - formData.append(key, value); - } - } - for (k = 0, len1 = files.length; k < len1; k++) { - file = files[k]; - this.emit("sending", file, xhr, formData); - } - if (this.options.uploadMultiple) { - this.emit("sendingmultiple", files, xhr, formData); - } - if (this.element.tagName === "FORM") { - ref2 = this.element.querySelectorAll("input, textarea, select, button"); - for (l = 0, len2 = ref2.length; l < len2; l++) { - input = ref2[l]; - inputName = input.getAttribute("name"); - inputType = input.getAttribute("type"); - if (input.tagName === "SELECT" && input.hasAttribute("multiple")) { - ref3 = input.options; - for (m = 0, len3 = ref3.length; m < len3; m++) { - option = ref3[m]; - if (option.selected) { - formData.append(inputName, option.value); - } - } - } else if (!inputType || ((ref4 = inputType.toLowerCase()) !== "checkbox" && ref4 !== "radio") || input.checked) { - formData.append(inputName, input.value); - } - } - } - doneCounter = 0; - results = []; - for (i = o = 0, ref5 = files.length - 1; 0 <= ref5 ? o <= ref5 : o >= ref5; i = 0 <= ref5 ? ++o : --o) { - doneFunction = (function(_this) { - return function(file, paramName, fileName) { - return function(transformedFile) { - formData.append(paramName, transformedFile, fileName); - if (++doneCounter === files.length) { - return _this.submitRequest(xhr, formData, files); - } - }; - }; - })(this); - results.push(this.options.transformFile.call(this, files[i], doneFunction(files[i], this._getParamName(i), files[i].upload.filename))); - } - return results; - }; - - Dropzone.prototype.submitRequest = function(xhr, formData, files) { - return xhr.send(formData); - }; - - Dropzone.prototype._finished = function(files, responseText, e) { - var file, j, len; - for (j = 0, len = files.length; j < len; j++) { - file = files[j]; - file.status = Dropzone.SUCCESS; - this.emit("success", file, responseText, e); - this.emit("complete", file); - } - if (this.options.uploadMultiple) { - this.emit("successmultiple", files, responseText, e); - this.emit("completemultiple", files); - } - if (this.options.autoProcessQueue) { - return this.processQueue(); - } - }; - - Dropzone.prototype._errorProcessing = function(files, message, xhr) { - var file, j, len; - for (j = 0, len = files.length; j < len; j++) { - file = files[j]; - file.status = Dropzone.ERROR; - this.emit("error", file, message, xhr); - this.emit("complete", file); - } - if (this.options.uploadMultiple) { - this.emit("errormultiple", files, message, xhr); - this.emit("completemultiple", files); - } - if (this.options.autoProcessQueue) { - return this.processQueue(); - } - }; - - return Dropzone; - - })(Emitter); - - Dropzone.version = "5.1.1"; - - Dropzone.options = {}; - - Dropzone.optionsForElement = function(element) { - if (element.getAttribute("id")) { - return Dropzone.options[camelize(element.getAttribute("id"))]; - } else { - return void 0; - } - }; - - Dropzone.instances = []; - - Dropzone.forElement = function(element) { - if (typeof element === "string") { - element = document.querySelector(element); - } - if ((element != null ? element.dropzone : void 0) == null) { - throw new Error("No Dropzone found for given element. This is probably because you're trying to access it before Dropzone had the time to initialize. Use the `init` option to setup any additional observers on your Dropzone."); - } - return element.dropzone; - }; - - Dropzone.autoDiscover = true; - - Dropzone.discover = function() { - var checkElements, dropzone, dropzones, j, len, results; - if (document.querySelectorAll) { - dropzones = document.querySelectorAll(".dropzone"); - } else { - dropzones = []; - checkElements = function(elements) { - var el, j, len, results; - results = []; - for (j = 0, len = elements.length; j < len; j++) { - el = elements[j]; - if (/(^| )dropzone($| )/.test(el.className)) { - results.push(dropzones.push(el)); - } else { - results.push(void 0); - } - } - return results; - }; - checkElements(document.getElementsByTagName("div")); - checkElements(document.getElementsByTagName("form")); - } - results = []; - for (j = 0, len = dropzones.length; j < len; j++) { - dropzone = dropzones[j]; - if (Dropzone.optionsForElement(dropzone) !== false) { - results.push(new Dropzone(dropzone)); - } else { - results.push(void 0); - } - } - return results; - }; - - Dropzone.blacklistedBrowsers = [/opera.*Macintosh.*version\/12/i]; - - Dropzone.isBrowserSupported = function() { - var capableBrowser, j, len, ref, regex; - capableBrowser = true; - if (window.File && window.FileReader && window.FileList && window.Blob && window.FormData && document.querySelector) { - if (!("classList" in document.createElement("a"))) { - capableBrowser = false; - } else { - ref = Dropzone.blacklistedBrowsers; - for (j = 0, len = ref.length; j < len; j++) { - regex = ref[j]; - if (regex.test(navigator.userAgent)) { - capableBrowser = false; - continue; - } - } - } - } else { - capableBrowser = false; - } - return capableBrowser; - }; - - Dropzone.dataURItoBlob = function(dataURI) { - var ab, byteString, i, ia, j, mimeString, ref; - byteString = atob(dataURI.split(',')[1]); - mimeString = dataURI.split(',')[0].split(':')[1].split(';')[0]; - ab = new ArrayBuffer(byteString.length); - ia = new Uint8Array(ab); - for (i = j = 0, ref = byteString.length; 0 <= ref ? j <= ref : j >= ref; i = 0 <= ref ? ++j : --j) { - ia[i] = byteString.charCodeAt(i); - } - return new Blob([ab], { - type: mimeString - }); - }; - - without = function(list, rejectedItem) { - var item, j, len, results; - results = []; - for (j = 0, len = list.length; j < len; j++) { - item = list[j]; - if (item !== rejectedItem) { - results.push(item); - } - } - return results; - }; - - camelize = function(str) { - return str.replace(/[\-_](\w)/g, function(match) { - return match.charAt(1).toUpperCase(); - }); - }; - - Dropzone.createElement = function(string) { - var div; - div = document.createElement("div"); - div.innerHTML = string; - return div.childNodes[0]; - }; - - Dropzone.elementInside = function(element, container) { - if (element === container) { - return true; - } - while (element = element.parentNode) { - if (element === container) { - return true; - } - } - return false; - }; - - Dropzone.getElement = function(el, name) { - var element; - if (typeof el === "string") { - element = document.querySelector(el); - } else if (el.nodeType != null) { - element = el; - } - if (element == null) { - throw new Error("Invalid `" + name + "` option provided. Please provide a CSS selector or a plain HTML element."); - } - return element; - }; - - Dropzone.getElements = function(els, name) { - var e, el, elements, error1, j, k, len, len1, ref; - if (els instanceof Array) { - elements = []; - try { - for (j = 0, len = els.length; j < len; j++) { - el = els[j]; - elements.push(this.getElement(el, name)); - } - } catch (error1) { - e = error1; - elements = null; - } - } else if (typeof els === "string") { - elements = []; - ref = document.querySelectorAll(els); - for (k = 0, len1 = ref.length; k < len1; k++) { - el = ref[k]; - elements.push(el); - } - } else if (els.nodeType != null) { - elements = [els]; - } - if (!((elements != null) && elements.length)) { - throw new Error("Invalid `" + name + "` option provided. Please provide a CSS selector, a plain HTML element or a list of those."); - } - return elements; - }; - - Dropzone.confirm = function(question, accepted, rejected) { - if (window.confirm(question)) { - return accepted(); - } else if (rejected != null) { - return rejected(); - } - }; - - Dropzone.isValidFile = function(file, acceptedFiles) { - var baseMimeType, j, len, mimeType, validType; - if (!acceptedFiles) { - return true; - } - acceptedFiles = acceptedFiles.split(","); - mimeType = file.type; - baseMimeType = mimeType.replace(/\/.*$/, ""); - for (j = 0, len = acceptedFiles.length; j < len; j++) { - validType = acceptedFiles[j]; - validType = validType.trim(); - if (validType.charAt(0) === ".") { - if (file.name.toLowerCase().indexOf(validType.toLowerCase(), file.name.length - validType.length) !== -1) { - return true; - } - } else if (/\/\*$/.test(validType)) { - if (baseMimeType === validType.replace(/\/.*$/, "")) { - return true; - } - } else { - if (mimeType === validType) { - return true; - } - } - } - return false; - }; - - if (typeof jQuery !== "undefined" && jQuery !== null) { - jQuery.fn.dropzone = function(options) { - return this.each(function() { - return new Dropzone(this, options); - }); - }; - } - - if (typeof module !== "undefined" && module !== null) { - module.exports = Dropzone; - } else { - window.Dropzone = Dropzone; - } - - Dropzone.ADDED = "added"; - - Dropzone.QUEUED = "queued"; - - Dropzone.ACCEPTED = Dropzone.QUEUED; - - Dropzone.UPLOADING = "uploading"; - - Dropzone.PROCESSING = Dropzone.UPLOADING; - - Dropzone.CANCELED = "canceled"; - - Dropzone.ERROR = "error"; - - Dropzone.SUCCESS = "success"; - - - /* - - Bugfix for iOS 6 and 7 - Source: http://stackoverflow.com/questions/11929099/html5-canvas-drawimage-ratio-bug-ios - based on the work of https://github.com/stomita/ios-imagefile-megapixel - */ - - detectVerticalSquash = function(img) { - var alpha, canvas, ctx, data, ey, ih, iw, py, ratio, sy; - iw = img.naturalWidth; - ih = img.naturalHeight; - canvas = document.createElement("canvas"); - canvas.width = 1; - canvas.height = ih; - ctx = canvas.getContext("2d"); - ctx.drawImage(img, 0, 0); - data = ctx.getImageData(1, 0, 1, ih).data; - sy = 0; - ey = ih; - py = ih; - while (py > sy) { - alpha = data[(py - 1) * 4 + 3]; - if (alpha === 0) { - ey = py; - } else { - sy = py; - } - py = (ey + sy) >> 1; - } - ratio = py / ih; - if (ratio === 0) { - return 1; - } else { - return ratio; - } - }; - - drawImageIOSFix = function(ctx, img, sx, sy, sw, sh, dx, dy, dw, dh) { - var vertSquashRatio; - vertSquashRatio = detectVerticalSquash(img); - return ctx.drawImage(img, sx, sy, sw, sh, dx, dy, dw, dh / vertSquashRatio); - }; - - ExifRestore = (function() { - function ExifRestore() {} - - ExifRestore.KEY_STR = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='; - - ExifRestore.encode64 = function(input) { - var chr1, chr2, chr3, enc1, enc2, enc3, enc4, i, output; - output = ''; - chr1 = void 0; - chr2 = void 0; - chr3 = ''; - enc1 = void 0; - enc2 = void 0; - enc3 = void 0; - enc4 = ''; - i = 0; - while (true) { - chr1 = input[i++]; - chr2 = input[i++]; - chr3 = input[i++]; - enc1 = chr1 >> 2; - enc2 = (chr1 & 3) << 4 | chr2 >> 4; - enc3 = (chr2 & 15) << 2 | chr3 >> 6; - enc4 = chr3 & 63; - if (isNaN(chr2)) { - enc3 = enc4 = 64; - } else if (isNaN(chr3)) { - enc4 = 64; - } - output = output + this.KEY_STR.charAt(enc1) + this.KEY_STR.charAt(enc2) + this.KEY_STR.charAt(enc3) + this.KEY_STR.charAt(enc4); - chr1 = chr2 = chr3 = ''; - enc1 = enc2 = enc3 = enc4 = ''; - if (!(i < input.length)) { - break; - } - } - return output; - }; - - ExifRestore.restore = function(origFileBase64, resizedFileBase64) { - var image, rawImage, segments; - if (!origFileBase64.match('data:image/jpeg;base64,')) { - return resizedFileBase64; - } - rawImage = this.decode64(origFileBase64.replace('data:image/jpeg;base64,', '')); - segments = this.slice2Segments(rawImage); - image = this.exifManipulation(resizedFileBase64, segments); - return 'data:image/jpeg;base64,' + this.encode64(image); - }; - - ExifRestore.exifManipulation = function(resizedFileBase64, segments) { - var aBuffer, exifArray, newImageArray; - exifArray = this.getExifArray(segments); - newImageArray = this.insertExif(resizedFileBase64, exifArray); - aBuffer = new Uint8Array(newImageArray); - return aBuffer; - }; - - ExifRestore.getExifArray = function(segments) { - var seg, x; - seg = void 0; - x = 0; - while (x < segments.length) { - seg = segments[x]; - if (seg[0] === 255 & seg[1] === 225) { - return seg; - } - x++; - } - return []; - }; - - ExifRestore.insertExif = function(resizedFileBase64, exifArray) { - var array, ato, buf, imageData, mae, separatePoint; - imageData = resizedFileBase64.replace('data:image/jpeg;base64,', ''); - buf = this.decode64(imageData); - separatePoint = buf.indexOf(255, 3); - mae = buf.slice(0, separatePoint); - ato = buf.slice(separatePoint); - array = mae; - array = array.concat(exifArray); - array = array.concat(ato); - return array; - }; - - ExifRestore.slice2Segments = function(rawImageArray) { - var endPoint, head, length, seg, segments; - head = 0; - segments = []; - while (true) { - if (rawImageArray[head] === 255 & rawImageArray[head + 1] === 218) { - break; - } - if (rawImageArray[head] === 255 & rawImageArray[head + 1] === 216) { - head += 2; - } else { - length = rawImageArray[head + 2] * 256 + rawImageArray[head + 3]; - endPoint = head + length + 2; - seg = rawImageArray.slice(head, endPoint); - segments.push(seg); - head = endPoint; - } - if (head > rawImageArray.length) { - break; - } - } - return segments; - }; - - ExifRestore.decode64 = function(input) { - var base64test, buf, chr1, chr2, chr3, enc1, enc2, enc3, enc4, i, output; - output = ''; - chr1 = void 0; - chr2 = void 0; - chr3 = ''; - enc1 = void 0; - enc2 = void 0; - enc3 = void 0; - enc4 = ''; - i = 0; - buf = []; - base64test = /[^A-Za-z0-9\+\/\=]/g; - if (base64test.exec(input)) { - console.warning('There were invalid base64 characters in the input text.\n' + 'Valid base64 characters are A-Z, a-z, 0-9, \'+\', \'/\',and \'=\'\n' + 'Expect errors in decoding.'); - } - input = input.replace(/[^A-Za-z0-9\+\/\=]/g, ''); - while (true) { - enc1 = this.KEY_STR.indexOf(input.charAt(i++)); - enc2 = this.KEY_STR.indexOf(input.charAt(i++)); - enc3 = this.KEY_STR.indexOf(input.charAt(i++)); - enc4 = this.KEY_STR.indexOf(input.charAt(i++)); - chr1 = enc1 << 2 | enc2 >> 4; - chr2 = (enc2 & 15) << 4 | enc3 >> 2; - chr3 = (enc3 & 3) << 6 | enc4; - buf.push(chr1); - if (enc3 !== 64) { - buf.push(chr2); - } - if (enc4 !== 64) { - buf.push(chr3); - } - chr1 = chr2 = chr3 = ''; - enc1 = enc2 = enc3 = enc4 = ''; - if (!(i < input.length)) { - break; - } - } - return buf; - }; - - return ExifRestore; - - })(); - - - /* - * contentloaded.js - * - * Author: Diego Perini (diego.perini at gmail.com) - * Summary: cross-browser wrapper for DOMContentLoaded - * Updated: 20101020 - * License: MIT - * Version: 1.2 - * - * URL: - * http://javascript.nwbox.com/ContentLoaded/ - * http://javascript.nwbox.com/ContentLoaded/MIT-LICENSE - */ - - contentLoaded = function(win, fn) { - var add, doc, done, init, poll, pre, rem, root, top; - done = false; - top = true; - doc = win.document; - root = doc.documentElement; - add = (doc.addEventListener ? "addEventListener" : "attachEvent"); - rem = (doc.addEventListener ? "removeEventListener" : "detachEvent"); - pre = (doc.addEventListener ? "" : "on"); - init = function(e) { - if (e.type === "readystatechange" && doc.readyState !== "complete") { - return; - } - (e.type === "load" ? win : doc)[rem](pre + e.type, init, false); - if (!done && (done = true)) { - return fn.call(win, e.type || e); - } - }; - poll = function() { - var e, error1; - try { - root.doScroll("left"); - } catch (error1) { - e = error1; - setTimeout(poll, 50); - return; - } - return init("poll"); - }; - if (doc.readyState !== "complete") { - if (doc.createEventObject && root.doScroll) { - try { - top = !win.frameElement; - } catch (undefined) {} - if (top) { - poll(); - } - } - doc[add](pre + "DOMContentLoaded", init, false); - doc[add](pre + "readystatechange", init, false); - return win[add](pre + "load", init, false); - } - }; - - Dropzone._autoDiscoverFunction = function() { - if (Dropzone.autoDiscover) { - return Dropzone.discover(); - } - }; - - contentLoaded(window, Dropzone._autoDiscoverFunction); - -}).call(this); - -/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__("./node_modules/webpack/buildin/module.js")(module))) - -/***/ }), - -/***/ "./node_modules/keycode/index.js": -/***/ (function(module, exports) { - -// Source: http://jsfiddle.net/vWx8V/ -// http://stackoverflow.com/questions/5603195/full-list-of-javascript-keycodes - -/** - * Conenience method returns corresponding value for given keyName or keyCode. - * - * @param {Mixed} keyCode {Number} or keyName {String} - * @return {Mixed} - * @api public - */ - -exports = module.exports = function(searchInput) { - // Keyboard Events - if (searchInput && 'object' === typeof searchInput) { - var hasKeyCode = searchInput.which || searchInput.keyCode || searchInput.charCode - if (hasKeyCode) searchInput = hasKeyCode - } - - // Numbers - if ('number' === typeof searchInput) return names[searchInput] - - // Everything else (cast to string) - var search = String(searchInput) - - // check codes - var foundNamedKey = codes[search.toLowerCase()] - if (foundNamedKey) return foundNamedKey - - // check aliases - var foundNamedKey = aliases[search.toLowerCase()] - if (foundNamedKey) return foundNamedKey - - // weird character? - if (search.length === 1) return search.charCodeAt(0) - - return undefined -} - -/** - * Get by name - * - * exports.code['enter'] // => 13 - */ - -var codes = exports.code = exports.codes = { - 'backspace': 8, - 'tab': 9, - 'enter': 13, - 'shift': 16, - 'ctrl': 17, - 'alt': 18, - 'pause/break': 19, - 'caps lock': 20, - 'esc': 27, - 'space': 32, - 'page up': 33, - 'page down': 34, - 'end': 35, - 'home': 36, - 'left': 37, - 'up': 38, - 'right': 39, - 'down': 40, - 'insert': 45, - 'delete': 46, - 'command': 91, - 'left command': 91, - 'right command': 93, - 'numpad *': 106, - 'numpad +': 107, - 'numpad -': 109, - 'numpad .': 110, - 'numpad /': 111, - 'num lock': 144, - 'scroll lock': 145, - 'my computer': 182, - 'my calculator': 183, - ';': 186, - '=': 187, - ',': 188, - '-': 189, - '.': 190, - '/': 191, - '`': 192, - '[': 219, - '\\': 220, - ']': 221, - "'": 222 -} - -// Helper aliases - -var aliases = exports.aliases = { - 'windows': 91, - '⇧': 16, - '⌥': 18, - '⌃': 17, - '⌘': 91, - 'ctl': 17, - 'control': 17, - 'option': 18, - 'pause': 19, - 'break': 19, - 'caps': 20, - 'return': 13, - 'escape': 27, - 'spc': 32, - 'pgup': 33, - 'pgdn': 34, - 'ins': 45, - 'del': 46, - 'cmd': 91 -} - - -/*! - * Programatically add the following - */ - -// lower case chars -for (i = 97; i < 123; i++) codes[String.fromCharCode(i)] = i - 32 - -// numbers -for (var i = 48; i < 58; i++) codes[i - 48] = i - -// function keys -for (i = 1; i < 13; i++) codes['f'+i] = i + 111 - -// numpad keys -for (i = 0; i < 10; i++) codes['numpad '+i] = i + 96 - -/** - * Get by code - * - * exports.name[13] // => 'Enter' - */ - -var names = exports.names = exports.title = {} // title for backward compat - -// Create reverse mapping -for (i in codes) names[codes[i]] = i - -// Add aliases -for (var alias in aliases) { - codes[alias] = aliases[alias] -} - - -/***/ }), - -/***/ "./node_modules/style-loader/addStyles.js": -/***/ (function(module, exports) { - -/* - MIT License http://www.opensource.org/licenses/mit-license.php - Author Tobias Koppers @sokra -*/ -var stylesInDom = {}, - memoize = function(fn) { - var memo; - return function () { - if (typeof memo === "undefined") memo = fn.apply(this, arguments); - return memo; - }; - }, - isOldIE = memoize(function() { - return /msie [6-9]\b/.test(self.navigator.userAgent.toLowerCase()); - }), - getHeadElement = memoize(function () { - return document.head || document.getElementsByTagName("head")[0]; - }), - singletonElement = null, - singletonCounter = 0, - styleElementsInsertedAtTop = []; - -module.exports = function(list, options) { - if(typeof DEBUG !== "undefined" && DEBUG) { - if(typeof document !== "object") throw new Error("The style-loader cannot be used in a non-browser environment"); - } - - options = options || {}; - // Force single-tag solution on IE6-9, which has a hard limit on the # of