packages/inferencer/src/inferencers/headless/__tests__/__snapshots__/edit.test.tsx.snap
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`HeadlessEditInferencer should match the snapshot 1`] = `
<DocumentFragment>
<div>
<div
style="padding: 16px;"
>
<div
style="display: flex; justify-content: space-between;"
>
<h1>
Post Edit
</h1>
<div>
<button>
Posts
</button>
</div>
</div>
<form>
<div
style="display: flex; flex-direction: column; gap: 8px;"
>
<label>
<span
style="margin-right: 8px;"
>
Id
</span>
<input
disabled=""
name="id"
type="number"
/>
<span
style="color: red;"
/>
</label>
<label>
<span
style="margin-right: 8px;"
>
Title
</span>
<input
name="title"
type="text"
/>
<span
style="color: red;"
/>
</label>
<label>
<span
style="margin-right: 8px;"
>
Slug
</span>
<input
name="slug"
type="text"
/>
<span
style="color: red;"
/>
</label>
<label>
<span
style="margin-right: 8px;"
>
Content
</span>
<textarea
cols="33"
name="content"
rows="5"
style="vertical-align: top;"
/>
<span
style="color: red;"
/>
</label>
<label>
<span
style="margin-right: 8px;"
>
Hit
</span>
<input
name="hit"
type="number"
/>
<span
style="color: red;"
/>
</label>
<label>
<span
style="margin-right: 8px;"
>
Category
</span>
<select
name="category.id"
placeholder="Select category"
>
<option
value="16"
>
Numquam Saepe Illo
</option>
<option
value="7"
>
Sit Natus Voluptatibus
</option>
</select>
<span
style="color: red;"
/>
</label>
<label>
<span
style="margin-right: 8px;"
>
User
</span>
<select
name="user.id"
placeholder="Select user"
>
<option
value="21"
>
Eriberto
</option>
<option
value="49"
>
Tressie
</option>
</select>
<span
style="color: red;"
/>
</label>
<label>
<span
style="margin-right: 8px;"
>
Status
</span>
<input
name="status"
type="text"
/>
<span
style="color: red;"
/>
</label>
<label>
<span
style="margin-right: 8px;"
>
Status Color
</span>
<input
name="status_color"
type="text"
/>
<span
style="color: red;"
/>
</label>
<label>
<span
style="margin-right: 8px;"
>
Created At
</span>
<input
name="createdAt"
/>
<span
style="color: red;"
/>
</label>
<label>
<span
style="margin-right: 8px;"
>
Published At
</span>
<input
name="publishedAt"
/>
<span
style="color: red;"
/>
</label>
<label>
<span
style="margin-right: 8px;"
>
Tags
</span>
<select
name="tags"
placeholder="Select tag"
>
<option
value="5"
>
Error Eos Et
</option>
<option
value="9"
>
Nobis Et Ut
</option>
</select>
<span
style="color: red;"
/>
</label>
<label>
<span
style="margin-right: 8px;"
>
Language
</span>
<input
name="language"
type="number"
/>
<span
style="color: red;"
/>
</label>
<div>
<input
type="submit"
value="Save"
/>
</div>
</div>
</form>
</div>
</div>
<div
class="refine-inferencer--code-viewer"
style="position: sticky; bottom: 24px; padding-top: 24px; left: 0px; right: 0px; width: 100%; z-index: 10; display: flex; justify-content: center; transition: all 0.2s ease; opacity: 1; transform: translateY(0);"
>
<div
style="max-width: 1080px; padding: 20px; background-color: rgb(26, 26, 26); box-shadow: 0px 4px 16px -4px rgba(0, 0, 0, 0.5), 0px 8px 32px -8px rgba(0, 0, 0, 0.35); border-radius: 16px; display: flex; align-items: center; justify-content: space-between; flex-direction: row; gap: 12px;"
>
<div
style="display: flex; align-items: flex-start; gap: 8px;"
>
<div>
<svg
fill="none"
height="20"
width="20"
xmlns="http://www.w3.org/2000/svg"
>
<path
clip-rule="evenodd"
d="M10 20C4.477 20 0 15.523 0 10S4.477 0 10 0s10 4.477 10 10-4.477 10-10 10Zm0-15a1.25 1.25 0 1 0 0 2.5A1.25 1.25 0 0 0 10 5Zm0 10c.69 0 1.25-.56 1.25-1.25V10a1.25 1.25 0 1 0-2.5 0v3.75c0 .69.56 1.25 1.25 1.25Z"
fill="#0080FF"
fill-rule="evenodd"
/>
</svg>
</div>
<div
style="font-size: 14px; line-height: 20px; color: rgb(255, 255, 255);"
>
<p
style="padding: 0px; margin: 0px;"
>
Most of the page code is auto-generated by the
<span
style="text-decoration: underline;"
>
Inferencer
</span>
feature, based on your backend data structure.
</p>
<p
style="padding: 0px; margin: 0px;"
>
While this is an excellent way to experiment with refine,
<span
style="font-weight: 600;"
>
it's not intended to be used on production.
</span>
</p>
</div>
</div>
<div>
<button
style="appearance: none; padding: 10px 16px; border-radius: 4px; display: flex; align-items: center; justify-content: center; background: rgb(0, 128, 255); color: rgb(255, 255, 255); font-size: 14px; line-height: 20px; font-weight: 600; gap: 8px; cursor: pointer; transition: all 0.2s ease;"
>
<svg
fill="none"
height="16"
style="flex-shrink: 0;"
width="16"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M5 2a1 1 0 0 1 0 2H4v8h8v-1a1 1 0 1 1 2 0v1a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h1Z"
fill="currentColor"
/>
<path
d="M9 2a1 1 0 0 0 0 2h1.586L6.293 8.293a1 1 0 0 0 1.414 1.414L12 5.414V7a1 1 0 1 0 2 0V3a1 1 0 0 0-1-1H9Z"
fill="currentColor"
/>
</svg>
<span>
Show the auto-generated code
</span>
</button>
</div>
</div>
</div>
<div
class="refine-inferencer--code-viewer-modal"
style="position: fixed; top: 0px; left: 0px; right: 0px; bottom: 0px; z-index: 9999; background-color: rgba(0, 0, 0, 0.5); transition: all 0.2s ease; opacity: 0; pointer-events: none; display: flex; justify-content: center; align-items: center;"
>
<div
style="transform: scale(0) translateY(-200px); transition: all 0.25s cubic-bezier(.35,1.29,.81,1.08); transition-delay: 0.25; background-color: rgb(255, 255, 255); max-width: 640px; max-height: 720px; border-radius: 8px; padding: 16px;"
>
<div
style="display: flex; flex-direction: column; height: 100%; width: 100%; gap: 16px;"
>
<div
style="display: flex; justify-content: space-between; align-items: center;"
>
<div
style="font-weight: 700; font-size: 20px; line-height: 32px; color: rgb(13, 13, 13);"
>
Auto-generated code by Inferencer
</div>
<button
style="flex-shrink: 0; appearance: none; background: none; padding: 0px; margin: 0px; outline: none; border-radius: 50px; width: 32px; height: 32px; cursor: pointer; transition: all 0.15s ease;"
>
<svg
fill="none"
height="32"
width="32"
xmlns="http://www.w3.org/2000/svg"
>
<path
clip-rule="evenodd"
d="M16 32C7.163 32 0 24.837 0 16S7.163 0 16 0s16 7.163 16 16-7.163 16-16 16Zm-2.586-21.414a2 2 0 1 0-2.828 2.828L13.172 16l-2.586 2.586a2 2 0 1 0 2.828 2.828L16 18.828l2.586 2.586a2 2 0 1 0 2.828-2.828L18.828 16l2.586-2.586a2 2 0 1 0-2.828-2.828L16 13.172l-2.586-2.586Z"
fill="#A6A6A6"
fill-rule="evenodd"
/>
</svg>
</button>
</div>
<div
style="font-size: 13px; border-radius: 8px; flex: 1; overflow: scroll; background: rgb(30, 30, 30);"
>
<pre
class="prism-code language-tsx"
style="color: rgb(156, 220, 254); background-color: rgb(30, 30, 30); padding: 14px 14px 14px 14px; margin: 0px; width: 100%; box-sizing: border-box;"
>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token keyword"
style="color: rgb(86, 156, 214);"
>
import
</span>
<span
class="token plain"
>
</span>
<span
class="token imports maybe-class-name"
>
React
</span>
<span
class="token plain"
>
</span>
<span
class="token keyword"
style="color: rgb(86, 156, 214);"
>
from
</span>
<span
class="token plain"
>
</span>
<span
class="token string"
style="color: rgb(206, 145, 120);"
>
"react"
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
;
</span>
<span
class="token plain"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain"
/>
<span
class="token keyword"
style="color: rgb(86, 156, 214);"
>
import
</span>
<span
class="token plain"
>
</span>
<span
class="token imports punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token imports"
>
useNavigation
</span>
<span
class="token imports punctuation"
style="color: rgb(212, 212, 212);"
>
,
</span>
<span
class="token imports"
>
useSelect
</span>
<span
class="token imports punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token plain"
>
</span>
<span
class="token keyword"
style="color: rgb(86, 156, 214);"
>
from
</span>
<span
class="token plain"
>
</span>
<span
class="token string"
style="color: rgb(206, 145, 120);"
>
"@refinedev/core"
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
;
</span>
<span
class="token plain"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain"
/>
<span
class="token keyword"
style="color: rgb(86, 156, 214);"
>
import
</span>
<span
class="token plain"
>
</span>
<span
class="token imports punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token imports"
>
useForm
</span>
<span
class="token imports punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token plain"
>
</span>
<span
class="token keyword"
style="color: rgb(86, 156, 214);"
>
from
</span>
<span
class="token plain"
>
</span>
<span
class="token string"
style="color: rgb(206, 145, 120);"
>
"@refinedev/react-hook-form"
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
;
</span>
<span
class="token plain"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain"
style="display: inline-block;"
>
</span>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain"
/>
<span
class="token keyword"
style="color: rgb(86, 156, 214);"
>
export
</span>
<span
class="token plain"
>
</span>
<span
class="token keyword"
style="color: rgb(86, 156, 214);"
>
const
</span>
<span
class="token plain"
>
</span>
<span
class="token function-variable function"
style="color: rgb(220, 220, 170);"
>
PostEdit
</span>
<span
class="token plain"
>
</span>
<span
class="token operator"
style="color: rgb(212, 212, 212);"
>
=
</span>
<span
class="token plain"
>
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
(
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
)
</span>
<span
class="token plain"
>
</span>
<span
class="token arrow operator"
style="color: rgb(212, 212, 212);"
>
=>
</span>
<span
class="token plain"
>
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token plain"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain"
>
</span>
<span
class="token keyword"
style="color: rgb(86, 156, 214);"
>
const
</span>
<span
class="token plain"
>
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token plain"
>
list
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token plain"
>
</span>
<span
class="token operator"
style="color: rgb(212, 212, 212);"
>
=
</span>
<span
class="token plain"
>
</span>
<span
class="token function"
style="color: rgb(220, 220, 170);"
>
useNavigation
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
(
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
)
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
;
</span>
<span
class="token plain"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain"
style="display: inline-block;"
>
</span>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain"
>
</span>
<span
class="token keyword"
style="color: rgb(86, 156, 214);"
>
const
</span>
<span
class="token plain"
>
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token plain"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain"
>
refineCore
</span>
<span
class="token operator"
style="color: rgb(212, 212, 212);"
>
:
</span>
<span
class="token plain"
>
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token plain"
>
onFinish
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
,
</span>
<span
class="token plain"
>
formLoading
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
,
</span>
<span
class="token plain"
>
queryResult
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
,
</span>
<span
class="token plain"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain"
>
register
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
,
</span>
<span
class="token plain"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain"
>
handleSubmit
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
,
</span>
<span
class="token plain"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain"
>
setValue
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
,
</span>
<span
class="token plain"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain"
>
formState
</span>
<span
class="token operator"
style="color: rgb(212, 212, 212);"
>
:
</span>
<span
class="token plain"
>
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token plain"
>
errors
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
,
</span>
<span
class="token plain"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain"
>
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token plain"
>
</span>
<span
class="token operator"
style="color: rgb(212, 212, 212);"
>
=
</span>
<span
class="token plain"
>
</span>
<span
class="token function"
style="color: rgb(220, 220, 170);"
>
useForm
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
(
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
)
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
;
</span>
<span
class="token plain"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain"
style="display: inline-block;"
>
</span>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain"
>
</span>
<span
class="token keyword"
style="color: rgb(86, 156, 214);"
>
const
</span>
<span
class="token plain"
>
postsData
</span>
<span
class="token operator"
style="color: rgb(212, 212, 212);"
>
=
</span>
<span
class="token plain"
>
queryResult
</span>
<span
class="token operator"
style="color: rgb(212, 212, 212);"
>
?.
</span>
<span
class="token plain"
>
data
</span>
<span
class="token operator"
style="color: rgb(212, 212, 212);"
>
?.
</span>
<span
class="token plain"
>
data
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
;
</span>
<span
class="token plain"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain"
style="display: inline-block;"
>
</span>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain"
>
</span>
<span
class="token keyword"
style="color: rgb(86, 156, 214);"
>
const
</span>
<span
class="token plain"
>
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token plain"
>
options
</span>
<span
class="token operator"
style="color: rgb(212, 212, 212);"
>
:
</span>
<span
class="token plain"
>
categoryOptions
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token plain"
>
</span>
<span
class="token operator"
style="color: rgb(212, 212, 212);"
>
=
</span>
<span
class="token plain"
>
</span>
<span
class="token function"
style="color: rgb(220, 220, 170);"
>
useSelect
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
(
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token plain"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain"
>
resource
</span>
<span
class="token operator"
style="color: rgb(212, 212, 212);"
>
:
</span>
<span
class="token plain"
>
</span>
<span
class="token string"
style="color: rgb(206, 145, 120);"
>
"categories"
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
,
</span>
<span
class="token plain"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain"
>
defaultValue
</span>
<span
class="token operator"
style="color: rgb(212, 212, 212);"
>
:
</span>
<span
class="token plain"
>
postsData
</span>
<span
class="token operator"
style="color: rgb(212, 212, 212);"
>
?.
</span>
<span
class="token plain"
>
category
</span>
<span
class="token operator"
style="color: rgb(212, 212, 212);"
>
?.
</span>
<span
class="token plain"
>
id
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
,
</span>
<span
class="token plain"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain"
>
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
)
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
;
</span>
<span
class="token plain"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain"
style="display: inline-block;"
>
</span>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain"
>
</span>
<span
class="token maybe-class-name"
>
React
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
.
</span>
<span
class="token method function property-access"
style="color: rgb(220, 220, 170);"
>
useEffect
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
(
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
(
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
)
</span>
<span
class="token plain"
>
</span>
<span
class="token arrow operator"
style="color: rgb(212, 212, 212);"
>
=>
</span>
<span
class="token plain"
>
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token plain"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain"
>
</span>
<span
class="token function"
style="color: rgb(220, 220, 170);"
>
setValue
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
(
</span>
<span
class="token string"
style="color: rgb(206, 145, 120);"
>
"category.id"
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
,
</span>
<span
class="token plain"
>
postsData
</span>
<span
class="token operator"
style="color: rgb(212, 212, 212);"
>
?.
</span>
<span
class="token plain"
>
category
</span>
<span
class="token operator"
style="color: rgb(212, 212, 212);"
>
?.
</span>
<span
class="token plain"
>
id
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
)
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
;
</span>
<span
class="token plain"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain"
>
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
,
</span>
<span
class="token plain"
>
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
[
</span>
<span
class="token plain"
>
categoryOptions
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
]
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
)
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
;
</span>
<span
class="token plain"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain"
style="display: inline-block;"
>
</span>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain"
>
</span>
<span
class="token keyword"
style="color: rgb(86, 156, 214);"
>
const
</span>
<span
class="token plain"
>
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token plain"
>
options
</span>
<span
class="token operator"
style="color: rgb(212, 212, 212);"
>
:
</span>
<span
class="token plain"
>
userOptions
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token plain"
>
</span>
<span
class="token operator"
style="color: rgb(212, 212, 212);"
>
=
</span>
<span
class="token plain"
>
</span>
<span
class="token function"
style="color: rgb(220, 220, 170);"
>
useSelect
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
(
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token plain"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain"
>
resource
</span>
<span
class="token operator"
style="color: rgb(212, 212, 212);"
>
:
</span>
<span
class="token plain"
>
</span>
<span
class="token string"
style="color: rgb(206, 145, 120);"
>
"users"
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
,
</span>
<span
class="token plain"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain"
>
defaultValue
</span>
<span
class="token operator"
style="color: rgb(212, 212, 212);"
>
:
</span>
<span
class="token plain"
>
postsData
</span>
<span
class="token operator"
style="color: rgb(212, 212, 212);"
>
?.
</span>
<span
class="token plain"
>
user
</span>
<span
class="token operator"
style="color: rgb(212, 212, 212);"
>
?.
</span>
<span
class="token plain"
>
id
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
,
</span>
<span
class="token plain"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain"
>
optionLabel
</span>
<span
class="token operator"
style="color: rgb(212, 212, 212);"
>
:
</span>
<span
class="token plain"
>
</span>
<span
class="token string"
style="color: rgb(206, 145, 120);"
>
"firstName"
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
,
</span>
<span
class="token plain"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain"
>
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
)
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
;
</span>
<span
class="token plain"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain"
style="display: inline-block;"
>
</span>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain"
>
</span>
<span
class="token maybe-class-name"
>
React
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
.
</span>
<span
class="token method function property-access"
style="color: rgb(220, 220, 170);"
>
useEffect
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
(
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
(
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
)
</span>
<span
class="token plain"
>
</span>
<span
class="token arrow operator"
style="color: rgb(212, 212, 212);"
>
=>
</span>
<span
class="token plain"
>
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token plain"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain"
>
</span>
<span
class="token function"
style="color: rgb(220, 220, 170);"
>
setValue
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
(
</span>
<span
class="token string"
style="color: rgb(206, 145, 120);"
>
"user.id"
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
,
</span>
<span
class="token plain"
>
postsData
</span>
<span
class="token operator"
style="color: rgb(212, 212, 212);"
>
?.
</span>
<span
class="token plain"
>
user
</span>
<span
class="token operator"
style="color: rgb(212, 212, 212);"
>
?.
</span>
<span
class="token plain"
>
id
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
)
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
;
</span>
<span
class="token plain"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain"
>
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
,
</span>
<span
class="token plain"
>
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
[
</span>
<span
class="token plain"
>
userOptions
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
]
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
)
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
;
</span>
<span
class="token plain"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain"
style="display: inline-block;"
>
</span>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain"
>
</span>
<span
class="token keyword"
style="color: rgb(86, 156, 214);"
>
const
</span>
<span
class="token plain"
>
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token plain"
>
options
</span>
<span
class="token operator"
style="color: rgb(212, 212, 212);"
>
:
</span>
<span
class="token plain"
>
tagsOptions
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token plain"
>
</span>
<span
class="token operator"
style="color: rgb(212, 212, 212);"
>
=
</span>
<span
class="token plain"
>
</span>
<span
class="token function"
style="color: rgb(220, 220, 170);"
>
useSelect
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
(
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token plain"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain"
>
resource
</span>
<span
class="token operator"
style="color: rgb(212, 212, 212);"
>
:
</span>
<span
class="token plain"
>
</span>
<span
class="token string"
style="color: rgb(206, 145, 120);"
>
"tags"
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
,
</span>
<span
class="token plain"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain"
>
defaultValue
</span>
<span
class="token operator"
style="color: rgb(212, 212, 212);"
>
:
</span>
<span
class="token plain"
>
postsData
</span>
<span
class="token operator"
style="color: rgb(212, 212, 212);"
>
?.
</span>
<span
class="token plain"
>
tags
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
,
</span>
<span
class="token plain"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain"
>
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
)
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
;
</span>
<span
class="token plain"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain"
style="display: inline-block;"
>
</span>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain"
>
</span>
<span
class="token maybe-class-name"
>
React
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
.
</span>
<span
class="token method function property-access"
style="color: rgb(220, 220, 170);"
>
useEffect
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
(
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
(
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
)
</span>
<span
class="token plain"
>
</span>
<span
class="token arrow operator"
style="color: rgb(212, 212, 212);"
>
=>
</span>
<span
class="token plain"
>
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token plain"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain"
>
</span>
<span
class="token function"
style="color: rgb(220, 220, 170);"
>
setValue
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
(
</span>
<span
class="token string"
style="color: rgb(206, 145, 120);"
>
"tags"
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
,
</span>
<span
class="token plain"
>
postsData
</span>
<span
class="token operator"
style="color: rgb(212, 212, 212);"
>
?.
</span>
<span
class="token plain"
>
tags
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
)
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
;
</span>
<span
class="token plain"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain"
>
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
,
</span>
<span
class="token plain"
>
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
[
</span>
<span
class="token plain"
>
tagsOptions
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
]
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
)
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
;
</span>
<span
class="token plain"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain"
style="display: inline-block;"
>
</span>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain"
>
</span>
<span
class="token keyword"
style="color: rgb(86, 156, 214);"
>
return
</span>
<span
class="token plain"
>
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
(
</span>
<span
class="token plain"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
<
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
div
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag attr-name"
style="color: rgb(156, 220, 254);"
>
style
</span>
<span
class="token tag script language-javascript script-punctuation punctuation"
style="color: rgb(212, 212, 212);"
>
=
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
padding
</span>
<span
class="token tag script language-javascript operator"
style="color: rgb(212, 212, 212);"
>
:
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag script language-javascript string"
style="color: rgb(206, 145, 120);"
>
"16px"
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
<
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
div
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag attr-name"
style="color: rgb(156, 220, 254);"
>
style
</span>
<span
class="token tag script language-javascript script-punctuation punctuation"
style="color: rgb(212, 212, 212);"
>
=
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
display
</span>
<span
class="token tag script language-javascript operator"
style="color: rgb(212, 212, 212);"
>
:
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag script language-javascript string"
style="color: rgb(206, 145, 120);"
>
"flex"
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
,
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
justifyContent
</span>
<span
class="token tag script language-javascript operator"
style="color: rgb(212, 212, 212);"
>
:
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag script language-javascript string"
style="color: rgb(206, 145, 120);"
>
"space-between"
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
<
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
h1
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
>
Post Edit
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
</
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
h1
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
<
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
div
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
<
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
button
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag attr-name"
style="color: rgb(156, 220, 254);"
>
onClick
</span>
<span
class="token tag script language-javascript script-punctuation punctuation"
style="color: rgb(212, 212, 212);"
>
=
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
(
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
)
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag script language-javascript arrow operator"
style="color: rgb(212, 212, 212);"
>
=>
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag script language-javascript function"
style="color: rgb(220, 220, 170);"
>
list
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
(
</span>
<span
class="token tag script language-javascript string"
style="color: rgb(206, 145, 120);"
>
"posts"
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
)
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
;
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
Posts
</span>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
</
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
button
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
</
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
div
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
</
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
div
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
<
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
form
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag attr-name"
style="color: rgb(156, 220, 254);"
>
onSubmit
</span>
<span
class="token tag script language-javascript script-punctuation punctuation"
style="color: rgb(212, 212, 212);"
>
=
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript function"
style="color: rgb(220, 220, 170);"
>
handleSubmit
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
(
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
onFinish
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
)
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
<
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
div
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag attr-name"
style="color: rgb(156, 220, 254);"
>
style
</span>
<span
class="token tag script language-javascript script-punctuation punctuation"
style="color: rgb(212, 212, 212);"
>
=
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
display
</span>
<span
class="token tag script language-javascript operator"
style="color: rgb(212, 212, 212);"
>
:
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag script language-javascript string"
style="color: rgb(206, 145, 120);"
>
"flex"
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
,
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
flexDirection
</span>
<span
class="token tag script language-javascript operator"
style="color: rgb(212, 212, 212);"
>
:
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag script language-javascript string"
style="color: rgb(206, 145, 120);"
>
"column"
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
,
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
gap
</span>
<span
class="token tag script language-javascript operator"
style="color: rgb(212, 212, 212);"
>
:
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag script language-javascript string"
style="color: rgb(206, 145, 120);"
>
"8px"
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
,
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
<
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
label
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
<
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
span
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag attr-name"
style="color: rgb(156, 220, 254);"
>
style
</span>
<span
class="token tag script language-javascript script-punctuation punctuation"
style="color: rgb(212, 212, 212);"
>
=
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
marginRight
</span>
<span
class="token tag script language-javascript operator"
style="color: rgb(212, 212, 212);"
>
:
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag script language-javascript string"
style="color: rgb(206, 145, 120);"
>
"8px"
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
>
Id
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
</
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
span
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
<
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
input
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag attr-name"
style="color: rgb(156, 220, 254);"
>
disabled
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag attr-name"
style="color: rgb(156, 220, 254);"
>
type
</span>
<span
class="token tag attr-value punctuation attr-equals"
style="color: rgb(212, 212, 212);"
>
=
</span>
<span
class="token tag attr-value punctuation"
style="color: rgb(212, 212, 212);"
>
"
</span>
<span
class="token tag attr-value"
style="color: rgb(206, 145, 120);"
>
number
</span>
<span
class="token tag attr-value punctuation"
style="color: rgb(212, 212, 212);"
>
"
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag spread operator"
style="color: rgb(212, 212, 212);"
>
...
</span>
<span
class="token tag spread method function property-access"
style="color: rgb(220, 220, 170);"
>
register
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
(
</span>
<span
class="token tag spread string"
style="color: rgb(206, 145, 120);"
>
"id"
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
,
</span>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
>
required
</span>
<span
class="token tag spread operator"
style="color: rgb(212, 212, 212);"
>
:
</span>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag spread string"
style="color: rgb(206, 145, 120);"
>
"This field is required"
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
,
</span>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
>
valueAsNumber
</span>
<span
class="token tag spread operator"
style="color: rgb(212, 212, 212);"
>
:
</span>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag spread boolean"
style="color: rgb(78, 201, 176);"
>
true
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
,
</span>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
)
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
/>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
<
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
span
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag attr-name"
style="color: rgb(156, 220, 254);"
>
style
</span>
<span
class="token tag script language-javascript script-punctuation punctuation"
style="color: rgb(212, 212, 212);"
>
=
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
color
</span>
<span
class="token tag script language-javascript operator"
style="color: rgb(212, 212, 212);"
>
:
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag script language-javascript string"
style="color: rgb(206, 145, 120);"
>
"red"
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
(
</span>
<span
class="token plain"
>
errors
</span>
<span
class="token keyword"
style="color: rgb(86, 156, 214);"
>
as
</span>
<span
class="token plain"
>
</span>
<span
class="token builtin"
style="color: rgb(86, 156, 214);"
>
any
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
)
</span>
<span
class="token operator"
style="color: rgb(212, 212, 212);"
>
?.
</span>
<span
class="token plain"
>
id
</span>
<span
class="token operator"
style="color: rgb(212, 212, 212);"
>
?.
</span>
<span
class="token plain"
>
message
</span>
<span
class="token keyword"
style="color: rgb(86, 156, 214);"
>
as
</span>
<span
class="token plain"
>
</span>
<span
class="token builtin"
style="color: rgb(86, 156, 214);"
>
string
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
</
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
span
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
</
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
label
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
<
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
label
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
<
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
span
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag attr-name"
style="color: rgb(156, 220, 254);"
>
style
</span>
<span
class="token tag script language-javascript script-punctuation punctuation"
style="color: rgb(212, 212, 212);"
>
=
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
marginRight
</span>
<span
class="token tag script language-javascript operator"
style="color: rgb(212, 212, 212);"
>
:
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag script language-javascript string"
style="color: rgb(206, 145, 120);"
>
"8px"
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
>
Title
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
</
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
span
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
<
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
input
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag attr-name"
style="color: rgb(156, 220, 254);"
>
type
</span>
<span
class="token tag attr-value punctuation attr-equals"
style="color: rgb(212, 212, 212);"
>
=
</span>
<span
class="token tag attr-value punctuation"
style="color: rgb(212, 212, 212);"
>
"
</span>
<span
class="token tag attr-value"
style="color: rgb(206, 145, 120);"
>
text
</span>
<span
class="token tag attr-value punctuation"
style="color: rgb(212, 212, 212);"
>
"
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag spread operator"
style="color: rgb(212, 212, 212);"
>
...
</span>
<span
class="token tag spread method function property-access"
style="color: rgb(220, 220, 170);"
>
register
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
(
</span>
<span
class="token tag spread string"
style="color: rgb(206, 145, 120);"
>
"title"
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
,
</span>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
>
required
</span>
<span
class="token tag spread operator"
style="color: rgb(212, 212, 212);"
>
:
</span>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag spread string"
style="color: rgb(206, 145, 120);"
>
"This field is required"
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
,
</span>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
)
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
/>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
<
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
span
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag attr-name"
style="color: rgb(156, 220, 254);"
>
style
</span>
<span
class="token tag script language-javascript script-punctuation punctuation"
style="color: rgb(212, 212, 212);"
>
=
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
color
</span>
<span
class="token tag script language-javascript operator"
style="color: rgb(212, 212, 212);"
>
:
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag script language-javascript string"
style="color: rgb(206, 145, 120);"
>
"red"
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
(
</span>
<span
class="token plain"
>
errors
</span>
<span
class="token keyword"
style="color: rgb(86, 156, 214);"
>
as
</span>
<span
class="token plain"
>
</span>
<span
class="token builtin"
style="color: rgb(86, 156, 214);"
>
any
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
)
</span>
<span
class="token operator"
style="color: rgb(212, 212, 212);"
>
?.
</span>
<span
class="token plain"
>
title
</span>
<span
class="token operator"
style="color: rgb(212, 212, 212);"
>
?.
</span>
<span
class="token plain"
>
message
</span>
<span
class="token keyword"
style="color: rgb(86, 156, 214);"
>
as
</span>
<span
class="token plain"
>
</span>
<span
class="token builtin"
style="color: rgb(86, 156, 214);"
>
string
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
</
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
span
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
</
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
label
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
<
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
label
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
<
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
span
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag attr-name"
style="color: rgb(156, 220, 254);"
>
style
</span>
<span
class="token tag script language-javascript script-punctuation punctuation"
style="color: rgb(212, 212, 212);"
>
=
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
marginRight
</span>
<span
class="token tag script language-javascript operator"
style="color: rgb(212, 212, 212);"
>
:
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag script language-javascript string"
style="color: rgb(206, 145, 120);"
>
"8px"
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
>
Slug
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
</
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
span
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
<
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
input
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag attr-name"
style="color: rgb(156, 220, 254);"
>
type
</span>
<span
class="token tag attr-value punctuation attr-equals"
style="color: rgb(212, 212, 212);"
>
=
</span>
<span
class="token tag attr-value punctuation"
style="color: rgb(212, 212, 212);"
>
"
</span>
<span
class="token tag attr-value"
style="color: rgb(206, 145, 120);"
>
text
</span>
<span
class="token tag attr-value punctuation"
style="color: rgb(212, 212, 212);"
>
"
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag spread operator"
style="color: rgb(212, 212, 212);"
>
...
</span>
<span
class="token tag spread method function property-access"
style="color: rgb(220, 220, 170);"
>
register
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
(
</span>
<span
class="token tag spread string"
style="color: rgb(206, 145, 120);"
>
"slug"
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
,
</span>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
>
required
</span>
<span
class="token tag spread operator"
style="color: rgb(212, 212, 212);"
>
:
</span>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag spread string"
style="color: rgb(206, 145, 120);"
>
"This field is required"
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
,
</span>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
)
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
/>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
<
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
span
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag attr-name"
style="color: rgb(156, 220, 254);"
>
style
</span>
<span
class="token tag script language-javascript script-punctuation punctuation"
style="color: rgb(212, 212, 212);"
>
=
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
color
</span>
<span
class="token tag script language-javascript operator"
style="color: rgb(212, 212, 212);"
>
:
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag script language-javascript string"
style="color: rgb(206, 145, 120);"
>
"red"
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
(
</span>
<span
class="token plain"
>
errors
</span>
<span
class="token keyword"
style="color: rgb(86, 156, 214);"
>
as
</span>
<span
class="token plain"
>
</span>
<span
class="token builtin"
style="color: rgb(86, 156, 214);"
>
any
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
)
</span>
<span
class="token operator"
style="color: rgb(212, 212, 212);"
>
?.
</span>
<span
class="token plain"
>
slug
</span>
<span
class="token operator"
style="color: rgb(212, 212, 212);"
>
?.
</span>
<span
class="token plain"
>
message
</span>
<span
class="token keyword"
style="color: rgb(86, 156, 214);"
>
as
</span>
<span
class="token plain"
>
</span>
<span
class="token builtin"
style="color: rgb(86, 156, 214);"
>
string
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
</
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
span
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
</
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
label
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
<
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
label
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
<
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
span
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag attr-name"
style="color: rgb(156, 220, 254);"
>
style
</span>
<span
class="token tag script language-javascript script-punctuation punctuation"
style="color: rgb(212, 212, 212);"
>
=
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
marginRight
</span>
<span
class="token tag script language-javascript operator"
style="color: rgb(212, 212, 212);"
>
:
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag script language-javascript string"
style="color: rgb(206, 145, 120);"
>
"8px"
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
>
Content
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
</
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
span
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
<
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
textarea
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag attr-name"
style="color: rgb(156, 220, 254);"
>
rows
</span>
<span
class="token tag script language-javascript script-punctuation punctuation"
style="color: rgb(212, 212, 212);"
>
=
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript number"
style="color: rgb(181, 206, 168);"
>
5
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag attr-name"
style="color: rgb(156, 220, 254);"
>
cols
</span>
<span
class="token tag script language-javascript script-punctuation punctuation"
style="color: rgb(212, 212, 212);"
>
=
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript number"
style="color: rgb(181, 206, 168);"
>
33
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag attr-name"
style="color: rgb(156, 220, 254);"
>
style
</span>
<span
class="token tag script language-javascript script-punctuation punctuation"
style="color: rgb(212, 212, 212);"
>
=
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
verticalAlign
</span>
<span
class="token tag script language-javascript operator"
style="color: rgb(212, 212, 212);"
>
:
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag script language-javascript string"
style="color: rgb(206, 145, 120);"
>
"top"
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag spread operator"
style="color: rgb(212, 212, 212);"
>
...
</span>
<span
class="token tag spread method function property-access"
style="color: rgb(220, 220, 170);"
>
register
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
(
</span>
<span
class="token tag spread string"
style="color: rgb(206, 145, 120);"
>
"content"
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
,
</span>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
>
required
</span>
<span
class="token tag spread operator"
style="color: rgb(212, 212, 212);"
>
:
</span>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag spread string"
style="color: rgb(206, 145, 120);"
>
"This field is required"
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
,
</span>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
)
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
/>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
<
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
span
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag attr-name"
style="color: rgb(156, 220, 254);"
>
style
</span>
<span
class="token tag script language-javascript script-punctuation punctuation"
style="color: rgb(212, 212, 212);"
>
=
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
color
</span>
<span
class="token tag script language-javascript operator"
style="color: rgb(212, 212, 212);"
>
:
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag script language-javascript string"
style="color: rgb(206, 145, 120);"
>
"red"
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
(
</span>
<span
class="token plain"
>
errors
</span>
<span
class="token keyword"
style="color: rgb(86, 156, 214);"
>
as
</span>
<span
class="token plain"
>
</span>
<span
class="token builtin"
style="color: rgb(86, 156, 214);"
>
any
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
)
</span>
<span
class="token operator"
style="color: rgb(212, 212, 212);"
>
?.
</span>
<span
class="token plain"
>
content
</span>
<span
class="token operator"
style="color: rgb(212, 212, 212);"
>
?.
</span>
<span
class="token plain"
>
message
</span>
<span
class="token keyword"
style="color: rgb(86, 156, 214);"
>
as
</span>
<span
class="token plain"
>
</span>
<span
class="token builtin"
style="color: rgb(86, 156, 214);"
>
string
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
</
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
span
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
</
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
label
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
<
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
label
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
<
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
span
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag attr-name"
style="color: rgb(156, 220, 254);"
>
style
</span>
<span
class="token tag script language-javascript script-punctuation punctuation"
style="color: rgb(212, 212, 212);"
>
=
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
marginRight
</span>
<span
class="token tag script language-javascript operator"
style="color: rgb(212, 212, 212);"
>
:
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag script language-javascript string"
style="color: rgb(206, 145, 120);"
>
"8px"
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
>
Hit
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
</
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
span
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
<
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
input
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag attr-name"
style="color: rgb(156, 220, 254);"
>
type
</span>
<span
class="token tag attr-value punctuation attr-equals"
style="color: rgb(212, 212, 212);"
>
=
</span>
<span
class="token tag attr-value punctuation"
style="color: rgb(212, 212, 212);"
>
"
</span>
<span
class="token tag attr-value"
style="color: rgb(206, 145, 120);"
>
number
</span>
<span
class="token tag attr-value punctuation"
style="color: rgb(212, 212, 212);"
>
"
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag spread operator"
style="color: rgb(212, 212, 212);"
>
...
</span>
<span
class="token tag spread method function property-access"
style="color: rgb(220, 220, 170);"
>
register
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
(
</span>
<span
class="token tag spread string"
style="color: rgb(206, 145, 120);"
>
"hit"
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
,
</span>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
>
required
</span>
<span
class="token tag spread operator"
style="color: rgb(212, 212, 212);"
>
:
</span>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag spread string"
style="color: rgb(206, 145, 120);"
>
"This field is required"
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
,
</span>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
>
valueAsNumber
</span>
<span
class="token tag spread operator"
style="color: rgb(212, 212, 212);"
>
:
</span>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag spread boolean"
style="color: rgb(78, 201, 176);"
>
true
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
,
</span>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
)
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
/>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
<
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
span
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag attr-name"
style="color: rgb(156, 220, 254);"
>
style
</span>
<span
class="token tag script language-javascript script-punctuation punctuation"
style="color: rgb(212, 212, 212);"
>
=
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
color
</span>
<span
class="token tag script language-javascript operator"
style="color: rgb(212, 212, 212);"
>
:
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag script language-javascript string"
style="color: rgb(206, 145, 120);"
>
"red"
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
(
</span>
<span
class="token plain"
>
errors
</span>
<span
class="token keyword"
style="color: rgb(86, 156, 214);"
>
as
</span>
<span
class="token plain"
>
</span>
<span
class="token builtin"
style="color: rgb(86, 156, 214);"
>
any
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
)
</span>
<span
class="token operator"
style="color: rgb(212, 212, 212);"
>
?.
</span>
<span
class="token plain"
>
hit
</span>
<span
class="token operator"
style="color: rgb(212, 212, 212);"
>
?.
</span>
<span
class="token plain"
>
message
</span>
<span
class="token keyword"
style="color: rgb(86, 156, 214);"
>
as
</span>
<span
class="token plain"
>
</span>
<span
class="token builtin"
style="color: rgb(86, 156, 214);"
>
string
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
</
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
span
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
</
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
label
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
<
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
label
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
<
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
span
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag attr-name"
style="color: rgb(156, 220, 254);"
>
style
</span>
<span
class="token tag script language-javascript script-punctuation punctuation"
style="color: rgb(212, 212, 212);"
>
=
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
marginRight
</span>
<span
class="token tag script language-javascript operator"
style="color: rgb(212, 212, 212);"
>
:
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag script language-javascript string"
style="color: rgb(206, 145, 120);"
>
"8px"
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
>
Category
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
</
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
span
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
<
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
select
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag attr-name"
style="color: rgb(156, 220, 254);"
>
placeholder
</span>
<span
class="token tag attr-value punctuation attr-equals"
style="color: rgb(212, 212, 212);"
>
=
</span>
<span
class="token tag attr-value punctuation"
style="color: rgb(212, 212, 212);"
>
"
</span>
<span
class="token tag attr-value"
style="color: rgb(206, 145, 120);"
>
Select category
</span>
<span
class="token tag attr-value punctuation"
style="color: rgb(212, 212, 212);"
>
"
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag spread operator"
style="color: rgb(212, 212, 212);"
>
...
</span>
<span
class="token tag spread method function property-access"
style="color: rgb(220, 220, 170);"
>
register
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
(
</span>
<span
class="token tag spread string"
style="color: rgb(206, 145, 120);"
>
"category.id"
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
,
</span>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
>
required
</span>
<span
class="token tag spread operator"
style="color: rgb(212, 212, 212);"
>
:
</span>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag spread string"
style="color: rgb(206, 145, 120);"
>
"This field is required"
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
,
</span>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
)
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token plain"
>
categoryOptions
</span>
<span
class="token operator"
style="color: rgb(212, 212, 212);"
>
?.
</span>
<span
class="token method function property-access"
style="color: rgb(220, 220, 170);"
>
map
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
(
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
(
</span>
<span
class="token plain"
>
option
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
)
</span>
<span
class="token plain"
>
</span>
<span
class="token arrow operator"
style="color: rgb(212, 212, 212);"
>
=>
</span>
<span
class="token plain"
>
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
(
</span>
<span
class="token plain"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
<
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
option
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag attr-name"
style="color: rgb(156, 220, 254);"
>
value
</span>
<span
class="token tag script language-javascript script-punctuation punctuation"
style="color: rgb(212, 212, 212);"
>
=
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
option
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
.
</span>
<span
class="token tag script language-javascript property-access"
style="color: rgb(78, 201, 176);"
>
value
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag attr-name"
style="color: rgb(156, 220, 254);"
>
key
</span>
<span
class="token tag script language-javascript script-punctuation punctuation"
style="color: rgb(212, 212, 212);"
>
=
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
option
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
.
</span>
<span
class="token tag script language-javascript property-access"
style="color: rgb(78, 201, 176);"
>
value
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token plain"
>
option
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
.
</span>
<span
class="token property-access"
>
label
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
</
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
option
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain"
>
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
)
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
)
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
</
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
select
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
<
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
span
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag attr-name"
style="color: rgb(156, 220, 254);"
>
style
</span>
<span
class="token tag script language-javascript script-punctuation punctuation"
style="color: rgb(212, 212, 212);"
>
=
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
color
</span>
<span
class="token tag script language-javascript operator"
style="color: rgb(212, 212, 212);"
>
:
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag script language-javascript string"
style="color: rgb(206, 145, 120);"
>
"red"
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
(
</span>
<span
class="token plain"
>
errors
</span>
<span
class="token keyword"
style="color: rgb(86, 156, 214);"
>
as
</span>
<span
class="token plain"
>
</span>
<span
class="token builtin"
style="color: rgb(86, 156, 214);"
>
any
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
)
</span>
<span
class="token operator"
style="color: rgb(212, 212, 212);"
>
?.
</span>
<span
class="token plain"
>
category
</span>
<span
class="token operator"
style="color: rgb(212, 212, 212);"
>
?.
</span>
<span
class="token plain"
>
id
</span>
<span
class="token operator"
style="color: rgb(212, 212, 212);"
>
?.
</span>
<span
class="token plain"
>
message
</span>
<span
class="token keyword"
style="color: rgb(86, 156, 214);"
>
as
</span>
<span
class="token plain"
>
</span>
<span
class="token builtin"
style="color: rgb(86, 156, 214);"
>
string
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
</
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
span
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
</
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
label
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
<
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
label
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
<
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
span
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag attr-name"
style="color: rgb(156, 220, 254);"
>
style
</span>
<span
class="token tag script language-javascript script-punctuation punctuation"
style="color: rgb(212, 212, 212);"
>
=
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
marginRight
</span>
<span
class="token tag script language-javascript operator"
style="color: rgb(212, 212, 212);"
>
:
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag script language-javascript string"
style="color: rgb(206, 145, 120);"
>
"8px"
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
>
User
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
</
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
span
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
<
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
select
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag attr-name"
style="color: rgb(156, 220, 254);"
>
placeholder
</span>
<span
class="token tag attr-value punctuation attr-equals"
style="color: rgb(212, 212, 212);"
>
=
</span>
<span
class="token tag attr-value punctuation"
style="color: rgb(212, 212, 212);"
>
"
</span>
<span
class="token tag attr-value"
style="color: rgb(206, 145, 120);"
>
Select user
</span>
<span
class="token tag attr-value punctuation"
style="color: rgb(212, 212, 212);"
>
"
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag spread operator"
style="color: rgb(212, 212, 212);"
>
...
</span>
<span
class="token tag spread method function property-access"
style="color: rgb(220, 220, 170);"
>
register
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
(
</span>
<span
class="token tag spread string"
style="color: rgb(206, 145, 120);"
>
"user.id"
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
,
</span>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
>
required
</span>
<span
class="token tag spread operator"
style="color: rgb(212, 212, 212);"
>
:
</span>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag spread string"
style="color: rgb(206, 145, 120);"
>
"This field is required"
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
,
</span>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
)
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token plain"
>
userOptions
</span>
<span
class="token operator"
style="color: rgb(212, 212, 212);"
>
?.
</span>
<span
class="token method function property-access"
style="color: rgb(220, 220, 170);"
>
map
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
(
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
(
</span>
<span
class="token plain"
>
option
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
)
</span>
<span
class="token plain"
>
</span>
<span
class="token arrow operator"
style="color: rgb(212, 212, 212);"
>
=>
</span>
<span
class="token plain"
>
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
(
</span>
<span
class="token plain"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
<
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
option
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag attr-name"
style="color: rgb(156, 220, 254);"
>
value
</span>
<span
class="token tag script language-javascript script-punctuation punctuation"
style="color: rgb(212, 212, 212);"
>
=
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
option
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
.
</span>
<span
class="token tag script language-javascript property-access"
style="color: rgb(78, 201, 176);"
>
value
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag attr-name"
style="color: rgb(156, 220, 254);"
>
key
</span>
<span
class="token tag script language-javascript script-punctuation punctuation"
style="color: rgb(212, 212, 212);"
>
=
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
option
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
.
</span>
<span
class="token tag script language-javascript property-access"
style="color: rgb(78, 201, 176);"
>
value
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token plain"
>
option
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
.
</span>
<span
class="token property-access"
>
label
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
</
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
option
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain"
>
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
)
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
)
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
</
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
select
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
<
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
span
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag attr-name"
style="color: rgb(156, 220, 254);"
>
style
</span>
<span
class="token tag script language-javascript script-punctuation punctuation"
style="color: rgb(212, 212, 212);"
>
=
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
color
</span>
<span
class="token tag script language-javascript operator"
style="color: rgb(212, 212, 212);"
>
:
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag script language-javascript string"
style="color: rgb(206, 145, 120);"
>
"red"
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
(
</span>
<span
class="token plain"
>
errors
</span>
<span
class="token keyword"
style="color: rgb(86, 156, 214);"
>
as
</span>
<span
class="token plain"
>
</span>
<span
class="token builtin"
style="color: rgb(86, 156, 214);"
>
any
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
)
</span>
<span
class="token operator"
style="color: rgb(212, 212, 212);"
>
?.
</span>
<span
class="token plain"
>
user
</span>
<span
class="token operator"
style="color: rgb(212, 212, 212);"
>
?.
</span>
<span
class="token plain"
>
id
</span>
<span
class="token operator"
style="color: rgb(212, 212, 212);"
>
?.
</span>
<span
class="token plain"
>
message
</span>
<span
class="token keyword"
style="color: rgb(86, 156, 214);"
>
as
</span>
<span
class="token plain"
>
</span>
<span
class="token builtin"
style="color: rgb(86, 156, 214);"
>
string
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
</
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
span
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
</
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
label
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
<
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
label
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
<
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
span
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag attr-name"
style="color: rgb(156, 220, 254);"
>
style
</span>
<span
class="token tag script language-javascript script-punctuation punctuation"
style="color: rgb(212, 212, 212);"
>
=
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
marginRight
</span>
<span
class="token tag script language-javascript operator"
style="color: rgb(212, 212, 212);"
>
:
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag script language-javascript string"
style="color: rgb(206, 145, 120);"
>
"8px"
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
>
Status
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
</
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
span
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
<
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
input
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag attr-name"
style="color: rgb(156, 220, 254);"
>
type
</span>
<span
class="token tag attr-value punctuation attr-equals"
style="color: rgb(212, 212, 212);"
>
=
</span>
<span
class="token tag attr-value punctuation"
style="color: rgb(212, 212, 212);"
>
"
</span>
<span
class="token tag attr-value"
style="color: rgb(206, 145, 120);"
>
text
</span>
<span
class="token tag attr-value punctuation"
style="color: rgb(212, 212, 212);"
>
"
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag spread operator"
style="color: rgb(212, 212, 212);"
>
...
</span>
<span
class="token tag spread method function property-access"
style="color: rgb(220, 220, 170);"
>
register
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
(
</span>
<span
class="token tag spread string"
style="color: rgb(206, 145, 120);"
>
"status"
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
,
</span>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
>
required
</span>
<span
class="token tag spread operator"
style="color: rgb(212, 212, 212);"
>
:
</span>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag spread string"
style="color: rgb(206, 145, 120);"
>
"This field is required"
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
,
</span>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
)
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
/>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
<
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
span
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag attr-name"
style="color: rgb(156, 220, 254);"
>
style
</span>
<span
class="token tag script language-javascript script-punctuation punctuation"
style="color: rgb(212, 212, 212);"
>
=
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
color
</span>
<span
class="token tag script language-javascript operator"
style="color: rgb(212, 212, 212);"
>
:
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag script language-javascript string"
style="color: rgb(206, 145, 120);"
>
"red"
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
(
</span>
<span
class="token plain"
>
errors
</span>
<span
class="token keyword"
style="color: rgb(86, 156, 214);"
>
as
</span>
<span
class="token plain"
>
</span>
<span
class="token builtin"
style="color: rgb(86, 156, 214);"
>
any
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
)
</span>
<span
class="token operator"
style="color: rgb(212, 212, 212);"
>
?.
</span>
<span
class="token plain"
>
status
</span>
<span
class="token operator"
style="color: rgb(212, 212, 212);"
>
?.
</span>
<span
class="token plain"
>
message
</span>
<span
class="token keyword"
style="color: rgb(86, 156, 214);"
>
as
</span>
<span
class="token plain"
>
</span>
<span
class="token builtin"
style="color: rgb(86, 156, 214);"
>
string
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
</
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
span
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
</
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
label
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
<
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
label
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
<
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
span
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag attr-name"
style="color: rgb(156, 220, 254);"
>
style
</span>
<span
class="token tag script language-javascript script-punctuation punctuation"
style="color: rgb(212, 212, 212);"
>
=
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
marginRight
</span>
<span
class="token tag script language-javascript operator"
style="color: rgb(212, 212, 212);"
>
:
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag script language-javascript string"
style="color: rgb(206, 145, 120);"
>
"8px"
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
>
Status Color
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
</
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
span
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
<
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
input
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag attr-name"
style="color: rgb(156, 220, 254);"
>
type
</span>
<span
class="token tag attr-value punctuation attr-equals"
style="color: rgb(212, 212, 212);"
>
=
</span>
<span
class="token tag attr-value punctuation"
style="color: rgb(212, 212, 212);"
>
"
</span>
<span
class="token tag attr-value"
style="color: rgb(206, 145, 120);"
>
text
</span>
<span
class="token tag attr-value punctuation"
style="color: rgb(212, 212, 212);"
>
"
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag spread operator"
style="color: rgb(212, 212, 212);"
>
...
</span>
<span
class="token tag spread method function property-access"
style="color: rgb(220, 220, 170);"
>
register
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
(
</span>
<span
class="token tag spread string"
style="color: rgb(206, 145, 120);"
>
"status_color"
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
,
</span>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
>
required
</span>
<span
class="token tag spread operator"
style="color: rgb(212, 212, 212);"
>
:
</span>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag spread string"
style="color: rgb(206, 145, 120);"
>
"This field is required"
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
,
</span>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
)
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
/>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
<
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
span
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag attr-name"
style="color: rgb(156, 220, 254);"
>
style
</span>
<span
class="token tag script language-javascript script-punctuation punctuation"
style="color: rgb(212, 212, 212);"
>
=
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
color
</span>
<span
class="token tag script language-javascript operator"
style="color: rgb(212, 212, 212);"
>
:
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag script language-javascript string"
style="color: rgb(206, 145, 120);"
>
"red"
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
(
</span>
<span
class="token plain"
>
errors
</span>
<span
class="token keyword"
style="color: rgb(86, 156, 214);"
>
as
</span>
<span
class="token plain"
>
</span>
<span
class="token builtin"
style="color: rgb(86, 156, 214);"
>
any
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
)
</span>
<span
class="token operator"
style="color: rgb(212, 212, 212);"
>
?.
</span>
<span
class="token plain"
>
status_color
</span>
<span
class="token operator"
style="color: rgb(212, 212, 212);"
>
?.
</span>
<span
class="token plain"
>
message
</span>
<span
class="token keyword"
style="color: rgb(86, 156, 214);"
>
as
</span>
<span
class="token plain"
>
</span>
<span
class="token builtin"
style="color: rgb(86, 156, 214);"
>
string
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
</
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
span
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
</
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
label
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
<
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
label
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
<
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
span
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag attr-name"
style="color: rgb(156, 220, 254);"
>
style
</span>
<span
class="token tag script language-javascript script-punctuation punctuation"
style="color: rgb(212, 212, 212);"
>
=
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
marginRight
</span>
<span
class="token tag script language-javascript operator"
style="color: rgb(212, 212, 212);"
>
:
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag script language-javascript string"
style="color: rgb(206, 145, 120);"
>
"8px"
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
>
Created At
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
</
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
span
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
<
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
input
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag spread operator"
style="color: rgb(212, 212, 212);"
>
...
</span>
<span
class="token tag spread method function property-access"
style="color: rgb(220, 220, 170);"
>
register
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
(
</span>
<span
class="token tag spread string"
style="color: rgb(206, 145, 120);"
>
"createdAt"
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
,
</span>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
>
required
</span>
<span
class="token tag spread operator"
style="color: rgb(212, 212, 212);"
>
:
</span>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag spread string"
style="color: rgb(206, 145, 120);"
>
"This field is required"
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
,
</span>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
)
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
/>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
<
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
span
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag attr-name"
style="color: rgb(156, 220, 254);"
>
style
</span>
<span
class="token tag script language-javascript script-punctuation punctuation"
style="color: rgb(212, 212, 212);"
>
=
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
color
</span>
<span
class="token tag script language-javascript operator"
style="color: rgb(212, 212, 212);"
>
:
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag script language-javascript string"
style="color: rgb(206, 145, 120);"
>
"red"
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
(
</span>
<span
class="token plain"
>
errors
</span>
<span
class="token keyword"
style="color: rgb(86, 156, 214);"
>
as
</span>
<span
class="token plain"
>
</span>
<span
class="token builtin"
style="color: rgb(86, 156, 214);"
>
any
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
)
</span>
<span
class="token operator"
style="color: rgb(212, 212, 212);"
>
?.
</span>
<span
class="token plain"
>
createdAt
</span>
<span
class="token operator"
style="color: rgb(212, 212, 212);"
>
?.
</span>
<span
class="token plain"
>
message
</span>
<span
class="token keyword"
style="color: rgb(86, 156, 214);"
>
as
</span>
<span
class="token plain"
>
</span>
<span
class="token builtin"
style="color: rgb(86, 156, 214);"
>
string
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
</
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
span
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
</
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
label
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
<
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
label
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
<
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
span
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag attr-name"
style="color: rgb(156, 220, 254);"
>
style
</span>
<span
class="token tag script language-javascript script-punctuation punctuation"
style="color: rgb(212, 212, 212);"
>
=
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
marginRight
</span>
<span
class="token tag script language-javascript operator"
style="color: rgb(212, 212, 212);"
>
:
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag script language-javascript string"
style="color: rgb(206, 145, 120);"
>
"8px"
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
>
Published At
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
</
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
span
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
<
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
input
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag spread operator"
style="color: rgb(212, 212, 212);"
>
...
</span>
<span
class="token tag spread method function property-access"
style="color: rgb(220, 220, 170);"
>
register
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
(
</span>
<span
class="token tag spread string"
style="color: rgb(206, 145, 120);"
>
"publishedAt"
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
,
</span>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
>
required
</span>
<span
class="token tag spread operator"
style="color: rgb(212, 212, 212);"
>
:
</span>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag spread string"
style="color: rgb(206, 145, 120);"
>
"This field is required"
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
,
</span>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
)
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
/>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
<
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
span
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag attr-name"
style="color: rgb(156, 220, 254);"
>
style
</span>
<span
class="token tag script language-javascript script-punctuation punctuation"
style="color: rgb(212, 212, 212);"
>
=
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
color
</span>
<span
class="token tag script language-javascript operator"
style="color: rgb(212, 212, 212);"
>
:
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag script language-javascript string"
style="color: rgb(206, 145, 120);"
>
"red"
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
(
</span>
<span
class="token plain"
>
errors
</span>
<span
class="token keyword"
style="color: rgb(86, 156, 214);"
>
as
</span>
<span
class="token plain"
>
</span>
<span
class="token builtin"
style="color: rgb(86, 156, 214);"
>
any
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
)
</span>
<span
class="token operator"
style="color: rgb(212, 212, 212);"
>
?.
</span>
<span
class="token plain"
>
publishedAt
</span>
<span
class="token operator"
style="color: rgb(212, 212, 212);"
>
?.
</span>
<span
class="token plain"
>
message
</span>
<span
class="token keyword"
style="color: rgb(86, 156, 214);"
>
as
</span>
<span
class="token plain"
>
</span>
<span
class="token builtin"
style="color: rgb(86, 156, 214);"
>
string
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
</
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
span
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
</
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
label
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
<
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
label
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
<
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
span
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag attr-name"
style="color: rgb(156, 220, 254);"
>
style
</span>
<span
class="token tag script language-javascript script-punctuation punctuation"
style="color: rgb(212, 212, 212);"
>
=
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
marginRight
</span>
<span
class="token tag script language-javascript operator"
style="color: rgb(212, 212, 212);"
>
:
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag script language-javascript string"
style="color: rgb(206, 145, 120);"
>
"8px"
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
>
Tags
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
</
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
span
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
<
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
select
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag attr-name"
style="color: rgb(156, 220, 254);"
>
placeholder
</span>
<span
class="token tag attr-value punctuation attr-equals"
style="color: rgb(212, 212, 212);"
>
=
</span>
<span
class="token tag attr-value punctuation"
style="color: rgb(212, 212, 212);"
>
"
</span>
<span
class="token tag attr-value"
style="color: rgb(206, 145, 120);"
>
Select tag
</span>
<span
class="token tag attr-value punctuation"
style="color: rgb(212, 212, 212);"
>
"
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag spread operator"
style="color: rgb(212, 212, 212);"
>
...
</span>
<span
class="token tag spread method function property-access"
style="color: rgb(220, 220, 170);"
>
register
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
(
</span>
<span
class="token tag spread string"
style="color: rgb(206, 145, 120);"
>
"tags"
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
,
</span>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
>
required
</span>
<span
class="token tag spread operator"
style="color: rgb(212, 212, 212);"
>
:
</span>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag spread boolean"
style="color: rgb(78, 201, 176);"
>
false
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
,
</span>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
)
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token plain"
>
tagsOptions
</span>
<span
class="token operator"
style="color: rgb(212, 212, 212);"
>
?.
</span>
<span
class="token method function property-access"
style="color: rgb(220, 220, 170);"
>
map
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
(
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
(
</span>
<span
class="token plain"
>
option
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
)
</span>
<span
class="token plain"
>
</span>
<span
class="token arrow operator"
style="color: rgb(212, 212, 212);"
>
=>
</span>
<span
class="token plain"
>
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
(
</span>
<span
class="token plain"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
<
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
option
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag attr-name"
style="color: rgb(156, 220, 254);"
>
value
</span>
<span
class="token tag script language-javascript script-punctuation punctuation"
style="color: rgb(212, 212, 212);"
>
=
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
option
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
.
</span>
<span
class="token tag script language-javascript property-access"
style="color: rgb(78, 201, 176);"
>
value
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag attr-name"
style="color: rgb(156, 220, 254);"
>
key
</span>
<span
class="token tag script language-javascript script-punctuation punctuation"
style="color: rgb(212, 212, 212);"
>
=
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
option
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
.
</span>
<span
class="token tag script language-javascript property-access"
style="color: rgb(78, 201, 176);"
>
value
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token plain"
>
option
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
.
</span>
<span
class="token property-access"
>
label
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
</
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
option
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain"
>
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
)
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
)
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
</
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
select
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
<
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
span
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag attr-name"
style="color: rgb(156, 220, 254);"
>
style
</span>
<span
class="token tag script language-javascript script-punctuation punctuation"
style="color: rgb(212, 212, 212);"
>
=
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
color
</span>
<span
class="token tag script language-javascript operator"
style="color: rgb(212, 212, 212);"
>
:
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag script language-javascript string"
style="color: rgb(206, 145, 120);"
>
"red"
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
(
</span>
<span
class="token plain"
>
errors
</span>
<span
class="token keyword"
style="color: rgb(86, 156, 214);"
>
as
</span>
<span
class="token plain"
>
</span>
<span
class="token builtin"
style="color: rgb(86, 156, 214);"
>
any
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
)
</span>
<span
class="token operator"
style="color: rgb(212, 212, 212);"
>
?.
</span>
<span
class="token plain"
>
tags
</span>
<span
class="token operator"
style="color: rgb(212, 212, 212);"
>
?.
</span>
<span
class="token plain"
>
message
</span>
<span
class="token keyword"
style="color: rgb(86, 156, 214);"
>
as
</span>
<span
class="token plain"
>
</span>
<span
class="token builtin"
style="color: rgb(86, 156, 214);"
>
string
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
</
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
span
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
</
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
label
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
<
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
label
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
<
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
span
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag attr-name"
style="color: rgb(156, 220, 254);"
>
style
</span>
<span
class="token tag script language-javascript script-punctuation punctuation"
style="color: rgb(212, 212, 212);"
>
=
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
marginRight
</span>
<span
class="token tag script language-javascript operator"
style="color: rgb(212, 212, 212);"
>
:
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag script language-javascript string"
style="color: rgb(206, 145, 120);"
>
"8px"
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
>
Language
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
</
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
span
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
<
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
input
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag attr-name"
style="color: rgb(156, 220, 254);"
>
type
</span>
<span
class="token tag attr-value punctuation attr-equals"
style="color: rgb(212, 212, 212);"
>
=
</span>
<span
class="token tag attr-value punctuation"
style="color: rgb(212, 212, 212);"
>
"
</span>
<span
class="token tag attr-value"
style="color: rgb(206, 145, 120);"
>
number
</span>
<span
class="token tag attr-value punctuation"
style="color: rgb(212, 212, 212);"
>
"
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag spread operator"
style="color: rgb(212, 212, 212);"
>
...
</span>
<span
class="token tag spread method function property-access"
style="color: rgb(220, 220, 170);"
>
register
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
(
</span>
<span
class="token tag spread string"
style="color: rgb(206, 145, 120);"
>
"language"
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
,
</span>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
>
required
</span>
<span
class="token tag spread operator"
style="color: rgb(212, 212, 212);"
>
:
</span>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag spread string"
style="color: rgb(206, 145, 120);"
>
"This field is required"
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
,
</span>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
>
valueAsNumber
</span>
<span
class="token tag spread operator"
style="color: rgb(212, 212, 212);"
>
:
</span>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag spread boolean"
style="color: rgb(78, 201, 176);"
>
true
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
,
</span>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag spread"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
)
</span>
<span
class="token tag spread punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
/>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
<
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
span
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag attr-name"
style="color: rgb(156, 220, 254);"
>
style
</span>
<span
class="token tag script language-javascript script-punctuation punctuation"
style="color: rgb(212, 212, 212);"
>
=
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
color
</span>
<span
class="token tag script language-javascript operator"
style="color: rgb(212, 212, 212);"
>
:
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag script language-javascript string"
style="color: rgb(206, 145, 120);"
>
"red"
</span>
<span
class="token tag script language-javascript"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag script language-javascript punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
{
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
(
</span>
<span
class="token plain"
>
errors
</span>
<span
class="token keyword"
style="color: rgb(86, 156, 214);"
>
as
</span>
<span
class="token plain"
>
</span>
<span
class="token builtin"
style="color: rgb(86, 156, 214);"
>
any
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
)
</span>
<span
class="token operator"
style="color: rgb(212, 212, 212);"
>
?.
</span>
<span
class="token plain"
>
language
</span>
<span
class="token operator"
style="color: rgb(212, 212, 212);"
>
?.
</span>
<span
class="token plain"
>
message
</span>
<span
class="token keyword"
style="color: rgb(86, 156, 214);"
>
as
</span>
<span
class="token plain"
>
</span>
<span
class="token builtin"
style="color: rgb(86, 156, 214);"
>
string
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
</
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
span
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
</
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
label
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
<
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
div
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
<
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
input
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag attr-name"
style="color: rgb(156, 220, 254);"
>
type
</span>
<span
class="token tag attr-value punctuation attr-equals"
style="color: rgb(212, 212, 212);"
>
=
</span>
<span
class="token tag attr-value punctuation"
style="color: rgb(212, 212, 212);"
>
"
</span>
<span
class="token tag attr-value"
style="color: rgb(206, 145, 120);"
>
submit
</span>
<span
class="token tag attr-value punctuation"
style="color: rgb(212, 212, 212);"
>
"
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag attr-name"
style="color: rgb(156, 220, 254);"
>
value
</span>
<span
class="token tag attr-value punctuation attr-equals"
style="color: rgb(212, 212, 212);"
>
=
</span>
<span
class="token tag attr-value punctuation"
style="color: rgb(212, 212, 212);"
>
"
</span>
<span
class="token tag attr-value"
style="color: rgb(206, 145, 120);"
>
Save
</span>
<span
class="token tag attr-value punctuation"
style="color: rgb(212, 212, 212);"
>
"
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
/>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
</
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
div
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
</
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
div
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
</
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
form
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain-text"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain-text"
>
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
</
</span>
<span
class="token tag"
style="color: rgb(78, 201, 176);"
>
div
</span>
<span
class="token tag punctuation"
style="color: rgb(212, 212, 212);"
>
>
</span>
<span
class="token plain"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain"
>
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
)
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
;
</span>
<span
class="token plain"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain"
/>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
}
</span>
<span
class="token punctuation"
style="color: rgb(212, 212, 212);"
>
;
</span>
<span
class="token plain"
/>
</div>
<div
class="token-line"
style="color: rgb(156, 220, 254);"
>
<span
class="token plain"
style="display: inline-block;"
>
</span>
</div>
</pre>
</div>
<div
style="display: flex; justify-content: flex-start; align-items: flex-end; gap: 16px;"
>
<button
style="appearance: none; height: 40px; padding: 10px 16px; border-radius: 4px; display: flex; align-items: center; justify-content: center; background: rgb(0, 128, 255); color: rgb(255, 255, 255); font-size: 14px; line-height: 20px; font-weight: 600; gap: 8px; cursor: pointer; position: relative; overflow: hidden; transition: filter 0.2s ease; transform: scale(1);"
>
<svg
fill="none"
height="20"
style="flex-shrink: 0; margin-top: -2px; margin-bottom: -2px;"
viewBox="0 0 24 24"
width="20"
xmlns="http://www.w3.org/2000/svg"
>
<path
clip-rule="evenodd"
d="M8 5a3 3 0 0 0 3 3h2a3 3 0 0 0 3-3h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h1Zm0 7a1 1 0 0 1 1-1h6a1 1 0 1 1 0 2H9a1 1 0 0 1-1-1Zm1 3a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2H9Z"
fill="currentColor"
fill-rule="evenodd"
/>
<path
d="M13 4a1 1 0 1 1 0 2h-2a1 1 0 1 1 0-2h2Z"
fill="currentColor"
/>
</svg>
<span>
Copy Generated Code
</span>
<div
style="position: absolute; width: 100%; height: 100%; top: 0px; left: 0px; display: flex; align-items: center; justify-content: center; background: rgb(0, 128, 255); transition: all 0.2s ease; transform: translateY(40px);"
>
<svg
fill="none"
height="20"
style="flex-shrink: 0; margin-top: -2px; margin-bottom: -2px;"
viewBox="0 0 24 24"
width="20"
xmlns="http://www.w3.org/2000/svg"
>
<path
clip-rule="evenodd"
d="M8 5a3 3 0 0 0 3 3h2a3 3 0 0 0 3-3h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h1Zm0 7a1 1 0 0 1 1-1h6a1 1 0 1 1 0 2H9a1 1 0 0 1-1-1Zm1 3a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2H9Z"
fill="currentColor"
fill-rule="evenodd"
/>
<path
d="M13 4a1 1 0 1 1 0 2h-2a1 1 0 1 1 0-2h2Z"
fill="currentColor"
/>
</svg>
<span>
Copied!
</span>
</div>
</button>
<a
href="https://refine.dev/docs/packages/documentation/inferencer"
rel="noreferrer"
style="appearance: none; text-decoration: none; padding: 10px 16px; border-radius: 4px; display: flex; align-items: center; justify-content: center; background: rgba(0, 128, 255, 0.1); color: rgb(0, 128, 255); font-size: 14px; line-height: 20px; font-weight: 600; gap: 8px; cursor: pointer; transition: all 0.2s ease;"
target="_blank"
>
<svg
fill="none"
height="16"
style="flex-shrink: 0;"
width="16"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M5 2a1 1 0 0 1 0 2H4v8h8v-1a1 1 0 1 1 2 0v1a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h1Z"
fill="currentColor"
/>
<path
d="M9 2a1 1 0 0 0 0 2h1.586L6.293 8.293a1 1 0 0 0 1.414 1.414L12 5.414V7a1 1 0 1 0 2 0V3a1 1 0 0 0-1-1H9Z"
fill="currentColor"
/>
</svg>
<span>
Learn more about inferencer
</span>
</a>
</div>
</div>
</div>
</div>
</DocumentFragment>
`;