This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { isFunction } from "lodash-es"; | |
| class Cache { | |
| constructor(driver = 'local') { | |
| this.driver = driver; | |
| this.storage = driver === 'local' ? window.localStorage : null; | |
| } | |
| static local() { | |
| return new Cache('local'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace App\Support\Debug; | |
| use App\Concerns\Makeable; | |
| class AppDebug | |
| { | |
| use Makeable; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "slate": { | |
| "label": "Slate", | |
| "order": 1, | |
| "colors": { | |
| "50": { | |
| "hex": "#f8fafc", | |
| "rgb": "rgb(248, 250, 252)" | |
| }, | |
| "100": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div | |
| x-data="recaptcha()" | |
| x-init="init" | |
| @recaptcha.window="execute" | |
| ></div> | |
| @push('scripts') | |
| <script src="https://www.google.com/recaptcha/api.js?render=explicit"></script> | |
| <script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace App\Rules; | |
| use Illuminate\Contracts\Validation\Rule; | |
| class ImageMaliciousDetectionRule implements Rule | |
| { | |
| protected $malicious_keywords = [ |