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
| const axios = require('axios'); | |
| class Base { | |
| constructor(key, language, apiBase = null) { | |
| this.key = key; | |
| this.language = language; | |
| this.currentKeyIndex = 0; | |
| } | |
| getKey(keyStr) { |
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
| // out put current directory tree | |
| const fs = require('fs') | |
| const path = require('path') | |
| function outPageTitle() { | |
| const appjson = fs.readFileSync('./app.json', 'utf8') | |
| const appjsonObj = JSON.parse(appjson) | |
| const pages = appjsonObj.pages.concat( | |
| ...appjsonObj.subPackages.map((item) => { |
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
| <table role="presentation" align="center" border="0" cellspacing="0" cellpadding="0" width="100%" bgcolor="#EDF0F3" | |
| style="background-color:#edf0f3;table-layout:fixed"> | |
| <tbody> | |
| <tr> | |
| <td align="center"> | |
| <center style="width:100%"> | |
| <table role="presentation" border="0" class="m_-8216574913864069663phoenix-email-container" | |
| cellspacing="0" cellpadding="0" width="512" bgcolor="#FFFFFF" | |
| style="background-color:#ffffff;margin:0 auto;max-width:512px;width:inherit"> | |
| <tbody> |
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
| 010F00B400000A01020304050607083B00 |
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
| var iiiilIil = ["EsOoR8K4wpl0TMOcFcOlw5Y=", "PsK4Tw==", "CMOsXg==", "w4DCvjg0HsO3", "XAfClA==", "VjjCmAkKwobCpg==", "NVnCgl5EwpE=", "XgfCnnnDmDY=", "Vm0Fwoc=", "UsKRIj5kwrY=", "w5jDqBMcR8KAwodvwq1ew7Y=", "w60LN8ObF24tIA==", "w57Dh8OHZsK0w6bCjsKAwrQ=", "AsOELcOqwpouw6VLFEo6", "KMK/wqJBw4Y=", "OcKiRsKXw4YsTcOJMyc/wpcMwrY=", "U8KdIjBAwqzCjMOqw6bCpQc=", "EcOOFcOAwoM9", "w5jDqBMcZ8KAwodvwq1ew7Y=", "w5jCuTI4KMOswot1XGvDtA==", "YEYWMgduEcK5", "w5DCm8KpwqVUw4TCocOEwrbDgMOeQsO/TzIcfBtwDsK4w4HDsg==", "VMKCScKs", "fwMOw7YxJQ==", "Z1/DlT/DkBE3ZMOrHCtVwoHDu8OqL8Ki", "A8OFBcOgwosiw7ltEQ==", "w5rCsjY0G8Oq", "SsOGw77DsmF/bMKI", "w7bDksO8JhYpDk4zw5TCj0nClQ==", "w7B+Ti3Cig==", "wqDDgE/DriU=", "AMO9Q8Kdwo4=", "wqfDgcKhKUk5XQ==", "U8KdIjBgwqzCjMOqw6bCpQc=", "w6PCscKBwqzCoClo", "O8OOKsOBwoY=", "wrjDnhHCgA==", "w4UbFMKB", "BMO1UMKUwod0QMOBDQ==", "S2TCmgUC", "wqvDmgHCmyU=", "wqjDgcKo", "Q2oEwoB7", "dMK4XlHDkHM=", "w6F7TSk=", "wqXDhMOZBsOIwoQ=", "wqjCpsOiW8Kr", "w48aHMKdwqLCulk=", "w4rDq8OdUAw=", "wqrDjsOZEsOTwoDDuA==", "w7R8TC7CgQ= |
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 LOCALES from '~/lang/locales' | |
| const debug = require('debug')('auth:server:i18n:middleware') | |
| const DEFAULT_LOCALE = 'en' | |
| export default function (context) { | |
| const { app, store, route, error, redirect, hotReload, from } = context; | |
| // Check if middleware called from hot-reloading, ignore |
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 React from "react"; | |
| let ClassicEditor, CKEditor; | |
| if(__CLIENT__) { | |
| ClassicEditor = _ckeditor_ckeditor5BuildClassic; | |
| CKEditor = _ckeditor_ckeditor5React; | |
| } | |
| class MyUploadAdapter { | |
| loader: any; |
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 { useState } from "react"; | |
| import copy from "@utils/copy"; | |
| export default function useCopyClipboard( | |
| text: string | |
| ): [boolean, (v: boolean) => void] { | |
| const [isCopied, setIsCopied] = useState(false); | |
| return [ | |
| isCopied, | |
| (setcopy = true) => { |
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
| {"0":[[[322,102],[218,158],[170,292],[198,524],[320,562],[444,476],[458,286],[314,104]]],"1":[[[322,90],[262,528]]],"2":[[[172,180],[220,124],[328,140],[364,264],[156,500],[414,512]]],"3":[[[200,124],[320,110],[362,230],[244,282],[318,294],[368,376],[266,480],[200,426]]],"4":[[[312,88],[106,332],[484,364]],[[338,120],[278,494]]],"5":[[[212,78],[128,328],[276,318],[340,450],[250,508],[148,480]],[[224,106],[396,132]]],"6":[[[434,104],[334,138],[204,330],[238,494],[382,460],[372,314],[232,320]]],"7":[[[166,128],[426,150],[350,234],[266,510]]],"8":[[[406,188],[302,108],[212,186],[224,264],[364,398],[384,500],[252,540],[178,436],[404,190]]],"9":[[[390,142],[256,70],[172,172],[182,240],[274,264],[390,164],[278,516]]],"あ":[[[108,116],[498,136]],[[294,20],[290,402],[364,504]],[[448,206],[298,460],[164,480],[106,408],[172,298],[364,278],[480,344],[496,448],[456,500]]],"い":[[[112,126],[86,426],[134,518],[188,486]],[[426,132],[462,342],[416,434]]],"う":[[[204,70],[374,90]],[[146,242],[334,210],[412,278],[396,422],[270,55 |
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
| var fs = require('fs'); | |
| var path = require('path'); | |
| var _ = require('lodash'); | |
| var LineByLineReader = require('line-by-line'); | |
| var fsExistsSync = function(filepath, options) { | |
| options = options || {} | |
| if (!filepath) return false |