Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8d5646aeb3 | ||
|
|
07b0e422ff | ||
|
|
35325bfae2 | ||
|
|
c122d286dc | ||
|
|
66208d941d | ||
|
|
9cf6626efb | ||
|
|
69c87228af | ||
|
|
2502eae462 | ||
|
|
b0e0c2d09d | ||
|
|
5982b5a75f | ||
|
|
51966cb33f | ||
|
|
bfe8a3c860 | ||
|
|
ef17ff44af | ||
|
|
826228e939 | ||
|
|
b77519493d | ||
|
|
6a46d4cd09 | ||
|
|
382cbe33d3 | ||
|
|
e9b57c9c08 | ||
|
|
457242057d | ||
|
|
665f76701d | ||
|
|
258726fadb | ||
|
|
215a23c91d | ||
|
|
19ecc25852 | ||
|
|
0ae524f88c | ||
|
|
8bf16bfbd5 | ||
|
|
0acb7031d3 | ||
|
|
0ddc9a48aa | ||
|
|
3ac4d959d3 | ||
|
|
19de693298 | ||
|
|
46af79c2ae | ||
|
|
fd077a0d1a | ||
|
|
981e95b0d4 | ||
|
|
8883a59fcb | ||
|
|
662cb4b634 | ||
|
|
7269fdff7d | ||
|
|
710e892545 | ||
|
|
7dd5561faa | ||
|
|
d40a12d1f1 | ||
|
|
1170f422ec | ||
|
|
2639267e1f | ||
|
|
3b35adeae9 | ||
|
|
e8b6cd1588 | ||
|
|
0377f075be | ||
|
|
89034378fb | ||
|
|
9ae8601a32 | ||
|
|
61327401b0 | ||
|
|
94a017a878 | ||
|
|
eb3d1724e4 | ||
|
|
9d95834ebb |
No files matched your search
@@ -3,6 +3,7 @@ name: Release
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: ["main"]
|
branches: ["main"]
|
||||||
|
workflow_dispatch: {}
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.ref }}
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
|||||||
@@ -25,12 +25,12 @@ jobs:
|
|||||||
run: npm run update-deps
|
run: npm run update-deps
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm ci
|
run: npm i
|
||||||
|
|
||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
uses: peter-evans/create-pull-request@v5
|
uses: peter-evans/create-pull-request@v5
|
||||||
with:
|
with:
|
||||||
commit-message: "update dependencies"
|
commit-message: "update dependencies"
|
||||||
branch: shore/update-deps
|
branch: chore/update-deps
|
||||||
title: "[shore] update dependencies"
|
title: "[chore] update dependencies"
|
||||||
body: "Weekly pull request to update dependencies."
|
body: "Weekly pull request to update dependencies."
|
||||||
@@ -5,6 +5,29 @@ All notable changes to this project will be documented in this file.
|
|||||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
|
## [0.17.3] - 2023-12-13
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
- Xmas theme logo
|
||||||
|
|
||||||
|
## [0.17.2] - 2023-12-10
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
- Loading message
|
||||||
|
|
||||||
|
## [0.17.1] - 2023-12-08
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
- An instance test to make sure thumbnails are reachable
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- A rare error when video player is closed but does not have valid content
|
||||||
|
- A rare error that can occur with loading indicators causing a crash
|
||||||
|
|
||||||
## [0.17.0] - 2023-11-17
|
## [0.17.0] - 2023-11-17
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|||||||
@@ -8,6 +8,7 @@
|
|||||||
1090
|
1090
|
||||||
],
|
],
|
||||||
"diagnosticLevel": "error",
|
"diagnosticLevel": "error",
|
||||||
|
// The validation regex rules are validated using the validation-plugin.ts plugin
|
||||||
"validation": [
|
"validation": [
|
||||||
{
|
{
|
||||||
"code": "NO_SET_FOCUS",
|
"code": "NO_SET_FOCUS",
|
||||||
@@ -20,6 +21,12 @@
|
|||||||
"regex": "\\.observeField(scoped)?\\s*\\(\\s*\"\\w+\"\\s*,\\s*\"\\w+\"\\s*\\)",
|
"regex": "\\.observeField(scoped)?\\s*\\(\\s*\"\\w+\"\\s*,\\s*\"\\w+\"\\s*\\)",
|
||||||
"regexFlags": "ig",
|
"regexFlags": "ig",
|
||||||
"message": "observeField(\"field\", \"callback\") is not allowed. Use observeField(\"field\", FuncName(callback)) instead."
|
"message": "observeField(\"field\", \"callback\") is not allowed. Use observeField(\"field\", FuncName(callback)) instead."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"code": "NO_INVALID_CALLFUNC_ARG",
|
||||||
|
"regex": "@\\.\\w+\\(invalid\\)",
|
||||||
|
"regexFlags": "ig",
|
||||||
|
"message": "the arg invalid in @.func(invalid) is not needed. Just use @.func() instead."
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"files": [
|
"files": [
|
||||||
@@ -56,10 +63,5 @@
|
|||||||
"require": [
|
"require": [
|
||||||
"ts-node/register"
|
"ts-node/register"
|
||||||
],
|
],
|
||||||
"rokuLog": {
|
|
||||||
"insertPkgPath": true,
|
|
||||||
"removeComments": false,
|
|
||||||
"strip": false
|
|
||||||
},
|
|
||||||
"sourceMap": true
|
"sourceMap": true
|
||||||
}
|
}
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"extends": "bsconfig.base.json",
|
"extends": "bsconfig.base.jsonc",
|
||||||
"files": [
|
"files": [
|
||||||
"source/**",
|
"source/**",
|
||||||
"components/**",
|
"components/**",
|
||||||
@@ -256,7 +256,7 @@ The web app uses [Svelte](https://svelte.dev/), [Vite](https://vitejs.dev/) and
|
|||||||
|
|
||||||
Since modifying the web app code requires building all three projects (Playlet, Playlet lib, and Playlet web app) this makes the iteration speed very slow, and we lose the benefits of web development, such as hot reloads.
|
Since modifying the web app code requires building all three projects (Playlet, Playlet lib, and Playlet web app) this makes the iteration speed very slow, and we lose the benefits of web development, such as hot reloads.
|
||||||
|
|
||||||
For that reason, the recommended iteration when working on the dev app is:
|
For that reason, the recommended iteration when working on the web app is:
|
||||||
|
|
||||||
1. Start `Playlet (dev)` (by selecting `Playlet (dev)` and pressing Play in VS Code)
|
1. Start `Playlet (dev)` (by selecting `Playlet (dev)` and pressing Play in VS Code)
|
||||||
1. Once Playlet starts, switch to `Playlet Web (dev)` and press play. Do not stop `Playlet (dev)`
|
1. Once Playlet starts, switch to `Playlet Web (dev)` and press play. Do not stop `Playlet (dev)`
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ These are mostly the steps when releasing a new version:
|
|||||||
|
|
||||||
For releasing to the store (when needed), this is done following a Playlet lib release:
|
For releasing to the store (when needed), this is done following a Playlet lib release:
|
||||||
|
|
||||||
- Switch to main branch and pull changes - **match commit corresponding to the release.**
|
- Switch to main branch and pull changes, **including tags** - **match commit corresponding to the release.**
|
||||||
- `npm run build:release:ci`
|
- `npm run build:release:ci`
|
||||||
- This makes sure to have a valid app in the staging folder
|
- This makes sure to have a valid app in the staging folder
|
||||||
- `npm run sign-released-package`
|
- `npm run sign-released-package`
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ openapi: 3.0.0
|
|||||||
|
|
||||||
info:
|
info:
|
||||||
title: Playlet Web API
|
title: Playlet Web API
|
||||||
version: 0.17.0
|
version: 0.17.3
|
||||||
description:
|
description:
|
||||||
Playlet Web API is a RESTful API for controlling the Playlet app on
|
Playlet Web API is a RESTful API for controlling the Playlet app on
|
||||||
Roku devices. The API is intended to be used by the Playlet web app, but can
|
Roku devices. The API is intended to be used by the Playlet web app, but can
|
||||||
|
|||||||
@@ -9,6 +9,7 @@
|
|||||||
- [Bindings](#bindings)
|
- [Bindings](#bindings)
|
||||||
- [Async Task Generator](#async-task-generator)
|
- [Async Task Generator](#async-task-generator)
|
||||||
- [Tracking transpilied files](#tracking-transpilied-files)
|
- [Tracking transpilied files](#tracking-transpilied-files)
|
||||||
|
- [Logger](#logger)
|
||||||
|
|
||||||
Playlet implements a few [Brighterscript Plugins](https://github.com/rokucommunity/brighterscript/blob/master/docs/plugins.md). The plugins inject themselves in the compilation process, allowing the modification of bs scripts, xml components, and even assets or the app manifest. Let's start with a simple one:
|
Playlet implements a few [Brighterscript Plugins](https://github.com/rokucommunity/brighterscript/blob/master/docs/plugins.md). The plugins inject themselves in the compilation process, allowing the modification of bs scripts, xml components, and even assets or the app manifest. Let's start with a simple one:
|
||||||
|
|
||||||
@@ -427,7 +428,7 @@ myNode = CreateObject("roSGNode", "MyComponent")
|
|||||||
' Add it to the right parent
|
' Add it to the right parent
|
||||||
myParentNode.appendChild(myNode)
|
myParentNode.appendChild(myNode)
|
||||||
' Trigger the binding manually
|
' Trigger the binding manually
|
||||||
myNode@.BindNode(invalid)
|
myNode@.BindNode()
|
||||||
```
|
```
|
||||||
|
|
||||||
calling `BindNode` will trigger all the binding steps just for this node. But it is expected that all its dependencies are already in the scene and can be found.
|
calling `BindNode` will trigger all the binding steps just for this node. But it is expected that all its dependencies are already in the scene and can be found.
|
||||||
@@ -499,3 +500,40 @@ Additionally, if there's a folder `MyFolder` and `MyFolder.transpiled` in the so
|
|||||||
To reduce the noise of this plugin, it only runs when we're making a test build.
|
To reduce the noise of this plugin, it only runs when we're making a test build.
|
||||||
|
|
||||||
Because we continiously make test build in Github actions, the tracked transpilied files will be automatically added to PRs, so that we notice if outputs do not look right.
|
Because we continiously make test build in Github actions, the tracked transpilied files will be automatically added to PRs, so that we notice if outputs do not look right.
|
||||||
|
|
||||||
|
## Logger
|
||||||
|
|
||||||
|
**[Source](/tools/bs-plugins/logger-plugin.ts)**
|
||||||
|
|
||||||
|
### Why
|
||||||
|
|
||||||
|
The logger plugin does some code transformation to log calls, which can add caller path at compile time, or the filename, based on debug/release configuration.
|
||||||
|
|
||||||
|
### How
|
||||||
|
|
||||||
|
The logger plugin searches for calls to the predefined functions `LogError`, `LogWarn`, `LogInfo` and `LogDebug`. Once found, it does the following (we take `LogError` as an example):
|
||||||
|
|
||||||
|
- It replaces calls of `LogError` with `LogErrorX` where X is the number of arguments.
|
||||||
|
- For example, it replaces `LogError("Cannot complete operation:", error)` with `LogError2("Cannot complete operation:", error)`
|
||||||
|
- Based on usage, it generates `LogErrorX` functions used. Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
function LogError2(arg0, arg1) as void
|
||||||
|
logger = m.global.logger
|
||||||
|
if logger.logLevel < 0
|
||||||
|
return
|
||||||
|
end if
|
||||||
|
m.global.logger.logLine = "[ERROR]" + ToString(arg0) + " " + ToString(arg1)
|
||||||
|
end function
|
||||||
|
```
|
||||||
|
|
||||||
|
- Finally, it adds the caller file and line number to the args.
|
||||||
|
- `LogError("Cannot complete operation:", error)` is replaced with `LogError(CALLER, "Cannot complete operation:", error)`
|
||||||
|
- `CALLER` would be the full path to the source .bs file and line number, for easier debugging
|
||||||
|
- In release mode, `CALLER` would be only the file name and line number, without the full path. This is so that dev directory does not get "leaked" in releases.
|
||||||
|
|
||||||
|
This is implemented to make it easy to identify where logs came from, and to generate log functions with the right number of parameters based on usage. This way we do not need all combination of functions (`LogError`, `LogWarn`, `LogInfo` and `LogDebug` multiplied by number of parameters, `LogError1`, `LogError2`, `LogError3`, and so on). Since brightscript does not support function templates or function overloading, it is either this method, or use optional parameters (but then we would have to check which parameter was passed, and which was is using the default value.) and end up with a log function with logs of if's else'es.
|
||||||
|
|
||||||
|
To understand more about what's being generated, download `playlet-lib.zip` from [releases](https://github.com/iBicha/playlet/releases), extract, and inspect the file `source/utils/Logging.brs`. You will see it contains log functions in the form `LogVerbX`, that are generated based on usage.
|
||||||
|
|
||||||
|
To give credit where credit is due, some of the ideas here (like adding the source location to the log) came from [roku-log](https://github.com/georgejecook/roku-log)
|
||||||
@@ -1,39 +1,39 @@
|
|||||||
{
|
{
|
||||||
"name": "playlet",
|
"name": "playlet",
|
||||||
"version": "0.17.0",
|
"version": "0.17.3",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "playlet",
|
"name": "playlet",
|
||||||
"version": "0.17.0",
|
"version": "0.17.3",
|
||||||
"hasInstallScript": true,
|
"hasInstallScript": true,
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@rokucommunity/bslint": "^0.8.12",
|
"@rokucommunity/bslint": "^0.8.13",
|
||||||
"@types/crypto-js": "^4.2.1",
|
"@types/crypto-js": "^4.2.1",
|
||||||
"@types/fs-extra": "^11.0.4",
|
"@types/fs-extra": "^11.0.4",
|
||||||
"@types/node": "^20.9.0",
|
"@types/node": "^20.10.4",
|
||||||
"@types/xml2js": "^0.4.14",
|
"@types/xml2js": "^0.4.14",
|
||||||
"argparse": "^2.0.1",
|
"argparse": "^2.0.1",
|
||||||
"brighterscript": "^0.65.9",
|
"brighterscript": "0.65.13",
|
||||||
"brighterscript-formatter": "^1.6.35",
|
"brighterscript-formatter": "^1.6.36",
|
||||||
"convert-svg-to-png": "^0.6.4",
|
"convert-svg-to-png": "^0.6.4",
|
||||||
"cross-fetch": "^4.0.0",
|
"cross-fetch": "^4.0.0",
|
||||||
"crypto-js": "^4.2.0",
|
"crypto-js": "^4.2.0",
|
||||||
"dotenv": "^16.3.1",
|
"dotenv": "^16.3.1",
|
||||||
"express": "^4.18.2",
|
"express": "^4.18.2",
|
||||||
"fs-extra": "^11.1.1",
|
"fs-extra": "^11.2.0",
|
||||||
"glob": "^10.3.10",
|
"glob": "^10.3.10",
|
||||||
"imap": "^0.8.19",
|
"imap": "^0.8.19",
|
||||||
"ip": "^1.1.8",
|
"ip": "^1.1.8",
|
||||||
"json5": "^2.2.3",
|
"json5": "^2.2.3",
|
||||||
"mailparser": "^3.6.5",
|
"mailparser": "^3.6.5",
|
||||||
"roku-deploy": "^3.10.4",
|
"roku-deploy": "^3.11.1",
|
||||||
"rooibos-roku": "^5.8.0",
|
"rooibos-roku": "^5.8.0",
|
||||||
"semver": "^7.5.4",
|
"semver": "^7.5.4",
|
||||||
"shelljs": "^0.8.5",
|
"shelljs": "^0.8.5",
|
||||||
"ts-node": "^10.9.1",
|
"ts-node": "^10.9.2",
|
||||||
"typescript": "^5.2.2",
|
"typescript": "^5.3.3",
|
||||||
"xml2js": "^0.6.2",
|
"xml2js": "^0.6.2",
|
||||||
"yaml": "^2.3.4"
|
"yaml": "^2.3.4"
|
||||||
},
|
},
|
||||||
@@ -276,9 +276,9 @@
|
|||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"node_modules/@rokucommunity/bslint": {
|
"node_modules/@rokucommunity/bslint": {
|
||||||
"version": "0.8.12",
|
"version": "0.8.13",
|
||||||
"resolved": "https://registry.npmjs.org/@rokucommunity/bslint/-/bslint-0.8.12.tgz",
|
"resolved": "https://registry.npmjs.org/@rokucommunity/bslint/-/bslint-0.8.13.tgz",
|
||||||
"integrity": "sha512-0kU6sHpjEq51f54ajzscxzLT5Tq7SjF8FPszr7pRMSmUHHIDmTu5e1vDu8gS5UzWM+RGhXHqa3EXXt789B6sdQ==",
|
"integrity": "sha512-EC5tQdtRFTJxOo+9lnZz6yLcsyctuchCzUNJX391ZgCN0EKJTjGigyqTsdsFprINmr0pBojUiys/ZpS/Bv3ROQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"fs-extra": "^10.0.0",
|
"fs-extra": "^10.0.0",
|
||||||
@@ -370,9 +370,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@types/node": {
|
"node_modules/@types/node": {
|
||||||
"version": "20.9.0",
|
"version": "20.10.4",
|
||||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.9.0.tgz",
|
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.10.4.tgz",
|
||||||
"integrity": "sha512-nekiGu2NDb1BcVofVcEKMIwzlx4NjHlcjhoxxKBNLtz15Y1z7MYf549DFvkHSId02Ax6kGwWntIBPC3l/JZcmw==",
|
"integrity": "sha512-D08YG6rr8X90YB56tSIuBaddy/UXAA9RKJoFvrsnogAum/0pmjkgi4+2nx96A330FmioegBWmEYQ+syqCFaveg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"undici-types": "~5.26.4"
|
"undici-types": "~5.26.4"
|
||||||
@@ -728,9 +728,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/brighterscript": {
|
"node_modules/brighterscript": {
|
||||||
"version": "0.65.9",
|
"version": "0.65.13",
|
||||||
"resolved": "https://registry.npmjs.org/brighterscript/-/brighterscript-0.65.9.tgz",
|
"resolved": "https://registry.npmjs.org/brighterscript/-/brighterscript-0.65.13.tgz",
|
||||||
"integrity": "sha512-cjJmftkY+2A5HrGIbmRz2fylywEwj3+Y/EXeSx4TJsEvOW0/M61G5gHRdGyqPF/TMEGlPHGlTBAmPdOMi85+xw==",
|
"integrity": "sha512-f2Mvdpl+RRuVGLnwXvydpVjftSJl0n9L0HCBQlLZPQelksGV7n0ahIBcbPavqhXaZj/wB4wOKn2vQwWJI0G+tA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@rokucommunity/bslib": "^0.1.1",
|
"@rokucommunity/bslib": "^0.1.1",
|
||||||
@@ -756,7 +756,7 @@
|
|||||||
"parse-ms": "^2.1.0",
|
"parse-ms": "^2.1.0",
|
||||||
"readline": "^1.3.0",
|
"readline": "^1.3.0",
|
||||||
"require-relative": "^0.8.7",
|
"require-relative": "^0.8.7",
|
||||||
"roku-deploy": "^3.10.4",
|
"roku-deploy": "^3.11.1",
|
||||||
"serialize-error": "^7.0.1",
|
"serialize-error": "^7.0.1",
|
||||||
"source-map": "^0.7.4",
|
"source-map": "^0.7.4",
|
||||||
"vscode-languageserver": "7.0.0",
|
"vscode-languageserver": "7.0.0",
|
||||||
@@ -771,12 +771,12 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/brighterscript-formatter": {
|
"node_modules/brighterscript-formatter": {
|
||||||
"version": "1.6.35",
|
"version": "1.6.36",
|
||||||
"resolved": "https://registry.npmjs.org/brighterscript-formatter/-/brighterscript-formatter-1.6.35.tgz",
|
"resolved": "https://registry.npmjs.org/brighterscript-formatter/-/brighterscript-formatter-1.6.36.tgz",
|
||||||
"integrity": "sha512-OtExVLvgfZ7QlBDFpNqDUZQiSbO8sNO1l0wEfkspYJzPbhbhKYL2NEEL9OSTzUJYCrO/I8ZL7bo57ZGNQlcNBQ==",
|
"integrity": "sha512-f9Y3Re6egB1MCUftph8AT8RxWTtXmeMjwigRv1biNGmEuGeSOipoBnCbwY4U1CFz46L7W39/TL4n1JMV9URD6w==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"brighterscript": "^0.65.9",
|
"brighterscript": "^0.65.12",
|
||||||
"glob-all": "^3.3.0",
|
"glob-all": "^3.3.0",
|
||||||
"jsonc-parser": "^3.0.0",
|
"jsonc-parser": "^3.0.0",
|
||||||
"source-map": "^0.7.3",
|
"source-map": "^0.7.3",
|
||||||
@@ -2142,9 +2142,9 @@
|
|||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"node_modules/fs-extra": {
|
"node_modules/fs-extra": {
|
||||||
"version": "11.1.1",
|
"version": "11.2.0",
|
||||||
"resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.1.1.tgz",
|
"resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.2.0.tgz",
|
||||||
"integrity": "sha512-MGIE4HOvQCeUCzmlHs0vXpih4ysz4wg9qiSAu6cd42lVwPbTM1TjV7RusoyQqMmk/95gdQZX72u+YW+c3eEpFQ==",
|
"integrity": "sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"graceful-fs": "^4.2.0",
|
"graceful-fs": "^4.2.0",
|
||||||
@@ -3923,9 +3923,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/roku-deploy": {
|
"node_modules/roku-deploy": {
|
||||||
"version": "3.10.4",
|
"version": "3.11.1",
|
||||||
"resolved": "https://registry.npmjs.org/roku-deploy/-/roku-deploy-3.10.4.tgz",
|
"resolved": "https://registry.npmjs.org/roku-deploy/-/roku-deploy-3.11.1.tgz",
|
||||||
"integrity": "sha512-Drl0c78HjZejaC0zovm4f/pJRCw0DbbBzR5Pe+ADKlMfOSJuF4UvNaejJzgbTcGXKkeztgOBvu5xxpOL7gqhWQ==",
|
"integrity": "sha512-ri3eJKGyPMexI+pwvBQxpi6I7I3z9670yOidTcVEohpbYhXpnaIHnKdLb2l87kuC+iTtIEsElgmx3fyEdI5Cjg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"chalk": "^2.4.2",
|
"chalk": "^2.4.2",
|
||||||
@@ -4525,9 +4525,9 @@
|
|||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"node_modules/ts-node": {
|
"node_modules/ts-node": {
|
||||||
"version": "10.9.1",
|
"version": "10.9.2",
|
||||||
"resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.9.1.tgz",
|
"resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.9.2.tgz",
|
||||||
"integrity": "sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==",
|
"integrity": "sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@cspotcode/source-map-support": "^0.8.0",
|
"@cspotcode/source-map-support": "^0.8.0",
|
||||||
@@ -4599,9 +4599,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/typescript": {
|
"node_modules/typescript": {
|
||||||
"version": "5.2.2",
|
"version": "5.3.3",
|
||||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.2.2.tgz",
|
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.3.3.tgz",
|
||||||
"integrity": "sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==",
|
"integrity": "sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"bin": {
|
"bin": {
|
||||||
"tsc": "bin/tsc",
|
"tsc": "bin/tsc",
|
||||||
|
|||||||
@@ -1,33 +1,33 @@
|
|||||||
{
|
{
|
||||||
"name": "playlet",
|
"name": "playlet",
|
||||||
"version": "0.17.0",
|
"version": "0.17.3",
|
||||||
"description": "Unofficial Youtube client for Roku",
|
"description": "Unofficial Youtube client for Roku",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@rokucommunity/bslint": "^0.8.12",
|
"@rokucommunity/bslint": "^0.8.13",
|
||||||
"@types/crypto-js": "^4.2.1",
|
"@types/crypto-js": "^4.2.1",
|
||||||
"@types/fs-extra": "^11.0.4",
|
"@types/fs-extra": "^11.0.4",
|
||||||
"@types/node": "^20.9.0",
|
"@types/node": "^20.10.4",
|
||||||
"@types/xml2js": "^0.4.14",
|
"@types/xml2js": "^0.4.14",
|
||||||
"argparse": "^2.0.1",
|
"argparse": "^2.0.1",
|
||||||
"brighterscript": "^0.65.9",
|
"brighterscript": "0.65.13",
|
||||||
"brighterscript-formatter": "^1.6.35",
|
"brighterscript-formatter": "^1.6.36",
|
||||||
"convert-svg-to-png": "^0.6.4",
|
"convert-svg-to-png": "^0.6.4",
|
||||||
"cross-fetch": "^4.0.0",
|
"cross-fetch": "^4.0.0",
|
||||||
"crypto-js": "^4.2.0",
|
"crypto-js": "^4.2.0",
|
||||||
"dotenv": "^16.3.1",
|
"dotenv": "^16.3.1",
|
||||||
"express": "^4.18.2",
|
"express": "^4.18.2",
|
||||||
"fs-extra": "^11.1.1",
|
"fs-extra": "^11.2.0",
|
||||||
"glob": "^10.3.10",
|
"glob": "^10.3.10",
|
||||||
"imap": "^0.8.19",
|
"imap": "^0.8.19",
|
||||||
"ip": "^1.1.8",
|
"ip": "^1.1.8",
|
||||||
"json5": "^2.2.3",
|
"json5": "^2.2.3",
|
||||||
"mailparser": "^3.6.5",
|
"mailparser": "^3.6.5",
|
||||||
"roku-deploy": "^3.10.4",
|
"roku-deploy": "^3.11.1",
|
||||||
"rooibos-roku": "^5.8.0",
|
"rooibos-roku": "^5.8.0",
|
||||||
"semver": "^7.5.4",
|
"semver": "^7.5.4",
|
||||||
"shelljs": "^0.8.5",
|
"shelljs": "^0.8.5",
|
||||||
"ts-node": "^10.9.1",
|
"ts-node": "^10.9.2",
|
||||||
"typescript": "^5.2.2",
|
"typescript": "^5.3.3",
|
||||||
"xml2js": "^0.6.2",
|
"xml2js": "^0.6.2",
|
||||||
"yaml": "^2.3.4"
|
"yaml": "^2.3.4"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"extends": "../config/bsconfig.base.json",
|
"extends": "../config/bsconfig.base.jsonc",
|
||||||
"rootDir": "src/",
|
"rootDir": "src/",
|
||||||
"stagingDir": "../build/playlet-app",
|
"stagingDir": "../build/playlet-app",
|
||||||
"outFile": "../dist/playlet-app.zip"
|
"outFile": "../dist/playlet-app.zip"
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"extends": "../config/bsconfig.tests.base.json",
|
"extends": "../config/bsconfig.tests.base.jsonc",
|
||||||
"rootDir": "src/",
|
"rootDir": "src/",
|
||||||
"stagingDir": "../build/playlet-app-tests",
|
"stagingDir": "../build/playlet-app-tests",
|
||||||
"outFile": "../build/playlet-app-tests.zip"
|
"outFile": "../build/playlet-app-tests.zip"
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "playlet-app",
|
"name": "playlet-app",
|
||||||
"version": "0.17.0",
|
"version": "0.17.3",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "playlet-app",
|
"name": "playlet-app",
|
||||||
"version": "0.17.0"
|
"version": "0.17.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "playlet-app",
|
"name": "playlet-app",
|
||||||
"version": "0.17.0",
|
"version": "0.17.3",
|
||||||
"description": "Unofficial Youtube client for Roku",
|
"description": "Unofficial Youtube client for Roku",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prebuild": "rm -rf build/playlet-app",
|
"prebuild": "rm -rf build/playlet-app",
|
||||||
|
|||||||
@@ -1,13 +1,18 @@
|
|||||||
|
import "LoadingMessages.bs"
|
||||||
|
|
||||||
function Init() as void
|
function Init() as void
|
||||||
|
m.scene = m.top.getScene()
|
||||||
m.top.backgroundColor = "0x242424FF"
|
m.top.backgroundColor = "0x242424FF"
|
||||||
m.top.backgroundURI = ""
|
m.top.backgroundURI = ""
|
||||||
|
|
||||||
m.loadingIndicator = m.top.findNode("LoadingIndicator")
|
m.loadingIndicator = m.top.findNode("LoadingIndicator")
|
||||||
m.loadingIndicator.visible = true
|
|
||||||
m.global.addFields({
|
m.global.addFields({
|
||||||
loadingIndicator: m.loadingIndicator
|
loadingIndicator: m.loadingIndicator
|
||||||
})
|
})
|
||||||
|
|
||||||
|
m.loadingIndicator.visible = true
|
||||||
|
m.loadingIndicator.message = GetLoadingMessage()
|
||||||
|
|
||||||
m.playletLibUrls = GetPlayletLibUrls()
|
m.playletLibUrls = GetPlayletLibUrls()
|
||||||
m.playletLibUrlIndex = 0
|
m.playletLibUrlIndex = 0
|
||||||
|
|
||||||
@@ -42,14 +47,8 @@ function LoadPlayletLib() as void
|
|||||||
end if
|
end if
|
||||||
|
|
||||||
RemoveComponentLibrary()
|
RemoveComponentLibrary()
|
||||||
m.lib = m.top.getScene().createChild("ComponentLibrary")
|
|
||||||
' bs:disable-next-line NO_OBSERVE_STRING_CALLBACK
|
|
||||||
m.lib.observeField("loadStatus", "OnLoadStatusChanged")
|
|
||||||
|
|
||||||
uri = m.playletLibUrls[m.playletLibUrlIndex].link
|
uri = m.playletLibUrls[m.playletLibUrlIndex].link
|
||||||
' bs:disable-next-line LINT3012
|
LoadComponentLibrary(uri)
|
||||||
?"Loading Playlet lib from " uri
|
|
||||||
m.lib.uri = uri
|
|
||||||
end function
|
end function
|
||||||
|
|
||||||
function OnLoadStatusChanged() as void
|
function OnLoadStatusChanged() as void
|
||||||
@@ -58,9 +57,8 @@ function OnLoadStatusChanged() as void
|
|||||||
RemoveComponentLibrary()
|
RemoveComponentLibrary()
|
||||||
' bs:disable-next-line LINT3012
|
' bs:disable-next-line LINT3012
|
||||||
?"Playlet lib loaded from " libUrl.link
|
?"Playlet lib loaded from " libUrl.link
|
||||||
scene = m.top.getScene()
|
m.scene.playletLibLoadedUrl = libUrl
|
||||||
scene.playletLibLoadedUrl = libUrl
|
container = m.scene.findNode("MainSceneContainer")
|
||||||
container = scene.findNode("MainSceneContainer")
|
|
||||||
container.createChild("PlayletLib:MainScene")
|
container.createChild("PlayletLib:MainScene")
|
||||||
return
|
return
|
||||||
end if
|
end if
|
||||||
@@ -79,11 +77,20 @@ function RemoveComponentLibrary() as void
|
|||||||
return
|
return
|
||||||
end if
|
end if
|
||||||
|
|
||||||
scene = m.top.getScene()
|
m.lib.unobserveField("loadStatus")
|
||||||
scene.removeChild(m.lib)
|
m.scene.removeChild(m.lib)
|
||||||
m.lib = invalid
|
m.lib = invalid
|
||||||
end function
|
end function
|
||||||
|
|
||||||
|
function LoadComponentLibrary(uri as string)
|
||||||
|
m.lib = m.scene.createChild("ComponentLibrary")
|
||||||
|
' bs:disable-next-line NO_OBSERVE_STRING_CALLBACK
|
||||||
|
m.lib.observeField("loadStatus", "OnLoadStatusChanged")
|
||||||
|
' bs:disable-next-line LINT3012
|
||||||
|
?"Loading Playlet lib from " uri
|
||||||
|
m.lib.uri = uri
|
||||||
|
end function
|
||||||
|
|
||||||
function ShowPlayletLibLoadErrorDialog()
|
function ShowPlayletLibLoadErrorDialog()
|
||||||
message = [
|
message = [
|
||||||
"Could not load Playlet component library from any of the following urls:",
|
"Could not load Playlet component library from any of the following urls:",
|
||||||
|
|||||||
@@ -0,0 +1,41 @@
|
|||||||
|
function GetLoadingMessage() as string
|
||||||
|
messages = GetLoadingMessagesFromCache()
|
||||||
|
if messages = invalid or messages.count() = 0
|
||||||
|
messages = [
|
||||||
|
"Now loading Playlet...",
|
||||||
|
"One moment please...",
|
||||||
|
"Downloading the internet...",
|
||||||
|
"Unclogging the tubes...",
|
||||||
|
"Warming up the flux capacitor...",
|
||||||
|
"Loading, ehm, stuff...",
|
||||||
|
"Restoring quantum entanglement...",
|
||||||
|
"Searching for kitten videos...",
|
||||||
|
"One Mississippi... two Mississippi...",
|
||||||
|
"Checking the TV's extended warranty...",
|
||||||
|
"Deleting system32...",
|
||||||
|
"Updating: 3 hours 32 minutes remaining...",
|
||||||
|
"Asking ChatGPT for humorous loading messages...",
|
||||||
|
"Loading today's sponsor... NordVPN!",
|
||||||
|
"Don't worry, this is normal...",
|
||||||
|
"Don't forget to like and subscribe...",
|
||||||
|
"Shoveling coal into the server...",
|
||||||
|
"Counting down from infinity...",
|
||||||
|
]
|
||||||
|
end if
|
||||||
|
index = GetRandom(0, messages.count() - 1)
|
||||||
|
return messages[index]
|
||||||
|
end function
|
||||||
|
|
||||||
|
function GetLoadingMessagesFromCache() as object
|
||||||
|
messagesFile = ReadAsciiFile("cachefs:/loading_messages_v1.json")
|
||||||
|
if messagesFile = invalid or messagesFile = ""
|
||||||
|
return invalid
|
||||||
|
end if
|
||||||
|
return ParseJson(messagesFile)
|
||||||
|
end function
|
||||||
|
|
||||||
|
function GetRandom(min as integer, max as integer) as integer
|
||||||
|
dateTime = CreateObject("roDateTime")
|
||||||
|
random = Rnd(max) + dateTime.GetMilliseconds()
|
||||||
|
return min + (random mod (max - min + 1))
|
||||||
|
end function
|
||||||
@@ -1,4 +1,7 @@
|
|||||||
<component name="LoadingIndicator" extends="Group">
|
<component name="LoadingIndicator" extends="Group">
|
||||||
|
<interface>
|
||||||
|
<field id="message" type="string" alias="messageLabel.text" />
|
||||||
|
</interface>
|
||||||
<children>
|
<children>
|
||||||
<Rectangle
|
<Rectangle
|
||||||
width="1280"
|
width="1280"
|
||||||
@@ -9,6 +12,16 @@
|
|||||||
id="busySpinner"
|
id="busySpinner"
|
||||||
inheritParentOpacity="false"
|
inheritParentOpacity="false"
|
||||||
spinInterval="1" />
|
spinInterval="1" />
|
||||||
|
<Label
|
||||||
|
id="messageLabel"
|
||||||
|
inheritParentOpacity="false"
|
||||||
|
width="1280"
|
||||||
|
height="200"
|
||||||
|
horizAlign="center"
|
||||||
|
translation="[0,460]"
|
||||||
|
wrap="true">
|
||||||
|
<Font role="font" uri="font:SystemFontFile" size="28" />
|
||||||
|
</Label>
|
||||||
</Rectangle>
|
</Rectangle>
|
||||||
</children>
|
</children>
|
||||||
</component>
|
</component>
|
||||||
|
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 89 KiB |
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 67 KiB |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 37 KiB |
@@ -1,26 +1,5 @@
|
|||||||
{
|
{
|
||||||
inputHash: '0536f51fa72c2e4e368ea0e901aadfc1',
|
inputHash: "0536f51fa72c2e4e368ea0e901aadfc1",
|
||||||
outputs: [
|
// Temporarily removed outputs for chrismas theme
|
||||||
{
|
outputs: [],
|
||||||
outputFilePath: 'images/splash-screen_fhd.jpg',
|
|
||||||
outputHash: 'b15f3a3f1ccc459cbca12cb828b78d16',
|
|
||||||
width: 1920,
|
|
||||||
height: 1080,
|
|
||||||
background: '#242424',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
outputFilePath: 'images/splash-screen_hd.jpg',
|
|
||||||
outputHash: '25e9c4220f8a42101d6333e548e33aa8',
|
|
||||||
width: 1280,
|
|
||||||
height: 720,
|
|
||||||
background: '#242424',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
outputFilePath: 'images/splash-screen_sd.jpg',
|
|
||||||
outputHash: 'c54a2f7fa65f443263806962450f2c04',
|
|
||||||
width: 720,
|
|
||||||
height: 480,
|
|
||||||
background: '#242424',
|
|
||||||
},
|
|
||||||
],
|
|
||||||
}
|
}
|
||||||
@@ -3,7 +3,7 @@ title=Playlet
|
|||||||
# Do not update version manually, it is auto updated from package.json
|
# Do not update version manually, it is auto updated from package.json
|
||||||
major_version=0
|
major_version=0
|
||||||
minor_version=17
|
minor_version=17
|
||||||
build_version=00000
|
build_version=00003
|
||||||
|
|
||||||
ui_resolutions=hd
|
ui_resolutions=hd
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
function ShowErrorDialog(message as object, bulletText as object, bottomMessage as object)
|
function ShowErrorDialog(message as object, bulletText as object, bottomMessage as object)
|
||||||
' TODO:P2 a null check on StandardMessageDialog, only available on 10.0 and later
|
' Note: dialog can be null since StandardMessageDialog is only available on 10.0 and later
|
||||||
dialog = CreateObject("roSGNode", "StandardMessageDialog")
|
dialog = CreateObject("roSGNode", "StandardMessageDialog")
|
||||||
dialog.message = message
|
dialog.message = message
|
||||||
dialog.bulletText = bulletText
|
dialog.bulletText = bulletText
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"extends": "../config/bsconfig.base.json",
|
"extends": "../config/bsconfig.base.jsonc",
|
||||||
"rootDir": "src/",
|
"rootDir": "src/",
|
||||||
"stagingDir": "../build/playlet-lib",
|
"stagingDir": "../build/playlet-lib",
|
||||||
"outFile": "../dist/playlet-lib.zip"
|
"outFile": "../dist/playlet-lib.zip"
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"extends": "../config/bsconfig.tests.base.json",
|
"extends": "../config/bsconfig.tests.base.jsonc",
|
||||||
"rootDir": "src/",
|
"rootDir": "src/",
|
||||||
"stagingDir": "../build/playlet-lib-tests",
|
"stagingDir": "../build/playlet-lib-tests",
|
||||||
"outFile": "../build/playlet-lib-tests.zip"
|
"outFile": "../build/playlet-lib-tests.zip"
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "playlet-lib",
|
"name": "playlet-lib",
|
||||||
"version": "0.17.0",
|
"version": "0.17.3",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "playlet-lib",
|
"name": "playlet-lib",
|
||||||
"version": "0.17.0"
|
"version": "0.17.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "playlet-lib",
|
"name": "playlet-lib",
|
||||||
"version": "0.17.0",
|
"version": "0.17.3",
|
||||||
"description": "Unofficial Youtube client for Roku",
|
"description": "Unofficial Youtube client for Roku",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prebuild": "rm -rf build/playlet-lib",
|
"prebuild": "rm -rf build/playlet-lib",
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ function ShowRootScreen(screenName as string) as void
|
|||||||
' insert child at 0 to make sure it is behind the navbar
|
' insert child at 0 to make sure it is behind the navbar
|
||||||
m.root.insertChild(screen, 0)
|
m.root.insertChild(screen, 0)
|
||||||
if screen.hasField("binding_done")
|
if screen.hasField("binding_done")
|
||||||
screen@.BindNode(invalid)
|
screen@.BindNode()
|
||||||
end if
|
end if
|
||||||
end if
|
end if
|
||||||
screen = m.screens[screenName]
|
screen = m.screens[screenName]
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ namespace ChannelUtils
|
|||||||
appController = m.appController
|
appController = m.appController
|
||||||
end if
|
end if
|
||||||
appController@.PushScreen(channelView)
|
appController@.PushScreen(channelView)
|
||||||
channelView@.BindNode(invalid)
|
channelView@.BindNode()
|
||||||
channelView.content = contentNode
|
channelView.content = contentNode
|
||||||
end function
|
end function
|
||||||
end namespace
|
end namespace
|
||||||
@@ -21,7 +21,7 @@ function Init()
|
|||||||
m.rowList.focusable = true
|
m.rowList.focusable = true
|
||||||
m.rowList.screen = m.top
|
m.rowList.screen = m.top
|
||||||
|
|
||||||
DisposableObserveField(m.banner, "loadStatus", FuncName(OnBannerLoadStatus))
|
DisposableObserveFieldScoped(m.banner, "loadStatus", FuncName(OnBannerLoadStatus))
|
||||||
m.author = ""
|
m.author = ""
|
||||||
m.authorId = ""
|
m.authorId = ""
|
||||||
|
|
||||||
@@ -29,13 +29,13 @@ function Init()
|
|||||||
end function
|
end function
|
||||||
|
|
||||||
function OnNodeready()
|
function OnNodeready()
|
||||||
m.rowList@.BindNode(invalid)
|
m.rowList@.BindNode()
|
||||||
|
|
||||||
SetNavigation(m.rowList, "up", m.subscribeButton)
|
SetNavigation(m.rowList, "up", m.subscribeButton)
|
||||||
SetNavigation(m.subscribeButton, "down", m.rowList)
|
SetNavigation(m.subscribeButton, "down", m.rowList)
|
||||||
|
|
||||||
m.subscribeButton.text = "Subscribe"
|
m.subscribeButton.text = "Subscribe"
|
||||||
DisposableObserveField(m.subscribeButton, "buttonSelected", FuncName(OnSubscribeButtonSelected))
|
DisposableObserveFieldScoped(m.subscribeButton, "buttonSelected", FuncName(OnSubscribeButtonSelected))
|
||||||
|
|
||||||
SetSubscribeButtonVisibility()
|
SetSubscribeButtonVisibility()
|
||||||
DisposableObserveFieldScoped(m.invidious, "authToken", FuncName(SetSubscribeButtonVisibility))
|
DisposableObserveFieldScoped(m.invidious, "authToken", FuncName(SetSubscribeButtonVisibility))
|
||||||
@@ -115,13 +115,17 @@ function OnkeyEvent(key as string, press as boolean) as boolean
|
|||||||
end function
|
end function
|
||||||
|
|
||||||
function Close()
|
function Close()
|
||||||
m.appController@.PopScreen(invalid)
|
m.appController@.PopScreen()
|
||||||
m.top.dispose = true
|
m.top.dispose = true
|
||||||
end function
|
end function
|
||||||
|
|
||||||
function OnDispose()
|
function OnDispose()
|
||||||
m.rowList.dispose = true
|
m.rowList.dispose = true
|
||||||
DisposeObservers()
|
DisposeObservers()
|
||||||
|
if m.subscribeTask <> invalid
|
||||||
|
m.subscribeTask.cancel = true
|
||||||
|
m.subscribeTask = invalid
|
||||||
|
end if
|
||||||
end function
|
end function
|
||||||
|
|
||||||
function OnSubscribeButtonSelected()
|
function OnSubscribeButtonSelected()
|
||||||
|
|||||||
@@ -3,8 +3,8 @@ import "pkg:/source/utils/Logging.bs"
|
|||||||
import "pkg:/source/utils/StringUtils.bs"
|
import "pkg:/source/utils/StringUtils.bs"
|
||||||
import "pkg:/source/utils/Types.bs"
|
import "pkg:/source/utils/Types.bs"
|
||||||
|
|
||||||
' TODO:P0 Web app support
|
' TODO:P1 Web app support
|
||||||
' TODO:P0 Web apis and open api spec updates
|
' TODO:P1 Web apis and open api spec updates
|
||||||
'
|
'
|
||||||
' From the main screen:
|
' From the main screen:
|
||||||
' When a video is selected:
|
' When a video is selected:
|
||||||
@@ -167,5 +167,5 @@ function OnkeyEvent(key as string, press as boolean) as boolean
|
|||||||
end function
|
end function
|
||||||
|
|
||||||
function Close()
|
function Close()
|
||||||
m.top.appController@.PopScreen(invalid)
|
m.top.appController@.PopScreen()
|
||||||
end function
|
end function
|
||||||
@@ -19,7 +19,7 @@ namespace ContextMenuUtils
|
|||||||
ContextMenuUtils.SetItem(contextMenu, item)
|
ContextMenuUtils.SetItem(contextMenu, item)
|
||||||
contextMenu.options = options
|
contextMenu.options = options
|
||||||
|
|
||||||
contextMenu@.Show(invalid)
|
contextMenu@.Show()
|
||||||
return contextMenu
|
return contextMenu
|
||||||
end function
|
end function
|
||||||
|
|
||||||
|
|||||||
@@ -12,9 +12,9 @@ function Init()
|
|||||||
end function
|
end function
|
||||||
|
|
||||||
function OnNodeReady()
|
function OnNodeReady()
|
||||||
address = m.webserver@.GetServerAddress(invalid)
|
address = m.webserver@.GetServerAddress()
|
||||||
isValidIp = not StringUtils.IsNullOrEmpty(address)
|
isValidAddress = not StringUtils.IsNullOrEmpty(address)
|
||||||
if isValidIp
|
if isValidAddress
|
||||||
m.top.url = `${address}/invidious/login`
|
m.top.url = `${address}/invidious/login`
|
||||||
else
|
else
|
||||||
m.urlLabel.text = "No IP address found"
|
m.urlLabel.text = "No IP address found"
|
||||||
|
|||||||
@@ -16,9 +16,10 @@ function MainSceneContainerChanged()
|
|||||||
HideLoadingScreen()
|
HideLoadingScreen()
|
||||||
InitEcpArgs()
|
InitEcpArgs()
|
||||||
m.scene.signalBeacon("AppLaunchComplete")
|
m.scene.signalBeacon("AppLaunchComplete")
|
||||||
|
CopyLoadingMessagesToCache()
|
||||||
end function
|
end function
|
||||||
|
|
||||||
function StartWebServer()
|
function StartWebServer()
|
||||||
m.webServer = m.top.findNode("WebServer")
|
m.webServer = m.top.findNode("WebServer")
|
||||||
m.webServer@.StartServer(invalid)
|
m.webServer@.StartServer()
|
||||||
end function
|
end function
|
||||||
@@ -17,6 +17,7 @@ function MainSceneContainerChanged()
|
|||||||
HideLoadingScreen()
|
HideLoadingScreen()
|
||||||
InitEcpArgs()
|
InitEcpArgs()
|
||||||
m.scene.signalBeacon("AppLaunchComplete")
|
m.scene.signalBeacon("AppLaunchComplete")
|
||||||
|
CopyLoadingMessagesToCache()
|
||||||
end function
|
end function
|
||||||
|
|
||||||
function StartWebServer()
|
function StartWebServer()
|
||||||
|
|||||||
@@ -47,6 +47,18 @@ function PopulateButtons() as void
|
|||||||
m.top.focusable = buttons.Count() > 0
|
m.top.focusable = buttons.Count() > 0
|
||||||
|
|
||||||
m.top.focusIndex = m.top.focusIndex
|
m.top.focusIndex = m.top.focusIndex
|
||||||
|
|
||||||
|
CenterButtons()
|
||||||
|
end function
|
||||||
|
|
||||||
|
function CenterButtons()
|
||||||
|
parent = m.buttonGroup.getParent()
|
||||||
|
parentWidth = parent.width
|
||||||
|
parentHeight = parent.height
|
||||||
|
|
||||||
|
rect = m.buttonGroup.boundingRect()
|
||||||
|
|
||||||
|
m.buttonGroup.translation = [parentWidth / 2 - rect.width / 2, parentHeight / 2 - rect.height / 2]
|
||||||
end function
|
end function
|
||||||
|
|
||||||
function onKeyEvent(key as string, press as boolean) as boolean
|
function onKeyEvent(key as string, press as boolean) as boolean
|
||||||
|
|||||||
@@ -61,11 +61,11 @@ function OnkeyEvent(key as string, press as boolean) as boolean
|
|||||||
end function
|
end function
|
||||||
|
|
||||||
function Close()
|
function Close()
|
||||||
m.top.appController@.PopScreen(invalid)
|
m.top.appController@.PopScreen()
|
||||||
end function
|
end function
|
||||||
|
|
||||||
function OnClearButtonSelected()
|
function OnClearButtonSelected()
|
||||||
m.top.playQueue@.Clear(invalid)
|
m.top.playQueue@.Clear()
|
||||||
end function
|
end function
|
||||||
|
|
||||||
function OnItemSelected() as void
|
function OnItemSelected() as void
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ namespace PlayQueueViewUtils
|
|||||||
playQueueView.jumpToItem = index
|
playQueueView.jumpToItem = index
|
||||||
end if
|
end if
|
||||||
|
|
||||||
playQueueView@.Show(invalid)
|
playQueueView@.Show()
|
||||||
return playQueueView
|
return playQueueView
|
||||||
end function
|
end function
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ namespace PlaylistUtils
|
|||||||
appController = m.appController
|
appController = m.appController
|
||||||
end if
|
end if
|
||||||
appController@.PushScreen(playlistView)
|
appController@.PushScreen(playlistView)
|
||||||
playlistView@.BindNode(invalid)
|
playlistView@.BindNode()
|
||||||
playlistView.content = contentNode
|
playlistView.content = contentNode
|
||||||
end function
|
end function
|
||||||
end namespace
|
end namespace
|
||||||
@@ -91,9 +91,10 @@ end function
|
|||||||
function Close()
|
function Close()
|
||||||
if m.playlistLoadTask <> invalid
|
if m.playlistLoadTask <> invalid
|
||||||
m.playlistLoadTask.cancel = true
|
m.playlistLoadTask.cancel = true
|
||||||
|
m.playlistLoadTask = invalid
|
||||||
end if
|
end if
|
||||||
|
|
||||||
m.appController@.PopScreen(invalid)
|
m.appController@.PopScreen()
|
||||||
end function
|
end function
|
||||||
|
|
||||||
function OnItemFocused()
|
function OnItemFocused()
|
||||||
|
|||||||
@@ -1,22 +1,38 @@
|
|||||||
import "pkg:/source/asyncTask/asyncTask.bs"
|
import "pkg:/source/asyncTask/asyncTask.bs"
|
||||||
|
|
||||||
function Init()
|
function Init()
|
||||||
m.displayNames = {
|
' TODO:P2 Add tooltip to each field with description of what it means
|
||||||
"version": "Playlet Version",
|
m.displayNames = [{
|
||||||
"lib_version": "Playlet Library Version",
|
key: "app_version",
|
||||||
"lib_version_latest": "Playlet Library Latest Version",
|
displayText: "Playlet App Version"
|
||||||
"lib_url": "Playlet Library URL",
|
}, {
|
||||||
"lib_url_type": "Playlet Library URL Type",
|
key: "lib_version",
|
||||||
"git_commit_hash": "Playlet Git Commit Hash",
|
displayText: "Playlet Library Version"
|
||||||
"lib_git_commit_hash": "Playlet Library Git Commit Hash",
|
}, {
|
||||||
"id": "App ID"
|
key: "lib_version_latest",
|
||||||
}
|
displayText: "Playlet Library Latest Version"
|
||||||
|
}, {
|
||||||
|
key: "lib_url",
|
||||||
|
displayText: "Playlet Library URL"
|
||||||
|
}, {
|
||||||
|
key: "lib_url_type",
|
||||||
|
displayText: "Playlet Library URL Type"
|
||||||
|
}, {
|
||||||
|
key: "app_git_commit_hash",
|
||||||
|
displayText: "Playlet App Git Commit Hash"
|
||||||
|
}, {
|
||||||
|
key: "lib_git_commit_hash",
|
||||||
|
displayText: "Playlet Library Git Commit Hash"
|
||||||
|
}, {
|
||||||
|
key: "id",
|
||||||
|
displayText: "App ID"
|
||||||
|
}]
|
||||||
|
|
||||||
m.keyValueList = m.top.findNode("KeyValueListContent")
|
m.keyValueList = m.top.findNode("KeyValueListContent")
|
||||||
end function
|
end function
|
||||||
|
|
||||||
function OnNodeReady()
|
function OnNodeReady()
|
||||||
m.appInfo = m.applicationInfo@.GetAppInfo(invalid)
|
m.appInfo = m.applicationInfo@.GetAppInfo()
|
||||||
|
|
||||||
UpdateKeyValueList()
|
UpdateKeyValueList()
|
||||||
|
|
||||||
@@ -35,8 +51,8 @@ function UpdateKeyValueList()
|
|||||||
m.keyValueList.removeChildIndex(0)
|
m.keyValueList.removeChildIndex(0)
|
||||||
end while
|
end while
|
||||||
|
|
||||||
for each item in m.appInfo
|
for each item in m.displayNames
|
||||||
value = `${m.displayNames[item]}: ${m.appInfo[item]}`
|
value = `${item.displayText}: ${m.appInfo[item.key]}`
|
||||||
contentNode = m.keyValueList.createChild("ContentNode")
|
contentNode = m.keyValueList.createChild("ContentNode")
|
||||||
contentNode.title = value
|
contentNode.title = value
|
||||||
end for
|
end for
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ function OnNodeReady()
|
|||||||
SetNavigation(invalid, "back", m.navBar)
|
SetNavigation(invalid, "back", m.navBar)
|
||||||
SetNavigation(invalid, "left", m.navBar)
|
SetNavigation(invalid, "left", m.navBar)
|
||||||
|
|
||||||
m.rowList@.BindNode(invalid)
|
m.rowList@.BindNode()
|
||||||
|
|
||||||
OnBookmarksChange()
|
OnBookmarksChange()
|
||||||
m.bookmarks.ObserveField("contentChange", FuncName(OnBookmarksChange))
|
m.bookmarks.ObserveField("contentChange", FuncName(OnBookmarksChange))
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ function OnNodeReady()
|
|||||||
SetNavigation(invalid, "back", m.navBar)
|
SetNavigation(invalid, "back", m.navBar)
|
||||||
SetNavigation(invalid, "left", m.navBar)
|
SetNavigation(invalid, "left", m.navBar)
|
||||||
|
|
||||||
m.rowList@.BindNode(invalid)
|
m.rowList@.BindNode()
|
||||||
m.rowList.feeds = ParseJson(ReadAsciiFile(m.top.feedFile))
|
m.rowList.feeds = ParseJson(ReadAsciiFile(m.top.feedFile))
|
||||||
end function
|
end function
|
||||||
|
|
||||||
|
|||||||
@@ -266,5 +266,5 @@ function OnkeyEvent(key as string, press as boolean) as boolean
|
|||||||
end function
|
end function
|
||||||
|
|
||||||
function Close()
|
function Close()
|
||||||
m.appController@.PopScreen(invalid)
|
m.appController@.PopScreen()
|
||||||
end function
|
end function
|
||||||
@@ -6,6 +6,7 @@ import "pkg:/source/utils/ErrorUtils.bs"
|
|||||||
import "pkg:/source/utils/FocusManagement.bs"
|
import "pkg:/source/utils/FocusManagement.bs"
|
||||||
import "pkg:/source/utils/LoadingScreen.bs"
|
import "pkg:/source/utils/LoadingScreen.bs"
|
||||||
import "pkg:/source/utils/Logging.bs"
|
import "pkg:/source/utils/Logging.bs"
|
||||||
|
import "pkg:/source/utils/UrlUtils.bs"
|
||||||
|
|
||||||
function Init()
|
function Init()
|
||||||
m.top.focusable = true
|
m.top.focusable = true
|
||||||
@@ -35,7 +36,7 @@ function Init()
|
|||||||
end function
|
end function
|
||||||
|
|
||||||
function OnNodeReady()
|
function OnNodeReady()
|
||||||
m.rowlist@.BindNode(invalid)
|
m.rowlist@.BindNode()
|
||||||
m.keyboard.ObserveField("text", FuncName(OnTextChange))
|
m.keyboard.ObserveField("text", FuncName(OnTextChange))
|
||||||
m.suggestions.ObserveField("buttonFocused", FuncName(OnSearchButtonFocused))
|
m.suggestions.ObserveField("buttonFocused", FuncName(OnSearchButtonFocused))
|
||||||
m.suggestions.ObserveField("buttonSelected", FuncName(OnSearchButtonSelected))
|
m.suggestions.ObserveField("buttonSelected", FuncName(OnSearchButtonSelected))
|
||||||
@@ -150,7 +151,7 @@ function OnFiltersButtonSelected()
|
|||||||
searchFilters = CreateObject("roSGNode", "SearchFilters")
|
searchFilters = CreateObject("roSGNode", "SearchFilters")
|
||||||
m.appController@.PushScreen(searchFilters)
|
m.appController@.PushScreen(searchFilters)
|
||||||
searchFilters.searchScreen = m.top
|
searchFilters.searchScreen = m.top
|
||||||
searchFilters@.BindNode(invalid)
|
searchFilters@.BindNode()
|
||||||
end function
|
end function
|
||||||
|
|
||||||
function OnSearchButtonSelected()
|
function OnSearchButtonSelected()
|
||||||
@@ -220,11 +221,9 @@ function Search(text as string)
|
|||||||
if IsString(value) and value.len() > 0
|
if IsString(value) and value.len() > 0
|
||||||
feedSource.queryParams[filter] = value
|
feedSource.queryParams[filter] = value
|
||||||
else if IsArray(value) and value.Count() > 0
|
else if IsArray(value) and value.Count() > 0
|
||||||
' TODO:P1 this is http client implementation details leaking
|
|
||||||
' We need a declarative way to set array types
|
|
||||||
feedSource.queryParams[filter] = {
|
feedSource.queryParams[filter] = {
|
||||||
value: value,
|
value: value,
|
||||||
__arrayType: HttpClient.QueryParamArrayType.CommaSeparated
|
arrayType: UrlUtils.QueryParamArrayType.CommaSeparated
|
||||||
}
|
}
|
||||||
end if
|
end if
|
||||||
end for
|
end for
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ end function
|
|||||||
function OpenInvidiousInstanceSettings()
|
function OpenInvidiousInstanceSettings()
|
||||||
settings = CreateObject("roSGNode", "InvidiousInstanceSettings")
|
settings = CreateObject("roSGNode", "InvidiousInstanceSettings")
|
||||||
m.appController@.PushScreen(settings)
|
m.appController@.PushScreen(settings)
|
||||||
settings@.BindNode(invalid)
|
settings@.BindNode()
|
||||||
settings.text = m.top.value
|
settings.text = m.top.value
|
||||||
settings.observeField("save", FuncName(OnSaveInvidiousInstance))
|
settings.observeField("save", FuncName(OnSaveInvidiousInstance))
|
||||||
end function
|
end function
|
||||||
|
|||||||
@@ -70,7 +70,7 @@ end function
|
|||||||
function OnTestButtonSelected()
|
function OnTestButtonSelected()
|
||||||
testing = CreateObject("roSGNode", "InvidiousInstanceTesting")
|
testing = CreateObject("roSGNode", "InvidiousInstanceTesting")
|
||||||
m.appController@.PushScreen(testing)
|
m.appController@.PushScreen(testing)
|
||||||
testing@.BindNode(invalid)
|
testing@.BindNode()
|
||||||
testing.instance = m.top.text
|
testing.instance = m.top.text
|
||||||
testing.run = true
|
testing.run = true
|
||||||
end function
|
end function
|
||||||
@@ -103,5 +103,5 @@ function OnSaveButtonSelected()
|
|||||||
end function
|
end function
|
||||||
|
|
||||||
function Close()
|
function Close()
|
||||||
m.appController@.PopScreen(invalid)
|
m.appController@.PopScreen()
|
||||||
end function
|
end function
|
||||||
@@ -47,7 +47,7 @@ function Close()
|
|||||||
m.testingTask.cancel = true
|
m.testingTask.cancel = true
|
||||||
end if
|
end if
|
||||||
|
|
||||||
m.appController@.PopScreen(invalid)
|
m.appController@.PopScreen()
|
||||||
end function
|
end function
|
||||||
|
|
||||||
function RunTestsTask()
|
function RunTestsTask()
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
import "pkg:/components/Services/Invidious/InvidiousService.bs"
|
import "pkg:/components/Services/Invidious/InvidiousService.bs"
|
||||||
|
import "pkg:/components/Services/Invidious/InvidiousToContentNode.bs"
|
||||||
import "pkg:/source/services/HttpClient.bs"
|
import "pkg:/source/services/HttpClient.bs"
|
||||||
import "pkg:/source/utils/ErrorUtils.bs"
|
import "pkg:/source/utils/ErrorUtils.bs"
|
||||||
import "pkg:/source/utils/StringUtils.bs"
|
import "pkg:/source/utils/StringUtils.bs"
|
||||||
@@ -29,6 +30,7 @@ function PrepareTests() as object
|
|||||||
content.AppendChild(CreateTestNode("Fetch video details", CanFetchVideoDetails))
|
content.AppendChild(CreateTestNode("Fetch video details", CanFetchVideoDetails))
|
||||||
content.AppendChild(CreateTestNode("Fetch video comments", CanFetchVideoComments))
|
content.AppendChild(CreateTestNode("Fetch video comments", CanFetchVideoComments))
|
||||||
content.AppendChild(CreateTestNode("Fetch video captions", CanFetchVideoCaptions))
|
content.AppendChild(CreateTestNode("Fetch video captions", CanFetchVideoCaptions))
|
||||||
|
content.AppendChild(CreateTestNode("Fetch video thumbnails", CanFetchVideoThumbails))
|
||||||
return content
|
return content
|
||||||
end function
|
end function
|
||||||
|
|
||||||
@@ -251,3 +253,61 @@ function CanFetchVideoCaptions(instance as string, testNode as object) as void
|
|||||||
testNode.details = ErrorUtils.Format(e)
|
testNode.details = ErrorUtils.Format(e)
|
||||||
end try
|
end try
|
||||||
end function
|
end function
|
||||||
|
|
||||||
|
function CanFetchVideoThumbails(instance as string, testNode as object) as void
|
||||||
|
try
|
||||||
|
videoId = "jNQXAC9IVRw"
|
||||||
|
url = `${instance}${Invidious.VIDEOS_ENDPOINT}/${videoId}`
|
||||||
|
response = HttpClient.Get(url).NoCache().Await()
|
||||||
|
|
||||||
|
if not response.IsSuccess()
|
||||||
|
testNode.state = "failed"
|
||||||
|
testNode.details = response.ErrorMessage()
|
||||||
|
return
|
||||||
|
end if
|
||||||
|
|
||||||
|
json = response.Json()
|
||||||
|
if json = invalid
|
||||||
|
testNode.state = "failed"
|
||||||
|
testNode.details = `Invalid json from ${url}`
|
||||||
|
return
|
||||||
|
end if
|
||||||
|
|
||||||
|
videoThumbnails = json.videoThumbnails
|
||||||
|
if not IsArray(videoThumbnails) or videoThumbnails.Count() = 0
|
||||||
|
testNode.state = "failed"
|
||||||
|
testNode.details = `No thumbnails found in json from ${url}`
|
||||||
|
return
|
||||||
|
end if
|
||||||
|
|
||||||
|
contentNode = InvidiousContent.ToVideoContentNode(invalid, json, instance)
|
||||||
|
thumbnail = contentNode.thumbnail
|
||||||
|
if StringUtils.IsNullOrEmpty(thumbnail)
|
||||||
|
testNode.state = "failed"
|
||||||
|
testNode.details = `No thumbnail found in json from ${url}`
|
||||||
|
return
|
||||||
|
end if
|
||||||
|
|
||||||
|
' Note: we could do a HEAD request, but Invidious returns 200 even for invalid thumbnails
|
||||||
|
' To make sure we don't get a 200 for an invalid thumbnail, we do a GET request instead
|
||||||
|
response = HttpClient.Get(thumbnail).NoCache().Await()
|
||||||
|
if not response.IsSuccess()
|
||||||
|
testNode.state = "failed"
|
||||||
|
testNode.details = `${thumbnail} is not reachable\n${response.ErrorMessage(false)}`
|
||||||
|
return
|
||||||
|
end if
|
||||||
|
|
||||||
|
contentType = response.Headers()["Content-Type"]
|
||||||
|
if StringUtils.IsNullOrEmpty(contentType) or not contentType.StartsWith("image/")
|
||||||
|
testNode.state = "failed"
|
||||||
|
testNode.details = `Invalid thumbnail data ${thumbnail} (Content-Type is not image/*)`
|
||||||
|
return
|
||||||
|
end if
|
||||||
|
|
||||||
|
testNode.state = "passed"
|
||||||
|
testNode.details = `The instance can fetch video thumbnail for id "${videoId}" (${thumbnail})`
|
||||||
|
catch e
|
||||||
|
testNode.state = "failed"
|
||||||
|
testNode.details = ErrorUtils.Format(e)
|
||||||
|
end try
|
||||||
|
end function
|
||||||
@@ -137,7 +137,7 @@ function CreateControl(item as object, container as object, startX as integer, s
|
|||||||
control.id = `preference.${item.key}`
|
control.id = `preference.${item.key}`
|
||||||
control.translation = [startX, startY]
|
control.translation = [startX, startY]
|
||||||
if control.hasField("binding_done")
|
if control.hasField("binding_done")
|
||||||
control@.BindNode(invalid)
|
control@.BindNode()
|
||||||
end if
|
end if
|
||||||
control@.BindPreference(m.preferences, item.key)
|
control@.BindPreference(m.preferences, item.key)
|
||||||
|
|
||||||
|
|||||||
@@ -6,13 +6,13 @@ function Init()
|
|||||||
end function
|
end function
|
||||||
|
|
||||||
function OnNodeReady()
|
function OnNodeReady()
|
||||||
address = m.webserver@.GetServerAddress(invalid)
|
address = m.webserver@.GetServerAddress()
|
||||||
isValidIp = not StringUtils.IsNullOrEmpty(address)
|
isValidAddress = not StringUtils.IsNullOrEmpty(address)
|
||||||
if isValidIp
|
if isValidAddress
|
||||||
m.top.url = address
|
m.top.url = address
|
||||||
end if
|
end if
|
||||||
m.top.findNode("noInternet").visible = not isValidIp
|
m.top.findNode("noInternet").visible = not isValidAddress
|
||||||
m.top.findNode("yesInternet").visible = isValidIp
|
m.top.findNode("yesInternet").visible = isValidAddress
|
||||||
end function
|
end function
|
||||||
|
|
||||||
function OnUrlSet()
|
function OnUrlSet()
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
import "pkg:/components/Web/WebServer/Http/HttpUtils.bs"
|
import "pkg:/components/Web/WebServer/Http/HttpUtils.bs"
|
||||||
import "pkg:/source/services/XmlObject.bs"
|
import "pkg:/source/services/XmlObject.bs"
|
||||||
import "pkg:/source/utils/StringUtils.bs"
|
import "pkg:/source/utils/StringUtils.bs"
|
||||||
|
import "pkg:/source/utils/UrlUtils.bs"
|
||||||
|
|
||||||
class DashManifest
|
class DashManifest
|
||||||
|
|
||||||
@@ -349,7 +350,7 @@ class DashManifest
|
|||||||
|
|
||||||
function ParseAudioLanguage(url as string) as object
|
function ParseAudioLanguage(url as string) as object
|
||||||
result = { lang: "", acont: "" }
|
result = { lang: "", acont: "" }
|
||||||
queryParams = m.utils.ParseUrlQueryComponents(url)
|
queryParams = UrlUtils.ParseQueryComponents(url)
|
||||||
if StringUtils.IsNullOrEmpty(queryParams["xtags"])
|
if StringUtils.IsNullOrEmpty(queryParams["xtags"])
|
||||||
return result
|
return result
|
||||||
end if
|
end if
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ namespace Invidious
|
|||||||
|
|
||||||
function DefaultQueryParams() as object
|
function DefaultQueryParams() as object
|
||||||
return {
|
return {
|
||||||
region: m.node.applicationInfo@.GetUserCountryCode(invalid)
|
region: m.node.applicationInfo@.GetUserCountryCode()
|
||||||
}
|
}
|
||||||
end function
|
end function
|
||||||
|
|
||||||
@@ -98,11 +98,7 @@ namespace Invidious
|
|||||||
request = HttpClient.Get(url)
|
request = HttpClient.Get(url)
|
||||||
request.QueryParams(m.DefaultQueryParams())
|
request.QueryParams(m.DefaultQueryParams())
|
||||||
request.QueryParam("q", q)
|
request.QueryParam("q", q)
|
||||||
' 5 hours cache. Videos should expire in 6 hours, but since we don't
|
request.CacheSeconds(60 * 60 * 24)
|
||||||
' have the exact expiration time, we'll use 5 hours. Invidious currently
|
|
||||||
' Does a fresh fetch if the cache is older than 10 minutes.
|
|
||||||
' https://github.com/iv-org/invidious/blob/069e91d2a609b1df94bdfbb693335969b2a281d8/src/invidious/videos.cr#L349
|
|
||||||
request.CacheSeconds(60 * 60 * 5)
|
|
||||||
|
|
||||||
request.Cancellation(cancellation)
|
request.Cancellation(cancellation)
|
||||||
|
|
||||||
@@ -116,7 +112,11 @@ namespace Invidious
|
|||||||
|
|
||||||
request = HttpClient.Get(url)
|
request = HttpClient.Get(url)
|
||||||
request.QueryParams(m.DefaultQueryParams())
|
request.QueryParams(m.DefaultQueryParams())
|
||||||
request.CacheSeconds(60 * 60 * 6)' 6 hours
|
' 5 hours cache. Videos should expire in 6 hours, but since we don't
|
||||||
|
' have the exact expiration time, we'll use 5 hours. Invidious currently
|
||||||
|
' Does a fresh fetch if the cache is older than 10 minutes.
|
||||||
|
' https://github.com/iv-org/invidious/blob/069e91d2a609b1df94bdfbb693335969b2a281d8/src/invidious/videos.cr#L349
|
||||||
|
request.CacheSeconds(60 * 60 * 5)
|
||||||
request.Cancellation(cancellation)
|
request.Cancellation(cancellation)
|
||||||
|
|
||||||
return request.Await()
|
return request.Await()
|
||||||
@@ -228,16 +228,12 @@ namespace Invidious
|
|||||||
if queryParam.default <> invalid
|
if queryParam.default <> invalid
|
||||||
if IsString(queryParam.type) and queryParam.type = "#ISO3166"
|
if IsString(queryParam.type) and queryParam.type = "#ISO3166"
|
||||||
if queryParam.default = "GetUserCountryCode"
|
if queryParam.default = "GetUserCountryCode"
|
||||||
request.QueryParam(queryParamKey, m.node.applicationInfo@.GetUserCountryCode(invalid))
|
request.QueryParam(queryParamKey, m.node.applicationInfo@.GetUserCountryCode())
|
||||||
else
|
else
|
||||||
request.QueryParam(queryParamKey, queryParam.default)
|
request.QueryParam(queryParamKey, queryParam.default)
|
||||||
end if
|
end if
|
||||||
else if IsArray(queryParam.default)
|
else if IsArray(queryParam.default) and queryParam.arrayType <> invalid
|
||||||
if queryParam.arrayType = "repeat"
|
request.QueryParamArray(queryParamKey, queryParam.default, queryParam.arrayType)
|
||||||
request.QueryParamArray(queryParamKey, queryParam.default, HttpClient.QueryParamArrayType.Repeated)
|
|
||||||
else if queryParam.arrayType = "comma-separated"
|
|
||||||
request.QueryParamArray(queryParamKey, queryParam.default, HttpClient.QueryParamArrayType.CommaSeparated)
|
|
||||||
end if
|
|
||||||
else
|
else
|
||||||
request.QueryParam(queryParamKey, queryParam.default)
|
request.QueryParam(queryParamKey, queryParam.default)
|
||||||
end if
|
end if
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import "pkg:/source/utils/Types.bs"
|
import "pkg:/source/utils/Types.bs"
|
||||||
|
|
||||||
function Init()
|
function Init()
|
||||||
m.animation = m.top.findNode("loadingAnimation")
|
' TODO:P2 make component disposable, and stop animation when component is disposed
|
||||||
m.top.observeField("visible", FuncName(OnVisibleChanged))
|
m.top.observeField("visible", FuncName(OnVisibleChanged))
|
||||||
OnVisibleChanged()
|
OnVisibleChanged()
|
||||||
end function
|
end function
|
||||||
@@ -11,10 +11,10 @@ function OnVisibleChanged()
|
|||||||
end function
|
end function
|
||||||
|
|
||||||
function OnIndexSet()
|
function OnIndexSet()
|
||||||
m.animation.delay = (m.top.index mod 5) * 0.2
|
m.top.animationDelay = (m.top.index mod 5) * 0.2
|
||||||
Animate()
|
Animate()
|
||||||
end function
|
end function
|
||||||
|
|
||||||
function Animate()
|
function Animate()
|
||||||
m.animation.control = m.top.visible ? "start" : "stop"
|
m.top.animationControl = m.top.visible ? "start" : "stop"
|
||||||
end function
|
end function
|
||||||
@@ -3,6 +3,8 @@
|
|||||||
<field id="itemContent" type="node" onChange="OnContentSet" />
|
<field id="itemContent" type="node" onChange="OnContentSet" />
|
||||||
<field id="index" type="integer" onChange="OnIndexSet" />
|
<field id="index" type="integer" onChange="OnIndexSet" />
|
||||||
<field id="type" type="string" value="loading" />
|
<field id="type" type="string" value="loading" />
|
||||||
|
<field id="animationDelay" type="time" alias="loadingAnimation.delay" />
|
||||||
|
<field id="animationControl" type="string" alias="loadingAnimation.control" />
|
||||||
</interface>
|
</interface>
|
||||||
<children>
|
<children>
|
||||||
<Rectangle
|
<Rectangle
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ function Init()
|
|||||||
end function
|
end function
|
||||||
|
|
||||||
function FindChildren()
|
function FindChildren()
|
||||||
|
' TODO:P2 use component properties with alias instead of FindNode
|
||||||
m.titleLabel = m.top.FindNode("titleLabel")
|
m.titleLabel = m.top.FindNode("titleLabel")
|
||||||
m.authorLabel = m.top.FindNode("authorLabel")
|
m.authorLabel = m.top.FindNode("authorLabel")
|
||||||
m.viewCountDateLabel = m.top.FindNode("viewCountDateLabel")
|
m.viewCountDateLabel = m.top.FindNode("viewCountDateLabel")
|
||||||
|
|||||||
@@ -13,6 +13,8 @@ import "pkg:/source/utils/Types.bs"
|
|||||||
|
|
||||||
' TODO:P1 add the option to remove a row if it does not have any content
|
' TODO:P1 add the option to remove a row if it does not have any content
|
||||||
' E.g. NBC News does not return any related chnanels
|
' E.g. NBC News does not return any related chnanels
|
||||||
|
' The "Continue Watching" feed source might return nothing. In this case,
|
||||||
|
' it should be removed.
|
||||||
function Init()
|
function Init()
|
||||||
m.pendingLoadTasks = {}
|
m.pendingLoadTasks = {}
|
||||||
end function
|
end function
|
||||||
@@ -109,7 +111,7 @@ function OnRowItemSelected(index as object) as void
|
|||||||
else if rowItem.type = "action"
|
else if rowItem.type = "action"
|
||||||
if rowItem.action = "LoginDialog"
|
if rowItem.action = "LoginDialog"
|
||||||
dialog = CreateObject("roSGNode", "LoginDialog")
|
dialog = CreateObject("roSGNode", "LoginDialog")
|
||||||
dialog@.BindNode(invalid)
|
dialog@.BindNode()
|
||||||
m.top.getScene().dialog = dialog
|
m.top.getScene().dialog = dialog
|
||||||
end if
|
end if
|
||||||
end if
|
end if
|
||||||
@@ -316,4 +318,7 @@ end function
|
|||||||
function OnDispose()
|
function OnDispose()
|
||||||
CancelCurrentTasks()
|
CancelCurrentTasks()
|
||||||
DisposeObservers()
|
DisposeObservers()
|
||||||
|
m.top.screen = invalid
|
||||||
|
m.top.content = invalid
|
||||||
|
m.top.itemComponentName = invalid
|
||||||
end function
|
end function
|
||||||
@@ -5,7 +5,7 @@ function VideoContentTask(input as object) as object
|
|||||||
contentNode = input.content
|
contentNode = input.content
|
||||||
invidiousNode = input.invidious
|
invidiousNode = input.invidious
|
||||||
preferencesNode = input.preferences
|
preferencesNode = input.preferences
|
||||||
playletServerUrl = input.playletServerUrl
|
playletServerPort = input.playletServerPort
|
||||||
|
|
||||||
if m.top.cancel
|
if m.top.cancel
|
||||||
return invalid
|
return invalid
|
||||||
@@ -35,7 +35,7 @@ function VideoContentTask(input as object) as object
|
|||||||
contentNode.title = metadata.title
|
contentNode.title = metadata.title
|
||||||
contentNode.secondaryTitle = metadata.author
|
contentNode.secondaryTitle = metadata.author
|
||||||
|
|
||||||
streamUrls = CreateStreamUrls(metadata, service, preferencesNode, playletServerUrl)
|
streamUrls = CreateStreamUrls(metadata, service, preferencesNode, playletServerPort)
|
||||||
contentNode.url = streamUrls[0]
|
contentNode.url = streamUrls[0]
|
||||||
|
|
||||||
SetCaptions(metadata, service, contentNode)
|
SetCaptions(metadata, service, contentNode)
|
||||||
@@ -52,7 +52,7 @@ function VideoContentTask(input as object) as object
|
|||||||
}
|
}
|
||||||
end function
|
end function
|
||||||
|
|
||||||
function CreateStreamUrls(metadata as object, service as Invidious.InvidiousService, preferences as object, playletServerUrl as string) as object
|
function CreateStreamUrls(metadata as object, service as Invidious.InvidiousService, preferences as object, playletServerPort as integer) as object
|
||||||
instance = service.GetInstance()
|
instance = service.GetInstance()
|
||||||
proxyVideos = preferences["invidious.proxy_videos"]
|
proxyVideos = preferences["invidious.proxy_videos"]
|
||||||
|
|
||||||
@@ -65,9 +65,9 @@ function CreateStreamUrls(metadata as object, service as Invidious.InvidiousServ
|
|||||||
|
|
||||||
if preferredQuality = "720p"
|
if preferredQuality = "720p"
|
||||||
AddStreamUrls(streamUrls, metadata, service, proxyVideos)
|
AddStreamUrls(streamUrls, metadata, service, proxyVideos)
|
||||||
AddDashUrls(streamUrls, metadata, proxyVideos, playletServerUrl)
|
AddDashUrls(streamUrls, metadata, proxyVideos, playletServerPort)
|
||||||
else
|
else
|
||||||
AddDashUrls(streamUrls, metadata, proxyVideos, playletServerUrl)
|
AddDashUrls(streamUrls, metadata, proxyVideos, playletServerPort)
|
||||||
AddStreamUrls(streamUrls, metadata, service, proxyVideos)
|
AddStreamUrls(streamUrls, metadata, service, proxyVideos)
|
||||||
end if
|
end if
|
||||||
end if
|
end if
|
||||||
@@ -84,11 +84,11 @@ function AddHlsUrls(streamUrls as object, metadata as object, proxyVideos as str
|
|||||||
AddUrls(streamUrls, hlsUrl, hlsUrlLocal, proxyVideos)
|
AddUrls(streamUrls, hlsUrl, hlsUrlLocal, proxyVideos)
|
||||||
end function
|
end function
|
||||||
|
|
||||||
function AddDashUrls(streamUrls as object, metadata as object, proxyVideos as string, playletServerUrl as string) as void
|
function AddDashUrls(streamUrls as object, metadata as object, proxyVideos as string, playletServerPort as integer) as void
|
||||||
#if LOCAL_DASH
|
#if LOCAL_DASH
|
||||||
' Redirect to Playet's local web server, where will will be
|
' Redirect to Playet's local web server, where will will be
|
||||||
' dynamically generating the DASH manifest.
|
' dynamically generating the DASH manifest.
|
||||||
dashUrl = `${playletServerUrl}/api/dash?v=${metadata.videoId}`
|
dashUrl = `http://127.0.0.1:${playletServerPort}/api/dash?v=${metadata.videoId}`
|
||||||
#else
|
#else
|
||||||
if metadata.dashUrl = invalid
|
if metadata.dashUrl = invalid
|
||||||
return
|
return
|
||||||
@@ -168,4 +168,3 @@ function SetCaptions(metadata as object, service as object, contentNode as objec
|
|||||||
contentNode.ClosedCaptions = True
|
contentNode.ClosedCaptions = True
|
||||||
contentNode.SubtitleTracks = subtitleTracks
|
contentNode.SubtitleTracks = subtitleTracks
|
||||||
end function
|
end function
|
||||||
|
|
||||||
@@ -72,7 +72,7 @@ function StartVideoContentTask(videoContentNode as object)
|
|||||||
content: videoContentNode,
|
content: videoContentNode,
|
||||||
invidious: m.top.invidious,
|
invidious: m.top.invidious,
|
||||||
preferences: m.top.preferences,
|
preferences: m.top.preferences,
|
||||||
playletServerUrl: m.top.webServer@.GetServerAddress(invalid)
|
playletServerPort: m.top.webServer.port
|
||||||
}, OnVideoContentTaskResults)
|
}, OnVideoContentTaskResults)
|
||||||
end function
|
end function
|
||||||
|
|
||||||
@@ -186,18 +186,20 @@ function OnVideoPlayerStateChange() as void
|
|||||||
|
|
||||||
if state = "finished"
|
if state = "finished"
|
||||||
if content = invalid
|
if content = invalid
|
||||||
m.container@.watchedVideosClear(invalid)
|
m.container@.watchedVideosClear()
|
||||||
VideoUtils.CloseVideo()
|
VideoUtils.CloseVideo()
|
||||||
|
return
|
||||||
end if
|
end if
|
||||||
|
|
||||||
metadata = content.metadata
|
metadata = content.metadata
|
||||||
if metadata = invalid
|
if metadata = invalid
|
||||||
m.container@.watchedVideosClear(invalid)
|
m.container@.watchedVideosClear()
|
||||||
VideoUtils.CloseVideo()
|
VideoUtils.CloseVideo()
|
||||||
|
return
|
||||||
end if
|
end if
|
||||||
|
|
||||||
if not PlayNext(metadata.recommendedVideos)
|
if not PlayNext(metadata.recommendedVideos)
|
||||||
m.container@.watchedVideosClear(invalid)
|
m.container@.watchedVideosClear()
|
||||||
VideoUtils.CloseVideo()
|
VideoUtils.CloseVideo()
|
||||||
end if
|
end if
|
||||||
end if
|
end if
|
||||||
@@ -224,7 +226,7 @@ function OnVideoPlayerStateChange() as void
|
|||||||
end function
|
end function
|
||||||
|
|
||||||
function PlayNext(recommendedVideos as object) as boolean
|
function PlayNext(recommendedVideos as object) as boolean
|
||||||
if m.playQueue@.PlayNextItem(invalid)
|
if m.playQueue@.PlayNextItem()
|
||||||
return true
|
return true
|
||||||
end if
|
end if
|
||||||
|
|
||||||
@@ -251,7 +253,7 @@ function PlayNextRecommendedVideo(recommendedVideos as object) as boolean
|
|||||||
end if
|
end if
|
||||||
if not m.container@.watchedVideosContain(videoId)
|
if not m.container@.watchedVideosContain(videoId)
|
||||||
LogInfo(`Playing next recommended video (${videoId})`)
|
LogInfo(`Playing next recommended video (${videoId})`)
|
||||||
instance = m.invidious@.GetCurrentInstance(invalid)
|
instance = m.invidious@.GetCurrentInstance()
|
||||||
node = InvidiousContent.ToVideoContentNode(invalid, metadata, instance)
|
node = InvidiousContent.ToVideoContentNode(invalid, metadata, instance)
|
||||||
m.playQueue@.Play(node, -1)
|
m.playQueue@.Play(node, -1)
|
||||||
return true
|
return true
|
||||||
@@ -275,7 +277,7 @@ function OnkeyEvent(key as string, press as boolean) as boolean
|
|||||||
end if
|
end if
|
||||||
|
|
||||||
if key = "back"
|
if key = "back"
|
||||||
m.container@.watchedVideosClear(invalid)
|
m.container@.watchedVideosClear()
|
||||||
VideoUtils.CloseVideo()
|
VideoUtils.CloseVideo()
|
||||||
return true
|
return true
|
||||||
end if
|
end if
|
||||||
|
|||||||
@@ -13,14 +13,14 @@ namespace VideoUtils
|
|||||||
LogError("VideoContainer not found! Attempting to restore focus to top screen...")
|
LogError("VideoContainer not found! Attempting to restore focus to top screen...")
|
||||||
appController = m.top.getScene().findNode("AppController")
|
appController = m.top.getScene().findNode("AppController")
|
||||||
if appController <> invalid
|
if appController <> invalid
|
||||||
appController@.FocusTopScreen(invalid)
|
appController@.FocusTopScreen()
|
||||||
end if
|
end if
|
||||||
DialogUtils.ShowDialog(`VideoContainer not found!\nPlease try again. If the problem persist, contact Playlet authors.`, "Error playing video")
|
DialogUtils.ShowDialog(`VideoContainer not found!\nPlease try again. If the problem persist, contact Playlet authors.`, "Error playing video")
|
||||||
return
|
return
|
||||||
end if
|
end if
|
||||||
videoPlayer = container.createChild("videoPlayer")
|
videoPlayer = container.createChild("videoPlayer")
|
||||||
videoPlayer.id = "VideoPlayer"
|
videoPlayer.id = "VideoPlayer"
|
||||||
videoPlayer@.BindNode(invalid)
|
videoPlayer@.BindNode()
|
||||||
|
|
||||||
videoPlayer@.PlayWithContent(contentNode)
|
videoPlayer@.PlayWithContent(contentNode)
|
||||||
|
|
||||||
@@ -39,10 +39,10 @@ namespace VideoUtils
|
|||||||
if videoPlayer = invalid
|
if videoPlayer = invalid
|
||||||
return
|
return
|
||||||
end if
|
end if
|
||||||
videoPlayer@.Close(invalid)
|
videoPlayer@.Close()
|
||||||
|
|
||||||
if setFocus
|
if setFocus
|
||||||
videoPlayer.appController@.FocusTopScreen(invalid)
|
videoPlayer.appController@.FocusTopScreen()
|
||||||
end if
|
end if
|
||||||
end function
|
end function
|
||||||
|
|
||||||
@@ -76,7 +76,7 @@ namespace VideoUtils
|
|||||||
if videoContainer.fullscreen
|
if videoContainer.fullscreen
|
||||||
NodeSetFocus(videoPlayer, true)
|
NodeSetFocus(videoPlayer, true)
|
||||||
else
|
else
|
||||||
videoPlayer.appController@.FocusTopScreen(invalid)
|
videoPlayer.appController@.FocusTopScreen()
|
||||||
end if
|
end if
|
||||||
return true
|
return true
|
||||||
end function
|
end function
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ namespace Http
|
|||||||
response = context.response
|
response = context.response
|
||||||
invidiousNode = context.server.task.invidious
|
invidiousNode = context.server.task.invidious
|
||||||
|
|
||||||
authLink = invidiousNode@.GetAuthorizeTokenLink(invalid)
|
authLink = invidiousNode@.GetAuthorizeTokenLink()
|
||||||
response.Redirect(authLink)
|
response.Redirect(authLink)
|
||||||
return true
|
return true
|
||||||
end function)
|
end function)
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ namespace Http
|
|||||||
task = context.server.task
|
task = context.server.task
|
||||||
playQueue = task.playQueue
|
playQueue = task.playQueue
|
||||||
|
|
||||||
queue = playQueue@.GetQueue(invalid)
|
queue = playQueue@.GetQueue()
|
||||||
response.Json(queue)
|
response.Json(queue)
|
||||||
return true
|
return true
|
||||||
end function)
|
end function)
|
||||||
@@ -42,7 +42,7 @@ namespace Http
|
|||||||
contentNode = InvidiousContent.ToRowCellContentNode(payload, invalid)
|
contentNode = InvidiousContent.ToRowCellContentNode(payload, invalid)
|
||||||
playQueue@.AddToQueue(contentNode)
|
playQueue@.AddToQueue(contentNode)
|
||||||
|
|
||||||
queue = playQueue@.GetQueue(invalid)
|
queue = playQueue@.GetQueue()
|
||||||
response.Json(queue)
|
response.Json(queue)
|
||||||
return true
|
return true
|
||||||
end function)
|
end function)
|
||||||
@@ -95,7 +95,7 @@ namespace Http
|
|||||||
return true
|
return true
|
||||||
end if
|
end if
|
||||||
|
|
||||||
playQueue@.Clear(invalid)
|
playQueue@.Clear()
|
||||||
response.Default(204, "OK")
|
response.Default(204, "OK")
|
||||||
return true
|
return true
|
||||||
end function)
|
end function)
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ namespace Http
|
|||||||
return true
|
return true
|
||||||
end if
|
end if
|
||||||
|
|
||||||
userPrefs = preferences@.GetUserPreferences(invalid)
|
userPrefs = preferences@.GetUserPreferences()
|
||||||
response.Json(userPrefs)
|
response.Json(userPrefs)
|
||||||
return true
|
return true
|
||||||
end function)
|
end function)
|
||||||
@@ -55,7 +55,7 @@ namespace Http
|
|||||||
return true
|
return true
|
||||||
end if
|
end if
|
||||||
|
|
||||||
preferences@.ClearUserPreferences(invalid)
|
preferences@.ClearUserPreferences()
|
||||||
response.Default(204, "OK")
|
response.Default(204, "OK")
|
||||||
return true
|
return true
|
||||||
end function)
|
end function)
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ namespace Http
|
|||||||
state = {}
|
state = {}
|
||||||
|
|
||||||
if ArrayUtils.IndexOfString(keys, "app") <> -1
|
if ArrayUtils.IndexOfString(keys, "app") <> -1
|
||||||
appInfo = applicationInfoNode@.GetAppInfo(invalid)
|
appInfo = applicationInfoNode@.GetAppInfo()
|
||||||
|
|
||||||
if appInfo.lib_version_latest = "N/A"
|
if appInfo.lib_version_latest = "N/A"
|
||||||
' If the lib_version_latest field is not available, we can give it a few seconds
|
' If the lib_version_latest field is not available, we can give it a few seconds
|
||||||
@@ -44,15 +44,15 @@ namespace Http
|
|||||||
end if
|
end if
|
||||||
|
|
||||||
if ArrayUtils.IndexOfString(keys, "device") <> -1
|
if ArrayUtils.IndexOfString(keys, "device") <> -1
|
||||||
state["device"] = applicationInfoNode@.GetDeviceInfo(invalid)
|
state["device"] = applicationInfoNode@.GetDeviceInfo()
|
||||||
end if
|
end if
|
||||||
|
|
||||||
if ArrayUtils.IndexOfString(keys, "invidious") <> -1
|
if ArrayUtils.IndexOfString(keys, "invidious") <> -1
|
||||||
authToken = invidiousNode.authToken
|
authToken = invidiousNode.authToken
|
||||||
state["invidious"] = {
|
state["invidious"] = {
|
||||||
current_instance: invidiousNode@.GetCurrentInstance(invalid),
|
current_instance: invidiousNode@.GetCurrentInstance(),
|
||||||
' backup_instances: InvidiousSettings.GetBackupInstances(),
|
' backup_instances: InvidiousSettings.GetBackupInstances(),
|
||||||
auth_url: invidiousNode@.GetAuthorizeTokenLink(invalid),
|
auth_url: invidiousNode@.GetAuthorizeTokenLink(),
|
||||||
logged_in: authToken <> invalid,
|
logged_in: authToken <> invalid,
|
||||||
logged_in_instance: authToken <> invalid ? authToken.instance : invalid,
|
logged_in_instance: authToken <> invalid ? authToken.instance : invalid,
|
||||||
logged_in_username: authToken <> invalid ? authToken.username : invalid
|
logged_in_username: authToken <> invalid ? authToken.username : invalid
|
||||||
@@ -60,7 +60,7 @@ namespace Http
|
|||||||
end if
|
end if
|
||||||
|
|
||||||
if ArrayUtils.IndexOfString(keys, "preferences") <> -1
|
if ArrayUtils.IndexOfString(keys, "preferences") <> -1
|
||||||
state["preferences"] = preferencesNode@.GetUserPreferences(invalid)
|
state["preferences"] = preferencesNode@.GetUserPreferences()
|
||||||
end if
|
end if
|
||||||
|
|
||||||
response.Json(state)
|
response.Json(state)
|
||||||
|
|||||||
@@ -54,9 +54,9 @@ function SetupRoutes(server as object)
|
|||||||
server.UseRouter(new Http.HttpStaticFilesRouter("/debug/libpkg", "libpkg:/", etags, options))
|
server.UseRouter(new Http.HttpStaticFilesRouter("/debug/libpkg", "libpkg:/", etags, options))
|
||||||
options = { showDirectories: true, showHidden: true, fsCheck: true, staticFiles: true }
|
options = { showDirectories: true, showHidden: true, fsCheck: true, staticFiles: true }
|
||||||
server.UseRouter(new Http.HttpStaticFilesRouter("/debug/pkg", "pkg:/", etags, options))
|
server.UseRouter(new Http.HttpStaticFilesRouter("/debug/pkg", "pkg:/", etags, options))
|
||||||
options = { showDirectories: true, showHidden: true }
|
options = { showDirectories: true, showHidden: true, fsCheck: true }
|
||||||
server.UseRouter(new Http.HttpStaticFilesRouter("/debug/tmp", "tmp:/", etags, options))
|
server.UseRouter(new Http.HttpStaticFilesRouter("/debug/tmp", "tmp:/", etags, options))
|
||||||
options = { showDirectories: true, showHidden: true }
|
options = { showDirectories: true, showHidden: true, fsCheck: true }
|
||||||
server.UseRouter(new Http.HttpStaticFilesRouter("/debug/cachefs", "cachefs:/", etags, options))
|
server.UseRouter(new Http.HttpStaticFilesRouter("/debug/cachefs", "cachefs:/", etags, options))
|
||||||
options = { showDirectories: true, showHidden: true, fsCheck: true, staticFiles: true }
|
options = { showDirectories: true, showHidden: true, fsCheck: true, staticFiles: true }
|
||||||
server.UseRouter(new Http.HttpStaticFilesRouter("/debug/common", "common:/", etags, options))
|
server.UseRouter(new Http.HttpStaticFilesRouter("/debug/common", "common:/", etags, options))
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
import "HttpRequestState.bs"
|
import "HttpRequestState.bs"
|
||||||
import "pkg:/components/Web/WebServer/Http/HttpUtils.bs"
|
import "pkg:/components/Web/WebServer/Http/HttpUtils.bs"
|
||||||
import "pkg:/source/utils/Types.bs"
|
import "pkg:/source/utils/Types.bs"
|
||||||
|
import "pkg:/source/utils/UrlUtils.bs"
|
||||||
|
|
||||||
namespace Http
|
namespace Http
|
||||||
|
|
||||||
@@ -202,7 +203,7 @@ namespace Http
|
|||||||
split = m.route.Instr("?")
|
split = m.route.Instr("?")
|
||||||
if split <> -1
|
if split <> -1
|
||||||
m.route = m.route.Left(split)
|
m.route = m.route.Left(split)
|
||||||
m.query = utils.ParseUrlQueryComponents(m.uri)
|
m.query = UrlUtils.ParseQueryComponents(m.uri)
|
||||||
else
|
else
|
||||||
m.query = {}
|
m.query = {}
|
||||||
end if
|
end if
|
||||||
|
|||||||
@@ -3,39 +3,6 @@ import "pkg:/source/utils/Types.bs"
|
|||||||
namespace Http
|
namespace Http
|
||||||
|
|
||||||
class Utils
|
class Utils
|
||||||
|
|
||||||
function ParseUrlQueryComponents(url as string) as object
|
|
||||||
query = {}
|
|
||||||
index = Instr(0, url, "?")
|
|
||||||
url = Mid(url, index + 1)
|
|
||||||
components = url.split("&")
|
|
||||||
for each component in components
|
|
||||||
key = component
|
|
||||||
value = ""
|
|
||||||
hasValue = false
|
|
||||||
if Instr(0, component, "=")
|
|
||||||
keyValue = component.split("=")
|
|
||||||
key = keyValue[0]
|
|
||||||
value = keyValue[1].DecodeUriComponent()
|
|
||||||
hasValue = true
|
|
||||||
end if
|
|
||||||
|
|
||||||
if query.DoesExist(key) and hasValue
|
|
||||||
oldValue = query[key]
|
|
||||||
if GetInterface(oldValue, "ifArray") = invalid
|
|
||||||
oldValue = [oldValue]
|
|
||||||
end if
|
|
||||||
oldValue.push(value.DecodeUriComponent())
|
|
||||||
value = oldValue
|
|
||||||
end if
|
|
||||||
|
|
||||||
if key <> ""
|
|
||||||
query[key] = value
|
|
||||||
end if
|
|
||||||
end for
|
|
||||||
return query
|
|
||||||
end function
|
|
||||||
|
|
||||||
function MimeType(uri = "" as string) as string
|
function MimeType(uri = "" as string) as string
|
||||||
map = m.MimeTypes
|
map = m.MimeTypes
|
||||||
if map = invalid
|
if map = invalid
|
||||||
@@ -50,22 +17,22 @@ namespace Http
|
|||||||
end if
|
end if
|
||||||
end function
|
end function
|
||||||
|
|
||||||
function GetExtension(fn as string) as string
|
function GetExtension(filename as string) as string
|
||||||
l = fn.tokenize(".")
|
parts = filename.tokenize(".")
|
||||||
if l.count() > 0
|
if parts.count() > 0
|
||||||
return l.GetTail()
|
return parts.GetTail()
|
||||||
else
|
else
|
||||||
return ""
|
return ""
|
||||||
end if
|
end if
|
||||||
end function
|
end function
|
||||||
|
|
||||||
function HttpTitle(code = 0 as integer) as string
|
function HttpTitle(code = 0 as integer) as string
|
||||||
hcm = m.HttpTitles
|
map = m.httpCodesMap
|
||||||
if hcm = invalid
|
if map = invalid
|
||||||
hcm = ParseJson(ReadAsciiFile("libpkg:/config/http-codes.json5"))
|
map = ParseJson(ReadAsciiFile("libpkg:/config/http-codes.json5"))
|
||||||
m.HttpTitles = hcm
|
m.httpCodesMap = map
|
||||||
end if
|
end if
|
||||||
return ValidString(hcm[`${code}`])
|
return ValidString(map[`${code}`])
|
||||||
end function
|
end function
|
||||||
|
|
||||||
end class
|
end class
|
||||||
|
|||||||
@@ -10,11 +10,11 @@ function AutoBindSceneGraph() as void
|
|||||||
m.global.AutoBindNodes = []
|
m.global.AutoBindNodes = []
|
||||||
|
|
||||||
for each node in nodes
|
for each node in nodes
|
||||||
node@.BindNodeFieldsAndProps(invalid)
|
node@.BindNodeFieldsAndProps()
|
||||||
end for
|
end for
|
||||||
|
|
||||||
for each node in nodes
|
for each node in nodes
|
||||||
node@.BindScopeFields(invalid)
|
node@.BindScopeFields()
|
||||||
end for
|
end for
|
||||||
|
|
||||||
for each node in nodes
|
for each node in nodes
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ trending:
|
|||||||
default: GetUserCountryCode
|
default: GetUserCountryCode
|
||||||
fields:
|
fields:
|
||||||
type: []
|
type: []
|
||||||
arrayType: "comma-separated"
|
arrayType: "CommaSeparated"
|
||||||
default:
|
default:
|
||||||
- title
|
- title
|
||||||
- videoId
|
- videoId
|
||||||
@@ -33,7 +33,7 @@ popular:
|
|||||||
queryParams:
|
queryParams:
|
||||||
fields:
|
fields:
|
||||||
type: []
|
type: []
|
||||||
arrayType: "comma-separated"
|
arrayType: "CommaSeparated"
|
||||||
default:
|
default:
|
||||||
- title
|
- title
|
||||||
- videoId
|
- videoId
|
||||||
@@ -77,7 +77,7 @@ search:
|
|||||||
- playlist
|
- playlist
|
||||||
- channel
|
- channel
|
||||||
- all
|
- all
|
||||||
arrayType: comma-separated
|
arrayType: CommaSeparated
|
||||||
default:
|
default:
|
||||||
- video
|
- video
|
||||||
- playlist
|
- playlist
|
||||||
@@ -94,7 +94,7 @@ search:
|
|||||||
- 360
|
- 360
|
||||||
- location
|
- location
|
||||||
- hdr
|
- hdr
|
||||||
arrayType: comma-separated
|
arrayType: CommaSeparated
|
||||||
region:
|
region:
|
||||||
type: "#ISO3166"
|
type: "#ISO3166"
|
||||||
default: GetUserCountryCode
|
default: GetUserCountryCode
|
||||||
@@ -194,6 +194,8 @@ channel_podcasts:
|
|||||||
paginationType: Continuation
|
paginationType: Continuation
|
||||||
tryCount: 3
|
tryCount: 3
|
||||||
|
|
||||||
|
# TODO:P1 related channels are no longer working
|
||||||
|
# https://github.com/iv-org/invidious/issues/4275
|
||||||
channel_channels:
|
channel_channels:
|
||||||
title: Related channels
|
title: Related channels
|
||||||
url: /api/v1/channels/{ucid}/channels
|
url: /api/v1/channels/{ucid}/channels
|
||||||
|
|||||||
@@ -0,0 +1,20 @@
|
|||||||
|
[
|
||||||
|
"Now loading Playlet...",
|
||||||
|
"One moment please...",
|
||||||
|
"Downloading the internet...",
|
||||||
|
"Unclogging the tubes...",
|
||||||
|
"Warming up the flux capacitor...",
|
||||||
|
"Loading, ehm, stuff...",
|
||||||
|
"Restoring quantum entanglement...",
|
||||||
|
"Searching for kitten videos...",
|
||||||
|
"One Mississippi... two Mississippi...",
|
||||||
|
"Checking the TV's extended warranty...",
|
||||||
|
"Deleting system32...",
|
||||||
|
"Updating: 3 hours 32 minutes remaining...",
|
||||||
|
"Asking ChatGPT for humorous loading messages...",
|
||||||
|
"Loading today's sponsor... NordVPN!",
|
||||||
|
"Don't worry, this is normal...",
|
||||||
|
"Don't forget to like and subscribe...",
|
||||||
|
"Shoveling coal into the server...",
|
||||||
|
"Counting down from infinity...",
|
||||||
|
]
|
||||||
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 277 B |
@@ -3,9 +3,9 @@
|
|||||||
outputs: [
|
outputs: [
|
||||||
{
|
{
|
||||||
outputFilePath: 'images/icons/home.png',
|
outputFilePath: 'images/icons/home.png',
|
||||||
outputHash: '2c223d1197313eac54d31fc47d5a3ea7',
|
outputHash: '55f237e441ea693c152fbf0fd52a98d2',
|
||||||
width: 128,
|
width: 48,
|
||||||
height: 128,
|
height: 48,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 940 B |
@@ -3,9 +3,9 @@
|
|||||||
outputs: [
|
outputs: [
|
||||||
{
|
{
|
||||||
outputFilePath: 'images/icons/info.png',
|
outputFilePath: 'images/icons/info.png',
|
||||||
outputHash: '46ec11a1a70386f7c9df8b6f60228f06',
|
outputHash: '4362586ae18f53144b5921d318634d31',
|
||||||
width: 128,
|
width: 48,
|
||||||
height: 128,
|
height: 48,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 369 B |
@@ -3,9 +3,9 @@
|
|||||||
outputs: [
|
outputs: [
|
||||||
{
|
{
|
||||||
outputFilePath: 'images/icons/phone.png',
|
outputFilePath: 'images/icons/phone.png',
|
||||||
outputHash: '6fbf881854e38acf3ba15febc88604aa',
|
outputHash: '0492b3133fc6475224bae712e1129471',
|
||||||
width: 128,
|
width: 48,
|
||||||
height: 128,
|
height: 48,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 730 B |
@@ -3,9 +3,9 @@
|
|||||||
outputs: [
|
outputs: [
|
||||||
{
|
{
|
||||||
outputFilePath: 'images/icons/search.png',
|
outputFilePath: 'images/icons/search.png',
|
||||||
outputHash: '53e68de417adaddb44ae0194a18cf287',
|
outputHash: 'da7de20ee8700756ff8ab6c806682853',
|
||||||
width: 128,
|
width: 48,
|
||||||
height: 128,
|
height: 48,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 687 B |
@@ -1,5 +1,41 @@
|
|||||||
<svg viewBox="0 0 24 24" preserveAspectRatio="xMidYMid meet" focusable="false" class="style-scope yt-icon" style="pointer-events: none; display: block; width: 100%; height: 100%;">
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
<g class="style-scope yt-icon">
|
<svg
|
||||||
<path fill="#FFFFFF" d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,8c-2.21,0-4,1.79-4,4s1.79,4,4,4s4-1.79,4-4 S14.21,8,12,8L12,8z M13.22,3l0.55,2.2l0.13,0.51l0.5,0.18c0.61,0.23,1.19,0.56,1.72,0.98l0.4,0.32l0.5-0.14l2.17-0.62l1.22,2.11 l-1.63,1.59l-0.37,0.36l0.08,0.51c0.05,0.32,0.08,0.64,0.08,0.98s-0.03,0.66-0.08,0.98l-0.08,0.51l0.37,0.36l1.63,1.59l-1.22,2.11 l-2.17-0.62l-0.5-0.14l-0.4,0.32c-0.53,0.43-1.11,0.76-1.72,0.98l-0.5,0.18l-0.13,0.51L13.22,21h-2.44l-0.55-2.2l-0.13-0.51 l-0.5-0.18C9,17.88,8.42,17.55,7.88,17.12l-0.4-0.32l-0.5,0.14l-2.17,0.62L3.6,15.44l1.63-1.59l0.37-0.36l-0.08-0.51 C5.47,12.66,5.44,12.33,5.44,12s0.03-0.66,0.08-0.98l0.08-0.51l-0.37-0.36L3.6,8.56l1.22-2.11l2.17,0.62l0.5,0.14l0.4-0.32 C8.42,6.45,9,6.12,9.61,5.9l0.5-0.18l0.13-0.51L10.78,3H13.22 M14,2h-4L9.26,4.96c-0.73,0.27-1.4,0.66-2,1.14L4.34,5.27l-2,3.46 l2.19,2.13C4.47,11.23,4.44,11.61,4.44,12s0.03,0.77,0.09,1.14l-2.19,2.13l2,3.46l2.92-0.83c0.6,0.48,1.27,0.87,2,1.14L10,22h4 l0.74-2.96c0.73-0.27,1.4-0.66,2-1.14l2.92,0.83l2-3.46l-2.19-2.13c0.06-0.37,0.09-0.75,0.09-1.14s-0.03-0.77-0.09-1.14l2.19-2.13 l-2-3.46L16.74,6.1c-0.6-0.48-1.27-0.87-2-1.14L14,2L14,2z" class="style-scope yt-icon"></path>
|
viewBox="0 0 24 24"
|
||||||
</g>
|
preserveAspectRatio="xMidYMid meet"
|
||||||
|
focusable="false"
|
||||||
|
class="style-scope yt-icon"
|
||||||
|
style="pointer-events: none; display: block; width: 100%; height: 100%;"
|
||||||
|
version="1.1"
|
||||||
|
id="svg6"
|
||||||
|
sodipodi:docname="settings.svg"
|
||||||
|
inkscape:version="1.2.1 (9c6d41e4, 2022-07-14)"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg">
|
||||||
|
<defs
|
||||||
|
id="defs10" />
|
||||||
|
<sodipodi:namedview
|
||||||
|
id="namedview8"
|
||||||
|
pagecolor="#ffffff"
|
||||||
|
bordercolor="#000000"
|
||||||
|
borderopacity="0.25"
|
||||||
|
inkscape:showpageshadow="2"
|
||||||
|
inkscape:pageopacity="0.0"
|
||||||
|
inkscape:pagecheckerboard="true"
|
||||||
|
inkscape:deskcolor="#d1d1d1"
|
||||||
|
showgrid="false"
|
||||||
|
inkscape:zoom="13.686545"
|
||||||
|
inkscape:cx="4.8587864"
|
||||||
|
inkscape:cy="9.4618472"
|
||||||
|
inkscape:window-width="1440"
|
||||||
|
inkscape:window-height="741"
|
||||||
|
inkscape:window-x="0"
|
||||||
|
inkscape:window-y="25"
|
||||||
|
inkscape:window-maximized="1"
|
||||||
|
inkscape:current-layer="svg6" />
|
||||||
|
<path
|
||||||
|
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.109841;stroke-linejoin:round;stroke-opacity:1"
|
||||||
|
d="m 15.714836,21.162285 c -0.04775,-0.04749 -0.527468,-0.542802 -1.065938,-1.100714 l -0.979041,-1.014393 -0.401626,0.07171 c -0.798456,0.142554 -1.580726,0.147794 -2.503447,0.01686 -0.364348,-0.05169 -0.444733,-0.05071 -0.504209,0.0063 -0.03895,0.03725 -0.5144649,0.526951 -1.0567701,1.088029 C 8.4680071,20.991356 8.203688,21.246191 8.162186,21.234332 8.081135,21.211112 5.9341972,19.95012 5.9128502,19.913146 c -0.00993,-0.0172 0.016734,-0.142872 0.059234,-0.279317 0.042496,-0.136422 0.2299991,-0.793515 0.4166734,-1.46018 L 6.7281551,16.961524 6.4320785,16.592865 C 5.862289,15.883396 5.5132974,15.266256 5.1993639,14.412999 L 5.0846579,14.101224 3.5992283,13.719846 C 2.7822408,13.510091 2.1094745,13.329756 2.1041891,13.319102 2.0919131,13.294362 2.0925311,10.757317 2.104804,10.708556 2.109834,10.688526 2.7786769,10.50587 3.5910878,10.302655 L 5.0682014,9.9331788 5.2345008,9.49992 C 5.5668964,8.6339312 5.8969037,8.0666765 6.4513094,7.4083326 L 6.7557649,7.046799 6.324366,5.5632096 5.892967,4.0796189 7.0480999,3.4126974 l 1.1551364,-0.666923 1.03413,1.0724325 c 0.5687708,0.5898369 1.0572367,1.0875367 1.0854787,1.1059973 0.02829,0.018417 0.21134,0.00474 0.406889,-0.030492 0.790829,-0.1424909 1.589383,-0.157455 2.38967,-0.044773 0.239703,0.033751 0.467774,0.062471 0.506828,0.063827 0.05368,0.0019 0.310948,-0.2443599 1.058958,-1.0138065 0.543376,-0.5589475 1.017625,-1.0497633 1.053889,-1.0907012 0.06474,-0.073076 0.08731,-0.062128 1.218007,0.5894222 l 1.152073,0.6638555 -0.414336,1.4812102 -0.414341,1.4812129 0.332573,0.4139806 c 0.457518,0.5695045 0.878631,1.3000551 1.134089,1.9672118 l 0.184326,0.4815741 1.492081,0.3814192 1.492073,0.381423 -0.0011,1.331172 c -9.6e-4,1.018585 -0.01526,1.334289 -0.06085,1.344453 -0.03215,0.0084 -0.699811,0.174229 -1.482307,0.370848 l -1.422738,0.357586 -0.184484,0.459619 c -0.347827,0.866592 -0.697041,1.456493 -1.234554,2.085471 -0.128966,0.150781 -0.241407,0.300395 -0.249955,0.332304 -0.0086,0.03194 0.176103,0.715813 0.410391,1.519776 l 0.425965,1.461751 -1.157043,0.667928 -1.157041,0.66793 z M 14.817887,15.430457 C 16.1088,14.392165 16.715634,12.590505 16.315859,10.983087 16.194833,10.496685 16.090431,10.239913 15.829488,9.7876861 15.227049,8.7438292 14.328202,8.05216 13.161621,7.7349075 12.310631,7.5034832 11.465346,7.5225017 10.621102,7.7920677 10.222996,7.9191817 9.5504789,8.2883743 9.212051,8.5655933 8.6840063,8.9981312 8.1829691,9.6573062 7.9340178,10.246988 c -0.1411802,0.334411 -0.2932223,0.906302 -0.337672,1.270119 -0.075243,0.615864 0.032489,1.443823 0.2696245,2.072115 0.1544825,0.409292 0.5523051,1.06528 0.8335102,1.374421 0.9394316,1.03272 2.2157115,1.545738 3.6158285,1.453426 0.931821,-0.06141 1.75658,-0.386598 2.502582,-0.986616 z"
|
||||||
|
id="path1194" />
|
||||||
</svg>
|
</svg>
|
||||||
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 4.0 KiB |
@@ -1,11 +1,11 @@
|
|||||||
{
|
{
|
||||||
inputHash: '11d4a0bfa1ae239216088d825851ec4a',
|
inputHash: '4a523fd829e2c489df85d5db106889a2',
|
||||||
outputs: [
|
outputs: [
|
||||||
{
|
{
|
||||||
outputFilePath: 'images/icons/settings.png',
|
outputFilePath: 'images/icons/settings.png',
|
||||||
outputHash: '62165b3f7bb781f5ed20a6aea6386152',
|
outputHash: '07b98411ee36a3ccf3004e727d53d4f8',
|
||||||
width: 128,
|
width: 48,
|
||||||
height: 128,
|
height: 48,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 499 B |
@@ -3,9 +3,9 @@
|
|||||||
outputs: [
|
outputs: [
|
||||||
{
|
{
|
||||||
outputFilePath: 'images/icons/star.png',
|
outputFilePath: 'images/icons/star.png',
|
||||||
outputHash: 'fcab62f14ba689a7d13ef0e5e359a4a1',
|
outputHash: '18773e4f645b0b92e8eb91524b3ac278',
|
||||||
width: 128,
|
width: 48,
|
||||||
height: 128,
|
height: 48,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
@@ -3,7 +3,7 @@ title=PlayletLib
|
|||||||
# Do not update version manually, it is auto updated from package.json
|
# Do not update version manually, it is auto updated from package.json
|
||||||
major_version=0
|
major_version=0
|
||||||
minor_version=17
|
minor_version=17
|
||||||
build_version=00000
|
build_version=00003
|
||||||
|
|
||||||
ui_resolutions=hd
|
ui_resolutions=hd
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ function CreateAsyncTask(taskFunc as object, input as object, callback = invalid
|
|||||||
|
|
||||||
m[`asynctask_${id}`] = task
|
m[`asynctask_${id}`] = task
|
||||||
m[`asynctask_${id}_callback`] = callback
|
m[`asynctask_${id}_callback`] = callback
|
||||||
task.ObserveField("state", FuncName(OnTaskState))
|
task.ObserveFieldScoped("state", FuncName(OnTaskState))
|
||||||
|
|
||||||
return task
|
return task
|
||||||
end function
|
end function
|
||||||
@@ -36,6 +36,8 @@ function OnTaskState(e as object) as void
|
|||||||
return
|
return
|
||||||
end if
|
end if
|
||||||
|
|
||||||
|
task.UnobserveFieldScoped("state")
|
||||||
|
|
||||||
id = task.id
|
id = task.id
|
||||||
output = task.output
|
output = task.output
|
||||||
' if output is invalid, it means the task was interrupted before the result is ready
|
' if output is invalid, it means the task was interrupted before the result is ready
|
||||||
@@ -46,6 +48,9 @@ function OnTaskState(e as object) as void
|
|||||||
end if
|
end if
|
||||||
end if
|
end if
|
||||||
|
|
||||||
|
|
||||||
|
task.input = invalid
|
||||||
|
task.output = invalid
|
||||||
m.delete(`asynctask_${id}`)
|
m.delete(`asynctask_${id}`)
|
||||||
m.delete(`asynctask_${id}_callback`)
|
m.delete(`asynctask_${id}_callback`)
|
||||||
end function
|
end function
|
||||||
@@ -16,7 +16,7 @@ namespace Tests
|
|||||||
|
|
||||||
@it("Returns a valid local ip address")
|
@it("Returns a valid local ip address")
|
||||||
function _()
|
function _()
|
||||||
ip = m.top@.GetLocalIpAddress(invalid)
|
ip = m.top@.GetLocalIpAddress()
|
||||||
m.assertTrue(m.ipAddressRegex.IsMatch(ip))
|
m.assertTrue(m.ipAddressRegex.IsMatch(ip))
|
||||||
end function
|
end function
|
||||||
|
|
||||||
@@ -28,7 +28,7 @@ namespace Tests
|
|||||||
end function
|
end function
|
||||||
}
|
}
|
||||||
|
|
||||||
ip = m.top@.GetLocalIpAddress(invalid)
|
ip = m.top@.GetLocalIpAddress()
|
||||||
m.assertInvalid(ip)
|
m.assertInvalid(ip)
|
||||||
end function
|
end function
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ namespace Tests
|
|||||||
function _()
|
function _()
|
||||||
m.navBar = CreateObject("roSGNode", "NavBar")
|
m.navBar = CreateObject("roSGNode", "NavBar")
|
||||||
m.navbar.appController = CreateObject("roSGNode", "AppController")
|
m.navbar.appController = CreateObject("roSGNode", "AppController")
|
||||||
m.navBar@.BindNode(invalid)
|
m.navBar@.BindNode()
|
||||||
end function
|
end function
|
||||||
|
|
||||||
@it("Populates the buttons based on content node")
|
@it("Populates the buttons based on content node")
|
||||||
|
|||||||
@@ -33,8 +33,8 @@ class ApplicationInfo
|
|||||||
if m.appInfo = invalid
|
if m.appInfo = invalid
|
||||||
m.appInfo = {
|
m.appInfo = {
|
||||||
id: m.roAppInfo.GetID(),
|
id: m.roAppInfo.GetID(),
|
||||||
version: m.roAppInfo.GetVersion(),
|
app_version: m.roAppInfo.GetVersion(),
|
||||||
git_commit_hash: m.roAppInfo.GetValue("git_commit_sha"),
|
app_git_commit_hash: m.roAppInfo.GetValue("git_commit_sha"),
|
||||||
lib_version: m.GetLibVersion(),
|
lib_version: m.GetLibVersion(),
|
||||||
lib_git_commit_hash: m.GetLibGitCommitHash()
|
lib_git_commit_hash: m.GetLibGitCommitHash()
|
||||||
}
|
}
|
||||||
@@ -54,7 +54,7 @@ class ApplicationInfo
|
|||||||
if not StringUtils.IsNullOrEmpty(m.node.lib_version_latest)
|
if not StringUtils.IsNullOrEmpty(m.node.lib_version_latest)
|
||||||
m.appInfo["lib_version_latest"] = m.node.lib_version_latest
|
m.appInfo["lib_version_latest"] = m.node.lib_version_latest
|
||||||
else
|
else
|
||||||
m.node@.GetLatestPlayletLibVersion(invalid)
|
m.node@.GetLatestPlayletLibVersion()
|
||||||
end if
|
end if
|
||||||
end if
|
end if
|
||||||
|
|
||||||
|
|||||||
@@ -4,14 +4,10 @@ import "pkg:/source/utils/CryptoUtils.bs"
|
|||||||
import "pkg:/source/utils/Logging.bs"
|
import "pkg:/source/utils/Logging.bs"
|
||||||
import "pkg:/source/utils/StringUtils.bs"
|
import "pkg:/source/utils/StringUtils.bs"
|
||||||
import "pkg:/source/utils/Types.bs"
|
import "pkg:/source/utils/Types.bs"
|
||||||
|
import "pkg:/source/utils/UrlUtils.bs"
|
||||||
|
|
||||||
namespace HttpClient
|
namespace HttpClient
|
||||||
|
|
||||||
enum QueryParamArrayType
|
|
||||||
CommaSeparated
|
|
||||||
Repeated
|
|
||||||
end enum
|
|
||||||
|
|
||||||
function Get(url as string) as HttpRequest
|
function Get(url as string) as HttpRequest
|
||||||
return (new HttpRequest()).Method("GET").Url(url)
|
return (new HttpRequest()).Method("GET").Url(url)
|
||||||
end function
|
end function
|
||||||
@@ -85,7 +81,7 @@ namespace HttpClient
|
|||||||
return m
|
return m
|
||||||
end function
|
end function
|
||||||
|
|
||||||
function QueryParamArray(key as string, valueArray as dynamic, arrayType as HttpClient.QueryParamArrayType) as HttpRequest
|
function QueryParamArray(key as string, valueArray as dynamic, arrayType as UrlUtils.QueryParamArrayType) as HttpRequest
|
||||||
if valueArray = invalid
|
if valueArray = invalid
|
||||||
return m
|
return m
|
||||||
end if
|
end if
|
||||||
@@ -95,7 +91,7 @@ namespace HttpClient
|
|||||||
|
|
||||||
m._queryParams[key] = {
|
m._queryParams[key] = {
|
||||||
value: valueArray,
|
value: valueArray,
|
||||||
__arrayType: arrayType
|
arrayType: arrayType
|
||||||
}
|
}
|
||||||
|
|
||||||
return m
|
return m
|
||||||
@@ -185,7 +181,12 @@ namespace HttpClient
|
|||||||
|
|
||||||
function ToCurlCommand() as string
|
function ToCurlCommand() as string
|
||||||
command = `curl "${m.BuildUrl()}"`
|
command = `curl "${m.BuildUrl()}"`
|
||||||
|
if m._method = "HEAD"
|
||||||
|
command += ` \\\n -I`
|
||||||
|
else if m._method <> "GET"
|
||||||
command += ` \\\n -X ${m._method}`
|
command += ` \\\n -X ${m._method}`
|
||||||
|
end if
|
||||||
|
|
||||||
command += ` \\\n --max-time ${m._timeoutSeconds}`
|
command += ` \\\n --max-time ${m._timeoutSeconds}`
|
||||||
command += ` \\\n --compressed`
|
command += ` \\\n --compressed`
|
||||||
|
|
||||||
@@ -393,88 +394,12 @@ namespace HttpClient
|
|||||||
return urlTransfer
|
return urlTransfer
|
||||||
end function
|
end function
|
||||||
|
|
||||||
' TODO:P2 refactor this monstrosity of a function
|
|
||||||
function BuildUrl() as string
|
function BuildUrl() as string
|
||||||
if m._fullUrl <> invalid
|
if m._fullUrl <> invalid
|
||||||
return m._fullUrl
|
return m._fullUrl
|
||||||
end if
|
end if
|
||||||
|
|
||||||
url = m._url
|
m._fullUrl = UrlUtils.BuildUrl(m._url, m._pathParams, m._queryParams)
|
||||||
if m._pathParams <> invalid
|
|
||||||
for each key in m._pathParams
|
|
||||||
value = m._pathParams[key]
|
|
||||||
if value = invalid
|
|
||||||
continue for
|
|
||||||
end if
|
|
||||||
if not IsString(value)
|
|
||||||
value = `${value}`
|
|
||||||
end if
|
|
||||||
|
|
||||||
url = url.Replace(`{${key}}`, value.EncodeUriComponent())
|
|
||||||
end for
|
|
||||||
end if
|
|
||||||
if m._queryParams <> invalid
|
|
||||||
hasQueryParams = url.InStr("?") <> -1
|
|
||||||
for each key in m._queryParams
|
|
||||||
value = m._queryParams[key]
|
|
||||||
if value = invalid
|
|
||||||
continue for
|
|
||||||
end if
|
|
||||||
|
|
||||||
if not IsString(value)
|
|
||||||
if IsAssociativeArray(value) and IsArray(value.value)
|
|
||||||
if value.__arrayType = HttpClient.QueryParamArrayType.Repeated
|
|
||||||
valueArray = value.value
|
|
||||||
for each item in valueArray
|
|
||||||
itemString = item
|
|
||||||
if not IsString(itemString)
|
|
||||||
itemString = `${itemString}`
|
|
||||||
end if
|
|
||||||
if hasQueryParams
|
|
||||||
url += "&" + key.EncodeUriComponent() + "=" + itemString.EncodeUriComponent()
|
|
||||||
else
|
|
||||||
url += "?" + key.EncodeUriComponent() + "=" + itemString.EncodeUriComponent()
|
|
||||||
hasQueryParams = true
|
|
||||||
end if
|
|
||||||
end for
|
|
||||||
else if value.__arrayType = HttpClient.QueryParamArrayType.CommaSeparated
|
|
||||||
valueArray = value.value
|
|
||||||
for i = 0 to valueArray.Count() - 1
|
|
||||||
itemString = valueArray[i]
|
|
||||||
if not IsString(itemString)
|
|
||||||
itemString = `${itemString}`
|
|
||||||
end if
|
|
||||||
itemString = itemString.EncodeUriComponent()
|
|
||||||
valueArray[i] = itemString
|
|
||||||
end for
|
|
||||||
joined = valueArray.join(",")
|
|
||||||
if hasQueryParams
|
|
||||||
url += "&" + key.EncodeUriComponent() + "=" + joined
|
|
||||||
else
|
|
||||||
url += "?" + key.EncodeUriComponent() + "=" + joined
|
|
||||||
hasQueryParams = true
|
|
||||||
end if
|
|
||||||
end if
|
|
||||||
else
|
|
||||||
value = `${value}`
|
|
||||||
if hasQueryParams
|
|
||||||
url += "&" + key.EncodeUriComponent() + "=" + value.EncodeUriComponent()
|
|
||||||
else
|
|
||||||
url += "?" + key.EncodeUriComponent() + "=" + value.EncodeUriComponent()
|
|
||||||
hasQueryParams = true
|
|
||||||
end if
|
|
||||||
end if
|
|
||||||
else
|
|
||||||
if hasQueryParams
|
|
||||||
url += "&" + key.EncodeUriComponent() + "=" + value.EncodeUriComponent()
|
|
||||||
else
|
|
||||||
url += "?" + key.EncodeUriComponent() + "=" + value.EncodeUriComponent()
|
|
||||||
hasQueryParams = true
|
|
||||||
end if
|
|
||||||
end if
|
|
||||||
end for
|
|
||||||
end if
|
|
||||||
m._fullUrl = url
|
|
||||||
return m._fullUrl
|
return m._fullUrl
|
||||||
end function
|
end function
|
||||||
end class
|
end class
|
||||||
@@ -573,7 +498,7 @@ namespace HttpClient
|
|||||||
return m._headers
|
return m._headers
|
||||||
end function
|
end function
|
||||||
|
|
||||||
function ErrorMessage() as string
|
function ErrorMessage(includeBody = true as boolean) as string
|
||||||
if m._errorMessage <> invalid
|
if m._errorMessage <> invalid
|
||||||
return m._errorMessage
|
return m._errorMessage
|
||||||
end if
|
end if
|
||||||
@@ -588,7 +513,10 @@ namespace HttpClient
|
|||||||
else if m.IsCancelled()
|
else if m.IsCancelled()
|
||||||
m._errorMessage = "Request cancelled."
|
m._errorMessage = "Request cancelled."
|
||||||
else if type(m.event) = "roUrlEvent"
|
else if type(m.event) = "roUrlEvent"
|
||||||
m._errorMessage = `Reason :${m.event.GetFailureReason() }\nStatusCode: ${m.StatusCode()}\nRequestId: ${m.event.GetSourceIdentity()}\nBody: ${m.event.GetString()}`
|
m._errorMessage = `Reason :${m.event.GetFailureReason() }\nStatusCode: ${m.StatusCode()}\nRequestId: ${m.event.GetSourceIdentity()}`
|
||||||
|
if includeBody
|
||||||
|
m._errorMessage += `\nBody: ${m.event.GetString()}`
|
||||||
|
end if
|
||||||
end if
|
end if
|
||||||
end if
|
end if
|
||||||
|
|
||||||
|
|||||||
@@ -3,5 +3,13 @@ function ShowLoadingScreen()
|
|||||||
end function
|
end function
|
||||||
|
|
||||||
function HideLoadingScreen()
|
function HideLoadingScreen()
|
||||||
m.global.loadingIndicator.visible = false
|
loadingIndicator = m.global.loadingIndicator
|
||||||
|
loadingIndicator.visible = false
|
||||||
|
if loadingIndicator.hasField("message")
|
||||||
|
loadingIndicator.message = ""
|
||||||
|
end if
|
||||||
|
end function
|
||||||
|
|
||||||
|
function CopyLoadingMessagesToCache()
|
||||||
|
CopyFile("libpkg:/config/loading-messages.json5", "cachefs:/loading_messages_v1.json")
|
||||||
end function
|
end function
|
||||||
@@ -0,0 +1,144 @@
|
|||||||
|
import "pkg:/source/utils/Types.bs"
|
||||||
|
|
||||||
|
namespace UrlUtils
|
||||||
|
enum QueryParamArrayType
|
||||||
|
CommaSeparated = "CommaSeparated"
|
||||||
|
Repeated = "Repeated"
|
||||||
|
end enum
|
||||||
|
|
||||||
|
function BuildUrl(url as string, pathParams as object, queryParams as object) as string
|
||||||
|
url = SetPathParams(url, pathParams)
|
||||||
|
url = SetQueryParams(url, queryParams)
|
||||||
|
return url
|
||||||
|
end function
|
||||||
|
|
||||||
|
function SetPathParams(url as string, pathParams as object) as string
|
||||||
|
if pathParams = invalid
|
||||||
|
return url
|
||||||
|
end if
|
||||||
|
|
||||||
|
for each key in pathParams
|
||||||
|
value = pathParams[key]
|
||||||
|
if value = invalid
|
||||||
|
continue for
|
||||||
|
end if
|
||||||
|
|
||||||
|
if not IsString(value)
|
||||||
|
value = `${value}`
|
||||||
|
end if
|
||||||
|
|
||||||
|
url = url.Replace(`{${key}}`, value.EncodeUriComponent())
|
||||||
|
end for
|
||||||
|
|
||||||
|
return url
|
||||||
|
end function
|
||||||
|
|
||||||
|
function SetQueryParams(url as string, queryParams as object) as string
|
||||||
|
if queryParams = invalid or queryParams.Count() = 0
|
||||||
|
return url
|
||||||
|
end if
|
||||||
|
|
||||||
|
hasQueryParams = url.InStr("?") <> -1
|
||||||
|
|
||||||
|
for each key in queryParams
|
||||||
|
value = queryParams[key]
|
||||||
|
if value = invalid
|
||||||
|
continue for
|
||||||
|
end if
|
||||||
|
|
||||||
|
if hasQueryParams
|
||||||
|
url += "&" + GetEncodedQueryParam(key, value)
|
||||||
|
else
|
||||||
|
url += "?" + GetEncodedQueryParam(key, value)
|
||||||
|
hasQueryParams = true
|
||||||
|
end if
|
||||||
|
end for
|
||||||
|
|
||||||
|
return url
|
||||||
|
end function
|
||||||
|
|
||||||
|
function GetEncodedQueryParam(key as string, value as dynamic) as string
|
||||||
|
if IsString(value)
|
||||||
|
return key.EncodeUriComponent() + "=" + value.EncodeUriComponent()
|
||||||
|
else if IsAssociativeArray(value) and IsArray(value.value)
|
||||||
|
return GetEncodedQueryParamArray(key, value)
|
||||||
|
else
|
||||||
|
value = `${value}`
|
||||||
|
return key.EncodeUriComponent() + "=" + value.EncodeUriComponent()
|
||||||
|
end if
|
||||||
|
end function
|
||||||
|
|
||||||
|
function GetEncodedQueryParamArray(key as string, value as object) as string
|
||||||
|
if value.arrayType = UrlUtils.QueryParamArrayType.Repeated
|
||||||
|
return GetEncodedQueryParamArrayRepeated(key, value)
|
||||||
|
else if value.arrayType = UrlUtils.QueryParamArrayType.CommaSeparated
|
||||||
|
return GetEncodedQueryParamArrayCommaSeparated(key, value)
|
||||||
|
else
|
||||||
|
throw "Invalid query param array type"
|
||||||
|
end if
|
||||||
|
end function
|
||||||
|
|
||||||
|
function GetEncodedQueryParamArrayRepeated(key as string, value as object) as string
|
||||||
|
repeatedParams = []
|
||||||
|
valueArray = value.value
|
||||||
|
key = key.EncodeUriComponent()
|
||||||
|
|
||||||
|
for each item in valueArray
|
||||||
|
if not IsString(item)
|
||||||
|
item = `${item}`
|
||||||
|
end if
|
||||||
|
|
||||||
|
repeatedParams.push(key + "=" + item.EncodeUriComponent())
|
||||||
|
end for
|
||||||
|
|
||||||
|
return repeatedParams.join("&")
|
||||||
|
end function
|
||||||
|
|
||||||
|
function GetEncodedQueryParamArrayCommaSeparated(key as string, value as object) as string
|
||||||
|
valueArray = value.value
|
||||||
|
key = key.EncodeUriComponent()
|
||||||
|
|
||||||
|
for i = 0 to valueArray.Count() - 1
|
||||||
|
item = valueArray[i]
|
||||||
|
if not IsString(item)
|
||||||
|
item = `${item}`
|
||||||
|
end if
|
||||||
|
|
||||||
|
valueArray[i] = item.EncodeUriComponent()
|
||||||
|
end for
|
||||||
|
|
||||||
|
return key + "=" + valueArray.join(",")
|
||||||
|
end function
|
||||||
|
|
||||||
|
function ParseQueryComponents(url as string) as object
|
||||||
|
query = {}
|
||||||
|
index = Instr(0, url, "?")
|
||||||
|
url = Mid(url, index + 1)
|
||||||
|
components = url.split("&")
|
||||||
|
for each component in components
|
||||||
|
key = component
|
||||||
|
value = ""
|
||||||
|
hasValue = false
|
||||||
|
if Instr(0, component, "=")
|
||||||
|
keyValue = component.split("=")
|
||||||
|
key = keyValue[0]
|
||||||
|
value = keyValue[1].DecodeUriComponent()
|
||||||
|
hasValue = true
|
||||||
|
end if
|
||||||
|
|
||||||
|
if query.DoesExist(key) and hasValue
|
||||||
|
oldValue = query[key]
|
||||||
|
if GetInterface(oldValue, "ifArray") = invalid
|
||||||
|
oldValue = [oldValue]
|
||||||
|
end if
|
||||||
|
oldValue.push(value.DecodeUriComponent())
|
||||||
|
value = oldValue
|
||||||
|
end if
|
||||||
|
|
||||||
|
if key <> ""
|
||||||
|
query[key] = value
|
||||||
|
end if
|
||||||
|
end for
|
||||||
|
return query
|
||||||
|
end function
|
||||||
|
end namespace
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "playlet-web",
|
"name": "playlet-web",
|
||||||
"version": "0.17.0",
|
"version": "0.17.3",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
@@ -9,21 +9,21 @@
|
|||||||
"check": "svelte-check --tsconfig ./tsconfig.json"
|
"check": "svelte-check --tsconfig ./tsconfig.json"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@sveltejs/vite-plugin-svelte": "^2.4.6",
|
"@sveltejs/vite-plugin-svelte": "^3.0.1",
|
||||||
"@tailwindcss/typography": "^0.5.10",
|
"@tailwindcss/typography": "^0.5.10",
|
||||||
"@tsconfig/svelte": "^5.0.2",
|
"@tsconfig/svelte": "^5.0.2",
|
||||||
"autoprefixer": "^10.4.16",
|
"autoprefixer": "^10.4.16",
|
||||||
"daisyui": "^3.9.4",
|
"daisyui": "^4.4.19",
|
||||||
"dotenv": "^16.3.1",
|
"dotenv": "^16.3.1",
|
||||||
"ip": "^1.1.8",
|
"ip": "^1.1.8",
|
||||||
"postcss": "^8.4.31",
|
"postcss": "^8.4.32",
|
||||||
"svelte": "^4.2.2",
|
"svelte": "^4.2.8",
|
||||||
"svelte-check": "^3.5.2",
|
"svelte-check": "^3.6.2",
|
||||||
"svelte-preprocess": "^5.0.4",
|
"svelte-preprocess": "^5.1.1",
|
||||||
"tailwindcss": "^3.3.5",
|
"tailwindcss": "^3.3.6",
|
||||||
"tslib": "^2.6.2",
|
"tslib": "^2.6.2",
|
||||||
"typescript": "^5.2.2",
|
"typescript": "^5.3.3",
|
||||||
"vite": "^4.5.0",
|
"vite": "^5.0.7",
|
||||||
"vite-tsconfig-paths": "^4.2.1"
|
"vite-tsconfig-paths": "^4.2.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,163 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
||||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
|
||||||
|
|
||||||
<svg
|
|
||||||
width="1920"
|
|
||||||
height="745"
|
|
||||||
viewBox="0 0 508 197.11453"
|
|
||||||
version="1.1"
|
|
||||||
id="svg10011"
|
|
||||||
sodipodi:docname="logo-dark.svg"
|
|
||||||
inkscape:version="1.2.1 (9c6d41e4, 2022-07-14)"
|
|
||||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
||||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
|
||||||
xmlns:svg="http://www.w3.org/2000/svg">
|
|
||||||
<sodipodi:namedview
|
|
||||||
id="namedview34"
|
|
||||||
pagecolor="#ffffff"
|
|
||||||
bordercolor="#000000"
|
|
||||||
borderopacity="0.25"
|
|
||||||
inkscape:showpageshadow="2"
|
|
||||||
inkscape:pageopacity="0.0"
|
|
||||||
inkscape:pagecheckerboard="0"
|
|
||||||
inkscape:deskcolor="#d1d1d1"
|
|
||||||
showgrid="false"
|
|
||||||
inkscape:zoom="0.21851852"
|
|
||||||
inkscape:cx="748.22034"
|
|
||||||
inkscape:cy="576.61017"
|
|
||||||
inkscape:window-width="1440"
|
|
||||||
inkscape:window-height="758"
|
|
||||||
inkscape:window-x="0"
|
|
||||||
inkscape:window-y="25"
|
|
||||||
inkscape:window-maximized="1"
|
|
||||||
inkscape:current-layer="layer1" />
|
|
||||||
<defs
|
|
||||||
id="defs10008">
|
|
||||||
<rect
|
|
||||||
x="180.21565"
|
|
||||||
y="328.72668"
|
|
||||||
width="570.68286"
|
|
||||||
height="243.62486"
|
|
||||||
id="rect418-2-51" />
|
|
||||||
<rect
|
|
||||||
x="180.21565"
|
|
||||||
y="328.72668"
|
|
||||||
width="570.68286"
|
|
||||||
height="243.62486"
|
|
||||||
id="rect418-2-8-2" />
|
|
||||||
<rect
|
|
||||||
x="180.21565"
|
|
||||||
y="328.72668"
|
|
||||||
width="570.68286"
|
|
||||||
height="243.62486"
|
|
||||||
id="rect418-2-53-6" />
|
|
||||||
<rect
|
|
||||||
x="180.21565"
|
|
||||||
y="328.72668"
|
|
||||||
width="570.68286"
|
|
||||||
height="243.62486"
|
|
||||||
id="rect418-2-6-6" />
|
|
||||||
<rect
|
|
||||||
x="180.21565"
|
|
||||||
y="328.72668"
|
|
||||||
width="570.68286"
|
|
||||||
height="243.62486"
|
|
||||||
id="rect418-2-5-5" />
|
|
||||||
<rect
|
|
||||||
x="180.21565"
|
|
||||||
y="328.72668"
|
|
||||||
width="570.68286"
|
|
||||||
height="243.62486"
|
|
||||||
id="rect418-2-1-4" />
|
|
||||||
<rect
|
|
||||||
x="180.21565"
|
|
||||||
y="328.72668"
|
|
||||||
width="570.68286"
|
|
||||||
height="243.62486"
|
|
||||||
id="rect418-2-3-1" />
|
|
||||||
</defs>
|
|
||||||
<g
|
|
||||||
id="layer1"
|
|
||||||
transform="matrix(1.7349039,0,0,1.7349039,-186.21265,-148.69195)">
|
|
||||||
<rect
|
|
||||||
style="fill:#f0f9f2;fill-opacity:1;stroke:none;stroke-width:3.68071;stroke-linejoin:round;stroke-dasharray:none"
|
|
||||||
id="rect8445-7"
|
|
||||||
width="192.9267"
|
|
||||||
height="108.94424"
|
|
||||||
x="109.70631"
|
|
||||||
y="88.402878"
|
|
||||||
rx="20.13974"
|
|
||||||
ry="19.408449" />
|
|
||||||
<g
|
|
||||||
aria-label="P"
|
|
||||||
transform="matrix(1.3208994,0,0,1.3208994,-115.36013,-354.38654)"
|
|
||||||
id="text416-2-13"
|
|
||||||
style="font-size:74.6667px;font-family:'The Amaranth';-inkscape-font-specification:'The Amaranth, Normal';white-space:pre;shape-inside:url(#rect418-2-51);display:inline;fill:#ff1c30;stroke-width:1.06591;stroke-linejoin:round">
|
|
||||||
<path
|
|
||||||
d="m 182.08151,397.45387 v -50.02669 h 15.38134 q 4.032,0 7.54134,1.49333 3.50933,1.49334 6.12267,4.18134 2.61333,2.61333 4.10667,6.12267 1.49333,3.50933 1.49333,7.54133 0,3.95734 -1.49333,7.46667 -1.49334,3.50934 -4.10667,6.12267 -2.61334,2.53867 -6.12267,4.03201 -3.50934,1.49333 -7.54134,1.49333 h -8.81067 v 11.57334 z m 6.57067,-18.14401 h 8.81067 q 2.61334,0 4.928,-0.97067 2.31467,-1.04533 4.03201,-2.688 1.71733,-1.71733 2.688,-3.95733 1.04533,-2.31467 1.04533,-4.92801 0,-2.688 -1.04533,-5.00267 -0.97067,-2.31466 -2.688,-4.032 -1.71734,-1.71733 -4.03201,-2.688 -2.31466,-0.97067 -4.928,-0.97067 h -8.81067 z"
|
|
||||||
style="font-family:'Bunya PERSONAL';-inkscape-font-specification:'Bunya PERSONAL, Normal'"
|
|
||||||
id="path335" />
|
|
||||||
</g>
|
|
||||||
<g
|
|
||||||
aria-label="l"
|
|
||||||
transform="matrix(1.3208994,0,0,1.3208994,-65.866935,-354.45042)"
|
|
||||||
id="text416-2-1-4"
|
|
||||||
style="font-size:74.6667px;font-family:'The Amaranth';-inkscape-font-specification:'The Amaranth, Normal';white-space:pre;shape-inside:url(#rect418-2-8-2);display:inline;fill:#ff1c30;stroke-width:1.06591;stroke-linejoin:round">
|
|
||||||
<path
|
|
||||||
d="m 189.92152,349.36851 v 48.08536 h -6.27201 v -48.08536 z"
|
|
||||||
style="font-family:'Bunya PERSONAL';-inkscape-font-specification:'Bunya PERSONAL, Normal'"
|
|
||||||
id="path332" />
|
|
||||||
</g>
|
|
||||||
<g
|
|
||||||
aria-label="e"
|
|
||||||
transform="matrix(1.3208994,0,0,1.3208994,87.108046,-354.30193)"
|
|
||||||
id="text416-2-5-8"
|
|
||||||
style="font-size:74.6667px;font-family:'The Amaranth';-inkscape-font-specification:'The Amaranth, Normal';white-space:pre;shape-inside:url(#rect418-2-53-6);display:inline;fill:#ff1c30;stroke-width:1.06591;stroke-linejoin:round">
|
|
||||||
<path
|
|
||||||
d="m 216.35353,388.8672 q -3.06134,4.55467 -7.24267,6.64533 -4.10667,2.09067 -8.96001,2.09067 -3.808,0 -7.168,-1.41867 -3.36,-1.49333 -5.824,-3.95733 -2.464,-2.464 -3.95734,-5.824 -1.41867,-3.36001 -1.41867,-7.16801 0,-3.88267 1.41867,-7.24267 1.49334,-3.36 3.95734,-5.824 2.464,-2.53867 5.824,-3.95734 3.36,-1.49333 7.168,-1.49333 4.85334,0 9.10934,2.24 4.33067,2.24 7.46667,6.944 l -21.65334,20.16001 q 1.19466,0.82134 2.98667,1.19467 1.792,0.29867 3.584,0.0747 3.136,-0.37334 5.824,-2.09067 2.76267,-1.792 4.62934,-4.48 z m -28.59735,-10.60267 q -0.224,2.83733 0.74667,5.22666 0.97066,2.38934 2.76267,3.73334 l 17.09867,-16.65067 q -1.41867,-1.71734 -3.808,-2.76267 -2.38934,-1.12 -5.22667,-0.97067 -2.31467,0.14933 -4.33067,1.04533 -2.016,0.896 -3.584,2.46401 -1.49333,1.49333 -2.464,3.50933 -0.97067,2.016 -1.19467,4.40534 z"
|
|
||||||
style="font-family:'Bunya PERSONAL';-inkscape-font-specification:'Bunya PERSONAL, Normal'"
|
|
||||||
id="path329" />
|
|
||||||
</g>
|
|
||||||
<g
|
|
||||||
aria-label="t"
|
|
||||||
transform="matrix(1.3208994,0,0,1.3208994,138.55003,-354.31168)"
|
|
||||||
id="text416-2-59-6"
|
|
||||||
style="font-size:74.6667px;font-family:'The Amaranth';-inkscape-font-specification:'The Amaranth, Normal';white-space:pre;shape-inside:url(#rect418-2-6-6);display:inline;fill:#ff1c30;stroke-width:1.06591;stroke-linejoin:round">
|
|
||||||
<path
|
|
||||||
d="m 180.21484,360.71785 h 3.43467 v -11.34934 h 6.34667 v 11.34934 h 6.64534 v 5.22667 h -6.64534 v 20.23468 q 0,2.61333 1.64267,4.256 1.64267,1.568 4.256,1.568 v 5.6 q -6.048,0 -9.184,-2.912 -3.06134,-2.912 -3.06134,-8.512 v -20.23468 h -3.43467 z"
|
|
||||||
style="font-family:'Bunya PERSONAL';-inkscape-font-specification:'Bunya PERSONAL, Normal'"
|
|
||||||
id="path317" />
|
|
||||||
</g>
|
|
||||||
<g
|
|
||||||
aria-label="l"
|
|
||||||
transform="matrix(1.3208994,0,0,1.3208994,69.600141,-354.30583)"
|
|
||||||
id="text416-2-8-1"
|
|
||||||
style="font-size:74.6667px;font-family:'The Amaranth';-inkscape-font-specification:'The Amaranth, Normal';white-space:pre;shape-inside:url(#rect418-2-5-5);display:inline;fill:#ff1c30;stroke-width:1.06591;stroke-linejoin:round">
|
|
||||||
<path
|
|
||||||
d="m 189.92152,349.36851 v 48.08536 h -6.27201 v -48.08536 z"
|
|
||||||
style="font-family:'Bunya PERSONAL';-inkscape-font-specification:'Bunya PERSONAL, Normal'"
|
|
||||||
id="path326" />
|
|
||||||
</g>
|
|
||||||
<g
|
|
||||||
aria-label="a"
|
|
||||||
transform="matrix(1.3208994,0,0,1.3208994,-48.469095,-354.51494)"
|
|
||||||
id="text416-2-4-5"
|
|
||||||
style="font-size:74.6667px;font-family:'The Amaranth';-inkscape-font-specification:'The Amaranth, Normal';white-space:pre;shape-inside:url(#rect418-2-1-4);display:inline;fill:#ff1c30;stroke-width:1.06591;stroke-linejoin:round">
|
|
||||||
<path
|
|
||||||
d="m 181.85751,379.23519 q 0,-3.88267 1.344,-7.24267 1.344,-3.36 3.584,-5.824 2.31467,-2.53867 5.37601,-3.95734 3.136,-1.49333 6.72,-1.49333 4.256,0 7.76534,2.09067 3.50933,2.016 5.74933,5.45067 v -7.39201 h 6.34667 v 36.58669 h -6.34667 v -7.31734 q -2.24,3.43467 -5.74933,5.45067 -3.50934,2.016 -7.76534,2.016 -3.584,0 -6.72,-1.41867 -3.06134,-1.49333 -5.37601,-3.95733 -2.24,-2.464 -3.584,-5.824 -1.344,-3.36001 -1.344,-7.16801 z m 6.34667,0 q 0,2.464 0.896,4.704 0.97067,2.16534 2.53867,3.80801 1.64267,1.64266 3.808,2.61333 2.24,0.896 4.77867,0.896 2.464,0 4.62934,-0.896 2.24,-0.97067 3.88266,-2.61333 1.64267,-1.64267 2.61334,-3.80801 0.97067,-2.24 0.97067,-4.704 0,-2.464 -0.97067,-4.704 -0.97067,-2.24 -2.61334,-3.88267 -1.64266,-1.64267 -3.88266,-2.61333 -2.16534,-0.97067 -4.62934,-0.97067 -2.53867,0 -4.77867,0.97067 -2.16533,0.97066 -3.808,2.61333 -1.568,1.64267 -2.53867,3.88267 -0.896,2.24 -0.896,4.704 z"
|
|
||||||
style="font-family:'Bunya PERSONAL';-inkscape-font-specification:'Bunya PERSONAL, Normal'"
|
|
||||||
id="path323" />
|
|
||||||
</g>
|
|
||||||
<g
|
|
||||||
aria-label="y"
|
|
||||||
transform="matrix(1.3208994,0,0,1.3208994,9.0695965,-354.11012)"
|
|
||||||
id="text416-2-84-0"
|
|
||||||
style="font-size:74.6667px;font-family:'The Amaranth';-inkscape-font-specification:'The Amaranth, Normal';white-space:pre;shape-inside:url(#rect418-2-3-1);display:inline;fill:#ff1c30;stroke-width:1.06591;stroke-linejoin:round">
|
|
||||||
<path
|
|
||||||
d="m 186.56151,360.86718 10.97601,28.07468 10.752,-28.07468 h 6.72001 l -18.74135,47.56269 h -6.272 l 4.256,-10.82667 -14.48534,-36.73602 z"
|
|
||||||
style="font-family:'Bunya PERSONAL';-inkscape-font-specification:'Bunya PERSONAL, Normal'"
|
|
||||||
id="path320" />
|
|
||||||
</g>
|
|
||||||
</g>
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 8.7 KiB |
@@ -0,0 +1,166 @@
|
|||||||
|
<svg
|
||||||
|
width="82"
|
||||||
|
height="32"
|
||||||
|
viewBox="0 0 508 197.11453"
|
||||||
|
version="1.1"
|
||||||
|
id="svg10011"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
>
|
||||||
|
<sodipodi:namedview
|
||||||
|
id="namedview34"
|
||||||
|
pagecolor="#ffffff"
|
||||||
|
bordercolor="#000000"
|
||||||
|
borderopacity="0.25"
|
||||||
|
showgrid="false"
|
||||||
|
/>
|
||||||
|
<defs id="defs10008">
|
||||||
|
<rect
|
||||||
|
x="180.21565"
|
||||||
|
y="328.72668"
|
||||||
|
width="570.68286"
|
||||||
|
height="243.62486"
|
||||||
|
id="rect418-2-51"
|
||||||
|
/>
|
||||||
|
<rect
|
||||||
|
x="180.21565"
|
||||||
|
y="328.72668"
|
||||||
|
width="570.68286"
|
||||||
|
height="243.62486"
|
||||||
|
id="rect418-2-8-2"
|
||||||
|
/>
|
||||||
|
<rect
|
||||||
|
x="180.21565"
|
||||||
|
y="328.72668"
|
||||||
|
width="570.68286"
|
||||||
|
height="243.62486"
|
||||||
|
id="rect418-2-53-6"
|
||||||
|
/>
|
||||||
|
<rect
|
||||||
|
x="180.21565"
|
||||||
|
y="328.72668"
|
||||||
|
width="570.68286"
|
||||||
|
height="243.62486"
|
||||||
|
id="rect418-2-6-6"
|
||||||
|
/>
|
||||||
|
<rect
|
||||||
|
x="180.21565"
|
||||||
|
y="328.72668"
|
||||||
|
width="570.68286"
|
||||||
|
height="243.62486"
|
||||||
|
id="rect418-2-5-5"
|
||||||
|
/>
|
||||||
|
<rect
|
||||||
|
x="180.21565"
|
||||||
|
y="328.72668"
|
||||||
|
width="570.68286"
|
||||||
|
height="243.62486"
|
||||||
|
id="rect418-2-1-4"
|
||||||
|
/>
|
||||||
|
<rect
|
||||||
|
x="180.21565"
|
||||||
|
y="328.72668"
|
||||||
|
width="570.68286"
|
||||||
|
height="243.62486"
|
||||||
|
id="rect418-2-3-1"
|
||||||
|
/>
|
||||||
|
</defs>
|
||||||
|
<g
|
||||||
|
id="layer1"
|
||||||
|
transform="matrix(1.7349039,0,0,1.7349039,-186.21265,-148.69195)"
|
||||||
|
>
|
||||||
|
<rect
|
||||||
|
style="fill:#f0f9f2;fill-opacity:1;stroke:none;stroke-width:3.68071;stroke-linejoin:round;stroke-dasharray:none"
|
||||||
|
id="rect8445-7"
|
||||||
|
width="192.9267"
|
||||||
|
height="108.94424"
|
||||||
|
x="109.70631"
|
||||||
|
y="88.402878"
|
||||||
|
rx="20.13974"
|
||||||
|
ry="19.408449"
|
||||||
|
/>
|
||||||
|
<g
|
||||||
|
aria-label="P"
|
||||||
|
transform="matrix(1.3208994,0,0,1.3208994,-115.36013,-354.38654)"
|
||||||
|
id="text416-2-13"
|
||||||
|
style="font-size:74.6667px;font-family:'The Amaranth';-inkscape-font-specification:'The Amaranth, Normal';white-space:pre;shape-inside:url(#rect418-2-51);display:inline;fill:#ff1c30;stroke-width:1.06591;stroke-linejoin:round"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
d="m 182.08151,397.45387 v -50.02669 h 15.38134 q 4.032,0 7.54134,1.49333 3.50933,1.49334 6.12267,4.18134 2.61333,2.61333 4.10667,6.12267 1.49333,3.50933 1.49333,7.54133 0,3.95734 -1.49333,7.46667 -1.49334,3.50934 -4.10667,6.12267 -2.61334,2.53867 -6.12267,4.03201 -3.50934,1.49333 -7.54134,1.49333 h -8.81067 v 11.57334 z m 6.57067,-18.14401 h 8.81067 q 2.61334,0 4.928,-0.97067 2.31467,-1.04533 4.03201,-2.688 1.71733,-1.71733 2.688,-3.95733 1.04533,-2.31467 1.04533,-4.92801 0,-2.688 -1.04533,-5.00267 -0.97067,-2.31466 -2.688,-4.032 -1.71734,-1.71733 -4.03201,-2.688 -2.31466,-0.97067 -4.928,-0.97067 h -8.81067 z"
|
||||||
|
style="font-family:'Bunya PERSONAL';-inkscape-font-specification:'Bunya PERSONAL, Normal'"
|
||||||
|
id="path335"
|
||||||
|
/>
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
aria-label="l"
|
||||||
|
transform="matrix(1.3208994,0,0,1.3208994,-65.866935,-354.45042)"
|
||||||
|
id="text416-2-1-4"
|
||||||
|
style="font-size:74.6667px;font-family:'The Amaranth';-inkscape-font-specification:'The Amaranth, Normal';white-space:pre;shape-inside:url(#rect418-2-8-2);display:inline;fill:#ff1c30;stroke-width:1.06591;stroke-linejoin:round"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
d="m 189.92152,349.36851 v 48.08536 h -6.27201 v -48.08536 z"
|
||||||
|
style="font-family:'Bunya PERSONAL';-inkscape-font-specification:'Bunya PERSONAL, Normal'"
|
||||||
|
id="path332"
|
||||||
|
/>
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
aria-label="e"
|
||||||
|
transform="matrix(1.3208994,0,0,1.3208994,87.108046,-354.30193)"
|
||||||
|
id="text416-2-5-8"
|
||||||
|
style="font-size:74.6667px;font-family:'The Amaranth';-inkscape-font-specification:'The Amaranth, Normal';white-space:pre;shape-inside:url(#rect418-2-53-6);display:inline;fill:#ff1c30;stroke-width:1.06591;stroke-linejoin:round"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
d="m 216.35353,388.8672 q -3.06134,4.55467 -7.24267,6.64533 -4.10667,2.09067 -8.96001,2.09067 -3.808,0 -7.168,-1.41867 -3.36,-1.49333 -5.824,-3.95733 -2.464,-2.464 -3.95734,-5.824 -1.41867,-3.36001 -1.41867,-7.16801 0,-3.88267 1.41867,-7.24267 1.49334,-3.36 3.95734,-5.824 2.464,-2.53867 5.824,-3.95734 3.36,-1.49333 7.168,-1.49333 4.85334,0 9.10934,2.24 4.33067,2.24 7.46667,6.944 l -21.65334,20.16001 q 1.19466,0.82134 2.98667,1.19467 1.792,0.29867 3.584,0.0747 3.136,-0.37334 5.824,-2.09067 2.76267,-1.792 4.62934,-4.48 z m -28.59735,-10.60267 q -0.224,2.83733 0.74667,5.22666 0.97066,2.38934 2.76267,3.73334 l 17.09867,-16.65067 q -1.41867,-1.71734 -3.808,-2.76267 -2.38934,-1.12 -5.22667,-0.97067 -2.31467,0.14933 -4.33067,1.04533 -2.016,0.896 -3.584,2.46401 -1.49333,1.49333 -2.464,3.50933 -0.97067,2.016 -1.19467,4.40534 z"
|
||||||
|
style="font-family:'Bunya PERSONAL';-inkscape-font-specification:'Bunya PERSONAL, Normal'"
|
||||||
|
id="path329"
|
||||||
|
/>
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
aria-label="t"
|
||||||
|
transform="matrix(1.3208994,0,0,1.3208994,138.55003,-354.31168)"
|
||||||
|
id="text416-2-59-6"
|
||||||
|
style="font-size:74.6667px;font-family:'The Amaranth';-inkscape-font-specification:'The Amaranth, Normal';white-space:pre;shape-inside:url(#rect418-2-6-6);display:inline;fill:#ff1c30;stroke-width:1.06591;stroke-linejoin:round"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
d="m 180.21484,360.71785 h 3.43467 v -11.34934 h 6.34667 v 11.34934 h 6.64534 v 5.22667 h -6.64534 v 20.23468 q 0,2.61333 1.64267,4.256 1.64267,1.568 4.256,1.568 v 5.6 q -6.048,0 -9.184,-2.912 -3.06134,-2.912 -3.06134,-8.512 v -20.23468 h -3.43467 z"
|
||||||
|
style="font-family:'Bunya PERSONAL';-inkscape-font-specification:'Bunya PERSONAL, Normal'"
|
||||||
|
id="path317"
|
||||||
|
/>
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
aria-label="l"
|
||||||
|
transform="matrix(1.3208994,0,0,1.3208994,69.600141,-354.30583)"
|
||||||
|
id="text416-2-8-1"
|
||||||
|
style="font-size:74.6667px;font-family:'The Amaranth';-inkscape-font-specification:'The Amaranth, Normal';white-space:pre;shape-inside:url(#rect418-2-5-5);display:inline;fill:#ff1c30;stroke-width:1.06591;stroke-linejoin:round"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
d="m 189.92152,349.36851 v 48.08536 h -6.27201 v -48.08536 z"
|
||||||
|
style="font-family:'Bunya PERSONAL';-inkscape-font-specification:'Bunya PERSONAL, Normal'"
|
||||||
|
id="path326"
|
||||||
|
/>
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
aria-label="a"
|
||||||
|
transform="matrix(1.3208994,0,0,1.3208994,-48.469095,-354.51494)"
|
||||||
|
id="text416-2-4-5"
|
||||||
|
style="font-size:74.6667px;font-family:'The Amaranth';-inkscape-font-specification:'The Amaranth, Normal';white-space:pre;shape-inside:url(#rect418-2-1-4);display:inline;fill:#ff1c30;stroke-width:1.06591;stroke-linejoin:round"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
d="m 181.85751,379.23519 q 0,-3.88267 1.344,-7.24267 1.344,-3.36 3.584,-5.824 2.31467,-2.53867 5.37601,-3.95734 3.136,-1.49333 6.72,-1.49333 4.256,0 7.76534,2.09067 3.50933,2.016 5.74933,5.45067 v -7.39201 h 6.34667 v 36.58669 h -6.34667 v -7.31734 q -2.24,3.43467 -5.74933,5.45067 -3.50934,2.016 -7.76534,2.016 -3.584,0 -6.72,-1.41867 -3.06134,-1.49333 -5.37601,-3.95733 -2.24,-2.464 -3.584,-5.824 -1.344,-3.36001 -1.344,-7.16801 z m 6.34667,0 q 0,2.464 0.896,4.704 0.97067,2.16534 2.53867,3.80801 1.64267,1.64266 3.808,2.61333 2.24,0.896 4.77867,0.896 2.464,0 4.62934,-0.896 2.24,-0.97067 3.88266,-2.61333 1.64267,-1.64267 2.61334,-3.80801 0.97067,-2.24 0.97067,-4.704 0,-2.464 -0.97067,-4.704 -0.97067,-2.24 -2.61334,-3.88267 -1.64266,-1.64267 -3.88266,-2.61333 -2.16534,-0.97067 -4.62934,-0.97067 -2.53867,0 -4.77867,0.97067 -2.16533,0.97066 -3.808,2.61333 -1.568,1.64267 -2.53867,3.88267 -0.896,2.24 -0.896,4.704 z"
|
||||||
|
style="font-family:'Bunya PERSONAL';-inkscape-font-specification:'Bunya PERSONAL, Normal'"
|
||||||
|
id="path323"
|
||||||
|
/>
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
aria-label="y"
|
||||||
|
transform="matrix(1.3208994,0,0,1.3208994,9.0695965,-354.11012)"
|
||||||
|
id="text416-2-84-0"
|
||||||
|
style="font-size:74.6667px;font-family:'The Amaranth';-inkscape-font-specification:'The Amaranth, Normal';white-space:pre;shape-inside:url(#rect418-2-3-1);display:inline;fill:#ff1c30;stroke-width:1.06591;stroke-linejoin:round"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
d="m 186.56151,360.86718 10.97601,28.07468 10.752,-28.07468 h 6.72001 l -18.74135,47.56269 h -6.272 l 4.256,-10.82667 -14.48534,-36.73602 z"
|
||||||
|
style="font-family:'Bunya PERSONAL';-inkscape-font-specification:'Bunya PERSONAL, Normal'"
|
||||||
|
id="path320"
|
||||||
|
/>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 8.0 KiB |
@@ -1,120 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
||||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
|
||||||
|
|
||||||
<svg
|
|
||||||
width="371"
|
|
||||||
height="142"
|
|
||||||
viewBox="0 0 98.160945 37.570857"
|
|
||||||
version="1.1"
|
|
||||||
id="svg9602"
|
|
||||||
sodipodi:docname="logo-light.svg"
|
|
||||||
inkscape:version="1.2.1 (9c6d41e4, 2022-07-14)"
|
|
||||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
||||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
|
||||||
xmlns:svg="http://www.w3.org/2000/svg">
|
|
||||||
<sodipodi:namedview
|
|
||||||
id="namedview20"
|
|
||||||
pagecolor="#ffffff"
|
|
||||||
bordercolor="#000000"
|
|
||||||
borderopacity="0.25"
|
|
||||||
inkscape:showpageshadow="2"
|
|
||||||
inkscape:pageopacity="0.0"
|
|
||||||
inkscape:pagecheckerboard="0"
|
|
||||||
inkscape:deskcolor="#d1d1d1"
|
|
||||||
showgrid="false"
|
|
||||||
inkscape:zoom="2.6316652"
|
|
||||||
inkscape:cx="125.96587"
|
|
||||||
inkscape:cy="61.177994"
|
|
||||||
inkscape:window-width="1440"
|
|
||||||
inkscape:window-height="744"
|
|
||||||
inkscape:window-x="0"
|
|
||||||
inkscape:window-y="25"
|
|
||||||
inkscape:window-maximized="1"
|
|
||||||
inkscape:current-layer="svg9602" />
|
|
||||||
<defs
|
|
||||||
id="defs9599" />
|
|
||||||
<g
|
|
||||||
id="layer1"
|
|
||||||
transform="translate(-22.260864,-34.716253)">
|
|
||||||
<rect
|
|
||||||
style="fill:#242424;fill-opacity:0.99;stroke:none;stroke-width:1.24539;stroke-linejoin:round;stroke-dasharray:none"
|
|
||||||
id="rect8445"
|
|
||||||
width="65.39537"
|
|
||||||
height="36.795055"
|
|
||||||
x="22.703459"
|
|
||||||
y="35.180595"
|
|
||||||
rx="6.8266635"
|
|
||||||
ry="6.5550508" />
|
|
||||||
<g
|
|
||||||
aria-label="P"
|
|
||||||
transform="matrix(0.44612332,0,0,0.44612332,-53.310985,-114.20369)"
|
|
||||||
id="text416-2"
|
|
||||||
style="font-size:74.6667px;font-family:'The Amaranth';-inkscape-font-specification:'The Amaranth, Normal';white-space:pre;shape-inside:url(#rect418-2);display:inline;fill:#ff1c30;stroke-width:1.06591;stroke-linejoin:round">
|
|
||||||
<path
|
|
||||||
d="m 182.08151,397.45387 v -50.02669 h 15.38134 q 4.032,0 7.54134,1.49333 3.50933,1.49334 6.12267,4.18134 2.61333,2.61333 4.10667,6.12267 1.49333,3.50933 1.49333,7.54133 0,3.95734 -1.49333,7.46667 -1.49334,3.50934 -4.10667,6.12267 -2.61334,2.53867 -6.12267,4.03201 -3.50934,1.49333 -7.54134,1.49333 h -8.81067 v 11.57334 z m 6.57067,-18.14401 h 8.81067 q 2.61334,0 4.928,-0.97067 2.31467,-1.04533 4.03201,-2.688 1.71733,-1.71733 2.688,-3.95733 1.04533,-2.31467 1.04533,-4.92801 0,-2.688 -1.04533,-5.00267 -0.97067,-2.31466 -2.688,-4.032 -1.71734,-1.71733 -4.03201,-2.688 -2.31466,-0.97067 -4.928,-0.97067 h -8.81067 z"
|
|
||||||
style="font-family:'Bunya PERSONAL';-inkscape-font-specification:'Bunya PERSONAL, Normal'"
|
|
||||||
id="path9573" />
|
|
||||||
</g>
|
|
||||||
<g
|
|
||||||
aria-label="l"
|
|
||||||
transform="matrix(0.44612332,0,0,0.44612332,-36.59502,-114.22526)"
|
|
||||||
id="text416-2-1"
|
|
||||||
style="font-size:74.6667px;font-family:'The Amaranth';-inkscape-font-specification:'The Amaranth, Normal';white-space:pre;shape-inside:url(#rect418-2-8);display:inline;fill:#ff1c30;stroke-width:1.06591;stroke-linejoin:round">
|
|
||||||
<path
|
|
||||||
d="m 189.92152,349.36851 v 48.08536 h -6.27201 v -48.08536 z"
|
|
||||||
style="font-family:'Bunya PERSONAL';-inkscape-font-specification:'Bunya PERSONAL, Normal'"
|
|
||||||
id="path9570" />
|
|
||||||
</g>
|
|
||||||
<g
|
|
||||||
aria-label="e"
|
|
||||||
transform="matrix(0.44612332,0,0,0.44612332,15.071073,-114.17511)"
|
|
||||||
id="text416-2-5"
|
|
||||||
style="font-size:74.6667px;font-family:'The Amaranth';-inkscape-font-specification:'The Amaranth, Normal';white-space:pre;shape-inside:url(#rect418-2-53);display:inline;fill:#ff1c30;stroke-width:1.06591;stroke-linejoin:round">
|
|
||||||
<path
|
|
||||||
d="m 216.35353,388.8672 q -3.06134,4.55467 -7.24267,6.64533 -4.10667,2.09067 -8.96001,2.09067 -3.808,0 -7.168,-1.41867 -3.36,-1.49333 -5.824,-3.95733 -2.464,-2.464 -3.95734,-5.824 -1.41867,-3.36001 -1.41867,-7.16801 0,-3.88267 1.41867,-7.24267 1.49334,-3.36 3.95734,-5.824 2.464,-2.53867 5.824,-3.95734 3.36,-1.49333 7.168,-1.49333 4.85334,0 9.10934,2.24 4.33067,2.24 7.46667,6.944 l -21.65334,20.16001 q 1.19466,0.82134 2.98667,1.19467 1.792,0.29867 3.584,0.0747 3.136,-0.37334 5.824,-2.09067 2.76267,-1.792 4.62934,-4.48 z m -28.59735,-10.60267 q -0.224,2.83733 0.74667,5.22666 0.97066,2.38934 2.76267,3.73334 l 17.09867,-16.65067 q -1.41867,-1.71734 -3.808,-2.76267 -2.38934,-1.12 -5.22667,-0.97067 -2.31467,0.14933 -4.33067,1.04533 -2.016,0.896 -3.584,2.46401 -1.49333,1.49333 -2.464,3.50933 -0.97067,2.016 -1.19467,4.40534 z"
|
|
||||||
style="font-family:'Bunya PERSONAL';-inkscape-font-specification:'Bunya PERSONAL, Normal'"
|
|
||||||
id="path9558" />
|
|
||||||
</g>
|
|
||||||
<g
|
|
||||||
aria-label="t"
|
|
||||||
transform="matrix(0.44612332,0,0,0.44612332,32.445174,-114.17841)"
|
|
||||||
id="text416-2-59"
|
|
||||||
style="font-size:74.6667px;font-family:'The Amaranth';-inkscape-font-specification:'The Amaranth, Normal';white-space:pre;shape-inside:url(#rect418-2-6);display:inline;fill:#ff1c30;stroke-width:1.06591;stroke-linejoin:round">
|
|
||||||
<path
|
|
||||||
d="m 180.21484,360.71785 h 3.43467 v -11.34934 h 6.34667 v 11.34934 h 6.64534 v 5.22667 h -6.64534 v 20.23468 q 0,2.61333 1.64267,4.256 1.64267,1.568 4.256,1.568 v 5.6 q -6.048,0 -9.184,-2.912 -3.06134,-2.912 -3.06134,-8.512 v -20.23468 h -3.43467 z"
|
|
||||||
style="font-family:'Bunya PERSONAL';-inkscape-font-specification:'Bunya PERSONAL, Normal'"
|
|
||||||
id="path9555" />
|
|
||||||
</g>
|
|
||||||
<g
|
|
||||||
aria-label="l"
|
|
||||||
transform="matrix(0.44612332,0,0,0.44612332,9.157916,-114.17642)"
|
|
||||||
id="text416-2-8"
|
|
||||||
style="font-size:74.6667px;font-family:'The Amaranth';-inkscape-font-specification:'The Amaranth, Normal';white-space:pre;shape-inside:url(#rect418-2-5);display:inline;fill:#ff1c30;stroke-width:1.06591;stroke-linejoin:round">
|
|
||||||
<path
|
|
||||||
d="m 189.92152,349.36851 v 48.08536 h -6.27201 v -48.08536 z"
|
|
||||||
style="font-family:'Bunya PERSONAL';-inkscape-font-specification:'Bunya PERSONAL, Normal'"
|
|
||||||
id="path9561" />
|
|
||||||
</g>
|
|
||||||
<g
|
|
||||||
aria-label="a"
|
|
||||||
transform="matrix(0.44612332,0,0,0.44612332,-30.719029,-114.24707)"
|
|
||||||
id="text416-2-4"
|
|
||||||
style="font-size:74.6667px;font-family:'The Amaranth';-inkscape-font-specification:'The Amaranth, Normal';white-space:pre;shape-inside:url(#rect418-2-1);display:inline;fill:#ff1c30;stroke-width:1.06591;stroke-linejoin:round">
|
|
||||||
<path
|
|
||||||
d="m 181.85751,379.23519 q 0,-3.88267 1.344,-7.24267 1.344,-3.36 3.584,-5.824 2.31467,-2.53867 5.37601,-3.95734 3.136,-1.49333 6.72,-1.49333 4.256,0 7.76534,2.09067 3.50933,2.016 5.74933,5.45067 v -7.39201 h 6.34667 v 36.58669 h -6.34667 v -7.31734 q -2.24,3.43467 -5.74933,5.45067 -3.50934,2.016 -7.76534,2.016 -3.584,0 -6.72,-1.41867 -3.06134,-1.49333 -5.37601,-3.95733 -2.24,-2.464 -3.584,-5.824 -1.344,-3.36001 -1.344,-7.16801 z m 6.34667,0 q 0,2.464 0.896,4.704 0.97067,2.16534 2.53867,3.80801 1.64267,1.64266 3.808,2.61333 2.24,0.896 4.77867,0.896 2.464,0 4.62934,-0.896 2.24,-0.97067 3.88266,-2.61333 1.64267,-1.64267 2.61334,-3.80801 0.97067,-2.24 0.97067,-4.704 0,-2.464 -0.97067,-4.704 -0.97067,-2.24 -2.61334,-3.88267 -1.64266,-1.64267 -3.88266,-2.61333 -2.16534,-0.97067 -4.62934,-0.97067 -2.53867,0 -4.77867,0.97067 -2.16533,0.97066 -3.808,2.61333 -1.568,1.64267 -2.53867,3.88267 -0.896,2.24 -0.896,4.704 z"
|
|
||||||
style="font-family:'Bunya PERSONAL';-inkscape-font-specification:'Bunya PERSONAL, Normal'"
|
|
||||||
id="path9567" />
|
|
||||||
</g>
|
|
||||||
<g
|
|
||||||
aria-label="y"
|
|
||||||
transform="matrix(0.44612332,0,0,0.44612332,-11.285794,-114.11033)"
|
|
||||||
id="text416-2-84"
|
|
||||||
style="font-size:74.6667px;font-family:'The Amaranth';-inkscape-font-specification:'The Amaranth, Normal';white-space:pre;shape-inside:url(#rect418-2-3);display:inline;fill:#ff1c30;stroke-width:1.06591;stroke-linejoin:round">
|
|
||||||
<path
|
|
||||||
d="m 186.56151,360.86718 10.97601,28.07468 10.752,-28.07468 h 6.72001 l -18.74135,47.56269 h -6.272 l 4.256,-10.82667 -14.48534,-36.73602 z"
|
|
||||||
style="font-family:'Bunya PERSONAL';-inkscape-font-specification:'Bunya PERSONAL, Normal'"
|
|
||||||
id="path9564" />
|
|
||||||
</g>
|
|
||||||
</g>
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 7.8 KiB |
@@ -0,0 +1,113 @@
|
|||||||
|
<svg
|
||||||
|
width="82"
|
||||||
|
height="32"
|
||||||
|
viewBox="0 0 98.160945 37.570857"
|
||||||
|
version="1.1"
|
||||||
|
id="svg9602"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
>
|
||||||
|
<sodipodi:namedview
|
||||||
|
id="namedview20"
|
||||||
|
pagecolor="#ffffff"
|
||||||
|
bordercolor="#000000"
|
||||||
|
borderopacity="0.25"
|
||||||
|
showgrid="false"
|
||||||
|
/>
|
||||||
|
<defs id="defs9599" />
|
||||||
|
<g id="layer1" transform="translate(-22.260864,-34.716253)">
|
||||||
|
<rect
|
||||||
|
style="fill:#242424;fill-opacity:0.99;stroke:none;stroke-width:1.24539;stroke-linejoin:round;stroke-dasharray:none"
|
||||||
|
id="rect8445"
|
||||||
|
width="65.39537"
|
||||||
|
height="36.795055"
|
||||||
|
x="22.703459"
|
||||||
|
y="35.180595"
|
||||||
|
rx="6.8266635"
|
||||||
|
ry="6.5550508"
|
||||||
|
/>
|
||||||
|
<g
|
||||||
|
aria-label="P"
|
||||||
|
transform="matrix(0.44612332,0,0,0.44612332,-53.310985,-114.20369)"
|
||||||
|
id="text416-2"
|
||||||
|
style="font-size:74.6667px;font-family:'The Amaranth';-inkscape-font-specification:'The Amaranth, Normal';white-space:pre;shape-inside:url(#rect418-2);display:inline;fill:#ff1c30;stroke-width:1.06591;stroke-linejoin:round"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
d="m 182.08151,397.45387 v -50.02669 h 15.38134 q 4.032,0 7.54134,1.49333 3.50933,1.49334 6.12267,4.18134 2.61333,2.61333 4.10667,6.12267 1.49333,3.50933 1.49333,7.54133 0,3.95734 -1.49333,7.46667 -1.49334,3.50934 -4.10667,6.12267 -2.61334,2.53867 -6.12267,4.03201 -3.50934,1.49333 -7.54134,1.49333 h -8.81067 v 11.57334 z m 6.57067,-18.14401 h 8.81067 q 2.61334,0 4.928,-0.97067 2.31467,-1.04533 4.03201,-2.688 1.71733,-1.71733 2.688,-3.95733 1.04533,-2.31467 1.04533,-4.92801 0,-2.688 -1.04533,-5.00267 -0.97067,-2.31466 -2.688,-4.032 -1.71734,-1.71733 -4.03201,-2.688 -2.31466,-0.97067 -4.928,-0.97067 h -8.81067 z"
|
||||||
|
style="font-family:'Bunya PERSONAL';-inkscape-font-specification:'Bunya PERSONAL, Normal'"
|
||||||
|
id="path9573"
|
||||||
|
/>
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
aria-label="l"
|
||||||
|
transform="matrix(0.44612332,0,0,0.44612332,-36.59502,-114.22526)"
|
||||||
|
id="text416-2-1"
|
||||||
|
style="font-size:74.6667px;font-family:'The Amaranth';-inkscape-font-specification:'The Amaranth, Normal';white-space:pre;shape-inside:url(#rect418-2-8);display:inline;fill:#ff1c30;stroke-width:1.06591;stroke-linejoin:round"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
d="m 189.92152,349.36851 v 48.08536 h -6.27201 v -48.08536 z"
|
||||||
|
style="font-family:'Bunya PERSONAL';-inkscape-font-specification:'Bunya PERSONAL, Normal'"
|
||||||
|
id="path9570"
|
||||||
|
/>
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
aria-label="e"
|
||||||
|
transform="matrix(0.44612332,0,0,0.44612332,15.071073,-114.17511)"
|
||||||
|
id="text416-2-5"
|
||||||
|
style="font-size:74.6667px;font-family:'The Amaranth';-inkscape-font-specification:'The Amaranth, Normal';white-space:pre;shape-inside:url(#rect418-2-53);display:inline;fill:#ff1c30;stroke-width:1.06591;stroke-linejoin:round"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
d="m 216.35353,388.8672 q -3.06134,4.55467 -7.24267,6.64533 -4.10667,2.09067 -8.96001,2.09067 -3.808,0 -7.168,-1.41867 -3.36,-1.49333 -5.824,-3.95733 -2.464,-2.464 -3.95734,-5.824 -1.41867,-3.36001 -1.41867,-7.16801 0,-3.88267 1.41867,-7.24267 1.49334,-3.36 3.95734,-5.824 2.464,-2.53867 5.824,-3.95734 3.36,-1.49333 7.168,-1.49333 4.85334,0 9.10934,2.24 4.33067,2.24 7.46667,6.944 l -21.65334,20.16001 q 1.19466,0.82134 2.98667,1.19467 1.792,0.29867 3.584,0.0747 3.136,-0.37334 5.824,-2.09067 2.76267,-1.792 4.62934,-4.48 z m -28.59735,-10.60267 q -0.224,2.83733 0.74667,5.22666 0.97066,2.38934 2.76267,3.73334 l 17.09867,-16.65067 q -1.41867,-1.71734 -3.808,-2.76267 -2.38934,-1.12 -5.22667,-0.97067 -2.31467,0.14933 -4.33067,1.04533 -2.016,0.896 -3.584,2.46401 -1.49333,1.49333 -2.464,3.50933 -0.97067,2.016 -1.19467,4.40534 z"
|
||||||
|
style="font-family:'Bunya PERSONAL';-inkscape-font-specification:'Bunya PERSONAL, Normal'"
|
||||||
|
id="path9558"
|
||||||
|
/>
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
aria-label="t"
|
||||||
|
transform="matrix(0.44612332,0,0,0.44612332,32.445174,-114.17841)"
|
||||||
|
id="text416-2-59"
|
||||||
|
style="font-size:74.6667px;font-family:'The Amaranth';-inkscape-font-specification:'The Amaranth, Normal';white-space:pre;shape-inside:url(#rect418-2-6);display:inline;fill:#ff1c30;stroke-width:1.06591;stroke-linejoin:round"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
d="m 180.21484,360.71785 h 3.43467 v -11.34934 h 6.34667 v 11.34934 h 6.64534 v 5.22667 h -6.64534 v 20.23468 q 0,2.61333 1.64267,4.256 1.64267,1.568 4.256,1.568 v 5.6 q -6.048,0 -9.184,-2.912 -3.06134,-2.912 -3.06134,-8.512 v -20.23468 h -3.43467 z"
|
||||||
|
style="font-family:'Bunya PERSONAL';-inkscape-font-specification:'Bunya PERSONAL, Normal'"
|
||||||
|
id="path9555"
|
||||||
|
/>
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
aria-label="l"
|
||||||
|
transform="matrix(0.44612332,0,0,0.44612332,9.157916,-114.17642)"
|
||||||
|
id="text416-2-8"
|
||||||
|
style="font-size:74.6667px;font-family:'The Amaranth';-inkscape-font-specification:'The Amaranth, Normal';white-space:pre;shape-inside:url(#rect418-2-5);display:inline;fill:#ff1c30;stroke-width:1.06591;stroke-linejoin:round"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
d="m 189.92152,349.36851 v 48.08536 h -6.27201 v -48.08536 z"
|
||||||
|
style="font-family:'Bunya PERSONAL';-inkscape-font-specification:'Bunya PERSONAL, Normal'"
|
||||||
|
id="path9561"
|
||||||
|
/>
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
aria-label="a"
|
||||||
|
transform="matrix(0.44612332,0,0,0.44612332,-30.719029,-114.24707)"
|
||||||
|
id="text416-2-4"
|
||||||
|
style="font-size:74.6667px;font-family:'The Amaranth';-inkscape-font-specification:'The Amaranth, Normal';white-space:pre;shape-inside:url(#rect418-2-1);display:inline;fill:#ff1c30;stroke-width:1.06591;stroke-linejoin:round"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
d="m 181.85751,379.23519 q 0,-3.88267 1.344,-7.24267 1.344,-3.36 3.584,-5.824 2.31467,-2.53867 5.37601,-3.95734 3.136,-1.49333 6.72,-1.49333 4.256,0 7.76534,2.09067 3.50933,2.016 5.74933,5.45067 v -7.39201 h 6.34667 v 36.58669 h -6.34667 v -7.31734 q -2.24,3.43467 -5.74933,5.45067 -3.50934,2.016 -7.76534,2.016 -3.584,0 -6.72,-1.41867 -3.06134,-1.49333 -5.37601,-3.95733 -2.24,-2.464 -3.584,-5.824 -1.344,-3.36001 -1.344,-7.16801 z m 6.34667,0 q 0,2.464 0.896,4.704 0.97067,2.16534 2.53867,3.80801 1.64267,1.64266 3.808,2.61333 2.24,0.896 4.77867,0.896 2.464,0 4.62934,-0.896 2.24,-0.97067 3.88266,-2.61333 1.64267,-1.64267 2.61334,-3.80801 0.97067,-2.24 0.97067,-4.704 0,-2.464 -0.97067,-4.704 -0.97067,-2.24 -2.61334,-3.88267 -1.64266,-1.64267 -3.88266,-2.61333 -2.16534,-0.97067 -4.62934,-0.97067 -2.53867,0 -4.77867,0.97067 -2.16533,0.97066 -3.808,2.61333 -1.568,1.64267 -2.53867,3.88267 -0.896,2.24 -0.896,4.704 z"
|
||||||
|
style="font-family:'Bunya PERSONAL';-inkscape-font-specification:'Bunya PERSONAL, Normal'"
|
||||||
|
id="path9567"
|
||||||
|
/>
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
aria-label="y"
|
||||||
|
transform="matrix(0.44612332,0,0,0.44612332,-11.285794,-114.11033)"
|
||||||
|
id="text416-2-84"
|
||||||
|
style="font-size:74.6667px;font-family:'The Amaranth';-inkscape-font-specification:'The Amaranth, Normal';white-space:pre;shape-inside:url(#rect418-2-3);display:inline;fill:#ff1c30;stroke-width:1.06591;stroke-linejoin:round"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
d="m 186.56151,360.86718 10.97601,28.07468 10.752,-28.07468 h 6.72001 l -18.74135,47.56269 h -6.272 l 4.256,-10.82667 -14.48534,-36.73602 z"
|
||||||
|
style="font-family:'Bunya PERSONAL';-inkscape-font-specification:'Bunya PERSONAL, Normal'"
|
||||||
|
id="path9564"
|
||||||
|
/>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 7.0 KiB |
@@ -5,7 +5,7 @@
|
|||||||
height="14px"
|
height="14px"
|
||||||
viewBox="0 0 17 14"
|
viewBox="0 0 17 14"
|
||||||
><g
|
><g
|
||||||
><g fill="#FFF" transform="translate(-183 -616)"
|
><g fill="currentColor" transform="translate(-183 -616)"
|
||||||
><g transform="translate(111 553)"
|
><g transform="translate(111 553)"
|
||||||
><g transform="translate(15 49)"
|
><g transform="translate(15 49)"
|
||||||
><path
|
><path
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 744 B After Width: | Height: | Size: 752 B |
@@ -5,7 +5,7 @@
|
|||||||
height="14px"
|
height="14px"
|
||||||
viewBox="0 0 18 12"
|
viewBox="0 0 18 12"
|
||||||
><polygon
|
><polygon
|
||||||
fill="#FFF"
|
fill="currentColor"
|
||||||
transform="translate(-68.000000, -1097.000000) translate(68.000000, 1097.000000) translate(9.000000, 5.928571) rotate(90.000000) translate(-9.000000, -5.928571) "
|
transform="translate(-68.000000, -1097.000000) translate(68.000000, 1097.000000) translate(9.000000, 5.928571) rotate(90.000000) translate(-9.000000, -5.928571) "
|
||||||
points="5.58223573 -3.07142857 3.5 -0.969991371 10.3355285 5.92857143 3.5 12.8252596 5.58223573 14.9285714 14.5 5.92857143"
|
points="5.58223573 -3.07142857 3.5 -0.969991371 10.3355285 5.92857143 3.5 12.8252596 5.58223573 14.9285714 14.5 5.92857143"
|
||||||
/></svg
|
/></svg
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 461 B After Width: | Height: | Size: 469 B |