├── public ├── favicon.ico ├── robots.txt ├── js │ ├── vendor.js.LICENSE.txt │ ├── 586.js │ ├── 158.js │ ├── 251.js │ ├── resources_js_Pages_Home_vue.js │ ├── resources_js_Pages_About_vue.js │ ├── resources_js_Pages_Contact_vue.js │ ├── manifest.js │ └── app.js ├── mix-manifest.json ├── .htaccess ├── index.php └── css │ └── app.css ├── database ├── .gitignore ├── seeders │ └── DatabaseSeeder.php ├── migrations │ ├── 2014_10_12_100000_create_password_resets_table.php │ ├── 2014_10_12_000000_create_users_table.php │ ├── 2019_08_19_000000_create_failed_jobs_table.php │ └── 2019_12_14_000001_create_personal_access_tokens_table.php └── factories │ └── UserFactory.php ├── bootstrap ├── cache │ └── .gitignore └── app.php ├── storage ├── logs │ └── .gitignore ├── app │ ├── public │ │ └── .gitignore │ └── .gitignore └── framework │ ├── testing │ └── .gitignore │ ├── views │ └── .gitignore │ ├── cache │ ├── data │ │ └── .gitignore │ └── .gitignore │ ├── sessions │ └── .gitignore │ └── .gitignore ├── resources ├── css │ └── app.css ├── js │ ├── ziggy.js │ ├── app.js │ ├── ssr.js │ └── Pages │ │ ├── Home.vue │ │ ├── About.vue │ │ └── Contact.vue ├── lang │ └── en │ │ ├── pagination.php │ │ ├── auth.php │ │ ├── passwords.php │ │ └── validation.php └── views │ └── app.blade.php ├── .gitattributes ├── tailwind.config.js ├── tests ├── TestCase.php ├── Unit │ └── ExampleTest.php ├── Feature │ └── ExampleTest.php └── CreatesApplication.php ├── .styleci.yml ├── .gitignore ├── .editorconfig ├── app ├── Http │ ├── Middleware │ │ ├── EncryptCookies.php │ │ ├── VerifyCsrfToken.php │ │ ├── PreventRequestsDuringMaintenance.php │ │ ├── TrustHosts.php │ │ ├── TrimStrings.php │ │ ├── Authenticate.php │ │ ├── TrustProxies.php │ │ ├── RedirectIfAuthenticated.php │ │ └── HandleInertiaRequests.php │ ├── Controllers │ │ └── Controller.php │ └── Kernel.php ├── Providers │ ├── BroadcastServiceProvider.php │ ├── AppServiceProvider.php │ ├── AuthServiceProvider.php │ ├── EventServiceProvider.php │ └── RouteServiceProvider.php ├── Console │ └── Kernel.php ├── Exceptions │ └── Handler.php └── Models │ └── User.php ├── webpack.mix.js ├── webpack.ssr.mix.js ├── routes ├── channels.php ├── api.php ├── console.php └── web.php ├── config ├── cors.php ├── services.php ├── view.php ├── inertia.php ├── hashing.php ├── broadcasting.php ├── sanctum.php ├── filesystems.php ├── queue.php ├── cache.php ├── logging.php ├── mail.php ├── auth.php ├── database.php ├── session.php └── app.php ├── package.json ├── .env.example ├── phpunit.xml ├── artisan ├── composer.json └── README.md /public/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /database/.gitignore: -------------------------------------------------------------------------------- 1 | *.sqlite* 2 | -------------------------------------------------------------------------------- /bootstrap/cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/logs/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: 3 | -------------------------------------------------------------------------------- /storage/app/public/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/app/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !public/ 3 | !.gitignore 4 | -------------------------------------------------------------------------------- /storage/framework/testing/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/views/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/cache/data/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/sessions/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !data/ 3 | !.gitignore 4 | -------------------------------------------------------------------------------- /resources/css/app.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | @tailwind components; 3 | @tailwind utilities; -------------------------------------------------------------------------------- /public/js/vendor.js.LICENSE.txt: -------------------------------------------------------------------------------- 1 | /* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress 2 | * @license MIT */ 3 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | *.css linguist-vendored 3 | *.scss linguist-vendored 4 | *.js linguist-vendored 5 | CHANGELOG.md export-ignore 6 | -------------------------------------------------------------------------------- /tailwind.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | content: ["./resources/js/**/*.{vue,js}"], 3 | theme: { 4 | extend: {}, 5 | }, 6 | plugins: [], 7 | }; 8 | -------------------------------------------------------------------------------- /storage/framework/.gitignore: -------------------------------------------------------------------------------- 1 | compiled.php 2 | config.php 3 | down 4 | events.scanned.php 5 | maintenance.php 6 | routes.php 7 | routes.scanned.php 8 | schedule-* 9 | services.json 10 | -------------------------------------------------------------------------------- /tests/TestCase.php: -------------------------------------------------------------------------------- 1 | {t.r(n),t.d(n,{default:()=>l});var u=t(821);const c={},l=(0,t(3744).Z)(c,[["render",function(e,n){return(0,u.openBlock)(),(0,u.createElementBlock)("h1",null,"About")}]])}}]); -------------------------------------------------------------------------------- /.styleci.yml: -------------------------------------------------------------------------------- 1 | php: 2 | preset: laravel 3 | version: 8 4 | disabled: 5 | - no_unused_imports 6 | finder: 7 | not-name: 8 | - index.php 9 | - server.php 10 | js: 11 | finder: 12 | not-name: 13 | - webpack.mix.js 14 | css: true 15 | -------------------------------------------------------------------------------- /public/js/158.js: -------------------------------------------------------------------------------- 1 | "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[158],{6158:(e,n,c)=>{c.r(n),c.d(n,{default:()=>t});var l=c(821);const r={},t=(0,c(3744).Z)(r,[["render",function(e,n){return(0,l.openBlock)(),(0,l.createElementBlock)("h1",null,"Homepage")}]])}}]); -------------------------------------------------------------------------------- /public/js/251.js: -------------------------------------------------------------------------------- 1 | "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[251],{1773:(e,n,t)=>{t.r(n),t.d(n,{default:()=>r});var c=t(821);const l={},r=(0,t(3744).Z)(l,[["render",function(e,n){return(0,c.openBlock)(),(0,c.createElementBlock)("h1",null,"Contact")}]])}}]); -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | /public/hot 3 | /public/storage 4 | /storage/*.key 5 | /vendor 6 | .env 7 | .env.backup 8 | .phpunit.result.cache 9 | docker-compose.override.yml 10 | Homestead.json 11 | Homestead.yaml 12 | npm-debug.log 13 | yarn-error.log 14 | /.idea 15 | /.vscode 16 | -------------------------------------------------------------------------------- /public/mix-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "/js/app.js": "/js/app.js?id=f9a5f76333ea0af74916", 3 | "/js/manifest.js": "/js/manifest.js?id=46b7d50b5a1772a026b5", 4 | "/css/app.css": "/css/app.css?id=408058f921a1fdde1453", 5 | "/js/vendor.js": "/js/vendor.js?id=a97b5bc10abda6e4a8a3" 6 | } 7 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | end_of_line = lf 6 | insert_final_newline = true 7 | indent_style = space 8 | indent_size = 4 9 | trim_trailing_whitespace = true 10 | 11 | [*.md] 12 | trim_trailing_whitespace = false 13 | 14 | [*.{yml,yaml}] 15 | indent_size = 2 16 | 17 | [docker-compose.yml] 18 | indent_size = 4 19 | -------------------------------------------------------------------------------- /tests/Unit/ExampleTest.php: -------------------------------------------------------------------------------- 1 | assertTrue(true); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /database/seeders/DatabaseSeeder.php: -------------------------------------------------------------------------------- 1 | create(); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /app/Http/Middleware/EncryptCookies.php: -------------------------------------------------------------------------------- 1 | 13 | */ 14 | protected $except = [ 15 | // 16 | ]; 17 | } 18 | -------------------------------------------------------------------------------- /resources/js/ziggy.js: -------------------------------------------------------------------------------- 1 | const Ziggy = {"url":"http:\/\/awesome-app.test","port":null,"defaults":{},"routes":{"homepage":{"uri":"\/","methods":["GET","HEAD"]},"about":{"uri":"about","methods":["GET","HEAD"]},"contact":{"uri":"contact","methods":["GET","HEAD"]}}}; 2 | 3 | if (typeof window !== 'undefined' && typeof window.Ziggy !== 'undefined') { 4 | Object.assign(Ziggy.routes, window.Ziggy.routes); 5 | } 6 | 7 | export { Ziggy }; 8 | -------------------------------------------------------------------------------- /app/Http/Middleware/VerifyCsrfToken.php: -------------------------------------------------------------------------------- 1 | 13 | */ 14 | protected $except = [ 15 | // 16 | ]; 17 | } 18 | -------------------------------------------------------------------------------- /app/Http/Controllers/Controller.php: -------------------------------------------------------------------------------- 1 | get('/'); 18 | 19 | $response->assertStatus(200); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /webpack.mix.js: -------------------------------------------------------------------------------- 1 | const path = require("path"); 2 | const mix = require("laravel-mix"); 3 | 4 | // Rezolve Ziggy 5 | mix.alias({ 6 | ziggy: path.resolve("vendor/tightenco/ziggy/dist/vue"), 7 | }); 8 | 9 | // Build files 10 | mix.js("resources/js/app.js", "public/js") 11 | .vue({ version: 3 }) 12 | .alias({ "@": path.resolve("resources/js") }) 13 | .extract() 14 | .postCss("resources/css/app.css", "public/css", [require("tailwindcss")]) 15 | .version(); 16 | -------------------------------------------------------------------------------- /app/Http/Middleware/PreventRequestsDuringMaintenance.php: -------------------------------------------------------------------------------- 1 | 13 | */ 14 | protected $except = [ 15 | // 16 | ]; 17 | } 18 | -------------------------------------------------------------------------------- /app/Http/Middleware/TrustHosts.php: -------------------------------------------------------------------------------- 1 | 13 | */ 14 | public function hosts() 15 | { 16 | return [ 17 | $this->allSubdomainsOfApplicationUrl(), 18 | ]; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /app/Http/Middleware/TrimStrings.php: -------------------------------------------------------------------------------- 1 | 13 | */ 14 | protected $except = [ 15 | 'current_password', 16 | 'password', 17 | 'password_confirmation', 18 | ]; 19 | } 20 | -------------------------------------------------------------------------------- /tests/CreatesApplication.php: -------------------------------------------------------------------------------- 1 | make(Kernel::class)->bootstrap(); 19 | 20 | return $app; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /app/Providers/BroadcastServiceProvider.php: -------------------------------------------------------------------------------- 1 | expectsJson()) { 18 | return route('login'); 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /webpack.ssr.mix.js: -------------------------------------------------------------------------------- 1 | const path = require("path"); 2 | const mix = require("laravel-mix"); 3 | const webpackNodeExternals = require("webpack-node-externals"); 4 | 5 | // Rezolve Ziggy 6 | mix.alias({ 7 | ziggy: path.resolve("vendor/tightenco/ziggy/dist/vue"), 8 | }); 9 | 10 | // Build files 11 | mix.options({ manifest: false }) 12 | .js("resources/js/ssr.js", "public/js") 13 | .vue({ version: 3, options: { optimizeSSR: true } }) 14 | .alias({ "@": path.resolve("resources/js") }) 15 | .webpackConfig({ 16 | target: "node", 17 | externals: [webpackNodeExternals()], 18 | }) 19 | .version(); 20 | -------------------------------------------------------------------------------- /resources/lang/en/pagination.php: -------------------------------------------------------------------------------- 1 | '« Previous', 17 | 'next' => 'Next »', 18 | 19 | ]; 20 | -------------------------------------------------------------------------------- /resources/views/app.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | @routes 9 | 10 | 11 | 12 | 13 | @inertiaHead 14 | 15 | 16 | 17 | @inertia 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /routes/channels.php: -------------------------------------------------------------------------------- 1 | id === (int) $id; 18 | }); 19 | -------------------------------------------------------------------------------- /routes/api.php: -------------------------------------------------------------------------------- 1 | get('/user', function (Request $request) { 18 | return $request->user(); 19 | }); 20 | -------------------------------------------------------------------------------- /routes/console.php: -------------------------------------------------------------------------------- 1 | comment(Inspiring::quote()); 19 | })->purpose('Display an inspiring quote'); 20 | -------------------------------------------------------------------------------- /routes/web.php: -------------------------------------------------------------------------------- 1 | 'Homepage', 13 | ] 14 | ); 15 | } 16 | )->name( 'homepage' ); 17 | 18 | Route::get( 19 | '/about', 20 | function () { 21 | return Inertia::render( 22 | 'About', 23 | [ 24 | 'title' => 'About', 25 | ] 26 | ); 27 | } 28 | )->name( 'about' ); 29 | 30 | Route::get( 31 | '/contact', 32 | function () { 33 | return Inertia::render( 34 | 'Contact', 35 | [ 36 | 'title' => 'Contact', 37 | ] 38 | ); 39 | } 40 | )->name( 'contact' ); 41 | -------------------------------------------------------------------------------- /public/.htaccess: -------------------------------------------------------------------------------- 1 | 2 | 3 | Options -MultiViews -Indexes 4 | 5 | 6 | RewriteEngine On 7 | 8 | # Handle Authorization Header 9 | RewriteCond %{HTTP:Authorization} . 10 | RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] 11 | 12 | # Redirect Trailing Slashes If Not A Folder... 13 | RewriteCond %{REQUEST_FILENAME} !-d 14 | RewriteCond %{REQUEST_URI} (.+)/$ 15 | RewriteRule ^ %1 [L,R=301] 16 | 17 | # Send Requests To Front Controller... 18 | RewriteCond %{REQUEST_FILENAME} !-d 19 | RewriteCond %{REQUEST_FILENAME} !-f 20 | RewriteRule ^ index.php [L] 21 | 22 | -------------------------------------------------------------------------------- /app/Providers/AuthServiceProvider.php: -------------------------------------------------------------------------------- 1 | 14 | */ 15 | protected $policies = [ 16 | // 'App\Models\Model' => 'App\Policies\ModelPolicy', 17 | ]; 18 | 19 | /** 20 | * Register any authentication / authorization services. 21 | * 22 | * @return void 23 | */ 24 | public function boot() 25 | { 26 | $this->registerPolicies(); 27 | 28 | // 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /resources/lang/en/auth.php: -------------------------------------------------------------------------------- 1 | 'These credentials do not match our records.', 17 | 'password' => 'The provided password is incorrect.', 18 | 'throttle' => 'Too many login attempts. Please try again in :seconds seconds.', 19 | 20 | ]; 21 | -------------------------------------------------------------------------------- /resources/js/app.js: -------------------------------------------------------------------------------- 1 | import { createApp, h } from "vue"; 2 | import { createInertiaApp, Link, Head } from "@inertiajs/inertia-vue3"; 3 | import { InertiaProgress } from "@inertiajs/progress"; 4 | 5 | import { ZiggyVue } from "ziggy"; 6 | import { Ziggy } from "./ziggy"; 7 | 8 | InertiaProgress.init(); 9 | 10 | createInertiaApp({ 11 | resolve: async (name) => { 12 | return (await import(`./Pages/${name}`)).default; 13 | }, 14 | setup({ el, App, props, plugin }) { 15 | createApp({ render: () => h(App, props) }) 16 | .use(plugin) 17 | .use(ZiggyVue, Ziggy) 18 | .component("Link", Link) 19 | .component("Head", Head) 20 | .mixin({ methods: { route } }) 21 | .mount(el); 22 | }, 23 | }); 24 | -------------------------------------------------------------------------------- /app/Http/Middleware/TrustProxies.php: -------------------------------------------------------------------------------- 1 | |string|null 14 | */ 15 | protected $proxies; 16 | 17 | /** 18 | * The headers that should be used to detect proxies. 19 | * 20 | * @var int 21 | */ 22 | protected $headers = 23 | Request::HEADER_X_FORWARDED_FOR | 24 | Request::HEADER_X_FORWARDED_HOST | 25 | Request::HEADER_X_FORWARDED_PORT | 26 | Request::HEADER_X_FORWARDED_PROTO | 27 | Request::HEADER_X_FORWARDED_AWS_ELB; 28 | } 29 | -------------------------------------------------------------------------------- /app/Console/Kernel.php: -------------------------------------------------------------------------------- 1 | command('inspire')->hourly(); 19 | } 20 | 21 | /** 22 | * Register the commands for the application. 23 | * 24 | * @return void 25 | */ 26 | protected function commands() 27 | { 28 | $this->load(__DIR__.'/Commands'); 29 | 30 | require base_path('routes/console.php'); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /resources/js/ssr.js: -------------------------------------------------------------------------------- 1 | import { createSSRApp, h } from "vue"; 2 | import { renderToString } from "@vue/server-renderer"; 3 | import { createInertiaApp, Link, Head } from "@inertiajs/inertia-vue3"; 4 | import createServer from "@inertiajs/server"; 5 | 6 | import { ZiggyVue } from "ziggy"; 7 | import { Ziggy } from "./ziggy"; 8 | 9 | createServer((page) => 10 | createInertiaApp({ 11 | page, 12 | render: renderToString, 13 | resolve: (name) => require(`./Pages/${name}`), 14 | setup({ app, props, plugin }) { 15 | return createSSRApp({ 16 | render: () => h(app, props), 17 | }) 18 | .use(plugin) 19 | .use(ZiggyVue, Ziggy) 20 | .component("Link", Link) 21 | .component("Head", Head); 22 | }, 23 | }) 24 | ); 25 | -------------------------------------------------------------------------------- /resources/lang/en/passwords.php: -------------------------------------------------------------------------------- 1 | 'Your password has been reset!', 17 | 'sent' => 'We have emailed your password reset link!', 18 | 'throttled' => 'Please wait before retrying.', 19 | 'token' => 'This password reset token is invalid.', 20 | 'user' => "We can't find a user with that email address.", 21 | 22 | ]; 23 | -------------------------------------------------------------------------------- /database/migrations/2014_10_12_100000_create_password_resets_table.php: -------------------------------------------------------------------------------- 1 | string('email')->index(); 18 | $table->string('token'); 19 | $table->timestamp('created_at')->nullable(); 20 | }); 21 | } 22 | 23 | /** 24 | * Reverse the migrations. 25 | * 26 | * @return void 27 | */ 28 | public function down() 29 | { 30 | Schema::dropIfExists('password_resets'); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /app/Providers/EventServiceProvider.php: -------------------------------------------------------------------------------- 1 | > 16 | */ 17 | protected $listen = [ 18 | Registered::class => [ 19 | SendEmailVerificationNotification::class, 20 | ], 21 | ]; 22 | 23 | /** 24 | * Register any events for your application. 25 | * 26 | * @return void 27 | */ 28 | public function boot() 29 | { 30 | // 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /config/cors.php: -------------------------------------------------------------------------------- 1 | ['api/*', 'sanctum/csrf-cookie'], 19 | 20 | 'allowed_methods' => ['*'], 21 | 22 | 'allowed_origins' => ['*'], 23 | 24 | 'allowed_origins_patterns' => [], 25 | 26 | 'allowed_headers' => ['*'], 27 | 28 | 'exposed_headers' => [], 29 | 30 | 'max_age' => 0, 31 | 32 | 'supports_credentials' => false, 33 | 34 | ]; 35 | -------------------------------------------------------------------------------- /database/migrations/2014_10_12_000000_create_users_table.php: -------------------------------------------------------------------------------- 1 | id(); 18 | $table->string('name'); 19 | $table->string('email')->unique(); 20 | $table->timestamp('email_verified_at')->nullable(); 21 | $table->string('password'); 22 | $table->rememberToken(); 23 | $table->timestamps(); 24 | }); 25 | } 26 | 27 | /** 28 | * Reverse the migrations. 29 | * 30 | * @return void 31 | */ 32 | public function down() 33 | { 34 | Schema::dropIfExists('users'); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "private": true, 3 | "scripts": { 4 | "dev": "npm run development", 5 | "development": "mix", 6 | "watch": "mix watch", 7 | "watch-poll": "mix watch -- --watch-options-poll=1000", 8 | "hot": "mix watch --hot", 9 | "prod": "npm run production", 10 | "production": "mix --production" 11 | }, 12 | "devDependencies": { 13 | "autoprefixer": "^10.4.2", 14 | "axios": "^0.21", 15 | "laravel-mix": "^6.0.6", 16 | "lodash": "^4.17.19", 17 | "postcss": "^8.4.6", 18 | "tailwindcss": "^3.0.19", 19 | "vue-loader": "^16.8.3" 20 | }, 21 | "dependencies": { 22 | "@inertiajs/inertia": "^0.11.0", 23 | "@inertiajs/inertia-vue3": "^0.6.0", 24 | "@inertiajs/progress": "^0.2.7", 25 | "@inertiajs/server": "^0.1.0", 26 | "@vue/server-renderer": "^3.2.31", 27 | "vue": "^3.2.29", 28 | "webpack-node-externals": "^3.0.0" 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /app/Exceptions/Handler.php: -------------------------------------------------------------------------------- 1 | > 14 | */ 15 | protected $dontReport = [ 16 | // 17 | ]; 18 | 19 | /** 20 | * A list of the inputs that are never flashed for validation exceptions. 21 | * 22 | * @var array 23 | */ 24 | protected $dontFlash = [ 25 | 'current_password', 26 | 'password', 27 | 'password_confirmation', 28 | ]; 29 | 30 | /** 31 | * Register the exception handling callbacks for the application. 32 | * 33 | * @return void 34 | */ 35 | public function register() 36 | { 37 | $this->reportable(function (Throwable $e) { 38 | // 39 | }); 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /database/migrations/2019_08_19_000000_create_failed_jobs_table.php: -------------------------------------------------------------------------------- 1 | id(); 18 | $table->string('uuid')->unique(); 19 | $table->text('connection'); 20 | $table->text('queue'); 21 | $table->longText('payload'); 22 | $table->longText('exception'); 23 | $table->timestamp('failed_at')->useCurrent(); 24 | }); 25 | } 26 | 27 | /** 28 | * Reverse the migrations. 29 | * 30 | * @return void 31 | */ 32 | public function down() 33 | { 34 | Schema::dropIfExists('failed_jobs'); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /app/Http/Middleware/RedirectIfAuthenticated.php: -------------------------------------------------------------------------------- 1 | check()) { 26 | return redirect(RouteServiceProvider::HOME); 27 | } 28 | } 29 | 30 | return $next($request); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /resources/js/Pages/Home.vue: -------------------------------------------------------------------------------- 1 | 28 | -------------------------------------------------------------------------------- /resources/js/Pages/About.vue: -------------------------------------------------------------------------------- 1 | 28 | -------------------------------------------------------------------------------- /resources/js/Pages/Contact.vue: -------------------------------------------------------------------------------- 1 | 28 | -------------------------------------------------------------------------------- /database/migrations/2019_12_14_000001_create_personal_access_tokens_table.php: -------------------------------------------------------------------------------- 1 | id(); 18 | $table->morphs('tokenable'); 19 | $table->string('name'); 20 | $table->string('token', 64)->unique(); 21 | $table->text('abilities')->nullable(); 22 | $table->timestamp('last_used_at')->nullable(); 23 | $table->timestamps(); 24 | }); 25 | } 26 | 27 | /** 28 | * Reverse the migrations. 29 | * 30 | * @return void 31 | */ 32 | public function down() 33 | { 34 | Schema::dropIfExists('personal_access_tokens'); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /config/services.php: -------------------------------------------------------------------------------- 1 | [ 18 | 'domain' => env('MAILGUN_DOMAIN'), 19 | 'secret' => env('MAILGUN_SECRET'), 20 | 'endpoint' => env('MAILGUN_ENDPOINT', 'api.mailgun.net'), 21 | ], 22 | 23 | 'postmark' => [ 24 | 'token' => env('POSTMARK_TOKEN'), 25 | ], 26 | 27 | 'ses' => [ 28 | 'key' => env('AWS_ACCESS_KEY_ID'), 29 | 'secret' => env('AWS_SECRET_ACCESS_KEY'), 30 | 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'), 31 | ], 32 | 33 | ]; 34 | -------------------------------------------------------------------------------- /app/Models/User.php: -------------------------------------------------------------------------------- 1 | 19 | */ 20 | protected $fillable = [ 21 | 'name', 22 | 'email', 23 | 'password', 24 | ]; 25 | 26 | /** 27 | * The attributes that should be hidden for serialization. 28 | * 29 | * @var array 30 | */ 31 | protected $hidden = [ 32 | 'password', 33 | 'remember_token', 34 | ]; 35 | 36 | /** 37 | * The attributes that should be cast. 38 | * 39 | * @var array 40 | */ 41 | protected $casts = [ 42 | 'email_verified_at' => 'datetime', 43 | ]; 44 | } 45 | -------------------------------------------------------------------------------- /.env.example: -------------------------------------------------------------------------------- 1 | APP_NAME=Laravel 2 | APP_ENV=local 3 | APP_KEY= 4 | APP_DEBUG=true 5 | APP_URL=http://localhost 6 | 7 | LOG_CHANNEL=stack 8 | LOG_DEPRECATIONS_CHANNEL=null 9 | LOG_LEVEL=debug 10 | 11 | DB_CONNECTION=mysql 12 | DB_HOST=127.0.0.1 13 | DB_PORT=3306 14 | DB_DATABASE=awesome_app 15 | DB_USERNAME=root 16 | DB_PASSWORD= 17 | 18 | BROADCAST_DRIVER=log 19 | CACHE_DRIVER=file 20 | FILESYSTEM_DRIVER=local 21 | QUEUE_CONNECTION=sync 22 | SESSION_DRIVER=file 23 | SESSION_LIFETIME=120 24 | 25 | MEMCACHED_HOST=127.0.0.1 26 | 27 | REDIS_HOST=127.0.0.1 28 | REDIS_PASSWORD=null 29 | REDIS_PORT=6379 30 | 31 | MAIL_MAILER=smtp 32 | MAIL_HOST=mailhog 33 | MAIL_PORT=1025 34 | MAIL_USERNAME=null 35 | MAIL_PASSWORD=null 36 | MAIL_ENCRYPTION=null 37 | MAIL_FROM_ADDRESS=null 38 | MAIL_FROM_NAME="${APP_NAME}" 39 | 40 | AWS_ACCESS_KEY_ID= 41 | AWS_SECRET_ACCESS_KEY= 42 | AWS_DEFAULT_REGION=us-east-1 43 | AWS_BUCKET= 44 | AWS_USE_PATH_STYLE_ENDPOINT=false 45 | 46 | PUSHER_APP_ID= 47 | PUSHER_APP_KEY= 48 | PUSHER_APP_SECRET= 49 | PUSHER_APP_CLUSTER=mt1 50 | 51 | MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}" 52 | MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}" 53 | -------------------------------------------------------------------------------- /database/factories/UserFactory.php: -------------------------------------------------------------------------------- 1 | $this->faker->name(), 19 | 'email' => $this->faker->unique()->safeEmail(), 20 | 'email_verified_at' => now(), 21 | 'password' => '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', // password 22 | 'remember_token' => Str::random(10), 23 | ]; 24 | } 25 | 26 | /** 27 | * Indicate that the model's email address should be unverified. 28 | * 29 | * @return \Illuminate\Database\Eloquent\Factories\Factory 30 | */ 31 | public function unverified() 32 | { 33 | return $this->state(function (array $attributes) { 34 | return [ 35 | 'email_verified_at' => null, 36 | ]; 37 | }); 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /config/view.php: -------------------------------------------------------------------------------- 1 | [ 17 | resource_path('views'), 18 | ], 19 | 20 | /* 21 | |-------------------------------------------------------------------------- 22 | | Compiled View Path 23 | |-------------------------------------------------------------------------- 24 | | 25 | | This option determines where all the compiled Blade templates will be 26 | | stored for your application. Typically, this is within the storage 27 | | directory. However, as usual, you are free to change this value. 28 | | 29 | */ 30 | 31 | 'compiled' => env( 32 | 'VIEW_COMPILED_PATH', 33 | realpath(storage_path('framework/views')) 34 | ), 35 | 36 | ]; 37 | -------------------------------------------------------------------------------- /app/Http/Middleware/HandleInertiaRequests.php: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | ./tests/Unit 10 | 11 | 12 | ./tests/Feature 13 | 14 | 15 | 16 | 17 | ./app 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /config/inertia.php: -------------------------------------------------------------------------------- 1 | [ 20 | 21 | 'enabled' => true, 22 | 23 | 'url' => 'http://127.0.0.1:13714/render', 24 | 25 | ], 26 | 27 | /* 28 | |-------------------------------------------------------------------------- 29 | | Testing 30 | |-------------------------------------------------------------------------- 31 | | 32 | | The values described here are used to locate Inertia components on the 33 | | filesystem. For instance, when using `assertInertia`, the assertion 34 | | attempts to locate the component as a file relative to any of the 35 | | paths AND with any of the extensions specified here. 36 | | 37 | */ 38 | 39 | 'testing' => [ 40 | 41 | 'ensure_pages_exist' => true, 42 | 43 | 'page_paths' => [ 44 | 45 | resource_path('js/Pages'), 46 | 47 | ], 48 | 49 | 'page_extensions' => [ 50 | 51 | 'js', 52 | 'jsx', 53 | 'svelte', 54 | 'ts', 55 | 'tsx', 56 | 'vue', 57 | 58 | ], 59 | 60 | ], 61 | 62 | ]; 63 | -------------------------------------------------------------------------------- /config/hashing.php: -------------------------------------------------------------------------------- 1 | 'bcrypt', 19 | 20 | /* 21 | |-------------------------------------------------------------------------- 22 | | Bcrypt Options 23 | |-------------------------------------------------------------------------- 24 | | 25 | | Here you may specify the configuration options that should be used when 26 | | passwords are hashed using the Bcrypt algorithm. This will allow you 27 | | to control the amount of time it takes to hash the given password. 28 | | 29 | */ 30 | 31 | 'bcrypt' => [ 32 | 'rounds' => env('BCRYPT_ROUNDS', 10), 33 | ], 34 | 35 | /* 36 | |-------------------------------------------------------------------------- 37 | | Argon Options 38 | |-------------------------------------------------------------------------- 39 | | 40 | | Here you may specify the configuration options that should be used when 41 | | passwords are hashed using the Argon algorithm. These will allow you 42 | | to control the amount of time it takes to hash the given password. 43 | | 44 | */ 45 | 46 | 'argon' => [ 47 | 'memory' => 1024, 48 | 'threads' => 2, 49 | 'time' => 2, 50 | ], 51 | 52 | ]; 53 | -------------------------------------------------------------------------------- /bootstrap/app.php: -------------------------------------------------------------------------------- 1 | singleton( 30 | Illuminate\Contracts\Http\Kernel::class, 31 | App\Http\Kernel::class 32 | ); 33 | 34 | $app->singleton( 35 | Illuminate\Contracts\Console\Kernel::class, 36 | App\Console\Kernel::class 37 | ); 38 | 39 | $app->singleton( 40 | Illuminate\Contracts\Debug\ExceptionHandler::class, 41 | App\Exceptions\Handler::class 42 | ); 43 | 44 | /* 45 | |-------------------------------------------------------------------------- 46 | | Return The Application 47 | |-------------------------------------------------------------------------- 48 | | 49 | | This script returns the application instance. The instance is given to 50 | | the calling script so we can separate the building of the instances 51 | | from the actual running of the application and sending responses. 52 | | 53 | */ 54 | 55 | return $app; 56 | -------------------------------------------------------------------------------- /artisan: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env php 2 | make(Illuminate\Contracts\Console\Kernel::class); 34 | 35 | $status = $kernel->handle( 36 | $input = new Symfony\Component\Console\Input\ArgvInput, 37 | new Symfony\Component\Console\Output\ConsoleOutput 38 | ); 39 | 40 | /* 41 | |-------------------------------------------------------------------------- 42 | | Shutdown The Application 43 | |-------------------------------------------------------------------------- 44 | | 45 | | Once Artisan has finished running, we will fire off the shutdown events 46 | | so that any final work may be done by the application before we shut 47 | | down the process. This is the last thing to happen to the request. 48 | | 49 | */ 50 | 51 | $kernel->terminate($input, $status); 52 | 53 | exit($status); 54 | -------------------------------------------------------------------------------- /public/index.php: -------------------------------------------------------------------------------- 1 | make(Kernel::class); 50 | 51 | $response = $kernel->handle( 52 | $request = Request::capture() 53 | )->send(); 54 | 55 | $kernel->terminate($request, $response); 56 | -------------------------------------------------------------------------------- /app/Providers/RouteServiceProvider.php: -------------------------------------------------------------------------------- 1 | configureRateLimiting(); 39 | 40 | $this->routes(function () { 41 | Route::prefix('api') 42 | ->middleware('api') 43 | ->namespace($this->namespace) 44 | ->group(base_path('routes/api.php')); 45 | 46 | Route::middleware('web') 47 | ->namespace($this->namespace) 48 | ->group(base_path('routes/web.php')); 49 | }); 50 | } 51 | 52 | /** 53 | * Configure the rate limiters for the application. 54 | * 55 | * @return void 56 | */ 57 | protected function configureRateLimiting() 58 | { 59 | RateLimiter::for('api', function (Request $request) { 60 | return Limit::perMinute(60)->by(optional($request->user())->id ?: $request->ip()); 61 | }); 62 | } 63 | } 64 | -------------------------------------------------------------------------------- /config/broadcasting.php: -------------------------------------------------------------------------------- 1 | env('BROADCAST_DRIVER', 'null'), 19 | 20 | /* 21 | |-------------------------------------------------------------------------- 22 | | Broadcast Connections 23 | |-------------------------------------------------------------------------- 24 | | 25 | | Here you may define all of the broadcast connections that will be used 26 | | to broadcast events to other systems or over websockets. Samples of 27 | | each available type of connection are provided inside this array. 28 | | 29 | */ 30 | 31 | 'connections' => [ 32 | 33 | 'pusher' => [ 34 | 'driver' => 'pusher', 35 | 'key' => env('PUSHER_APP_KEY'), 36 | 'secret' => env('PUSHER_APP_SECRET'), 37 | 'app_id' => env('PUSHER_APP_ID'), 38 | 'options' => [ 39 | 'cluster' => env('PUSHER_APP_CLUSTER'), 40 | 'useTLS' => true, 41 | ], 42 | ], 43 | 44 | 'ably' => [ 45 | 'driver' => 'ably', 46 | 'key' => env('ABLY_KEY'), 47 | ], 48 | 49 | 'redis' => [ 50 | 'driver' => 'redis', 51 | 'connection' => 'default', 52 | ], 53 | 54 | 'log' => [ 55 | 'driver' => 'log', 56 | ], 57 | 58 | 'null' => [ 59 | 'driver' => 'null', 60 | ], 61 | 62 | ], 63 | 64 | ]; 65 | -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "laravel/laravel", 3 | "type": "project", 4 | "description": "The Laravel Framework.", 5 | "keywords": [ 6 | "framework", 7 | "laravel" 8 | ], 9 | "license": "MIT", 10 | "require": { 11 | "php": "^7.3|^8.0", 12 | "fruitcake/laravel-cors": "^2.0", 13 | "guzzlehttp/guzzle": "^7.0.1", 14 | "inertiajs/inertia-laravel": "^0.5.4", 15 | "laravel/framework": "^9.0", 16 | "laravel/sanctum": "^2.11", 17 | "laravel/tinker": "^2.5", 18 | "tightenco/ziggy": "^1.4" 19 | }, 20 | "require-dev": { 21 | "spatie/laravel-ignition": "^1.0", 22 | "fakerphp/faker": "^1.9.1", 23 | "laravel/sail": "^1.0.1", 24 | "mockery/mockery": "^1.4.4", 25 | "nunomaduro/collision": "^6.1", 26 | "phpunit/phpunit": "^9.5.10" 27 | }, 28 | "autoload": { 29 | "psr-4": { 30 | "App\\": "app/", 31 | "Database\\Factories\\": "database/factories/", 32 | "Database\\Seeders\\": "database/seeders/" 33 | } 34 | }, 35 | "autoload-dev": { 36 | "psr-4": { 37 | "Tests\\": "tests/" 38 | } 39 | }, 40 | "scripts": { 41 | "post-autoload-dump": [ 42 | "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump", 43 | "@php artisan package:discover --ansi" 44 | ], 45 | "post-update-cmd": [ 46 | "@php artisan vendor:publish --tag=laravel-assets --ansi --force" 47 | ], 48 | "post-root-package-install": [ 49 | "@php -r \"file_exists('.env') || copy('.env.example', '.env');\"" 50 | ], 51 | "post-create-project-cmd": [ 52 | "@php artisan key:generate --ansi" 53 | ] 54 | }, 55 | "extra": { 56 | "laravel": { 57 | "dont-discover": [] 58 | } 59 | }, 60 | "config": { 61 | "optimize-autoloader": true, 62 | "preferred-install": "dist", 63 | "sort-packages": true 64 | }, 65 | "minimum-stability": "dev", 66 | "prefer-stable": true 67 | } 68 | -------------------------------------------------------------------------------- /config/sanctum.php: -------------------------------------------------------------------------------- 1 | explode(',', env('SANCTUM_STATEFUL_DOMAINS', sprintf( 17 | '%s%s', 18 | 'localhost,localhost:3000,127.0.0.1,127.0.0.1:8000,::1', 19 | env('APP_URL') ? ','.parse_url(env('APP_URL'), PHP_URL_HOST) : '' 20 | ))), 21 | 22 | /* 23 | |-------------------------------------------------------------------------- 24 | | Sanctum Guards 25 | |-------------------------------------------------------------------------- 26 | | 27 | | This array contains the authentication guards that will be checked when 28 | | Sanctum is trying to authenticate a request. If none of these guards 29 | | are able to authenticate the request, Sanctum will use the bearer 30 | | token that's present on an incoming request for authentication. 31 | | 32 | */ 33 | 34 | 'guard' => ['web'], 35 | 36 | /* 37 | |-------------------------------------------------------------------------- 38 | | Expiration Minutes 39 | |-------------------------------------------------------------------------- 40 | | 41 | | This value controls the number of minutes until an issued token will be 42 | | considered expired. If this value is null, personal access tokens do 43 | | not expire. This won't tweak the lifetime of first-party sessions. 44 | | 45 | */ 46 | 47 | 'expiration' => null, 48 | 49 | /* 50 | |-------------------------------------------------------------------------- 51 | | Sanctum Middleware 52 | |-------------------------------------------------------------------------- 53 | | 54 | | When authenticating your first-party SPA with Sanctum you may need to 55 | | customize some of the middleware Sanctum uses while processing the 56 | | request. You may change the middleware listed below as required. 57 | | 58 | */ 59 | 60 | 'middleware' => [ 61 | 'verify_csrf_token' => App\Http\Middleware\VerifyCsrfToken::class, 62 | 'encrypt_cookies' => App\Http\Middleware\EncryptCookies::class, 63 | ], 64 | 65 | ]; 66 | -------------------------------------------------------------------------------- /config/filesystems.php: -------------------------------------------------------------------------------- 1 | env('FILESYSTEM_DRIVER', 'local'), 17 | 18 | /* 19 | |-------------------------------------------------------------------------- 20 | | Filesystem Disks 21 | |-------------------------------------------------------------------------- 22 | | 23 | | Here you may configure as many filesystem "disks" as you wish, and you 24 | | may even configure multiple disks of the same driver. Defaults have 25 | | been setup for each driver as an example of the required options. 26 | | 27 | | Supported Drivers: "local", "ftp", "sftp", "s3" 28 | | 29 | */ 30 | 31 | 'disks' => [ 32 | 33 | 'local' => [ 34 | 'driver' => 'local', 35 | 'root' => storage_path('app'), 36 | ], 37 | 38 | 'public' => [ 39 | 'driver' => 'local', 40 | 'root' => storage_path('app/public'), 41 | 'url' => env('APP_URL').'/storage', 42 | 'visibility' => 'public', 43 | ], 44 | 45 | 's3' => [ 46 | 'driver' => 's3', 47 | 'key' => env('AWS_ACCESS_KEY_ID'), 48 | 'secret' => env('AWS_SECRET_ACCESS_KEY'), 49 | 'region' => env('AWS_DEFAULT_REGION'), 50 | 'bucket' => env('AWS_BUCKET'), 51 | 'url' => env('AWS_URL'), 52 | 'endpoint' => env('AWS_ENDPOINT'), 53 | 'use_path_style_endpoint' => env('AWS_USE_PATH_STYLE_ENDPOINT', false), 54 | ], 55 | 56 | ], 57 | 58 | /* 59 | |-------------------------------------------------------------------------- 60 | | Symbolic Links 61 | |-------------------------------------------------------------------------- 62 | | 63 | | Here you may configure the symbolic links that will be created when the 64 | | `storage:link` Artisan command is executed. The array keys should be 65 | | the locations of the links and the values should be their targets. 66 | | 67 | */ 68 | 69 | 'links' => [ 70 | public_path('storage') => storage_path('app/public'), 71 | ], 72 | 73 | ]; 74 | -------------------------------------------------------------------------------- /app/Http/Kernel.php: -------------------------------------------------------------------------------- 1 | 15 | */ 16 | protected $middleware = [ 17 | // \App\Http\Middleware\TrustHosts::class, 18 | \App\Http\Middleware\TrustProxies::class, 19 | \Fruitcake\Cors\HandleCors::class, 20 | \App\Http\Middleware\PreventRequestsDuringMaintenance::class, 21 | \Illuminate\Foundation\Http\Middleware\ValidatePostSize::class, 22 | \App\Http\Middleware\TrimStrings::class, 23 | \Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull::class, 24 | ]; 25 | 26 | /** 27 | * The application's route middleware groups. 28 | * 29 | * @var array> 30 | */ 31 | protected $middlewareGroups = [ 32 | 'web' => [ 33 | \App\Http\Middleware\EncryptCookies::class, 34 | \Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class, 35 | \Illuminate\Session\Middleware\StartSession::class, 36 | // \Illuminate\Session\Middleware\AuthenticateSession::class, 37 | \Illuminate\View\Middleware\ShareErrorsFromSession::class, 38 | \App\Http\Middleware\VerifyCsrfToken::class, 39 | \Illuminate\Routing\Middleware\SubstituteBindings::class, 40 | \App\Http\Middleware\HandleInertiaRequests::class, 41 | ], 42 | 43 | 'api' => [ 44 | // \Laravel\Sanctum\Http\Middleware\EnsureFrontendRequestsAreStateful::class, 45 | 'throttle:api', 46 | \Illuminate\Routing\Middleware\SubstituteBindings::class, 47 | ], 48 | ]; 49 | 50 | /** 51 | * The application's route middleware. 52 | * 53 | * These middleware may be assigned to groups or used individually. 54 | * 55 | * @var array 56 | */ 57 | protected $routeMiddleware = [ 58 | 'auth' => \App\Http\Middleware\Authenticate::class, 59 | 'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class, 60 | 'cache.headers' => \Illuminate\Http\Middleware\SetCacheHeaders::class, 61 | 'can' => \Illuminate\Auth\Middleware\Authorize::class, 62 | 'guest' => \App\Http\Middleware\RedirectIfAuthenticated::class, 63 | 'password.confirm' => \Illuminate\Auth\Middleware\RequirePassword::class, 64 | 'signed' => \Illuminate\Routing\Middleware\ValidateSignature::class, 65 | 'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class, 66 | 'verified' => \Illuminate\Auth\Middleware\EnsureEmailIsVerified::class, 67 | ]; 68 | } 69 | -------------------------------------------------------------------------------- /config/queue.php: -------------------------------------------------------------------------------- 1 | env('QUEUE_CONNECTION', 'sync'), 17 | 18 | /* 19 | |-------------------------------------------------------------------------- 20 | | Queue Connections 21 | |-------------------------------------------------------------------------- 22 | | 23 | | Here you may configure the connection information for each server that 24 | | is used by your application. A default configuration has been added 25 | | for each back-end shipped with Laravel. You are free to add more. 26 | | 27 | | Drivers: "sync", "database", "beanstalkd", "sqs", "redis", "null" 28 | | 29 | */ 30 | 31 | 'connections' => [ 32 | 33 | 'sync' => [ 34 | 'driver' => 'sync', 35 | ], 36 | 37 | 'database' => [ 38 | 'driver' => 'database', 39 | 'table' => 'jobs', 40 | 'queue' => 'default', 41 | 'retry_after' => 90, 42 | 'after_commit' => false, 43 | ], 44 | 45 | 'beanstalkd' => [ 46 | 'driver' => 'beanstalkd', 47 | 'host' => 'localhost', 48 | 'queue' => 'default', 49 | 'retry_after' => 90, 50 | 'block_for' => 0, 51 | 'after_commit' => false, 52 | ], 53 | 54 | 'sqs' => [ 55 | 'driver' => 'sqs', 56 | 'key' => env('AWS_ACCESS_KEY_ID'), 57 | 'secret' => env('AWS_SECRET_ACCESS_KEY'), 58 | 'prefix' => env('SQS_PREFIX', 'https://sqs.us-east-1.amazonaws.com/your-account-id'), 59 | 'queue' => env('SQS_QUEUE', 'default'), 60 | 'suffix' => env('SQS_SUFFIX'), 61 | 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'), 62 | 'after_commit' => false, 63 | ], 64 | 65 | 'redis' => [ 66 | 'driver' => 'redis', 67 | 'connection' => 'default', 68 | 'queue' => env('REDIS_QUEUE', 'default'), 69 | 'retry_after' => 90, 70 | 'block_for' => null, 71 | 'after_commit' => false, 72 | ], 73 | 74 | ], 75 | 76 | /* 77 | |-------------------------------------------------------------------------- 78 | | Failed Queue Jobs 79 | |-------------------------------------------------------------------------- 80 | | 81 | | These options configure the behavior of failed queue job logging so you 82 | | can control which database and table are used to store the jobs that 83 | | have failed. You may change them to any database / table you wish. 84 | | 85 | */ 86 | 87 | 'failed' => [ 88 | 'driver' => env('QUEUE_FAILED_DRIVER', 'database-uuids'), 89 | 'database' => env('DB_CONNECTION', 'mysql'), 90 | 'table' => 'failed_jobs', 91 | ], 92 | 93 | ]; 94 | -------------------------------------------------------------------------------- /config/cache.php: -------------------------------------------------------------------------------- 1 | env('CACHE_DRIVER', 'file'), 19 | 20 | /* 21 | |-------------------------------------------------------------------------- 22 | | Cache Stores 23 | |-------------------------------------------------------------------------- 24 | | 25 | | Here you may define all of the cache "stores" for your application as 26 | | well as their drivers. You may even define multiple stores for the 27 | | same cache driver to group types of items stored in your caches. 28 | | 29 | | Supported drivers: "apc", "array", "database", "file", 30 | | "memcached", "redis", "dynamodb", "octane", "null" 31 | | 32 | */ 33 | 34 | 'stores' => [ 35 | 36 | 'apc' => [ 37 | 'driver' => 'apc', 38 | ], 39 | 40 | 'array' => [ 41 | 'driver' => 'array', 42 | 'serialize' => false, 43 | ], 44 | 45 | 'database' => [ 46 | 'driver' => 'database', 47 | 'table' => 'cache', 48 | 'connection' => null, 49 | 'lock_connection' => null, 50 | ], 51 | 52 | 'file' => [ 53 | 'driver' => 'file', 54 | 'path' => storage_path('framework/cache/data'), 55 | ], 56 | 57 | 'memcached' => [ 58 | 'driver' => 'memcached', 59 | 'persistent_id' => env('MEMCACHED_PERSISTENT_ID'), 60 | 'sasl' => [ 61 | env('MEMCACHED_USERNAME'), 62 | env('MEMCACHED_PASSWORD'), 63 | ], 64 | 'options' => [ 65 | // Memcached::OPT_CONNECT_TIMEOUT => 2000, 66 | ], 67 | 'servers' => [ 68 | [ 69 | 'host' => env('MEMCACHED_HOST', '127.0.0.1'), 70 | 'port' => env('MEMCACHED_PORT', 11211), 71 | 'weight' => 100, 72 | ], 73 | ], 74 | ], 75 | 76 | 'redis' => [ 77 | 'driver' => 'redis', 78 | 'connection' => 'cache', 79 | 'lock_connection' => 'default', 80 | ], 81 | 82 | 'dynamodb' => [ 83 | 'driver' => 'dynamodb', 84 | 'key' => env('AWS_ACCESS_KEY_ID'), 85 | 'secret' => env('AWS_SECRET_ACCESS_KEY'), 86 | 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'), 87 | 'table' => env('DYNAMODB_CACHE_TABLE', 'cache'), 88 | 'endpoint' => env('DYNAMODB_ENDPOINT'), 89 | ], 90 | 91 | 'octane' => [ 92 | 'driver' => 'octane', 93 | ], 94 | 95 | ], 96 | 97 | /* 98 | |-------------------------------------------------------------------------- 99 | | Cache Key Prefix 100 | |-------------------------------------------------------------------------- 101 | | 102 | | When utilizing a RAM based store such as APC or Memcached, there might 103 | | be other applications utilizing the same cache. So, we'll specify a 104 | | value to get prefixed to all our keys so we can avoid collisions. 105 | | 106 | */ 107 | 108 | 'prefix' => env('CACHE_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_').'_cache'), 109 | 110 | ]; 111 | -------------------------------------------------------------------------------- /config/logging.php: -------------------------------------------------------------------------------- 1 | env('LOG_CHANNEL', 'stack'), 21 | 22 | /* 23 | |-------------------------------------------------------------------------- 24 | | Deprecations Log Channel 25 | |-------------------------------------------------------------------------- 26 | | 27 | | This option controls the log channel that should be used to log warnings 28 | | regarding deprecated PHP and library features. This allows you to get 29 | | your application ready for upcoming major versions of dependencies. 30 | | 31 | */ 32 | 33 | 'deprecations' => env('LOG_DEPRECATIONS_CHANNEL', 'null'), 34 | 35 | /* 36 | |-------------------------------------------------------------------------- 37 | | Log Channels 38 | |-------------------------------------------------------------------------- 39 | | 40 | | Here you may configure the log channels for your application. Out of 41 | | the box, Laravel uses the Monolog PHP logging library. This gives 42 | | you a variety of powerful log handlers / formatters to utilize. 43 | | 44 | | Available Drivers: "single", "daily", "slack", "syslog", 45 | | "errorlog", "monolog", 46 | | "custom", "stack" 47 | | 48 | */ 49 | 50 | 'channels' => [ 51 | 'stack' => [ 52 | 'driver' => 'stack', 53 | 'channels' => ['single'], 54 | 'ignore_exceptions' => false, 55 | ], 56 | 57 | 'single' => [ 58 | 'driver' => 'single', 59 | 'path' => storage_path('logs/laravel.log'), 60 | 'level' => env('LOG_LEVEL', 'debug'), 61 | ], 62 | 63 | 'daily' => [ 64 | 'driver' => 'daily', 65 | 'path' => storage_path('logs/laravel.log'), 66 | 'level' => env('LOG_LEVEL', 'debug'), 67 | 'days' => 14, 68 | ], 69 | 70 | 'slack' => [ 71 | 'driver' => 'slack', 72 | 'url' => env('LOG_SLACK_WEBHOOK_URL'), 73 | 'username' => 'Laravel Log', 74 | 'emoji' => ':boom:', 75 | 'level' => env('LOG_LEVEL', 'critical'), 76 | ], 77 | 78 | 'papertrail' => [ 79 | 'driver' => 'monolog', 80 | 'level' => env('LOG_LEVEL', 'debug'), 81 | 'handler' => SyslogUdpHandler::class, 82 | 'handler_with' => [ 83 | 'host' => env('PAPERTRAIL_URL'), 84 | 'port' => env('PAPERTRAIL_PORT'), 85 | ], 86 | ], 87 | 88 | 'stderr' => [ 89 | 'driver' => 'monolog', 90 | 'level' => env('LOG_LEVEL', 'debug'), 91 | 'handler' => StreamHandler::class, 92 | 'formatter' => env('LOG_STDERR_FORMATTER'), 93 | 'with' => [ 94 | 'stream' => 'php://stderr', 95 | ], 96 | ], 97 | 98 | 'syslog' => [ 99 | 'driver' => 'syslog', 100 | 'level' => env('LOG_LEVEL', 'debug'), 101 | ], 102 | 103 | 'errorlog' => [ 104 | 'driver' => 'errorlog', 105 | 'level' => env('LOG_LEVEL', 'debug'), 106 | ], 107 | 108 | 'null' => [ 109 | 'driver' => 'monolog', 110 | 'handler' => NullHandler::class, 111 | ], 112 | 113 | 'emergency' => [ 114 | 'path' => storage_path('logs/laravel.log'), 115 | ], 116 | ], 117 | 118 | ]; 119 | -------------------------------------------------------------------------------- /config/mail.php: -------------------------------------------------------------------------------- 1 | env('MAIL_MAILER', 'smtp'), 17 | 18 | /* 19 | |-------------------------------------------------------------------------- 20 | | Mailer Configurations 21 | |-------------------------------------------------------------------------- 22 | | 23 | | Here you may configure all of the mailers used by your application plus 24 | | their respective settings. Several examples have been configured for 25 | | you and you are free to add your own as your application requires. 26 | | 27 | | Laravel supports a variety of mail "transport" drivers to be used while 28 | | sending an e-mail. You will specify which one you are using for your 29 | | mailers below. You are free to add additional mailers as required. 30 | | 31 | | Supported: "smtp", "sendmail", "mailgun", "ses", 32 | | "postmark", "log", "array", "failover" 33 | | 34 | */ 35 | 36 | 'mailers' => [ 37 | 'smtp' => [ 38 | 'transport' => 'smtp', 39 | 'host' => env('MAIL_HOST', 'smtp.mailgun.org'), 40 | 'port' => env('MAIL_PORT', 587), 41 | 'encryption' => env('MAIL_ENCRYPTION', 'tls'), 42 | 'username' => env('MAIL_USERNAME'), 43 | 'password' => env('MAIL_PASSWORD'), 44 | 'timeout' => null, 45 | 'auth_mode' => null, 46 | ], 47 | 48 | 'ses' => [ 49 | 'transport' => 'ses', 50 | ], 51 | 52 | 'mailgun' => [ 53 | 'transport' => 'mailgun', 54 | ], 55 | 56 | 'postmark' => [ 57 | 'transport' => 'postmark', 58 | ], 59 | 60 | 'sendmail' => [ 61 | 'transport' => 'sendmail', 62 | 'path' => env('MAIL_SENDMAIL_PATH', '/usr/sbin/sendmail -t -i'), 63 | ], 64 | 65 | 'log' => [ 66 | 'transport' => 'log', 67 | 'channel' => env('MAIL_LOG_CHANNEL'), 68 | ], 69 | 70 | 'array' => [ 71 | 'transport' => 'array', 72 | ], 73 | 74 | 'failover' => [ 75 | 'transport' => 'failover', 76 | 'mailers' => [ 77 | 'smtp', 78 | 'log', 79 | ], 80 | ], 81 | ], 82 | 83 | /* 84 | |-------------------------------------------------------------------------- 85 | | Global "From" Address 86 | |-------------------------------------------------------------------------- 87 | | 88 | | You may wish for all e-mails sent by your application to be sent from 89 | | the same address. Here, you may specify a name and address that is 90 | | used globally for all e-mails that are sent by your application. 91 | | 92 | */ 93 | 94 | 'from' => [ 95 | 'address' => env('MAIL_FROM_ADDRESS', 'hello@example.com'), 96 | 'name' => env('MAIL_FROM_NAME', 'Example'), 97 | ], 98 | 99 | /* 100 | |-------------------------------------------------------------------------- 101 | | Markdown Mail Settings 102 | |-------------------------------------------------------------------------- 103 | | 104 | | If you are using Markdown based email rendering, you may configure your 105 | | theme and component paths here, allowing you to customize the design 106 | | of the emails. Or, you may simply stick with the Laravel defaults! 107 | | 108 | */ 109 | 110 | 'markdown' => [ 111 | 'theme' => 'default', 112 | 113 | 'paths' => [ 114 | resource_path('views/vendor/mail'), 115 | ], 116 | ], 117 | 118 | ]; 119 | -------------------------------------------------------------------------------- /config/auth.php: -------------------------------------------------------------------------------- 1 | [ 17 | 'guard' => 'web', 18 | 'passwords' => 'users', 19 | ], 20 | 21 | /* 22 | |-------------------------------------------------------------------------- 23 | | Authentication Guards 24 | |-------------------------------------------------------------------------- 25 | | 26 | | Next, you may define every authentication guard for your application. 27 | | Of course, a great default configuration has been defined for you 28 | | here which uses session storage and the Eloquent user provider. 29 | | 30 | | All authentication drivers have a user provider. This defines how the 31 | | users are actually retrieved out of your database or other storage 32 | | mechanisms used by this application to persist your user's data. 33 | | 34 | | Supported: "session" 35 | | 36 | */ 37 | 38 | 'guards' => [ 39 | 'web' => [ 40 | 'driver' => 'session', 41 | 'provider' => 'users', 42 | ], 43 | ], 44 | 45 | /* 46 | |-------------------------------------------------------------------------- 47 | | User Providers 48 | |-------------------------------------------------------------------------- 49 | | 50 | | All authentication drivers have a user provider. This defines how the 51 | | users are actually retrieved out of your database or other storage 52 | | mechanisms used by this application to persist your user's data. 53 | | 54 | | If you have multiple user tables or models you may configure multiple 55 | | sources which represent each model / table. These sources may then 56 | | be assigned to any extra authentication guards you have defined. 57 | | 58 | | Supported: "database", "eloquent" 59 | | 60 | */ 61 | 62 | 'providers' => [ 63 | 'users' => [ 64 | 'driver' => 'eloquent', 65 | 'model' => App\Models\User::class, 66 | ], 67 | 68 | // 'users' => [ 69 | // 'driver' => 'database', 70 | // 'table' => 'users', 71 | // ], 72 | ], 73 | 74 | /* 75 | |-------------------------------------------------------------------------- 76 | | Resetting Passwords 77 | |-------------------------------------------------------------------------- 78 | | 79 | | You may specify multiple password reset configurations if you have more 80 | | than one user table or model in the application and you want to have 81 | | separate password reset settings based on the specific user types. 82 | | 83 | | The expire time is the number of minutes that the reset token should be 84 | | considered valid. This security feature keeps tokens short-lived so 85 | | they have less time to be guessed. You may change this as needed. 86 | | 87 | */ 88 | 89 | 'passwords' => [ 90 | 'users' => [ 91 | 'provider' => 'users', 92 | 'table' => 'password_resets', 93 | 'expire' => 60, 94 | 'throttle' => 60, 95 | ], 96 | ], 97 | 98 | /* 99 | |-------------------------------------------------------------------------- 100 | | Password Confirmation Timeout 101 | |-------------------------------------------------------------------------- 102 | | 103 | | Here you may define the amount of seconds before a password confirmation 104 | | times out and the user is prompted to re-enter their password via the 105 | | confirmation screen. By default, the timeout lasts for three hours. 106 | | 107 | */ 108 | 109 | 'password_timeout' => 10800, 110 | 111 | ]; 112 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |

2 | 3 |

4 | Build Status 5 | Total Downloads 6 | Latest Stable Version 7 | License 8 |

9 | 10 | ## About Laravel 11 | 12 | Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as: 13 | 14 | - [Simple, fast routing engine](https://laravel.com/docs/routing). 15 | - [Powerful dependency injection container](https://laravel.com/docs/container). 16 | - Multiple back-ends for [session](https://laravel.com/docs/session) and [cache](https://laravel.com/docs/cache) storage. 17 | - Expressive, intuitive [database ORM](https://laravel.com/docs/eloquent). 18 | - Database agnostic [schema migrations](https://laravel.com/docs/migrations). 19 | - [Robust background job processing](https://laravel.com/docs/queues). 20 | - [Real-time event broadcasting](https://laravel.com/docs/broadcasting). 21 | 22 | Laravel is accessible, powerful, and provides tools required for large, robust applications. 23 | 24 | ## Learning Laravel 25 | 26 | Laravel has the most extensive and thorough [documentation](https://laravel.com/docs) and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework. 27 | 28 | If you don't feel like reading, [Laracasts](https://laracasts.com) can help. Laracasts contains over 1500 video tutorials on a range of topics including Laravel, modern PHP, unit testing, and JavaScript. Boost your skills by digging into our comprehensive video library. 29 | 30 | ## Laravel Sponsors 31 | 32 | We would like to extend our thanks to the following sponsors for funding Laravel development. If you are interested in becoming a sponsor, please visit the Laravel [Patreon page](https://patreon.com/taylorotwell). 33 | 34 | ### Premium Partners 35 | 36 | - **[Vehikl](https://vehikl.com/)** 37 | - **[Tighten Co.](https://tighten.co)** 38 | - **[Kirschbaum Development Group](https://kirschbaumdevelopment.com)** 39 | - **[64 Robots](https://64robots.com)** 40 | - **[Cubet Techno Labs](https://cubettech.com)** 41 | - **[Cyber-Duck](https://cyber-duck.co.uk)** 42 | - **[Many](https://www.many.co.uk)** 43 | - **[Webdock, Fast VPS Hosting](https://www.webdock.io/en)** 44 | - **[DevSquad](https://devsquad.com)** 45 | - **[Curotec](https://www.curotec.com/services/technologies/laravel/)** 46 | - **[OP.GG](https://op.gg)** 47 | - **[CMS Max](https://www.cmsmax.com/)** 48 | - **[WebReinvent](https://webreinvent.com/?utm_source=laravel&utm_medium=github&utm_campaign=patreon-sponsors)** 49 | - **[Lendio](https://lendio.com)** 50 | - **[Romega Software](https://romegasoftware.com)** 51 | 52 | ## Contributing 53 | 54 | Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the [Laravel documentation](https://laravel.com/docs/contributions). 55 | 56 | ## Code of Conduct 57 | 58 | In order to ensure that the Laravel community is welcoming to all, please review and abide by the [Code of Conduct](https://laravel.com/docs/contributions#code-of-conduct). 59 | 60 | ## Security Vulnerabilities 61 | 62 | If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via [taylor@laravel.com](mailto:taylor@laravel.com). All security vulnerabilities will be promptly addressed. 63 | 64 | ## License 65 | 66 | The Laravel framework is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT). 67 | -------------------------------------------------------------------------------- /config/database.php: -------------------------------------------------------------------------------- 1 | env('DB_CONNECTION', 'mysql'), 19 | 20 | /* 21 | |-------------------------------------------------------------------------- 22 | | Database Connections 23 | |-------------------------------------------------------------------------- 24 | | 25 | | Here are each of the database connections setup for your application. 26 | | Of course, examples of configuring each database platform that is 27 | | supported by Laravel is shown below to make development simple. 28 | | 29 | | 30 | | All database work in Laravel is done through the PHP PDO facilities 31 | | so make sure you have the driver for your particular database of 32 | | choice installed on your machine before you begin development. 33 | | 34 | */ 35 | 36 | 'connections' => [ 37 | 38 | 'sqlite' => [ 39 | 'driver' => 'sqlite', 40 | 'url' => env('DATABASE_URL'), 41 | 'database' => env('DB_DATABASE', database_path('database.sqlite')), 42 | 'prefix' => '', 43 | 'foreign_key_constraints' => env('DB_FOREIGN_KEYS', true), 44 | ], 45 | 46 | 'mysql' => [ 47 | 'driver' => 'mysql', 48 | 'url' => env('DATABASE_URL'), 49 | 'host' => env('DB_HOST', '127.0.0.1'), 50 | 'port' => env('DB_PORT', '3306'), 51 | 'database' => env('DB_DATABASE', 'forge'), 52 | 'username' => env('DB_USERNAME', 'forge'), 53 | 'password' => env('DB_PASSWORD', ''), 54 | 'unix_socket' => env('DB_SOCKET', ''), 55 | 'charset' => 'utf8mb4', 56 | 'collation' => 'utf8mb4_unicode_ci', 57 | 'prefix' => '', 58 | 'prefix_indexes' => true, 59 | 'strict' => true, 60 | 'engine' => null, 61 | 'options' => extension_loaded('pdo_mysql') ? array_filter([ 62 | PDO::MYSQL_ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'), 63 | ]) : [], 64 | ], 65 | 66 | 'pgsql' => [ 67 | 'driver' => 'pgsql', 68 | 'url' => env('DATABASE_URL'), 69 | 'host' => env('DB_HOST', '127.0.0.1'), 70 | 'port' => env('DB_PORT', '5432'), 71 | 'database' => env('DB_DATABASE', 'forge'), 72 | 'username' => env('DB_USERNAME', 'forge'), 73 | 'password' => env('DB_PASSWORD', ''), 74 | 'charset' => 'utf8', 75 | 'prefix' => '', 76 | 'prefix_indexes' => true, 77 | 'schema' => 'public', 78 | 'sslmode' => 'prefer', 79 | ], 80 | 81 | 'sqlsrv' => [ 82 | 'driver' => 'sqlsrv', 83 | 'url' => env('DATABASE_URL'), 84 | 'host' => env('DB_HOST', 'localhost'), 85 | 'port' => env('DB_PORT', '1433'), 86 | 'database' => env('DB_DATABASE', 'forge'), 87 | 'username' => env('DB_USERNAME', 'forge'), 88 | 'password' => env('DB_PASSWORD', ''), 89 | 'charset' => 'utf8', 90 | 'prefix' => '', 91 | 'prefix_indexes' => true, 92 | ], 93 | 94 | ], 95 | 96 | /* 97 | |-------------------------------------------------------------------------- 98 | | Migration Repository Table 99 | |-------------------------------------------------------------------------- 100 | | 101 | | This table keeps track of all the migrations that have already run for 102 | | your application. Using this information, we can determine which of 103 | | the migrations on disk haven't actually been run in the database. 104 | | 105 | */ 106 | 107 | 'migrations' => 'migrations', 108 | 109 | /* 110 | |-------------------------------------------------------------------------- 111 | | Redis Databases 112 | |-------------------------------------------------------------------------- 113 | | 114 | | Redis is an open source, fast, and advanced key-value store that also 115 | | provides a richer body of commands than a typical key-value system 116 | | such as APC or Memcached. Laravel makes it easy to dig right in. 117 | | 118 | */ 119 | 120 | 'redis' => [ 121 | 122 | 'client' => env('REDIS_CLIENT', 'phpredis'), 123 | 124 | 'options' => [ 125 | 'cluster' => env('REDIS_CLUSTER', 'redis'), 126 | 'prefix' => env('REDIS_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_').'_database_'), 127 | ], 128 | 129 | 'default' => [ 130 | 'url' => env('REDIS_URL'), 131 | 'host' => env('REDIS_HOST', '127.0.0.1'), 132 | 'password' => env('REDIS_PASSWORD', null), 133 | 'port' => env('REDIS_PORT', '6379'), 134 | 'database' => env('REDIS_DB', '0'), 135 | ], 136 | 137 | 'cache' => [ 138 | 'url' => env('REDIS_URL'), 139 | 'host' => env('REDIS_HOST', '127.0.0.1'), 140 | 'password' => env('REDIS_PASSWORD', null), 141 | 'port' => env('REDIS_PORT', '6379'), 142 | 'database' => env('REDIS_CACHE_DB', '1'), 143 | ], 144 | 145 | ], 146 | 147 | ]; 148 | -------------------------------------------------------------------------------- /public/js/resources_js_Pages_Home_vue.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | (self["webpackChunk"] = self["webpackChunk"] || []).push([["resources_js_Pages_Home_vue"],{ 3 | 4 | /***/ "./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./resources/js/Pages/Home.vue?vue&type=template&id=6a63e488": 5 | /*!*********************************************************************************************************************************************************************************************************************************************************************!*\ 6 | !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./resources/js/Pages/Home.vue?vue&type=template&id=6a63e488 ***! 7 | \*********************************************************************************************************************************************************************************************************************************************************************/ 8 | /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 9 | 10 | __webpack_require__.r(__webpack_exports__); 11 | /* harmony export */ __webpack_require__.d(__webpack_exports__, { 12 | /* harmony export */ "render": () => (/* binding */ render) 13 | /* harmony export */ }); 14 | /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ "./node_modules/vue/dist/vue.esm-bundler.js"); 15 | 16 | var _hoisted_1 = { 17 | "class": "p-6" 18 | }; 19 | var _hoisted_2 = { 20 | "class": "flex space-x-4 mb-4" 21 | }; 22 | 23 | var _hoisted_3 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.createTextVNode)("Homepage"); 24 | 25 | var _hoisted_4 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.createTextVNode)("About"); 26 | 27 | var _hoisted_5 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.createTextVNode)("Contact"); 28 | 29 | function render(_ctx, _cache) { 30 | var _component_Head = (0,vue__WEBPACK_IMPORTED_MODULE_0__.resolveComponent)("Head"); 31 | 32 | var _component_Link = (0,vue__WEBPACK_IMPORTED_MODULE_0__.resolveComponent)("Link"); 33 | 34 | return (0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(vue__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)(_component_Head, null, { 35 | "default": (0,vue__WEBPACK_IMPORTED_MODULE_0__.withCtx)(function () { 36 | return [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)("title", null, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)(_ctx.$page.props.title) + " - My awesome app", 1 37 | /* TEXT */ 38 | )]; 39 | }), 40 | _: 1 41 | /* STABLE */ 42 | 43 | }), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)("div", _hoisted_1, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)("div", _hoisted_2, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)(_component_Link, { 44 | href: _ctx.route('homepage'), 45 | "class": "text-gray-700 bg-gray-200 hover:bg-gray-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium" 46 | }, { 47 | "default": (0,vue__WEBPACK_IMPORTED_MODULE_0__.withCtx)(function () { 48 | return [_hoisted_3]; 49 | }), 50 | _: 1 51 | /* STABLE */ 52 | 53 | }, 8 54 | /* PROPS */ 55 | , ["href"]), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)(_component_Link, { 56 | href: _ctx.route('about'), 57 | "class": "text-gray-700 bg-gray-200 hover:bg-gray-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium" 58 | }, { 59 | "default": (0,vue__WEBPACK_IMPORTED_MODULE_0__.withCtx)(function () { 60 | return [_hoisted_4]; 61 | }), 62 | _: 1 63 | /* STABLE */ 64 | 65 | }, 8 66 | /* PROPS */ 67 | , ["href"]), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)(_component_Link, { 68 | href: _ctx.route('contact'), 69 | "class": "text-gray-700 bg-gray-200 hover:bg-gray-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium" 70 | }, { 71 | "default": (0,vue__WEBPACK_IMPORTED_MODULE_0__.withCtx)(function () { 72 | return [_hoisted_5]; 73 | }), 74 | _: 1 75 | /* STABLE */ 76 | 77 | }, 8 78 | /* PROPS */ 79 | , ["href"])]), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)("h1", null, "This is: " + (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)(_ctx.$page.props.title), 1 80 | /* TEXT */ 81 | )])], 64 82 | /* STABLE_FRAGMENT */ 83 | ); 84 | } 85 | 86 | /***/ }), 87 | 88 | /***/ "./resources/js/Pages/Home.vue": 89 | /*!*************************************!*\ 90 | !*** ./resources/js/Pages/Home.vue ***! 91 | \*************************************/ 92 | /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 93 | 94 | __webpack_require__.r(__webpack_exports__); 95 | /* harmony export */ __webpack_require__.d(__webpack_exports__, { 96 | /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 97 | /* harmony export */ }); 98 | /* harmony import */ var _Home_vue_vue_type_template_id_6a63e488__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Home.vue?vue&type=template&id=6a63e488 */ "./resources/js/Pages/Home.vue?vue&type=template&id=6a63e488"); 99 | /* harmony import */ var _home_george_dev_awesome_app_node_modules_vue_loader_dist_exportHelper_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/vue-loader/dist/exportHelper.js */ "./node_modules/vue-loader/dist/exportHelper.js"); 100 | 101 | const script = {} 102 | 103 | ; 104 | const __exports__ = /*#__PURE__*/(0,_home_george_dev_awesome_app_node_modules_vue_loader_dist_exportHelper_js__WEBPACK_IMPORTED_MODULE_1__["default"])(script, [['render',_Home_vue_vue_type_template_id_6a63e488__WEBPACK_IMPORTED_MODULE_0__.render],['__file',"resources/js/Pages/Home.vue"]]) 105 | /* hot reload */ 106 | if (false) {} 107 | 108 | 109 | /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (__exports__); 110 | 111 | /***/ }), 112 | 113 | /***/ "./resources/js/Pages/Home.vue?vue&type=template&id=6a63e488": 114 | /*!*******************************************************************!*\ 115 | !*** ./resources/js/Pages/Home.vue?vue&type=template&id=6a63e488 ***! 116 | \*******************************************************************/ 117 | /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 118 | 119 | __webpack_require__.r(__webpack_exports__); 120 | /* harmony export */ __webpack_require__.d(__webpack_exports__, { 121 | /* harmony export */ "render": () => (/* reexport safe */ _node_modules_babel_loader_lib_index_js_clonedRuleSet_5_use_0_node_modules_vue_loader_dist_templateLoader_js_ruleSet_1_rules_2_node_modules_vue_loader_dist_index_js_ruleSet_0_use_0_Home_vue_vue_type_template_id_6a63e488__WEBPACK_IMPORTED_MODULE_0__.render) 122 | /* harmony export */ }); 123 | /* harmony import */ var _node_modules_babel_loader_lib_index_js_clonedRuleSet_5_use_0_node_modules_vue_loader_dist_templateLoader_js_ruleSet_1_rules_2_node_modules_vue_loader_dist_index_js_ruleSet_0_use_0_Home_vue_vue_type_template_id_6a63e488__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!../../../node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[2]!../../../node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./Home.vue?vue&type=template&id=6a63e488 */ "./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./resources/js/Pages/Home.vue?vue&type=template&id=6a63e488"); 124 | 125 | 126 | /***/ }) 127 | 128 | }]); -------------------------------------------------------------------------------- /public/js/resources_js_Pages_About_vue.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | (self["webpackChunk"] = self["webpackChunk"] || []).push([["resources_js_Pages_About_vue"],{ 3 | 4 | /***/ "./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./resources/js/Pages/About.vue?vue&type=template&id=169e1534": 5 | /*!**********************************************************************************************************************************************************************************************************************************************************************!*\ 6 | !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./resources/js/Pages/About.vue?vue&type=template&id=169e1534 ***! 7 | \**********************************************************************************************************************************************************************************************************************************************************************/ 8 | /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 9 | 10 | __webpack_require__.r(__webpack_exports__); 11 | /* harmony export */ __webpack_require__.d(__webpack_exports__, { 12 | /* harmony export */ "render": () => (/* binding */ render) 13 | /* harmony export */ }); 14 | /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ "./node_modules/vue/dist/vue.esm-bundler.js"); 15 | 16 | var _hoisted_1 = { 17 | "class": "p-6" 18 | }; 19 | var _hoisted_2 = { 20 | "class": "flex space-x-4 mb-4" 21 | }; 22 | 23 | var _hoisted_3 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.createTextVNode)("Homepage"); 24 | 25 | var _hoisted_4 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.createTextVNode)("About"); 26 | 27 | var _hoisted_5 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.createTextVNode)("Contact"); 28 | 29 | function render(_ctx, _cache) { 30 | var _component_Head = (0,vue__WEBPACK_IMPORTED_MODULE_0__.resolveComponent)("Head"); 31 | 32 | var _component_Link = (0,vue__WEBPACK_IMPORTED_MODULE_0__.resolveComponent)("Link"); 33 | 34 | return (0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(vue__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)(_component_Head, null, { 35 | "default": (0,vue__WEBPACK_IMPORTED_MODULE_0__.withCtx)(function () { 36 | return [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)("title", null, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)(_ctx.$page.props.title) + " - My awesome app", 1 37 | /* TEXT */ 38 | )]; 39 | }), 40 | _: 1 41 | /* STABLE */ 42 | 43 | }), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)("div", _hoisted_1, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)("div", _hoisted_2, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)(_component_Link, { 44 | href: _ctx.route('homepage'), 45 | "class": "text-gray-700 bg-gray-200 hover:bg-gray-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium" 46 | }, { 47 | "default": (0,vue__WEBPACK_IMPORTED_MODULE_0__.withCtx)(function () { 48 | return [_hoisted_3]; 49 | }), 50 | _: 1 51 | /* STABLE */ 52 | 53 | }, 8 54 | /* PROPS */ 55 | , ["href"]), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)(_component_Link, { 56 | href: _ctx.route('about'), 57 | "class": "text-gray-700 bg-gray-200 hover:bg-gray-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium" 58 | }, { 59 | "default": (0,vue__WEBPACK_IMPORTED_MODULE_0__.withCtx)(function () { 60 | return [_hoisted_4]; 61 | }), 62 | _: 1 63 | /* STABLE */ 64 | 65 | }, 8 66 | /* PROPS */ 67 | , ["href"]), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)(_component_Link, { 68 | href: _ctx.route('contact'), 69 | "class": "text-gray-700 bg-gray-200 hover:bg-gray-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium" 70 | }, { 71 | "default": (0,vue__WEBPACK_IMPORTED_MODULE_0__.withCtx)(function () { 72 | return [_hoisted_5]; 73 | }), 74 | _: 1 75 | /* STABLE */ 76 | 77 | }, 8 78 | /* PROPS */ 79 | , ["href"])]), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)("h1", null, "This is: " + (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)(_ctx.$page.props.title), 1 80 | /* TEXT */ 81 | )])], 64 82 | /* STABLE_FRAGMENT */ 83 | ); 84 | } 85 | 86 | /***/ }), 87 | 88 | /***/ "./resources/js/Pages/About.vue": 89 | /*!**************************************!*\ 90 | !*** ./resources/js/Pages/About.vue ***! 91 | \**************************************/ 92 | /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 93 | 94 | __webpack_require__.r(__webpack_exports__); 95 | /* harmony export */ __webpack_require__.d(__webpack_exports__, { 96 | /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 97 | /* harmony export */ }); 98 | /* harmony import */ var _About_vue_vue_type_template_id_169e1534__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./About.vue?vue&type=template&id=169e1534 */ "./resources/js/Pages/About.vue?vue&type=template&id=169e1534"); 99 | /* harmony import */ var _home_george_dev_awesome_app_node_modules_vue_loader_dist_exportHelper_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/vue-loader/dist/exportHelper.js */ "./node_modules/vue-loader/dist/exportHelper.js"); 100 | 101 | const script = {} 102 | 103 | ; 104 | const __exports__ = /*#__PURE__*/(0,_home_george_dev_awesome_app_node_modules_vue_loader_dist_exportHelper_js__WEBPACK_IMPORTED_MODULE_1__["default"])(script, [['render',_About_vue_vue_type_template_id_169e1534__WEBPACK_IMPORTED_MODULE_0__.render],['__file',"resources/js/Pages/About.vue"]]) 105 | /* hot reload */ 106 | if (false) {} 107 | 108 | 109 | /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (__exports__); 110 | 111 | /***/ }), 112 | 113 | /***/ "./resources/js/Pages/About.vue?vue&type=template&id=169e1534": 114 | /*!********************************************************************!*\ 115 | !*** ./resources/js/Pages/About.vue?vue&type=template&id=169e1534 ***! 116 | \********************************************************************/ 117 | /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 118 | 119 | __webpack_require__.r(__webpack_exports__); 120 | /* harmony export */ __webpack_require__.d(__webpack_exports__, { 121 | /* harmony export */ "render": () => (/* reexport safe */ _node_modules_babel_loader_lib_index_js_clonedRuleSet_5_use_0_node_modules_vue_loader_dist_templateLoader_js_ruleSet_1_rules_2_node_modules_vue_loader_dist_index_js_ruleSet_0_use_0_About_vue_vue_type_template_id_169e1534__WEBPACK_IMPORTED_MODULE_0__.render) 122 | /* harmony export */ }); 123 | /* harmony import */ var _node_modules_babel_loader_lib_index_js_clonedRuleSet_5_use_0_node_modules_vue_loader_dist_templateLoader_js_ruleSet_1_rules_2_node_modules_vue_loader_dist_index_js_ruleSet_0_use_0_About_vue_vue_type_template_id_169e1534__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!../../../node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[2]!../../../node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./About.vue?vue&type=template&id=169e1534 */ "./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./resources/js/Pages/About.vue?vue&type=template&id=169e1534"); 124 | 125 | 126 | /***/ }) 127 | 128 | }]); -------------------------------------------------------------------------------- /public/js/resources_js_Pages_Contact_vue.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | (self["webpackChunk"] = self["webpackChunk"] || []).push([["resources_js_Pages_Contact_vue"],{ 3 | 4 | /***/ "./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./resources/js/Pages/Contact.vue?vue&type=template&id=2c2b26f2": 5 | /*!************************************************************************************************************************************************************************************************************************************************************************!*\ 6 | !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./resources/js/Pages/Contact.vue?vue&type=template&id=2c2b26f2 ***! 7 | \************************************************************************************************************************************************************************************************************************************************************************/ 8 | /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 9 | 10 | __webpack_require__.r(__webpack_exports__); 11 | /* harmony export */ __webpack_require__.d(__webpack_exports__, { 12 | /* harmony export */ "render": () => (/* binding */ render) 13 | /* harmony export */ }); 14 | /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ "./node_modules/vue/dist/vue.esm-bundler.js"); 15 | 16 | var _hoisted_1 = { 17 | "class": "p-6" 18 | }; 19 | var _hoisted_2 = { 20 | "class": "flex space-x-4 mb-4" 21 | }; 22 | 23 | var _hoisted_3 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.createTextVNode)("Homepage"); 24 | 25 | var _hoisted_4 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.createTextVNode)("About"); 26 | 27 | var _hoisted_5 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.createTextVNode)("Contact"); 28 | 29 | function render(_ctx, _cache) { 30 | var _component_Head = (0,vue__WEBPACK_IMPORTED_MODULE_0__.resolveComponent)("Head"); 31 | 32 | var _component_Link = (0,vue__WEBPACK_IMPORTED_MODULE_0__.resolveComponent)("Link"); 33 | 34 | return (0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(vue__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)(_component_Head, null, { 35 | "default": (0,vue__WEBPACK_IMPORTED_MODULE_0__.withCtx)(function () { 36 | return [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)("title", null, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)(_ctx.$page.props.title) + " - My awesome app", 1 37 | /* TEXT */ 38 | )]; 39 | }), 40 | _: 1 41 | /* STABLE */ 42 | 43 | }), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)("div", _hoisted_1, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)("div", _hoisted_2, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)(_component_Link, { 44 | href: _ctx.route('homepage'), 45 | "class": "text-gray-700 bg-gray-200 hover:bg-gray-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium" 46 | }, { 47 | "default": (0,vue__WEBPACK_IMPORTED_MODULE_0__.withCtx)(function () { 48 | return [_hoisted_3]; 49 | }), 50 | _: 1 51 | /* STABLE */ 52 | 53 | }, 8 54 | /* PROPS */ 55 | , ["href"]), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)(_component_Link, { 56 | href: _ctx.route('about'), 57 | "class": "text-gray-700 bg-gray-200 hover:bg-gray-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium" 58 | }, { 59 | "default": (0,vue__WEBPACK_IMPORTED_MODULE_0__.withCtx)(function () { 60 | return [_hoisted_4]; 61 | }), 62 | _: 1 63 | /* STABLE */ 64 | 65 | }, 8 66 | /* PROPS */ 67 | , ["href"]), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)(_component_Link, { 68 | href: _ctx.route('contact'), 69 | "class": "text-gray-700 bg-gray-200 hover:bg-gray-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium" 70 | }, { 71 | "default": (0,vue__WEBPACK_IMPORTED_MODULE_0__.withCtx)(function () { 72 | return [_hoisted_5]; 73 | }), 74 | _: 1 75 | /* STABLE */ 76 | 77 | }, 8 78 | /* PROPS */ 79 | , ["href"])]), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)("h1", null, "This is: " + (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)(_ctx.$page.props.title), 1 80 | /* TEXT */ 81 | )])], 64 82 | /* STABLE_FRAGMENT */ 83 | ); 84 | } 85 | 86 | /***/ }), 87 | 88 | /***/ "./resources/js/Pages/Contact.vue": 89 | /*!****************************************!*\ 90 | !*** ./resources/js/Pages/Contact.vue ***! 91 | \****************************************/ 92 | /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 93 | 94 | __webpack_require__.r(__webpack_exports__); 95 | /* harmony export */ __webpack_require__.d(__webpack_exports__, { 96 | /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 97 | /* harmony export */ }); 98 | /* harmony import */ var _Contact_vue_vue_type_template_id_2c2b26f2__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Contact.vue?vue&type=template&id=2c2b26f2 */ "./resources/js/Pages/Contact.vue?vue&type=template&id=2c2b26f2"); 99 | /* harmony import */ var _home_george_dev_awesome_app_node_modules_vue_loader_dist_exportHelper_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/vue-loader/dist/exportHelper.js */ "./node_modules/vue-loader/dist/exportHelper.js"); 100 | 101 | const script = {} 102 | 103 | ; 104 | const __exports__ = /*#__PURE__*/(0,_home_george_dev_awesome_app_node_modules_vue_loader_dist_exportHelper_js__WEBPACK_IMPORTED_MODULE_1__["default"])(script, [['render',_Contact_vue_vue_type_template_id_2c2b26f2__WEBPACK_IMPORTED_MODULE_0__.render],['__file',"resources/js/Pages/Contact.vue"]]) 105 | /* hot reload */ 106 | if (false) {} 107 | 108 | 109 | /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (__exports__); 110 | 111 | /***/ }), 112 | 113 | /***/ "./resources/js/Pages/Contact.vue?vue&type=template&id=2c2b26f2": 114 | /*!**********************************************************************!*\ 115 | !*** ./resources/js/Pages/Contact.vue?vue&type=template&id=2c2b26f2 ***! 116 | \**********************************************************************/ 117 | /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 118 | 119 | __webpack_require__.r(__webpack_exports__); 120 | /* harmony export */ __webpack_require__.d(__webpack_exports__, { 121 | /* harmony export */ "render": () => (/* reexport safe */ _node_modules_babel_loader_lib_index_js_clonedRuleSet_5_use_0_node_modules_vue_loader_dist_templateLoader_js_ruleSet_1_rules_2_node_modules_vue_loader_dist_index_js_ruleSet_0_use_0_Contact_vue_vue_type_template_id_2c2b26f2__WEBPACK_IMPORTED_MODULE_0__.render) 122 | /* harmony export */ }); 123 | /* harmony import */ var _node_modules_babel_loader_lib_index_js_clonedRuleSet_5_use_0_node_modules_vue_loader_dist_templateLoader_js_ruleSet_1_rules_2_node_modules_vue_loader_dist_index_js_ruleSet_0_use_0_Contact_vue_vue_type_template_id_2c2b26f2__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!../../../node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[2]!../../../node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./Contact.vue?vue&type=template&id=2c2b26f2 */ "./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./resources/js/Pages/Contact.vue?vue&type=template&id=2c2b26f2"); 124 | 125 | 126 | /***/ }) 127 | 128 | }]); -------------------------------------------------------------------------------- /config/session.php: -------------------------------------------------------------------------------- 1 | env('SESSION_DRIVER', 'file'), 22 | 23 | /* 24 | |-------------------------------------------------------------------------- 25 | | Session Lifetime 26 | |-------------------------------------------------------------------------- 27 | | 28 | | Here you may specify the number of minutes that you wish the session 29 | | to be allowed to remain idle before it expires. If you want them 30 | | to immediately expire on the browser closing, set that option. 31 | | 32 | */ 33 | 34 | 'lifetime' => env('SESSION_LIFETIME', 120), 35 | 36 | 'expire_on_close' => false, 37 | 38 | /* 39 | |-------------------------------------------------------------------------- 40 | | Session Encryption 41 | |-------------------------------------------------------------------------- 42 | | 43 | | This option allows you to easily specify that all of your session data 44 | | should be encrypted before it is stored. All encryption will be run 45 | | automatically by Laravel and you can use the Session like normal. 46 | | 47 | */ 48 | 49 | 'encrypt' => false, 50 | 51 | /* 52 | |-------------------------------------------------------------------------- 53 | | Session File Location 54 | |-------------------------------------------------------------------------- 55 | | 56 | | When using the native session driver, we need a location where session 57 | | files may be stored. A default has been set for you but a different 58 | | location may be specified. This is only needed for file sessions. 59 | | 60 | */ 61 | 62 | 'files' => storage_path('framework/sessions'), 63 | 64 | /* 65 | |-------------------------------------------------------------------------- 66 | | Session Database Connection 67 | |-------------------------------------------------------------------------- 68 | | 69 | | When using the "database" or "redis" session drivers, you may specify a 70 | | connection that should be used to manage these sessions. This should 71 | | correspond to a connection in your database configuration options. 72 | | 73 | */ 74 | 75 | 'connection' => env('SESSION_CONNECTION', null), 76 | 77 | /* 78 | |-------------------------------------------------------------------------- 79 | | Session Database Table 80 | |-------------------------------------------------------------------------- 81 | | 82 | | When using the "database" session driver, you may specify the table we 83 | | should use to manage the sessions. Of course, a sensible default is 84 | | provided for you; however, you are free to change this as needed. 85 | | 86 | */ 87 | 88 | 'table' => 'sessions', 89 | 90 | /* 91 | |-------------------------------------------------------------------------- 92 | | Session Cache Store 93 | |-------------------------------------------------------------------------- 94 | | 95 | | While using one of the framework's cache driven session backends you may 96 | | list a cache store that should be used for these sessions. This value 97 | | must match with one of the application's configured cache "stores". 98 | | 99 | | Affects: "apc", "dynamodb", "memcached", "redis" 100 | | 101 | */ 102 | 103 | 'store' => env('SESSION_STORE', null), 104 | 105 | /* 106 | |-------------------------------------------------------------------------- 107 | | Session Sweeping Lottery 108 | |-------------------------------------------------------------------------- 109 | | 110 | | Some session drivers must manually sweep their storage location to get 111 | | rid of old sessions from storage. Here are the chances that it will 112 | | happen on a given request. By default, the odds are 2 out of 100. 113 | | 114 | */ 115 | 116 | 'lottery' => [2, 100], 117 | 118 | /* 119 | |-------------------------------------------------------------------------- 120 | | Session Cookie Name 121 | |-------------------------------------------------------------------------- 122 | | 123 | | Here you may change the name of the cookie used to identify a session 124 | | instance by ID. The name specified here will get used every time a 125 | | new session cookie is created by the framework for every driver. 126 | | 127 | */ 128 | 129 | 'cookie' => env( 130 | 'SESSION_COOKIE', 131 | Str::slug(env('APP_NAME', 'laravel'), '_').'_session' 132 | ), 133 | 134 | /* 135 | |-------------------------------------------------------------------------- 136 | | Session Cookie Path 137 | |-------------------------------------------------------------------------- 138 | | 139 | | The session cookie path determines the path for which the cookie will 140 | | be regarded as available. Typically, this will be the root path of 141 | | your application but you are free to change this when necessary. 142 | | 143 | */ 144 | 145 | 'path' => '/', 146 | 147 | /* 148 | |-------------------------------------------------------------------------- 149 | | Session Cookie Domain 150 | |-------------------------------------------------------------------------- 151 | | 152 | | Here you may change the domain of the cookie used to identify a session 153 | | in your application. This will determine which domains the cookie is 154 | | available to in your application. A sensible default has been set. 155 | | 156 | */ 157 | 158 | 'domain' => env('SESSION_DOMAIN', null), 159 | 160 | /* 161 | |-------------------------------------------------------------------------- 162 | | HTTPS Only Cookies 163 | |-------------------------------------------------------------------------- 164 | | 165 | | By setting this option to true, session cookies will only be sent back 166 | | to the server if the browser has a HTTPS connection. This will keep 167 | | the cookie from being sent to you when it can't be done securely. 168 | | 169 | */ 170 | 171 | 'secure' => env('SESSION_SECURE_COOKIE'), 172 | 173 | /* 174 | |-------------------------------------------------------------------------- 175 | | HTTP Access Only 176 | |-------------------------------------------------------------------------- 177 | | 178 | | Setting this value to true will prevent JavaScript from accessing the 179 | | value of the cookie and the cookie will only be accessible through 180 | | the HTTP protocol. You are free to modify this option if needed. 181 | | 182 | */ 183 | 184 | 'http_only' => true, 185 | 186 | /* 187 | |-------------------------------------------------------------------------- 188 | | Same-Site Cookies 189 | |-------------------------------------------------------------------------- 190 | | 191 | | This option determines how your cookies behave when cross-site requests 192 | | take place, and can be used to mitigate CSRF attacks. By default, we 193 | | will set this value to "lax" since this is a secure default value. 194 | | 195 | | Supported: "lax", "strict", "none", null 196 | | 197 | */ 198 | 199 | 'same_site' => 'lax', 200 | 201 | ]; 202 | -------------------------------------------------------------------------------- /resources/lang/en/validation.php: -------------------------------------------------------------------------------- 1 | 'The :attribute must be accepted.', 17 | 'accepted_if' => 'The :attribute must be accepted when :other is :value.', 18 | 'active_url' => 'The :attribute is not a valid URL.', 19 | 'after' => 'The :attribute must be a date after :date.', 20 | 'after_or_equal' => 'The :attribute must be a date after or equal to :date.', 21 | 'alpha' => 'The :attribute must only contain letters.', 22 | 'alpha_dash' => 'The :attribute must only contain letters, numbers, dashes and underscores.', 23 | 'alpha_num' => 'The :attribute must only contain letters and numbers.', 24 | 'array' => 'The :attribute must be an array.', 25 | 'before' => 'The :attribute must be a date before :date.', 26 | 'before_or_equal' => 'The :attribute must be a date before or equal to :date.', 27 | 'between' => [ 28 | 'numeric' => 'The :attribute must be between :min and :max.', 29 | 'file' => 'The :attribute must be between :min and :max kilobytes.', 30 | 'string' => 'The :attribute must be between :min and :max characters.', 31 | 'array' => 'The :attribute must have between :min and :max items.', 32 | ], 33 | 'boolean' => 'The :attribute field must be true or false.', 34 | 'confirmed' => 'The :attribute confirmation does not match.', 35 | 'current_password' => 'The password is incorrect.', 36 | 'date' => 'The :attribute is not a valid date.', 37 | 'date_equals' => 'The :attribute must be a date equal to :date.', 38 | 'date_format' => 'The :attribute does not match the format :format.', 39 | 'declined' => 'The :attribute must be declined.', 40 | 'declined_if' => 'The :attribute must be declined when :other is :value.', 41 | 'different' => 'The :attribute and :other must be different.', 42 | 'digits' => 'The :attribute must be :digits digits.', 43 | 'digits_between' => 'The :attribute must be between :min and :max digits.', 44 | 'dimensions' => 'The :attribute has invalid image dimensions.', 45 | 'distinct' => 'The :attribute field has a duplicate value.', 46 | 'email' => 'The :attribute must be a valid email address.', 47 | 'ends_with' => 'The :attribute must end with one of the following: :values.', 48 | 'enum' => 'The selected :attribute is invalid.', 49 | 'exists' => 'The selected :attribute is invalid.', 50 | 'file' => 'The :attribute must be a file.', 51 | 'filled' => 'The :attribute field must have a value.', 52 | 'gt' => [ 53 | 'numeric' => 'The :attribute must be greater than :value.', 54 | 'file' => 'The :attribute must be greater than :value kilobytes.', 55 | 'string' => 'The :attribute must be greater than :value characters.', 56 | 'array' => 'The :attribute must have more than :value items.', 57 | ], 58 | 'gte' => [ 59 | 'numeric' => 'The :attribute must be greater than or equal to :value.', 60 | 'file' => 'The :attribute must be greater than or equal to :value kilobytes.', 61 | 'string' => 'The :attribute must be greater than or equal to :value characters.', 62 | 'array' => 'The :attribute must have :value items or more.', 63 | ], 64 | 'image' => 'The :attribute must be an image.', 65 | 'in' => 'The selected :attribute is invalid.', 66 | 'in_array' => 'The :attribute field does not exist in :other.', 67 | 'integer' => 'The :attribute must be an integer.', 68 | 'ip' => 'The :attribute must be a valid IP address.', 69 | 'ipv4' => 'The :attribute must be a valid IPv4 address.', 70 | 'ipv6' => 'The :attribute must be a valid IPv6 address.', 71 | 'mac_address' => 'The :attribute must be a valid MAC address.', 72 | 'json' => 'The :attribute must be a valid JSON string.', 73 | 'lt' => [ 74 | 'numeric' => 'The :attribute must be less than :value.', 75 | 'file' => 'The :attribute must be less than :value kilobytes.', 76 | 'string' => 'The :attribute must be less than :value characters.', 77 | 'array' => 'The :attribute must have less than :value items.', 78 | ], 79 | 'lte' => [ 80 | 'numeric' => 'The :attribute must be less than or equal to :value.', 81 | 'file' => 'The :attribute must be less than or equal to :value kilobytes.', 82 | 'string' => 'The :attribute must be less than or equal to :value characters.', 83 | 'array' => 'The :attribute must not have more than :value items.', 84 | ], 85 | 'max' => [ 86 | 'numeric' => 'The :attribute must not be greater than :max.', 87 | 'file' => 'The :attribute must not be greater than :max kilobytes.', 88 | 'string' => 'The :attribute must not be greater than :max characters.', 89 | 'array' => 'The :attribute must not have more than :max items.', 90 | ], 91 | 'mimes' => 'The :attribute must be a file of type: :values.', 92 | 'mimetypes' => 'The :attribute must be a file of type: :values.', 93 | 'min' => [ 94 | 'numeric' => 'The :attribute must be at least :min.', 95 | 'file' => 'The :attribute must be at least :min kilobytes.', 96 | 'string' => 'The :attribute must be at least :min characters.', 97 | 'array' => 'The :attribute must have at least :min items.', 98 | ], 99 | 'multiple_of' => 'The :attribute must be a multiple of :value.', 100 | 'not_in' => 'The selected :attribute is invalid.', 101 | 'not_regex' => 'The :attribute format is invalid.', 102 | 'numeric' => 'The :attribute must be a number.', 103 | 'password' => 'The password is incorrect.', 104 | 'present' => 'The :attribute field must be present.', 105 | 'prohibited' => 'The :attribute field is prohibited.', 106 | 'prohibited_if' => 'The :attribute field is prohibited when :other is :value.', 107 | 'prohibited_unless' => 'The :attribute field is prohibited unless :other is in :values.', 108 | 'prohibits' => 'The :attribute field prohibits :other from being present.', 109 | 'regex' => 'The :attribute format is invalid.', 110 | 'required' => 'The :attribute field is required.', 111 | 'required_if' => 'The :attribute field is required when :other is :value.', 112 | 'required_unless' => 'The :attribute field is required unless :other is in :values.', 113 | 'required_with' => 'The :attribute field is required when :values is present.', 114 | 'required_with_all' => 'The :attribute field is required when :values are present.', 115 | 'required_without' => 'The :attribute field is required when :values is not present.', 116 | 'required_without_all' => 'The :attribute field is required when none of :values are present.', 117 | 'same' => 'The :attribute and :other must match.', 118 | 'size' => [ 119 | 'numeric' => 'The :attribute must be :size.', 120 | 'file' => 'The :attribute must be :size kilobytes.', 121 | 'string' => 'The :attribute must be :size characters.', 122 | 'array' => 'The :attribute must contain :size items.', 123 | ], 124 | 'starts_with' => 'The :attribute must start with one of the following: :values.', 125 | 'string' => 'The :attribute must be a string.', 126 | 'timezone' => 'The :attribute must be a valid timezone.', 127 | 'unique' => 'The :attribute has already been taken.', 128 | 'uploaded' => 'The :attribute failed to upload.', 129 | 'url' => 'The :attribute must be a valid URL.', 130 | 'uuid' => 'The :attribute must be a valid UUID.', 131 | 132 | /* 133 | |-------------------------------------------------------------------------- 134 | | Custom Validation Language Lines 135 | |-------------------------------------------------------------------------- 136 | | 137 | | Here you may specify custom validation messages for attributes using the 138 | | convention "attribute.rule" to name the lines. This makes it quick to 139 | | specify a specific custom language line for a given attribute rule. 140 | | 141 | */ 142 | 143 | 'custom' => [ 144 | 'attribute-name' => [ 145 | 'rule-name' => 'custom-message', 146 | ], 147 | ], 148 | 149 | /* 150 | |-------------------------------------------------------------------------- 151 | | Custom Validation Attributes 152 | |-------------------------------------------------------------------------- 153 | | 154 | | The following language lines are used to swap our attribute placeholder 155 | | with something more reader friendly such as "E-Mail Address" instead 156 | | of "email". This simply helps us make our message more expressive. 157 | | 158 | */ 159 | 160 | 'attributes' => [], 161 | 162 | ]; 163 | -------------------------------------------------------------------------------- /config/app.php: -------------------------------------------------------------------------------- 1 | env('APP_NAME', 'Laravel'), 17 | 18 | /* 19 | |-------------------------------------------------------------------------- 20 | | Application Environment 21 | |-------------------------------------------------------------------------- 22 | | 23 | | This value determines the "environment" your application is currently 24 | | running in. This may determine how you prefer to configure various 25 | | services the application utilizes. Set this in your ".env" file. 26 | | 27 | */ 28 | 29 | 'env' => env('APP_ENV', 'production'), 30 | 31 | /* 32 | |-------------------------------------------------------------------------- 33 | | Application Debug Mode 34 | |-------------------------------------------------------------------------- 35 | | 36 | | When your application is in debug mode, detailed error messages with 37 | | stack traces will be shown on every error that occurs within your 38 | | application. If disabled, a simple generic error page is shown. 39 | | 40 | */ 41 | 42 | 'debug' => (bool) env('APP_DEBUG', false), 43 | 44 | /* 45 | |-------------------------------------------------------------------------- 46 | | Application URL 47 | |-------------------------------------------------------------------------- 48 | | 49 | | This URL is used by the console to properly generate URLs when using 50 | | the Artisan command line tool. You should set this to the root of 51 | | your application so that it is used when running Artisan tasks. 52 | | 53 | */ 54 | 55 | 'url' => env('APP_URL', 'http://localhost'), 56 | 57 | 'asset_url' => env('ASSET_URL', null), 58 | 59 | /* 60 | |-------------------------------------------------------------------------- 61 | | Application Timezone 62 | |-------------------------------------------------------------------------- 63 | | 64 | | Here you may specify the default timezone for your application, which 65 | | will be used by the PHP date and date-time functions. We have gone 66 | | ahead and set this to a sensible default for you out of the box. 67 | | 68 | */ 69 | 70 | 'timezone' => 'UTC', 71 | 72 | /* 73 | |-------------------------------------------------------------------------- 74 | | Application Locale Configuration 75 | |-------------------------------------------------------------------------- 76 | | 77 | | The application locale determines the default locale that will be used 78 | | by the translation service provider. You are free to set this value 79 | | to any of the locales which will be supported by the application. 80 | | 81 | */ 82 | 83 | 'locale' => 'en', 84 | 85 | /* 86 | |-------------------------------------------------------------------------- 87 | | Application Fallback Locale 88 | |-------------------------------------------------------------------------- 89 | | 90 | | The fallback locale determines the locale to use when the current one 91 | | is not available. You may change the value to correspond to any of 92 | | the language folders that are provided through your application. 93 | | 94 | */ 95 | 96 | 'fallback_locale' => 'en', 97 | 98 | /* 99 | |-------------------------------------------------------------------------- 100 | | Faker Locale 101 | |-------------------------------------------------------------------------- 102 | | 103 | | This locale will be used by the Faker PHP library when generating fake 104 | | data for your database seeds. For example, this will be used to get 105 | | localized telephone numbers, street address information and more. 106 | | 107 | */ 108 | 109 | 'faker_locale' => 'en_US', 110 | 111 | /* 112 | |-------------------------------------------------------------------------- 113 | | Encryption Key 114 | |-------------------------------------------------------------------------- 115 | | 116 | | This key is used by the Illuminate encrypter service and should be set 117 | | to a random, 32 character string, otherwise these encrypted strings 118 | | will not be safe. Please do this before deploying an application! 119 | | 120 | */ 121 | 122 | 'key' => env('APP_KEY'), 123 | 124 | 'cipher' => 'AES-256-CBC', 125 | 126 | /* 127 | |-------------------------------------------------------------------------- 128 | | Autoloaded Service Providers 129 | |-------------------------------------------------------------------------- 130 | | 131 | | The service providers listed here will be automatically loaded on the 132 | | request to your application. Feel free to add your own services to 133 | | this array to grant expanded functionality to your applications. 134 | | 135 | */ 136 | 137 | 'providers' => [ 138 | 139 | /* 140 | * Laravel Framework Service Providers... 141 | */ 142 | Illuminate\Auth\AuthServiceProvider::class, 143 | Illuminate\Broadcasting\BroadcastServiceProvider::class, 144 | Illuminate\Bus\BusServiceProvider::class, 145 | Illuminate\Cache\CacheServiceProvider::class, 146 | Illuminate\Foundation\Providers\ConsoleSupportServiceProvider::class, 147 | Illuminate\Cookie\CookieServiceProvider::class, 148 | Illuminate\Database\DatabaseServiceProvider::class, 149 | Illuminate\Encryption\EncryptionServiceProvider::class, 150 | Illuminate\Filesystem\FilesystemServiceProvider::class, 151 | Illuminate\Foundation\Providers\FoundationServiceProvider::class, 152 | Illuminate\Hashing\HashServiceProvider::class, 153 | Illuminate\Mail\MailServiceProvider::class, 154 | Illuminate\Notifications\NotificationServiceProvider::class, 155 | Illuminate\Pagination\PaginationServiceProvider::class, 156 | Illuminate\Pipeline\PipelineServiceProvider::class, 157 | Illuminate\Queue\QueueServiceProvider::class, 158 | Illuminate\Redis\RedisServiceProvider::class, 159 | Illuminate\Auth\Passwords\PasswordResetServiceProvider::class, 160 | Illuminate\Session\SessionServiceProvider::class, 161 | Illuminate\Translation\TranslationServiceProvider::class, 162 | Illuminate\Validation\ValidationServiceProvider::class, 163 | Illuminate\View\ViewServiceProvider::class, 164 | 165 | /* 166 | * Package Service Providers... 167 | */ 168 | 169 | /* 170 | * Application Service Providers... 171 | */ 172 | App\Providers\AppServiceProvider::class, 173 | App\Providers\AuthServiceProvider::class, 174 | // App\Providers\BroadcastServiceProvider::class, 175 | App\Providers\EventServiceProvider::class, 176 | App\Providers\RouteServiceProvider::class, 177 | 178 | ], 179 | 180 | /* 181 | |-------------------------------------------------------------------------- 182 | | Class Aliases 183 | |-------------------------------------------------------------------------- 184 | | 185 | | This array of class aliases will be registered when this application 186 | | is started. However, feel free to register as many as you wish as 187 | | the aliases are "lazy" loaded so they don't hinder performance. 188 | | 189 | */ 190 | 191 | 'aliases' => [ 192 | 193 | 'App' => Illuminate\Support\Facades\App::class, 194 | 'Arr' => Illuminate\Support\Arr::class, 195 | 'Artisan' => Illuminate\Support\Facades\Artisan::class, 196 | 'Auth' => Illuminate\Support\Facades\Auth::class, 197 | 'Blade' => Illuminate\Support\Facades\Blade::class, 198 | 'Broadcast' => Illuminate\Support\Facades\Broadcast::class, 199 | 'Bus' => Illuminate\Support\Facades\Bus::class, 200 | 'Cache' => Illuminate\Support\Facades\Cache::class, 201 | 'Config' => Illuminate\Support\Facades\Config::class, 202 | 'Cookie' => Illuminate\Support\Facades\Cookie::class, 203 | 'Crypt' => Illuminate\Support\Facades\Crypt::class, 204 | 'Date' => Illuminate\Support\Facades\Date::class, 205 | 'DB' => Illuminate\Support\Facades\DB::class, 206 | 'Eloquent' => Illuminate\Database\Eloquent\Model::class, 207 | 'Event' => Illuminate\Support\Facades\Event::class, 208 | 'File' => Illuminate\Support\Facades\File::class, 209 | 'Gate' => Illuminate\Support\Facades\Gate::class, 210 | 'Hash' => Illuminate\Support\Facades\Hash::class, 211 | 'Http' => Illuminate\Support\Facades\Http::class, 212 | 'Js' => Illuminate\Support\Js::class, 213 | 'Lang' => Illuminate\Support\Facades\Lang::class, 214 | 'Log' => Illuminate\Support\Facades\Log::class, 215 | 'Mail' => Illuminate\Support\Facades\Mail::class, 216 | 'Notification' => Illuminate\Support\Facades\Notification::class, 217 | 'Password' => Illuminate\Support\Facades\Password::class, 218 | 'Queue' => Illuminate\Support\Facades\Queue::class, 219 | 'RateLimiter' => Illuminate\Support\Facades\RateLimiter::class, 220 | 'Redirect' => Illuminate\Support\Facades\Redirect::class, 221 | // 'Redis' => Illuminate\Support\Facades\Redis::class, 222 | 'Request' => Illuminate\Support\Facades\Request::class, 223 | 'Response' => Illuminate\Support\Facades\Response::class, 224 | 'Route' => Illuminate\Support\Facades\Route::class, 225 | 'Schema' => Illuminate\Support\Facades\Schema::class, 226 | 'Session' => Illuminate\Support\Facades\Session::class, 227 | 'Storage' => Illuminate\Support\Facades\Storage::class, 228 | 'Str' => Illuminate\Support\Str::class, 229 | 'URL' => Illuminate\Support\Facades\URL::class, 230 | 'Validator' => Illuminate\Support\Facades\Validator::class, 231 | 'View' => Illuminate\Support\Facades\View::class, 232 | 233 | ], 234 | 235 | ]; 236 | -------------------------------------------------------------------------------- /public/css/app.css: -------------------------------------------------------------------------------- 1 | /* 2 | ! tailwindcss v3.0.19 | MIT License | https://tailwindcss.com 3 | *//* 4 | 1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4) 5 | 2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116) 6 | */ 7 | 8 | *, 9 | ::before, 10 | ::after { 11 | box-sizing: border-box; /* 1 */ 12 | border-width: 0; /* 2 */ 13 | border-style: solid; /* 2 */ 14 | border-color: #e5e7eb; /* 2 */ 15 | } 16 | 17 | ::before, 18 | ::after { 19 | --tw-content: ''; 20 | } 21 | 22 | /* 23 | 1. Use a consistent sensible line-height in all browsers. 24 | 2. Prevent adjustments of font size after orientation changes in iOS. 25 | 3. Use a more readable tab size. 26 | 4. Use the user's configured `sans` font-family by default. 27 | */ 28 | 29 | html { 30 | line-height: 1.5; /* 1 */ 31 | -webkit-text-size-adjust: 100%; /* 2 */ 32 | -moz-tab-size: 4; /* 3 */ 33 | -o-tab-size: 4; 34 | tab-size: 4; /* 3 */ 35 | font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */ 36 | } 37 | 38 | /* 39 | 1. Remove the margin in all browsers. 40 | 2. Inherit line-height from `html` so users can set them as a class directly on the `html` element. 41 | */ 42 | 43 | body { 44 | margin: 0; /* 1 */ 45 | line-height: inherit; /* 2 */ 46 | } 47 | 48 | /* 49 | 1. Add the correct height in Firefox. 50 | 2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655) 51 | 3. Ensure horizontal rules are visible by default. 52 | */ 53 | 54 | hr { 55 | height: 0; /* 1 */ 56 | color: inherit; /* 2 */ 57 | border-top-width: 1px; /* 3 */ 58 | } 59 | 60 | /* 61 | Add the correct text decoration in Chrome, Edge, and Safari. 62 | */ 63 | 64 | abbr:where([title]) { 65 | -webkit-text-decoration: underline dotted; 66 | text-decoration: underline dotted; 67 | } 68 | 69 | /* 70 | Remove the default font size and weight for headings. 71 | */ 72 | 73 | h1, 74 | h2, 75 | h3, 76 | h4, 77 | h5, 78 | h6 { 79 | font-size: inherit; 80 | font-weight: inherit; 81 | } 82 | 83 | /* 84 | Reset links to optimize for opt-in styling instead of opt-out. 85 | */ 86 | 87 | a { 88 | color: inherit; 89 | text-decoration: inherit; 90 | } 91 | 92 | /* 93 | Add the correct font weight in Edge and Safari. 94 | */ 95 | 96 | b, 97 | strong { 98 | font-weight: bolder; 99 | } 100 | 101 | /* 102 | 1. Use the user's configured `mono` font family by default. 103 | 2. Correct the odd `em` font sizing in all browsers. 104 | */ 105 | 106 | code, 107 | kbd, 108 | samp, 109 | pre { 110 | font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */ 111 | font-size: 1em; /* 2 */ 112 | } 113 | 114 | /* 115 | Add the correct font size in all browsers. 116 | */ 117 | 118 | small { 119 | font-size: 80%; 120 | } 121 | 122 | /* 123 | Prevent `sub` and `sup` elements from affecting the line height in all browsers. 124 | */ 125 | 126 | sub, 127 | sup { 128 | font-size: 75%; 129 | line-height: 0; 130 | position: relative; 131 | vertical-align: baseline; 132 | } 133 | 134 | sub { 135 | bottom: -0.25em; 136 | } 137 | 138 | sup { 139 | top: -0.5em; 140 | } 141 | 142 | /* 143 | 1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297) 144 | 2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016) 145 | 3. Remove gaps between table borders by default. 146 | */ 147 | 148 | table { 149 | text-indent: 0; /* 1 */ 150 | border-color: inherit; /* 2 */ 151 | border-collapse: collapse; /* 3 */ 152 | } 153 | 154 | /* 155 | 1. Change the font styles in all browsers. 156 | 2. Remove the margin in Firefox and Safari. 157 | 3. Remove default padding in all browsers. 158 | */ 159 | 160 | button, 161 | input, 162 | optgroup, 163 | select, 164 | textarea { 165 | font-family: inherit; /* 1 */ 166 | font-size: 100%; /* 1 */ 167 | line-height: inherit; /* 1 */ 168 | color: inherit; /* 1 */ 169 | margin: 0; /* 2 */ 170 | padding: 0; /* 3 */ 171 | } 172 | 173 | /* 174 | Remove the inheritance of text transform in Edge and Firefox. 175 | */ 176 | 177 | button, 178 | select { 179 | text-transform: none; 180 | } 181 | 182 | /* 183 | 1. Correct the inability to style clickable types in iOS and Safari. 184 | 2. Remove default button styles. 185 | */ 186 | 187 | button, 188 | [type='button'], 189 | [type='reset'], 190 | [type='submit'] { 191 | -webkit-appearance: button; /* 1 */ 192 | background-color: transparent; /* 2 */ 193 | background-image: none; /* 2 */ 194 | } 195 | 196 | /* 197 | Use the modern Firefox focus style for all focusable elements. 198 | */ 199 | 200 | :-moz-focusring { 201 | outline: auto; 202 | } 203 | 204 | /* 205 | Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737) 206 | */ 207 | 208 | :-moz-ui-invalid { 209 | box-shadow: none; 210 | } 211 | 212 | /* 213 | Add the correct vertical alignment in Chrome and Firefox. 214 | */ 215 | 216 | progress { 217 | vertical-align: baseline; 218 | } 219 | 220 | /* 221 | Correct the cursor style of increment and decrement buttons in Safari. 222 | */ 223 | 224 | ::-webkit-inner-spin-button, 225 | ::-webkit-outer-spin-button { 226 | height: auto; 227 | } 228 | 229 | /* 230 | 1. Correct the odd appearance in Chrome and Safari. 231 | 2. Correct the outline style in Safari. 232 | */ 233 | 234 | [type='search'] { 235 | -webkit-appearance: textfield; /* 1 */ 236 | outline-offset: -2px; /* 2 */ 237 | } 238 | 239 | /* 240 | Remove the inner padding in Chrome and Safari on macOS. 241 | */ 242 | 243 | ::-webkit-search-decoration { 244 | -webkit-appearance: none; 245 | } 246 | 247 | /* 248 | 1. Correct the inability to style clickable types in iOS and Safari. 249 | 2. Change font properties to `inherit` in Safari. 250 | */ 251 | 252 | ::-webkit-file-upload-button { 253 | -webkit-appearance: button; /* 1 */ 254 | font: inherit; /* 2 */ 255 | } 256 | 257 | /* 258 | Add the correct display in Chrome and Safari. 259 | */ 260 | 261 | summary { 262 | display: list-item; 263 | } 264 | 265 | /* 266 | Removes the default spacing and border for appropriate elements. 267 | */ 268 | 269 | blockquote, 270 | dl, 271 | dd, 272 | h1, 273 | h2, 274 | h3, 275 | h4, 276 | h5, 277 | h6, 278 | hr, 279 | figure, 280 | p, 281 | pre { 282 | margin: 0; 283 | } 284 | 285 | fieldset { 286 | margin: 0; 287 | padding: 0; 288 | } 289 | 290 | legend { 291 | padding: 0; 292 | } 293 | 294 | ol, 295 | ul, 296 | menu { 297 | list-style: none; 298 | margin: 0; 299 | padding: 0; 300 | } 301 | 302 | /* 303 | Prevent resizing textareas horizontally by default. 304 | */ 305 | 306 | textarea { 307 | resize: vertical; 308 | } 309 | 310 | /* 311 | 1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300) 312 | 2. Set the default placeholder color to the user's configured gray 400 color. 313 | */ 314 | 315 | input::-moz-placeholder, textarea::-moz-placeholder { 316 | opacity: 1; /* 1 */ 317 | color: #9ca3af; /* 2 */ 318 | } 319 | 320 | input:-ms-input-placeholder, textarea:-ms-input-placeholder { 321 | opacity: 1; /* 1 */ 322 | color: #9ca3af; /* 2 */ 323 | } 324 | 325 | input::placeholder, 326 | textarea::placeholder { 327 | opacity: 1; /* 1 */ 328 | color: #9ca3af; /* 2 */ 329 | } 330 | 331 | /* 332 | Set the default cursor for buttons. 333 | */ 334 | 335 | button, 336 | [role="button"] { 337 | cursor: pointer; 338 | } 339 | 340 | /* 341 | Make sure disabled buttons don't get the pointer cursor. 342 | */ 343 | :disabled { 344 | cursor: default; 345 | } 346 | 347 | /* 348 | 1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14) 349 | 2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210) 350 | This can trigger a poorly considered lint error in some tools but is included by design. 351 | */ 352 | 353 | img, 354 | svg, 355 | video, 356 | canvas, 357 | audio, 358 | iframe, 359 | embed, 360 | object { 361 | display: block; /* 1 */ 362 | vertical-align: middle; /* 2 */ 363 | } 364 | 365 | /* 366 | Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14) 367 | */ 368 | 369 | img, 370 | video { 371 | max-width: 100%; 372 | height: auto; 373 | } 374 | 375 | /* 376 | Ensure the default browser behavior of the `hidden` attribute. 377 | */ 378 | 379 | [hidden] { 380 | display: none; 381 | } 382 | 383 | *, ::before, ::after { 384 | --tw-translate-x: 0; 385 | --tw-translate-y: 0; 386 | --tw-rotate: 0; 387 | --tw-skew-x: 0; 388 | --tw-skew-y: 0; 389 | --tw-scale-x: 1; 390 | --tw-scale-y: 1; 391 | --tw-pan-x: ; 392 | --tw-pan-y: ; 393 | --tw-pinch-zoom: ; 394 | --tw-scroll-snap-strictness: proximity; 395 | --tw-ordinal: ; 396 | --tw-slashed-zero: ; 397 | --tw-numeric-figure: ; 398 | --tw-numeric-spacing: ; 399 | --tw-numeric-fraction: ; 400 | --tw-ring-inset: ; 401 | --tw-ring-offset-width: 0px; 402 | --tw-ring-offset-color: #fff; 403 | --tw-ring-color: rgb(59 130 246 / 0.5); 404 | --tw-ring-offset-shadow: 0 0 #0000; 405 | --tw-ring-shadow: 0 0 #0000; 406 | --tw-shadow: 0 0 #0000; 407 | --tw-shadow-colored: 0 0 #0000; 408 | --tw-blur: ; 409 | --tw-brightness: ; 410 | --tw-contrast: ; 411 | --tw-grayscale: ; 412 | --tw-hue-rotate: ; 413 | --tw-invert: ; 414 | --tw-saturate: ; 415 | --tw-sepia: ; 416 | --tw-drop-shadow: ; 417 | --tw-backdrop-blur: ; 418 | --tw-backdrop-brightness: ; 419 | --tw-backdrop-contrast: ; 420 | --tw-backdrop-grayscale: ; 421 | --tw-backdrop-hue-rotate: ; 422 | --tw-backdrop-invert: ; 423 | --tw-backdrop-opacity: ; 424 | --tw-backdrop-saturate: ; 425 | --tw-backdrop-sepia: ; 426 | } 427 | .mb-4 { 428 | margin-bottom: 1rem; 429 | } 430 | .flex { 431 | display: flex; 432 | } 433 | .space-x-4 > :not([hidden]) ~ :not([hidden]) { 434 | --tw-space-x-reverse: 0; 435 | margin-right: calc(1rem * var(--tw-space-x-reverse)); 436 | margin-left: calc(1rem * calc(1 - var(--tw-space-x-reverse))); 437 | } 438 | .rounded-md { 439 | border-radius: 0.375rem; 440 | } 441 | .bg-gray-200 { 442 | --tw-bg-opacity: 1; 443 | background-color: rgb(229 231 235 / var(--tw-bg-opacity)); 444 | } 445 | .p-6 { 446 | padding: 1.5rem; 447 | } 448 | .px-3 { 449 | padding-left: 0.75rem; 450 | padding-right: 0.75rem; 451 | } 452 | .py-2 { 453 | padding-top: 0.5rem; 454 | padding-bottom: 0.5rem; 455 | } 456 | .text-sm { 457 | font-size: 0.875rem; 458 | line-height: 1.25rem; 459 | } 460 | .font-medium { 461 | font-weight: 500; 462 | } 463 | .text-gray-700 { 464 | --tw-text-opacity: 1; 465 | color: rgb(55 65 81 / var(--tw-text-opacity)); 466 | } 467 | .hover\:bg-gray-700:hover { 468 | --tw-bg-opacity: 1; 469 | background-color: rgb(55 65 81 / var(--tw-bg-opacity)); 470 | } 471 | .hover\:text-white:hover { 472 | --tw-text-opacity: 1; 473 | color: rgb(255 255 255 / var(--tw-text-opacity)); 474 | } 475 | -------------------------------------------------------------------------------- /public/js/manifest.js: -------------------------------------------------------------------------------- 1 | /******/ (() => { // webpackBootstrap 2 | /******/ "use strict"; 3 | /******/ var __webpack_modules__ = ({}); 4 | /************************************************************************/ 5 | /******/ // The module cache 6 | /******/ var __webpack_module_cache__ = {}; 7 | /******/ 8 | /******/ // The require function 9 | /******/ function __webpack_require__(moduleId) { 10 | /******/ // Check if module is in cache 11 | /******/ var cachedModule = __webpack_module_cache__[moduleId]; 12 | /******/ if (cachedModule !== undefined) { 13 | /******/ return cachedModule.exports; 14 | /******/ } 15 | /******/ // Create a new module (and put it into the cache) 16 | /******/ var module = __webpack_module_cache__[moduleId] = { 17 | /******/ id: moduleId, 18 | /******/ loaded: false, 19 | /******/ exports: {} 20 | /******/ }; 21 | /******/ 22 | /******/ // Execute the module function 23 | /******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__); 24 | /******/ 25 | /******/ // Flag the module as loaded 26 | /******/ module.loaded = true; 27 | /******/ 28 | /******/ // Return the exports of the module 29 | /******/ return module.exports; 30 | /******/ } 31 | /******/ 32 | /******/ // expose the modules object (__webpack_modules__) 33 | /******/ __webpack_require__.m = __webpack_modules__; 34 | /******/ 35 | /************************************************************************/ 36 | /******/ /* webpack/runtime/chunk loaded */ 37 | /******/ (() => { 38 | /******/ var deferred = []; 39 | /******/ __webpack_require__.O = (result, chunkIds, fn, priority) => { 40 | /******/ if(chunkIds) { 41 | /******/ priority = priority || 0; 42 | /******/ for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1]; 43 | /******/ deferred[i] = [chunkIds, fn, priority]; 44 | /******/ return; 45 | /******/ } 46 | /******/ var notFulfilled = Infinity; 47 | /******/ for (var i = 0; i < deferred.length; i++) { 48 | /******/ var [chunkIds, fn, priority] = deferred[i]; 49 | /******/ var fulfilled = true; 50 | /******/ for (var j = 0; j < chunkIds.length; j++) { 51 | /******/ if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) { 52 | /******/ chunkIds.splice(j--, 1); 53 | /******/ } else { 54 | /******/ fulfilled = false; 55 | /******/ if(priority < notFulfilled) notFulfilled = priority; 56 | /******/ } 57 | /******/ } 58 | /******/ if(fulfilled) { 59 | /******/ deferred.splice(i--, 1) 60 | /******/ var r = fn(); 61 | /******/ if (r !== undefined) result = r; 62 | /******/ } 63 | /******/ } 64 | /******/ return result; 65 | /******/ }; 66 | /******/ })(); 67 | /******/ 68 | /******/ /* webpack/runtime/compat get default export */ 69 | /******/ (() => { 70 | /******/ // getDefaultExport function for compatibility with non-harmony modules 71 | /******/ __webpack_require__.n = (module) => { 72 | /******/ var getter = module && module.__esModule ? 73 | /******/ () => (module['default']) : 74 | /******/ () => (module); 75 | /******/ __webpack_require__.d(getter, { a: getter }); 76 | /******/ return getter; 77 | /******/ }; 78 | /******/ })(); 79 | /******/ 80 | /******/ /* webpack/runtime/define property getters */ 81 | /******/ (() => { 82 | /******/ // define getter functions for harmony exports 83 | /******/ __webpack_require__.d = (exports, definition) => { 84 | /******/ for(var key in definition) { 85 | /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { 86 | /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); 87 | /******/ } 88 | /******/ } 89 | /******/ }; 90 | /******/ })(); 91 | /******/ 92 | /******/ /* webpack/runtime/ensure chunk */ 93 | /******/ (() => { 94 | /******/ __webpack_require__.f = {}; 95 | /******/ // This file contains only the entry chunk. 96 | /******/ // The chunk loading function for additional chunks 97 | /******/ __webpack_require__.e = (chunkId) => { 98 | /******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => { 99 | /******/ __webpack_require__.f[key](chunkId, promises); 100 | /******/ return promises; 101 | /******/ }, [])); 102 | /******/ }; 103 | /******/ })(); 104 | /******/ 105 | /******/ /* webpack/runtime/get javascript chunk filename */ 106 | /******/ (() => { 107 | /******/ // This function allow to reference async chunks 108 | /******/ __webpack_require__.u = (chunkId) => { 109 | /******/ // return url for filenames not based on template 110 | /******/ if ({"resources_js_Pages_About_vue":1,"resources_js_Pages_Contact_vue":1,"resources_js_Pages_Home_vue":1}[chunkId]) return "js/" + chunkId + ".js"; 111 | /******/ // return url for filenames based on template 112 | /******/ return undefined; 113 | /******/ }; 114 | /******/ })(); 115 | /******/ 116 | /******/ /* webpack/runtime/get mini-css chunk filename */ 117 | /******/ (() => { 118 | /******/ // This function allow to reference all chunks 119 | /******/ __webpack_require__.miniCssF = (chunkId) => { 120 | /******/ // return url for filenames based on template 121 | /******/ return "" + chunkId + ".css"; 122 | /******/ }; 123 | /******/ })(); 124 | /******/ 125 | /******/ /* webpack/runtime/global */ 126 | /******/ (() => { 127 | /******/ __webpack_require__.g = (function() { 128 | /******/ if (typeof globalThis === 'object') return globalThis; 129 | /******/ try { 130 | /******/ return this || new Function('return this')(); 131 | /******/ } catch (e) { 132 | /******/ if (typeof window === 'object') return window; 133 | /******/ } 134 | /******/ })(); 135 | /******/ })(); 136 | /******/ 137 | /******/ /* webpack/runtime/hasOwnProperty shorthand */ 138 | /******/ (() => { 139 | /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) 140 | /******/ })(); 141 | /******/ 142 | /******/ /* webpack/runtime/load script */ 143 | /******/ (() => { 144 | /******/ var inProgress = {}; 145 | /******/ // data-webpack is not used as build has no uniqueName 146 | /******/ // loadScript function to load a script via script tag 147 | /******/ __webpack_require__.l = (url, done, key, chunkId) => { 148 | /******/ if(inProgress[url]) { inProgress[url].push(done); return; } 149 | /******/ var script, needAttach; 150 | /******/ if(key !== undefined) { 151 | /******/ var scripts = document.getElementsByTagName("script"); 152 | /******/ for(var i = 0; i < scripts.length; i++) { 153 | /******/ var s = scripts[i]; 154 | /******/ if(s.getAttribute("src") == url) { script = s; break; } 155 | /******/ } 156 | /******/ } 157 | /******/ if(!script) { 158 | /******/ needAttach = true; 159 | /******/ script = document.createElement('script'); 160 | /******/ 161 | /******/ script.charset = 'utf-8'; 162 | /******/ script.timeout = 120; 163 | /******/ if (__webpack_require__.nc) { 164 | /******/ script.setAttribute("nonce", __webpack_require__.nc); 165 | /******/ } 166 | /******/ 167 | /******/ script.src = url; 168 | /******/ } 169 | /******/ inProgress[url] = [done]; 170 | /******/ var onScriptComplete = (prev, event) => { 171 | /******/ // avoid mem leaks in IE. 172 | /******/ script.onerror = script.onload = null; 173 | /******/ clearTimeout(timeout); 174 | /******/ var doneFns = inProgress[url]; 175 | /******/ delete inProgress[url]; 176 | /******/ script.parentNode && script.parentNode.removeChild(script); 177 | /******/ doneFns && doneFns.forEach((fn) => (fn(event))); 178 | /******/ if(prev) return prev(event); 179 | /******/ } 180 | /******/ ; 181 | /******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000); 182 | /******/ script.onerror = onScriptComplete.bind(null, script.onerror); 183 | /******/ script.onload = onScriptComplete.bind(null, script.onload); 184 | /******/ needAttach && document.head.appendChild(script); 185 | /******/ }; 186 | /******/ })(); 187 | /******/ 188 | /******/ /* webpack/runtime/make namespace object */ 189 | /******/ (() => { 190 | /******/ // define __esModule on exports 191 | /******/ __webpack_require__.r = (exports) => { 192 | /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { 193 | /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); 194 | /******/ } 195 | /******/ Object.defineProperty(exports, '__esModule', { value: true }); 196 | /******/ }; 197 | /******/ })(); 198 | /******/ 199 | /******/ /* webpack/runtime/node module decorator */ 200 | /******/ (() => { 201 | /******/ __webpack_require__.nmd = (module) => { 202 | /******/ module.paths = []; 203 | /******/ if (!module.children) module.children = []; 204 | /******/ return module; 205 | /******/ }; 206 | /******/ })(); 207 | /******/ 208 | /******/ /* webpack/runtime/publicPath */ 209 | /******/ (() => { 210 | /******/ __webpack_require__.p = "/"; 211 | /******/ })(); 212 | /******/ 213 | /******/ /* webpack/runtime/jsonp chunk loading */ 214 | /******/ (() => { 215 | /******/ // no baseURI 216 | /******/ 217 | /******/ // object to store loaded and loading chunks 218 | /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched 219 | /******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded 220 | /******/ var installedChunks = { 221 | /******/ "/js/manifest": 0, 222 | /******/ "css/app": 0 223 | /******/ }; 224 | /******/ 225 | /******/ __webpack_require__.f.j = (chunkId, promises) => { 226 | /******/ // JSONP chunk loading for javascript 227 | /******/ var installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined; 228 | /******/ if(installedChunkData !== 0) { // 0 means "already installed". 229 | /******/ 230 | /******/ // a Promise means "currently loading". 231 | /******/ if(installedChunkData) { 232 | /******/ promises.push(installedChunkData[2]); 233 | /******/ } else { 234 | /******/ if(!/^(\/js\/manifest|css\/app)$/.test(chunkId)) { 235 | /******/ // setup Promise in chunk cache 236 | /******/ var promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject])); 237 | /******/ promises.push(installedChunkData[2] = promise); 238 | /******/ 239 | /******/ // start chunk loading 240 | /******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId); 241 | /******/ // create error before stack unwound to get useful stacktrace later 242 | /******/ var error = new Error(); 243 | /******/ var loadingEnded = (event) => { 244 | /******/ if(__webpack_require__.o(installedChunks, chunkId)) { 245 | /******/ installedChunkData = installedChunks[chunkId]; 246 | /******/ if(installedChunkData !== 0) installedChunks[chunkId] = undefined; 247 | /******/ if(installedChunkData) { 248 | /******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type); 249 | /******/ var realSrc = event && event.target && event.target.src; 250 | /******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')'; 251 | /******/ error.name = 'ChunkLoadError'; 252 | /******/ error.type = errorType; 253 | /******/ error.request = realSrc; 254 | /******/ installedChunkData[1](error); 255 | /******/ } 256 | /******/ } 257 | /******/ }; 258 | /******/ __webpack_require__.l(url, loadingEnded, "chunk-" + chunkId, chunkId); 259 | /******/ } else installedChunks[chunkId] = 0; 260 | /******/ } 261 | /******/ } 262 | /******/ }; 263 | /******/ 264 | /******/ // no prefetching 265 | /******/ 266 | /******/ // no preloaded 267 | /******/ 268 | /******/ // no HMR 269 | /******/ 270 | /******/ // no HMR manifest 271 | /******/ 272 | /******/ __webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0); 273 | /******/ 274 | /******/ // install a JSONP callback for chunk loading 275 | /******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => { 276 | /******/ var [chunkIds, moreModules, runtime] = data; 277 | /******/ // add "moreModules" to the modules object, 278 | /******/ // then flag all "chunkIds" as loaded and fire callback 279 | /******/ var moduleId, chunkId, i = 0; 280 | /******/ if(chunkIds.some((id) => (installedChunks[id] !== 0))) { 281 | /******/ for(moduleId in moreModules) { 282 | /******/ if(__webpack_require__.o(moreModules, moduleId)) { 283 | /******/ __webpack_require__.m[moduleId] = moreModules[moduleId]; 284 | /******/ } 285 | /******/ } 286 | /******/ if(runtime) var result = runtime(__webpack_require__); 287 | /******/ } 288 | /******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data); 289 | /******/ for(;i < chunkIds.length; i++) { 290 | /******/ chunkId = chunkIds[i]; 291 | /******/ if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) { 292 | /******/ installedChunks[chunkId][0](); 293 | /******/ } 294 | /******/ installedChunks[chunkId] = 0; 295 | /******/ } 296 | /******/ return __webpack_require__.O(result); 297 | /******/ } 298 | /******/ 299 | /******/ var chunkLoadingGlobal = self["webpackChunk"] = self["webpackChunk"] || []; 300 | /******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0)); 301 | /******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal)); 302 | /******/ })(); 303 | /******/ 304 | /************************************************************************/ 305 | /******/ 306 | /******/ 307 | /******/ })() 308 | ; -------------------------------------------------------------------------------- /public/js/app.js: -------------------------------------------------------------------------------- 1 | (self["webpackChunk"] = self["webpackChunk"] || []).push([["/js/app"],{ 2 | 3 | /***/ "./resources/js/app.js": 4 | /*!*****************************!*\ 5 | !*** ./resources/js/app.js ***! 6 | \*****************************/ 7 | /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 8 | 9 | "use strict"; 10 | __webpack_require__.r(__webpack_exports__); 11 | /* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ "./node_modules/@babel/runtime/regenerator/index.js"); 12 | /* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__); 13 | /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ "./node_modules/vue/dist/vue.esm-bundler.js"); 14 | /* harmony import */ var _inertiajs_inertia_vue3__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @inertiajs/inertia-vue3 */ "./node_modules/@inertiajs/inertia-vue3/dist/index.js"); 15 | /* harmony import */ var _inertiajs_progress__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @inertiajs/progress */ "./node_modules/@inertiajs/progress/dist/index.js"); 16 | /* harmony import */ var ziggy__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ziggy */ "./vendor/tightenco/ziggy/dist/vue.js"); 17 | /* harmony import */ var ziggy__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(ziggy__WEBPACK_IMPORTED_MODULE_4__); 18 | /* harmony import */ var _ziggy__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./ziggy */ "./resources/js/ziggy.js"); 19 | 20 | 21 | function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } 22 | 23 | function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } 24 | 25 | 26 | 27 | 28 | 29 | 30 | _inertiajs_progress__WEBPACK_IMPORTED_MODULE_3__.InertiaProgress.init(); 31 | (0,_inertiajs_inertia_vue3__WEBPACK_IMPORTED_MODULE_2__.createInertiaApp)({ 32 | resolve: function () { 33 | var _resolve = _asyncToGenerator( /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().mark(function _callee(name) { 34 | return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().wrap(function _callee$(_context) { 35 | while (1) { 36 | switch (_context.prev = _context.next) { 37 | case 0: 38 | _context.next = 2; 39 | return __webpack_require__("./resources/js/Pages lazy recursive ^\\.\\/.*$")("./".concat(name)); 40 | 41 | case 2: 42 | return _context.abrupt("return", _context.sent["default"]); 43 | 44 | case 3: 45 | case "end": 46 | return _context.stop(); 47 | } 48 | } 49 | }, _callee); 50 | })); 51 | 52 | function resolve(_x) { 53 | return _resolve.apply(this, arguments); 54 | } 55 | 56 | return resolve; 57 | }(), 58 | setup: function setup(_ref) { 59 | var el = _ref.el, 60 | App = _ref.App, 61 | props = _ref.props, 62 | plugin = _ref.plugin; 63 | (0,vue__WEBPACK_IMPORTED_MODULE_1__.createApp)({ 64 | render: function render() { 65 | return (0,vue__WEBPACK_IMPORTED_MODULE_1__.h)(App, props); 66 | } 67 | }).use(plugin).use(ziggy__WEBPACK_IMPORTED_MODULE_4__.ZiggyVue, _ziggy__WEBPACK_IMPORTED_MODULE_5__.Ziggy).component("Link", _inertiajs_inertia_vue3__WEBPACK_IMPORTED_MODULE_2__.Link).component("Head", _inertiajs_inertia_vue3__WEBPACK_IMPORTED_MODULE_2__.Head).mixin({ 68 | methods: { 69 | route: route 70 | } 71 | }).mount(el); 72 | } 73 | }); 74 | 75 | /***/ }), 76 | 77 | /***/ "./resources/js/ziggy.js": 78 | /*!*******************************!*\ 79 | !*** ./resources/js/ziggy.js ***! 80 | \*******************************/ 81 | /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 82 | 83 | "use strict"; 84 | __webpack_require__.r(__webpack_exports__); 85 | /* harmony export */ __webpack_require__.d(__webpack_exports__, { 86 | /* harmony export */ "Ziggy": () => (/* binding */ Ziggy) 87 | /* harmony export */ }); 88 | var Ziggy = { 89 | "url": "http:\/\/awesome-app.test", 90 | "port": null, 91 | "defaults": {}, 92 | "routes": { 93 | "homepage": { 94 | "uri": "\/", 95 | "methods": ["GET", "HEAD"] 96 | }, 97 | "about": { 98 | "uri": "about", 99 | "methods": ["GET", "HEAD"] 100 | }, 101 | "contact": { 102 | "uri": "contact", 103 | "methods": ["GET", "HEAD"] 104 | } 105 | } 106 | }; 107 | 108 | if (typeof window !== 'undefined' && typeof window.Ziggy !== 'undefined') { 109 | Object.assign(Ziggy.routes, window.Ziggy.routes); 110 | } 111 | 112 | 113 | 114 | /***/ }), 115 | 116 | /***/ "./vendor/tightenco/ziggy/dist/vue.js": 117 | /*!********************************************!*\ 118 | !*** ./vendor/tightenco/ziggy/dist/vue.js ***! 119 | \********************************************/ 120 | /***/ (function(module, exports) { 121 | 122 | var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } 123 | 124 | !function (t, n) { 125 | "object" == ( false ? 0 : _typeof(exports)) && "undefined" != "object" ? n(exports) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [exports], __WEBPACK_AMD_DEFINE_FACTORY__ = (n), 126 | __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? 127 | (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__), 128 | __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : 0; 129 | }(this, function (t) { 130 | function n(t, n) { 131 | for (var r = 0; r < n.length; r++) { 132 | var e = n[r]; 133 | e.enumerable = e.enumerable || !1, e.configurable = !0, "value" in e && (e.writable = !0), Object.defineProperty(t, e.key, e); 134 | } 135 | } 136 | 137 | function r(t, r, e) { 138 | return r && n(t.prototype, r), e && n(t, e), Object.defineProperty(t, "prototype", { 139 | writable: !1 140 | }), t; 141 | } 142 | 143 | function e() { 144 | return e = Object.assign || function (t) { 145 | for (var n = 1; n < arguments.length; n++) { 146 | var r = arguments[n]; 147 | 148 | for (var e in r) { 149 | Object.prototype.hasOwnProperty.call(r, e) && (t[e] = r[e]); 150 | } 151 | } 152 | 153 | return t; 154 | }, e.apply(this, arguments); 155 | } 156 | 157 | function i(t) { 158 | return i = Object.setPrototypeOf ? Object.getPrototypeOf : function (t) { 159 | return t.__proto__ || Object.getPrototypeOf(t); 160 | }, i(t); 161 | } 162 | 163 | function o(t, n) { 164 | return o = Object.setPrototypeOf || function (t, n) { 165 | return t.__proto__ = n, t; 166 | }, o(t, n); 167 | } 168 | 169 | function u() { 170 | if ("undefined" == typeof Reflect || !Reflect.construct) return !1; 171 | if (Reflect.construct.sham) return !1; 172 | if ("function" == typeof Proxy) return !0; 173 | 174 | try { 175 | return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})), !0; 176 | } catch (t) { 177 | return !1; 178 | } 179 | } 180 | 181 | function f(t, n, r) { 182 | return f = u() ? Reflect.construct : function (t, n, r) { 183 | var e = [null]; 184 | e.push.apply(e, n); 185 | var i = new (Function.bind.apply(t, e))(); 186 | return r && o(i, r.prototype), i; 187 | }, f.apply(null, arguments); 188 | } 189 | 190 | function c(t) { 191 | var n = "function" == typeof Map ? new Map() : void 0; 192 | return c = function c(t) { 193 | if (null === t || -1 === Function.toString.call(t).indexOf("[native code]")) return t; 194 | if ("function" != typeof t) throw new TypeError("Super expression must either be null or a function"); 195 | 196 | if (void 0 !== n) { 197 | if (n.has(t)) return n.get(t); 198 | n.set(t, r); 199 | } 200 | 201 | function r() { 202 | return f(t, arguments, i(this).constructor); 203 | } 204 | 205 | return r.prototype = Object.create(t.prototype, { 206 | constructor: { 207 | value: r, 208 | enumerable: !1, 209 | writable: !0, 210 | configurable: !0 211 | } 212 | }), o(r, t); 213 | }, c(t); 214 | } 215 | 216 | var a = String.prototype.replace, 217 | l = /%20/g, 218 | s = "RFC3986", 219 | v = { 220 | "default": s, 221 | formatters: { 222 | RFC1738: function RFC1738(t) { 223 | return a.call(t, l, "+"); 224 | }, 225 | RFC3986: function RFC3986(t) { 226 | return String(t); 227 | } 228 | }, 229 | RFC1738: "RFC1738", 230 | RFC3986: s 231 | }, 232 | p = Object.prototype.hasOwnProperty, 233 | d = Array.isArray, 234 | y = function () { 235 | for (var t = [], n = 0; n < 256; ++n) { 236 | t.push("%" + ((n < 16 ? "0" : "") + n.toString(16)).toUpperCase()); 237 | } 238 | 239 | return t; 240 | }(), 241 | h = function h(t, n) { 242 | for (var r = n && n.plainObjects ? Object.create(null) : {}, e = 0; e < t.length; ++e) { 243 | void 0 !== t[e] && (r[e] = t[e]); 244 | } 245 | 246 | return r; 247 | }, 248 | b = { 249 | arrayToObject: h, 250 | assign: function assign(t, n) { 251 | return Object.keys(n).reduce(function (t, r) { 252 | return t[r] = n[r], t; 253 | }, t); 254 | }, 255 | combine: function combine(t, n) { 256 | return [].concat(t, n); 257 | }, 258 | compact: function compact(t) { 259 | for (var n = [{ 260 | obj: { 261 | o: t 262 | }, 263 | prop: "o" 264 | }], r = [], e = 0; e < n.length; ++e) { 265 | for (var i = n[e], o = i.obj[i.prop], u = Object.keys(o), f = 0; f < u.length; ++f) { 266 | var c = u[f], 267 | a = o[c]; 268 | "object" == _typeof(a) && null !== a && -1 === r.indexOf(a) && (n.push({ 269 | obj: o, 270 | prop: c 271 | }), r.push(a)); 272 | } 273 | } 274 | 275 | return function (t) { 276 | for (; t.length > 1;) { 277 | var n = t.pop(), 278 | r = n.obj[n.prop]; 279 | 280 | if (d(r)) { 281 | for (var e = [], i = 0; i < r.length; ++i) { 282 | void 0 !== r[i] && e.push(r[i]); 283 | } 284 | 285 | n.obj[n.prop] = e; 286 | } 287 | } 288 | }(n), t; 289 | }, 290 | decode: function decode(t, n, r) { 291 | var e = t.replace(/\+/g, " "); 292 | if ("iso-8859-1" === r) return e.replace(/%[0-9a-f]{2}/gi, unescape); 293 | 294 | try { 295 | return decodeURIComponent(e); 296 | } catch (t) { 297 | return e; 298 | } 299 | }, 300 | encode: function encode(t, n, r, e, i) { 301 | if (0 === t.length) return t; 302 | var o = t; 303 | if ("symbol" == _typeof(t) ? o = Symbol.prototype.toString.call(t) : "string" != typeof t && (o = String(t)), "iso-8859-1" === r) return escape(o).replace(/%u[0-9a-f]{4}/gi, function (t) { 304 | return "%26%23" + parseInt(t.slice(2), 16) + "%3B"; 305 | }); 306 | 307 | for (var u = "", f = 0; f < o.length; ++f) { 308 | var c = o.charCodeAt(f); 309 | 45 === c || 46 === c || 95 === c || 126 === c || c >= 48 && c <= 57 || c >= 65 && c <= 90 || c >= 97 && c <= 122 || i === v.RFC1738 && (40 === c || 41 === c) ? u += o.charAt(f) : c < 128 ? u += y[c] : c < 2048 ? u += y[192 | c >> 6] + y[128 | 63 & c] : c < 55296 || c >= 57344 ? u += y[224 | c >> 12] + y[128 | c >> 6 & 63] + y[128 | 63 & c] : (c = 65536 + ((1023 & c) << 10 | 1023 & o.charCodeAt(f += 1)), u += y[240 | c >> 18] + y[128 | c >> 12 & 63] + y[128 | c >> 6 & 63] + y[128 | 63 & c]); 310 | } 311 | 312 | return u; 313 | }, 314 | isBuffer: function isBuffer(t) { 315 | return !(!t || "object" != _typeof(t) || !(t.constructor && t.constructor.isBuffer && t.constructor.isBuffer(t))); 316 | }, 317 | isRegExp: function isRegExp(t) { 318 | return "[object RegExp]" === Object.prototype.toString.call(t); 319 | }, 320 | maybeMap: function maybeMap(t, n) { 321 | if (d(t)) { 322 | for (var r = [], e = 0; e < t.length; e += 1) { 323 | r.push(n(t[e])); 324 | } 325 | 326 | return r; 327 | } 328 | 329 | return n(t); 330 | }, 331 | merge: function t(n, r, e) { 332 | if (!r) return n; 333 | 334 | if ("object" != _typeof(r)) { 335 | if (d(n)) n.push(r);else { 336 | if (!n || "object" != _typeof(n)) return [n, r]; 337 | (e && (e.plainObjects || e.allowPrototypes) || !p.call(Object.prototype, r)) && (n[r] = !0); 338 | } 339 | return n; 340 | } 341 | 342 | if (!n || "object" != _typeof(n)) return [n].concat(r); 343 | var i = n; 344 | return d(n) && !d(r) && (i = h(n, e)), d(n) && d(r) ? (r.forEach(function (r, i) { 345 | if (p.call(n, i)) { 346 | var o = n[i]; 347 | o && "object" == _typeof(o) && r && "object" == _typeof(r) ? n[i] = t(o, r, e) : n.push(r); 348 | } else n[i] = r; 349 | }), n) : Object.keys(r).reduce(function (n, i) { 350 | var o = r[i]; 351 | return n[i] = p.call(n, i) ? t(n[i], o, e) : o, n; 352 | }, i); 353 | } 354 | }, 355 | g = Object.prototype.hasOwnProperty, 356 | m = { 357 | brackets: function brackets(t) { 358 | return t + "[]"; 359 | }, 360 | comma: "comma", 361 | indices: function indices(t, n) { 362 | return t + "[" + n + "]"; 363 | }, 364 | repeat: function repeat(t) { 365 | return t; 366 | } 367 | }, 368 | j = Array.isArray, 369 | O = String.prototype.split, 370 | w = Array.prototype.push, 371 | R = function R(t, n) { 372 | w.apply(t, j(n) ? n : [n]); 373 | }, 374 | E = Date.prototype.toISOString, 375 | S = v["default"], 376 | k = { 377 | addQueryPrefix: !1, 378 | allowDots: !1, 379 | charset: "utf-8", 380 | charsetSentinel: !1, 381 | delimiter: "&", 382 | encode: !0, 383 | encoder: b.encode, 384 | encodeValuesOnly: !1, 385 | format: S, 386 | formatter: v.formatters[S], 387 | indices: !1, 388 | serializeDate: function serializeDate(t) { 389 | return E.call(t); 390 | }, 391 | skipNulls: !1, 392 | strictNullHandling: !1 393 | }, 394 | x = function t(n, r, e, i, o, u, f, c, a, l, s, v, p, d) { 395 | var y, 396 | h = n; 397 | 398 | if ("function" == typeof f ? h = f(r, h) : h instanceof Date ? h = l(h) : "comma" === e && j(h) && (h = b.maybeMap(h, function (t) { 399 | return t instanceof Date ? l(t) : t; 400 | })), null === h) { 401 | if (i) return u && !p ? u(r, k.encoder, d, "key", s) : r; 402 | h = ""; 403 | } 404 | 405 | if ("string" == typeof (y = h) || "number" == typeof y || "boolean" == typeof y || "symbol" == _typeof(y) || "bigint" == typeof y || b.isBuffer(h)) { 406 | if (u) { 407 | var g = p ? r : u(r, k.encoder, d, "key", s); 408 | 409 | if ("comma" === e && p) { 410 | for (var m = O.call(String(h), ","), w = "", E = 0; E < m.length; ++E) { 411 | w += (0 === E ? "" : ",") + v(u(m[E], k.encoder, d, "value", s)); 412 | } 413 | 414 | return [v(g) + "=" + w]; 415 | } 416 | 417 | return [v(g) + "=" + v(u(h, k.encoder, d, "value", s))]; 418 | } 419 | 420 | return [v(r) + "=" + v(String(h))]; 421 | } 422 | 423 | var S, 424 | x = []; 425 | if (void 0 === h) return x; 426 | if ("comma" === e && j(h)) S = [{ 427 | value: h.length > 0 ? h.join(",") || null : void 0 428 | }];else if (j(f)) S = f;else { 429 | var T = Object.keys(h); 430 | S = c ? T.sort(c) : T; 431 | } 432 | 433 | for (var C = 0; C < S.length; ++C) { 434 | var N = S[C], 435 | F = "object" == _typeof(N) && void 0 !== N.value ? N.value : h[N]; 436 | 437 | if (!o || null !== F) { 438 | var D = j(h) ? "function" == typeof e ? e(r, N) : r : r + (a ? "." + N : "[" + N + "]"); 439 | R(x, t(F, D, e, i, o, u, f, c, a, l, s, v, p, d)); 440 | } 441 | } 442 | 443 | return x; 444 | }, 445 | T = Object.prototype.hasOwnProperty, 446 | C = Array.isArray, 447 | N = { 448 | allowDots: !1, 449 | allowPrototypes: !1, 450 | arrayLimit: 20, 451 | charset: "utf-8", 452 | charsetSentinel: !1, 453 | comma: !1, 454 | decoder: b.decode, 455 | delimiter: "&", 456 | depth: 5, 457 | ignoreQueryPrefix: !1, 458 | interpretNumericEntities: !1, 459 | parameterLimit: 1e3, 460 | parseArrays: !0, 461 | plainObjects: !1, 462 | strictNullHandling: !1 463 | }, 464 | F = function F(t) { 465 | return t.replace(/&#(\d+);/g, function (t, n) { 466 | return String.fromCharCode(parseInt(n, 10)); 467 | }); 468 | }, 469 | D = function D(t, n) { 470 | return t && "string" == typeof t && n.comma && t.indexOf(",") > -1 ? t.split(",") : t; 471 | }, 472 | $ = function $(t, n, r, e) { 473 | if (t) { 474 | var i = r.allowDots ? t.replace(/\.([^.[]+)/g, "[$1]") : t, 475 | o = /(\[[^[\]]*])/g, 476 | u = r.depth > 0 && /(\[[^[\]]*])/.exec(i), 477 | f = u ? i.slice(0, u.index) : i, 478 | c = []; 479 | 480 | if (f) { 481 | if (!r.plainObjects && T.call(Object.prototype, f) && !r.allowPrototypes) return; 482 | c.push(f); 483 | } 484 | 485 | for (var a = 0; r.depth > 0 && null !== (u = o.exec(i)) && a < r.depth;) { 486 | if (a += 1, !r.plainObjects && T.call(Object.prototype, u[1].slice(1, -1)) && !r.allowPrototypes) return; 487 | c.push(u[1]); 488 | } 489 | 490 | return u && c.push("[" + i.slice(u.index) + "]"), function (t, n, r, e) { 491 | for (var i = e ? n : D(n, r), o = t.length - 1; o >= 0; --o) { 492 | var u, 493 | f = t[o]; 494 | if ("[]" === f && r.parseArrays) u = [].concat(i);else { 495 | u = r.plainObjects ? Object.create(null) : {}; 496 | var c = "[" === f.charAt(0) && "]" === f.charAt(f.length - 1) ? f.slice(1, -1) : f, 497 | a = parseInt(c, 10); 498 | r.parseArrays || "" !== c ? !isNaN(a) && f !== c && String(a) === c && a >= 0 && r.parseArrays && a <= r.arrayLimit ? (u = [])[a] = i : "__proto__" !== c && (u[c] = i) : u = { 499 | 0: i 500 | }; 501 | } 502 | i = u; 503 | } 504 | 505 | return i; 506 | }(c, n, r, e); 507 | } 508 | }, 509 | A = /*#__PURE__*/function () { 510 | function t(t, n, r) { 511 | var e, i; 512 | this.name = t, this.definition = n, this.bindings = null != (e = n.bindings) ? e : {}, this.wheres = null != (i = n.wheres) ? i : {}, this.config = r; 513 | } 514 | 515 | var n = t.prototype; 516 | return n.matchesUrl = function (t) { 517 | if (!this.definition.methods.includes("GET")) return !1; 518 | var n = this.template.replace(/\/{[^}?]*\?}/g, "(/[^/?]+)?").replace(/{[^}?]*\?}/g, "([^/?]+)?").replace(/{[^}]+}/g, "[^/?]+").replace(/^\w+:\/\//, ""); 519 | return new RegExp("^" + n + "$").test(t.replace(/\/+$/, "").split("?").shift()); 520 | }, n.compile = function (t) { 521 | var n = this; 522 | return this.parameterSegments.length ? this.template.replace(/{([^}?]+)\??}/g, function (r, e) { 523 | var i, o; 524 | if ([null, void 0].includes(t[e]) && n.parameterSegments.find(function (t) { 525 | return t.name === e; 526 | }).required) throw new Error("Ziggy error: '" + e + "' parameter is required for route '" + n.name + "'."); 527 | return n.parameterSegments[n.parameterSegments.length - 1].name === e && ".*" === n.wheres[e] ? null != (o = t[e]) ? o : "" : encodeURIComponent(null != (i = t[e]) ? i : ""); 528 | }).replace(/\/+$/, "") : this.template; 529 | }, r(t, [{ 530 | key: "template", 531 | get: function get() { 532 | return ((this.config.absolute ? this.definition.domain ? "" + this.config.url.match(/^\w+:\/\//)[0] + this.definition.domain + (this.config.port ? ":" + this.config.port : "") : this.config.url : "") + "/" + this.definition.uri).replace(/\/+$/, ""); 533 | } 534 | }, { 535 | key: "parameterSegments", 536 | get: function get() { 537 | var t, n; 538 | return null != (t = null == (n = this.template.match(/{[^}?]+\??}/g)) ? void 0 : n.map(function (t) { 539 | return { 540 | name: t.replace(/{|\??}/g, ""), 541 | required: !/\?}$/.test(t) 542 | }; 543 | })) ? t : []; 544 | } 545 | }]), t; 546 | }(), 547 | B = /*#__PURE__*/function (t) { 548 | var n, i; 549 | 550 | function u(n, r, i, o) { 551 | var u; 552 | 553 | if (void 0 === i && (i = !0), (u = t.call(this) || this).t = null != o ? o : "undefined" != typeof Ziggy ? Ziggy : null == globalThis ? void 0 : globalThis.Ziggy, u.t = e({}, u.t, { 554 | absolute: i 555 | }), n) { 556 | if (!u.t.routes[n]) throw new Error("Ziggy error: route '" + n + "' is not in the route list."); 557 | u.i = new A(n, u.t.routes[n], u.t), u.u = u.l(r); 558 | } 559 | 560 | return u; 561 | } 562 | 563 | i = t, (n = u).prototype = Object.create(i.prototype), n.prototype.constructor = n, o(n, i); 564 | var f = u.prototype; 565 | return f.toString = function () { 566 | var t = this, 567 | n = Object.keys(this.u).filter(function (n) { 568 | return !t.i.parameterSegments.some(function (t) { 569 | return t.name === n; 570 | }); 571 | }).filter(function (t) { 572 | return "_query" !== t; 573 | }).reduce(function (n, r) { 574 | var i; 575 | return e({}, n, ((i = {})[r] = t.u[r], i)); 576 | }, {}); 577 | return this.i.compile(this.u) + function (t, n) { 578 | var r, 579 | e = t, 580 | i = function (t) { 581 | if (!t) return k; 582 | if (null != t.encoder && "function" != typeof t.encoder) throw new TypeError("Encoder has to be a function."); 583 | var n = t.charset || k.charset; 584 | if (void 0 !== t.charset && "utf-8" !== t.charset && "iso-8859-1" !== t.charset) throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined"); 585 | var r = v["default"]; 586 | 587 | if (void 0 !== t.format) { 588 | if (!g.call(v.formatters, t.format)) throw new TypeError("Unknown format option provided."); 589 | r = t.format; 590 | } 591 | 592 | var e = v.formatters[r], 593 | i = k.filter; 594 | return ("function" == typeof t.filter || j(t.filter)) && (i = t.filter), { 595 | addQueryPrefix: "boolean" == typeof t.addQueryPrefix ? t.addQueryPrefix : k.addQueryPrefix, 596 | allowDots: void 0 === t.allowDots ? k.allowDots : !!t.allowDots, 597 | charset: n, 598 | charsetSentinel: "boolean" == typeof t.charsetSentinel ? t.charsetSentinel : k.charsetSentinel, 599 | delimiter: void 0 === t.delimiter ? k.delimiter : t.delimiter, 600 | encode: "boolean" == typeof t.encode ? t.encode : k.encode, 601 | encoder: "function" == typeof t.encoder ? t.encoder : k.encoder, 602 | encodeValuesOnly: "boolean" == typeof t.encodeValuesOnly ? t.encodeValuesOnly : k.encodeValuesOnly, 603 | filter: i, 604 | format: r, 605 | formatter: e, 606 | serializeDate: "function" == typeof t.serializeDate ? t.serializeDate : k.serializeDate, 607 | skipNulls: "boolean" == typeof t.skipNulls ? t.skipNulls : k.skipNulls, 608 | sort: "function" == typeof t.sort ? t.sort : null, 609 | strictNullHandling: "boolean" == typeof t.strictNullHandling ? t.strictNullHandling : k.strictNullHandling 610 | }; 611 | }(n); 612 | 613 | "function" == typeof i.filter ? e = (0, i.filter)("", e) : j(i.filter) && (r = i.filter); 614 | var o = []; 615 | if ("object" != _typeof(e) || null === e) return ""; 616 | var u = m[n && n.arrayFormat in m ? n.arrayFormat : n && "indices" in n ? n.indices ? "indices" : "repeat" : "indices"]; 617 | r || (r = Object.keys(e)), i.sort && r.sort(i.sort); 618 | 619 | for (var f = 0; f < r.length; ++f) { 620 | var c = r[f]; 621 | i.skipNulls && null === e[c] || R(o, x(e[c], c, u, i.strictNullHandling, i.skipNulls, i.encode ? i.encoder : null, i.filter, i.sort, i.allowDots, i.serializeDate, i.format, i.formatter, i.encodeValuesOnly, i.charset)); 622 | } 623 | 624 | var a = o.join(i.delimiter), 625 | l = !0 === i.addQueryPrefix ? "?" : ""; 626 | return i.charsetSentinel && (l += "iso-8859-1" === i.charset ? "utf8=%26%2310003%3B&" : "utf8=%E2%9C%93&"), a.length > 0 ? l + a : ""; 627 | }(e({}, n, this.u._query), { 628 | addQueryPrefix: !0, 629 | arrayFormat: "indices", 630 | encodeValuesOnly: !0, 631 | skipNulls: !0, 632 | encoder: function encoder(t, n) { 633 | return "boolean" == typeof t ? Number(t) : n(t); 634 | } 635 | }); 636 | }, f.current = function (t, n) { 637 | var r = this, 638 | e = this.t.absolute ? this.v().host + this.v().pathname : this.v().pathname.replace(this.t.url.replace(/^\w*:\/\/[^/]+/, ""), "").replace(/^\/+/, "/"), 639 | i = Object.entries(this.t.routes).find(function (n) { 640 | return new A(t, n[1], r.t).matchesUrl(e); 641 | }) || [void 0, void 0], 642 | o = i[0], 643 | u = i[1]; 644 | if (!t) return o; 645 | var f = new RegExp("^" + t.replace(/\./g, "\\.").replace(/\*/g, ".*") + "$").test(o); 646 | if ([null, void 0].includes(n) || !f) return f; 647 | var c = new A(o, u, this.t); 648 | n = this.l(n, c); 649 | var a = this.p(u); 650 | return !(!Object.values(n).every(function (t) { 651 | return !t; 652 | }) || Object.values(a).length) || Object.entries(n).every(function (t) { 653 | return a[t[0]] == t[1]; 654 | }); 655 | }, f.v = function () { 656 | var t, 657 | n, 658 | r, 659 | e, 660 | i, 661 | o, 662 | u = "undefined" != typeof window ? window.location : {}, 663 | f = u.host, 664 | c = u.pathname, 665 | a = u.search; 666 | return { 667 | host: null != (t = null == (n = this.t.location) ? void 0 : n.host) ? t : void 0 === f ? "" : f, 668 | pathname: null != (r = null == (e = this.t.location) ? void 0 : e.pathname) ? r : void 0 === c ? "" : c, 669 | search: null != (i = null == (o = this.t.location) ? void 0 : o.search) ? i : void 0 === a ? "" : a 670 | }; 671 | }, f.has = function (t) { 672 | return Object.keys(this.t.routes).includes(t); 673 | }, f.l = function (t, n) { 674 | var r = this; 675 | void 0 === t && (t = {}), void 0 === n && (n = this.i), t = ["string", "number"].includes(_typeof(t)) ? [t] : t; 676 | var i = n.parameterSegments.filter(function (t) { 677 | return !r.t.defaults[t.name]; 678 | }); 679 | if (Array.isArray(t)) t = t.reduce(function (t, n, r) { 680 | var o, u; 681 | return e({}, t, i[r] ? ((o = {})[i[r].name] = n, o) : ((u = {})[n] = "", u)); 682 | }, {});else if (1 === i.length && !t[i[0].name] && (t.hasOwnProperty(Object.values(n.bindings)[0]) || t.hasOwnProperty("id"))) { 683 | var o; 684 | (o = {})[i[0].name] = t, t = o; 685 | } 686 | return e({}, this.h(n), this.g(t, n)); 687 | }, f.h = function (t) { 688 | var n = this; 689 | return t.parameterSegments.filter(function (t) { 690 | return n.t.defaults[t.name]; 691 | }).reduce(function (t, r, i) { 692 | var o, 693 | u = r.name; 694 | return e({}, t, ((o = {})[u] = n.t.defaults[u], o)); 695 | }, {}); 696 | }, f.g = function (t, n) { 697 | var r = n.bindings, 698 | i = n.parameterSegments; 699 | return Object.entries(t).reduce(function (t, n) { 700 | var o, 701 | u, 702 | f = n[0], 703 | c = n[1]; 704 | if (!c || "object" != _typeof(c) || Array.isArray(c) || !i.some(function (t) { 705 | return t.name === f; 706 | })) return e({}, t, ((u = {})[f] = c, u)); 707 | 708 | if (!c.hasOwnProperty(r[f])) { 709 | if (!c.hasOwnProperty("id")) throw new Error("Ziggy error: object passed as '" + f + "' parameter is missing route model binding key '" + r[f] + "'."); 710 | r[f] = "id"; 711 | } 712 | 713 | return e({}, t, ((o = {})[f] = c[r[f]], o)); 714 | }, {}); 715 | }, f.p = function (t) { 716 | var n, 717 | r = this.v().pathname.replace(this.t.url.replace(/^\w*:\/\/[^/]+/, ""), "").replace(/^\/+/, ""), 718 | i = function i(t, n, r) { 719 | void 0 === n && (n = ""); 720 | var i = [t, n].map(function (t) { 721 | return t.split(r); 722 | }), 723 | o = i[0]; 724 | return i[1].reduce(function (t, n, r) { 725 | var i; 726 | return /{[^}?]+\??}/.test(n) && o[r] ? e({}, t, ((i = {})[n.replace(/.*{|\??}.*/g, "")] = o[r].replace(n.match(/^[^{]*/g), "").replace(n.match(/[^}]*$/g), ""), i)) : t; 727 | }, {}); 728 | }; 729 | 730 | return e({}, i(this.v().host, t.domain, "."), i(r, t.uri, "/"), function (t, n) { 731 | var r = N; 732 | if ("" === t || null == t) return r.plainObjects ? Object.create(null) : {}; 733 | 734 | for (var e = "string" == typeof t ? function (t, n) { 735 | var r, 736 | e = {}, 737 | i = (n.ignoreQueryPrefix ? t.replace(/^\?/, "") : t).split(n.delimiter, Infinity === n.parameterLimit ? void 0 : n.parameterLimit), 738 | o = -1, 739 | u = n.charset; 740 | if (n.charsetSentinel) for (r = 0; r < i.length; ++r) { 741 | 0 === i[r].indexOf("utf8=") && ("utf8=%E2%9C%93" === i[r] ? u = "utf-8" : "utf8=%26%2310003%3B" === i[r] && (u = "iso-8859-1"), o = r, r = i.length); 742 | } 743 | 744 | for (r = 0; r < i.length; ++r) { 745 | if (r !== o) { 746 | var f, 747 | c, 748 | a = i[r], 749 | l = a.indexOf("]="), 750 | s = -1 === l ? a.indexOf("=") : l + 1; 751 | -1 === s ? (f = n.decoder(a, N.decoder, u, "key"), c = n.strictNullHandling ? null : "") : (f = n.decoder(a.slice(0, s), N.decoder, u, "key"), c = b.maybeMap(D(a.slice(s + 1), n), function (t) { 752 | return n.decoder(t, N.decoder, u, "value"); 753 | })), c && n.interpretNumericEntities && "iso-8859-1" === u && (c = F(c)), a.indexOf("[]=") > -1 && (c = C(c) ? [c] : c), e[f] = T.call(e, f) ? b.combine(e[f], c) : c; 754 | } 755 | } 756 | 757 | return e; 758 | }(t, r) : t, i = r.plainObjects ? Object.create(null) : {}, o = Object.keys(e), u = 0; u < o.length; ++u) { 759 | var f = o[u], 760 | c = $(f, e[f], r, "string" == typeof t); 761 | i = b.merge(i, c, r); 762 | } 763 | 764 | return b.compact(i); 765 | }(null == (n = this.v().search) ? void 0 : n.replace(/^\?/, ""))); 766 | }, f.valueOf = function () { 767 | return this.toString(); 768 | }, f.check = function (t) { 769 | return this.has(t); 770 | }, r(u, [{ 771 | key: "params", 772 | get: function get() { 773 | return this.p(this.t.routes[this.current()]); 774 | } 775 | }]), u; 776 | }( /*#__PURE__*/c(String)); 777 | 778 | t.ZiggyVue = { 779 | install: function install(t, n) { 780 | return t.mixin({ 781 | methods: { 782 | route: function route(t, r, e, i) { 783 | return void 0 === i && (i = n), function (t, n, r, e) { 784 | var i = new B(t, n, r, e); 785 | return t ? i.toString() : i; 786 | }(t, r, e, i); 787 | } 788 | } 789 | }); 790 | } 791 | }; 792 | }); 793 | 794 | /***/ }), 795 | 796 | /***/ "./resources/css/app.css": 797 | /*!*******************************!*\ 798 | !*** ./resources/css/app.css ***! 799 | \*******************************/ 800 | /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 801 | 802 | "use strict"; 803 | __webpack_require__.r(__webpack_exports__); 804 | // extracted by mini-css-extract-plugin 805 | 806 | 807 | /***/ }), 808 | 809 | /***/ "./resources/js/Pages lazy recursive ^\\.\\/.*$": 810 | /*!************************************************************!*\ 811 | !*** ./resources/js/Pages/ lazy ^\.\/.*$ namespace object ***! 812 | \************************************************************/ 813 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { 814 | 815 | var map = { 816 | "./About": [ 817 | "./resources/js/Pages/About.vue", 818 | "/js/vendor", 819 | "resources_js_Pages_About_vue" 820 | ], 821 | "./About.vue": [ 822 | "./resources/js/Pages/About.vue", 823 | "/js/vendor", 824 | "resources_js_Pages_About_vue" 825 | ], 826 | "./Contact": [ 827 | "./resources/js/Pages/Contact.vue", 828 | "/js/vendor", 829 | "resources_js_Pages_Contact_vue" 830 | ], 831 | "./Contact.vue": [ 832 | "./resources/js/Pages/Contact.vue", 833 | "/js/vendor", 834 | "resources_js_Pages_Contact_vue" 835 | ], 836 | "./Home": [ 837 | "./resources/js/Pages/Home.vue", 838 | "/js/vendor", 839 | "resources_js_Pages_Home_vue" 840 | ], 841 | "./Home.vue": [ 842 | "./resources/js/Pages/Home.vue", 843 | "/js/vendor", 844 | "resources_js_Pages_Home_vue" 845 | ] 846 | }; 847 | function webpackAsyncContext(req) { 848 | if(!__webpack_require__.o(map, req)) { 849 | return Promise.resolve().then(() => { 850 | var e = new Error("Cannot find module '" + req + "'"); 851 | e.code = 'MODULE_NOT_FOUND'; 852 | throw e; 853 | }); 854 | } 855 | 856 | var ids = map[req], id = ids[0]; 857 | return Promise.all(ids.slice(1).map(__webpack_require__.e)).then(() => { 858 | return __webpack_require__(id); 859 | }); 860 | } 861 | webpackAsyncContext.keys = () => (Object.keys(map)); 862 | webpackAsyncContext.id = "./resources/js/Pages lazy recursive ^\\.\\/.*$"; 863 | module.exports = webpackAsyncContext; 864 | 865 | /***/ }) 866 | 867 | }, 868 | /******/ __webpack_require__ => { // webpackRuntimeModules 869 | /******/ var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId)) 870 | /******/ __webpack_require__.O(0, ["css/app","/js/vendor"], () => (__webpack_exec__("./resources/js/app.js"), __webpack_exec__("./resources/css/app.css"))); 871 | /******/ var __webpack_exports__ = __webpack_require__.O(); 872 | /******/ } 873 | ]); --------------------------------------------------------------------------------