Refresh lint rules (#238)
* Lint * Color rules * Update sponsorblock config file * Small tweak * Color adjustments
No files matched your search
@@ -5,23 +5,32 @@
|
||||
"**/bslib.brs"
|
||||
],
|
||||
"rules": {
|
||||
"aa-comma-style": "no-dangling",
|
||||
"anon-function-style": "no-sub",
|
||||
"assign-all-paths": "warn",
|
||||
"block-if-style": "no-then",
|
||||
"case-sensitivity": "warn",
|
||||
"condition-style": "no-group",
|
||||
"consistent-return": "error",
|
||||
"eol-last": "always",
|
||||
// Code style
|
||||
"inline-if-style": "never",
|
||||
"block-if-style": "no-then",
|
||||
"condition-style": "no-group",
|
||||
"named-function-style": "no-sub",
|
||||
"anon-function-style": "no-sub",
|
||||
"aa-comma-style": "never",
|
||||
"no-print": "warn",
|
||||
"no-stop": "error",
|
||||
"no-todo": "off",
|
||||
"no-stop": "error",
|
||||
"eol-last": "always",
|
||||
// Strictness
|
||||
"type-annotations": "all",
|
||||
"unreachable-code": "warn",
|
||||
// Color
|
||||
"color-format": "hash-hex",
|
||||
"color-case": "upper",
|
||||
"color-alpha": "always",
|
||||
"color-alpha-defaults": "allowed",
|
||||
"color-cert": "always",
|
||||
// Code flow
|
||||
"assign-all-paths": "error",
|
||||
"unsafe-path-loop": "error",
|
||||
"unsafe-iterators": "error",
|
||||
"unsafe-path-loop": "warn",
|
||||
"unused-variable": "warn"
|
||||
"unreachable-code": "warn",
|
||||
"case-sensitivity": "error",
|
||||
"unused-variable": "error",
|
||||
"consistent-return": "error"
|
||||
}
|
||||
}
|
||||
@@ -2,7 +2,7 @@ import "LoadingMessages.bs"
|
||||
|
||||
function Init() as void
|
||||
m.scene = m.top.getScene()
|
||||
m.top.backgroundColor = "0x242424FF"
|
||||
m.top.backgroundColor = "#242424FF"
|
||||
m.top.backgroundURI = ""
|
||||
|
||||
m.loadingIndicator = m.top.findNode("LoadingIndicator")
|
||||
|
||||
|
Before Width: | Height: | Size: 9.5 KiB After Width: | Height: | Size: 9.9 KiB |
|
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 5.1 KiB |
|
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.3 KiB |
@@ -3,24 +3,24 @@
|
||||
outputs: [
|
||||
{
|
||||
outputFilePath: 'images/channel-poster_fhd.png',
|
||||
outputHash: 'd644a0db84deed0bcc41a41d08a4ef75',
|
||||
outputHash: '50729b5bdd2a7c0fd4a1d502812117d4',
|
||||
width: 540,
|
||||
height: 405,
|
||||
background: '#FFFFFF',
|
||||
background: '#EEEEEE',
|
||||
},
|
||||
{
|
||||
outputFilePath: 'images/channel-poster_hd.png',
|
||||
outputHash: 'd07a4ffaa021b55528bee91710f4e9d2',
|
||||
outputHash: '8022dc6fa993ce3194c5aea37d6ea49a',
|
||||
width: 290,
|
||||
height: 218,
|
||||
background: '#FFFFFF',
|
||||
background: '#EEEEEE',
|
||||
},
|
||||
{
|
||||
outputFilePath: 'images/channel-poster_sd.png',
|
||||
outputHash: '66a311c639f89ff009e4624468282b2f',
|
||||
outputHash: '63b8f12ac155c29b4e85db17a2886817',
|
||||
width: 246,
|
||||
height: 140,
|
||||
background: '#FFFFFF',
|
||||
background: '#EEEEEE',
|
||||
},
|
||||
],
|
||||
}
|
||||
@@ -19,12 +19,12 @@ end function
|
||||
function SetPalette(dialog as object)
|
||||
palette = createObject("roSGNode", "RSGPalette")
|
||||
palette.colors = {
|
||||
DialogBackgroundColor: "#242424FF",
|
||||
DialogFocusColor: "#CECECEFF",
|
||||
DialogFocusItemColor: "#202020FF",
|
||||
DialogSecondaryTextColor: "#F8F8F8FF",
|
||||
DialogSecondaryItemColor: "0xFF1C30FF",
|
||||
DialogTextColor: "#EEEEEEFF"
|
||||
DialogBackgroundColor: "#242424FF"
|
||||
DialogFocusColor: "#CECECEFF"
|
||||
DialogFocusItemColor: "#202020FF"
|
||||
DialogSecondaryTextColor: "#DBDBDBFF"
|
||||
DialogSecondaryItemColor: "#FF1C30FF"
|
||||
DialogTextColor: "#DBDBDBFF"
|
||||
}
|
||||
dialog.palette = palette
|
||||
end function
|
||||
|
||||
@@ -135,8 +135,8 @@ function OnSubscribeButtonSelected()
|
||||
|
||||
isSubbed = IsSubscribed()
|
||||
m.subscribeTask = StartAsyncTask(SubscribeTask, {
|
||||
invidious: m.invidious,
|
||||
ucid: m.authorId,
|
||||
invidious: m.invidious
|
||||
ucid: m.authorId
|
||||
subscribe: not isSubbed
|
||||
})
|
||||
end function
|
||||
@@ -172,19 +172,19 @@ function InitializeTabs()
|
||||
m.tabs = {
|
||||
videos: function(authorId as string, author as string) as object
|
||||
return CreateChannelFeed("Latest videos", "channel_videos", authorId, author)
|
||||
end function,
|
||||
end function
|
||||
shorts: function(authorId as string, author as string) as object
|
||||
return CreateChannelFeed("Shorts", "channel_shorts", authorId, author)
|
||||
end function,
|
||||
end function
|
||||
streams: function(authorId as string, author as string) as object
|
||||
return CreateChannelFeed("Live", "channel_streams", authorId, author)
|
||||
end function,
|
||||
end function
|
||||
podcasts: function(authorId as string, author as string) as object
|
||||
return CreateChannelFeed("Podcasts", "channel_podcasts", authorId, author)
|
||||
end function,
|
||||
end function
|
||||
playlists: function(authorId as string, author as string) as object
|
||||
return CreateChannelFeed("Playlists", "channel_playlists", authorId, author)
|
||||
end function,
|
||||
end function
|
||||
channels: function(authorId as string, author as string) as object
|
||||
return CreateChannelFeed("Channels", "channel_channels", authorId, author)
|
||||
end function
|
||||
@@ -193,12 +193,12 @@ end function
|
||||
|
||||
function CreateChannelFeed(title as string, endpoint as string, ucid as string, author as string) as object
|
||||
return {
|
||||
title: title,
|
||||
title: title
|
||||
feedSources: [{
|
||||
"id": `inv_${endpoint}_${ucid}`,
|
||||
"title": `${author} - ${title}`,
|
||||
"apiType": "Invidious",
|
||||
"endpoint": endpoint,
|
||||
"id": `inv_${endpoint}_${ucid}`
|
||||
"title": `${author} - ${title}`
|
||||
"apiType": "Invidious"
|
||||
"endpoint": endpoint
|
||||
"pathParams": {
|
||||
"ucid": ucid
|
||||
}
|
||||
|
||||
@@ -22,7 +22,7 @@ function SubscribeTask(input as object) as object
|
||||
error = response.ErrorMessage()
|
||||
LogError("Failed to subscribe/unsubscribe to channel:", error)
|
||||
return {
|
||||
success: false,
|
||||
success: false
|
||||
error: error
|
||||
}
|
||||
end if
|
||||
|
||||
@@ -18,7 +18,7 @@ function LoadChannel(invidiousNode as object) as void
|
||||
|
||||
m.top.loadState = FeedLoadState.Loading
|
||||
m.contentTask = StartAsyncTask(ChannelContentTask, {
|
||||
content: m.top,
|
||||
content: m.top
|
||||
invidious: invidiousNode
|
||||
}, OnChannelContentTaskResult)
|
||||
end function
|
||||
|
||||
@@ -24,7 +24,7 @@ function ChannelContentTask(input as object) as object
|
||||
if not response.IsSuccess() or metadata = invalid
|
||||
contentNode.loadState = FeedLoadState.Error
|
||||
return {
|
||||
success: false,
|
||||
success: false
|
||||
error: response.ErrorMessage()
|
||||
}
|
||||
end if
|
||||
|
||||
@@ -11,19 +11,19 @@ function OnItemHasFocus()
|
||||
hasFocus = m.top.itemHasFocus
|
||||
if hasFocus
|
||||
m.top.font = "font:SmallestBoldSystemFont"
|
||||
m.top.color = "0x262626ff"
|
||||
m.top.color = "#262626ff"
|
||||
else
|
||||
m.top.font = "font:SmallestSystemFont"
|
||||
m.top.color = "0xddddddff"
|
||||
m.top.color = "#DBDBDBFF"
|
||||
end if
|
||||
end function
|
||||
|
||||
function OnFocusPercent()
|
||||
if m.top.focusPercent > 0.5
|
||||
m.top.font = "font:SmallestBoldSystemFont"
|
||||
m.top.color = "0x262626ff"
|
||||
m.top.color = "#262626FF"
|
||||
else
|
||||
m.top.font = "font:SmallestSystemFont"
|
||||
m.top.color = "0xddddddff"
|
||||
m.top.color = "#DBDBDBFF"
|
||||
end if
|
||||
end function
|
||||
@@ -1,12 +1,12 @@
|
||||
function SetPalette(dialog as object)
|
||||
palette = createObject("roSGNode", "RSGPalette")
|
||||
palette.colors = {
|
||||
DialogBackgroundColor: "#242424FF",
|
||||
DialogFocusColor: "#CECECEFF",
|
||||
DialogFocusItemColor: "#202020FF",
|
||||
DialogSecondaryTextColor: "#F8F8F8FF",
|
||||
DialogSecondaryItemColor: "0xFF1C30FF",
|
||||
DialogTextColor: "#EEEEEEFF"
|
||||
DialogBackgroundColor: "#242424FF"
|
||||
DialogFocusColor: "#CECECEFF"
|
||||
DialogFocusItemColor: "#202020FF"
|
||||
DialogSecondaryTextColor: "#DBDBDBFF"
|
||||
DialogSecondaryItemColor: "#FF1C30FF"
|
||||
DialogTextColor: "#DBDBDBFF"
|
||||
}
|
||||
dialog.palette = palette
|
||||
end function
|
||||
@@ -34,9 +34,9 @@ function OnUrlSet()
|
||||
|
||||
m.urlLabel.text = url
|
||||
StartAsyncTask(GenerateQrCodeTask, {
|
||||
poster: m.qrCode,
|
||||
text: url,
|
||||
size: m.qrCode.loadWidth,
|
||||
poster: m.qrCode
|
||||
text: url
|
||||
size: m.qrCode.loadWidth
|
||||
padding: 10
|
||||
})
|
||||
end function
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import "pkg:/source/utils/ColorUtils.bs"
|
||||
import "pkg:/source/utils/FocusManagement.bs"
|
||||
import "pkg:/source/utils/Types.bs"
|
||||
|
||||
@@ -31,8 +30,8 @@ function PopulateButtons() as void
|
||||
buttons = []
|
||||
for each item in navBarItems
|
||||
button = CreateObject("roSGNode", "IconButton")
|
||||
button.background = ColorUtils.HexToInt("242424")
|
||||
button.focusBackground = ColorUtils.HexToInt("FF1C30")
|
||||
button.background = "#242424FF"
|
||||
button.focusBackground = "#FF1C30FF"
|
||||
button.padding = 20
|
||||
button.height = 50
|
||||
button.width = 90
|
||||
|
||||
@@ -3,7 +3,7 @@ const OPTIONS_LONG_PRESS_KEY = "OPTIONS_LONG_PRESS"
|
||||
|
||||
function InitializeLongPress(keys as object, duration = 1.0 as float)
|
||||
longPressKeyMap = {
|
||||
"OK": OK_LONG_PRESS_KEY,
|
||||
"OK": OK_LONG_PRESS_KEY
|
||||
"options": OPTIONS_LONG_PRESS_KEY
|
||||
}
|
||||
m._longPressKeyMap = {}
|
||||
@@ -17,7 +17,7 @@ function InitializeLongPress(keys as object, duration = 1.0 as float)
|
||||
' - press K to simulate an "OK" long press on the remote.
|
||||
' - press O to simulate an "options" long press on the remote.
|
||||
simulatedLongPressKeyMap = {
|
||||
"OK": "Lit_k",
|
||||
"OK": "Lit_k"
|
||||
"options": "Lit_o"
|
||||
}
|
||||
|
||||
|
||||
@@ -10,8 +10,8 @@ function SetNavigation(fromNode as object, direction as string, toNode as object
|
||||
end if
|
||||
|
||||
m._navigation[direction].push({
|
||||
fromNode: fromNode,
|
||||
toNode: toNode,
|
||||
fromNode: fromNode
|
||||
toNode: toNode
|
||||
callback: callback
|
||||
})
|
||||
end function
|
||||
@@ -19,7 +19,7 @@ end function
|
||||
function NavigationKeyHandler(key as string, press as boolean) as object
|
||||
if not press
|
||||
return {
|
||||
handled: false,
|
||||
handled: false
|
||||
node: invalid
|
||||
}
|
||||
end if
|
||||
@@ -27,7 +27,7 @@ function NavigationKeyHandler(key as string, press as boolean) as object
|
||||
navigations = m._navigation[key]
|
||||
if navigations = invalid
|
||||
return {
|
||||
handled: false,
|
||||
handled: false
|
||||
node: invalid
|
||||
}
|
||||
end if
|
||||
@@ -41,13 +41,13 @@ function NavigationKeyHandler(key as string, press as boolean) as object
|
||||
item.callback()
|
||||
end if
|
||||
return {
|
||||
handled: true,
|
||||
handled: true
|
||||
node: item.toNode
|
||||
}
|
||||
end if
|
||||
end for
|
||||
return {
|
||||
handled: false,
|
||||
handled: false
|
||||
node: invalid
|
||||
}
|
||||
end function
|
||||
@@ -68,26 +68,26 @@ function GetQueue(_unused as dynamic) as object
|
||||
nodeType = node.type
|
||||
if nodeType = "video"
|
||||
items.push({
|
||||
type: nodeType,
|
||||
videoId: node.videoId,
|
||||
title: node.title,
|
||||
author: node.author,
|
||||
type: nodeType
|
||||
videoId: node.videoId
|
||||
title: node.title
|
||||
author: node.author
|
||||
thumbnail: node.thumbnail
|
||||
})
|
||||
else if node.type = "playlist"
|
||||
items.push({
|
||||
type: nodeType,
|
||||
playlistId: node.playlistId,
|
||||
title: node.title,
|
||||
thumbnail: node.thumbnail,
|
||||
type: nodeType
|
||||
playlistId: node.playlistId
|
||||
title: node.title
|
||||
thumbnail: node.thumbnail
|
||||
videoCountText: node.videoCountText
|
||||
})
|
||||
end if
|
||||
end for
|
||||
|
||||
return {
|
||||
index: m.top.index,
|
||||
playlistIndex: m.top.playlistIndex,
|
||||
index: m.top.index
|
||||
playlistIndex: m.top.playlistIndex
|
||||
items: items
|
||||
}
|
||||
end function
|
||||
@@ -189,7 +189,7 @@ function LoadPlaylist(playlist as object) as void
|
||||
playlist.loadState = FeedLoadState.Loading
|
||||
|
||||
task = StartAsyncTask(PlaylistContentTask, {
|
||||
content: playlist,
|
||||
content: playlist
|
||||
invidious: m.top.invidious
|
||||
}, OnPlaylistContentTaskResult)
|
||||
m.pendingLoadTasks[task.id] = task
|
||||
|
||||
@@ -66,6 +66,7 @@ function SetHighlight() as void
|
||||
index = m.top.index
|
||||
|
||||
if playQueueIndex = index
|
||||
' bs:disable-next-line LINT3023
|
||||
m.top.thumbnailBlendColor = "#FFFFFFFF"
|
||||
m.top.highlightUri = "pkg:/images/focus_grid.9.png"
|
||||
else
|
||||
|
||||
@@ -27,7 +27,7 @@ function PlaylistContentTask(input as object) as object
|
||||
if not response.IsSuccess() or metadata = invalid
|
||||
contentNode.loadState = FeedLoadState.Error
|
||||
return {
|
||||
success: false,
|
||||
success: false
|
||||
error: response.ErrorMessage()
|
||||
}
|
||||
end if
|
||||
|
||||
@@ -223,7 +223,7 @@ function LoadPlaylist() as void
|
||||
|
||||
m.top.content.loadState = FeedLoadState.Loading
|
||||
m.playlistLoadTask = StartAsyncTask(PlaylistContentTask, {
|
||||
content: m.top.content,
|
||||
content: m.top.content
|
||||
invidious: m.top.invidious
|
||||
}, OnPlaylistContentTaskResult)
|
||||
end function
|
||||
|
||||
@@ -3,28 +3,28 @@ import "pkg:/source/asyncTask/asyncTask.bs"
|
||||
function Init()
|
||||
' TODO:P2 Add tooltip to each field with description of what it means
|
||||
m.displayNames = [{
|
||||
key: "app_version",
|
||||
key: "app_version"
|
||||
displayText: "Playlet App Version"
|
||||
}, {
|
||||
key: "lib_version",
|
||||
key: "lib_version"
|
||||
displayText: "Playlet Library Version"
|
||||
}, {
|
||||
key: "lib_version_latest",
|
||||
key: "lib_version_latest"
|
||||
displayText: "Playlet Library Latest Version"
|
||||
}, {
|
||||
key: "lib_url",
|
||||
key: "lib_url"
|
||||
displayText: "Playlet Library URL"
|
||||
}, {
|
||||
key: "lib_url_type",
|
||||
key: "lib_url_type"
|
||||
displayText: "Playlet Library URL Type"
|
||||
}, {
|
||||
key: "app_git_commit_hash",
|
||||
key: "app_git_commit_hash"
|
||||
displayText: "Playlet App Git Commit Hash"
|
||||
}, {
|
||||
key: "lib_git_commit_hash",
|
||||
key: "lib_git_commit_hash"
|
||||
displayText: "Playlet Library Git Commit Hash"
|
||||
}, {
|
||||
key: "id",
|
||||
key: "id"
|
||||
displayText: "App ID"
|
||||
}]
|
||||
|
||||
|
||||
@@ -79,7 +79,7 @@ function SetRowListContent(bookmarksContent as object)
|
||||
end for
|
||||
|
||||
feeds.push({
|
||||
"title": bookmarkGroupNode.title,
|
||||
"title": bookmarkGroupNode.title
|
||||
"feedSources": feedSources
|
||||
})
|
||||
end for
|
||||
|
||||
@@ -5,110 +5,110 @@ import "pkg:/source/utils/Types.bs"
|
||||
function Init()
|
||||
options = {
|
||||
date: [{
|
||||
title: "Any date",
|
||||
title: "Any date"
|
||||
value: ""
|
||||
}, {
|
||||
title: "Last hour",
|
||||
title: "Last hour"
|
||||
value: "hour"
|
||||
}, {
|
||||
title: "Today",
|
||||
title: "Today"
|
||||
value: "today"
|
||||
}, {
|
||||
title: "This week",
|
||||
title: "This week"
|
||||
value: "week"
|
||||
}, {
|
||||
title: "This month",
|
||||
title: "This month"
|
||||
value: "month"
|
||||
}, {
|
||||
title: "This year",
|
||||
title: "This year"
|
||||
value: "year"
|
||||
}],
|
||||
}]
|
||||
type: [{
|
||||
title: "Any type",
|
||||
title: "Any type"
|
||||
value: ""
|
||||
}, {
|
||||
title: "Video",
|
||||
title: "Video"
|
||||
value: "video"
|
||||
}, {
|
||||
title: "Playlist",
|
||||
title: "Playlist"
|
||||
value: "playlist"
|
||||
}, {
|
||||
title: "Channel",
|
||||
title: "Channel"
|
||||
value: "channel"
|
||||
}, {
|
||||
title: "Movie",
|
||||
title: "Movie"
|
||||
value: "movie"
|
||||
}, {
|
||||
title: "Show",
|
||||
title: "Show"
|
||||
value: "show"
|
||||
}],
|
||||
}]
|
||||
duration: [{
|
||||
title: "Any duration",
|
||||
title: "Any duration"
|
||||
value: ""
|
||||
}, {
|
||||
title: "Under 4 minutes",
|
||||
title: "Under 4 minutes"
|
||||
value: "short"
|
||||
}, {
|
||||
title: "4 - 20 minutes",
|
||||
title: "4 - 20 minutes"
|
||||
value: "medium"
|
||||
}, {
|
||||
title: "Over 20 minutes",
|
||||
title: "Over 20 minutes"
|
||||
value: "long"
|
||||
}],
|
||||
}]
|
||||
features: [{
|
||||
title: "Live",
|
||||
title: "Live"
|
||||
value: "live"
|
||||
}, {
|
||||
title: "4K",
|
||||
title: "4K"
|
||||
value: "4k"
|
||||
}, {
|
||||
title: "HD",
|
||||
title: "HD"
|
||||
value: "hd"
|
||||
}, {
|
||||
title: "Subtitles/CC",
|
||||
title: "Subtitles/CC"
|
||||
value: "subtitles"
|
||||
}, {
|
||||
title: "Creative Commons",
|
||||
title: "Creative Commons"
|
||||
value: "creative_commons"
|
||||
}, {
|
||||
title: "360°",
|
||||
title: "360°"
|
||||
value: "360"
|
||||
}, {
|
||||
title: "VR180",
|
||||
title: "VR180"
|
||||
value: "vr180"
|
||||
}, {
|
||||
title: "3D",
|
||||
title: "3D"
|
||||
value: "3d"
|
||||
}, {
|
||||
title: "HDR",
|
||||
title: "HDR"
|
||||
value: "hdr"
|
||||
}, {
|
||||
title: "Purchased",
|
||||
title: "Purchased"
|
||||
value: "purchased"
|
||||
}, {
|
||||
title: "Location",
|
||||
title: "Location"
|
||||
value: "location"
|
||||
}],
|
||||
}]
|
||||
sort_by: [{
|
||||
title: "Relevance",
|
||||
title: "Relevance"
|
||||
value: ""
|
||||
}, {
|
||||
title: "Upload date",
|
||||
title: "Upload date"
|
||||
value: "upload_date"
|
||||
}, {
|
||||
title: "View count",
|
||||
title: "View count"
|
||||
value: "view_count"
|
||||
}, {
|
||||
title: "Rating",
|
||||
title: "Rating"
|
||||
value: "rating"
|
||||
}]
|
||||
}
|
||||
|
||||
m.controls = {
|
||||
date: m.top.findNode("UploadDateList"),
|
||||
type: m.top.findNode("TypeList"),
|
||||
duration: m.top.findNode("DurationList"),
|
||||
features: m.top.findNode("FeaturesList"),
|
||||
date: m.top.findNode("UploadDateList")
|
||||
type: m.top.findNode("TypeList")
|
||||
duration: m.top.findNode("DurationList")
|
||||
features: m.top.findNode("FeaturesList")
|
||||
sort_by: m.top.findNode("SortByList")
|
||||
}
|
||||
|
||||
@@ -118,10 +118,10 @@ function Init()
|
||||
end for
|
||||
|
||||
m.contentNodes = {
|
||||
date: m.controls.date.content,
|
||||
type: m.controls.type.content,
|
||||
duration: m.controls.duration.content,
|
||||
features: m.controls.features.content,
|
||||
date: m.controls.date.content
|
||||
type: m.controls.type.content
|
||||
duration: m.controls.duration.content
|
||||
features: m.controls.features.content
|
||||
sort_by: m.controls.sort_by.content
|
||||
}
|
||||
|
||||
|
||||
@@ -25,10 +25,10 @@ function Init()
|
||||
textEditBox.voiceEnabled = true
|
||||
|
||||
m.top.filters = {
|
||||
date: "",
|
||||
type: "",
|
||||
duration: "",
|
||||
features: [],
|
||||
date: ""
|
||||
type: ""
|
||||
duration: ""
|
||||
features: []
|
||||
sort_by: ""
|
||||
}
|
||||
|
||||
@@ -99,8 +99,8 @@ function OnTextChange() as void
|
||||
end if
|
||||
|
||||
m.searchSuggestionsTask = StartAsyncTask(SearchSuggestionsTask, {
|
||||
q: m.keyboard.text,
|
||||
invidious: m.invidious,
|
||||
q: m.keyboard.text
|
||||
invidious: m.invidious
|
||||
preferences: m.preferences
|
||||
}, OnSearchSuggestionsTaskResults)
|
||||
end function
|
||||
@@ -206,10 +206,10 @@ function Search(text as string)
|
||||
ShowLoadingScreen()
|
||||
|
||||
feedSource = {
|
||||
"id": `inv_search_${CryptoUtils.GetMd5(text)}`,
|
||||
"title": `Search - ${text}`,
|
||||
"apiType": "Invidious",
|
||||
"endpoint": "search",
|
||||
"id": `inv_search_${CryptoUtils.GetMd5(text)}`
|
||||
"title": `Search - ${text}`
|
||||
"apiType": "Invidious"
|
||||
"endpoint": "search"
|
||||
"queryParams": {
|
||||
"q": text
|
||||
}
|
||||
@@ -222,14 +222,14 @@ function Search(text as string)
|
||||
feedSource.queryParams[filter] = value
|
||||
else if IsArray(value) and value.Count() > 0
|
||||
feedSource.queryParams[filter] = {
|
||||
value: value,
|
||||
value: value
|
||||
arrayType: UrlUtils.QueryParamArrayType.CommaSeparated
|
||||
}
|
||||
end if
|
||||
end for
|
||||
|
||||
m.rowList.feeds = [{
|
||||
"title": `Search - ${text}`,
|
||||
"title": `Search - ${text}`
|
||||
"feedSources": [feedSource]
|
||||
}]
|
||||
end function
|
||||
|
||||
@@ -26,7 +26,7 @@ function SearchSuggestionsTask(input as object) as object
|
||||
end if
|
||||
|
||||
return {
|
||||
q: q,
|
||||
q: q
|
||||
response: history
|
||||
}
|
||||
end function
|
||||
|
||||
@@ -58,7 +58,7 @@ function RunTestsTask()
|
||||
end if
|
||||
|
||||
m.testingTask = StartAsyncTask(InvidiousInstanceTestingTask, {
|
||||
instance: m.top.instance,
|
||||
instance: m.top.instance
|
||||
listNode: m.testList
|
||||
})
|
||||
end function
|
||||
|
||||
@@ -38,9 +38,9 @@ function CreateTestNode(title as string, func as function) as object
|
||||
testNode = CreateObject("roSGNode", "ContentNode")
|
||||
testNode.title = title
|
||||
testNode.AddFields({
|
||||
func: FuncName(func),
|
||||
state: "loading",
|
||||
details: "",
|
||||
func: FuncName(func)
|
||||
state: "loading"
|
||||
details: ""
|
||||
duration: 0
|
||||
})
|
||||
m[testNode.func] = func
|
||||
|
||||
@@ -15,7 +15,7 @@ function InvidiousPublicInstancesTask(input as object) as object
|
||||
|
||||
if not response.IsSuccess() or instances = invalid
|
||||
return {
|
||||
success: false,
|
||||
success: false
|
||||
error: response.ErrorMessage()
|
||||
}
|
||||
end if
|
||||
@@ -31,14 +31,14 @@ function InvidiousPublicInstancesTask(input as object) as object
|
||||
for each instance in instances
|
||||
item = CreateObject("roSGNode", "InvidiousPublicInstancesListItemContent")
|
||||
item.setFields({
|
||||
name: instance[0],
|
||||
version: instance[1].stats.software.version,
|
||||
users: instance[1].stats.usage.users.total,
|
||||
signup: instance[1].stats.openRegistrations ? "Yes" : "No",
|
||||
name: instance[0]
|
||||
version: instance[1].stats.software.version
|
||||
users: instance[1].stats.usage.users.total
|
||||
signup: instance[1].stats.openRegistrations ? "Yes" : "No"
|
||||
' Leave 5 spaces for the flag, just to simplify the layout
|
||||
location: ` ${instance[1].region}`,
|
||||
flag: GetFlagUrl(instance[1].flag),
|
||||
health: instance[1].monitor["30dRatio"].ratio,
|
||||
location: ` ${instance[1].region}`
|
||||
flag: GetFlagUrl(instance[1].flag)
|
||||
health: instance[1].monitor["30dRatio"].ratio
|
||||
uri: instance[1].uri
|
||||
})
|
||||
content.AppendChild(item)
|
||||
|
||||
@@ -8,9 +8,9 @@ function Init()
|
||||
m.scrollAnimation = m.top.findNode("scrollAnimation")
|
||||
m.scrollAnimationInterpolator = m.scrollAnimation.findNode("scrollAnimationInterpolator")
|
||||
m.viewport = {
|
||||
x: 150,
|
||||
y: 96,
|
||||
width: 1920,
|
||||
x: 150
|
||||
y: 96
|
||||
width: 1920
|
||||
height: 550
|
||||
}
|
||||
end function
|
||||
@@ -75,7 +75,7 @@ function CreateCategoryNode(item as object, container as object, startX as integ
|
||||
node.displayText = item.displayText
|
||||
node.description = item.description
|
||||
return {
|
||||
node: node,
|
||||
node: node
|
||||
rect: node.boundingRect()
|
||||
}
|
||||
end function
|
||||
@@ -107,11 +107,11 @@ function CreateControls(item as object, container as object, startX as integer,
|
||||
end for
|
||||
|
||||
return {
|
||||
nodes: nodes,
|
||||
nodes: nodes
|
||||
rect: {
|
||||
x: x,
|
||||
y: y,
|
||||
width: width,
|
||||
x: x
|
||||
y: y
|
||||
width: width
|
||||
height: height
|
||||
}
|
||||
}
|
||||
@@ -142,7 +142,7 @@ function CreateControl(item as object, container as object, startX as integer, s
|
||||
control@.BindPreference(m.preferences, item.key)
|
||||
|
||||
return {
|
||||
node: control,
|
||||
node: control
|
||||
rect: control.boundingRect()
|
||||
}
|
||||
end function
|
||||
|
||||
@@ -23,9 +23,9 @@ function OnUrlSet()
|
||||
|
||||
qrCodePoster = m.top.findNode("QrCodePoster")
|
||||
StartAsyncTask(GenerateQrCodeTask, {
|
||||
poster: qrCodePoster,
|
||||
text: url,
|
||||
size: qrCodePoster.loadWidth,
|
||||
poster: qrCodePoster
|
||||
text: url
|
||||
size: qrCodePoster.loadWidth
|
||||
padding: 20
|
||||
})
|
||||
end function
|
||||
@@ -53,18 +53,18 @@ function Save() as void
|
||||
bookmarkNodes = bookmarkGroupNode.getChildren(-1, 0)
|
||||
for each bookmarkNode in bookmarkNodes
|
||||
bookmarks.push({
|
||||
"id": bookmarkNode.id,
|
||||
"id": bookmarkNode.id
|
||||
"feedSource": bookmarkNode.feedSource
|
||||
})
|
||||
end for
|
||||
groups.push({
|
||||
"title": bookmarkGroupNode.title,
|
||||
"title": bookmarkGroupNode.title
|
||||
"bookmarks": bookmarks
|
||||
})
|
||||
end for
|
||||
|
||||
bookmarksString = FormatJson({
|
||||
"__version": m.top.__version,
|
||||
"__version": m.top.__version
|
||||
"groups": groups
|
||||
})
|
||||
|
||||
@@ -110,8 +110,8 @@ function AddVideoBookmark(id as string, groupName as string)
|
||||
bookmarkGroupNode = GetOrCreateBookmarkGroup(groupName)
|
||||
|
||||
feedSource = {
|
||||
"apiType": "Invidious",
|
||||
"endpoint": "video_info",
|
||||
"apiType": "Invidious"
|
||||
"endpoint": "video_info"
|
||||
"pathParams": {
|
||||
"id": id
|
||||
}
|
||||
@@ -123,8 +123,8 @@ function AddPlaylistBookmark(id as string, groupName as string)
|
||||
bookmarkGroupNode = GetOrCreateBookmarkGroup(groupName)
|
||||
|
||||
feedSource = {
|
||||
"apiType": "Invidious",
|
||||
"endpoint": "playlist_info",
|
||||
"apiType": "Invidious"
|
||||
"endpoint": "playlist_info"
|
||||
"pathParams": {
|
||||
"plid": id
|
||||
}
|
||||
@@ -136,10 +136,10 @@ function AddPlaylistBookmarkWithSpread(id as string, groupName as string)
|
||||
bookmarkGroupNode = GetOrCreateBookmarkGroup(groupName)
|
||||
|
||||
feedSource = {
|
||||
"id": `inv_playlist_${id}`,
|
||||
"title": `${groupName} videos`,
|
||||
"apiType": "Invidious",
|
||||
"endpoint": "playlist",
|
||||
"id": `inv_playlist_${id}`
|
||||
"title": `${groupName} videos`
|
||||
"apiType": "Invidious"
|
||||
"endpoint": "playlist"
|
||||
"pathParams": {
|
||||
"plid": id
|
||||
}
|
||||
@@ -147,8 +147,8 @@ function AddPlaylistBookmarkWithSpread(id as string, groupName as string)
|
||||
AddFeedSourceBookmark(feedSource, `inv_playlist_${id}`, bookmarkGroupNode)
|
||||
|
||||
feedSource = {
|
||||
"apiType": "Invidious",
|
||||
"endpoint": "playlist_info",
|
||||
"apiType": "Invidious"
|
||||
"endpoint": "playlist_info"
|
||||
"pathParams": {
|
||||
"plid": id
|
||||
}
|
||||
@@ -160,8 +160,8 @@ function AddChannelBookmark(id as string, groupName as string)
|
||||
bookmarkGroupNode = GetOrCreateBookmarkGroup(groupName)
|
||||
|
||||
feedSource = {
|
||||
"apiType": "Invidious",
|
||||
"endpoint": "channel_info",
|
||||
"apiType": "Invidious"
|
||||
"endpoint": "channel_info"
|
||||
"pathParams": {
|
||||
"ucid": id
|
||||
}
|
||||
@@ -173,10 +173,10 @@ function AddChannelBookmarkWithSpread(id as string, groupName as string)
|
||||
bookmarkGroupNode = GetOrCreateBookmarkGroup(groupName)
|
||||
|
||||
feedSource = {
|
||||
"id": `inv_channel_videos_${id}`,
|
||||
"title": `${groupName} videos`,
|
||||
"apiType": "Invidious",
|
||||
"endpoint": "channel_videos",
|
||||
"id": `inv_channel_videos_${id}`
|
||||
"title": `${groupName} videos`
|
||||
"apiType": "Invidious"
|
||||
"endpoint": "channel_videos"
|
||||
"pathParams": {
|
||||
"ucid": id
|
||||
}
|
||||
@@ -184,8 +184,8 @@ function AddChannelBookmarkWithSpread(id as string, groupName as string)
|
||||
AddFeedSourceBookmark(feedSource, `inv_channel_videos_${id}`, bookmarkGroupNode)
|
||||
|
||||
feedSource = {
|
||||
"apiType": "Invidious",
|
||||
"endpoint": "channel_info",
|
||||
"apiType": "Invidious"
|
||||
"endpoint": "channel_info"
|
||||
"pathParams": {
|
||||
"ucid": id
|
||||
}
|
||||
|
||||
@@ -34,10 +34,10 @@ class DashManifest
|
||||
xml = new XmlObject()
|
||||
|
||||
if xml.Node("MPD", {
|
||||
"xmlns": "urn:mpeg:dash:schema:mpd:2011",
|
||||
"profiles": "urn:mpeg:dash:profile:full:2011",
|
||||
"minBufferTime": "PT1.5S",
|
||||
"type": "static",
|
||||
"xmlns": "urn:mpeg:dash:schema:mpd:2011"
|
||||
"profiles": "urn:mpeg:dash:profile:full:2011"
|
||||
"minBufferTime": "PT1.5S"
|
||||
"type": "static"
|
||||
"mediaPresentationDuration": `PT${metadata.lengthSeconds ?? 0}S`
|
||||
})
|
||||
if xml.Node("Period")
|
||||
@@ -45,9 +45,9 @@ class DashManifest
|
||||
id = 0
|
||||
for each audioSet in audioSets
|
||||
adaptationSetAttributes = {
|
||||
"id": `${id}`,
|
||||
"mimeType": audioSet.mimeType,
|
||||
"startWithSAP": "1",
|
||||
"id": `${id}`
|
||||
"mimeType": audioSet.mimeType
|
||||
"startWithSAP": "1"
|
||||
"subsegmentAlignment": "true"
|
||||
}
|
||||
if not StringUtils.IsNullOrEmpty(audioSet.lang)
|
||||
@@ -56,7 +56,7 @@ class DashManifest
|
||||
|
||||
if xml.Node("AdaptationSet", adaptationSetAttributes)
|
||||
xml.Node("Role", {
|
||||
"schemeIdUri": "urn:mpeg:dash:role:2011",
|
||||
"schemeIdUri": "urn:mpeg:dash:role:2011"
|
||||
"value": audioSet.acont = "original" ? "main" : "alternate"
|
||||
})
|
||||
xml.End()
|
||||
@@ -77,13 +77,13 @@ class DashManifest
|
||||
end if
|
||||
|
||||
if xml.Node("Representation", {
|
||||
"id": stream.itag,
|
||||
"codecs": codecs,
|
||||
"id": stream.itag
|
||||
"codecs": codecs
|
||||
"bandwidth": stream.bitrate
|
||||
})
|
||||
|
||||
xml.Node("AudioChannelConfiguration", {
|
||||
"schemeIdUri": "urn:mpeg:dash:23003:3:audio_channel_configuration:2011",
|
||||
"schemeIdUri": "urn:mpeg:dash:23003:3:audio_channel_configuration:2011"
|
||||
"value": `${stream.audioChannels}`
|
||||
})
|
||||
xml.End()
|
||||
@@ -115,9 +115,9 @@ class DashManifest
|
||||
|
||||
for each mimeType in videoMimeTypes
|
||||
if xml.Node("AdaptationSet", {
|
||||
"id": `${id}`,
|
||||
"mimeType": mimeType,
|
||||
"startWithSAP": "1",
|
||||
"id": `${id}`
|
||||
"mimeType": mimeType
|
||||
"startWithSAP": "1"
|
||||
"subsegmentAlignment": "true"
|
||||
})
|
||||
|
||||
@@ -137,10 +137,10 @@ class DashManifest
|
||||
end if
|
||||
|
||||
representationAttributes = {
|
||||
"id": stream.itag,
|
||||
"codecs": codecs,
|
||||
"startWithSAP": "1",
|
||||
"maxPlayoutRate": "1",
|
||||
"id": stream.itag
|
||||
"codecs": codecs
|
||||
"startWithSAP": "1"
|
||||
"maxPlayoutRate": "1"
|
||||
"bandwidth": stream.bitrate
|
||||
}
|
||||
if stream.width <> invalid
|
||||
@@ -226,26 +226,26 @@ class DashManifest
|
||||
bandwidth = ((storyboardWidthInPixels * storyboardHeightInPixels * 0.5) / duration)
|
||||
|
||||
if xml.Node("AdaptationSet", {
|
||||
"id": `${id}`,
|
||||
"mimeType": "image/jpeg",
|
||||
"id": `${id}`
|
||||
"mimeType": "image/jpeg"
|
||||
"contentType": "image"
|
||||
})
|
||||
xml.Node("SegmentTemplate", {
|
||||
"media": url,
|
||||
"duration": duration,
|
||||
"media": url
|
||||
"duration": duration
|
||||
"startNumber": 0
|
||||
})
|
||||
xml.End()
|
||||
|
||||
if xml.Node("Representation", {
|
||||
"id": `thumbnails_${id}`,
|
||||
"bandwidth": bandwidth,
|
||||
"width": storyboardWidthInPixels,
|
||||
"id": `thumbnails_${id}`
|
||||
"bandwidth": bandwidth
|
||||
"width": storyboardWidthInPixels
|
||||
"height": storyboardHeightInPixels
|
||||
})
|
||||
|
||||
xml.Node("EssentialProperty", {
|
||||
"schemeIdUri": "http://dashif.org/guidelines/thumbnail_tile",
|
||||
"schemeIdUri": "http://dashif.org/guidelines/thumbnail_tile"
|
||||
"value": `${storyboardWidth}x${storyboardHeight}`
|
||||
})
|
||||
xml.End()
|
||||
@@ -334,8 +334,8 @@ class DashManifest
|
||||
stream = streams[i]
|
||||
mimeType = stream.type.Tokenize(";")[0]
|
||||
types[`${mimeType}-${stream.languageInfo.lang}-${stream.languageInfo.acont}`] = {
|
||||
"mimeType": mimeType,
|
||||
"lang": stream.languageInfo.lang,
|
||||
"mimeType": mimeType
|
||||
"lang": stream.languageInfo.lang
|
||||
"acont": stream.languageInfo.acont
|
||||
}
|
||||
end for
|
||||
|
||||
@@ -45,15 +45,15 @@ namespace Invidious
|
||||
m.endpoints = node.apiDefinitions
|
||||
|
||||
m.responseHanlders = {
|
||||
DefaultHandler: m.DefaultHandler,
|
||||
AuthFeedHandler: m.AuthFeedHandler,
|
||||
PlaylistHandler: m.PlaylistHandler,
|
||||
VideoInfoHandler: m.VideoInfoHandler,
|
||||
PlaylistInfoHandler: m.PlaylistInfoHandler,
|
||||
ChannelInfoHandler: m.ChannelInfoHandler,
|
||||
ChannelVideosHandler: m.ChannelVideosHandler,
|
||||
ChannelPlaylistsHandler: m.ChannelPlaylistsHandler,
|
||||
ChannelRelatedChannelsHandler: m.ChannelRelatedChannelsHandler,
|
||||
DefaultHandler: m.DefaultHandler
|
||||
AuthFeedHandler: m.AuthFeedHandler
|
||||
PlaylistHandler: m.PlaylistHandler
|
||||
VideoInfoHandler: m.VideoInfoHandler
|
||||
PlaylistInfoHandler: m.PlaylistInfoHandler
|
||||
ChannelInfoHandler: m.ChannelInfoHandler
|
||||
ChannelVideosHandler: m.ChannelVideosHandler
|
||||
ChannelPlaylistsHandler: m.ChannelPlaylistsHandler
|
||||
ChannelRelatedChannelsHandler: m.ChannelRelatedChannelsHandler
|
||||
WatchHistoryHandler: m.WatchHistoryHandler
|
||||
}
|
||||
end function
|
||||
@@ -209,7 +209,7 @@ namespace Invidious
|
||||
endpoint = m.endpoints[feedSource.endpoint]
|
||||
if endpoint = invalid
|
||||
return {
|
||||
success: false,
|
||||
success: false
|
||||
error: `Endpoint ${feedSource.endpoint} not found`
|
||||
}
|
||||
end if
|
||||
@@ -222,7 +222,7 @@ namespace Invidious
|
||||
authToken = m.node.authToken
|
||||
if authToken = invalid
|
||||
return {
|
||||
success: false,
|
||||
success: false
|
||||
error: ERROR_NOT_AUTHENTICATED
|
||||
}
|
||||
end if
|
||||
@@ -283,12 +283,12 @@ namespace Invidious
|
||||
|
||||
if response.IsSuccess() and result <> invalid
|
||||
return {
|
||||
success: true,
|
||||
success: true
|
||||
result: result
|
||||
}
|
||||
else
|
||||
return {
|
||||
success: false,
|
||||
success: false
|
||||
error: response.ErrorMessage()
|
||||
}
|
||||
end if
|
||||
@@ -318,7 +318,7 @@ namespace Invidious
|
||||
if response.StatusCode() = 200
|
||||
json = response.Json()
|
||||
return {
|
||||
items: json.videos,
|
||||
items: json.videos
|
||||
continuation: json.continuation
|
||||
}
|
||||
end if
|
||||
@@ -329,7 +329,7 @@ namespace Invidious
|
||||
if response.StatusCode() = 200
|
||||
json = response.Json()
|
||||
return {
|
||||
items: json.playlists,
|
||||
items: json.playlists
|
||||
continuation: json.continuation
|
||||
}
|
||||
end if
|
||||
@@ -340,7 +340,7 @@ namespace Invidious
|
||||
if response.StatusCode() = 200
|
||||
json = response.Json()
|
||||
return {
|
||||
items: json.relatedChannels,
|
||||
items: json.relatedChannels
|
||||
continuation: json.continuation
|
||||
}
|
||||
end if
|
||||
@@ -422,7 +422,7 @@ namespace Invidious
|
||||
videos = []
|
||||
for each item in json
|
||||
videos.push({
|
||||
"type": "video",
|
||||
"type": "video"
|
||||
"videoId": item
|
||||
})
|
||||
end for
|
||||
@@ -454,7 +454,7 @@ namespace Invidious
|
||||
' Right now we're probably in a UI thread, and we can't unregister the token
|
||||
' Without a Task
|
||||
StartAsyncTask(InvidiousUnregisterTokenTask, {
|
||||
invidious: m.node,
|
||||
invidious: m.node
|
||||
authToken: authToken
|
||||
})
|
||||
RegistryUtils.Delete(RegistryUtils.INVIDIOUS_TOKEN)
|
||||
@@ -470,8 +470,8 @@ We apologize for the inconvenience.`
|
||||
|
||||
function SetAuthToken(token as string, instance as string, username as dynamic)
|
||||
obj = {
|
||||
token: token,
|
||||
instance: instance,
|
||||
token: token
|
||||
instance: instance
|
||||
username: username
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ function InvidiousSubscriptionsTask(input as object) as object
|
||||
LogError("Error getting subscriptions:", error)
|
||||
|
||||
return {
|
||||
success: false,
|
||||
success: false
|
||||
error: response.ErrorMessage()
|
||||
}
|
||||
end if
|
||||
|
||||
@@ -6,7 +6,6 @@ namespace SponsorBlock
|
||||
const SKIP_SEGMENT_ENDPOINT = "/api/skipSegments"
|
||||
const VIEWED_SEGMENT_ENDPOINT = "/api/viewedVideoSponsorTime"
|
||||
|
||||
|
||||
class SponsorBlockService
|
||||
function new()
|
||||
' TODO:P2 this is being read and parsed on every skipped segment. It should be cached.
|
||||
|
||||
@@ -15,8 +15,8 @@ function SponsorBlockTask(input as object) as object
|
||||
end if
|
||||
|
||||
return {
|
||||
videoId: videoId,
|
||||
skipSegments: skipSegments,
|
||||
videoId: videoId
|
||||
skipSegments: skipSegments
|
||||
barPath: barPath
|
||||
}
|
||||
end function
|
||||
@@ -4,18 +4,18 @@ function OnContentSet() as void
|
||||
content = m.top.itemContent
|
||||
|
||||
visibleProperties = {
|
||||
"video": "videoRowCellVisible",
|
||||
"playlist": "playlistRowCellVisible",
|
||||
"channel": "channelRowCellVisible",
|
||||
"loading": "loadingRowCellVisible",
|
||||
"video": "videoRowCellVisible"
|
||||
"playlist": "playlistRowCellVisible"
|
||||
"channel": "channelRowCellVisible"
|
||||
"loading": "loadingRowCellVisible"
|
||||
"action": "actionRowCellVisible"
|
||||
}
|
||||
|
||||
contentProperties = {
|
||||
"video": "videoRowCellItemContent",
|
||||
"playlist": "playlistRowCellItemContent",
|
||||
"channel": "channelRowCellItemContent",
|
||||
"loading": "loadingRowCellItemContent",
|
||||
"video": "videoRowCellItemContent"
|
||||
"playlist": "playlistRowCellItemContent"
|
||||
"channel": "channelRowCellItemContent"
|
||||
"loading": "loadingRowCellItemContent"
|
||||
"action": "actionRowCellItemContent"
|
||||
}
|
||||
|
||||
|
||||
@@ -209,7 +209,7 @@ function InitContent() as void
|
||||
end if
|
||||
|
||||
task = StartAsyncTask(VideoRowListContentTask, {
|
||||
node: m.top,
|
||||
node: m.top
|
||||
feeds: m.top.feeds
|
||||
}, OnVideoRowListContentTaskResult)
|
||||
m.pendingLoadTasks[task.id] = task
|
||||
@@ -282,8 +282,8 @@ function LoadRowContent(contentNode as object)
|
||||
|
||||
contentNode.loadState = FeedLoadState.Loading
|
||||
task = StartAsyncTask(VideoRowListRowContentTask, {
|
||||
rowList: m.top,
|
||||
feedContentNode: contentNode,
|
||||
rowList: m.top
|
||||
feedContentNode: contentNode
|
||||
invidious: m.invidious
|
||||
}, OnVideoRowListRowContentTaskResult)
|
||||
m.pendingLoadTasks[task.id] = task
|
||||
|
||||
@@ -143,7 +143,7 @@ function VideoRowListRowContentTask(input as object) as object
|
||||
catch error
|
||||
HandleFeedLoadErrorDialog(error, rowList)
|
||||
return {
|
||||
success: false,
|
||||
success: false
|
||||
error: error
|
||||
}
|
||||
end try
|
||||
|
||||
@@ -110,7 +110,7 @@ namespace SponsorBlock
|
||||
barPath = output.result.barPath
|
||||
if barPath <> invalid
|
||||
m.top.trickPlayBar.trackImageUri = barPath
|
||||
m.top.trickPlayBar.filledBarBlendColor = "0xFF000080"
|
||||
m.top.trickPlayBar.filledBarBlendColor = "#FF000080"
|
||||
end if
|
||||
|
||||
m.top.UnobserveFieldScoped("position")
|
||||
|
||||
@@ -27,7 +27,7 @@ function VideoContentTask(input as object) as object
|
||||
|
||||
if not response.IsSuccess() or metadata = invalid
|
||||
return {
|
||||
success: false,
|
||||
success: false
|
||||
error: response.ErrorMessage()
|
||||
}
|
||||
end if
|
||||
@@ -41,9 +41,9 @@ function VideoContentTask(input as object) as object
|
||||
SetCaptions(metadata, service, contentNode)
|
||||
|
||||
contentNode.addFields({
|
||||
metadata: metadata,
|
||||
metadata: metadata
|
||||
' StreamUrls is taken
|
||||
playletStreamUrls: streamUrls,
|
||||
playletStreamUrls: streamUrls
|
||||
playletStreamUrlIndex: 0
|
||||
})
|
||||
|
||||
@@ -104,11 +104,11 @@ function AddStreamUrls(streamUrls as object, metadata as object, service as Invi
|
||||
' These are roughly the itags for 360p and 480p
|
||||
' Most videos will hit 18, which is 360p
|
||||
mediumItags = {
|
||||
"18": true,
|
||||
"43": true,
|
||||
"44": true,
|
||||
"82": true,
|
||||
"83": true,
|
||||
"18": true
|
||||
"43": true
|
||||
"44": true
|
||||
"82": true
|
||||
"83": true
|
||||
"101": true
|
||||
}
|
||||
for each formatStream in metadata.formatStreams
|
||||
@@ -172,8 +172,8 @@ function SetCaptions(metadata as object, service as object, contentNode as objec
|
||||
|
||||
for each caption in metadata.captions
|
||||
subtitleTracks.Push({
|
||||
Description: caption.label,
|
||||
Language: isoLanguageList[caption.language_code] ?? caption.language_code,
|
||||
Description: caption.label
|
||||
Language: isoLanguageList[caption.language_code] ?? caption.language_code
|
||||
TrackName: instance + caption.url
|
||||
})
|
||||
end for
|
||||
|
||||
@@ -69,9 +69,9 @@ function StartVideoContentTask(videoContentNode as object)
|
||||
m.top.content = videoContentNode
|
||||
|
||||
m.videoContentTask = StartAsyncTask(VideoContentTask, {
|
||||
content: videoContentNode,
|
||||
invidious: m.top.invidious,
|
||||
preferences: m.top.preferences,
|
||||
content: videoContentNode
|
||||
invidious: m.top.invidious
|
||||
preferences: m.top.preferences
|
||||
playletServerPort: m.top.webServer.port
|
||||
}, OnVideoContentTaskResults)
|
||||
end function
|
||||
@@ -110,7 +110,7 @@ end function
|
||||
function MarkVideoWatched(videoId as string)
|
||||
if m.top.invidious.authToken <> invalid
|
||||
StartAsyncTask(MarkVideoWatchedTask, {
|
||||
videoId: videoId,
|
||||
videoId: videoId
|
||||
invidious: m.top.invidious
|
||||
})
|
||||
end if
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
function SetPlayerStyle()
|
||||
m.top.trickPlayBar.filledBarBlendColor = "0xFF1C30FF"
|
||||
m.top.bufferingBar.filledBarBlendColor = "0xFF1C30FF"
|
||||
m.top.retrievingBar.filledBarBlendColor = "0xFF1C30FF"
|
||||
m.top.trickPlayBar.filledBarBlendColor = "#FF1C30FF"
|
||||
m.top.bufferingBar.filledBarBlendColor = "#FF1C30FF"
|
||||
m.top.retrievingBar.filledBarBlendColor = "#FF1C30FF"
|
||||
|
||||
' Find the BusySpinner built into the Video node
|
||||
busySpinner = FindChildNodeOfType(m.top, "BusySpinner")
|
||||
if busySpinner <> invalid
|
||||
busySpinner.poster.blendColor = "0xFF1C30FF"
|
||||
busySpinner.poster.blendColor = "#FF1C30FF"
|
||||
end if
|
||||
end function
|
||||
|
||||
|
||||
@@ -52,7 +52,7 @@ namespace Http
|
||||
end for
|
||||
|
||||
feeds.push({
|
||||
"title": bookmarkGroupNode.title,
|
||||
"title": bookmarkGroupNode.title
|
||||
"feedSources": feedSources
|
||||
})
|
||||
end for
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace Http
|
||||
end if
|
||||
|
||||
response.Json({
|
||||
loaded: scene.playletLibLoadedUrl,
|
||||
loaded: scene.playletLibLoadedUrl
|
||||
saved: saved
|
||||
})
|
||||
return true
|
||||
|
||||
@@ -50,11 +50,10 @@ namespace Http
|
||||
if ArrayUtils.IndexOfString(keys, "invidious") <> -1
|
||||
authToken = invidiousNode.authToken
|
||||
state["invidious"] = {
|
||||
current_instance: invidiousNode@.GetCurrentInstance(),
|
||||
' backup_instances: InvidiousSettings.GetBackupInstances(),
|
||||
auth_url: invidiousNode@.GetAuthorizeTokenLink(),
|
||||
logged_in: authToken <> invalid,
|
||||
logged_in_instance: authToken <> invalid ? authToken.instance : invalid,
|
||||
current_instance: invidiousNode@.GetCurrentInstance()
|
||||
auth_url: invidiousNode@.GetAuthorizeTokenLink()
|
||||
logged_in: authToken <> invalid
|
||||
logged_in_instance: authToken <> invalid ? authToken.instance : invalid
|
||||
logged_in_username: authToken <> invalid ? authToken.username : invalid
|
||||
}
|
||||
end if
|
||||
|
||||
@@ -36,10 +36,10 @@ namespace Http
|
||||
for each route in m.routes
|
||||
if m.RouteMatchesRequest(route, request)
|
||||
if route.handler({
|
||||
router: m,
|
||||
request: request,
|
||||
response: response,
|
||||
connection: connection,
|
||||
router: m
|
||||
request: request
|
||||
response: response
|
||||
connection: connection
|
||||
server: response.server
|
||||
}) = true
|
||||
return true
|
||||
|
||||
@@ -25,7 +25,7 @@ namespace Http
|
||||
|
||||
if not StringUtils.IsNullOrEmpty(path)
|
||||
m.pathToEtags[path] = {
|
||||
etag: response.headers["ETag"],
|
||||
etag: response.headers["ETag"]
|
||||
size: body.count()
|
||||
}
|
||||
end if
|
||||
|
||||
@@ -41,7 +41,7 @@ namespace Web
|
||||
LogInfo("on connect")
|
||||
for each listener in m.onConnectListeners
|
||||
listener({
|
||||
server: m,
|
||||
server: m
|
||||
connection: connection
|
||||
})
|
||||
end for
|
||||
@@ -51,7 +51,7 @@ namespace Web
|
||||
LogInfo("on disconnect")
|
||||
for each listener in m.onDisconnectListeners
|
||||
listener({
|
||||
server: m,
|
||||
server: m
|
||||
connection: connection
|
||||
})
|
||||
end for
|
||||
@@ -60,8 +60,8 @@ namespace Web
|
||||
function TriggerOnMessage(connection as Web.WebSocketConnection, message as string)
|
||||
for each listener in m.onMessageListeners
|
||||
listener({
|
||||
server: m,
|
||||
connection: connection,
|
||||
server: m
|
||||
connection: connection
|
||||
message: message
|
||||
})
|
||||
end for
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
'mute',
|
||||
'full',
|
||||
],
|
||||
color: '#00d400B3',
|
||||
color: '#00D400B3',
|
||||
},
|
||||
selfpromo: {
|
||||
title: 'Unpaid/Self Promotion',
|
||||
@@ -32,7 +32,7 @@
|
||||
'mute',
|
||||
'full',
|
||||
],
|
||||
color: '#ffff00B3',
|
||||
color: '#FFFF00B3',
|
||||
},
|
||||
exclusive_access: {
|
||||
title: 'Exclusive Access',
|
||||
@@ -40,7 +40,7 @@
|
||||
categorySupport: [
|
||||
'full',
|
||||
],
|
||||
color: '#008a5cB3',
|
||||
color: '#008A5CB3',
|
||||
},
|
||||
interaction: {
|
||||
title: 'Interaction Reminder (Subscribe)',
|
||||
@@ -49,7 +49,7 @@
|
||||
'skip',
|
||||
'mute',
|
||||
],
|
||||
color: '#cc00ffB3',
|
||||
color: '#CC00FFB3',
|
||||
},
|
||||
poi_highlight: {
|
||||
title: 'Highlight',
|
||||
@@ -57,7 +57,7 @@
|
||||
categorySupport: [
|
||||
'poi',
|
||||
],
|
||||
color: '#ff1684B3',
|
||||
color: '#FF1684B3',
|
||||
},
|
||||
intro: {
|
||||
title: 'Intermission/Intro Animation',
|
||||
@@ -66,7 +66,7 @@
|
||||
'skip',
|
||||
'mute',
|
||||
],
|
||||
color: '#00ffffB3',
|
||||
color: '#00FFFFB3',
|
||||
},
|
||||
outro: {
|
||||
title: 'Endcards/Credits',
|
||||
@@ -75,16 +75,16 @@
|
||||
'skip',
|
||||
'mute',
|
||||
],
|
||||
color: '#0202edB3',
|
||||
color: '#0202EDB3',
|
||||
},
|
||||
preview: {
|
||||
title: 'Preview/Recap',
|
||||
short_title: 'Preview/Recap',
|
||||
title: 'Preview/Recap/Hook',
|
||||
short_title: 'Preview/Recap/Hook',
|
||||
categorySupport: [
|
||||
'skip',
|
||||
'mute',
|
||||
],
|
||||
color: '#008fd6B3',
|
||||
color: '#008FD6B3',
|
||||
},
|
||||
filler: {
|
||||
title: 'Filler Tangent/Jokes',
|
||||
@@ -109,7 +109,7 @@
|
||||
categorySupport: [
|
||||
'skip',
|
||||
],
|
||||
color: '#ff9900B3',
|
||||
color: '#FF9900B3',
|
||||
},
|
||||
},
|
||||
}
|
||||
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 316 B After Width: | Height: | Size: 364 B |
@@ -1,3 +1,3 @@
|
||||
<svg enable-background="new 0 0 24 24" height="24" viewBox="0 0 24 24" width="24" focusable="false" style="pointer-events: none; display: block; width: 100%; height: 100%;">
|
||||
<path fill="#000000" d="M15 17h6v1h-6v-1zm-4 0H3v1h8v2h1v-5h-1v2zm3-9h1V3h-1v2H3v1h11v2zm4-3v1h3V5h-3zM6 14h1V9H6v2H3v1h3v2zm4-2h11v-1H10v1z"></path>
|
||||
<path fill="#161616" d="M15 17h6v1h-6v-1zm-4 0H3v1h8v2h1v-5h-1v2zm3-9h1V3h-1v2H3v1h11v2zm4-3v1h3V5h-3zM6 14h1V9H6v2H3v1h3v2zm4-2h11v-1H10v1z"></path>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 334 B After Width: | Height: | Size: 334 B |
@@ -1,9 +1,9 @@
|
||||
{
|
||||
inputHash: 'b88a05052cd01cb7a89bd6802418d79e',
|
||||
inputHash: 'ed4c9f819d239f42552388b35703d49d',
|
||||
outputs: [
|
||||
{
|
||||
outputFilePath: 'images/icons/filters-black.png',
|
||||
outputHash: 'f0a7539ae840c00a2d91292f993bb75e',
|
||||
outputHash: 'b468f7bd2996a1c1f0acbfdc6512b1a5',
|
||||
width: 64,
|
||||
height: 64,
|
||||
},
|
||||
|
||||
|
Before Width: | Height: | Size: 321 B After Width: | Height: | Size: 343 B |
@@ -1,3 +1,3 @@
|
||||
<svg enable-background="new 0 0 24 24" height="24" viewBox="0 0 24 24" width="24" focusable="false" style="pointer-events: none; display: block; width: 100%; height: 100%;">
|
||||
<path fill="#FFFFFF" d="M15 17h6v1h-6v-1zm-4 0H3v1h8v2h1v-5h-1v2zm3-9h1V3h-1v2H3v1h11v2zm4-3v1h3V5h-3zM6 14h1V9H6v2H3v1h3v2zm4-2h11v-1H10v1z"></path>
|
||||
<path fill="#DBDBDB" d="M15 17h6v1h-6v-1zm-4 0H3v1h8v2h1v-5h-1v2zm3-9h1V3h-1v2H3v1h11v2zm4-3v1h3V5h-3zM6 14h1V9H6v2H3v1h3v2zm4-2h11v-1H10v1z"></path>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 334 B After Width: | Height: | Size: 334 B |
@@ -1,9 +1,9 @@
|
||||
{
|
||||
inputHash: 'df7918a3b43642f707cc0d9fcfd2d9ee',
|
||||
inputHash: 'a213d2aa04eb7063f173e6a75ed466de',
|
||||
outputs: [
|
||||
{
|
||||
outputFilePath: 'images/icons/filters-white.png',
|
||||
outputHash: '914e2c8da9772c23c24bebbd39c918f2',
|
||||
outputHash: '1a9c02d5597920100003614d70d54c0f',
|
||||
width: 64,
|
||||
height: 64,
|
||||
},
|
||||
|
||||
|
Before Width: | Height: | Size: 277 B After Width: | Height: | Size: 373 B |
@@ -1,5 +1,5 @@
|
||||
<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%;">
|
||||
<g class="style-scope yt-icon">
|
||||
<path fill="#FFFFFF" d="M4,10V21h6V15h4v6h6V10L12,3Z" class="style-scope yt-icon"></path>
|
||||
<path fill="#DBDBDB" d="M4,10V21h6V15h4v6h6V10L12,3Z" class="style-scope yt-icon"></path>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 330 B After Width: | Height: | Size: 330 B |
@@ -1,9 +1,9 @@
|
||||
{
|
||||
inputHash: '788d5e9ddc5a26953392afa17a85a05c',
|
||||
inputHash: '095d37a85c2c612e2cd361b3e9ade2cd',
|
||||
outputs: [
|
||||
{
|
||||
outputFilePath: 'images/icons/home.png',
|
||||
outputHash: '55f237e441ea693c152fbf0fd52a98d2',
|
||||
outputHash: '930a8bde6f292ca4b8fb7a43adb53a5f',
|
||||
width: 48,
|
||||
height: 48,
|
||||
},
|
||||
|
||||
|
Before Width: | Height: | Size: 940 B After Width: | Height: | Size: 1.3 KiB |
@@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 122.88 122.88"
|
||||
style="enable-background:new 0 0 122.88 122.88" xml:space="preserve"><g><path fill="#FFFFFF" d="M61.44,9.23c-1.85,0-3.64,0.08-5.35,0.25c-1.71,0.17-3.44,0.42-5.17,0.77c-1.72,0.34-3.39,0.77-5,1.26 c-1.59,0.49-3.16,1.07-4.7,1.72l-0.1,0.05l0,0c-1.63,0.7-3.18,1.45-4.67,2.25c-1.5,0.81-2.94,1.68-4.31,2.6 c-1.38,0.93-2.72,1.92-3.99,2.97c-1.27,1.05-2.5,2.16-3.68,3.35l-0.04,0.04c-1.18,1.18-2.29,2.4-3.33,3.66 c-1.05,1.28-2.04,2.61-2.97,3.99c-0.92,1.36-1.78,2.8-2.59,4.3c-0.8,1.49-1.56,3.05-2.26,4.67l-0.05,0.11l0,0l-0.07,0.14 c-0.63,1.5-1.19,3.04-1.67,4.61c-0.49,1.59-0.9,3.23-1.24,4.93c-0.35,1.73-0.6,3.45-0.77,5.17c-0.17,1.72-0.25,3.5-0.25,5.35 c0,1.85,0.08,3.64,0.25,5.35c0.17,1.71,0.42,3.44,0.77,5.17c0.35,1.72,0.77,3.39,1.27,5c0.49,1.57,1.05,3.13,1.7,4.66 c0.04,0.07,0.07,0.14,0.1,0.21c0.69,1.6,1.43,3.13,2.23,4.6c0.81,1.5,1.68,2.94,2.59,4.3c0.93,1.39,1.92,2.72,2.98,4 c1.02,1.24,2.11,2.44,3.26,3.59c0.07,0.06,0.13,0.12,0.19,0.19c1.16,1.16,2.36,2.24,3.59,3.26c1.28,1.05,2.61,2.04,3.99,2.97 c1.36,0.92,2.8,1.78,4.3,2.59c1.49,0.8,3.05,1.56,4.67,2.26l0.21,0.1c1.52,0.64,3.07,1.2,4.67,1.69c1.58,0.49,3.23,0.9,4.92,1.24 c1.73,0.35,3.45,0.6,5.17,0.77c1.72,0.17,3.5,0.25,5.35,0.25c1.85,0,3.64-0.08,5.35-0.25c1.71-0.17,3.44-0.42,5.17-0.77 c1.72-0.35,3.39-0.77,5-1.27c1.59-0.49,3.16-1.07,4.71-1.73l0.09-0.04l0-0.01c1.63-0.7,3.18-1.45,4.67-2.25 c1.5-0.81,2.94-1.68,4.31-2.6c1.38-0.93,2.72-1.92,3.99-2.97c1.25-1.03,2.45-2.12,3.62-3.29c0.06-0.06,0.11-0.12,0.18-0.18 c1.15-1.15,2.23-2.35,3.25-3.58c1.05-1.28,2.05-2.61,2.98-4c0.92-1.36,1.78-2.8,2.59-4.3c0.8-1.49,1.56-3.04,2.26-4.67l0.1-0.22 c0.64-1.51,1.2-3.06,1.69-4.65c0.49-1.59,0.9-3.23,1.24-4.93c0.35-1.73,0.6-3.45,0.77-5.17c0.17-1.72,0.25-3.5,0.25-5.35 c0-1.85-0.08-3.64-0.25-5.35c-0.17-1.71-0.42-3.44-0.77-5.17c-0.35-1.72-0.77-3.39-1.27-5c-0.49-1.59-1.07-3.16-1.73-4.71 l-0.04-0.09l0,0c-0.7-1.63-1.45-3.18-2.25-4.67c-0.81-1.5-1.68-2.94-2.59-4.3c-0.93-1.38-1.92-2.72-2.97-3.99 c-1.02-1.24-2.12-2.45-3.28-3.61c-0.07-0.06-0.13-0.12-0.18-0.18c-1.16-1.16-2.35-2.24-3.59-3.26c-1.28-1.05-2.61-2.04-3.99-2.97 c-1.37-0.92-2.8-1.78-4.3-2.59c-1.49-0.8-3.04-1.56-4.67-2.25l-0.19-0.09c-1.52-0.64-3.08-1.21-4.68-1.7 c-1.58-0.49-3.23-0.9-4.93-1.24c-1.73-0.35-3.45-0.6-5.17-0.77C65.08,9.31,63.29,9.23,61.44,9.23L61.44,9.23z M63.34,31.17 c2.19,0,3.91,0.63,5.16,1.88c1.24,1.25,1.87,2.96,1.87,5.17c0,2.24-1.07,4.22-3.21,5.97c-2.16,1.74-4.66,2.62-7.52,2.62 c-2.14,0-3.85-0.6-5.16-1.8c-1.31-1.22-1.96-2.79-1.96-4.75c0-2.47,1.07-4.59,3.19-6.4C57.82,32.06,60.37,31.17,63.34,31.17 L63.34,31.17L63.34,31.17z M75.55,91.71H47.33v-4.75h5.3V57.95h-5.3v-3.78h13.19c3.33,0,6.61-0.4,9.85-1.22v34.01h5.18L75.55,91.71 L75.55,91.71L75.55,91.71z M49.12,1.2c1.96-0.39,3.99-0.69,6.08-0.89C57.29,0.1,59.37,0,61.44,0c2.07,0,4.15,0.1,6.24,0.31 c2.09,0.2,4.12,0.5,6.08,0.89c1.94,0.39,3.88,0.88,5.82,1.48c1.88,0.58,3.74,1.26,5.58,2.04l0.19,0.07l0,0l0.06,0.02 c1.85,0.8,3.65,1.67,5.38,2.61c1.71,0.93,3.4,1.95,5.07,3.07c1.63,1.1,3.21,2.27,4.73,3.52c1.52,1.25,2.97,2.56,4.34,3.95 c1.38,1.38,2.7,2.83,3.95,4.34c1.25,1.52,2.42,3.09,3.52,4.73c1.09,1.63,2.11,3.32,3.06,5.06l0,0l0.01,0 c0.94,1.74,1.82,3.54,2.61,5.39c0.02,0.05,0.04,0.1,0.06,0.15c0.78,1.83,1.46,3.7,2.05,5.6c0.61,1.96,1.11,3.92,1.5,5.89 c0.39,1.96,0.69,3.99,0.89,6.08c0.2,2.09,0.3,4.17,0.3,6.24c0,2.07-0.1,4.15-0.31,6.24c-0.2,2.09-0.5,4.12-0.89,6.08 c-0.39,1.94-0.88,3.88-1.48,5.82c-0.58,1.89-1.27,3.76-2.05,5.62l-0.04,0.09l0,0l-0.05,0.11c-0.8,1.85-1.67,3.65-2.61,5.38 c-0.93,1.71-1.95,3.4-3.07,5.07c-1.1,1.63-2.27,3.21-3.52,4.73c-1.25,1.52-2.56,2.96-3.95,4.34c-1.38,1.38-2.83,2.7-4.35,3.95 c-1.52,1.25-3.09,2.42-4.72,3.51c-1.63,1.09-3.32,2.11-5.06,3.06c-1.78,0.96-3.57,1.84-5.39,2.62c-0.05,0.02-0.1,0.04-0.16,0.06 c-1.83,0.78-3.7,1.46-5.6,2.05c-1.96,0.61-3.92,1.11-5.88,1.5c-1.96,0.39-3.99,0.69-6.08,0.89c-2.09,0.2-4.17,0.3-6.24,0.3 s-4.15-0.1-6.24-0.3c-2.09-0.2-4.12-0.5-6.08-0.89c-1.94-0.39-3.88-0.88-5.82-1.48c-1.89-0.58-3.76-1.27-5.61-2.05l-0.2-0.08l0,0 c-1.85-0.8-3.65-1.67-5.38-2.61c-1.71-0.93-3.4-1.95-5.07-3.07c-1.63-1.09-3.21-2.27-4.72-3.51c-1.52-1.25-2.97-2.57-4.35-3.95 c-1.38-1.38-2.7-2.83-3.95-4.34c-1.25-1.52-2.42-3.1-3.52-4.73c-1.09-1.63-2.11-3.32-3.06-5.06c-0.97-1.78-1.84-3.58-2.62-5.4 c-0.02-0.05-0.04-0.1-0.06-0.15c-0.78-1.83-1.46-3.7-2.05-5.6c-0.61-1.96-1.11-3.93-1.5-5.89c-0.39-1.96-0.69-3.99-0.89-6.08 C0.1,65.59,0,63.51,0,61.44c0-2.07,0.1-4.15,0.31-6.24c0.2-2.09,0.5-4.12,0.89-6.08c0.39-1.94,0.88-3.88,1.48-5.82 c0.58-1.88,1.26-3.74,2.04-5.59l0.09-0.23l0,0c0.8-1.85,1.67-3.65,2.61-5.38c0.93-1.71,1.95-3.4,3.07-5.07 c1.1-1.63,2.27-3.21,3.52-4.73c1.25-1.52,2.56-2.96,3.95-4.34c1.38-1.38,2.83-2.7,4.34-3.95c1.52-1.25,3.09-2.42,4.73-3.52 c1.67-1.12,3.36-2.14,5.07-3.07l0.13-0.06c1.73-0.94,3.48-1.78,5.26-2.55c0.05-0.02,0.1-0.04,0.15-0.06 c1.83-0.78,3.7-1.46,5.6-2.05C45.19,2.09,47.15,1.59,49.12,1.2L49.12,1.2z"/></g></svg>
|
||||
style="enable-background:new 0 0 122.88 122.88" xml:space="preserve"><g><path fill="#DBDBDB" d="M61.44,9.23c-1.85,0-3.64,0.08-5.35,0.25c-1.71,0.17-3.44,0.42-5.17,0.77c-1.72,0.34-3.39,0.77-5,1.26 c-1.59,0.49-3.16,1.07-4.7,1.72l-0.1,0.05l0,0c-1.63,0.7-3.18,1.45-4.67,2.25c-1.5,0.81-2.94,1.68-4.31,2.6 c-1.38,0.93-2.72,1.92-3.99,2.97c-1.27,1.05-2.5,2.16-3.68,3.35l-0.04,0.04c-1.18,1.18-2.29,2.4-3.33,3.66 c-1.05,1.28-2.04,2.61-2.97,3.99c-0.92,1.36-1.78,2.8-2.59,4.3c-0.8,1.49-1.56,3.05-2.26,4.67l-0.05,0.11l0,0l-0.07,0.14 c-0.63,1.5-1.19,3.04-1.67,4.61c-0.49,1.59-0.9,3.23-1.24,4.93c-0.35,1.73-0.6,3.45-0.77,5.17c-0.17,1.72-0.25,3.5-0.25,5.35 c0,1.85,0.08,3.64,0.25,5.35c0.17,1.71,0.42,3.44,0.77,5.17c0.35,1.72,0.77,3.39,1.27,5c0.49,1.57,1.05,3.13,1.7,4.66 c0.04,0.07,0.07,0.14,0.1,0.21c0.69,1.6,1.43,3.13,2.23,4.6c0.81,1.5,1.68,2.94,2.59,4.3c0.93,1.39,1.92,2.72,2.98,4 c1.02,1.24,2.11,2.44,3.26,3.59c0.07,0.06,0.13,0.12,0.19,0.19c1.16,1.16,2.36,2.24,3.59,3.26c1.28,1.05,2.61,2.04,3.99,2.97 c1.36,0.92,2.8,1.78,4.3,2.59c1.49,0.8,3.05,1.56,4.67,2.26l0.21,0.1c1.52,0.64,3.07,1.2,4.67,1.69c1.58,0.49,3.23,0.9,4.92,1.24 c1.73,0.35,3.45,0.6,5.17,0.77c1.72,0.17,3.5,0.25,5.35,0.25c1.85,0,3.64-0.08,5.35-0.25c1.71-0.17,3.44-0.42,5.17-0.77 c1.72-0.35,3.39-0.77,5-1.27c1.59-0.49,3.16-1.07,4.71-1.73l0.09-0.04l0-0.01c1.63-0.7,3.18-1.45,4.67-2.25 c1.5-0.81,2.94-1.68,4.31-2.6c1.38-0.93,2.72-1.92,3.99-2.97c1.25-1.03,2.45-2.12,3.62-3.29c0.06-0.06,0.11-0.12,0.18-0.18 c1.15-1.15,2.23-2.35,3.25-3.58c1.05-1.28,2.05-2.61,2.98-4c0.92-1.36,1.78-2.8,2.59-4.3c0.8-1.49,1.56-3.04,2.26-4.67l0.1-0.22 c0.64-1.51,1.2-3.06,1.69-4.65c0.49-1.59,0.9-3.23,1.24-4.93c0.35-1.73,0.6-3.45,0.77-5.17c0.17-1.72,0.25-3.5,0.25-5.35 c0-1.85-0.08-3.64-0.25-5.35c-0.17-1.71-0.42-3.44-0.77-5.17c-0.35-1.72-0.77-3.39-1.27-5c-0.49-1.59-1.07-3.16-1.73-4.71 l-0.04-0.09l0,0c-0.7-1.63-1.45-3.18-2.25-4.67c-0.81-1.5-1.68-2.94-2.59-4.3c-0.93-1.38-1.92-2.72-2.97-3.99 c-1.02-1.24-2.12-2.45-3.28-3.61c-0.07-0.06-0.13-0.12-0.18-0.18c-1.16-1.16-2.35-2.24-3.59-3.26c-1.28-1.05-2.61-2.04-3.99-2.97 c-1.37-0.92-2.8-1.78-4.3-2.59c-1.49-0.8-3.04-1.56-4.67-2.25l-0.19-0.09c-1.52-0.64-3.08-1.21-4.68-1.7 c-1.58-0.49-3.23-0.9-4.93-1.24c-1.73-0.35-3.45-0.6-5.17-0.77C65.08,9.31,63.29,9.23,61.44,9.23L61.44,9.23z M63.34,31.17 c2.19,0,3.91,0.63,5.16,1.88c1.24,1.25,1.87,2.96,1.87,5.17c0,2.24-1.07,4.22-3.21,5.97c-2.16,1.74-4.66,2.62-7.52,2.62 c-2.14,0-3.85-0.6-5.16-1.8c-1.31-1.22-1.96-2.79-1.96-4.75c0-2.47,1.07-4.59,3.19-6.4C57.82,32.06,60.37,31.17,63.34,31.17 L63.34,31.17L63.34,31.17z M75.55,91.71H47.33v-4.75h5.3V57.95h-5.3v-3.78h13.19c3.33,0,6.61-0.4,9.85-1.22v34.01h5.18L75.55,91.71 L75.55,91.71L75.55,91.71z M49.12,1.2c1.96-0.39,3.99-0.69,6.08-0.89C57.29,0.1,59.37,0,61.44,0c2.07,0,4.15,0.1,6.24,0.31 c2.09,0.2,4.12,0.5,6.08,0.89c1.94,0.39,3.88,0.88,5.82,1.48c1.88,0.58,3.74,1.26,5.58,2.04l0.19,0.07l0,0l0.06,0.02 c1.85,0.8,3.65,1.67,5.38,2.61c1.71,0.93,3.4,1.95,5.07,3.07c1.63,1.1,3.21,2.27,4.73,3.52c1.52,1.25,2.97,2.56,4.34,3.95 c1.38,1.38,2.7,2.83,3.95,4.34c1.25,1.52,2.42,3.09,3.52,4.73c1.09,1.63,2.11,3.32,3.06,5.06l0,0l0.01,0 c0.94,1.74,1.82,3.54,2.61,5.39c0.02,0.05,0.04,0.1,0.06,0.15c0.78,1.83,1.46,3.7,2.05,5.6c0.61,1.96,1.11,3.92,1.5,5.89 c0.39,1.96,0.69,3.99,0.89,6.08c0.2,2.09,0.3,4.17,0.3,6.24c0,2.07-0.1,4.15-0.31,6.24c-0.2,2.09-0.5,4.12-0.89,6.08 c-0.39,1.94-0.88,3.88-1.48,5.82c-0.58,1.89-1.27,3.76-2.05,5.62l-0.04,0.09l0,0l-0.05,0.11c-0.8,1.85-1.67,3.65-2.61,5.38 c-0.93,1.71-1.95,3.4-3.07,5.07c-1.1,1.63-2.27,3.21-3.52,4.73c-1.25,1.52-2.56,2.96-3.95,4.34c-1.38,1.38-2.83,2.7-4.35,3.95 c-1.52,1.25-3.09,2.42-4.72,3.51c-1.63,1.09-3.32,2.11-5.06,3.06c-1.78,0.96-3.57,1.84-5.39,2.62c-0.05,0.02-0.1,0.04-0.16,0.06 c-1.83,0.78-3.7,1.46-5.6,2.05c-1.96,0.61-3.92,1.11-5.88,1.5c-1.96,0.39-3.99,0.69-6.08,0.89c-2.09,0.2-4.17,0.3-6.24,0.3 s-4.15-0.1-6.24-0.3c-2.09-0.2-4.12-0.5-6.08-0.89c-1.94-0.39-3.88-0.88-5.82-1.48c-1.89-0.58-3.76-1.27-5.61-2.05l-0.2-0.08l0,0 c-1.85-0.8-3.65-1.67-5.38-2.61c-1.71-0.93-3.4-1.95-5.07-3.07c-1.63-1.09-3.21-2.27-4.72-3.51c-1.52-1.25-2.97-2.57-4.35-3.95 c-1.38-1.38-2.7-2.83-3.95-4.34c-1.25-1.52-2.42-3.1-3.52-4.73c-1.09-1.63-2.11-3.32-3.06-5.06c-0.97-1.78-1.84-3.58-2.62-5.4 c-0.02-0.05-0.04-0.1-0.06-0.15c-0.78-1.83-1.46-3.7-2.05-5.6c-0.61-1.96-1.11-3.93-1.5-5.89c-0.39-1.96-0.69-3.99-0.89-6.08 C0.1,65.59,0,63.51,0,61.44c0-2.07,0.1-4.15,0.31-6.24c0.2-2.09,0.5-4.12,0.89-6.08c0.39-1.94,0.88-3.88,1.48-5.82 c0.58-1.88,1.26-3.74,2.04-5.59l0.09-0.23l0,0c0.8-1.85,1.67-3.65,2.61-5.38c0.93-1.71,1.95-3.4,3.07-5.07 c1.1-1.63,2.27-3.21,3.52-4.73c1.25-1.52,2.56-2.96,3.95-4.34c1.38-1.38,2.83-2.7,4.34-3.95c1.52-1.25,3.09-2.42,4.73-3.52 c1.67-1.12,3.36-2.14,5.07-3.07l0.13-0.06c1.73-0.94,3.48-1.78,5.26-2.55c0.05-0.02,0.1-0.04,0.15-0.06 c1.83-0.78,3.7-1.46,5.6-2.05C45.19,2.09,47.15,1.59,49.12,1.2L49.12,1.2z"/></g></svg>
|
||||
|
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 4.9 KiB |
@@ -1,9 +1,9 @@
|
||||
{
|
||||
inputHash: '92a5720049ca36c38c695969534c2bb5',
|
||||
inputHash: 'd25e6795ca6071843960c2c5271bb94e',
|
||||
outputs: [
|
||||
{
|
||||
outputFilePath: 'images/icons/info.png',
|
||||
outputHash: '4362586ae18f53144b5921d318634d31',
|
||||
outputHash: '30a6659ef33d02857fb80d07683d25cb',
|
||||
width: 48,
|
||||
height: 48,
|
||||
},
|
||||
|
||||
|
Before Width: | Height: | Size: 369 B After Width: | Height: | Size: 451 B |
@@ -1,42 +1,12 @@
|
||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
|
||||
<svg fill="#FFFFFF" height="800px" width="800px" version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
viewBox="0 0 27.442 27.442" xml:space="preserve">
|
||||
<svg fill="#DBDBDB" height="800px" width="800px" version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
viewBox="0 0 27.442 27.442" xml:space="preserve">
|
||||
<g>
|
||||
<path d="M19.494,0H7.948C6.843,0,5.951,0.896,5.951,1.999v23.446c0,1.102,0.892,1.997,1.997,1.997h11.546
|
||||
c1.103,0,1.997-0.895,1.997-1.997V1.999C21.491,0.896,20.597,0,19.494,0z M10.872,1.214h5.7c0.144,0,0.261,0.215,0.261,0.481
|
||||
s-0.117,0.482-0.261,0.482h-5.7c-0.145,0-0.26-0.216-0.26-0.482C10.612,1.429,10.727,1.214,10.872,1.214z M13.722,25.469
|
||||
c-0.703,0-1.275-0.572-1.275-1.276s0.572-1.274,1.275-1.274c0.701,0,1.273,0.57,1.273,1.274S14.423,25.469,13.722,25.469z
|
||||
M19.995,21.1H7.448V3.373h12.547V21.1z"/>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 1021 B After Width: | Height: | Size: 854 B |
@@ -1,9 +1,9 @@
|
||||
{
|
||||
inputHash: 'e6318f56ce4c0cc637cf0cc3180a2013',
|
||||
inputHash: 'f684b19a8b10a485f4d878e052805c74',
|
||||
outputs: [
|
||||
{
|
||||
outputFilePath: 'images/icons/phone.png',
|
||||
outputHash: '0492b3133fc6475224bae712e1129471',
|
||||
outputHash: 'd51aaf82ba70b964f40dd364a72f4240',
|
||||
width: 48,
|
||||
height: 48,
|
||||
},
|
||||
|
||||
|
Before Width: | Height: | Size: 730 B After Width: | Height: | Size: 1.0 KiB |
@@ -1,4 +1,4 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
|
||||
<!--! Font Awesome Pro 6.2.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. -->
|
||||
<path fill="#FFFFFF" d="M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352c79.5 0 144-64.5 144-144s-64.5-144-144-144S64 128.5 64 208s64.5 144 144 144z" />
|
||||
<path fill="#DBDBDB" d="M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352c79.5 0 144-64.5 144-144s-64.5-144-144-144S64 128.5 64 208s64.5 144 144 144z" />
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 542 B After Width: | Height: | Size: 542 B |
@@ -1,9 +1,9 @@
|
||||
{
|
||||
inputHash: 'dede98d4bf3c835836c82c485600108c',
|
||||
inputHash: '050f0c067e484901f96312da575a2cd6',
|
||||
outputs: [
|
||||
{
|
||||
outputFilePath: 'images/icons/search.png',
|
||||
outputHash: 'da7de20ee8700756ff8ab6c806682853',
|
||||
outputHash: '20246ba2da61c2a47af4e49a45845fd2',
|
||||
width: 48,
|
||||
height: 48,
|
||||
},
|
||||
|
||||
|
Before Width: | Height: | Size: 687 B After Width: | Height: | Size: 934 B |
@@ -13,29 +13,29 @@
|
||||
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>
|
||||
<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:#DBDBDB;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>
|
||||
|
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 4.0 KiB |
@@ -1,9 +1,9 @@
|
||||
{
|
||||
inputHash: '4a523fd829e2c489df85d5db106889a2',
|
||||
inputHash: 'ca987d3d31f4ec1d3cf9f4e9622a546f',
|
||||
outputs: [
|
||||
{
|
||||
outputFilePath: 'images/icons/settings.png',
|
||||
outputHash: '07b98411ee36a3ccf3004e727d53d4f8',
|
||||
outputHash: 'ed76df0b00cf8d419f413859170c6120',
|
||||
width: 48,
|
||||
height: 48,
|
||||
},
|
||||
|
||||
|
Before Width: | Height: | Size: 499 B After Width: | Height: | Size: 694 B |
@@ -1,5 +1,5 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" viewBox="0 0 24 24" id="star">
|
||||
<path fill="#FFFFFF" d="M22,10.1c0.1-0.5-0.3-1.1-0.8-1.1l-5.7-0.8L12.9,3c-0.1-0.2-0.2-0.3-0.4-0.4C12,2.3,11.4,2.5,11.1,3L8.6,8.2L2.9,9
|
||||
<path fill="#DBDBDB" d="M22,10.1c0.1-0.5-0.3-1.1-0.8-1.1l-5.7-0.8L12.9,3c-0.1-0.2-0.2-0.3-0.4-0.4C12,2.3,11.4,2.5,11.1,3L8.6,8.2L2.9,9
|
||||
C2.6,9,2.4,9.1,2.3,9.3c-0.4,0.4-0.4,1,0,1.4l4.1,4l-1,5.7c0,0.2,0,0.4,0.1,0.6c0.3,0.5,0.9,0.7,1.4,0.4l5.1-2.7l5.1,2.7
|
||||
c0.1,0.1,0.3,0.1,0.5,0.1l0,0c0.1,0,0.1,0,0.2,0c0.5-0.1,0.9-0.6,0.8-1.2l-1-5.7l4.1-4C21.9,10.5,22,10.3,22,10.1z"></path>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 486 B After Width: | Height: | Size: 486 B |
@@ -1,9 +1,9 @@
|
||||
{
|
||||
inputHash: '74103c34870ccaeae6d5b3282fabdc98',
|
||||
inputHash: 'c2960b9197693b44f1e2816d31c15021',
|
||||
outputs: [
|
||||
{
|
||||
outputFilePath: 'images/icons/star.png',
|
||||
outputHash: '18773e4f645b0b92e8eb91524b3ac278',
|
||||
outputHash: '4e34693fe0b241c10d281f1189820209',
|
||||
width: 48,
|
||||
height: 48,
|
||||
},
|
||||
|
||||
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.6 KiB |
@@ -17,9 +17,9 @@ namespace QrCode
|
||||
|
||||
function QRErrorCorrectionLevel() as object
|
||||
return {
|
||||
L: 1,
|
||||
M: 0,
|
||||
Q: 3,
|
||||
L: 1
|
||||
M: 0
|
||||
Q: 3
|
||||
H: 2
|
||||
}
|
||||
end function
|
||||
|
||||
@@ -6,50 +6,50 @@ namespace QrCode
|
||||
m.mode = QrCode.QRMode.AlphaNumeric
|
||||
|
||||
m.CHAR_TABLE = {
|
||||
"0": 0,
|
||||
"1": 1,
|
||||
"2": 2,
|
||||
"3": 3,
|
||||
"4": 4,
|
||||
"5": 5,
|
||||
"6": 6,
|
||||
"7": 7,
|
||||
"8": 8,
|
||||
"9": 9,
|
||||
"A": 10,
|
||||
"B": 11,
|
||||
"C": 12,
|
||||
"D": 13,
|
||||
"E": 14,
|
||||
"F": 15,
|
||||
"G": 16,
|
||||
"H": 17,
|
||||
"I": 18,
|
||||
"J": 19,
|
||||
"K": 20,
|
||||
"L": 21,
|
||||
"M": 22,
|
||||
"N": 23,
|
||||
"O": 24,
|
||||
"P": 25,
|
||||
"Q": 26,
|
||||
"R": 27,
|
||||
"S": 28,
|
||||
"T": 29,
|
||||
"U": 30,
|
||||
"V": 31,
|
||||
"W": 32,
|
||||
"X": 33,
|
||||
"Y": 34,
|
||||
"Z": 35,
|
||||
" ": 36,
|
||||
"$": 37,
|
||||
"%": 38,
|
||||
"*": 39,
|
||||
"+": 40,
|
||||
"-": 41,
|
||||
".": 42,
|
||||
"/": 43,
|
||||
"0": 0
|
||||
"1": 1
|
||||
"2": 2
|
||||
"3": 3
|
||||
"4": 4
|
||||
"5": 5
|
||||
"6": 6
|
||||
"7": 7
|
||||
"8": 8
|
||||
"9": 9
|
||||
"A": 10
|
||||
"B": 11
|
||||
"C": 12
|
||||
"D": 13
|
||||
"E": 14
|
||||
"F": 15
|
||||
"G": 16
|
||||
"H": 17
|
||||
"I": 18
|
||||
"J": 19
|
||||
"K": 20
|
||||
"L": 21
|
||||
"M": 22
|
||||
"N": 23
|
||||
"O": 24
|
||||
"P": 25
|
||||
"Q": 26
|
||||
"R": 27
|
||||
"S": 28
|
||||
"T": 29
|
||||
"U": 30
|
||||
"V": 31
|
||||
"W": 32
|
||||
"X": 33
|
||||
"Y": 34
|
||||
"Z": 35
|
||||
" ": 36
|
||||
"$": 37
|
||||
"%": 38
|
||||
"*": 39
|
||||
"+": 40
|
||||
"-": 41
|
||||
".": 42
|
||||
"/": 43
|
||||
":": 44
|
||||
}
|
||||
end function
|
||||
|
||||
@@ -6,15 +6,15 @@ namespace QrCode
|
||||
m.mode = QrCode.QRMode.Numeric
|
||||
|
||||
m.CHAR_TABLE = {
|
||||
"0": 0,
|
||||
"1": 1,
|
||||
"2": 2,
|
||||
"3": 3,
|
||||
"4": 4,
|
||||
"5": 5,
|
||||
"6": 6,
|
||||
"7": 7,
|
||||
"8": 8,
|
||||
"0": 0
|
||||
"1": 1
|
||||
"2": 2
|
||||
"3": 3
|
||||
"4": 4
|
||||
"5": 5
|
||||
"6": 6
|
||||
"7": 7
|
||||
"8": 8
|
||||
"9": 9
|
||||
}
|
||||
end function
|
||||
|
||||
@@ -4,9 +4,9 @@ namespace QrCode
|
||||
|
||||
function new()
|
||||
m.ERROR_CORRECTION_LEVEL_OFFSETS = {
|
||||
L: 0,
|
||||
M: 1,
|
||||
Q: 2,
|
||||
L: 0
|
||||
M: 1
|
||||
Q: 2
|
||||
H: 3
|
||||
}
|
||||
|
||||
@@ -284,7 +284,7 @@ namespace QrCode
|
||||
dataCount = rsBlock[index + 2]
|
||||
for j = 0 to count - 1 step 1
|
||||
result.push({
|
||||
totalCount: totalCount,
|
||||
totalCount: totalCount
|
||||
dataCount: dataCount
|
||||
})
|
||||
end for
|
||||
|
||||
@@ -54,8 +54,8 @@ namespace QrCode
|
||||
black = &H000000ff
|
||||
|
||||
bitmap = createObject("roBitmap", {
|
||||
width: qrSize,
|
||||
height: qrSize,
|
||||
width: qrSize
|
||||
height: qrSize
|
||||
AlphaEnable: false
|
||||
})
|
||||
bitmap.clear(white)
|
||||
|
||||
@@ -32,10 +32,10 @@ class ApplicationInfo
|
||||
function GetAppInfo() as object
|
||||
if m.appInfo = invalid
|
||||
m.appInfo = {
|
||||
id: m.roAppInfo.GetID(),
|
||||
app_version: m.roAppInfo.GetVersion(),
|
||||
app_git_commit_hash: m.roAppInfo.GetValue("git_commit_sha"),
|
||||
lib_version: m.GetLibVersion(),
|
||||
id: m.roAppInfo.GetID()
|
||||
app_version: m.roAppInfo.GetVersion()
|
||||
app_git_commit_hash: m.roAppInfo.GetValue("git_commit_sha")
|
||||
lib_version: m.GetLibVersion()
|
||||
lib_git_commit_hash: m.GetLibGitCommitHash()
|
||||
}
|
||||
|
||||
@@ -64,20 +64,20 @@ class ApplicationInfo
|
||||
function GetDeviceInfo() as object
|
||||
if m.deviceInfo = invalid
|
||||
m.deviceInfo = {
|
||||
model: m.roDeviceInfo.GetModel(),
|
||||
model_display_name: m.roDeviceInfo.GetModelDisplayName(),
|
||||
model_type: m.roDeviceInfo.GetModelType(),
|
||||
model_details: m.roDeviceInfo.GetModelDetails(),
|
||||
os_version: m.roDeviceInfo.GetOSVersion(),
|
||||
display_type: m.roDeviceInfo.GetDisplayType(),
|
||||
display_mode: m.roDeviceInfo.GetDisplayMode(),
|
||||
display_aspect_ratio: m.roDeviceInfo.GetDisplayAspectRatio(),
|
||||
display_size: m.roDeviceInfo.GetDisplaySize(),
|
||||
video_mode: m.roDeviceInfo.GetVideoMode(),
|
||||
ui_resolution: m.roDeviceInfo.GetUIResolution(),
|
||||
graphics_platform: m.roDeviceInfo.GetGraphicsPlatform(),
|
||||
internet_status: m.roDeviceInfo.GetInternetStatus(),
|
||||
user_country_code: m.roDeviceInfo.GetUserCountryCode(),
|
||||
model: m.roDeviceInfo.GetModel()
|
||||
model_display_name: m.roDeviceInfo.GetModelDisplayName()
|
||||
model_type: m.roDeviceInfo.GetModelType()
|
||||
model_details: m.roDeviceInfo.GetModelDetails()
|
||||
os_version: m.roDeviceInfo.GetOSVersion()
|
||||
display_type: m.roDeviceInfo.GetDisplayType()
|
||||
display_mode: m.roDeviceInfo.GetDisplayMode()
|
||||
display_aspect_ratio: m.roDeviceInfo.GetDisplayAspectRatio()
|
||||
display_size: m.roDeviceInfo.GetDisplaySize()
|
||||
video_mode: m.roDeviceInfo.GetVideoMode()
|
||||
ui_resolution: m.roDeviceInfo.GetUIResolution()
|
||||
graphics_platform: m.roDeviceInfo.GetGraphicsPlatform()
|
||||
internet_status: m.roDeviceInfo.GetInternetStatus()
|
||||
user_country_code: m.roDeviceInfo.GetUserCountryCode()
|
||||
friendly_name: m.roDeviceInfo.GetFriendlyName()
|
||||
}
|
||||
end if
|
||||
|
||||
@@ -90,7 +90,7 @@ namespace HttpClient
|
||||
end if
|
||||
|
||||
m._queryParams[key] = {
|
||||
value: valueArray,
|
||||
value: valueArray
|
||||
arrayType: arrayType
|
||||
}
|
||||
|
||||
@@ -624,8 +624,8 @@ namespace HttpClientCache
|
||||
end if
|
||||
|
||||
return {
|
||||
statusCode: metadata.statusCode,
|
||||
headers: headers,
|
||||
statusCode: metadata.statusCode
|
||||
headers: headers
|
||||
body: body
|
||||
}
|
||||
end function
|
||||
@@ -672,9 +672,9 @@ namespace HttpClientCache
|
||||
body = ValidString(response.Text())
|
||||
|
||||
cacheMetadata = {
|
||||
timestamp: timestamp,
|
||||
statusCode: response.StatusCode(),
|
||||
headers: jsonHeaders.Len(),
|
||||
timestamp: timestamp
|
||||
statusCode: response.StatusCode()
|
||||
headers: jsonHeaders.Len()
|
||||
body: body.Len()
|
||||
}
|
||||
|
||||
|
||||
@@ -18,8 +18,8 @@ class XmlObject
|
||||
|
||||
function Node(name as string, attributes = invalid as object) as boolean
|
||||
newNode = {
|
||||
name: name,
|
||||
attributes: attributes,
|
||||
name: name
|
||||
attributes: attributes
|
||||
children: []
|
||||
}
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ function DisposableObserveField(node as object, field as string, callback as str
|
||||
m._disposableObserveFields = []
|
||||
end if
|
||||
m._disposableObserveFields.push({
|
||||
node: node,
|
||||
node: node
|
||||
field: field
|
||||
})
|
||||
end function
|
||||
@@ -17,7 +17,7 @@ function DisposableObserveFieldScoped(node as object, field as string, callback
|
||||
m._disposableObserveFieldsScoped = []
|
||||
end if
|
||||
m._disposableObserveFieldsScoped.push({
|
||||
node: node,
|
||||
node: node
|
||||
field: field
|
||||
})
|
||||
end function
|
||||
|
||||
@@ -133,7 +133,7 @@ playletConfig.categoryList.forEach(categoryId => {
|
||||
category.title = englishLocale[`category_${categoryId}`].message
|
||||
category.short_title = englishLocale[`category_${categoryId}_short`]?.message ?? category.title;
|
||||
category.categorySupport = configExample.categorySupport[categoryId];
|
||||
category.color = getColor(barTypes[categoryId]);
|
||||
category.color = getColor(barTypes[categoryId]).toUpperCase();
|
||||
|
||||
playletConfig.categories[categoryId] = category;
|
||||
});
|
||||
|
||||