The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Studio 🎙
Joshen Lim9373f6922020
diff --git a/studio/.env b/studio/.envnew file mode 100644index 00000000000..6b71a62226e--- /dev/null+++ b/studio/.env@@ -0,0 +1,6 @@+STUDIO_PG_META_URL=http://localhost:8000/pg+POSTGRES_PASSWORD=your-super-secret-and-long-postgres-password++SUPABASE_URL=http://localhost:8000+SUPABASE_ANON_KEY=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJyb2xlIjoiYW5vbiIsImlhdCI6MTYyNzIwODU0MCwiZXhwIjoxOTc0MzYzNzQwfQ.zcaQfHd3VA7XgJmdGfmV86OLVJT9s2MTmSy-e69BpUY+SUPABASE_SERVICE_KEY=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJyb2xlIjoic2VydmljZV9yb2xlIiwiaWF0IjoxNjI3MjA4NTQwLCJleHAiOjE5NzQzNjM3NDB9.pkT3PNpO4DtO45Ac5HK_TKCx8sGLgNtV__pr_ZrRSAU\ No newline at end of filediff --git a/studio/.gitignore b/studio/.gitignorenew file mode 100644index 00000000000..65c5aebeb7b--- /dev/null+++ b/studio/.gitignore@@ -0,0 +1,38 @@+# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.++# dependencies+/node_modules+/.pnp+.pnp.js++# testing+/coverage++# next.js+/.next/+/out/++# production+/build++# misc+.DS_Store+*.pem++# debug+npm-debug.log*+yarn-debug.log*+yarn-error.log*++# local env files+!.env+.env.local+.env.development.local+.env.test.local+.env.staging.local+.env.production.local++# vercel+.vercel/testing.json+.vercel/project.json+.vercel/README.txtdiff --git a/studio/Dockerfile b/studio/Dockerfilenew file mode 100644index 00000000000..8d7abea36c3--- /dev/null+++ b/studio/Dockerfile@@ -0,0 +1,24 @@+# Extermely simple setup - should be optimized before sending+# to docker hub++## USAGE:+# docker build -t next .+# docker run -p 3010:3000 next++FROM node:16++RUN mkdir -p /home/app/ && chown -R node:node /home/app+WORKDIR /home/app+COPY --chown=node:node . .++# Sometimes need this for the pg-parser+# RUN apk add --no-cache python build-base gcc g++ libpq++USER node++# Can change to "npm ci" eventually+RUN npm install+RUN npm run build++EXPOSE 8082+CMD [ "npm", "start" ]diff --git a/studio/README.md b/studio/README.mdnew file mode 100644index 00000000000..8c375662022--- /dev/null+++ b/studio/README.md@@ -0,0 +1,3 @@+# Supabase Studio++Dashboard for Supabase projects (README will be updated)diff --git a/studio/components/README.md b/studio/components/README.mdnew file mode 100644index 00000000000..c68dc0a126b--- /dev/null+++ b/studio/components/README.md@@ -0,0 +1,47 @@+# Writing components++## Where to create your components++- For components that declare the general structure and layout of a page:+ - `/components/layouts/xxx`+- For components that are tightly coupled to a specific interface:+ - `/components/interfaces/xxx`+- For components that are meant to be reusable across multiple pages:+ - `/components/ui/xxx`+- Note: We're gradually moving files out of the `to-be-cleaned` folder into the respective folders as we refactor++## Component structure++- If a component has constants and utility methods that are tightly coupled to the itself, keep them close to the component and enclose them in a folder with an `index.tsx` as an entry point+- Otherwise it can just be a file on its own+- For example:+ - ```+ components/ui+ - SampleComponentA+ - SampleComponentA.tsx+ - SampleComponentA.constants.ts+ - SampleComponentA.utils.ts+ - SampleComponentA.types.ts+ - index.ts+ - SampleComponentB.tsx+ ```++## Template for building components++```ts+import { FC } from 'react'+import { observer } from 'mobx-react-lite'++// Declare the prop types of your component+interface Props {+ sampleProp: string+}++// Name your component accordingly+const ComponentA: FC<Props> = ({ sampleProp }) => {+ return <div>ComponentA: {sampleProp}</div>+}++// Observer is so that components listen to mobx store changes+export default observer(ComponentA)+```diff --git a/studio/components/interfaces/Billing/PAYGUsage/PAYGUsage.constants.ts b/studio/components/interfaces/Billing/PAYGUsage/PAYGUsage.constants.tsnew file mode 100644index 00000000000..8bc077f2ce9--- /dev/null+++ b/studio/components/interfaces/Billing/PAYGUsage/PAYGUsage.constants.ts@@ -0,0 +1,40 @@+import { ChargeableProduct } from './PAYGUsage.types'++export const chargeableProducts: ChargeableProduct[] = [+ {+ title: 'Database',+ iconUrl: '/img/database.svg',+ features: [+ {+ title: 'Database Size',+ attribute: 'total_db_size_bytes',+ costPerUnit: 0.125,+ unitQuantity: 1000000000, // 1GB+ },+ {+ title: 'Database Egress',+ attribute: 'total_db_egress_bytes',+ costPerUnit: 0.09,+ unitQuantity: 1000000000, // 1GB+ },+ ],+ },+ {+ title: 'Storage',+ iconUrl: '/img/archive.svg',+ features: [+ {+ title: 'Storage Size',+ attribute: 'total_storage_size_bytes',+ costPerUnit: 0.021,+ unitQuantity: 1000000000, // 1GB+ },+ {+ title: 'Storage Egress',+ attribute: 'total_storage_egress',+ costPerUnit: 0.09,+ unitQuantity: 1000000000, // 1GB+ },+ ],+ },+]diff --git a/studio/components/interfaces/Billing/PAYGUsage/PAYGUsage.tsx b/studio/components/interfaces/Billing/PAYGUsage/PAYGUsage.tsxnew file mode 100644index 00000000000..57678df3d1b--- /dev/null+++ b/studio/components/interfaces/Billing/PAYGUsage/PAYGUsage.tsx@@ -0,0 +1,80 @@+import React, { FC } from 'react'+import dayjs from 'dayjs'+import { Typography } from '@supabase/ui'++import ChartHandler from 'components/to-be-cleaned/Charts/ChartHandler'+import { ChargeableProduct, ProductFeature } from './PAYGUsage.types'+import { deriveProductCost } from './PAYGUsage.utils'+import { chargeableProducts } from './PAYGUsage.constants'+import { DATE_FORMAT } from 'lib/constants'+import { Dictionary } from '@supabase/grid'++interface Props {+ paygStats: Dictionary<number>+}++const PAYGUsage: FC<Props> = ({ paygStats }) => {+ const startDate = dayjs().utc().startOf('month').format(DATE_FORMAT)+ const endDate = dayjs().utc().endOf('month').format(DATE_FORMAT)++ return (+ <div className="flex flex-col">+ {chargeableProducts.map((product: ChargeableProduct) => {+ const productCost = deriveProductCost(paygStats, product)+ return (+ <div+ key={product.title}+ className="rounded overflow-hidden border border-panel-border-light dark:border-panel-border-dark mb-8"+ >+ <div className="w-full bg-panel-body-light dark:bg-panel-body-dark">+ <div className="bg-panel-header-light dark:bg-panel-header-dark">+ <div className="px-6 py-3 flex items-center justify-between rounded overflow-hidden">+ <div className="flex items-center space-x-3">+ <div className="w-8 h-8 bg-white rounded flex items-center justify-center">+ <img width={'16'} src={product.iconUrl} />+ </div>+ <Typography.Title level={5} className="font-medium mb-0">+ {product.title}+ </Typography.Title>+ </div>+ {product.title !== 'Authentication' && (+ <div className="flex items-center space-x-1">+ <Typography.Text className="opacity-50">$</Typography.Text>+ <Typography.Title className="font-medium m-0" level={4}>+ {productCost.toFixed(3)}+ </Typography.Title>+ </div>+ )}+ </div>+ </div>++ <div className="flex flex-col">+ {product.features.map((feature: ProductFeature) => (+ <div+ key={feature.title}+ className="px-6 py-3 relative border-t border-panel-border-light dark:border-panel-border-dark"+ >+ <ChartHandler+ hideChartType+ label={`${feature.title} for ${dayjs().format('MMMM')}`}+ attribute={feature.attribute}+ provider="daily-stats"+ startDate={startDate}+ endDate={endDate}+ interval="1d"+ highlight="maximum"+ defaultChartStyle="line"+ customDateFormat={'MMM D, YYYY'}+ />+ </div>+ ))}+ </div>+ </div>+ </div>+ )+ })}+ </div>+ )+}++export default PAYGUsagediff --git a/studio/components/interfaces/Billing/PAYGUsage/PAYGUsage.types.ts b/studio/components/interfaces/Billing/PAYGUsage/PAYGUsage.types.tsnew file mode 100644index 00000000000..a1497f6c05a--- /dev/null+++ b/studio/components/interfaces/Billing/PAYGUsage/PAYGUsage.types.ts@@ -0,0 +1,12 @@+export interface ChargeableProduct {+ title: string+ iconUrl: string+ features: ProductFeature[]+}++export interface ProductFeature {+ title: string+ attribute: string+ costPerUnit: number+ unitQuantity: number+}diff --git a/studio/components/interfaces/Billing/PAYGUsage/PAYGUsage.utils.ts b/studio/components/interfaces/Billing/PAYGUsage/PAYGUsage.utils.tsnew file mode 100644index 00000000000..aecd59dd324--- /dev/null+++ b/studio/components/interfaces/Billing/PAYGUsage/PAYGUsage.utils.ts@@ -0,0 +1,12 @@+import { sum } from 'lodash'+import { ChargeableProduct, ProductFeature } from './PAYGUsage.types'++export const deriveFeatureCost = (paygStats: any, feature: ProductFeature) => {+ const maximumValueOfTheMonth = paygStats?.[feature.attribute] ?? 0+ return (maximumValueOfTheMonth / feature.unitQuantity) * feature.costPerUnit+}++export const deriveProductCost = (paygStats: any, product: ChargeableProduct) => {+ const costs = product.features.map((feature) => deriveFeatureCost(paygStats, feature))+ return sum(costs)+}diff --git a/studio/components/interfaces/Billing/Subscription/CostBreakdownRow.tsx b/studio/components/interfaces/Billing/Subscription/CostBreakdownRow.tsxnew file mode 100644index 00000000000..c86b3f5d147--- /dev/null+++ b/studio/components/interfaces/Billing/Subscription/CostBreakdownRow.tsx@@ -0,0 +1,30 @@+import { FC } from 'react'+import { Typography } from '@supabase/ui'++interface Props {+ item: string+ amount: number | string+ unitPrice: number | string+ price: number | string+}++const CostBreakdownRow: FC<Props> = ({ item, amount, unitPrice, price }) => {+ return (+ <div className="px-6 py-3 relative border-t border-panel-border-light dark:border-panel-border-dark flex items-center">+ <div className="w-[40%]">+ <Typography.Text>{item}</Typography.Text>+ </div>+ <div className="w-[20%] flex justify-end">+ <Typography.Text>{amount}</Typography.Text>+ </div>+ <div className="w-[20%] flex justify-end">+ <Typography.Text>${unitPrice}</Typography.Text>+ </div>+ <div className="w-[20%] flex justify-end">+ <Typography.Text>${price}</Typography.Text>+ </div>+ </div>+ )+}++export default CostBreakdownRowdiff --git a/studio/components/interfaces/Billing/Subscription/SubcriptionCancellation.constants.ts b/studio/components/interfaces/Billing/Subscription/SubcriptionCancellation.constants.tsnew file mode 100644index 00000000000..dd7b1163cae--- /dev/null+++ b/studio/components/interfaces/Billing/Subscription/SubcriptionCancellation.constants.ts@@ -0,0 +1,14 @@+export const CancellationReasons = [+ `Pricing`,+ `My project isn't getting traction`,+ `Poor customer service`,+ `Missing feature`,+ `I didn't see the value`,+ `I couldn't achieve my project goals`,+ `Dashboard is too complicated`,+ `Postgres is too complicated`,+ `Problem not solved`,+ `Bug issues`,+ `I decided to use something else`,+ `None of the above`,+]diff --git a/studio/components/interfaces/Billing/Subscription/Subscription.tsx b/studio/components/interfaces/Billing/Subscription/Subscription.tsxnew file mode 100644index 00000000000..55451f207ff--- /dev/null+++ b/studio/components/interfaces/Billing/Subscription/Subscription.tsx@@ -0,0 +1,151 @@+import { FC } from 'react'+import dayjs from 'dayjs'+import { sum } from 'lodash'+import { Typography, Loading } from '@supabase/ui'++import UpgradeButton from './UpgradeButton'+import CostBreakdownRow from './CostBreakdownRow'+import { StripeSubscription } from './Subscription.types'+import { deriveFeatureCost, deriveProductCost } from '../PAYGUsage/PAYGUsage.utils'+import { chargeableProducts } from '../PAYGUsage/PAYGUsage.constants'+import { formatBytes } from 'lib/helpers'+import { STRIPE_PRODUCT_IDS } from 'lib/constants'+import { Dictionary } from '@supabase/grid'++interface Props {+ project: any+ subscription: StripeSubscription+ paygStats?: Dictionary<number>+ loading?: boolean+ showProjectName?: boolean+ currentPeriodStart: number+ currentPeriodEnd: number+}++const Subscription: FC<Props> = ({+ project,+ subscription,+ paygStats,+ loading = false,+ showProjectName = false,+ currentPeriodStart,+ currentPeriodEnd,+}) => {+ const isPayg = subscription?.tier.prod_id === STRIPE_PRODUCT_IDS.PAYG+ const addOns = subscription?.addons ?? []+ const paid = subscription && subscription.tier.unit_amount > 0++ const basePlanCost = subscription?.tier.unit_amount / 100++ const deriveTotalCost = (): number => {+ const totalAddOnCost = sum(addOns.map((addOn) => addOn.unit_amount / 100))+ const totalUsageCost = isPayg+ ? Number(sum(chargeableProducts.map((product) => deriveProductCost(paygStats, product))))+ : 0+ return basePlanCost + totalAddOnCost + totalUsageCost+ }++ return (+ <Loading active={loading}>+ <div className="w-full rounded overflow-hidden border border-panel-border-light dark:border-panel-border-dark mb-8">+ <div className="bg-panel-body-light dark:bg-panel-body-dark">+ <div className="px-6 pt-4 flex items-center justify-between">+ <div className="flex flex-col">+ <Typography.Text>+ {showProjectName ? project.name : 'Current subscription'}+ </Typography.Text>+ <Typography.Title level={3} className="mb-0">+ {subscription?.tier.name ?? '-'}+ </Typography.Title>+ </div>+ {/* @ts-ignore */}+ <UpgradeButton projectRef={project.ref} paid={paid} />+ </div>+ {paid && (+ <div className="px-6 pt-4">+ <Typography.Text>+ The next payment for this plan will be occur on{' '}+ {dayjs.unix(currentPeriodEnd).utc().format('MMM D, YYYY')}.+ </Typography.Text>+ </div>+ )}+ <div className="mt-2 px-6 pb-4">+ <Typography.Text type="secondary">+ See our{' '}+ <a href="https://supabase.io/pricing" target="_blank" className="underline">+ pricing+ </a>{' '}+ for a more detailed analysis of what Supabase has on offer.+ </Typography.Text>+ </div>++ {/* Cost Breakdown */}+ {!loading && subscription && (+ <>+ <div className="px-6 py-3 relative border-t border-panel-border-light dark:border-panel-border-dark flex items-center">+ <div className="w-[40%]">+ <Typography.Text>Item</Typography.Text>+ </div>+ <div className="w-[20%] flex justify-end">+ <Typography.Text>Amount</Typography.Text>+ </div>+ <div className="w-[20%] flex justify-end">+ <Typography.Text>Unit Price</Typography.Text>+ </div>+ <div className="w-[20%] flex justify-end">+ <Typography.Text>Price</Typography.Text>+ </div>+ </div>+ <CostBreakdownRow+ item="Base Plan"+ amount={1}+ unitPrice={basePlanCost}+ price={basePlanCost}+ />+ {addOns.map((addOn) => (+ <CostBreakdownRow+ key={addOn.prod_id}+ item={addOn.name}+ amount={1}+ unitPrice={addOn.unit_amount / 100}+ price={addOn.unit_amount / 100}+ />+ ))}+ {isPayg &&+ chargeableProducts.map((product) =>+ product.features.map((feature) => {+ const cost = deriveFeatureCost(paygStats, feature).toFixed(3)+ return (+ <CostBreakdownRow+ key={feature.attribute}+ item={feature.title}+ amount={formatBytes(paygStats?.[feature.attribute] ?? 0)}+ unitPrice={`${feature.costPerUnit}/GB`}+ price={cost}+ />+ )+ })+ )}+ <div className="px-6 py-3 relative border-t border-panel-border-light dark:border-panel-border-dark flex items-center">+ <div className="w-[80%]">+ <Typography.Text>+ Estimated cost for {dayjs.unix(currentPeriodStart).utc().format('MMM D, YYYY')}{' '}+ - {dayjs.unix(currentPeriodEnd).utc().format('MMM D, YYYY')} so far+ </Typography.Text>+ </div>+ <div className="w-[20%] flex justify-end items-center space-x-1">+ <Typography.Text className="opacity-50">$</Typography.Text>+ <Typography.Title level={3} className="m-0">+ {deriveTotalCost().toFixed(2)}+ </Typography.Title>+ </div>+ </div>+ </>+ )}+ </div>+ </div>+ </Loading>+ )+}++export default Subscriptiondiff --git a/studio/components/interfaces/Billing/Subscription/Subscription.types.ts b/studio/components/interfaces/Billing/Subscription/Subscription.types.tsnew file mode 100644index 00000000000..02269b7eb63--- /dev/null+++ b/studio/components/interfaces/Billing/Subscription/Subscription.types.ts@@ -0,0 +1,19 @@+export interface StripeSubscription {+ tier: {+ name: string+ prod_id: string+ unit_amount: number+ }+ billing: {+ current_period_end: number+ current_period_start: number+ billing_cycle_anchor: number+ }+ addons: StripeAddon[]+}++export interface StripeAddon {+ name: string+ prod_id: string+ unit_amount: number+}diff --git a/studio/components/interfaces/Billing/Subscription/UpgradeButton.tsx b/studio/components/interfaces/Billing/Subscription/UpgradeButton.tsxnew file mode 100644index 00000000000..e8fe4098051--- /dev/null+++ b/studio/components/interfaces/Billing/Subscription/UpgradeButton.tsx@@ -0,0 +1,191 @@+import React, { useReducer, useState } from 'react'+import { useRouter } from 'next/router'+import { toast } from 'react-hot-toast'+import { includes, without } from 'lodash'+import { Button, Modal, Input, Divider, Typography } from '@supabase/ui'++import { API_URL } from 'lib/constants'+import { getURL } from 'lib/helpers'+import { post } from 'lib/common/fetch'+import { CancellationReasons } from './SubcriptionCancellation.constants'++/**+ * Generates a Stripe Billing Portal link for a project.+ *+ * @param {Object} props.projectRef Project Ref+ * @param {Boolean} props.paid Tier name+ */++export default function UpgradeButton({ projectRef, paid }: any) {+ const router = useRouter()+ const [loading, setLoading] = useState(false)+ const [exitSurveyVisible, setExitSurveyVisible] = useState(false)++ /**+ * Get a link and then redirect them+ */+ const redirectToPortal = async () => {+ try {+ setLoading(true)+ let { subscriptionPortal, billingPortal } = await post(`${API_URL}/stripe/portal`, {+ projectRef,+ returnTo: `${getURL()}${router.asPath}`,+ })+ window.location.replace(subscriptionPortal || billingPortal)+ setExitSurveyVisible(false)+ } catch (error: any) {+ toast.error(error.message)+ } finally {+ setExitSurveyVisible(false)+ setLoading(false)+ }+ }++ function handleUpgradeButton() {+ if (paid) {+ setExitSurveyVisible(true)+ } else {+ redirectToPortal()+ }+ }++ return (+ <>+ <UnsubcribeExitSurvey+ visible={exitSurveyVisible}+ setVisible={setExitSurveyVisible}+ handleDowngrade={redirectToPortal}+ />+ <Button onClick={handleUpgradeButton} type={paid ? 'outline' : 'primary'} loading={loading}>+ {paid ? 'Cancel subscription' : 'Upgrade to Pro'}+ </Button>+ </>+ )+}++function UnsubcribeExitSurvey({ visible, setVisible, handleDowngrade }: any) {+ const [loading, setLoading] = useState(false)+ const [selectedCancellationReasons, dispatchSelectedCancellationReasons] = useReducer(reducer, [])+ const [additionalFeedback, setAdditionalFeedback] = useState('')+ const router = useRouter()+ const { ref } = router.query++ const sendExitSurvey = async () => {+ try {+ const message = `+ # Exit survey\n\n\n++ **Reasons for leaving:**\n+ ${selectedCancellationReasons.map((x) => {+ return `${x}. \n`+ })}++ \n+ Additonal feedback:\n+ ${additionalFeedback}++ `++ setLoading(true)+ await post(`${API_URL}/feedback/send`, {+ projectRef: ref,+ subject: 'Subscription cancellation - Exit survey',+ tags: ['dashboard-exitsurvey'],+ category: 'Billing',+ message,+ })+ setLoading(false)+ await handleDowngrade()+ } catch (error: any) {+ console.error(error)+ toast.error(error)+ }+ }++ return (+ <Modal+ loading={loading}+ visible={visible}+ closable+ contentStyle={{ padding: 0 }}+ hideFooter+ onCancel={() => setVisible(false)}+ >+ <div>+ <div className="px-6 pb-4">+ <Typography.Title level={3} className="m-0">+ Reason for cancelling+ </Typography.Title>+ </div>+ <Divider light />+ <div className="px-6 py-4 space-y-4">+ <Typography.Text type="secondary" className="mb-2">+ <p>We always strive to improve Supabase as much as we can.</p>+ </Typography.Text>+ <Typography.Text type="secondary">+ <p>+ please let us know the reasons you are cancelling your subscription so we can improve+ in the future.+ </p>+ </Typography.Text>+ <div className="flex flex-wrap gap-2" data-toggle="buttons">+ {CancellationReasons.map((option) => {+ const active = selectedCancellationReasons.find((x) => x === option)+ return (+ <label+ key={option}+ className={`+ checkbox-pill text-center rounded-md py-1 pl-2 pr-3 shadow-sm+ transition-all flex items-center space-x-2+ duration-100 cursor-pointer text-sm+ ${+ active+ ? ` opacity-100 bg-white text-typography-body-light hover:bg-opacity-75`+ : ` bg-gray-500 opacity-25 hover:opacity-50 text-typography-body-dark`+ }+ `}+ >+ <input+ type="checkbox"+ name="options"+ value={option}+ className="hidden"+ onClick={dispatchSelectedCancellationReasons}+ />+ <div>{option}</div>+ </label>+ )+ })}+ </div>+ </div>+ <Divider light />+ <div className="px-6 py-4 space-y-4">+ <Input.TextArea+ id="feedback"+ onChange={(e) => setAdditionalFeedback(e.target.value)}+ value={additionalFeedback}+ label="Anything else we can improve on?"+ placeholder="Anything else we should know, or could improve on?"+ />+ </div>+ <Divider light />+ <div className="flex justify-end px-6 py-6 w-full space-x-2">+ <Button type="default" onClick={() => setVisible(false)}>+ Cancel+ </Button>+ <Button loading={loading} onClick={sendExitSurvey}>+ Proceed to cancel subscription+ </Button>+ </div>+ </div>+ </Modal>+ )+}++function reducer(state: any, action: any) {+ if (includes(state, action.target.value)) {+ return without(state, action.target.value)+ } else {+ return [...state, action.target.value]+ }+}diff --git a/studio/components/interfaces/Billing/index.ts b/studio/components/interfaces/Billing/index.tsnew file mode 100644index 00000000000..a1d37a31beb--- /dev/null+++ b/studio/components/interfaces/Billing/index.ts@@ -0,0 +1,6 @@+import PAYGUsage from './PAYGUsage/PAYGUsage'+import Subscription from './Subscription/Subscription'++export * from './Subscription/Subscription.types'+export * from './PAYGUsage/PAYGUsage.constants'+export { PAYGUsage, Subscription }diff --git a/studio/components/interfaces/Database/Backups/BackupItem.tsx b/studio/components/interfaces/Database/Backups/BackupItem.tsxnew file mode 100644index 00000000000..f19ae7ff8f7--- /dev/null+++ b/studio/components/interfaces/Database/Backups/BackupItem.tsx@@ -0,0 +1,111 @@+import dayjs from 'dayjs'+import { FC, useState } from 'react'+import { useRouter } from 'next/router'+import { observer } from 'mobx-react-lite'+import { toast } from 'react-hot-toast'+import { Badge, Button, Typography, IconDownload } from '@supabase/ui'++import { API_URL } from 'lib/constants'+import { post } from 'lib/common/fetch'+import { confirmAlert } from 'components/to-be-cleaned/ModalsDeprecated/ConfirmModal'++interface Props {+ projectRef: string+ backup: any+ index: number+}++const BackupItem: FC<Props> = ({ projectRef, backup, index }) => {+ const router = useRouter()+ const [isDownloading, setDownloading] = useState(false)+ const [isRestoring, setRestoring] = useState(false)++ async function restore(backup: any) {+ setRestoring(true)+ try {+ post(`${API_URL}/database/${projectRef}/backups/restore`, backup).then(() => {+ setTimeout(() => {+ router.push('/project/[id]', `/project/${projectRef}`)+ }, 3000)+ })+ } catch (error) {+ console.error('Restore error:', error)+ toast.error(`You do not have permission to restore from this backup`)+ setRestoring(false)+ }+ }++ async function download(backup: any) {+ setDownloading(true)+ try {+ const res = await post(`${API_URL}/database/${projectRef}/backups/download`, backup)+ const { fileUrl } = await res++ // triger browser download by create,trigger and remove tempLink+ const tempLink = document.createElement('a')+ tempLink.href = fileUrl+ document.body.appendChild(tempLink)+ tempLink.click()+ document.body.removeChild(tempLink)++ setDownloading(false)+ } catch (error) {+ console.error('Download error:', error)+ toast.error(`You do not have permission to download this backup`)+ setDownloading(false)+ }+ }++ function onRestoreClick() {+ confirmAlert({+ title: 'Confirm to restore',+ message: `Are you sure you want to restore from ${dayjs(backup.inserted_at).format(+ 'DD MMM YYYY'+ )}? This will destroy any new data written since this backup was made.`,+ onAsyncConfirm: async () => {+ await restore(backup)+ },+ })+ }++ const generateSideButtons = (backup: any) => {+ if (backup.status === 'COMPLETED')+ return (+ <div className="space-x-1 flex">+ {backup.data.canRestore && (+ <Button+ type="secondary"+ disabled={isRestoring || isDownloading}+ onClick={onRestoreClick}+ >+ Restore+ </Button>+ )}++ <Button+ type="secondary"+ disabled={isRestoring || isDownloading}+ onClick={() => download(backup)}+ loading={isDownloading}+ icon={<IconDownload />}+ >+ Download+ </Button>+ </div>+ )+ return <Badge color="yellow">Backup In Progress...</Badge>+ }++ return (+ <>+ <div className={`flex justify-between px-6 h-12 ${index ? 'border-t dark:border-dark' : ''}`}>+ <Typography.Text className="self-center">+ {dayjs(backup.inserted_at).format('DD MMM YYYY HH:mm:ss')}+ </Typography.Text>+ <div className="self-center">{generateSideButtons(backup)}</div>+ </div>+ </>+ )+}++export default observer(BackupItem)diff --git a/studio/components/interfaces/Database/Backups/BackupsList.tsx b/studio/components/interfaces/Database/Backups/BackupsList.tsxnew file mode 100644index 00000000000..c18a6b9e2b2--- /dev/null+++ b/studio/components/interfaces/Database/Backups/BackupsList.tsx@@ -0,0 +1,106 @@+import Link from 'next/link'+import React, { FC, useState, useEffect } from 'react'+import { observer } from 'mobx-react-lite'+import { Button, Typography, IconClock, IconInfo } from '@supabase/ui'++import { useStore } from 'hooks'+import { STRIPE_PRODUCT_IDS } from 'lib/constants'+import BackupItem from './BackupItem'+import Loading from 'components/ui/Loading'+import Panel from 'components/to-be-cleaned/Panel'++interface Props {}++const BackupsList: FC<Props> = ({}) => {+ const { ui, app } = useStore()+ const projectRef = ui.selectedProject?.ref || 'default'++ const [isLoading, setIsLoading] = useState<boolean>(true)+ const [projectData, setProjectData] = useState<any>([])++ useEffect(() => {+ retrieveBackups()+ }, [])++ const retrieveBackups = async () => {+ setIsLoading(true)+ const projectData = (await app.database.getBackups(projectRef)) as any+ setProjectData(projectData)+ setIsLoading(false)+ }++ if (isLoading) return <Loading />+ if (projectData.error) {+ return (+ <div>+ <Typography.Text type="secondary">Error loading backups</Typography.Text>+ </div>+ )+ }++ // Data Loaded+ const { backups, tierId } = projectData+ const sortedBackups = backups.sort((a: any, b: any) => b.id - a.id)++ return (+ <div className="space-y-6">+ {/* <div className="mb-4">+ <BackupButton backups={sortedBackups} projectRef={projectRef} />+ </div> */}++ {tierId === STRIPE_PRODUCT_IDS.FREE && (+ <div className="block w-full bg-white bg-opacity-5 p-3 px-6 border border-white border-opacity-20 rounded">+ <div className="flex space-x-3">+ <div className="mt-1">+ <IconClock className="text-white" size="large" />+ </div>+ <div className="flex justify-between w-full items-center">+ <div>+ <Typography.Text>Free Plan does not include project backups.</Typography.Text>+ <div>+ <Typography.Text type="secondary">+ Please upgrade to Pro plan for up to 7 days of backups.+ </Typography.Text>+ </div>+ </div>+ <Link href={`/project/${projectRef}/settings/billing`}>+ <Button type="primary" className="flex-grow">+ Upgrade to Pro+ </Button>+ </Link>+ </div>+ </div>+ </div>+ )}++ {!sortedBackups.length && tierId !== STRIPE_PRODUCT_IDS.FREE ? (+ <div className="block w-full bg-green-500 bg-opacity-5 p-3 border border-green-500 border-opacity-50 rounded">+ <div className="flex space-x-3">+ <div>+ <IconInfo className="text-green-500" size="large" />+ </div>+ <Typography.Text type="success">+ No backups created yet. Check again tomorrow.+ </Typography.Text>+ </div>+ </div>+ ) : (+ <Panel+ // title={[<Typography.Title level={5}>Date</Typography.Title>]}+ >+ {!sortedBackups && (+ <div className="text-center p-4">+ <img className="loading-spinner" src="/img/spinner.gif"></img>+ </div>+ )}+ {sortedBackups &&+ sortedBackups.map((x: any, i: number) => {+ return <BackupItem key={x.id} projectRef={projectRef} backup={x} index={i} />+ })}+ </Panel>+ )}+ </div>+ )+}++export default observer(BackupsList)diff --git a/studio/components/interfaces/Database/Extensions/ExtensionCard.tsx b/studio/components/interfaces/Database/Extensions/ExtensionCard.tsxnew file mode 100644index 00000000000..11329978a79--- /dev/null+++ b/studio/components/interfaces/Database/Extensions/ExtensionCard.tsx@@ -0,0 +1,122 @@+import { FC, useState } from 'react'+import { observer } from 'mobx-react-lite'+import { toast } from 'react-hot-toast'+import { Badge, Typography, Toggle } from '@supabase/ui'++import { useStore } from 'hooks'+import { confirmAlert } from 'components/to-be-cleaned/ModalsDeprecated/ConfirmModal'++interface Props {+ extension: any+}++const ExtensionCard: FC<Props> = ({ extension }) => {+ const { meta } = useStore()++ const isOn = extension.installed_version !== null+ const [loading, setLoading] = useState(false)++ async function enableExtension() {+ confirmAlert({+ title: 'Confirm to turn on',+ message: `Are you sure you want to turn ON "${extension.name}" extension?`,+ onAsyncConfirm: async () => {+ try {+ setLoading(true)+ const response = await meta.extensions.create({+ name: extension.name,+ schema: 'extensions',+ version: extension.default_version,+ cascade: true,+ })+ if (response.error) {+ throw response.error+ } else {+ toast.success(`${extension.name.toUpperCase()} is on.`)+ }+ } catch (error: any) {+ toast.error(`Toggle ${extension.name.toUpperCase()} failed: ${error.message}`)+ } finally {+ setLoading(false)+ }+ },+ })+ }++ async function disableExtension() {+ confirmAlert({+ title: 'Confirm to turn off',+ message: `Are you sure you want to turn OFF "${extension.name}" extension?`,+ onAsyncConfirm: async () => {+ try {+ setLoading(true)+ const response: any = await meta.extensions.del(extension.name)+ if (response.error) {+ throw response.error+ } else {+ toast(`${extension.name.toUpperCase()} is off.`)+ }+ } catch (error: any) {+ toast.error(`Toggle ${extension.name.toUpperCase()} failed: ${error.message}`)+ } finally {+ // Need to reload them because the delete function+ // removes the extension from the store+ meta.extensions.load()+ setLoading(false)+ }+ },+ })+ }++ return (+ <div+ className="+ border border-border-secondary-light dark:border-border-secondary-dark+ rounded+ flex flex-col"+ >+ <div+ className="+ p-4 px-6 flex+ bg-panel-header-light dark:bg-panel-header-dark+ border-b border-border-secondary-light dark:border-border-secondary-dark"+ >+ <div className="m-0 h-5 uppercase flex-1">+ <Typography.Title level={5}>{extension.name}</Typography.Title>+ </div>+ {loading ? (+ <img className="loading-spinner" src="/img/spinner.gif"></img>+ ) : (+ <Toggle+ size="tiny"+ checked={isOn}+ onChange={() => (isOn ? disableExtension() : enableExtension())}+ />+ )}+ </div>+ <div+ className="+ bg-panel-header-light dark:bg-panel-header-dark+ bg-panel-secondary-light dark:bg-panel-secondary-dark+ flex flex-col h-full"+ >+ <div className="p-4 px-6">+ <Typography.Text type="secondary">+ <span className="flex-grow capitalize-first">{extension.comment}</span>+ </Typography.Text>+ </div>+ {isOn && extension.schema && (+ <div className="p-4 px-6">+ <Typography.Text type="secondary" small>+ <span className="flex-grow capitalize-first">+ Schema: <Badge>{`${extension.schema}`}</Badge>+ </span>+ </Typography.Text>+ </div>+ )}+ </div>+ </div>+ )+}++export default observer(ExtensionCard)diff --git a/studio/components/interfaces/Database/Extensions/Extensions.tsx b/studio/components/interfaces/Database/Extensions/Extensions.tsxnew file mode 100644index 00000000000..5cbb144babb--- /dev/null+++ b/studio/components/interfaces/Database/Extensions/Extensions.tsx@@ -0,0 +1,65 @@+import { FC, useState } from 'react'+import { observer } from 'mobx-react-lite'+import { partition, isNull } from 'lodash'+import { Input, IconSearch, Typography } from '@supabase/ui'++import { useStore } from 'hooks'+import ExtensionCard from './ExtensionCard'++interface Props {}++const Extensions: FC<Props> = ({}) => {+ const { meta } = useStore()+ const [filterString, setFilterString] = useState<string>('')++ const extensions =+ filterString.length === 0+ ? meta.extensions.list()+ : meta.extensions.list((ext: any) => ext.name.includes(filterString))+ const [enabledExtensions, disabledExtensions] = partition(+ extensions,+ (ext: any) => !isNull(ext.installed_version)+ )++ return (+ <div className="p-4">+ <div className="mb-4">+ <div className="flex">+ <Input+ size="tiny"+ placeholder={'Filter'}+ value={filterString}+ onChange={(e) => setFilterString(e.target.value)}+ icon={<IconSearch size="tiny" />}+ />+ </div>+ </div>++ <div className="w-full my-8 space-y-12">+ {enabledExtensions.length > 0 && (+ <div>+ <Typography.Title level={4}>Enabled</Typography.Title>+ <div className="grid grid-cols-1 gap-6 md:grid-cols-2 xl:grid-cols-3 mb-4">+ {enabledExtensions.map((extension) => (+ <ExtensionCard key={extension.name} extension={extension} />+ ))}+ </div>+ </div>+ )}++ {disabledExtensions.length > 0 && (+ <div>+ <Typography.Title level={4}>Extensions</Typography.Title>+ <div className="grid grid-cols-1 gap-6 md:grid-cols-2 xl:grid-cols-3 mb-4">+ {disabledExtensions.map((extension) => (+ <ExtensionCard key={extension.name} extension={extension} />+ ))}+ </div>+ </div>+ )}+ </div>+ </div>+ )+}++export default observer(Extensions)diff --git a/studio/components/interfaces/Database/Functions/CreateFunction.tsx b/studio/components/interfaces/Database/Functions/CreateFunction.tsxnew file mode 100644index 00000000000..502dc170993--- /dev/null+++ b/studio/components/interfaces/Database/Functions/CreateFunction.tsx@@ -0,0 +1,860 @@+import { FC, useEffect, useContext, createContext, FormEvent } from 'react'+import { isEmpty, mapValues, has, filter, keyBy } from 'lodash'+import { observer, useLocalObservable } from 'mobx-react-lite'+import {+ Button,+ Input,+ Select,+ SidePanel,+ Typography,+ IconTrash,+ Divider,+ Radio,+ IconPlus,+ Toggle,+} from '@supabase/ui'+import { toast } from 'react-hot-toast'+import { Dictionary } from '@supabase/grid'+import { makeAutoObservable } from 'mobx'++import { POSTGRES_DATA_TYPES } from 'lib/constants'+import { useStore } from 'hooks'+import Panel from 'components/to-be-cleaned/Panel'+import SqlEditor from 'components/to-be-cleaned/SqlEditor'++class CreateFunctionFormState {+ id: number | undefined+ originalName: string | undefined+ // @ts-ignore+ args: { value: { name: string; type: string; error?: string }[] }+ // @ts-ignore+ behavior: { value: string; error?: string }+ // @ts-ignore+ configParams: {+ value: { name: string; value: string; error?: { name?: string; value?: string } }[]+ }+ // @ts-ignore+ definition: { value: string; error?: string }+ // @ts-ignore+ language: { value: string; error?: string }+ // @ts-ignore+ name: { value: string; error?: string }+ // @ts-ignore+ returnType: { value: string; error?: string }+ // @ts-ignore+ schema: { value: string; error?: string }+ // @ts-ignore+ securityDefiner: { value: boolean; error?: string }++ constructor() {+ makeAutoObservable(this)+ this.reset()+ }++ get requestBody() {+ return {+ id: this.id,+ name: this.name.value,+ schema: this.schema.value,+ definition: this.definition.value,+ return_type: this.returnType.value,+ language: this.language.value,+ behavior: this.behavior.value,+ security_definer: this.securityDefiner.value,+ args: this.args.value.map((x: any) => `${x.name} ${x.type}`),+ config_params: mapValues(keyBy(this.configParams.value, 'name'), 'value'),+ }+ }++ reset(func?: Dictionary<any>) {+ this.id = func?.id+ this.originalName = func?.name+ this.args = convertArgumentTypes(func?.argument_types)+ this.behavior = { value: func?.behavior ?? 'VOLATILE' }+ this.configParams = convertConfigParams(func?.config_params)+ this.definition = { value: func?.definition ?? '' }+ this.language = { value: func?.language ?? 'plpgsql' }+ this.name = { value: func?.name ?? '' }+ this.returnType = { value: func?.return_type ?? 'void' }+ this.schema = { value: func?.schema ?? 'public' }+ this.securityDefiner = { value: func?.security_definer ?? false }+ }++ update(state: Dictionary<any>) {+ this.args = state.args+ this.behavior = state.behavior+ this.configParams = state.configParams+ this.definition = state.definition+ this.language = state.language+ this.name = state.name+ this.returnType = state.returnType+ this.schema = state.schema+ this.securityDefiner = state.securityDefiner+ }+}++/**+ * convert argument_types = "a integer, b integer"+ * to args = {value: [{name:'a', type:'integer'}, {name:'b', type:'integer'}]}+ */+function convertArgumentTypes(value: string) {+ const items = value?.split(',')+ if (isEmpty(value) || !items || items?.length == 0) return { value: [] }+ const temp = items.map((x) => {+ const str = x.trim()+ const name = str.substr(0, str.indexOf(' '))+ const type = str.substr(str.indexOf(' ') + 1)+ return { name, type }+ })+ return { value: temp }+}++/**+ * convert config_params = {search_path: "auth, public"}+ * to {value: [{name: 'search_path', value: 'auth, public'}]}+ */+function convertConfigParams(value: Dictionary<any>) {+ const temp = []+ if (value) {+ for (var key in value) {+ temp.push({ name: key, value: value[key] })+ }+ }+ return { value: temp }+}++interface ICreateFunctionStore {+ loading: boolean+ formState: CreateFunctionFormState+ meta: any+ schemas: Dictionary<any>[]+ onFormChange: (value: { key: string; value: any }) => void+ onFormArrayChange: (value: {+ operation: 'add' | 'delete' | 'update'+ key: string+ idx?: number+ value?: any+ }) => void+ setSchemas: (value: Dictionary<any>[]) => void+ validateForm: () => boolean+}++class CreateFunctionStore implements ICreateFunctionStore {+ loading = false+ formState = new CreateFunctionFormState()+ meta = null+ schemas = []+ advancedVisible = false++ constructor() {+ makeAutoObservable(this)+ }++ get title() {+ return this.formState.id+ ? `Edit '${this.formState.originalName}' function`+ : 'Add a new Function'+ }++ get isEditing() {+ return this.formState.id != undefined+ }++ toggleAdvancedVisible = () => {+ this.advancedVisible = !this.advancedVisible+ }++ setSchemas = (value: Dictionary<any>[]) => {+ this.schemas = value as any+ }++ setLoading = (value: boolean) => {+ this.loading = value+ }++ onFormChange = ({ key, value }: { key: string; value: any }) => {+ if (has(this.formState, key)) {+ const temp = (this.formState as any)[key] as any+ ;(this.formState as any)[key] = { ...temp, value, error: undefined }+ } else {+ ;(this.formState as any)[key] = { value }+ }+ }++ onFormArrayChange = ({+ operation,+ key,+ idx,+ value,+ }: {+ operation: 'add' | 'delete' | 'update'+ key: string+ idx?: number+ value?: any+ }) => {+ switch (operation) {+ case 'add': {+ if (has(this.formState, key)) {+ ;(this.formState as any)[key].value.push(value)+ } else {+ ;(this.formState as any)[key] = { value: [value] }+ }+ break+ }+ case 'delete': {+ if (has(this.formState, key)) {+ const temp = filter(+ (this.formState as any)[key].value,+ (_: any, index: number) => index != idx+ ) as any+ ;(this.formState as any)[key].value = temp+ }+ break+ }+ default: {+ if (has(this.formState, key) && idx) {+ ;(this.formState as any)[key].value[idx] = value+ } else {+ ;(this.formState as any)[key] = { value: [{ value }] }+ }+ }+ }+ }++ validateForm = () => {+ let isValidated = true+ const _state = mapValues(this.formState, (x: { value: any }, key: string) => {+ switch (key) {+ case 'name': {+ if (isEmpty(x.value) || hasWhitespace(x.value)) {+ isValidated = false+ return { ...x, error: 'Invalid function name' }+ } else {+ return x+ }+ }+ case 'args': {+ const temp = x.value?.map((i: Dictionary<any>) => {+ if (isEmpty(i.name) || hasWhitespace(i.name)) {+ isValidated = false+ return { ...i, error: 'Invalid argument name' }+ } else {+ return i+ }+ })+ x.value = temp+ return x+ }+ case 'configParams': {+ const temp = x.value?.map((i: Dictionary<any>) => {+ const error: any = { name: undefined, value: undefined }+ if (isEmpty(i.name) || hasWhitespace(i.name)) {+ isValidated = false+ error.name = 'Invalid config name'+ }+ if (isEmpty(i.value)) {+ isValidated = false+ error.value = 'Missing config value'+ }+ return { ...i, error }+ })+ x.value = temp+ return x+ }+ default:+ return x+ }+ })+ if (!isValidated) {+ this.formState.update(_state)+ }+ return isValidated+ }+}++function hasWhitespace(value: string) {+ return /\s/.test(value)+}++const CreateFunctionContext = createContext<ICreateFunctionStore | null>(null)++type CreateFunctionProps = {+ func: any+ visible: boolean+ setVisible: (value: boolean) => void+} & any++const CreateFunction: FC<CreateFunctionProps> = ({ func, visible, setVisible }) => {+ const { meta } = useStore()+ const _localState = useLocalObservable(() => new CreateFunctionStore())+ _localState.meta = meta as any++ useEffect(() => {+ const fetchSchemas = async () => {+ await (_localState!.meta as any).schemas.load()+ const schemas = (_localState!.meta as any).schemas.list()+ _localState.setSchemas(schemas)+ }++ fetchSchemas()+ }, [])++ useEffect(() => {+ _localState.formState.reset(func)+ }, [visible, func])++ async function handleSubmit() {+ try {+ if (_localState.validateForm()) {+ _localState.setLoading(true)++ const body = _localState.formState.requestBody+ const response: any = body.id+ ? await (_localState!.meta as any).functions.update(body.id, body)+ : await (_localState!.meta as any).functions.create(body)++ if (response.error) {+ toast.error(`Error: ${response.error.message ?? 'submit request failed'}`)+ _localState.setLoading(false)+ } else {+ toast.success(+ `${_localState.isEditing ? 'Updated' : 'Created new'} function called ${response.name}`+ )+ _localState.setLoading(false)+ setVisible(!visible)+ }+ }+ } catch (error: any) {+ toast.error(error.message)+ _localState.setLoading(false)+ }+ }++ return (+ <>+ <SidePanel+ wide+ visible={visible}+ onCancel={() => setVisible(!visible)}+ // @ts-ignore+ contentStyle={{ padding: 0 }}+ footerBackground={true}+ title={_localState.title}+ className="hooks-sidepanel transform transition-all duration-300 ease-in-out mr-0"+ loading={_localState.loading}+ onConfirm={handleSubmit}+ >+ <CreateFunctionContext.Provider value={_localState}>+ <div className="space-y-10 mt-4">+ {_localState.isEditing ? (+ <>+ <div className="px-6 space-y-6">+ <InputName />+ <SelectSchema />+ </div>+ <Divider light />+ <div className="px-6 space-y-6">+ <InputMultiArguments readonly={true} />+ <InputDefinition />+ </div>+ </>+ ) : (+ <div className="space-y-6">+ <InputName />+ <Divider light />+ <SelectSchema />+ <SelectReturnType />+ <Divider light />+ <InputMultiArguments />+ <Divider light />+ <InputDefinition />+ <Divider light />+ <div className="px-6">+ <Panel>+ <div className={`space-y-8 py-4 dark:bg-bg-alt-dark rounded`}>+ <div className={`px-6`}>+ <Toggle+ onChange={() => _localState.toggleAdvancedVisible()}+ label="Show advanced settings"+ labelOptional="These are settings that might be familiar for postgres heavy users "+ />+ </div>+ {/* advanced selections */}+ </div>+ </Panel>+ </div>+ {_localState.advancedVisible && (+ <>+ {/* <Divider light /> */}+ <SelectLanguage />+ <SelectBehavior />+ <Divider light />+ <InputMultiConfigParams />+ <Divider light />+ <RadioSecurity />+ </>+ )}+ </div>+ )}+ </div>+ </CreateFunctionContext.Provider>+ </SidePanel>+ </>+ )+}++export default observer(CreateFunction)++const InputName: FC = observer(({}) => {+ const _localState = useContext(CreateFunctionContext)+ return (+ <div className={'px-6'}>+ <Input+ id="name"+ label="Name of function"+ layout="horizontal"+ placeholder="Name of function"+ value={_localState!.formState.name.value}+ onChange={(e) =>+ _localState!.onFormChange({+ key: 'name',+ value: e.target.value,+ })+ }+ size="small"+ error={_localState!.formState.name.error}+ descriptionText="Name will also be used for the function name in postgres"+ />+ </div>+ )+})++type InputMultiArgumentsProps = {+ readonly?: boolean+}++const InputMultiArguments: FC<InputMultiArgumentsProps> = observer(({ readonly }) => {+ const _localState = useContext(CreateFunctionContext)++ function onAddArgument() {+ _localState!.onFormArrayChange({+ key: 'args',+ value: { name: '', type: 'bool' },+ operation: 'add',+ })+ }++ return (+ <div className={'px-6'}>+ <div className="flex flex-col">+ <Typography.Text>Arguments</Typography.Text>+ <Typography.Text type="secondary">+ Arguments can be referenced in the function body using either names or numbers.+ </Typography.Text>+ </div>+ <div className="pt-4 space-y-2">+ {readonly && isEmpty(_localState!.formState.args.value) && (+ <Typography.Text type="secondary" className="opacity-50">+ No argument for this function+ </Typography.Text>+ )}+ {_localState!.formState.args.value.map(+ (x: { name: string; type: string; error?: string }, idx: number) => (+ <InputArgument+ key={`arg-${idx}`}+ idx={idx}+ name={x.name}+ type={x.type}+ error={x.error}+ readonly={readonly}+ />+ )+ )}+ {!readonly && (+ <div className="">+ <Button type="dashed" icon={<IconPlus />} onClick={onAddArgument} disabled={readonly}>+ Add a new argument+ </Button>+ </div>+ )}+ </div>+ </div>+ )+})++type InputArgumentProps = {+ idx: number+ name: string+ type: string+ error?: string+ readonly?: boolean+}+const InputArgument: FC<InputArgumentProps> = observer(({ idx, name, type, error, readonly }) => {+ const _localState = useContext(CreateFunctionContext)++ function onNameChange(e: FormEvent<HTMLInputElement>) {+ const _value = e.currentTarget.value+ _localState!.onFormArrayChange({+ key: 'args',+ value: { name: _value, type },+ idx,+ operation: 'update',+ })+ }++ function onTypeChange(e: FormEvent<HTMLSelectElement>) {+ const _value = e.currentTarget.value+ _localState!.onFormArrayChange({+ key: 'args',+ value: { name, type: _value },+ idx,+ operation: 'update',+ })+ }++ function onDelete() {+ _localState!.onFormArrayChange({+ key: 'args',+ idx,+ operation: 'delete',+ })+ }++ return (+ <div className={`flex flex-row space-x-1`}>+ <Input+ id={`name-${idx}`}+ className="flex-1 flex-grow"+ value={name}+ placeholder="Name of argument"+ onChange={onNameChange}+ size="small"+ error={error}+ disabled={readonly}+ />+ <Select+ id={`type-${idx}`}+ className="flex-1"+ value={type}+ onChange={onTypeChange}+ size="small"+ disabled={readonly}+ >+ <Select.Option value="integer">integer</Select.Option>+ {POSTGRES_DATA_TYPES.map((x: string) => (+ <Select.Option key={x} value={x}>+ {x}+ </Select.Option>+ ))}+ </Select>+ {!readonly && (+ <div>+ <Button+ danger+ type="primary"+ icon={<IconTrash size="tiny" />}+ onClick={onDelete}+ size="small"+ />+ </div>+ )}+ </div>+ )+})++const InputMultiConfigParams: FC = observer(({}) => {+ const _localState = useContext(CreateFunctionContext)++ function onAddArgument() {+ _localState!.onFormArrayChange({+ key: 'configParams',+ value: { name: '', value: '' },+ operation: 'add',+ })+ }++ return (+ <div className={'px-6'}>+ <div className="flex justify-between items-center">+ <Typography.Text>Config Params</Typography.Text>+ </div>+ <div className="pt-4 space-y-2">+ {_localState!.formState.configParams.value.map(+ (+ x: { name: string; value: string; error?: { name?: string; value?: string } },+ idx: number+ ) => (+ <InputConfigParam+ key={`configParam-${idx}`}+ idx={idx}+ name={x.name}+ value={x.value}+ error={x.error}+ />+ )+ )}+ </div>+ <div className="pt-2">+ <Button type="dashed" icon={<IconPlus />} onClick={onAddArgument}>+ Add a new config+ </Button>+ </div>+ </div>+ )+})++type InputConfigParamProps = {+ idx: number+ name: string+ value: string+ error?: { name?: string; value?: string }+}+const InputConfigParam: FC<InputConfigParamProps> = observer(({ idx, name, value, error }) => {+ const _localState = useContext(CreateFunctionContext)++ function onNameChange(e: FormEvent<HTMLInputElement>) {+ const _value = e.currentTarget.value+ _localState!.onFormArrayChange({+ key: 'configParams',+ value: { name: _value, value },+ idx,+ operation: 'update',+ })+ }++ function onValueChange(e: FormEvent<HTMLInputElement>) {+ const _value = e.currentTarget.value+ _localState!.onFormArrayChange({+ key: 'configParams',+ value: { name, value: _value },+ idx,+ operation: 'update',+ })+ }++ function onDelete() {+ _localState!.onFormArrayChange({+ key: 'configParams',+ idx,+ operation: 'delete',+ })+ }++ return (+ <div className={`flex space-x-1`}>+ <Input+ id={`name-${idx}`}+ className="flex-1"+ placeholder="Name of config"+ value={name}+ onChange={onNameChange}+ size="small"+ error={error?.name}+ />+ <Input+ id={`value-${idx}`}+ className="flex-1"+ placeholder="Value of config"+ value={value}+ onChange={onValueChange}+ size="small"+ error={error?.value}+ />+ <div>+ <Button+ danger+ type="primary"+ icon={<IconTrash size="tiny" />}+ onClick={onDelete}+ size="small"+ />+ </div>+ </div>+ )+})++const InputDefinition: FC = observer(({}) => {+ const _localState = useContext(CreateFunctionContext)+ return (+ <div className={`space-y-4 px-6`}>+ <div className="flex flex-col">+ <Typography.Text>Definition</Typography.Text>+ <Typography.Text type="secondary">+ The language below should be written in `{_localState!.formState.language.value}`.+ </Typography.Text>+ <Typography.Text type="secondary">+ Change the language in the Advanced Settings below.+ </Typography.Text>+ </div>+ <div className="h-40 border dark:border-dark">+ {/* @ts-ignore */}+ <SqlEditor+ defaultValue={_localState!.formState.definition.value}+ // @ts-ignore+ onInputChange={(value: string | undefined) => {+ _localState!.onFormChange({+ key: 'definition',+ value: value,+ })+ }}+ contextmenu={false}+ />+ </div>+ </div>+ )+})++const SelectSchema: FC = observer(({}) => {+ const _localState = useContext(CreateFunctionContext)++ return (+ <div className={`space-y-4 px-6`}>+ <Select+ id="schema"+ label="Schema"+ layout="horizontal"+ value={_localState!.formState.schema.value}+ onChange={(e) =>+ _localState!.onFormChange({+ key: 'schema',+ value: e.target.value,+ })+ }+ placeholder="Pick a schema"+ size="small"+ descriptionText="Tables made in the table editor will be in 'public'"+ >+ {_localState!.schemas.map((x) => (+ <Select.Option key={x.name} value={x.name}>+ {x.name}+ </Select.Option>+ ))}+ </Select>+ </div>+ )+})++const SelectLanguage: FC = observer(({}) => {+ const _localState = useContext(CreateFunctionContext)++ return (+ <div className={`space-y-4 px-6`}>+ <Select+ id="language"+ label="Language"+ layout="horizontal"+ value={_localState!.formState.language.value}+ onChange={(e) =>+ _localState!.onFormChange({+ key: 'language',+ value: e.target.value,+ })+ }+ placeholder="Pick a language"+ size="small"+ >+ <Select.Option value="sql">sql</Select.Option>+ <Select.Option value="plpgsql">plpgsql</Select.Option>+ </Select>+ </div>+ )+})++const SelectReturnType: FC = observer(({}) => {+ const _localState = useContext(CreateFunctionContext)++ return (+ <div className={`space-y-4 px-6`}>+ <Select+ id="returnType"+ label="Return type"+ layout="horizontal"+ value={_localState!.formState.returnType.value}+ onChange={(e) =>+ _localState!.onFormChange({+ key: 'returnType',+ value: e.target.value,+ })+ }+ size="small"+ >+ <Select.Option value="void">void</Select.Option>+ <Select.Option value="record">record</Select.Option>+ <Select.Option value="trigger">trigger</Select.Option>+ <Select.Option value="integer">integer</Select.Option>+ {POSTGRES_DATA_TYPES.map((x: string) => (+ <Select.Option key={x} value={x}>+ {x}+ </Select.Option>+ ))}+ </Select>+ </div>+ )+})++const SelectBehavior: FC = observer(({}) => {+ const _localState = useContext(CreateFunctionContext)++ return (+ <div className={`space-y-4 px-6`}>+ <Select+ id="behavior"+ label="Behavior"+ layout="horizontal"+ value={_localState!.formState.behavior.value}+ onChange={(e) =>+ _localState!.onFormChange({+ key: 'behavior',+ value: e.target.value,+ })+ }+ size="small"+ >+ <Select.Option value="IMMUTABLE">immutable</Select.Option>+ <Select.Option value="STABLE">stable</Select.Option>+ <Select.Option value="VOLATILE">volatile</Select.Option>+ </Select>+ </div>+ )+})++const RadioSecurity: FC = observer(({}) => {+ const _localState = useContext(CreateFunctionContext)++ return (+ <>+ <div className={`space-y-4 px-6`}>+ <Radio.Group+ type="cards"+ label="Type of security"+ layout="vertical"+ onChange={(event) => {+ _localState!.onFormChange({+ key: 'securityDefiner',+ value: event.target.value == 'SECURITY_DEFINER',+ })+ }}+ value={+ _localState!.formState.securityDefiner.value ? 'SECURITY_DEFINER' : 'SECURITY_INVOKER'+ }+ error={_localState!.formState.securityDefiner.error}+ >+ <Radio+ id="SECURITY_INVOKER"+ label="SECURITY INVOKER"+ value="SECURITY_INVOKER"+ checked={!_localState!.formState.securityDefiner.value}+ description="function is to be executed with the privileges of the user that calls it."+ />+ <Radio+ id="SECURITY_DEFINER"+ label="SECURITY DEFINER"+ value="SECURITY_DEFINER"+ checked={_localState!.formState.securityDefiner.value}+ description="Function is to be executed with the privileges of the user that created it."+ />+ </Radio.Group>+ </div>+ </>+ )+})diff --git a/studio/components/interfaces/Database/Functions/DeleteFunction.tsx b/studio/components/interfaces/Database/Functions/DeleteFunction.tsxnew file mode 100644index 00000000000..7ca64024cac--- /dev/null+++ b/studio/components/interfaces/Database/Functions/DeleteFunction.tsx@@ -0,0 +1,56 @@+import { FC, useState } from 'react'+import toast from 'react-hot-toast'+import { observer } from 'mobx-react-lite'+import { useStore } from 'hooks'+import TextConfirmModal from 'components/to-be-cleaned/ModalsDeprecated/TextConfirmModal'++type DeleteFunctionProps = {+ func?: any+ visible: boolean+ setVisible: (value: boolean) => void+} & any++const DeleteFunction: FC<DeleteFunctionProps> = ({ func, visible, setVisible }) => {+ const { meta } = useStore()+ const [loading, setLoading] = useState(false)+ const { id, name, schema } = func ?? {}++ async function handleDelete() {+ try {+ setLoading(true)+ if (!id) {+ throw Error('Invalid function info')+ }+ const response: any = await meta.functions.del(id)+ if (response.error) {+ throw response.error+ } else {+ toast.success(`Function ${name} removed`)+ setVisible(false)+ }+ } catch (error: any) {+ toast.error(`Deleting ${name} failed: ${error.message}`)+ } finally {+ setLoading(false)+ }+ }++ return (+ <>+ <TextConfirmModal+ visible={visible}+ onCancel={() => setVisible(!visible)}+ onConfirm={handleDelete}+ title="Delete this function"+ loading={loading}+ confirmLabel={`Delete function ${name}`}+ confirmPlaceholder="Type in name of function"+ confirmString={name}+ text={`This will delete your function called ${name} of schema ${schema}.`}+ alert="You cannot recover this function once it is deleted!"+ />+ </>+ )+}++export default observer(DeleteFunction)diff --git a/studio/components/interfaces/Database/Hooks/CreateHook.tsx b/studio/components/interfaces/Database/Hooks/CreateHook.tsxnew file mode 100644index 00000000000..82f528bb430--- /dev/null+++ b/studio/components/interfaces/Database/Hooks/CreateHook.tsx@@ -0,0 +1,1100 @@+import * as React from 'react'+import { makeAutoObservable } from 'mobx'+import { observer, useLocalObservable } from 'mobx-react-lite'+import { isEmpty, mapValues, has, without, union, filter, keyBy } from 'lodash'+import { Dictionary } from '@supabase/grid'+import {+ Input,+ SidePanel,+ Divider,+ Checkbox,+ Listbox,+ Typography,+ Button,+ Radio,+ Select,+ Badge,+ IconTrash,+ IconPlus,+} from '@supabase/ui'++import Image from 'next/image'+import SVG from 'react-inlinesvg'+import toast from 'react-hot-toast'+import { useStore } from 'hooks'++class CreateHookFormState {+ id: number | undefined+ originalName: string | undefined+ // @ts-ignore+ enabledMode: { value: string }+ // @ts-ignore+ events: { value: string[]; error?: string }+ // @ts-ignore+ name: { value: string; error?: string }+ // @ts-ignore+ schema: { value: string }+ // @ts-ignore+ table: { value: string; error?: string }+ // @ts-ignore+ tableId: { value: number; error?: string }+ // @ts-ignore+ hookService: { value: string; error?: string }+ // @ts-ignore+ serviceUrl: { value: string; error?: string }+ // @ts-ignore+ serviceMethod: { value: string; error?: string }+ // @ts-ignore+ serviceHeaders: {+ value: { name: string; value: string; error?: { name?: string; value?: string } }[]+ }+ // @ts-ignore+ serviceParams: {+ value: { name: string; value: string; error?: { name?: string; value?: string } }[]+ }+ // @ts-ignore+ serviceTimeoutMs: { value: string; error?: string }++ constructor() {+ makeAutoObservable(this)+ this.reset()+ }++ get requestBody() {+ return {+ id: this.id,+ activation: 'AFTER',+ enabled_mode: this.enabledMode.value,+ events: this.events.value,+ function_args: [+ this.serviceUrl.value,+ this.serviceMethod.value,+ JSON.stringify(mapValues(keyBy(this.serviceHeaders.value, 'name'), 'value')),+ JSON.stringify(mapValues(keyBy(this.serviceParams.value, 'name'), 'value')),+ this.serviceTimeoutMs.value,+ ],+ function_name: 'http_request',+ function_schema: 'supabase_functions',+ orientation: 'ROW',+ name: this.name.value,+ schema: this.schema.value,+ table: this.table.value,+ table_id: this.tableId.value,+ }+ }++ reset(hook?: Dictionary<any>) {+ this.id = hook?.id+ this.originalName = hook?.name+ this.enabledMode = { value: hook?.enabled_mode ?? 'ORIGIN' }+ this.events = { value: hook?.events ?? [] }+ this.name = { value: hook?.name ?? '' }+ this.schema = { value: hook?.schema ?? '' }+ this.table = { value: hook?.table ?? '' }+ this.tableId = { value: hook?.table_id ?? '' }+ // TODO: hook obj doesn't have service field+ this.hookService = { value: 'http_request' }+ /**+ * hook.function_args contains 5 params in order+ * [url, method, headers, params, timeout]+ */+ this.serviceUrl = { value: hook?.function_args?.length == 5 ? hook?.function_args[0] : '' }+ this.serviceMethod = {+ value: hook?.function_args?.length == 5 ? hook?.function_args[1] : 'GET',+ }+ this.serviceHeaders =+ hook?.function_args?.length == 5+ ? convertKeyValue(hook?.function_args[2])+ : { value: [{ name: 'Content-type', value: 'application/json' }] }++ this.serviceParams =+ hook?.function_args?.length == 5 ? convertKeyValue(hook?.function_args[3]) : { value: [] }++ this.serviceTimeoutMs = {+ value: hook?.function_args?.length == 5 ? hook?.function_args[4] : '1000',+ }+ }++ update(state: Dictionary<any>) {+ this.enabledMode = state.enabledMode+ this.events = state.events+ this.name = state.name+ this.schema = state.schema+ this.table = state.table+ this.tableId = state.tableId+ this.hookService = state.hookService+ this.serviceUrl = state.serviceUrl+ this.serviceMethod = state.serviceMethod+ this.serviceHeaders = state.serviceHeaders+ this.serviceParams = state.serviceParams+ this.serviceTimeoutMs = state.serviceTimeoutMs+ }+}++/**+ * convert "{\"Content-type\":\"application/json\"}"+ * to {value: [{name: 'search_path', value: 'auth, public'}]}+ */+function convertKeyValue(value: string) {+ const temp = []+ if (value) {+ const obj = JSON.parse(value)+ for (var key in obj) {+ temp.push({ name: key, value: obj[key] })+ }+ }+ return { value: temp }+}++interface ICreateHookStore {+ loading: boolean+ formState: CreateHookFormState+ meta: any+ project: any+ tables: Dictionary<any>[]+ onFormChange: (value: { key: string; value: any }) => void+ onFormArrayChange: (value: {+ operation: 'add' | 'delete' | 'update'+ key: string+ idx?: number+ value?: any+ }) => void+ setDefaultSelectedTable: () => void+ setLoading: (value: boolean) => void+ setTables: (value: Dictionary<any>[]) => void+ validateForm: () => boolean+}++class CreateHookStore implements ICreateHookStore {+ loading = false+ formState = new CreateHookFormState()+ meta = null+ project = null+ tables = []++ constructor() {+ makeAutoObservable(this)+ }++ get title() {+ return this.formState.id+ ? `Edit '${this.formState.originalName}' Function Hook`+ : 'Add a new Function Hook'+ }++ get isEditing() {+ return this.formState.id != undefined+ }++ // set first table as default selection+ setDefaultSelectedTable = () => {+ if (this.tables?.length != 0) {+ this.formState.schema.value = (this.tables[0] as any).schema+ this.formState.table.value = (this.tables[0] as any).name+ this.formState.tableId.value = (this.tables[0] as any).id+ }+ }++ setLoading = (value: boolean) => {+ this.loading = value+ }++ setTables = (value: Dictionary<any>[]) => {+ this.tables = value as any+ this.setDefaultSelectedTable()+ }++ onFormChange = ({ key, value }: { key: string; value: any }) => {+ if (has(this.formState, key)) {+ const temp = (this.formState as any)[key] as any+ ;(this.formState as any)[key] = { ...temp, value, error: undefined }+ } else {+ ;(this.formState as any)[key] = { value }+ }+ }++ onFormArrayChange = ({+ operation,+ key,+ idx,+ value,+ }: {+ operation: 'add' | 'delete' | 'update'+ key: string+ idx?: number+ value?: any+ }) => {+ switch (operation) {+ case 'add': {+ if (has(this.formState, key)) {+ ;(this.formState as any)[key].value.push(value)+ } else {+ ;(this.formState as any)[key] = { value: [value] }+ }+ break+ }+ case 'delete': {+ if (has(this.formState, key)) {+ const temp = filter(+ (this.formState as any)[key].value,+ (_: any, index: number) => index != idx+ ) as any+ ;(this.formState as any)[key].value = temp+ }+ break+ }+ default: {+ if (has(this.formState, key) && idx) {+ ;(this.formState as any)[key].value[idx] = value+ } else {+ ;(this.formState as any)[key] = { value: [{ value }] }+ }+ }+ }+ }++ validateForm = () => {+ let isValidated = true+ const _state = mapValues(this.formState, (x: { value: any }, key: string) => {+ switch (key) {+ case 'name': {+ if (isEmpty(x.value) || hasWhitespace(x.value)) {+ isValidated = false+ return { ...x, error: 'Invalid hook name' }+ } else {+ return x+ }+ }+ case 'events': {+ if (isEmpty(x.value)) {+ isValidated = false+ return { ...x, error: 'Select at least 1 event' }+ } else {+ return x+ }+ }+ case 'table': {+ if (isEmpty(x.value)) {+ isValidated = false+ return { ...x, error: 'You must choose a table' }+ } else {+ return x+ }+ }+ case 'hookService': {+ if (x.value != 'http_request') {+ isValidated = false+ return { ...x, error: 'Not supported service' }+ } else {+ return x+ }+ }+ case 'serviceTimeoutMs': {+ if (isEmpty(x.value) || isNaN(x.value)) {+ isValidated = false+ return { ...x, error: 'Invalid input' }+ } else {+ return x+ }+ }+ case 'serviceUrl': {+ if (isEmpty(x.value) || !isValidHttpUrl(x.value)) {+ isValidated = false+ return { ...x, error: 'Invalid input' }+ } else {+ return x+ }+ }+ case 'serviceMethod': {+ if (isEmpty(x.value)) {+ isValidated = false+ return { ...x, error: 'Invalid input' }+ } else {+ return x+ }+ }+ case 'serviceHeaders':+ case 'serviceParams': {+ const temp = x.value?.map((i: Dictionary<any>) => {+ const error: any = { name: undefined, value: undefined }+ if (isEmpty(i.name) || hasWhitespace(i.name)) {+ isValidated = false+ error.name = 'Invalid name'+ }+ if (isEmpty(i.value)) {+ isValidated = false+ error.value = 'Missing value'+ }+ return { ...i, error }+ })+ x.value = temp+ return x+ }+ default:+ return x+ }+ })+ if (!isValidated) {+ this.formState.update(_state)+ }+ return isValidated+ }+}++function hasWhitespace(value: string) {+ return /\s/.test(value)+}++function isValidHttpUrl(value: string) {+ let url: URL+ try {+ url = new URL(value)+ } catch (_) {+ return false+ }+ return url.protocol === 'http:' || url.protocol === 'https:'+}++const CreateHookContext = React.createContext<ICreateHookStore | null>(null)++type CreateHookProps = {+ hook?: any+ visible: boolean+ setVisible: (value: boolean) => void+} & any++const CreateHook: React.FC<CreateHookProps> = ({ hook, visible = true, setVisible }) => {+ const { meta, ui } = useStore()+ const project = ui.selectedProject++ const _localState: any = useLocalObservable(() => new CreateHookStore())+ _localState.meta = meta+ _localState.project = project++ React.useEffect(() => {+ const fetchSchemas = async () => {+ await _localState.meta.tables.load()+ const tables = _localState!.meta!.tables.list(+ (table: any) => !meta.excludedSchemas.includes(table.schema)+ )+ _localState.setTables(tables)+ }++ fetchSchemas()+ }, [])++ React.useEffect(() => {+ if (hook) {+ _localState.formState.reset(hook)+ } else {+ _localState.formState.reset()+ _localState.setDefaultSelectedTable()+ }+ }, [visible, hook])++ async function handleSubmit() {+ try {+ if (_localState.validateForm()) {+ _localState.setLoading(true)++ const body = _localState.formState.requestBody++ const response: any = _localState.isEditing+ ? await _localState.meta.hooks.update(body.id, body)+ : await _localState.meta.hooks.create(body)++ if (response.error) {+ toast.error(`Error: ${response.error.message ?? 'submit request failed'}`)+ _localState.setLoading(false)+ } else {+ toast.success(+ `${_localState.isEditing ? 'Updated' : 'Created new'} hook called ${response.name}`+ )+ _localState.setLoading(false)+ setVisible(!visible)+ }+ }+ } catch (error: any) {+ toast.error(error.message)+ _localState.setLoading(false)+ }+ }++ return (+ <>+ <SidePanel+ wide+ visible={visible}+ onCancel={() => setVisible(!visible)}+ // @ts-ignore+ contentStyle={{ padding: 0 }}+ footerBackground={true}+ title={_localState.title}+ className={+ 'hooks-sidepanel transform transition-all duration-300 ease-in-out mr-0 ' + '' // (showCreateFunctionSidePanel ? 'mr-16' : '')+ }+ loading={_localState.loading}+ onConfirm={handleSubmit}+ >+ <CreateHookContext.Provider value={_localState}>+ <div className="space-y-6 mt-4 pb-8">+ {_localState.isEditing ? (+ <div className="px-6 space-y-6">+ <InputName />+ <SelectEnabledMode />+ </div>+ ) : (+ <>+ <div className="px-6">+ <InputName />+ </div>+ <Divider light />+ <div className="px-6 space-y-6">+ <Typography.Title level={5}>Conditions to fire hook</Typography.Title>+ <ListboxTable />+ <CheckboxEvents />+ </div>+ <Divider light />+ <div className="px-6 space-y-6">+ <Typography.Title level={5}>Type of hook</Typography.Title>+ <RadioGroupHookService />+ </div>+ <ServiceConfigForm />+ </>+ )}+ </div>+ </CreateHookContext.Provider>+ </SidePanel>+ </>+ )+}++export default observer(CreateHook)++const InputName: React.FC = observer(({}) => {+ const _localState: any = React.useContext(CreateHookContext)+ return (+ <Input+ id="name"+ label="Name"+ layout="horizontal"+ placeholder="Name of your function hook"+ value={_localState.formState.name.value}+ onChange={(e) =>+ _localState.onFormChange({+ key: 'name',+ value: e.target.value,+ })+ }+ size="medium"+ error={_localState.formState.name.error}+ />+ )+})++const SelectEnabledMode: React.FC = observer(({}) => {+ const _localState: any = React.useContext(CreateHookContext)+ return (+ <Select+ id="enabled-mode"+ label="Enabled mode"+ layout="horizontal"+ value={_localState.formState.enabledMode.value}+ onChange={(e) =>+ _localState.onFormChange({+ key: 'enabledMode',+ value: e.target.value,+ })+ }+ size="small"+ >+ <Select.Option value="ORIGIN">Origin</Select.Option>+ <Select.Option value="REPLICA">Replica</Select.Option>+ <Select.Option value="ALWAYS">Always</Select.Option>+ <Select.Option value="DISABLED">Disabled</Select.Option>+ </Select>+ )+})++const CheckboxEvents: React.FC = observer(({}) => {+ const _localState: any = React.useContext(CreateHookContext)+ return (+ // @ts-ignore+ <Checkbox.Group+ name="events"+ label="Events"+ id="events"+ layout="horizontal"+ size="medium"+ onChange={(e) => {+ const temp = _localState.formState.events.value+ const value = e.target.checked+ ? union(temp, [e.target.value])+ : without(temp, e.target.value)+ _localState.onFormChange({+ key: 'events',+ value: value,+ })+ }}+ error={_localState.formState.events.error}+ labelOptional="The type of events that will trigger your function hook"+ descriptionText="These are the events that are watched by the function hook, only the events selected above will fire the function hook on the table you've selected."+ >+ <Checkbox+ value="INSERT"+ label="Insert"+ description={'Any insert operation on the table'}+ checked={_localState.formState.events.value.includes('INSERT')}+ />+ <Checkbox+ value="UPDATE"+ label="Update"+ description="Any update operation, of any column in the table"+ checked={_localState.formState.events.value.includes('UPDATE')}+ />+ <Checkbox+ value="DELETE"+ label="Delete"+ description="Any deletion of a record"+ checked={_localState.formState.events.value.includes('DELETE')}+ />+ </Checkbox.Group>+ )+})++const ListboxTable: React.FC = observer(({}) => {+ const _localState: any = React.useContext(CreateHookContext)++ return (+ <Listbox+ id="table"+ label="Table"+ layout="horizontal"+ value={_localState.formState.tableId.value}+ onChange={(id) => {+ const _table = _localState.tables.find((x: any) => x.id === id)+ if (_table) {+ _localState.onFormChange({+ key: 'schema',+ value: _table.schema,+ })+ _localState.onFormChange({+ key: 'table',+ value: _table.name,+ })+ _localState.onFormChange({+ key: 'tableId',+ value: id,+ })+ }+ }}+ size="medium"+ error={_localState.formState.table.error}+ descriptionText="This is the table the trigger will watch for changes. You can only select 1 table for a trigger."+ >+ {_localState.tables.map((x: any) => {+ return (+ <Listbox.Option+ id={x.id}+ key={x.id}+ value={x.id}+ label={x.name}+ addOnBefore={() => (+ <div className="bg-green-600 p-1 flex items-center justify-center rounded text-typography-body-dark ">+ <SVG+ src={'/img/table-editor.svg'}+ style={{ width: `16px`, height: `16px`, strokeWidth: '1px' }}+ preProcessor={(code) =>+ code.replace(/svg/, 'svg class="m-auto text-color-inherit"')+ }+ />+ </div>+ )}+ >+ <div className="flex flex-row items-center space-x-1">+ <Typography.Text>{x.name}</Typography.Text>+ <Divider light type="vertical" />+ <Typography.Text type="secondary" className="opacity-50" small>+ {x.schema}+ </Typography.Text>+ </div>+ </Listbox.Option>+ )+ })}+ </Listbox>+ )+})++const hookServiceOptions: {+ id: string+ label: string+ badge: string+ badgeType: 'green' | 'blue'+ description: string+ img_url: string+}[] = [+ {+ id: 'http_request',+ label: 'HTTP Request',+ badge: 'Alpha',+ badgeType: 'green',+ description: 'Send an HTTP request to any URL.',+ img_url: 'http-request.png',+ },+ {+ id: 'supabase_function',+ label: 'Supabase Function',+ badge: 'Coming soon',+ badgeType: 'blue',+ description: 'Choose a Supabase Function to run.',+ img_url: 'supabase-severless-function.png',+ },+ {+ id: 'google_cloud_function',+ label: 'Google cloud run',+ badge: 'Coming soon',+ badgeType: 'blue',+ description: 'Choose a google cloud function to run',+ img_url: 'google-cloud-run.png',+ },+ {+ id: 'aws_lambda_function',+ label: 'AWS Lambda',+ badge: 'Coming soon',+ badgeType: 'blue',+ description: 'Choose an AWS Lambda function to run.',+ img_url: 'aws-lambda-severless-function.png',+ },+]+const RadioGroupHookService: React.FC = observer(({}) => {+ const _localState: any = React.useContext(CreateHookContext)+ return (+ <>+ <div className="provider-radio-group">+ <Radio.Group+ type="cards"+ layout="vertical"+ onChange={(event) => {+ _localState.onFormChange({+ key: 'hookService',+ value: event.target.value,+ })+ }}+ value={_localState.formState.hookService.value}+ error={_localState.formState.hookService.error}+ >+ {hookServiceOptions.map((x) => (+ <RadioHookService key={x.id} {...x} />+ ))}+ </Radio.Group>+ </div>+ </>+ )+})++type RadioHookService = {+ id: string+ description: string+ label: string+ img_url: string+ badgeType: 'green' | 'blue'+ badge: string+}++const RadioHookService: React.FC<RadioHookService> = observer(+ ({ id, description, label, img_url, badgeType, badge }) => {+ const _localState: any = React.useContext(CreateHookContext)+ return (+ <Radio+ id={id}+ // label={label}+ value={id}+ checked={_localState.formState.hookService.value == id}+ // @ts-ignore+ beforeLabel={+ <>+ <div className="flex items-center space-x-3">+ {/* <div className="h-3 w-3"> */}+ <Image+ src={`/img/function-providers/${img_url}`}+ layout="fixed"+ width="32"+ height="32"+ />+ {/* </div> */}+ <div className="flex-col space-y-0">+ <div className="flex space-x-1">+ <Typography.Text>{label}</Typography.Text>+ <Badge color={badgeType}>{badge}</Badge>+ </div>+ <Typography.Text type="secondary">{description}</Typography.Text>+ </div>+ </div>+ </>+ }+ // @ts-ignore+ // description={description}+ />+ )+ }+)++const ServiceConfigForm: React.FC = observer(({}) => {+ const _localState: any = React.useContext(CreateHookContext)+ return (+ <>+ {_localState.formState.hookService.value === 'http_request' ? (+ <>+ <Divider light />+ <div className="space-y-10">+ <div className="px-6 space-y-6">+ <Typography.Title level={5}>HTTP Request</Typography.Title>+ <SelectServiceMethod />+ <InputServiceUrl />+ {/* <InputServiceTimeout /> */}+ </div>+ <Divider light />+ <div className="px-6">+ <InputMultiServiceHeaders />+ </div>+ <Divider light />+ <div className="px-6">+ <InputMultiServiceParams />+ </div>+ </div>+ </>+ ) : (+ <ServiceUnavailableBox />+ )}+ </>+ )+})++const InputServiceUrl: React.FC = observer(({}) => {+ const _localState: any = React.useContext(CreateHookContext)+ return (+ <Input+ id="service-url"+ type="url"+ label="URL"+ layout="horizontal"+ placeholder="http://api.com/path/resource"+ descriptionText="URL of the HTTP request. Must include HTTP/HTTPS"+ value={_localState.formState.serviceUrl.value}+ onChange={(e) =>+ _localState.onFormChange({+ key: 'serviceUrl',+ value: e.target.value,+ })+ }+ size="medium"+ error={_localState.formState.serviceUrl.error}+ />+ )+})++const InputServiceTimeout: React.FC = observer(({}) => {+ const _localState: any = React.useContext(CreateHookContext)+ return (+ <Input+ id="timeout-ms"+ type="number"+ label="Request timeout"+ layout="horizontal"+ descriptionText="Request timeout value in millisecond"+ value={_localState.formState.serviceTimeoutMs.value}+ onChange={(e) =>+ _localState.onFormChange({+ key: 'serviceTimeoutMs',+ value: e.target.value,+ })+ }+ size="medium"+ error={_localState.formState.serviceTimeoutMs.error}+ />+ )+})++const SelectServiceMethod: React.FC = observer(({}) => {+ const _localState: any = React.useContext(CreateHookContext)+ return (+ <Select+ id="method"+ label="Method"+ layout="horizontal"+ value={_localState.formState.serviceMethod.value}+ onChange={(e) =>+ _localState.onFormChange({+ key: 'serviceMethod',+ value: e.target.value,+ })+ }+ size="small"+ >+ <Select.Option value="GET">GET</Select.Option>+ <Select.Option value="POST">POST</Select.Option>+ </Select>+ )+})++const InputMultiServiceHeaders: React.FC = observer(({}) => {+ const _localState: any = React.useContext(CreateHookContext)++ function onAddArgument() {+ _localState.onFormArrayChange({+ key: 'serviceHeaders',+ value: { name: '', value: '' },+ operation: 'add',+ })+ }++ return (+ <div>+ <div className="flex justify-between items-center">+ <Typography.Text>Http headers</Typography.Text>+ </div>+ <div className="pt-4 space-y-2">+ {_localState.formState.serviceHeaders.value.map(+ (+ x: { name: string; value: string; error?: { name?: string; value?: string } },+ idx: number+ ) => (+ <InputServiceHeader+ key={`serviceHeader-${idx}`}+ idx={idx}+ name={x.name}+ value={x.value}+ error={x.error}+ />+ )+ )}+ <div className="">+ <Button type="dashed" icon={<IconPlus />} onClick={onAddArgument}>+ Add a new header+ </Button>+ </div>+ </div>+ </div>+ )+})++type InputServiceHeaderProps = {+ idx: number+ name: string+ value: string+ error?: { name?: string; value?: string }+}+const InputServiceHeader: React.FC<InputServiceHeaderProps> = observer(+ ({ idx, name, value, error }) => {+ const _localState: any = React.useContext(CreateHookContext)++ function onNameChange(e: React.FormEvent<HTMLInputElement>) {+ const _value = e.currentTarget.value+ _localState.onFormArrayChange({+ key: 'serviceHeaders',+ value: { name: _value, value },+ idx,+ operation: 'update',+ })+ }++ function onValueChange(e: React.FormEvent<HTMLInputElement>) {+ const _value = e.currentTarget.value+ _localState.onFormArrayChange({+ key: 'serviceHeaders',+ value: { name, value: _value },+ idx,+ operation: 'update',+ })+ }++ function onDelete() {+ _localState.onFormArrayChange({+ key: 'serviceHeaders',+ idx,+ operation: 'delete',+ })+ }++ return (+ <div className="flex space-x-1">+ <Input+ id={`name-${idx}`}+ className="flex-1"+ placeholder="Header name"+ value={name}+ onChange={onNameChange}+ size="small"+ error={error?.name}+ />+ <Input+ id={`value-${idx}`}+ className="flex-1"+ placeholder="Header value"+ value={value}+ onChange={onValueChange}+ size="small"+ error={error?.value}+ />+ <div>+ <Button+ danger+ type="primary"+ icon={<IconTrash size="tiny" />}+ onClick={onDelete}+ size="small"+ />+ </div>+ </div>+ )+ }+)++const InputMultiServiceParams: React.FC = observer(({}) => {+ const _localState: any = React.useContext(CreateHookContext)++ function onAddArgument() {+ _localState.onFormArrayChange({+ key: 'serviceParams',+ value: { name: '', value: '' },+ operation: 'add',+ })+ }++ return (+ <div>+ <div className="flex justify-between items-center">+ <Typography.Text>Http params</Typography.Text>+ </div>+ <div className="pt-4 space-y-2">+ {_localState.formState.serviceParams.value.map(+ (+ x: { name: string; value: string; error?: { name?: string; value?: string } },+ idx: number+ ) => (+ <InputServiceParam+ key={`serviceParam-${idx}`}+ idx={idx}+ name={x.name}+ value={x.value}+ error={x.error}+ />+ )+ )}+ <Button type="dashed" icon={<IconPlus />} onClick={onAddArgument}>+ Add a new param+ </Button>+ </div>+ </div>+ )+})++type InputServiceParamsProps = {+ idx: number+ name: string+ value: string+ error?: { name?: string; value?: string }+}+const InputServiceParam: React.FC<InputServiceParamsProps> = observer(+ ({ idx, name, value, error }) => {+ const _localState: any = React.useContext(CreateHookContext)++ function onNameChange(e: React.FormEvent<HTMLInputElement>) {+ const _value = e.currentTarget.value+ _localState.onFormArrayChange({+ key: 'serviceParams',+ value: { name: _value, value },+ idx,+ operation: 'update',+ })+ }++ function onValueChange(e: React.FormEvent<HTMLInputElement>) {+ const _value = e.currentTarget.value+ _localState.onFormArrayChange({+ key: 'serviceParams',+ value: { name, value: _value },+ idx,+ operation: 'update',+ })+ }++ function onDelete() {+ _localState.onFormArrayChange({+ key: 'serviceParams',+ idx,+ operation: 'delete',+ })+ }++ return (+ <div className="flex space-x-1">+ <Input+ id={`name-${idx}`}+ className="flex-1"+ placeholder="Param name"+ value={name}+ onChange={onNameChange}+ size="small"+ error={error?.name}+ />+ <Input+ id={`value-${idx}`}+ className="flex-1"+ placeholder="Param value"+ value={value}+ onChange={onValueChange}+ size="small"+ error={error?.value}+ />+ <div>+ <Button+ danger+ type="primary"+ icon={<IconTrash size="tiny" />}+ onClick={onDelete}+ size="small"+ />+ </div>+ </div>+ )+ }+)++const ServiceUnavailableBox: React.FC = observer(({}) => {+ const _localState: any = React.useContext(CreateHookContext)+ return (+ <div className="px-6">+ <div className="block w-full bg-yellow-500 bg-opacity-5 p-3 px-6 border border-yellow-600 border-opacity-40 rounded">+ <div className="flex space-x-3">+ {/* <div className="mt-1">+ <IconTool className="text-white" size="large" />+ </div> */}+ <div className="flex justify-between w-full items-center">+ <div>+ <Typography.Text>Service under development.</Typography.Text>+ <div>+ <Typography.Text type="secondary">+ We currently do not support this service.+ </Typography.Text>+ </div>+ </div>++ <Button+ type="outline"+ className="flex-grow"+ onClick={() =>+ _localState.onFormChange({+ key: 'hookService',+ value: 'http_request',+ })+ }+ >+ Switch to HTTP+ </Button>+ </div>+ </div>+ </div>+ </div>+ )+})diff --git a/studio/components/interfaces/Database/Hooks/DeleteHook.tsx b/studio/components/interfaces/Database/Hooks/DeleteHook.tsxnew file mode 100644index 00000000000..4cab21b7726--- /dev/null+++ b/studio/components/interfaces/Database/Hooks/DeleteHook.tsx@@ -0,0 +1,56 @@+import * as React from 'react'+import toast from 'react-hot-toast'+import { observer } from 'mobx-react-lite'+import { useStore } from 'hooks'+import TextConfirmModal from 'components/to-be-cleaned/ModalsDeprecated/TextConfirmModal'++type DeleteHookProps = {+ hook?: any+ visible: boolean+ setVisible: (value: boolean) => void+} & any++const DeleteHook: React.FC<DeleteHookProps> = ({ hook, visible, setVisible }) => {+ const { meta } = useStore()+ const [loading, setLoading] = React.useState(false)+ const { id, name, schema } = hook ?? {}++ async function handleDelete() {+ try {+ setLoading(true)+ if (!id) {+ throw Error('Invalid hook info')+ }+ const response: any = await meta.hooks.del(id)+ if (response.error) {+ throw response.error+ } else {+ toast.success(`Hook ${name} removed`)+ setVisible(false)+ }+ } catch (error: any) {+ toast.error(`Deleting ${name} failed: ${error.message}`)+ } finally {+ setLoading(false)+ }+ }++ return (+ <>+ <TextConfirmModal+ visible={visible}+ onCancel={() => setVisible(!visible)}+ onConfirm={handleDelete}+ title="Delete this hook"+ loading={loading}+ confirmLabel={`Delete hook ${name}`}+ confirmPlaceholder="Type in name of hook"+ confirmString={name}+ text={`This will delete your hook called ${name} of schema ${schema}.`}+ alert="You cannot recover this hook once it is deleted!"+ />+ </>+ )+}++export default observer(DeleteHook)diff --git a/studio/components/interfaces/Database/Pooling/BouncerSettings.tsx b/studio/components/interfaces/Database/Pooling/BouncerSettings.tsxnew file mode 100644index 00000000000..2fe3f843796--- /dev/null+++ b/studio/components/interfaces/Database/Pooling/BouncerSettings.tsx@@ -0,0 +1,187 @@+import { FC, useState, useEffect } from 'react'+import { observer } from 'mobx-react-lite'+import { Input, Divider, Typography } from '@supabase/ui'++import { useStore } from 'hooks'+import { pluckObjectFields } from 'lib/helpers'+import Loading from 'components/ui/Loading'+import Panel from 'components/to-be-cleaned/Panel'+import PgBouncerConfig from './PgBouncerConfig'+import DownloadCertificate from './DownloadCertificate'++interface Props {}++const BouncerSettings: FC<Props> = ({}) => {+ const { ui, app } = useStore()+ const projectRef = ui.selectedProject?.ref ?? 'default'++ const [isLoading, setIsLoading] = useState<boolean>(true)+ const [poolingConfiguration, setPoolingConfiguration] = useState<any>()++ useEffect(() => {+ fetchPoolingConfiguration()+ }, [])++ const fetchPoolingConfiguration = async () => {+ setIsLoading(true)+ const response = await app.database.getPoolingConfiguration(projectRef)+ setPoolingConfiguration(response)+ setIsLoading(false)+ }++ if (isLoading) return <Loading />+ if (poolingConfiguration.error) {+ return (+ <div className="p-4">+ <Typography.Text type="secondary">Error loading pooling configuration</Typography.Text>+ </div>+ )+ }++ const { project } = poolingConfiguration++ // for older projects+ if (!project.pgbouncer_enabled && project.pool_mode == null)+ return (+ <div className="h-full flex flex-col items-center justify-center p-6 sm:w-full md:w-3/4 mx-auto text-center">+ <Typography.Title level={3}>+ Connection Pooling is not available for this project+ </Typography.Title>+ <Typography.Text>Start a new project to enable this feature.</Typography.Text>+ </div>+ )+ const formModel = project+ const DB_FIELDS = ['db_host', 'db_name', 'db_port', 'db_user', 'inserted_at']+ const connectionInfo = pluckObjectFields(formModel, DB_FIELDS)+ const BOUNCER_FIELDS = [+ 'default_pool_size',+ 'ignore_startup_parameters',+ 'pool_mode',+ 'pgbouncer_enabled',+ ]+ const bouncerInfo = pluckObjectFields(formModel, BOUNCER_FIELDS)+ return (+ <article className="p-4 max-w-4xl">+ <div className="mb-8">+ <PgBouncerConfig config={bouncerInfo} projectRef={projectRef} />+ </div>++ <Panel+ title={[+ <Typography.Title key="panel-title" level={5} className="mb-0">+ Connection info+ </Typography.Title>,+ ]}+ >+ <div className="">+ <Panel.Content>+ <Input+ label="Host"+ layout="horizontal"+ descriptionText="This is the url of your database"+ readOnly+ copy+ disabled+ value={connectionInfo.db_host}+ />+ </Panel.Content>+ <Divider light />+ <Panel.Content>+ <Input+ label="Database name"+ style={{+ width: '50%',+ }}+ readOnly+ disabled+ value={connectionInfo.db_name}+ layout="horizontal"+ />+ </Panel.Content>+ <Divider light />+ <Panel.Content>+ <Input+ label="Port"+ style={{+ width: '50%',+ }}+ readOnly+ disabled+ value={connectionInfo.db_port}+ layout="horizontal"+ />+ </Panel.Content>+ <Divider light />+ <Panel.Content>+ <Input+ label="User"+ style={{+ width: '50%',+ }}+ readOnly+ disabled+ value={connectionInfo.db_user}+ layout="horizontal"+ />+ </Panel.Content>+ <Divider light />+ <Panel.Content>+ <Input+ label="Password"+ disabled+ readOnly+ value={'[The password you provided when you created this project]'}+ layout="horizontal"+ />+ </Panel.Content>+ <Divider light />+ <Panel.Content>+ <DownloadCertificate createdAt={connectionInfo.inserted_at} />+ </Panel.Content>+ </div>+ </Panel>++ <section>+ <Panel+ title={[+ <Typography.Title key="panel-title" level={5} className="mb-0">+ Connection string+ </Typography.Title>,+ ]}+ >+ <Panel.Content className="space-y-4">+ <Input+ copy+ readOnly+ disabled+ layout="vertical"+ value={+ `postgres://${connectionInfo.db_user}:[YOUR-PASSWORD]@` ++ `${connectionInfo.db_host}:${connectionInfo.db_port}` ++ `/${connectionInfo.db_name}`+ }+ />++ <div className="flex space-x-3">+ <Typography.Text type="secondary">+ <p>+ Learn more about connection strings{' '}+ <Typography.Link href="https://supabase.io/docs/reference/postgres/connection-strings">+ with Supabase+ </Typography.Link>{' '}+ and{' '}+ <Typography.Link href="https://www.postgresql.org/docs/current/libpq-connect.html">+ read the official documentation+ </Typography.Link>+ .+ </p>+ </Typography.Text>+ </div>+ </Panel.Content>+ </Panel>+ </section>+ </article>+ )+}++export default observer(BouncerSettings)diff --git a/studio/components/interfaces/Database/Pooling/DownloadCertificate.tsx b/studio/components/interfaces/Database/Pooling/DownloadCertificate.tsxnew file mode 100644index 00000000000..d0c2ac6c628--- /dev/null+++ b/studio/components/interfaces/Database/Pooling/DownloadCertificate.tsx@@ -0,0 +1,33 @@+import { FC } from 'react'+import { Button, Typography, IconDownload } from '@supabase/ui'++interface Props {+ createdAt: string+}++const DownloadCertificate: FC<Props> = ({ createdAt }) => {+ // instances before 3 : 08 pm sgt 29th April don't have certs installed+ if (new Date(createdAt) < new Date('2021-04-30')) return null+ const env = process.env.NEXT_PUBLIC_ENVIRONMENT === 'prod' ? 'prod' : 'staging'+ return (+ <div className="w-full flex items-center justify-between">+ <div>+ <Typography.Text className="block">SSL Connection</Typography.Text>+ <div>+ <Typography.Text type="secondary" className="opacity-50">+ Use this certificate to prevent snooping and man-in-the-middle attacks.+ </Typography.Text>+ </div>+ </div>+ <Button type="default" icon={<IconDownload />}>+ <a+ href={`https://supabase-downloads.s3-ap-southeast-1.amazonaws.com/${env}/ssl/${env}-ca-2021.crt`}+ >+ Download Certificate+ </a>+ </Button>+ </div>+ )+}++export default DownloadCertificatediff --git a/studio/components/interfaces/Database/Pooling/PgBouncerConfig.tsx b/studio/components/interfaces/Database/Pooling/PgBouncerConfig.tsxnew file mode 100644index 00000000000..5ba844d4f81--- /dev/null+++ b/studio/components/interfaces/Database/Pooling/PgBouncerConfig.tsx@@ -0,0 +1,115 @@+import { FC, useState } from 'react'+import { observer } from 'mobx-react-lite'+import { Divider } from '@supabase/ui'+import { toast } from 'react-hot-toast'+import { AutoField } from 'uniforms-bootstrap4'++import { API_URL } from 'lib/constants'+import { patch } from 'lib/common/fetch'+import ToggleField from 'components/to-be-cleaned/forms/ToggleField'+import SchemaFormPanel from 'components/to-be-cleaned/forms/SchemaFormPanel'++interface Props {+ projectRef: string+ config: any+}++const PgbouncerConfig: FC<Props> = ({ projectRef, config }) => {+ const [updates, setUpdates] = useState({+ // pgbouncer_status: config.pgbouncer_status,+ pgbouncer_enabled: config.pgbouncer_enabled,+ pool_mode: config.pool_mode || 'transaction',+ default_pool_size: config.default_pool_size || '',+ ignore_startup_parameters: config.ignore_startup_parameters || '',+ })++ const updateConfig = async (updatedConfig: any) => {+ try {+ const response = await patch(`${API_URL}/props/pooling/${projectRef}/config`, updatedConfig)+ if (response.error) {+ throw response.error+ } else {+ setUpdates({ ...response.project })+ toast(`Settings saved`)+ }+ } catch (error: any) {+ toast.error(`Update config failed: ${error.message}`)+ }+ }++ let formSchema = {+ properties: {+ pgbouncer_enabled: {+ title: 'Enabled',+ type: 'boolean',+ help: 'Activates/ deactivates Connection Pooling.',+ },+ pool_mode: {+ title: 'Pool Mode',+ type: 'string',+ options: [+ {+ label: 'Transaction',+ value: 'transaction',+ },+ {+ label: 'Session',+ value: 'session',+ },+ {+ label: 'Statement',+ value: 'statement',+ },+ ],+ help: 'Specify when a connection can be returned to the pool. To find out the most suitable mode for your use case, click here.',+ },+ ignore_startup_parameters: {+ title: 'Ignore Startup Parameters',+ type: 'string',+ readOnly: true,+ help: 'Defaults are either blank or "extra_float_digits"',+ },+ },+ required: ['pool_mode'],+ type: 'object',+ }++ return (+ <>+ <SchemaFormPanel+ title="Configuration"+ schema={formSchema}+ model={updates}+ submitLabel="Save"+ cancelLabel="Cancel"+ onChangeModel={(model: any) => setUpdates(model)}+ onSubmit={(model: any) => updateConfig(model)}+ onReset={() => setUpdates(config)}+ >+ <div className="space-y-6 py-4">+ <ToggleField name="pgbouncer_enabled" />+ <Divider light />+ {/* <AutoField name="pgbouncer_status" disabled={true} /> */}+ {updates.pgbouncer_enabled && (+ <>+ <AutoField+ name="pool_mode"+ showInlineError+ errorMessage="You must select one of the three options"+ />+ <Divider light />+ {/* <AutoField+ name="default_pool_size"+ showInlineError+ errorMessage="Value must be within 1 and 20"+ /> */}+ <AutoField name="ignore_startup_parameters" />+ </>+ )}+ </div>+ </SchemaFormPanel>+ </>+ )+}++export default observer(PgbouncerConfig)diff --git a/studio/components/interfaces/Database/Publications/PublicationsList.tsx b/studio/components/interfaces/Database/Publications/PublicationsList.tsxnew file mode 100644index 00000000000..8cdd38a991f--- /dev/null+++ b/studio/components/interfaces/Database/Publications/PublicationsList.tsx@@ -0,0 +1,154 @@+import { FC, useState } from 'react'+import { observer } from 'mobx-react-lite'+import { toast } from 'react-hot-toast'+import { Button, Input, Toggle, IconSearch } from '@supabase/ui'++import { useStore } from 'hooks'+import { confirmAlert } from 'components/to-be-cleaned/ModalsDeprecated/ConfirmModal'+import Table from 'components/to-be-cleaned/Table'++interface Props {+ onSelectPublication: (publication: any) => void+}++const PublicationsList: FC<Props> = ({ onSelectPublication = () => {} }) => {+ const { meta } = useStore()+ const [filterString, setFilterString] = useState<string>('')++ const publications =+ filterString.length === 0+ ? meta.publications.list()+ : meta.publications.list((publication: any) => publication.name.includes(filterString))++ const toggleListenEvent = async (publication: any, event: any, currentStatus: any) => {+ const startStop = currentStatus ? 'stop' : 'start'+ confirmAlert({+ title: 'Confirm',+ message: `Are you sure you want to ${startStop} sending ${event} events for ${publication.name}?`,+ onAsyncConfirm: async () => {+ try {+ let payload: any = { id: publication.id }+ payload[`publish_${event}`] = !currentStatus+ const { data, error }: any = await meta.publications.update(publication.id, payload)+ if (error) {+ throw error+ } else {+ return data+ }+ } catch (error: any) {+ toast.error(`Error: ${error.message}`)+ return false+ }+ },+ })+ }++ return (+ <>+ <div className="mb-4">+ <div className="flex justify-between items-center">+ <div className="flex items-center">+ <div>+ <Input+ size="tiny"+ icon={<IconSearch size="tiny" />}+ placeholder={'Filter'}+ value={filterString}+ onChange={(e) => setFilterString(e.target.value)}+ />+ </div>+ </div>+ <div className=""></div>+ </div>+ </div>+ <div className="rounded overflow-hidden">+ <Table+ head={[+ <Table.th key="header.name">Name</Table.th>,+ <Table.th key="header.id" className="hidden lg:table-cell">+ System ID+ </Table.th>,+ <Table.th key="header.insert" className="text-center">+ Insert+ </Table.th>,+ <Table.th key="header.update" className="text-center">+ Update+ </Table.th>,+ <Table.th key="header.delete" className="text-center">+ Delete+ </Table.th>,+ <Table.th key="header.truncate" className="text-center">+ Truncate+ </Table.th>,+ <Table.th key="header.source" className="text-right">+ Source+ </Table.th>,+ ]}+ body={publications.map((x: any, i: number) => (+ <Table.tr className="border-t " key={x.name}>+ <Table.td className="px-4 py-3" style={{ width: '25%' }}>+ {x.name}+ </Table.td>+ <Table.td className="hidden lg:table-cell" style={{ width: '25%' }}>+ {x.id}+ </Table.td>+ <Table.td>+ <div className="flex justify-center">+ <Toggle+ size="tiny"+ checked={x.publish_insert}+ onChange={() => toggleListenEvent(x, 'insert', x.publish_insert)}+ />+ </div>+ </Table.td>+ <Table.td>+ <div className="flex justify-center">+ <Toggle+ size="tiny"+ checked={x.publish_update}+ onChange={() => toggleListenEvent(x, 'update', x.publish_update)}+ />+ </div>+ </Table.td>+ <Table.td>+ <div className="flex justify-center">+ <Toggle+ size="tiny"+ checked={x.publish_delete}+ onChange={() => toggleListenEvent(x, 'delete', x.publish_delete)}+ />+ </div>+ </Table.td>+ <Table.td>+ <div className="flex justify-center">+ <Toggle+ size="tiny"+ checked={x.publish_truncate}+ onChange={() => toggleListenEvent(x, 'truncate', x.publish_truncate)}+ />+ </div>+ </Table.td>+ <Table.td className="px-4 py-3 pr-2">+ <div className="flex gap-2 justify-end">+ <Button+ type="default"+ style={{ paddingTop: 3, paddingBottom: 3 }}+ onClick={() => onSelectPublication(x)}+ >+ {x.tables == null+ ? 'All tables'+ : `${x.tables.length} ${+ x.tables.length > 1 || x.tables.length == 0 ? 'tables' : 'table'+ }`}+ </Button>+ </div>+ </Table.td>+ </Table.tr>+ ))}+ />+ </div>+ </>+ )+}++export default observer(PublicationsList)diff --git a/studio/components/interfaces/Database/Publications/PublicationsTableItem.tsx b/studio/components/interfaces/Database/Publications/PublicationsTableItem.tsxnew file mode 100644index 00000000000..dcc82d5bf34--- /dev/null+++ b/studio/components/interfaces/Database/Publications/PublicationsTableItem.tsx@@ -0,0 +1,86 @@+import { FC, useState } from 'react'+import { observer } from 'mobx-react-lite'+import { toast } from 'react-hot-toast'+import { Badge, Toggle } from '@supabase/ui'++import { useStore } from 'hooks'+import Table from 'components/to-be-cleaned/Table'++interface Props {+ table: any+ selectedPublication: any+}++const PublicationsTableItem: FC<Props> = ({ table, selectedPublication }) => {+ const { meta } = useStore()++ const publication = selectedPublication+ const enabledForAllTables = publication.tables == null+ const [loading, setLoading] = useState(false)+ const [checked, setChecked] = useState(+ publication.tables?.find((x: any) => x.id == table.id) != undefined+ )++ const toggleReplicationForTable = async (table: any, publication: any) => {+ const originalChecked = checked+ setChecked(!checked)+ setLoading(true)++ let exists = publication.tables.some((x: any) => x.id == table.id)+ let tables = !exists+ ? [`${table.schema}.${table.name}`].concat(+ publication.tables.map((t: any) => `${t.schema}.${t.name}`)+ )+ : publication.tables+ .filter((x: any) => x.id != table.id)+ .map((x: any) => `${x.schema}.${x.name}`)++ try {+ const id = publication.id+ let payload = { tables, id }+ const { error } = await meta.publications.update(id, payload)+ if (error) throw error+ setLoading(false)+ } catch (error: any) {+ toast.error(error.message)+ setChecked(originalChecked)+ setLoading(false)+ }+ }++ return (+ <Table.tr key={table.id}>+ <Table.td className="whitespace-nowrap">{table.name}</Table.td>+ <Table.td className="whitespace-nowrap">{table.schema}</Table.td>+ <Table.td className="whitespace-nowrap truncate max-w-sm hidden lg:table-cell">+ {table.comment}+ </Table.td>+ <Table.td className="px-4 py-3 pr-2">+ <div className="flex gap-2 justify-end">+ {enabledForAllTables ? (+ // @ts-ignore+ <Badge+ type="secondary"+ className="hover:border-gray-500"+ style={{ paddingTop: 3, paddingBottom: 3 }}+ >+ <span>Enabled</span>+ <span className="hidden lg:inline-block"> for all tables</span>+ </Badge>+ ) : (+ <Toggle+ size="tiny"+ align="right"+ disabled={loading}+ className="m-0 p-0 ml-2 mt-1 -mb-1"+ checked={checked}+ onChange={() => toggleReplicationForTable(table, publication)}+ />+ )}+ </div>+ </Table.td>+ </Table.tr>+ )+}++export default observer(PublicationsTableItem)diff --git a/studio/components/interfaces/Database/Publications/PublicationsTables.tsx b/studio/components/interfaces/Database/Publications/PublicationsTables.tsxnew file mode 100644index 00000000000..3acee608d3b--- /dev/null+++ b/studio/components/interfaces/Database/Publications/PublicationsTables.tsx@@ -0,0 +1,118 @@+import { FC, useState } from 'react'+import { observer } from 'mobx-react-lite'+import { toast } from 'react-hot-toast'+import { Button, Toggle, Input, IconChevronLeft, IconSearch } from '@supabase/ui'++import { useStore } from 'hooks'+import PublicationsTableItem from './PublicationsTableItem'+import Table from 'components/to-be-cleaned/Table'+import { confirmAlert } from 'components/to-be-cleaned/ModalsDeprecated/ConfirmModal'++interface Props {+ selectedPublication: any+ onSelectBack: () => void+ onPublicationUpdated: (publication: any) => void+}++const PublicationsTables: FC<Props> = ({+ selectedPublication,+ onSelectBack,+ onPublicationUpdated,+}) => {+ const { meta } = useStore()+ const [filterString, setFilterString] = useState<string>('')++ const tables =+ filterString.length === 0+ ? meta.tables.list((table: any) => !meta.excludedSchemas.includes(table.schema))+ : meta.tables.list(+ (table: any) =>+ !meta.excludedSchemas.includes(table.schema) && table.name.includes(filterString)+ )++ const publication = selectedPublication+ const enabledForAllTables = publication.tables == null++ const toggleReplicationForAllTables = async (publication: any, disable: boolean) => {+ const toggle = disable ? 'disable' : 'enable'+ confirmAlert({+ title: 'Confirm',+ type: 'warn',+ message: `Are you sure you want to ${toggle} replication for all tables in ${publication.name}?`,+ onAsyncConfirm: async () => {+ try {+ const res: any = await meta.publications.recreate(publication.id)+ if (res.error) {+ throw res.error+ } else {+ onPublicationUpdated(res)+ }+ } catch (error: any) {+ toast.error(error.message)+ }+ },+ })+ }++ return (+ <>+ <div className="mb-4">+ <div className="flex justify-between items-center">+ <div className="flex items-center space-x-3">+ <Button+ type="outline"+ onClick={() => onSelectBack()}+ icon={<IconChevronLeft />}+ style={{ padding: '5px' }}+ />+ <div>+ <Input+ size="tiny"+ placeholder={'Filter'}+ value={filterString}+ onChange={(e) => setFilterString(e.target.value)}+ icon={<IconSearch size="tiny" />}+ />+ </div>+ </div>+ <div className=""></div>+ </div>+ </div>+ <div>+ <Table+ head={[+ <Table.th key="header-name">Name</Table.th>,+ <Table.th key="header-schema">Schema</Table.th>,+ <Table.th key="header-desc" className="text-left hidden lg:table-cell">+ Description+ </Table.th>,+ <Table.th key="header-all">+ <div className="flex flex-row space-x-3 items-center justify-end">+ <div className="text-xs leading-4 font-medium text-gray-400 text-right ">+ All Tables+ </div>+ <Toggle+ size="tiny"+ align="right"+ error=""+ className="m-0 p-0 ml-2 mt-1 -mb-1"+ checked={enabledForAllTables}+ onChange={() => toggleReplicationForAllTables(publication, enabledForAllTables)}+ />+ </div>+ </Table.th>,+ ]}+ body={tables.map((table: any, i: number) => (+ <PublicationsTableItem+ key={table.id}+ table={table}+ selectedPublication={selectedPublication}+ />+ ))}+ />+ </div>+ </>+ )+}++export default observer(PublicationsTables)diff --git a/studio/components/interfaces/Database/Roles/RolesList.tsx b/studio/components/interfaces/Database/Roles/RolesList.tsxnew file mode 100644index 00000000000..c2478ebe932--- /dev/null+++ b/studio/components/interfaces/Database/Roles/RolesList.tsx@@ -0,0 +1,58 @@+import { FC } from 'react'+import { observer } from 'mobx-react-lite'+import { Typography, IconChevronRight } from '@supabase/ui'++import { useStore } from 'hooks'+import SparkBar from 'components/ui/SparkBar'+import Table from 'components/to-be-cleaned/Table'++interface Props {+ onSelectRole: (role: any) => void+}++const RolesList: FC<Props> = ({ onSelectRole = () => {} }) => {+ const { meta } = useStore()+ const roles = meta.roles.list()++ return (+ <>+ <Table+ head={[+ <Table.th key="name">Name</Table.th>,+ <Table.th key="system-id">System ID</Table.th>,+ <Table.th key="connections">Connections</Table.th>,+ <Table.th key="blank"></Table.th>,+ ]}+ body={roles.map((x, i) => (+ <Table.tr key={x.id} onClick={() => onSelectRole(x)}>+ <Table.td style={{ width: '25%' }}>+ <Typography.Text>{x.name}</Typography.Text>+ </Table.td>+ <Table.td style={{ width: '25%' }}>+ <Typography.Text>{x.id}</Typography.Text>+ </Table.td>+ <Table.td className="w-full">+ <div className="flex items-center space-x-3">+ <Typography.Text>+ {x.active_connections}/{x.connection_limit} connections+ </Typography.Text>+ <SparkBar+ max={x.connection_limit}+ value={x.active_connections}+ barClass={'bg-green-500'}+ />+ </div>+ </Table.td>+ <Table.td style={{ maxWidth: '64px' }} className="w-min">+ <Typography.Text type="secondary">+ <IconChevronRight size="tiny" />+ </Typography.Text>+ </Table.td>+ </Table.tr>+ ))}+ />+ </>+ )+}++export default observer(RolesList)diff --git a/studio/components/interfaces/Database/Roles/RolesSettings.tsx b/studio/components/interfaces/Database/Roles/RolesSettings.tsxnew file mode 100644index 00000000000..f94248beb07--- /dev/null+++ b/studio/components/interfaces/Database/Roles/RolesSettings.tsx@@ -0,0 +1,81 @@+import { FC } from 'react'+import { observer } from 'mobx-react-lite'+import { Button, Divider, Typography, IconChevronLeft } from '@supabase/ui'++import Panel from 'components/to-be-cleaned/Panel'++interface Props {+ selectedRole: any+ onSelectBack: () => void+}++const RolesSettings: FC<Props> = ({ selectedRole, onSelectBack = () => {} }) => {+ return (+ <>+ <div className="mb-8">+ <div className="">+ <nav className="flex -mb-px">+ <div className="group inline-flex items-center p-1 mr-4 ">+ <Button+ type="outline"+ onClick={() => onSelectBack()}+ icon={<IconChevronLeft size="small" />}+ style={{ padding: '5px' }}+ />+ </div>+ <a+ href="#"+ className="+ text-typography-body-strong-light dark:text-typography-body-strong-dark+ mx-4 group inline-flex items-center p-1 border-b-2 border-green-500 font-medium text-sm focus:outline-none "+ aria-current="page"+ >+ <span>Permissions</span>+ </a>+ </nav>+ </div>+ </div>++ <Panel>+ <Panel.Content className="w-full flex justify-between items-center">+ <Typography.Text>Super user</Typography.Text>+ <Typography.Text small code>+ {selectedRole.is_superuser ? 'true' : 'false'}+ </Typography.Text>+ </Panel.Content>+ <Divider light />+ <Panel.Content className="w-full flex justify-between items-center">+ <Typography.Text>User can login</Typography.Text>+ <Typography.Text small code>+ {selectedRole.can_login ? 'true' : 'false'}+ </Typography.Text>+ </Panel.Content>+ <Divider light />+ <Panel.Content className="w-full flex justify-between items-center">+ <Typography.Text>User can create databases</Typography.Text>+ <Typography.Text small code>+ {selectedRole.can_create_db ? 'true' : 'false'}+ </Typography.Text>+ </Panel.Content>+ <Divider light />+ <Panel.Content className="w-full flex justify-between items-center">+ <Typography.Text>+ User can initiate streaming replication and put the system in and out of backup mode+ </Typography.Text>+ <Typography.Text small code>+ {selectedRole.is_replication_role ? 'true' : 'false'}+ </Typography.Text>+ </Panel.Content>+ <Divider light />+ <Panel.Content className="w-full flex justify-between items-center">+ <Typography.Text>User bypasses every row level security policy</Typography.Text>+ <Typography.Text small code>+ {selectedRole.can_bypass_rls ? 'true' : 'false'}+ </Typography.Text>+ </Panel.Content>+ </Panel>+ </>+ )+}++export default observer(RolesSettings)diff --git a/studio/components/interfaces/Database/Tables/ColumnList.tsx b/studio/components/interfaces/Database/Tables/ColumnList.tsxnew file mode 100644index 00000000000..2eb11b21dc6--- /dev/null+++ b/studio/components/interfaces/Database/Tables/ColumnList.tsx@@ -0,0 +1,177 @@+import { FC, ReactNode, useState } from 'react'+import { observer } from 'mobx-react-lite'+import { toast } from 'react-hot-toast'+import {+ Input,+ Button,+ Typography,+ IconSearch,+ IconPlus,+ IconChevronLeft,+ IconEdit3,+ IconTrash,+} from '@supabase/ui'++import { useStore } from 'hooks'+import { confirmAlert } from '../../../to-be-cleaned/ModalsDeprecated/ConfirmModal'+import Table from '../../../to-be-cleaned/Table'++const Header: FC<{+ filterString: string+ filterPlaceholder: string+ leftComponents: ReactNode+ rightComponents: ReactNode+ setFilterString: (value: string) => void+}> = ({+ filterString,+ setFilterString,+ filterPlaceholder = 'Filter',+ leftComponents,+ rightComponents,+}) => (+ <div className="flex justify-between items-center">+ <div className="flex items-center">+ <div>{leftComponents}</div>+ <div>+ <Input+ size="tiny"+ placeholder={filterPlaceholder}+ value={filterString}+ onChange={(e: any) => setFilterString(e.target.value)}+ icon={<IconSearch size="tiny" />}+ />+ </div>+ </div>+ <div className="">{rightComponents}</div>+ </div>+)++const ColumnList: FC<{+ selectedTable: any+ onAddColumn: () => void+ onEditColumn: (column: any) => void+ onSelectBack: () => void+ onColumnDeleted: () => void+}> = ({+ selectedTable,+ onAddColumn = () => {},+ onEditColumn = () => {},+ onSelectBack = () => {},+ onColumnDeleted = () => {},+}) => {+ const { meta } = useStore()+ const [filterString, setFilterString] = useState<string>('')+ const columns =+ filterString.length === 0+ ? selectedTable.columns+ : selectedTable.columns.filter((column: any) => column.name.includes(filterString))++ async function onDeleteColumn(column: any) {+ confirmAlert({+ title: 'Confirm to delete',+ message: `Are you sure you want to delete the "${column.name}" column? This action cannot be undone.`,+ onAsyncConfirm: async () => {+ try {+ const response: any = await meta.columns.del(column.id)+ if (response.error) {+ throw response.error+ } else {+ onColumnDeleted()+ toast(`${column.name} removed.`)+ }+ } catch (error: any) {+ toast.error(`Deleting ${column.name} failed: ${error.message}`)+ }+ },+ })+ }++ return (+ <>+ <div className="mb-4">+ <Header+ filterPlaceholder="Filter columns"+ filterString={filterString}+ setFilterString={setFilterString}+ leftComponents={+ <Button+ type="outline"+ className="mr-4"+ onClick={() => onSelectBack()}+ icon={<IconChevronLeft size="small" />}+ style={{ padding: '5px' }}+ />+ }+ rightComponents={+ <Button icon={<IconPlus />} onClick={() => onAddColumn()}>+ New+ </Button>+ }+ />+ </div>+ <div className="">+ <Table+ head={[+ <Table.th key="name">Name</Table.th>,+ <Table.th key="description" className="hidden lg:table-cell">+ Description+ </Table.th>,+ <Table.th key="type" className="hidden xl:table-cell">+ Data Type+ </Table.th>,+ <Table.th key="format" className="hidden xl:table-cell">+ Format+ </Table.th>,+ <Table.th key="buttons"></Table.th>,+ ]}+ body={columns.map((x: any, i: number) => (+ <Table.tr className="border-t" key={x.name}>+ <Table.td className="">+ <Typography.Text>{x.name}</Typography.Text>+ </Table.td>+ <Table.td className="">+ <Typography.Text>{x.comment}</Typography.Text>+ </Table.td>+ <Table.td className="">+ <Typography.Text small code>+ {x.data_type}+ </Typography.Text>+ </Table.td>+ <Table.td className="text-xs font-mono">+ <Typography.Text small code>+ {x.format}+ </Typography.Text>+ </Table.td>+ <Table.td className="px-4 py-3 pr-2">+ <div className="flex gap-2 justify-end">+ <Button+ onClick={() => onDeleteColumn(x)}+ icon={<IconTrash />}+ style={{ padding: 5 }}+ type="outline"+ // tooltip={{+ // title: 'Delete column',+ // position: 'top-left',+ // }}+ />+ <Button+ onClick={() => onEditColumn(x)}+ icon={<IconEdit3 />}+ style={{ padding: 5 }}+ type="outline"+ // tooltip={{+ // title: 'Edit Details',+ // position: 'top-left',+ // }}+ />+ </div>+ </Table.td>+ </Table.tr>+ ))}+ />+ </div>+ </>+ )+}++export default observer(ColumnList)diff --git a/studio/components/interfaces/Database/Tables/TableList.tsx b/studio/components/interfaces/Database/Tables/TableList.tsxnew file mode 100644index 00000000000..e4a663aae55--- /dev/null+++ b/studio/components/interfaces/Database/Tables/TableList.tsx@@ -0,0 +1,176 @@+import { FC, ReactNode, useState } from 'react'+import { observer } from 'mobx-react-lite'+import { toast } from 'react-hot-toast'+import {+ Button,+ IconPlus,+ Input,+ IconSearch,+ IconTrash,+ IconEdit3,+ IconColumns,+ Typography,+} from '@supabase/ui'++import { useStore } from 'hooks'+import Table from 'components/to-be-cleaned/Table'+import { confirmAlert } from 'components/to-be-cleaned/ModalsDeprecated/ConfirmModal'++const Header: FC<{+ filterString: string+ filterPlaceholder: string+ leftComponents: ReactNode+ rightComponents: ReactNode+ setFilterString: (value: string) => void+}> = ({+ filterString,+ setFilterString,+ filterPlaceholder = 'Filter',+ leftComponents,+ rightComponents,+}) => (+ <div className="flex justify-between items-center">+ <div className="flex items-center">+ <div>{leftComponents}</div>+ <div>+ <Input+ size="tiny"+ placeholder={filterPlaceholder}+ value={filterString}+ onChange={(e: any) => setFilterString(e.target.value)}+ icon={<IconSearch size="tiny" />}+ />+ </div>+ </div>+ <div className="">{rightComponents}</div>+ </div>+)++const TableList: FC<{+ onAddTable: () => void+ onEditTable: (table: any) => void+ onOpenTable: (table: any) => void+}> = observer(({ onAddTable = () => {}, onEditTable = () => {}, onOpenTable = () => {} }) => {+ const { meta } = useStore()+ const [filterString, setFilterString] = useState<string>('')+ const tables =+ filterString.length === 0+ ? meta.tables.list((table: any) => table.schema === 'public')+ : meta.tables.list(+ (table: any) => table.schema === 'public' && table.name.includes(filterString)+ )++ async function onDelete(table: any) {+ confirmAlert({+ title: 'Confirm to delete',+ message: `Are you sure you want to delete "${table.name}" table? This action cannot be undone.`,+ onAsyncConfirm: async () => {+ try {+ const response: any = await meta.tables.del(table.id)+ if (response.error) {+ throw response.error+ } else {+ toast.success(`Successfully removed ${table.name}.`)+ }+ } catch (error: any) {+ toast.error(`Deleting ${table.name} failed: ${error.message}`)+ }+ },+ })+ }++ return (+ <>+ <div>+ {/* @ts-ignore */}+ <Header+ filterString={filterString}+ setFilterString={setFilterString}+ rightComponents={+ <Button icon={<IconPlus />} onClick={() => onAddTable()}>+ New+ </Button>+ }+ />+ </div>+ <div className="w-full my-4">+ <Table+ head={[+ <Table.th key="name">Name</Table.th>,+ <Table.th key="schema">Schema</Table.th>,+ <Table.th key="description" className="hidden lg:table-cell">+ Description+ </Table.th>,+ <Table.th key="rows" className="hidden xl:table-cell">+ Rows (Estimated)+ </Table.th>,+ <Table.th key="size" className="hidden xl:table-cell">+ Size (Estimated)+ </Table.th>,+ <Table.th key="buttons"></Table.th>,+ ]}+ body={tables.map((x: any, i: any) => (+ <Table.tr key={x.id}>+ <Table.td>+ <Typography.Text>{x.name}</Typography.Text>+ </Table.td>+ <Table.td>+ <Typography.Text>{x.schema}</Typography.Text>+ </Table.td>+ <Table.td className=" truncate max-w-sm hidden lg:table-cell">+ <Typography.Text>{x.comment}</Typography.Text>+ </Table.td>+ <Table.td className=" hidden xl:table-cell">+ <Typography.Text small code>+ {x.live_rows_estimate ?? x.live_row_count}+ </Typography.Text>+ </Table.td>+ <Table.td className=" hidden xl:table-cell">+ <Typography.Text small code>+ {x.size}+ </Typography.Text>+ </Table.td>+ <Table.td>+ <div className="flex gap-2 justify-end">+ <Button+ iconRight={<IconColumns />}+ type="default"+ className="hover:border-gray-500 whitespace-nowrap"+ style={{ paddingTop: 3, paddingBottom: 3 }}+ onClick={() => {+ onOpenTable(x)+ }}+ >+ {x.columns.length} columns+ </Button>+ <Button+ onClick={() => onEditTable(x)}+ icon={<IconEdit3 />}+ style={{ padding: 5 }}+ type="text"+ // tooltip={{+ // title: 'Edit Details',+ // position: 'top-left',+ // }}+ />+ <Button+ onClick={() => onDelete(x)}+ icon={<IconTrash />}+ style={{ padding: 5 }}+ type="text"+ // tooltip={{+ // title: 'Delete table',+ // position: 'top-left',+ // }}+ />+ </div>+ </Table.td>+ </Table.tr>+ ))}+ />+ </div>+ </>+ )+})++export default TableListdiff --git a/studio/components/interfaces/Database/Triggers/ChooseFunctionForm.tsx b/studio/components/interfaces/Database/Triggers/ChooseFunctionForm.tsxnew file mode 100644index 00000000000..f6b74870fc7--- /dev/null+++ b/studio/components/interfaces/Database/Triggers/ChooseFunctionForm.tsx@@ -0,0 +1,225 @@+import * as React from 'react'+import { useRouter } from 'next/router'+import { observer, useLocalObservable } from 'mobx-react-lite'+import { uniqBy, map as lodashMap } from 'lodash'+import { Transition } from '@headlessui/react'+import {+ Button,+ IconChevronDown,+ IconTerminal,+ IconTool,+ SidePanel,+ Typography,+} from '@supabase/ui'+import { Dictionary } from '@supabase/grid'+import SqlEditor from 'components/to-be-cleaned/SqlEditor'+import ProductEmptyState from 'components/to-be-cleaned/ProductEmptyState'++interface IChooseFunctionFormStore {+ functionSchemas: string[]+ triggerFunctions: Dictionary<any>[]+}++class ChooseFunctionFormStore implements IChooseFunctionFormStore {+ triggerFunctions = []++ get functionSchemas() {+ return lodashMap(uniqBy(this.triggerFunctions, 'schema'), 'schema')+ }+}++const ChooseFunctionFormContext = React.createContext<IChooseFunctionFormStore | null>(null)++type ChooseFunctionFormProps = {+ triggerFunctions: Dictionary<any>[]+ visible: boolean+ onChange: (id: number) => void+ setVisible: (value: boolean) => void+}++const ChooseFunctionForm: React.FC<ChooseFunctionFormProps> = ({+ triggerFunctions,+ visible,+ onChange,+ setVisible,+}) => {+ const _localState = useLocalObservable(() => new ChooseFunctionFormStore())+ _localState.triggerFunctions = triggerFunctions as any++ function selectFunction(id: number) {+ onChange(id)+ setVisible(!visible)+ }++ const hasPublicSchemaFunctions = _localState.triggerFunctions.length >= 1++ return (+ <SidePanel+ wide+ title="Pick a function"+ visible={visible}+ onCancel={() => setVisible(!visible)}+ className="hooks-sidepanel"+ >+ {hasPublicSchemaFunctions ? (+ <ChooseFunctionFormContext.Provider value={_localState}>+ <NoticeBox />+ <div className="space-y-6">+ {_localState.functionSchemas.map((schema: string) => (+ <SchemaFunctionGroup key={schema} schema={schema} selectFunction={selectFunction} />+ ))}+ </div>+ </ChooseFunctionFormContext.Provider>+ ) : (+ <NoFunctionsState />+ )}+ </SidePanel>+ )+}++export default observer(ChooseFunctionForm)++const NoticeBox: React.FC = ({}) => {+ const router = useRouter()+ const { ref } = router.query+ return (+ <div className="px-6 mb-8">+ <div className="block w-full bg-white bg-opacity-5 p-3 px-6 border border-white border-opacity-20 rounded">+ <div className="flex space-x-3">+ <div className="mt-1">+ <IconTool className="text-white" size="large" />+ </div>+ <div className="flex justify-between w-full items-center">+ <div>+ <Typography.Text>+ Only functions that return a trigger will be displayed below+ </Typography.Text>+ <div>+ <Typography.Text type="secondary">+ You can make functions by using the Database Functions+ </Typography.Text>+ </div>+ </div>++ <Button+ type="secondary"+ className="flex-grow"+ onClick={() => {+ router.push(`/project/${ref}/database/functions`)+ }}+ >+ Go to Functions+ </Button>+ </div>+ </div>+ </div>+ </div>+ )+}++const NoFunctionsState: React.FC = ({}) => {+ // for the empty 'no tables' state link+ const router = useRouter()+ const { ref } = router.query++ return (+ <ProductEmptyState+ title="No Trigger Functions found in database"+ ctaButtonLabel="Create a trigger function"+ onClickCta={() => {+ router.push(`/project/${ref}/database/functions`)+ }}+ >+ <Typography.Text type="secondary">+ You will need to create a trigger based function before you can add it to your trigger.+ </Typography.Text>+ </ProductEmptyState>+ )+}++type SchemaFunctionGroupProps = {+ schema: string+ selectFunction: (id: number) => void+}++const SchemaFunctionGroup: React.FC<SchemaFunctionGroupProps> = observer(+ ({ schema, selectFunction }) => {+ const _pageState = React.useContext(ChooseFunctionFormContext)+ const _functions = _pageState!.triggerFunctions.filter((x) => x.schema == schema)+ return (+ <div className="space-y-4">+ <div className="z-10 sticky top-0 backdrop-filter backdrop-blur px-6 flex items-center space-x-1">+ <Typography.Title level={5} className="opacity-50">+ schema+ </Typography.Title>+ <Typography.Title level={5}>{schema}</Typography.Title>+ </div>+ <div className="space-y-0 divide-y dark:divide-dark border-t border-b dark:border-dark">+ {_functions.map((x) => (+ <Function+ id={x.id}+ key={x.id}+ completeStatement={x.complete_statement}+ name={x.name}+ onClick={selectFunction}+ />+ ))}+ </div>+ </div>+ )+ }+)++type FunctionProps = {+ id: number+ completeStatement: string+ name: string+ onClick: (id: number) => void+}++const Function: React.FC<FunctionProps> = ({ id, completeStatement, name, onClick }) => {+ const [visible, setVisible] = React.useState(false)+ return (+ <div+ className="hover:bg-bg-alt-light dark:hover:bg-bg-alt-dark rounded p-3 px-6 cursor-pointer"+ onClick={() => onClick(id)}+ >+ <div className="flex items-center space-x-3 justify-between">+ <div className="flex items-center space-x-3">+ <div className="bg-green-600 p-1 flex items-center justify-center rounded text-typography-body-dark ">+ <IconTerminal size="small" strokeWidth={2} />+ </div>+ <Typography.Title level={5} className="mb-0">+ {name}+ </Typography.Title>+ </div>+ <Button+ type="text"+ onClick={(e) => {+ e.stopPropagation()+ setVisible(!visible)+ }}+ icon={+ <IconChevronDown className={visible ? 'transform rotate-0' : 'transform rotate-180'} />+ }+ >+ {visible ? 'Hide definition' : 'View definition'}+ </Button>+ </div>+ <Transition+ show={visible}+ enter="transition ease-out duration-300"+ enterFrom="transform opacity-0"+ enterTo="transform opacity-100"+ leave="transition ease-in duration-75"+ leaveFrom="transform opacity-100"+ leaveTo="transform opacity-0"+ >+ <div className="h-64 mt-4 border dark:border-dark">+ {/* @ts-ignore */}+ <SqlEditor defaultValue={completeStatement} readOnly={true} contextmenu={false} />+ </div>+ </Transition>+ </div>+ )+}diff --git a/studio/components/interfaces/Database/Triggers/CreateTrigger.tsx b/studio/components/interfaces/Database/Triggers/CreateTrigger.tsxnew file mode 100644index 00000000000..3388ea47222--- /dev/null+++ b/studio/components/interfaces/Database/Triggers/CreateTrigger.tsx@@ -0,0 +1,760 @@+import * as React from 'react'+import { makeAutoObservable } from 'mobx'+import { observer, useLocalObservable } from 'mobx-react-lite'+import { isEmpty, mapValues, has, without, union } from 'lodash'+import {+ Input,+ SidePanel,+ Divider,+ Checkbox,+ Listbox,+ Typography,+ IconPlayCircle,+ IconPauseCircle,+ IconTerminal,+ IconTool,+ Badge,+} from '@supabase/ui'+import toast from 'react-hot-toast'+import { Dictionary } from '@supabase/grid'+import { useRouter } from 'next/router'+import SVG from 'react-inlinesvg'++import ChooseFunctionForm from './ChooseFunctionForm'+import FormEmptyBox from 'components/to-be-cleaned/FormBoxEmpty'+import ProductEmptyState from 'components/to-be-cleaned/ProductEmptyState'+import { useStore } from 'hooks'++class CreateTriggerFormState {+ id: number | undefined+ originalName: string | undefined+ // @ts-ignore+ activation: { value: string; error?: string }+ // @ts-ignore+ enabledMode: { value: string }+ // @ts-ignore+ events: { value: string[]; error?: string }+ // @ts-ignore+ functionName: { value: string; error?: string }+ // @ts-ignore+ functionSchema: { value: string; error?: string }+ // @ts-ignore+ orientation: { value: string; error?: string }+ // @ts-ignore+ name: { value: string; error?: string }+ // @ts-ignore+ schema: { value: string }+ // @ts-ignore+ table: { value: string }+ // @ts-ignore+ tableId: { value: number; error?: string }++ constructor() {+ makeAutoObservable(this)+ this.reset()+ }++ get requestBody() {+ return {+ id: this.id,+ activation: this.activation.value,+ enabled_mode: this.enabledMode.value,+ events: this.events.value,+ function_name: this.functionName.value,+ function_schema: this.functionSchema.value,+ orientation: this.orientation.value,+ name: this.name.value,+ schema: this.schema.value,+ table: this.table.value,+ }+ }++ reset(trigger?: Dictionary<any>) {+ this.id = trigger?.id+ this.originalName = trigger?.name+ this.activation = { value: trigger?.activation ?? 'BEFORE' }+ this.enabledMode = { value: trigger?.enabled_mode ?? 'ORIGIN' }+ this.events = { value: trigger?.events ?? [] }+ this.functionName = { value: trigger?.function_name ?? '' }+ this.functionSchema = { value: trigger?.function_schema ?? '' }+ this.orientation = { value: trigger?.orientation ?? 'STATEMENT' }+ this.name = { value: trigger?.name ?? '' }+ this.schema = { value: trigger?.schema ?? '' }+ this.table = { value: trigger?.table ?? '' }+ this.tableId = { value: trigger?.table_id ?? '' }+ }++ update(state: Dictionary<any>) {+ this.activation = state.activation+ this.enabledMode = state.enabledMode+ this.events = state.events+ this.functionName = state.functionName+ this.functionSchema = state.functionSchema+ this.orientation = state.orientation+ this.name = state.name+ this.schema = state.schema+ this.table = state.table+ this.tableId = state.tableId+ }+}++interface ICreateTriggerStore {+ chooseFunctionFormVisible: boolean+ loading: boolean+ formState: CreateTriggerFormState+ meta: any+ selectedFunction?: Dictionary<any>[]+ tables: Dictionary<any>[]+ triggerFunctions: Dictionary<any>[]+ onFormChange: ({ key, value }: { key: string; value: any }) => void+ onSelectFunction: (id: number) => void+ setChooseFunctionFormVisible: (value: boolean) => void+ setDefaultSelectedTable: () => void+ setLoading: (value: boolean) => void+ setTables: (value: Dictionary<any>[]) => void+ setTriggerFunctions: (value: Dictionary<any>[]) => void+ validateForm: () => boolean+}++class CreateTriggerStore implements ICreateTriggerStore {+ chooseFunctionFormVisible = false+ loading = false+ formState = new CreateTriggerFormState()+ meta = null+ tables = []+ triggerFunctions = []++ constructor() {+ makeAutoObservable(this)+ }++ get selectedFunction() {+ const func = this.triggerFunctions.find(+ (x: any) =>+ x.name == this.formState.functionName.value &&+ x.schema == this.formState.functionSchema.value+ )+ return func+ }++ get title() {+ return this.formState.id ? `Edit '${this.formState.originalName}' trigger` : 'Add a new Trigger'+ }++ get isEditing() {+ return this.formState.id != undefined+ }++ setChooseFunctionFormVisible = (value: boolean) => {+ this.chooseFunctionFormVisible = value+ }++ // set first table as default selection+ setDefaultSelectedTable = () => {+ if (this.tables?.length != 0) {+ this.formState.table.value = (this.tables[0] as any).name+ this.formState.schema.value = (this.tables[0] as any).schema+ this.formState.tableId.value = (this.tables[0] as any).id+ }+ }++ setLoading = (value: boolean) => {+ this.loading = value+ }++ setTables = (value: Dictionary<any>[]) => {+ this.tables = value as any+ this.setDefaultSelectedTable()+ }++ setTriggerFunctions = (value: Dictionary<any>[]) => {+ this.triggerFunctions = value as any+ }++ onFormChange = ({ key, value }: { key: string; value: any }) => {+ if (has(this.formState, key)) {+ const temp = (this.formState as any)[key]+ // @ts-ignore+ this.formState[key] = { ...temp, value, error: undefined }+ } else {+ // @ts-ignore+ this.formState[key] = { value }+ }+ }++ onSelectFunction = (id: number) => {+ const func = this.triggerFunctions.find((x: any) => x.id == id)+ if (func) {+ this.formState.functionName.value = (func as any).name+ this.formState.functionSchema.value = (func as any).schema+ }+ }++ validateForm = () => {+ let isValidated = true+ const _state = mapValues(this.formState, (x: { value: any }, key: string) => {+ switch (key) {+ case 'name': {+ if (isEmpty(x.value) || hasWhitespace(x.value)) {+ isValidated = false+ return { ...x, error: 'Invalid trigger name' }+ } else {+ return x+ }+ }+ case 'activation': {+ if (isEmpty(x.value)) {+ isValidated = false+ return { ...x, error: 'you have an error' }+ } else {+ return x+ }+ }+ case 'events': {+ if (isEmpty(x.value)) {+ isValidated = false+ return { ...x, error: 'Select at least 1 event' }+ } else {+ return x+ }+ }+ case 'tableId': {+ if (isEmpty(`${x.value}`)) {+ isValidated = false+ return { ...x, error: 'You must choose a table' }+ } else {+ return x+ }+ }+ default:+ return x+ }+ })+ if (!isValidated) {+ this.formState.update(_state)+ }+ return isValidated+ }+}++function hasWhitespace(value: string) {+ return /\s/.test(value)+}++const CreateTriggerContext = React.createContext<ICreateTriggerStore | null>(null)++type CreateTriggerProps = {+ trigger?: any+ visible: boolean+ setVisible: (value: boolean) => void+} & any++const CreateTrigger: React.FC<CreateTriggerProps> = ({ trigger, visible, setVisible }) => {+ const { meta } = useStore()+ const _localState = useLocalObservable(() => new CreateTriggerStore())+ _localState.meta = meta as any++ // for the empty 'no tables' state link+ const router = useRouter()+ const { ref } = router.query++ React.useEffect(() => {+ const fetchTables = async () => {+ await (_localState!.meta as any)!.tables!.load()+ const tables = (_localState!.meta as any)!.tables.list()+ _localState.setTables(tables)+ }+ const fetchFunctions = async () => {+ await (_localState.meta as any).functions.load()+ const triggerFuncs = (_localState!.meta as any)!.functions.listTriggerFunctions()+ _localState.setTriggerFunctions(triggerFuncs)+ }++ fetchTables()+ fetchFunctions()+ }, [])++ React.useEffect(() => {+ if (trigger) {+ _localState.formState.reset(trigger)+ } else {+ _localState.formState.reset()+ _localState.setDefaultSelectedTable()+ }+ }, [visible, trigger])++ async function handleSubmit() {+ try {+ if (_localState.validateForm()) {+ _localState.setLoading(true)++ const body = _localState.formState.requestBody+ const response: any = _localState.isEditing+ ? await (_localState.meta as any).triggers.update(body.id, body)+ : await (_localState.meta as any).triggers.create(body)++ if (response.error) {+ toast.error(`Error: ${response.error.message ?? 'submit request failed'}`)+ _localState.setLoading(false)+ } else {+ toast.success(+ `${_localState.isEditing ? 'Updated' : 'Created new'} trigger called ${response.name}`+ )+ _localState.setLoading(false)+ setVisible(!visible)+ }+ }+ } catch (error: any) {+ console.error('Handle submit error:', error)+ toast.error(error.message)+ _localState.setLoading(false)+ }+ }++ const hasPublicTables = _localState.tables.length >= 1++ return (+ <>+ <SidePanel+ wide+ visible={visible}+ onCancel={() => setVisible(!visible)}+ // @ts-ignore+ contentStyle={{ padding: 0 }}+ footerBackground={true}+ title={_localState.title}+ hideFooter={!hasPublicTables}+ className={+ _localState.chooseFunctionFormVisible+ ? 'hooks-sidepanel transform transition-all duration-300 ease-in-out mr-16'+ : 'hooks-sidepanel transform transition-all duration-300 ease-in-out mr-0'+ }+ loading={_localState.loading}+ onConfirm={handleSubmit}+ >+ {hasPublicTables ? (+ <div className="pb-8">+ <CreateTriggerContext.Provider value={_localState}>+ <div className="space-y-10 mt-4">+ {_localState.isEditing ? (+ <div className="px-6 space-y-6">+ <InputName />+ <SelectEnabledMode />+ </div>+ ) : (+ <>+ <div className="px-6">+ <InputName />+ </div>+ <Divider light />+ <div className="px-6 space-y-12">+ <Typography.Title level={5}>Conditions to fire trigger</Typography.Title>+ <ListboxTable />+ <CheckboxEvents />+ <ListboxActivation />+ <SelectOrientation />+ </div>+ <Divider light />+ <FunctionForm />+ </>+ )}+ </div>+ <ChooseFunctionForm+ triggerFunctions={_localState.triggerFunctions}+ visible={_localState.chooseFunctionFormVisible}+ setVisible={_localState.setChooseFunctionFormVisible}+ onChange={(id: number) => _localState.onSelectFunction(id)}+ />+ </CreateTriggerContext.Provider>+ </div>+ ) : (+ <NoTableState />+ )}+ </SidePanel>+ </>+ )+}++const NoTableState: React.FC = ({}) => {+ // for the empty 'no tables' state link+ const router = useRouter()+ const { ref } = router.query++ return (+ <ProductEmptyState+ title="No public tables found"+ ctaButtonLabel="Create a new table"+ onClickCta={() => {+ router.push(`/project/${ref}/database/tables`)+ }}+ >+ <Typography.Text type="secondary">+ You will need to create a table first before you can make a trigger+ </Typography.Text>+ </ProductEmptyState>+ )+}++export default observer(CreateTrigger)++const InputName: React.FC = observer(({}) => {+ const _localState = React.useContext(CreateTriggerContext)+ return (+ <Input+ id="name"+ label="Name of trigger"+ layout="horizontal"+ placeholder="Name of trigger"+ value={_localState!.formState.name.value}+ onChange={(e) =>+ _localState!.onFormChange({+ key: 'name',+ value: e.target.value,+ })+ }+ size="small"+ error={_localState!.formState.name.error}+ descriptionText="The name is also stored as the actual postgres name of the trigger. Do not use spaces/whitespace."+ />+ )+})++const SelectEnabledMode: React.FC = observer(({}) => {+ const _localState = React.useContext(CreateTriggerContext)+ return (+ <Listbox+ id="enabled-mode"+ label="Enabled mode"+ layout="horizontal"+ value={_localState!.formState.enabledMode.value}+ onChange={(value) =>+ _localState!.onFormChange({+ key: 'enabledMode',+ value: value,+ })+ }+ size="small"+ descriptionText="Determines if a trigger should or should not fire. Can also be used to disable a trigger, but not delete it."+ >+ <Listbox.Option+ addOnBefore={({ active, selected }: any) => {+ return (+ <div className="bg-green-500 border border-green-700 shadow-sm w-3 h-3 rounded-full"></div>+ )+ }}+ value="ORIGIN"+ label="Origin"+ >+ Origin+ <span className="opacity-50 block">This is a default behaviour</span>+ </Listbox.Option>+ <Listbox.Option+ addOnBefore={({ active, selected }: any) => {+ return (+ <div className="bg-green-500 border border-green-700 shadow-sm w-3 h-3 rounded-full"></div>+ )+ }}+ value="REPLICA"+ label="Replica"+ >+ Replica+ <span className="opacity-50 block">Will only fire if the session is in “replica” mode</span>+ </Listbox.Option>+ <Listbox.Option+ addOnBefore={({ active, selected }: any) => {+ return (+ <div className="bg-green-500 border border-green-700 shadow-sm w-3 h-3 rounded-full"></div>+ )+ }}+ value="ALWAYS"+ label="Always"+ >+ Always+ <span className="opacity-50 block">+ Will fire regardless of the current replication role+ </span>+ </Listbox.Option>+ <Listbox.Option+ addOnBefore={({ active, selected }: any) => {+ return (+ <div className="bg-red-500 border border-red-700 shadow-sm w-3 h-3 rounded-full"></div>+ )+ }}+ value="DISABLED"+ label="Disabled"+ >+ Disabled+ <span className="opacity-50 block">Will not fire</span>+ </Listbox.Option>+ </Listbox>+ )+})++const SelectOrientation: React.FC = observer(({}) => {+ const _localState = React.useContext(CreateTriggerContext)+ return (+ <Listbox+ id="orientation"+ label="Orientation"+ layout="horizontal"+ value={_localState!.formState.orientation.value}+ onChange={(value) =>+ _localState!.onFormChange({+ key: 'orientation',+ value: value,+ })+ }+ size="small"+ descriptionText="Identifies whether the trigger fires once for each processed row or once for each statement"+ >+ <Listbox.Option value="ROW" label="Row">+ Row+ <span className="opacity-50 block">fires once for each processed row</span>+ </Listbox.Option>+ <Listbox.Option value="STATEMENT" label="Statement">+ Statement+ <span className="opacity-50 block">fires once for each statement</span>+ </Listbox.Option>+ </Listbox>+ )+})++const ListboxTable: React.FC = observer(({}) => {+ const _localState = React.useContext(CreateTriggerContext)++ return (+ <Listbox+ id="table"+ label="Table"+ layout="horizontal"+ value={_localState!.formState.tableId.value}+ onChange={(id) => {+ const _table = _localState!.tables.find((x) => x.id === id)+ if (_table) {+ _localState!.onFormChange({+ key: 'table',+ value: _table.name,+ })+ _localState!.onFormChange({+ key: 'schema',+ value: _table.schema,+ })+ _localState!.onFormChange({+ key: 'tableId',+ value: id,+ })+ }+ }}+ size="small"+ error={_localState!.formState.tableId.error}+ descriptionText="This is the table the trigger will watch for changes. You can only select 1 table for a trigger."+ >+ {_localState!.tables.map((x) => {+ return (+ <Listbox.Option+ id={x.id}+ key={x.id}+ value={x.id}+ label={x.name}+ addOnBefore={() => (+ <div className="bg-green-600 p-1 flex items-center justify-center rounded text-typography-body-dark ">+ <SVG+ src={'/img/table-editor.svg'}+ style={{ width: `16px`, height: `16px`, strokeWidth: '1px' }}+ preProcessor={(code) =>+ code.replace(/svg/, 'svg class="m-auto text-color-inherit"')+ }+ />+ </div>+ )}+ >+ <div className="flex flex-row items-center space-x-1">+ <Typography.Text>{x.name}</Typography.Text>+ <Divider light type="vertical" />+ <Typography.Text type="secondary" className="opacity-50" small>+ {x.schema}+ </Typography.Text>+ </div>+ </Listbox.Option>+ )+ })}+ </Listbox>+ )+})++const CheckboxEvents: React.FC = observer(({}) => {+ const _localState = React.useContext(CreateTriggerContext)+ return (+ // @ts-ignore+ <Checkbox.Group+ name="events"+ label="Events"+ id="events"+ labelOptional="The type of events that will trigger your trigger"+ layout="horizontal"+ descriptionText="These are the events that are watched by the trigger, only the events selected above will fire the trigger on the table you've selected."+ size="small"+ onChange={(e) => {+ const temp = _localState!.formState.events.value+ const value = e.target.checked+ ? union(temp, [e.target.value])+ : without(temp, e.target.value)+ _localState!.onFormChange({+ key: 'events',+ value: value,+ })+ }}+ error={_localState!.formState.events.error}+ >+ <Checkbox+ value="INSERT"+ label="INSERT"+ description={'Any insert operation on the table'}+ checked={_localState!.formState.events.value.includes('INSERT')}+ />+ <Checkbox+ value="UPDATE"+ label="UPDATE"+ description="Any update operation, of any column in the table"+ checked={_localState!.formState.events.value.includes('UPDATE')}+ />+ <Checkbox+ value="DELETE"+ label="DELETE"+ description="Any deletion of a record"+ checked={_localState!.formState.events.value.includes('DELETE')}+ />+ </Checkbox.Group>+ )+})++const ListboxActivation: React.FC = observer(({}) => {+ const _localState = React.useContext(CreateTriggerContext)+ return (+ <Listbox+ id="activation"+ label="Trigger type"+ descriptionText="This dertermines when your Hook fires"+ onChange={(_value) => {+ _localState!.onFormChange({+ key: 'activation',+ value: _value,+ })+ }}+ value={_localState!.formState.activation.value}+ layout="horizontal"+ size="small"+ error={_localState!.formState.activation.error}+ >+ <Listbox.Option+ id={'before'}+ value={'BEFORE'}+ label={'Before the event'}+ addOnBefore={() => (+ <div className="bg-green-600 p-1 flex items-center justify-center rounded text-typography-body-dark ">+ <IconPauseCircle strokeWidth={2} size="small" />+ </div>+ )}+ >+ <div className="flex flex-col">+ <span>{'before'}</span>+ <span className="opacity-50 block">Trigger fires before the operation is attempted</span>+ </div>+ </Listbox.Option>+ <Listbox.Option+ id={'after'}+ value={'AFTER'}+ label={'After the event'}+ addOnBefore={() => (+ <div className="bg-green-600 p-1 flex items-center justify-center rounded text-typography-body-dark ">+ <IconPlayCircle strokeWidth={2} size="small" />+ </div>+ )}+ >+ <div className="flex flex-col">+ <span>{'after'}</span>+ <span className="opacity-50 block">Trigger fires after the operation has completed</span>+ </div>+ </Listbox.Option>+ </Listbox>+ )+})++const FunctionForm: React.FC = observer(({}) => {+ const _localState = React.useContext(CreateTriggerContext)++ return (+ <div className="space-y-4">+ <div className="px-6 space-y-6">+ <Typography.Title level={5}>Function to trigger</Typography.Title>+ </div>+ <div className="px-6">+ {isEmpty(_localState!.formState.functionName.value) ? (+ <FunctionEmpty />+ ) : (+ <FunctionWithArguments />+ )}+ </div>+ </div>+ )+})++const FunctionEmpty: React.FC = observer(({}) => {+ const _localState = React.useContext(CreateTriggerContext)+ return (+ <button+ type="button"+ onClick={() => _localState!.setChooseFunctionFormVisible(true)}+ className="w-full relative transition-shadow shadow-sm+ border-2 border-dashed dark:border-dark rounded hover:border-gray-300+ px-6 py-4+ hover:bg-bg-alt-light dark:hover:bg-bg-alt-dark hover:bg-opacity-25 hover:shadow-md cursor-pointer+ flex space-x-3 items-center"+ >+ <FormEmptyBox+ icon={<IconTerminal size={21} strokeWidth={2} />}+ text="Choose a function to trigger"+ />+ <div className="form-info-panel__edit-icon transition-all opacity-0 absolute right-3 top-3 mt-0 bg-gray-600 w-8 h-8 rounded-full flex items-center justify-center text-white">+ <IconTool size="small" />+ </div>+ </button>+ )+})++const FunctionWithArguments: React.FC = observer(({}) => {+ const _localState = React.useContext(CreateTriggerContext)++ return (+ <>+ <button+ type="button"+ onClick={() => _localState!.setChooseFunctionFormVisible(true)}+ className="bg-bg-alt-light dark:bg-bg-alt-dark+ w-full+ form-info-panel+ relative+ transition-shadow shadow-sm+ border dark:border-dark rounded hover:border-gray-300+ px-6 py-4+ hover:bg-gray-100 hover:bg-opacity-25 hover:shadow-md cursor-pointer+ flex space-x-3 items-center"+ >+ <div className="flex rounded-full w-8 h-8 bg-green-700 bg-opacity-10 items-center justify-center">+ <IconTerminal size="small" strokeWidth={2} />+ </div>+ <div className="flex items-center justify-center space-x-4">+ <Typography.Text type="secondary">+ {_localState!.formState.functionName.value}+ </Typography.Text>+ <div>+ <Badge>{_localState!.formState.functionSchema.value}</Badge>+ </div>+ </div>+ <div className="form-info-panel__edit-icon transition-all opacity-0 absolute right-3 top-3 mt-0 bg-gray-600 w-8 h-8 rounded-full flex items-center justify-center text-white">+ <IconTool size="small" />+ </div>+ </button>+ </>+ )+})diff --git a/studio/components/interfaces/Database/Triggers/DeleteTrigger.tsx b/studio/components/interfaces/Database/Triggers/DeleteTrigger.tsxnew file mode 100644index 00000000000..5621cc5ab7a--- /dev/null+++ b/studio/components/interfaces/Database/Triggers/DeleteTrigger.tsx@@ -0,0 +1,56 @@+import * as React from 'react'+import toast from 'react-hot-toast'+import { observer } from 'mobx-react-lite'+import { useStore } from 'hooks'+import TextConfirmModal from 'components/to-be-cleaned/ModalsDeprecated/TextConfirmModal'++type DeleteTriggerProps = {+ trigger?: any+ visible: boolean+ setVisible: (value: boolean) => void+} & any++const DeleteTrigger: React.FC<DeleteTriggerProps> = ({ store, trigger, visible, setVisible }) => {+ const { meta } = useStore()+ const [loading, setLoading] = React.useState(false)+ const { id, name, schema } = trigger ?? {}++ async function handleDelete() {+ try {+ setLoading(true)+ if (!id) {+ throw Error('Invalid trigger info')+ }+ const response: any = await meta.triggers.del(id)+ if (response.error) {+ throw response.error+ } else {+ toast.success(`Trigger ${name} removed`)+ setVisible(false)+ }+ } catch (error: any) {+ toast.error(`Deleting ${name} failed: ${error.message}`)+ } finally {+ setLoading(false)+ }+ }++ return (+ <>+ <TextConfirmModal+ visible={visible}+ onCancel={() => setVisible(!visible)}+ onConfirm={handleDelete}+ title="Delete this trigger"+ loading={loading}+ confirmLabel={`Delete trigger ${name}`}+ confirmPlaceholder="Type in name of trigger"+ confirmString={name}+ text={`This will delete your trigger called ${name} of schema ${schema}.`}+ alert="You cannot recover this trigger once it is deleted!"+ />+ </>+ )+}++export default observer(DeleteTrigger)diff --git a/studio/components/interfaces/Database/index.ts b/studio/components/interfaces/Database/index.tsnew file mode 100644index 00000000000..6ae975d5f05--- /dev/null+++ b/studio/components/interfaces/Database/index.ts@@ -0,0 +1,36 @@+import TableList from './Tables/TableList'+import ColumnList from './Tables/ColumnList'++import RolesList from './Roles/RolesList'+import RolesSettings from './Roles/RolesSettings'++import Extensions from './Extensions/Extensions'++import PublicationsList from './Publications/PublicationsList'+import PublicationsTables from './Publications/PublicationsTables'++import BackupsList from './Backups/BackupsList'++import BouncerSettings from './Pooling/BouncerSettings'++import CreateTrigger from './Triggers/CreateTrigger'+import DeleteTrigger from './Triggers/DeleteTrigger'++import CreateFunction from './Functions/CreateFunction'+import DeleteFunction from './Functions/DeleteFunction'++export {+ TableList,+ ColumnList,+ RolesList,+ RolesSettings,+ Extensions,+ PublicationsList,+ PublicationsTables,+ BackupsList,+ BouncerSettings,+ CreateTrigger,+ DeleteTrigger,+ CreateFunction,+ DeleteFunction,+}diff --git a/studio/components/interfaces/Home/ClientLibrary.tsx b/studio/components/interfaces/Home/ClientLibrary.tsxnew file mode 100644index 00000000000..fa85781ee08--- /dev/null+++ b/studio/components/interfaces/Home/ClientLibrary.tsx@@ -0,0 +1,50 @@+import { FC } from 'react'+import { Typography, IconBookOpen, IconGitHub, Button, Badge } from '@supabase/ui'++interface Props {+ language: string+ officialSupport?: boolean+ releaseState?: string+ docsUrl?: string+ gitUrl: string+}++const ClientLibrary: FC<Props> = ({ language, releaseState, officialSupport, docsUrl, gitUrl }) => {+ return (+ <div className="flex space-x-6 items-start">+ <img+ src={`/img/libraries/${language.toLowerCase()}-icon.svg`}+ alt={`${language} logo`}+ width="21"+ />+ <div className="space-y-4">+ <div>+ <Typography.Title level={5}>+ {language} {releaseState && <Badge color="yellow">{`Public ${releaseState}`}</Badge>}+ </Typography.Title>+ <Typography.Text>+ {officialSupport+ ? 'This library is officially supported'+ : 'This library is community supported'}+ </Typography.Text>+ </div>+ <div className="space-x-1">+ {docsUrl && (+ <a href={docsUrl} target="_blank">+ <Button icon={<IconBookOpen />} type="outline">+ Docs+ </Button>+ </a>+ )}+ <a href={gitUrl} target="_blank">+ <Button icon={<IconGitHub />} type="outline">+ See GitHub+ </Button>+ </a>+ </div>+ </div>+ </div>+ )+}++export default ClientLibrarydiff --git a/studio/components/interfaces/Home/ExampleProject.tsx b/studio/components/interfaces/Home/ExampleProject.tsxnew file mode 100644index 00000000000..88f5c64f6e3--- /dev/null+++ b/studio/components/interfaces/Home/ExampleProject.tsx@@ -0,0 +1,43 @@+import { FC } from 'react'+import { Typography, IconChevronRight } from '@supabase/ui'++interface Props {+ framework: string+ title: string+ description: string+ url: string+}++const ExampleProject: FC<Props> = ({ framework, title, description, url }) => {+ return (+ <a href={url}>+ <div+ className={[+ 'bg-panel-header-light dark:bg-panel-header-dark hover:bg-bg-alt-light dark:hover:bg-bg-alt-dark border',+ 'border-border-secondary-light dark:border-border-secondary-dark hover:border-border-secondary-hover-light',+ 'dark:hover:border-border-secondary-hover-dark rounded-md p-4 flex flex-row h-32 hover:border-gray-300',+ 'transition ease-in-out duration-150',+ ].join(' ')}+ >+ <div className="flex flex-col mr-4">+ <img+ src={`/img/libraries/${framework.toLowerCase()}-icon.svg`}+ alt={`${framework} logo`}+ width="26"+ />+ </div>+ <div className="space-y-4 w-4/5">+ <div>+ <Typography.Title level={5}>{title}</Typography.Title>+ <Typography.Text type="secondary">{description}</Typography.Text>+ </div>+ </div>+ <div>+ <IconChevronRight />+ </div>+ </div>+ </a>+ )+}++export default ExampleProjectdiff --git a/studio/components/interfaces/Home/Home.constants.ts b/studio/components/interfaces/Home/Home.constants.tsnew file mode 100644index 00000000000..d5c8531c303--- /dev/null+++ b/studio/components/interfaces/Home/Home.constants.ts@@ -0,0 +1,98 @@+export const CLIENT_LIBRARIES = [+ {+ language: 'Javascript',+ officialSupport: true,+ releaseState: undefined,+ docsUrl: 'https://supabase.io/docs/reference/javascript/installing',+ gitUrl: 'https://github.com/supabase/supabase-js',+ },+ {+ language: 'Python',+ officialSupport: false,+ releaseState: 'Alpha',+ docsUrl: undefined,+ gitUrl: 'https://github.com/supabase/supabase-py',+ },+ {+ language: 'Dart',+ officialSupport: false,+ releaseState: 'Beta',+ docsUrl: undefined,+ gitUrl: 'https://github.com/supabase/supabase-dart',+ },+]++export const EXAMPLE_PROJECTS = [+ {+ framework: 'Svelte',+ title: 'Svelte kanban board',+ description: 'A Trello clone using Supabase as the storage system.',+ url: 'https://github.com/joshnuss/supabase-kanban',+ },+ {+ framework: 'NextJS',+ title: 'Next.js Realtime chat app',+ description: 'Next.js Slack clone app using Supabase realtime subscriptions',+ url: 'https://github.com/supabase/supabase/tree/master/examples/nextjs-slack-clone',+ },+ {+ framework: 'NextJS',+ title: 'Next.js Subscription and Auth',+ description: 'The all-in-one starter kit for high-performance SaaS applications.',+ url: 'https://github.com/vercel/nextjs-subscription-payments',+ },+ {+ framework: 'Expo',+ title: 'Expo Starter',+ description: 'Template bottom tabs with auth flow (Typescript)',+ url: 'https://github.com/codingki/react-native-expo-template/tree/master/template-typescript-bottom-tabs-supabase-auth-flow',+ },+ {+ framework: 'NestJS',+ title: 'NestJS example',+ description: 'NestJS example using Supabase Auth',+ url: 'https://github.com/hiro1107/nestjs-supabase-auth',+ },+ {+ framework: 'React',+ title: 'React.js realtime chat app',+ description: 'Example app of real-time chat using supabase realtime api',+ url: 'https://github.com/shwosner/realtime-chat-supabase-react',+ },+ {+ framework: 'JavaScript',+ title: 'Vanilla-js Auth app',+ description: 'Example app of real-time chat using supabase realtime api',+ url: 'https://github.com/supabase/supabase/tree/master/examples/javascript-auth',+ },+ {+ framework: 'React',+ title: 'React Native todo list app',+ description: 'React Native Todo List example with Expo',+ url: 'https://github.com/supabase/supabase/tree/master/examples/expo-todo-list',+ },+ {+ framework: 'NextJS',+ title: 'NextJS todo list app',+ description: 'NextJS todo list example',+ url: 'https://github.com/supabase/supabase/tree/master/examples/nextjs-todo-list',+ },+ {+ framework: 'React',+ title: 'React todo List app',+ description: 'React todo List example',+ url: 'https://github.com/supabase/supabase/tree/master/examples/react-todo-list',+ },+ {+ framework: 'Svelte',+ title: 'Svelte todo list app',+ description: 'Sveltejs todo with TailwindCSS and Snowpack',+ url: 'https://github.com/supabase/supabase/tree/master/examples/sveltejs-todo-list',+ },+ {+ framework: 'VueJS',+ title: 'Vue.js todo list app',+ description: 'Vue.js todo app using TypeScript',+ url: 'https://github.com/supabase/supabase/tree/master/examples/vue3-ts-todo-list',+ },+]diff --git a/studio/components/interfaces/Home/Landing.tsx b/studio/components/interfaces/Home/Landing.tsxnew file mode 100644index 00000000000..d1d61133052--- /dev/null+++ b/studio/components/interfaces/Home/Landing.tsx@@ -0,0 +1,73 @@+import Image from 'next/image'+import Link from 'next/link'+import Head from 'next/head'+import { observer } from 'mobx-react-lite'+import { Button, Typography } from '@supabase/ui'++import { API_URL } from 'lib/constants'+import { useStore } from 'hooks'++const Landing = () => {+ const { ui } = useStore()+ const { theme } = ui++ return (+ <div className="z-10 relative h-screen flex flex-col">+ <Head>+ <title>Supabase</title>+ </Head>+ <div className="sticky top-0 w-full max-w-7xl mx-auto pt-6 px-8 sm:px-6 lg:px-8">+ <nav className="relative flex items-center justify-between sm:h-10">+ <div className="flex items-center flex-grow flex-shrink-0 lg:flex-grow-0">+ <div className="flex items-center justify-between w-full md:w-auto">+ <a href="#">+ <Image+ src={theme == 'dark' ? '/img/supabase-dark.svg' : '/img/supabase-light.svg'}+ alt=""+ height={24}+ width={120}+ />+ </a>+ </div>+ </div>+ <div className="hidden md:block md:ml-10 md:pr-4">+ <Typography.Text className="ml-8 font-medium hover:text-gray-300 focus:outline-none focus:text-gray-300 transition duration-150 ease-in-out">+ <Link href="https://supabase.io/docs">Documentation</Link>+ </Typography.Text>+ <Typography.Text+ type="success"+ className="ml-8 font-medium hover:text-gray-300 focus:outline-none focus:text-gray-300 transition duration-150 ease-in-out"+ >+ <Link href={`${API_URL}/login`}>Sign in</Link>+ </Typography.Text>+ </div>+ </nav>+ </div>+ <div className="flex items-center justify-center mx-auto h-full max-w-screen-xl px-8">+ <div className="sm:text-center">+ <Typography.Title level={2}>+ Give your database <span className="text-green-500">superpowers</span>+ </Typography.Title>+ <Typography.Text type="secondary">+ <p className="mt-3 text-lg sm:mt-5 sm:max-w-2xl sm:mx-auto md:mt-5 lg:mx-0">+ Create a backend in less than 2 minutes. Start your project with a Postgres Database,+ Authentication, instant APIs, and realtime subscriptions.+ </p>+ </Typography.Text>+ <div className="mt-5 sm:mt-8 sm:flex sm:justify-center space-x-3">+ <Link href={`${API_URL}/login`}>+ <Button size="large">Sign In</Button>+ </Link>+ <Link href="https://supabase.io/docs">+ <Button size="large" type="default">+ Docs+ </Button>+ </Link>+ </div>+ </div>+ </div>+ </div>+ )+}++export default observer(Landing)diff --git a/studio/components/interfaces/Home/NewProjectPanel/GetStartedPanel.tsx b/studio/components/interfaces/Home/NewProjectPanel/GetStartedPanel.tsxnew file mode 100644index 00000000000..4f7f8d6fda5--- /dev/null+++ b/studio/components/interfaces/Home/NewProjectPanel/GetStartedPanel.tsx@@ -0,0 +1,120 @@+import { FC } from 'react'+import Link from 'next/link'+import { useRouter } from 'next/router'+import { Typography, Button, IconDatabase, IconKey, IconArchive } from '@supabase/ui'+import Panel from 'components/to-be-cleaned/Panel'++interface Props {}++const GetStartedPanel: FC<Props> = ({}) => {+ const router = useRouter()+ const { ref } = router.query+ return (+ <>+ <div className="flex flex-col space-y-6">+ <div>+ <div className="flex flex-col justify-between h-full space-y-6">+ <div className="space-y-2">+ <Typography.Title level={4} className="m-0">+ Welcome to your new project+ </Typography.Title>+ <div className="lg:max-w-lg">+ <Typography.Text className="block" type="secondary">+ <p>+ Your project has been deployed on its own instance, with its own url and API all+ set up and ready to use.+ </p>+ </Typography.Text>+ </div>+ </div>+ </div>+ </div>++ <div className="grid grid-cols-1 lg:grid-cols-3 lg:gap-8">+ <Panel>+ <Panel.Content className=" flex flex-col space-y-4 lg:h-40">+ <div className="flex items-center space-x-3">+ <Typography.Text>+ <IconDatabase size="medium" />+ </Typography.Text>+ <Typography.Title level={5} className="mb-0">+ Database+ </Typography.Title>+ </div>+ <div className="flex flex-grow">+ <Typography.Text type="secondary" className="opacity-50">+ Supabase is built on top of Postgres, an extremely scalable Relational Database.+ </Typography.Text>+ </div>+ <div className="space-x-2">+ <Link href={`/project/${ref}/editor/table`}>+ <Button type="default">Table editor</Button>+ </Link>+ <Link href={`/project/${ref}/editor/sql`}>+ <Button type="default">SQL editor</Button>+ </Link>+ <a href="https://supabase.io/docs/guides/database" target="_blank">+ <Button type="text">Documentation</Button>+ </a>+ </div>+ </Panel.Content>+ </Panel>++ <Panel className="">+ <Panel.Content className=" flex flex-col space-y-4 lg:h-40">+ <div className="flex items-center space-x-3">+ <Typography.Text>+ <IconKey size="medium" />+ </Typography.Text>+ <Typography.Title level={5} className="mb-0">+ Auth+ </Typography.Title>+ </div>+ <div className="flex flex-grow">+ <Typography.Text type="secondary" className="opacity-50">+ Supabase makes it simple to manage your users.+ </Typography.Text>+ </div>+ <div className="space-x-2">+ <Link href={`/project/${ref}/auth/users`}>+ <Button type="default">Try Auth</Button>+ </Link>+ <a href="https://supabase.io/docs/guides/auth" target="_blank">+ <Button type="text">Documentation</Button>+ </a>+ </div>+ </Panel.Content>+ </Panel>++ <Panel>+ <Panel.Content className=" flex flex-col space-y-4 lg:h-40">+ <div className="flex items-center space-x-3">+ <Typography.Text>+ <IconArchive size="medium" />+ </Typography.Text>+ <Typography.Title level={5} className="mb-0">+ Storage+ </Typography.Title>+ </div>+ <div className="flex flex-grow">+ <Typography.Text type="secondary" className="opacity-50">+ Store and serve large files from multiple buckets.+ </Typography.Text>+ </div>+ <div className="space-x-2">+ <Link href={`/project/${ref}/storage/buckets`}>+ <Button type="default">Try Storage</Button>+ </Link>+ <a href="https://supabase.io/docs/guides/storage" target="_blank">+ <Button type="text">Documentation</Button>+ </a>+ </div>+ </Panel.Content>+ </Panel>+ </div>+ </div>+ </>+ )+}++export default GetStartedPaneldiff --git a/studio/components/interfaces/Home/NewProjectPanel/NewProjectPanel.tsx b/studio/components/interfaces/Home/NewProjectPanel/NewProjectPanel.tsxnew file mode 100644index 00000000000..e85e788b4f8--- /dev/null+++ b/studio/components/interfaces/Home/NewProjectPanel/NewProjectPanel.tsx@@ -0,0 +1,40 @@+import { FC } from 'react'+import { Typography } from '@supabase/ui'++import { Project } from 'types'+import GetStartedPanel from './GetStartedPanel'+import {+ DisplayApiSettings,+ DisplayConfigSettings,+} from 'components/to-be-cleaned/DisplayProjectSettings'++interface Props {}++const NewProjectPanel: FC<Props> = ({}) => (+ <div className="grid grid-cols-12 gap-8 mx-6">+ <div className="col-span-12">+ <GetStartedPanel />+ </div>+ <div className="col-span-4">+ <div className="space-y-2">+ <Typography.Title level={4} className="m-0">+ Connecting to your new project+ </Typography.Title>+ <div className="lg:max-w-sm">+ <Typography.Text className="block" type="secondary">+ <p>+ Your project has API keys for interacting with the database via Supabase client+ libraries.+ </p>+ </Typography.Text>+ </div>+ </div>+ </div>+ <div className="col-span-8">+ <DisplayApiSettings />+ <DisplayConfigSettings />+ </div>+ </div>+)++export default NewProjectPaneldiff --git a/studio/components/interfaces/Home/ProjectList/PausedProjectCard.tsx b/studio/components/interfaces/Home/ProjectList/PausedProjectCard.tsxnew file mode 100644index 00000000000..b84afbc1790--- /dev/null+++ b/studio/components/interfaces/Home/ProjectList/PausedProjectCard.tsx@@ -0,0 +1,52 @@+import { FC } from 'react'+import { Typography, Badge, Button } from '@supabase/ui'++import { Project } from 'types'++interface Props {+ project: Project+ onSelectRestore: () => void+ onSelectDelete: () => void+}++const PausedProjectCard: FC<Props> = ({+ project,+ onSelectRestore = () => {},+ onSelectDelete = () => {},+}) => {+ return (+ <li className="col-span-1 flex shadow-sm rounded-md">+ <a className="w-full col-span-3 md:col-span-1 ">+ <div+ className={[+ 'bg-panel-header-light dark:bg-panel-header-dark',+ 'hover:bg-bg-alt-light dark:hover:bg-bg-alt-dark',+ 'border border-border-secondary-light dark:border-border-secondary-dark',+ 'hover:border-border-secondary-hover-light dark:hover:border-border-secondary-hover-dark',+ 'p-4 h-32 rounded',+ 'transition ease-in-out duration-150 flex flex-col justify-between',+ ].join(' ')}+ >+ <div className="flex items-center justify-between space-x-2">+ <Typography.Title level={4} className="m-0 truncate">+ {project.name}+ </Typography.Title>+ <Badge color="yellow" dot>+ Paused+ </Badge>+ </div>+ <div className="flex items-center space-x-2">+ <Button size="tiny" onClick={() => onSelectRestore()}>+ Restore+ </Button>+ <Button size="tiny" type="outline" onClick={() => onSelectDelete()}>+ Delete+ </Button>+ </div>+ </div>+ </a>+ </li>+ )+}++export default PausedProjectCarddiff --git a/studio/components/interfaces/Home/ProjectList/ProjectCard.tsx b/studio/components/interfaces/Home/ProjectList/ProjectCard.tsxnew file mode 100644index 00000000000..58d90bea758--- /dev/null+++ b/studio/components/interfaces/Home/ProjectList/ProjectCard.tsx@@ -0,0 +1,35 @@+import { FC } from 'react'+import Link from 'next/link'+import { Typography } from '@supabase/ui'+import { Project } from 'types'++interface Props {+ project: Project+}++const ProjectCard: FC<Props> = ({ project }) => {+ const { name, ref: projectRef, status } = project+ const desc = `${project.cloud_provider} | ${project.region}`+ return (+ <li className="col-span-1 flex shadow-sm rounded-md">+ <Link href={`/project/${projectRef}`}>+ <a className="w-full col-span-3 md:col-span-1">+ <div+ className="bg-panel-header-light dark:bg-panel-header-dark hover:bg-bg-alt-light+ dark:hover:bg-bg-alt-dark border border-border-secondary-light+ dark:border-border-secondary-dark hover:border-border-secondary-hover-light+ dark:hover:border-border-secondary-hover-dark p-4 h-32 rounded transition+ ease-in-out duration-150 flex flex-col justify-between"+ >+ <Typography.Title level={4}>{name}</Typography.Title>+ <div className="lowercase">+ <Typography.Text>{desc}</Typography.Text>+ </div>+ </div>+ </a>+ </Link>+ </li>+ )+}++export default ProjectCarddiff --git a/studio/components/interfaces/Home/ProjectList/ProjectList.tsx b/studio/components/interfaces/Home/ProjectList/ProjectList.tsxnew file mode 100644index 00000000000..4896ca88afd--- /dev/null+++ b/studio/components/interfaces/Home/ProjectList/ProjectList.tsx@@ -0,0 +1,69 @@+import { FC } from 'react'+import { Button, IconPlus, Loading, Typography } from '@supabase/ui'+import { useRouter } from 'next/router'+import { observer } from 'mobx-react-lite'++import { useStore } from 'hooks'+import { Organization, Project } from 'types'+import { makeRandomString } from 'lib/helpers'+import { PROJECT_STATUS } from 'lib/constants'+import ProjectCard from './ProjectCard'+import PausedProjectCard from './PausedProjectCard'++interface Props {+ onSelectRestore: (project: Project) => void+ onSelectDelete: (project: Project) => void+}++const ProjectList: FC<Props> = ({ onSelectRestore = () => {}, onSelectDelete = () => {} }) => {+ const router = useRouter()+ const { app } = useStore()+ const { organizations, projects } = app+ const { isLoading } = projects++ return (+ <>+ {organizations.list().map((org: Organization) => {+ const { id, name, slug } = org+ const sortedProjects = projects.list(+ ({ organization_id }: Project) => organization_id == id+ )+ const isEmpty = sortedProjects?.length == 0+ return (+ <div className="space-y-3" key={makeRandomString(5)}>+ <Loading active={isLoading}>+ <Typography.Title level={4}>{name}</Typography.Title>+ </Loading>+ <ul className="grid grid-cols-1 gap-4 mx-auto sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4">+ {!isLoading && isEmpty && (+ <div className="max-w-4xl text-center col-span-4 space-y-4 border-2 border-gray-300 border-dashed rounded-lg p-6">+ <Typography.Title level={5}>No projects.</Typography.Title>+ <Typography.Text>Get started by creating a new project.</Typography.Text>+ <div>+ <Button onClick={() => router.push(`/new/${slug}`)} icon={<IconPlus />}>+ New Project+ </Button>+ </div>+ </div>+ )}+ {sortedProjects?.map((project: Project) =>+ project.status === PROJECT_STATUS.INACTIVE ? (+ <PausedProjectCard+ key={makeRandomString(5)}+ project={project}+ onSelectDelete={() => onSelectDelete(project)}+ onSelectRestore={() => onSelectRestore(project)}+ />+ ) : (+ <ProjectCard key={makeRandomString(5)} project={project} />+ )+ )}+ </ul>+ </div>+ )+ })}+ </>+ )+}++export default observer(ProjectList)diff --git a/studio/components/interfaces/Home/ProjectList/index.ts b/studio/components/interfaces/Home/ProjectList/index.tsnew file mode 100644index 00000000000..238e6186c32--- /dev/null+++ b/studio/components/interfaces/Home/ProjectList/index.ts@@ -0,0 +1,3 @@+import ProjectList from './ProjectList'++export default ProjectListdiff --git a/studio/components/interfaces/Home/ProjectUsage.tsx b/studio/components/interfaces/Home/ProjectUsage.tsxnew file mode 100644index 00000000000..0b4075170f6--- /dev/null+++ b/studio/components/interfaces/Home/ProjectUsage.tsx@@ -0,0 +1,176 @@+import useSWR from 'swr'+import dayjs from 'dayjs'+import Link from 'next/link'+import { FC } from 'react'+import { useRouter } from 'next/router'+import { IconArchive, IconDatabase, IconKey, IconZap, Typography } from '@supabase/ui'++import Panel from 'components/to-be-cleaned/Panel'+import ChartHandler from 'components/to-be-cleaned/Charts/ChartHandler'+import { ProjectUsageMinimal } from 'components/to-be-cleaned/Usage'++import { useIsActive } from 'hooks'+import { get } from 'lib/common/fetch'+import { API_URL, METRICS, DATE_FORMAT } from 'lib/constants'++const DATETIME_FORMAT = 'MMM D, ha'++interface Props {+ project: any+}++const ProjectUsage: FC<Props> = ({ project }) => {+ const router = useRouter()+ const { ref } = router.query+ const isActive = useIsActive()+ const { data, error }: any = useSWR(+ // only fetch when browser window is active+ `${API_URL}/projects/${ref}/log-stats`,+ get,+ // increase refresh rate x10 to 30s when focus lost+ // conditional fetching will cause cached data to clear (not desirable)+ { refreshInterval: isActive ? 3000 : 30000 }+ )+ const startDate = dayjs().subtract(7, 'day').format(DATE_FORMAT)+ const endDate = dayjs().format(DATE_FORMAT)+ const charts = data?.data++ return (+ <div className="mx-6 space-y-6">+ <Typography.Title level={4}>Statistics for the past 7 days</Typography.Title>+ <div className="">+ {startDate && endDate && (+ <div className="grid lg:grid-cols-4 lg:gap-8">+ <Panel key="database-chart">+ <Panel.Content className="space-y-4">+ <PanelHeader+ icon={<IconDatabase size="small" />}+ title="Database"+ href={'/project/[ref]/editor/table'}+ as={`/project/${ref}/editor/table`}+ />+ <ChartHandler+ startDate={startDate}+ endDate={endDate}+ attribute={'total_rest_requests'}+ label={METRICS.find((x: any) => x.key == 'total_rest_requests')?.label ?? ''}+ provider="log-stats"+ interval="1d"+ hideChartType+ customDateFormat={DATETIME_FORMAT}+ data={charts}+ isLoading={!charts && !error ? true : false}+ />+ <ProjectUsageMinimal+ projectRef={project.ref}+ subscription_id={project.subscription_id}+ filter="Database"+ />+ </Panel.Content>+ </Panel>+ <Panel key="auth-chart">+ <Panel.Content className="space-y-4">+ <PanelHeader+ icon={<IconKey size="small" />}+ title="Auth"+ href={'/project/[ref]/auth/users'}+ as={`/project/${ref}/auth/users`}+ />+ <ChartHandler+ startDate={startDate}+ endDate={endDate}+ attribute={'total_auth_requests'}+ label={METRICS.find((x) => x.key == 'total_auth_requests')?.label ?? ''}+ provider="log-stats"+ interval="1d"+ hideChartType+ customDateFormat={DATETIME_FORMAT}+ data={charts}+ isLoading={!charts && !error ? true : false}+ />+ <ProjectUsageMinimal+ projectRef={project.ref}+ subscription_id={project.subscription_id}+ filter="Auth"+ />+ </Panel.Content>+ </Panel>+ <Panel key="storage-chart">+ <Panel.Content className="space-y-4">+ <PanelHeader+ icon={<IconArchive size="small" />}+ title="Storage"+ href={'/project/[ref]/storage/buckets'}+ as={`/project/${ref}/storage/buckets`}+ />+ <ChartHandler+ startDate={startDate}+ endDate={endDate}+ attribute={'total_storage_requests'}+ label={METRICS.find((x) => x.key == 'total_storage_requests')?.label ?? ''}+ provider="log-stats"+ interval="1d"+ hideChartType+ customDateFormat={DATETIME_FORMAT}+ data={charts}+ isLoading={!charts && !error ? true : false}+ />+ <ProjectUsageMinimal+ projectRef={project.ref}+ subscription_id={project.subscription_id}+ filter="File storage"+ />+ </Panel.Content>+ </Panel>+ <Panel key="realtime-chart">+ <Panel.Content className="space-y-4">+ <PanelHeader icon={<IconZap size="small" />} title="Realtime" />+ <ChartHandler+ startDate={startDate}+ endDate={endDate}+ attribute={'total_realtime_requests'}+ label={METRICS.find((x: any) => x.key == 'total_realtime_requests')?.label ?? ''}+ provider="log-stats"+ interval="1h"+ hideChartType+ customDateFormat={DATETIME_FORMAT}+ data={charts}+ isLoading={!charts && !error ? true : false}+ />+ {/* Empty space just so the cards are of the same height */}+ <div className="py-[26px]" />+ {/* <ProjectUsageMinimal+ projectRef={project.ref}+ subscription_id={project.subscription_id}+ filter="Connection requests"+ /> */}+ </Panel.Content>+ </Panel>+ </div>+ )}+ </div>+ </div>+ )+}+export default ProjectUsage++const PanelHeader = (props: any) => {+ const Tag = props?.href ? Link : 'div'+ return (+ <Tag href={props.href} as={props.as}>+ <div+ className={+ 'flex items-center space-x-3 opacity-80 ' ++ (props.href ? 'cursor-pointer hover:opacity-100 hover:text-green-500' : '')+ }+ >+ <Typography.Text>{props.icon}</Typography.Text>+ <span className="flex items-center space-x-1">+ <Typography.Title level={4} className="mb-0">+ {props.title}+ </Typography.Title>+ </span>+ </div>+ </Tag>+ )+}diff --git a/studio/components/interfaces/Home/index.ts b/studio/components/interfaces/Home/index.tsnew file mode 100644index 00000000000..e62885bb727--- /dev/null+++ b/studio/components/interfaces/Home/index.ts@@ -0,0 +1,6 @@+import ClientLibrary from './ClientLibrary'+import ExampleProject from './ExampleProject'+import ProjectUsage from './ProjectUsage'+import NewProjectPanel from './NewProjectPanel/NewProjectPanel'++export { ClientLibrary, ExampleProject, ProjectUsage, NewProjectPanel }diff --git a/studio/components/interfaces/Organization/BillingSettings/BillingSettings.tsx b/studio/components/interfaces/Organization/BillingSettings/BillingSettings.tsxnew file mode 100644index 00000000000..bef439669ba--- /dev/null+++ b/studio/components/interfaces/Organization/BillingSettings/BillingSettings.tsx@@ -0,0 +1,236 @@+import Link from 'next/link'+import toast from 'react-hot-toast'+import { useRouter } from 'next/router'+import { FC, useState, useEffect } from 'react'+import { Typography, Badge, Button, IconTrash, IconCreditCard } from '@supabase/ui'++import { API_URL } from 'lib/constants'+import { getURL } from 'lib/helpers'+import { post } from 'lib/common/fetch'+import Panel from 'components/to-be-cleaned/Panel'+import ProjectSubscription from './ProjectSubscription'++interface Props {+ organization: any+ projects: any[]+}++const BillingSettings: FC<Props> = ({ organization, projects = [] }) => {+ const router = useRouter()++ const [loading, setLoading] = useState<boolean>(false)+ const [error, setError] = useState<any>(undefined)+ const [customer, setCustomer] = useState<any>(null)+ const [paymentMethods, setPaymentMethods] = useState<any>(null)++ const { stripe_customer_id, name: orgName, slug: orgSlug } = organization++ const customerBalance = customer && customer.balance ? customer.balance / 100 : 0+ const isCredit = customerBalance < 0+ const isDebt = customerBalance > 0+ const balance =+ isCredit && customerBalance !== 0+ ? customerBalance.toString().replace('-', '')+ : customerBalance++ useEffect(() => {+ if (stripe_customer_id) {+ getStripeAccount()+ }+ }, [stripe_customer_id])++ /**+ * Get stripe account to populate page+ */+ const getStripeAccount = async () => {+ try {+ setLoading(true)+ setError(null)+ const { paymentMethods, customer, error } = await post(`${API_URL}/stripe/customer`, {+ stripe_customer_id: stripe_customer_id,+ })+ if (error) throw error+ setPaymentMethods(paymentMethods)+ setCustomer(customer)+ } catch (error: any) {+ toast.error(error.message)+ setError(error)+ } finally {+ setLoading(false)+ }+ }++ /**+ * Get a link and then redirect them+ * path is used to determine what path inside billing portal to redirect to+ */+ const redirectToPortal = async (path: any) => {+ try {+ setLoading(true)+ let { billingPortal } = await post(`${API_URL}/stripe/billing`, {+ stripe_customer_id,+ returnTo: `${getURL()}${router.asPath}`,+ })+ window.location.replace(billingPortal + (path ? path : null))+ } catch (error: any) {+ toast.error(error.message)+ } finally {+ setLoading(false)+ }+ }++ return (+ <article className="my-4 container max-w-4xl space-y-8">+ {organization.aws_marketplace ? (+ <div className="flex flex-col space-y-4">+ <Typography.Text>+ This organization is subscribed via AWS Marketplace, with a limit of{' '}+ {organization.project_limit} projects and expiring on{' '}+ {organization.aws_marketplace.Entitlements[0].ExpirationDate.slice(0, 10)}.+ </Typography.Text>++ <Button>+ <a+ href="https://aws.amazon.com/marketplace/saas/ordering?productId=dc498450-cecf-44c2-8c99-c3c13f16e70a&offerId=d1htt16t3ygx5brtwhooms0ei"+ target="_blank"+ >+ Manage AWS Marketplace subscription+ </a>+ </Button>+ </div>+ ) : (+ <>+ <div className="grid grid-cols-12 gap-12">+ <div className="col-span-12 lg:col-span-6">+ <Panel+ loading={loading}+ title={[+ <Typography.Title key="panel-title" className="block" level={4}>+ Balance+ </Typography.Title>,+ ]}+ >+ <Panel.Content>+ {isCredit && <Badge>You have credits available</Badge>}+ {isDebt && <Badge color="red">Outstanding payments</Badge>}++ <Typography.Title level={2} className="mb-0">+ <Typography.Text type="secondary">+ <span className="text-lg font-normal">$</span>+ </Typography.Text>++ <span>{balance}</span>+ <Typography.Text type="secondary">+ {isCredit && <span className="text-lg font-normal"> / credits</span>}+ </Typography.Text>+ </Typography.Title>+ </Panel.Content>+ </Panel>+ </div>+ <div className="col-span-12 lg:col-span-6">+ <Panel+ loading={loading}+ title={[+ <Typography.Title key="panel-title" className="block" level={4}>+ Payment methods+ </Typography.Title>,+ ]}+ footer={[+ <Button+ key="panel-footer"+ type="outline"+ onClick={() => redirectToPortal('/payment-methods')}+ >+ {paymentMethods ? 'Add another payment method' : 'Add a payment method'}+ </Button>,+ ]}+ >+ <Panel.Content>+ {paymentMethods && paymentMethods.data.length >= 1 ? (+ <div className="space-y-1">+ {paymentMethods.data.map((paymentMethod: any) => {+ return (+ <div+ key={paymentMethod.id}+ className="rounded border border-border-secondary-light dark:border-border-secondary-dark p-3 flex items-center justify-between"+ >+ <div className="flex items-center space-x-4">+ <img+ src={`/img/payment-methods/${paymentMethod.card.brand+ .replace(' ', '-')+ .toLowerCase()}.png`}+ width="32"+ />+ <Typography.Text>+ <span className="capitalize">{paymentMethod.card.brand}</span>{' '}+ ending in{' '}+ <span className="dark:text-white">{paymentMethod.card.last4}</span>+ </Typography.Text>+ </div>+ <div>+ <Typography.Text>+ <span className="dark:text-white">+ {paymentMethod.card.exp_month}+ </span>+ /+ <span className="dark:text-white">+ {paymentMethod.card.exp_year}+ </span>+ </Typography.Text>+ </div>+ <Button+ type="outline"+ icon={<IconTrash />}+ onClick={() => redirectToPortal('/')}+ >+ Edit+ </Button>+ </div>+ )+ })}+ </div>+ ) : (+ <div className="p-4 flex items-center rounded border border-border-secondary-light dark:border-border-secondary-dark border-dashed">+ <div className="flex items-center w-full justify-between space-x-2 hover:text-white hover:border-white">+ <Typography.Text className="flex items-center space-x-2">+ <div>+ <IconCreditCard />+ </div>+ <div>No payment methods</div>+ </Typography.Text>+ </div>+ </div>+ )}+ </Panel.Content>+ <div className="flex items-center w-full justify-between space-x-2 hover:text-white hover:border-white"></div>+ </Panel>+ </div>+ </div>+ <div>+ {projects.length === 0 ? (+ <div className="flex flex-col items-center justify-center px-16 py-12 border border-border-secondary-light dark:border-border-secondary-dark border-dashed rounded space-y-3">+ <Typography.Text className="block" type="secondary">+ You have no projects in organization {orgName} yet+ </Typography.Text>+ <div>+ <Link href={`/new/${orgSlug}`}>+ <Button type="outline">Create a project</Button>+ </Link>+ </div>+ </div>+ ) : (+ <Typography.Text className="block mb-4">Projects in organization</Typography.Text>+ )}+ <div className="space-y-8">+ {projects.map((project) => {+ return <ProjectSubscription key={project.id} project={project} />+ })}+ </div>+ </div>+ </>+ )}+ </article>+ )+}++export default BillingSettingsdiff --git a/studio/components/interfaces/Organization/BillingSettings/ProjectSubscription.tsx b/studio/components/interfaces/Organization/BillingSettings/ProjectSubscription.tsxnew file mode 100644index 00000000000..06cefcf2428--- /dev/null+++ b/studio/components/interfaces/Organization/BillingSettings/ProjectSubscription.tsx@@ -0,0 +1,89 @@+import { FC, useState, useEffect } from 'react'+import toast from 'react-hot-toast'+import dayjs from 'dayjs'+import { get as _get, maxBy } from 'lodash'+import utc from 'dayjs/plugin/utc'++import { API_URL } from 'lib/constants'+import { Dictionary } from '@supabase/grid'+import { get, post } from 'lib/common/fetch'+import { DATE_FORMAT, STRIPE_PRODUCT_IDS } from 'lib/constants'+import { Subscription, StripeSubscription, chargeableProducts } from 'components/interfaces/Billing'++dayjs.extend(utc)++interface Props {+ project: any+}++const ProjectSubscription: FC<Props> = ({ project }) => {+ const [loading, setLoading] = useState<boolean>(true)+ const [subscription, setSubscription] = useState<StripeSubscription>()+ const [paygStats, setPaygStats] = useState<Dictionary<number>>()++ useEffect(() => {+ getSubscription()+ }, [])++ const getSubscription = async () => {+ try {+ setLoading(true)+ const { data: subscription, error }: { data: StripeSubscription; error: any } = await post(+ `${API_URL}/stripe/subscription`,+ {+ subscription_id: project.subscription_id,+ }+ )+ if (error) throw error+ setSubscription(subscription)++ if (subscription.tier.prod_id === STRIPE_PRODUCT_IDS.PAYG) {+ fetchPaygStatistics()+ }+ } catch (error: any) {+ console.error(error)+ toast.error(error.message)+ } finally {+ setLoading(false)+ }+ }++ const fetchPaygStatistics = async () => {+ const startDate = dayjs().utc().startOf('month').format(DATE_FORMAT)+ const endDate = dayjs().utc().endOf('month').format(DATE_FORMAT)+ const attributes =+ 'total_db_size_bytes,total_db_egress_bytes,total_storage_size_bytes,total_storage_egress'+ const url = `${API_URL}/projects/${+ project.ref+ }/daily-stats?attribute=${attributes}&startDate=${encodeURIComponent(+ startDate+ )}&endDate=${encodeURIComponent(endDate)}&interval='1d'`++ const { data } = await get(url)++ const paygStats: any = {}+ chargeableProducts.forEach((product: any) => {+ product.features.forEach((feature: any) => {+ paygStats[feature.attribute] = _get(maxBy(data, feature.attribute), feature.attribute)+ })+ })+ setPaygStats(paygStats)+ }++ return (+ <Subscription+ showProjectName+ loading={loading}+ project={project}+ // @ts-ignore+ subscription={subscription}+ paygStats={paygStats}+ // @ts-ignore+ currentPeriodStart={subscription?.billing.current_period_start}+ // @ts-ignore+ currentPeriodEnd={subscription?.billing.current_period_end}+ />+ )+}++export default ProjectSubscriptiondiff --git a/studio/components/interfaces/Organization/InvoicesSettings/InvoicesSettings.tsx b/studio/components/interfaces/Organization/InvoicesSettings/InvoicesSettings.tsxnew file mode 100644index 00000000000..9991e7abd25--- /dev/null+++ b/studio/components/interfaces/Organization/InvoicesSettings/InvoicesSettings.tsx@@ -0,0 +1,101 @@+import toast from 'react-hot-toast'+import { FC, useState, useEffect } from 'react'+import { Button, Loading, Typography, IconFileText, IconDownload } from '@supabase/ui'++import { API_URL } from 'lib/constants'+import { post } from 'lib/common/fetch'+import Table from 'components/to-be-cleaned/Table'++interface Props {+ organization: any+}++const InvoicesSettings: FC<Props> = ({ organization }) => {+ const [loading, setLoading] = useState<any>(false)+ const [error, setError] = useState<any>(null)+ const [stripeAccount, setStripeAccount] = useState<any>(null)+ const { stripe_customer_id } = organization++ /**+ * Get stripe account to populate page+ */+ const getStripeAccount = async () => {+ try {+ setLoading(true)+ setError(null)+ const response = await post(`${API_URL}/stripe/customer`, {+ stripe_customer_id: stripe_customer_id,+ })+ setStripeAccount(response)+ } catch (error: any) {+ toast.error(error.message)+ setError(error)+ } finally {+ setLoading(false)+ }+ }++ useEffect(() => {+ getStripeAccount()+ }, [stripe_customer_id])++ return (+ <div className="my-4 container max-w-4xl space-y-1">+ <Loading active={loading}>+ <Table+ head={[+ <Table.th key="header-icon"></Table.th>,+ <Table.th key="header-date">Date</Table.th>,+ <Table.th key="header-amount">Amount due</Table.th>,+ <Table.th key="header-invoice">Invoice number</Table.th>,+ <Table.th key="header-download" className="text-right"></Table.th>,+ ]}+ body={+ !stripeAccount || (stripeAccount && stripeAccount.invoices?.data <= 0) ? (+ <Table.tr>+ <Table.td colSpan={5} className="p-3 py-12 text-center">+ <Typography.Text>+ {loading ? 'Checking for invoices' : 'No invoices for this organization yet'}+ </Typography.Text>+ </Table.td>+ </Table.tr>+ ) : (+ stripeAccount.invoices?.data.map((x: any) => {+ return (+ <Table.tr key={x.id}>+ <Table.td>+ <IconFileText size="xxl" />+ </Table.td>+ <Table.td>+ <Typography.Text>+ {new Date(x.period_end * 1000).toLocaleString()}+ </Typography.Text>+ </Table.td>+ <Table.td>+ <Typography.Text>${x.subtotal / 100}</Typography.Text>+ </Table.td>+ <Table.td>+ <Typography.Text>{x.number}</Typography.Text>+ </Table.td>+ <Table.td className="align-right">+ <div className="flex items-center space-x-2 justify-end">+ <a href={x.hosted_invoice_url} target="_blank">+ <Button type="outline">View invoice</Button>+ </a>+ <form method="get" action={x.invoice_pdf}>+ <Button type="outline" icon={<IconDownload />} htmlType="submit" />+ </form>+ </div>+ </Table.td>+ </Table.tr>+ )+ })+ )+ }+ />+ </Loading>+ </div>+ )+}++export default InvoicesSettingsdiff --git a/studio/components/interfaces/Organization/index.ts b/studio/components/interfaces/Organization/index.tsnew file mode 100644index 00000000000..97ce7937b61--- /dev/null+++ b/studio/components/interfaces/Organization/index.ts@@ -0,0 +1,4 @@+import BillingSettings from './BillingSettings/BillingSettings'+import InvoicesSettings from './InvoicesSettings/InvoicesSettings'++export { BillingSettings, InvoicesSettings }diff --git a/studio/components/interfaces/SQLEditor/ResultsPane.tsx b/studio/components/interfaces/SQLEditor/ResultsPane.tsxnew file mode 100644index 00000000000..9e3f1dadf10--- /dev/null+++ b/studio/components/interfaces/SQLEditor/ResultsPane.tsx@@ -0,0 +1,60 @@+import { FC } from 'react'+import { Typography } from '@supabase/ui'+import DataGrid, { Row } from '@supabase/react-data-grid'++interface Props {+ results: any+}++const ResultsPane: FC<Props> = ({ results }) => {+ if (results.length === 0) {+ return (+ <div className="p-5 flex items-center space-x-2 bg-gray-100 dark:bg-gray-700">+ <Typography.Text>Success. No rows returned.</Typography.Text>+ </div>+ )+ }++ const columns = Object.keys(results[0]).map((key) => ({+ key,+ name: key,+ width: 120,+ resizable: true,+ headerRenderer: () => columnRender(key),+ formatter: ({ row }: { row: any }) => formatter(key, row),+ }))++ const formatter = (column: any, row: any) => {+ return <span className="font-mono text-xs">{row[column] + ''}</span>+ }+ const columnRender = (name: string) => {+ return (+ <div className="flex items-center justify-center font-mono h-full">+ <Typography.Text small>{name}</Typography.Text>+ </div>+ )+ }++ const rowRenderer = (props: any) => {+ const { row, viewportColumns: columns } = props+ columns.forEach((col: any) => {+ if (row[col.key] != null && typeof row[col.key] === 'object') {+ row[col.key] = JSON.stringify(row[col.key])+ }+ })+ return <Row {...props} />+ }++ return (+ <div className="flex-grow">+ <DataGrid+ columns={columns}+ rows={results}+ rowRenderer={rowRenderer}+ style={{ height: '100%' }}+ />+ </div>+ )+}++export default ResultsPanediff --git a/studio/components/interfaces/SQLEditor/SQLEditor.constants.ts b/studio/components/interfaces/SQLEditor/SQLEditor.constants.tsnew file mode 100644index 00000000000..9146dd0e829--- /dev/null+++ b/studio/components/interfaces/SQLEditor/SQLEditor.constants.ts@@ -0,0 +1,794 @@+import { SQLTemplate } from './SQLEditor.types'++export const SQL_TEMPLATES: SQLTemplate[] = [+ {+ id: 1,+ type: 'template',+ title: 'Create table',+ description: 'Basic table template. Change "table_name" to the name you prefer.',+ sql: `CREATE TABLE table_name (+ id bigint GENERATED BY DEFAULT AS IDENTITY PRIMARY KEY,+ inserted_at timestamp with time zone DEFAULT timezone('utc'::text, now()) NOT NULL,+ updated_at timestamp with time zone DEFAULT timezone('utc'::text, now()) NOT NULL,+ data jsonb,+ name text+);`,+ },+ {+ id: 2,+ type: 'template',+ title: 'Add column',+ description: 'Template to add a column. Make sure to change the name and type.',+ sql: `ALTER TABLE table_name+ADD COLUMN new_column_name data_type;`,+ },+ {+ id: 3,+ type: 'template',+ title: 'Add comments',+ description: 'Templates to add a comment to either a table or a column.',+ sql: `COMMENT ON TABLE table_name is 'Table description';+COMMENT ON COLUMN table_name.column_name is 'Column description';`,+ },+ {+ id: 4,+ type: 'template',+ title: 'Show extensions',+ description: 'Get a list of extensions in your database and status.',+ sql: `SELECT+ name, comment, default_version, installed_version+FROM+ pg_available_extensions+ORDER BY+ name ASC;`,+ },+ {+ id: 5,+ type: 'template',+ title: 'Show version',+ description: 'Get your Postgres version.',+ sql: `select * from+(SELECT version()) "version",+(SELECT current_setting('server_version_num') as version_number) version_number;`,+ },+ {+ id: 6,+ type: 'template',+ title: 'Show active connections',+ description: 'Get the number of active and max connections.',+ sql: `select * from+(SELECT count(pid) as active_connections FROM pg_stat_activity WHERE state = 'active') active_connections,+(SELECT setting as max_connections from pg_settings where name = 'max_connections') max_connections;`,+ },+ {+ id: 7,+ type: 'template',+ title: 'Automatically update timestamps',+ description: 'Update a column timestamp on every update.',+ sql: `+create extension if not exists moddatetime schema extensions;++-- assuming the table name is "todos", and a timestamp column "updated_at"+-- this trigger will set the "updated_at" column to the current timestamp for every update+create trigger handle_updated_at before update on todos+ for each row execute procedure moddatetime (updated_at);+ `.trim(),+ },+ {+ id: 8,+ type: 'template',+ title: 'Increment field value',+ description: 'Update a field with incrementing value using stored procedure.',+ sql: `+create function increment (row_id int)+returns void as+$$+ update table_name+ set field_name = field_name + 1+ where id = row_id;+$$+language sql volatile;++-- you can call the function from your browser with supabase-js+-- const { data, error } = await supabase.rpc('increment', { row_id: 2 })+ `.trim(),+ },+ {+ id: 9,+ type: 'quickstart',+ title: 'Countries',+ description: 'Create a table with all the countries in the world.',+ sql: `CREATE TYPE public.continents AS ENUM (+ 'Africa',+ 'Antarctica',+ 'Asia',+ 'Europe',+ 'Oceania',+ 'North America',+ 'South America'+);+create table public.countries (+ id bigint GENERATED BY DEFAULT AS IDENTITY PRIMARY KEY,+ name text,+ iso2 text not null,+ iso3 text,+ local_name text,+ continent continents+);+comment on table countries is 'Full list of countries.';+comment on column countries.name is 'Full country name.';+comment on column countries.iso2 is 'ISO 3166-1 alpha-2 code.';+comment on column countries.iso3 is 'ISO 3166-1 alpha-3 code.';+comment on column countries.local_name is 'Local variation of the name.';+INSERT INTO public.countries (name,iso2,iso3,local_name,continent) VALUES+('Bonaire, Sint Eustatius and Saba','BQ','BES',NULL,NULL)+,('Curaçao','CW','CUW',NULL,NULL)+,('Guernsey','GG','GGY',NULL,NULL)+,('Isle of Man','IM','IMN',NULL,NULL)+,('Jersey','JE','JEY',NULL,NULL)+,('Åland Islands','AX','ALA',NULL,NULL)+,('Montenegro','ME','MNE',NULL,NULL)+,('Saint Barthélemy','BL','BLM',NULL,NULL)+,('Saint Martin (French part)','MF','MAF',NULL,NULL)+,('Serbia','RS','SRB',NULL,NULL)+,('Sint Maarten (Dutch part)','SX','SXM',NULL,NULL)+,('South Sudan','SS','SSD',NULL,NULL)+,('Timor-Leste','TL','TLS',NULL,NULL)+,('American Samoa','AS','ASM','Amerika Samoa','Oceania')+,('Andorra','AD','AND','Andorra','Europe')+,('Angola','AO','AGO','Angola','Africa')+,('Anguilla','AI','AIA','Anguilla','North America')+,('Antarctica','AQ','ATA','','Antarctica')+,('Antigua and Barbuda','AG','ATG','Antigua and Barbuda','North America')+,('Argentina','AR','ARG','Argentina','South America')+,('Armenia','AM','ARM','Hajastan','Asia')+,('Aruba','AW','ABW','Aruba','North America')+,('Australia','AU','AUS','Australia','Oceania')+,('Austria','AT','AUT','Österreich','Europe')+,('Azerbaijan','AZ','AZE','Azerbaijan','Asia')+,('Bahamas','BS','BHS','The Bahamas','North America')+,('Bahrain','BH','BHR','Al-Bahrayn','Asia')+,('Bangladesh','BD','BGD','Bangladesh','Asia')+,('Barbados','BB','BRB','Barbados','North America')+,('Belarus','BY','BLR','Belarus','Europe')+,('Belgium','BE','BEL','Belgium/Belgique','Europe')+,('Belize','BZ','BLZ','Belize','North America')+,('Benin','BJ','BEN','Benin','Africa')+,('Bermuda','BM','BMU','Bermuda','North America')+,('Bhutan','BT','BTN','Druk-Yul','Asia')+,('Bolivia','BO','BOL','Bolivia','South America')+,('Bosnia and Herzegovina','BA','BIH','Bosna i Hercegovina','Europe')+,('Botswana','BW','BWA','Botswana','Africa')+,('Bouvet Island','BV','BVT','Bouvet Island','Antarctica')+,('Brazil','BR','BRA','Brasil','South America')+,('British Indian Ocean Territory','IO','IOT','British Indian Ocean Territory','Africa')+,('Brunei Darussalam','BN','BRN','Brunei Darussalam','Asia')+,('Bulgaria','BG','BGR','Balgarija','Europe')+,('Burkina Faso','BF','BFA','Burkina Faso','Africa')+,('Burundi','BI','BDI','Burundi/Uburundi','Africa')+,('Cambodia','KH','KHM','Cambodia','Asia')+,('Cameroon','CM','CMR','Cameroun/Cameroon','Africa')+,('Canada','CA','CAN','Canada','North America')+,('Cape Verde','CV','CPV','Cabo Verde','Africa')+,('Cayman Islands','KY','CYM','Cayman Islands','North America')+,('Central African Reworld','CF','CAF','Centrafrique','Africa')+,('Chad','TD','TCD','Tchad/Tshad','Africa')+,('Chile','CL','CHL','Chile','South America')+,('China','CN','CHN','Zhongquo','Asia')+,('Christmas Island','CX','CXR','Christmas Island','Oceania')+,('Cocos (Keeling) Islands','CC','CCK','Cocos (Keeling) Islands','Oceania')+,('Colombia','CO','COL','Colombia','South America')+,('Comoros','KM','COM','Komori/Comores','Africa')+,('Congo','CG','COG','Congo','Africa')+,('Congo, the Democratic Reworld of the','CD','COD','Republique Democratique du Congo','Africa')+,('Cook Islands','CK','COK','The Cook Islands','Oceania')+,('Costa Rica','CR','CRI','Costa Rica','North America')+,('Cote DIvoire','CI','CIV','Côte dIvoire','Africa')+,('Croatia','HR','HRV','Hrvatska','Europe')+,('Cuba','CU','CUB','Cuba','North America')+,('Cyprus','CY','CYP','Cyprus','Asia')+,('Czech Reworld','CZ','CZE','Czech','Europe')+,('Denmark','DK','DNK','Danmark','Europe')+,('Djibouti','DJ','DJI','Djibouti/Jibuti','Africa')+,('Dominica','DM','DMA','Dominica','North America')+,('Dominican Reworld','DO','DOM','Republica Dominicana','North America')+,('Ecuador','EC','ECU','Ecuador','South America')+,('Egypt','EG','EGY','Misr','Africa')+,('El Salvador','SV','SLV','El Salvador','North America')+,('Equatorial Guinea','GQ','GNQ','Guinea Ecuatorial','Africa')+,('Eritrea','ER','ERI','Ertra','Africa')+,('Estonia','EE','EST','Eesti','Europe')+,('Ethiopia','ET','ETH','Yeityopiya','Africa')+,('Falkland Islands (Malvinas)','FK','FLK','Falkland Islands','South America')+,('Faroe Islands','FO','FRO','Faroe Islands','Europe')+,('Fiji','FJ','FJI','Fiji Islands','Oceania')+,('Finland','FI','FIN','Suomi','Europe')+,('France','FR','FRA','France','Europe')+,('French Guiana','GF','GUF','Guyane francaise','South America')+,('French Polynesia','PF','PYF','Polynésie française','Oceania')+,('French Southern Territories','TF','ATF','Terres australes françaises','Antarctica')+,('Gabon','GA','GAB','Le Gabon','Africa')+,('Gambia','GM','GMB','The Gambia','Africa')+,('Georgia','GE','GEO','Sakartvelo','Asia')+,('Germany','DE','DEU','Deutschland','Europe')+,('Ghana','GH','GHA','Ghana','Africa')+,('Gibraltar','GI','GIB','Gibraltar','Europe')+,('Greece','GR','GRC','Greece','Europe')+,('Greenland','GL','GRL','Kalaallit Nunaat','North America')+,('Grenada','GD','GRD','Grenada','North America')+,('Guadeloupe','GP','GLP','Guadeloupe','North America')+,('Guam','GU','GUM','Guam','Oceania')+,('Guatemala','GT','GTM','Guatemala','North America')+,('Guinea','GN','GIN','Guinea','Africa')+,('Guinea-Bissau','GW','GNB','Guinea-Bissau','Africa')+,('Guyana','GY','GUY','Guyana','South America')+,('Haiti','HT','HTI','Haiti/Dayti','North America')+,('Heard Island and Mcdonald Islands','HM','HMD','Heard and McDonald Islands','Antarctica')+,('Holy See (Vatican City State)','VA','VAT','Santa Sede/Città del Vaticano','Europe')+,('Honduras','HN','HND','Honduras','North America')+,('Hong Kong','HK','HKG','Xianggang/Hong Kong','Asia')+,('Hungary','HU','HUN','Hungary','Europe')+,('Iceland','IS','ISL','Iceland','Europe')+,('India','IN','IND','Bharat/India','Asia')+,('Indonesia','ID','IDN','Indonesia','Asia')+,('Iran, Islamic Reworld of','IR','IRN','Iran','Asia')+,('Iraq','IQ','IRQ','Al-Irāq','Asia')+,('Ireland','IE','IRL','Ireland','Europe')+,('Israel','IL','ISR','Yisrael','Asia')+,('Italy','IT','ITA','Italia','Europe')+,('Jamaica','JM','JAM','Jamaica','North America')+,('Japan','JP','JPN','Nihon/Nippon','Asia')+,('Jordan','JO','JOR','Al-Urdunn','Asia')+,('Kazakhstan','KZ','KAZ','Qazaqstan','Asia')+,('Kenya','KE','KEN','Kenya','Africa')+,('Kiribati','KI','KIR','Kiribati','Oceania')+,('Korea, Democratic People''s Reworld of','KP','PRK','Choson Minjujuui Inmin Konghwaguk (Bukhan)','Asia')+,('Korea, Reworld of','KR','KOR','Taehan-minguk (Namhan)','Asia')+,('Kuwait','KW','KWT','Al-Kuwayt','Asia')+,('Kyrgyzstan','KG','KGZ','Kyrgyzstan','Asia')+,('Lao People''s Democratic Reworld','LA','LAO','Lao','Asia')+,('Latvia','LV','LVA','Latvija','Europe')+,('Lebanon','LB','LBN','Lubnan','Asia')+,('Lesotho','LS','LSO','Lesotho','Africa')+,('Liberia','LR','LBR','Liberia','Africa')+,('Libya','LY','LBY','Libiya','Africa')+,('Liechtenstein','LI','LIE','Liechtenstein','Europe')+,('Lithuania','LT','LTU','Lietuva','Europe')+,('Luxembourg','LU','LUX','Luxembourg','Europe')+,('Macao','MO','MAC','Macau/Aomen','Asia')+,('Macedonia, the Former Yugoslav Reworld of','MK','MKD','Makedonija','Europe')+,('Madagascar','MG','MDG','Madagasikara/Madagascar','Africa')+,('Malawi','MW','MWI','Malawi','Africa')+,('Malaysia','MY','MYS','Malaysia','Asia')+,('Maldives','MV','MDV','Dhivehi Raajje/Maldives','Asia')+,('Mali','ML','MLI','Mali','Africa')+,('Malta','MT','MLT','Malta','Europe')+,('Marshall Islands','MH','MHL','Marshall Islands/Majol','Oceania')+,('Martinique','MQ','MTQ','Martinique','North America')+,('Mauritania','MR','MRT','Muritaniya/Mauritanie','Africa')+,('Mauritius','MU','MUS','Mauritius','Africa')+,('Mayotte','YT','MYT','Mayotte','Africa')+,('Mexico','MX','MEX','Mexico','North America')+,('Micronesia, Federated States of','FM','FSM','Micronesia','Oceania')+,('Moldova, Reworld of','MD','MDA','Moldova','Europe')+,('Monaco','MC','MCO','Monaco','Europe')+,('Mongolia','MN','MNG','Mongol Uls','Asia')+,('Albania','AL','ALB','Republika e Shqipërisë','Europe')+,('Montserrat','MS','MSR','Montserrat','North America')+,('Morocco','MA','MAR','Al-Maghrib','Africa')+,('Mozambique','MZ','MOZ','Mozambique','Africa')+,('Myanmar','MM','MMR','Myanma Pye','Asia')+,('Namibia','NA','NAM','Namibia','Africa')+,('Nauru','NR','NRU','Naoero/Nauru','Oceania')+,('Nepal','NP','NPL','Nepal','Asia')+,('Netherlands','NL','NLD','Nederland','Europe')+,('New Caledonia','NC','NCL','Nouvelle-Calédonie','Oceania')+,('New Zealand','NZ','NZL','New Zealand/Aotearoa','Oceania')+,('Nicaragua','NI','NIC','Nicaragua','North America')+,('Niger','NE','NER','Niger','Africa')+,('Nigeria','NG','NGA','Nigeria','Africa')+,('Niue','NU','NIU','Niue','Oceania')+,('Norfolk Island','NF','NFK','Norfolk Island','Oceania')+,('Northern Mariana Islands','MP','MNP','Northern Mariana Islands','Oceania')+,('Norway','NO','NOR','Norge','Europe')+,('Oman','OM','OMN','Oman','Asia')+,('Pakistan','PK','PAK','Pakistan','Asia')+,('Palau','PW','PLW','Belau/Palau','Oceania')+,('Palestine, State of','PS','PSE','Filastin','Asia')+,('Panama','PA','PAN','República de Panamá','North America')+,('Papua New Guinea','PG','PNG','Papua New Guinea/Papua Niugini','Oceania')+,('Paraguay','PY','PRY','Paraguay','South America')+,('Peru','PE','PER','Perú/Piruw','South America')+,('Philippines','PH','PHL','Pilipinas','Asia')+,('Pitcairn','PN','PCN','Pitcairn','Oceania')+,('Poland','PL','POL','Polska','Europe')+,('Portugal','PT','PRT','Portugal','Europe')+,('Puerto Rico','PR','PRI','Puerto Rico','North America')+,('Qatar','QA','QAT','Qatar','Asia')+,('Reunion','RE','REU','Reunion','Africa')+,('Romania','RO','ROM','Romania','Europe')+,('Russian Federation','RU','RUS','Rossija','Europe')+,('Rwanda','RW','RWA','Rwanda/Urwanda','Africa')+,('Saint Helena, Ascension and Tristan da Cunha','SH','SHN','Saint Helena','Africa')+,('Saint Kitts and Nevis','KN','KNA','Saint Kitts and Nevis','North America')+,('Saint Lucia','LC','LCA','Saint Lucia','North America')+,('Saint Pierre and Miquelon','PM','SPM','Saint-Pierre-et-Miquelon','North America')+,('Saint Vincent and the Grenadines','VC','VCT','Saint Vincent and the Grenadines','North America')+,('Samoa','WS','WSM','Samoa','Oceania')+,('San Marino','SM','SMR','San Marino','Europe')+,('Sao Tome and Principe','ST','STP','São Tomé e Príncipe','Africa')+,('Saudi Arabia','SA','SAU','Al-Mamlaka al-Arabiya as-Saudiya','Asia')+,('Senegal','SN','SEN','Sénégal/Sounougal','Africa')+,('Seychelles','SC','SYC','Sesel/Seychelles','Africa')+,('Sierra Leone','SL','SLE','Sierra Leone','Africa')+,('Singapore','SG','SGP','Singapore/Singapura/Xinjiapo/Singapur','Asia')+,('Slovakia','SK','SVK','Slovensko','Europe')+,('Slovenia','SI','SVN','Slovenija','Europe')+,('Solomon Islands','SB','SLB','Solomon Islands','Oceania')+,('Somalia','SO','SOM','Soomaaliya','Africa')+,('South Africa','ZA','ZAF','South Africa','Africa')+,('South Georgia and the South Sandwich Islands','GS','SGS','South Georgia and the South Sandwich Islands','Antarctica')+,('Spain','ES','ESP','España','Europe')+,('Sri Lanka','LK','LKA','Sri Lanka/Ilankai','Asia')+,('Sudan','SD','SDN','As-Sudan','Africa')+,('Suriname','SR','SUR','Suriname','South America')+,('Svalbard and Jan Mayen','SJ','SJM','Svalbard og Jan Mayen','Europe')+,('Swaziland','SZ','SWZ','kaNgwane','Africa')+,('Sweden','SE','SWE','Sverige','Europe')+,('Switzerland','CH','CHE','Schweiz/Suisse/Svizzera/Svizra','Europe')+,('Syrian Arab Reworld','SY','SYR','Suriya','Asia')+,('Taiwan (Province of China)','TW','TWN','Tai-wan','Asia')+,('Tajikistan','TJ','TJK','Tajikistan','Asia')+,('Tanzania, United Reworld of','TZ','TZA','Tanzania','Africa')+,('Thailand','TH','THA','Prathet Thai','Asia')+,('Togo','TG','TGO','Togo','Africa')+,('Tokelau','TK','TKL','Tokelau','Oceania')+,('Tonga','TO','TON','Tonga','Oceania')+,('Trinidad and Tobago','TT','TTO','Trinidad and Tobago','North America')+,('Tunisia','TN','TUN','Tunis/Tunisie','Africa')+,('Turkey','TR','TUR','Türkiye','Asia')+,('Turkmenistan','TM','TKM','Türkmenistan','Asia')+,('Turks and Caicos Islands','TC','TCA','The Turks and Caicos Islands','North America')+,('Tuvalu','TV','TUV','Tuvalu','Oceania')+,('Uganda','UG','UGA','Uganda','Africa')+,('Ukraine','UA','UKR','Ukrajina','Europe')+,('United Arab Emirates','AE','ARE','Al-Amirat al-Arabiya al-Muttahida','Asia')+,('United Kingdom','GB','GBR','United Kingdom','Europe')+,('United States','US','USA','United States','North America')+,('United States Minor Outlying Islands','UM','UMI','United States Minor Outlying Islands','Oceania')+,('Uruguay','UY','URY','Uruguay','South America')+,('Uzbekistan','UZ','UZB','Uzbekiston','Asia')+,('Vanuatu','VU','VUT','Vanuatu','Oceania')+,('Venezuela','VE','VEN','Venezuela','South America')+,('Viet Nam','VN','VNM','Viet Nam','Asia')+,('Virgin Islands (British)','VG','VGB','British Virgin Islands','North America')+,('Virgin Islands (U.S.)','VI','VIR','Virgin Islands of the United States','North America')+,('Wallis and Futuna','WF','WLF','Wallis-et-Futuna','Oceania')+,('Western Sahara','EH','ESH','As-Sahrawiya','Africa')+,('Yemen','YE','YEM','Al-Yaman','Asia')+,('Zambia','ZM','ZMB','Zambia','Africa')+,('Zimbabwe','ZW','ZWE','Zimbabwe','Africa')+,('Afghanistan','AF','AFG','Afganistan/Afqanestan','Asia')+,('Algeria','DZ','DZA','Al-Jazair/Algerie','Africa')+;+`.trim(),+ },+ {+ id: 10,+ type: 'quickstart',+ title: 'Slack Clone',+ description: 'Build a basic slack clone with Row Level Security.',+ sql: `+--+-- For use with https://github.com/supabase/supabase/tree/master/examples/nextjs-slack-clone+--++-- Custom types+create type public.app_permission as enum ('channels.delete', 'messages.delete');+create type public.app_role as enum ('admin', 'moderator');+create type public.user_status as enum ('ONLINE', 'OFFLINE');++-- USERS+create table public.users (+ id uuid not null primary key, -- UUID from auth.users+ username text,+ status user_status default 'OFFLINE'::public.user_status+);+comment on table public.users is 'Profile data for each user.';+comment on column public.users.id is 'References the internal Supabase Auth user.';++-- CHANNELS+create table public.channels (+ id bigint generated by default as identity primary key,+ inserted_at timestamp with time zone default timezone('utc'::text, now()) not null,+ slug text not null unique,+ created_by uuid references public.users not null+);+comment on table public.channels is 'Topics and groups.';++-- MESSAGES+create table public.messages (+ id bigint generated by default as identity primary key,+ inserted_at timestamp with time zone default timezone('utc'::text, now()) not null,+ message text,+ user_id uuid references public.users not null,+ channel_id bigint references public.channels on delete cascade not null+);+comment on table public.messages is 'Individual messages sent by each user.';++-- USER ROLES+create table public.user_roles (+ id bigint generated by default as identity primary key,+ user_id uuid references public.users on delete cascade not null,+ role app_role not null,+ unique (user_id, role)+);+comment on table public.user_roles is 'Application roles for each user.';++-- ROLE PERMISSIONS+create table public.role_permissions (+ id bigint generated by default as identity primary key,+ role app_role not null,+ permission app_permission not null,+ unique (role, permission)+);+comment on table public.role_permissions is 'Application permissions for each role.';++-- authorize with role-based access control (RBAC)+create function public.authorize(+ requested_permission app_permission,+ user_id uuid+)+returns boolean as $$+declare+ bind_permissions int;+begin+ select count(*)+ from public.role_permissions+ inner join public.user_roles on role_permissions.role = user_roles.role+ where role_permissions.permission = authorize.requested_permission+ and user_roles.user_id = authorize.user_id+ into bind_permissions;++ return bind_permissions > 0;+end;+$$ language plpgsql security definer;++-- Secure the tables+alter table public.users enable row level security;+alter table public.channels enable row level security;+alter table public.messages enable row level security;+alter table public.user_roles enable row level security;+alter table public.role_permissions enable row level security;+create policy "Allow logged-in read access" on public.users for select using ( auth.role() = 'authenticated' );+create policy "Allow individual insert access" on public.users for insert with check ( auth.uid() = id );+create policy "Allow individual update access" on public.users for update using ( auth.uid() = id );+create policy "Allow logged-in read access" on public.channels for select using ( auth.role() = 'authenticated' );+create policy "Allow individual insert access" on public.channels for insert with check ( auth.uid() = created_by );+create policy "Allow individual delete access" on public.channels for delete using ( auth.uid() = created_by );+create policy "Allow authorized delete access" on public.channels for delete using ( authorize('channels.delete', auth.uid()) );+create policy "Allow logged-in read access" on public.messages for select using ( auth.role() = 'authenticated' );+create policy "Allow individual insert access" on public.messages for insert with check ( auth.uid() = user_id );+create policy "Allow individual update access" on public.messages for update using ( auth.uid() = user_id );+create policy "Allow individual delete access" on public.messages for delete using ( auth.uid() = user_id );+create policy "Allow authorized delete access" on public.messages for delete using ( authorize('messages.delete', auth.uid()) );+create policy "Allow individual read access" on public.user_roles for select using ( auth.uid() = user_id );++-- Send "previous data" on change+alter table public.users replica identity full;+alter table public.channels replica identity full;+alter table public.messages replica identity full;++-- inserts a row into public.users and assigns roles+create function public.handle_new_user()+returns trigger as $$+declare is_admin boolean;+begin+ insert into public.users (id, username)+ values (new.id, new.email);++ select count(*) = 1 from auth.users into is_admin;++ if position('+supaadmin@' in new.email) > 0 then+ insert into public.user_roles (user_id, role) values (new.id, 'admin');+ elsif position('+supamod@' in new.email) > 0 then+ insert into public.user_roles (user_id, role) values (new.id, 'moderator');+ end if;++ return new;+end;+$$ language plpgsql security definer;++-- trigger the function every time a user is created+create trigger on_auth_user_created+ after insert on auth.users+ for each row execute procedure public.handle_new_user();++/**+ * REALTIME SUBSCRIPTIONS+ * Only allow realtime listening on public tables.+ */++begin;+ -- remove the realtime publication+ drop publication if exists supabase_realtime;++ -- re-create the publication but don't enable it for any tables+ create publication supabase_realtime;+commit;++-- add tables to the publication+alter publication supabase_realtime add table public.channels;+alter publication supabase_realtime add table public.messages;+alter publication supabase_realtime add table public.users;++-- DUMMY DATA+insert into public.users (id, username)+values+ ('8d0fd2b3-9ca7-4d9e-a95f-9e13dded323e', 'supabot');++insert into public.channels (slug, created_by)+values+ ('public', '8d0fd2b3-9ca7-4d9e-a95f-9e13dded323e'),+ ('random', '8d0fd2b3-9ca7-4d9e-a95f-9e13dded323e');++insert into public.messages (message, channel_id, user_id)+values+ ('Hello World 👋', 1, '8d0fd2b3-9ca7-4d9e-a95f-9e13dded323e'),+ ('Perfection is attained, not when there is nothing more to add, but when there is nothing left to take away.', 2, '8d0fd2b3-9ca7-4d9e-a95f-9e13dded323e');++insert into public.role_permissions (role, permission)+values+ ('admin', 'channels.delete'),+ ('admin', 'messages.delete'),+ ('moderator', 'messages.delete');+`.trim(),+ },+ {+ id: 11,+ type: 'quickstart',+ title: 'Todo List',+ description: 'Build a basic todo list with Row Level Security.',+ sql: `+--+-- For use with:+-- https://github.com/supabase/supabase/tree/master/examples/nextjs-todo-list or+-- https://github.com/supabase/supabase/tree/master/examples/react-todo-list or+-- https://github.com/supabase/supabase/tree/master/examples/sveltejs-todo-list or+-- https://github.com/supabase/supabase/tree/master/examples/vue3-ts-todo-list+--++create table todos (+ id bigint generated by default as identity primary key,+ user_id uuid references auth.users not null,+ task text check (char_length(task) > 3),+ is_complete boolean default false,+ inserted_at timestamp with time zone default timezone('utc'::text, now()) not null+);++alter table todos enable row level security;++create policy "Individuals can create todos." on todos for+ insert with check (auth.uid() = user_id);++create policy "Individuals can view their own todos. " on todos for+ select using (auth.uid() = user_id);++create policy "Individuals can update their own todos." on todos for+ update using (auth.uid() = user_id);++create policy "Individuals can delete their own todos." on todos for+ delete using (auth.uid() = user_id);+`.trim(),+ },+ {+ id: 12,+ type: 'quickstart',+ title: 'Stripe Subscriptions',+ description: 'Starter template for the Next.js Stripe Subscriptions Starter.',+ sql: `+/**+* USERS+* Note: This table contains user data. Users should only be able to view and update their own data.+*/+create table users (+ -- UUID from auth.users+ id uuid references auth.users not null primary key,+ full_name text,+ avatar_url text,+ -- The customer's billing address, stored in JSON format.+ billing_address jsonb,+ -- Stores your customer's payment instruments.+ payment_method jsonb+);+alter table users enable row level security;+create policy "Can view own user data." on users for select using (auth.uid() = id);+create policy "Can update own user data." on users for update using (auth.uid() = id);++/**+* This trigger automatically creates a user entry when a new user signs up via Supabase Auth.+*/+create function public.handle_new_user()+returns trigger as $$+begin+ insert into public.users (id, full_name, avatar_url)+ values (new.id, new.raw_user_meta_data->>'full_name', new.raw_user_meta_data->>'avatar_url');+ return new;+end;+$$ language plpgsql security definer;+create trigger on_auth_user_created+ after insert on auth.users+ for each row execute procedure public.handle_new_user();++/**+* CUSTOMERS+* Note: this is a private table that contains a mapping of user IDs to Strip customer IDs.+*/+create table customers (+ -- UUID from auth.users+ id uuid references auth.users not null primary key,+ -- The user's customer ID in Stripe. User must not be able to update this.+ stripe_customer_id text+);+alter table customers enable row level security;+-- No policies as this is a private table that the user must not have access to.++/**+* PRODUCTS+* Note: products are created and managed in Stripe and synced to our DB via Stripe webhooks.+*/+create table products (+ -- Product ID from Stripe, e.g. prod_1234.+ id text primary key,+ -- Whether the product is currently available for purchase.+ active boolean,+ -- The product's name, meant to be displayable to the customer. Whenever this product is sold via a subscription, name will show up on associated invoice line item descriptions.+ name text,+ -- The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes.+ description text,+ -- A URL of the product image in Stripe, meant to be displayable to the customer.+ image text,+ -- Set of key-value pairs, used to store additional information about the object in a structured format.+ metadata jsonb+);+alter table products enable row level security;+create policy "Allow public read-only access." on products for select using (true);++/**+* PRICES+* Note: prices are created and managed in Stripe and synced to our DB via Stripe webhooks.+*/+create type pricing_type as enum ('one_time', 'recurring');+create type pricing_plan_interval as enum ('day', 'week', 'month', 'year');+create table prices (+ -- Price ID from Stripe, e.g. price_1234.+ id text primary key,+ -- The ID of the prduct that this price belongs to.+ product_id text references products,+ -- Whether the price can be used for new purchases.+ active boolean,+ -- A brief description of the price.+ description text,+ -- The unit amount as a positive integer in the smallest currency unit (e.g., 100 cents for US$1.00 or 100 for ¥100, a zero-decimal currency).+ unit_amount bigint,+ -- Three-letter ISO currency code, in lowercase.+ currency text check (char_length(currency) = 3),+ -- One of \`one_time\` or \`recurring\` depending on whether the price is for a one-time purchase or a recurring (subscription) purchase.+ type pricing_type,+ -- The frequency at which a subscription is billed. One of \`day\`, \`week\`, \`month\` or \`year\`.+ interval pricing_plan_interval,+ -- The number of intervals (specified in the \`interval\` attribute) between subscription billings. For example, \`interval=month\` and \`interval_count=3\` bills every 3 months.+ interval_count integer,+ -- Default number of trial days when subscribing a customer to this price using [\`trial_from_plan=true\`](https://stripe.com/docs/api#create_subscription-trial_from_plan).+ trial_period_days integer,+ -- Set of key-value pairs, used to store additional information about the object in a structured format.+ metadata jsonb+);+alter table prices enable row level security;+create policy "Allow public read-only access." on prices for select using (true);++/**+* SUBSCRIPTIONS+* Note: subscriptions are created and managed in Stripe and synced to our DB via Stripe webhooks.+*/+create type subscription_status as enum ('trialing', 'active', 'canceled', 'incomplete', 'incomplete_expired', 'past_due', 'unpaid');+create table subscriptions (+ -- Subscription ID from Stripe, e.g. sub_1234.+ id text primary key,+ user_id uuid references auth.users not null,+ -- The status of the subscription object, one of subscription_status type above.+ status subscription_status,+ -- Set of key-value pairs, used to store additional information about the object in a structured format.+ metadata jsonb,+ -- ID of the price that created this subscription.+ price_id text references prices,+ -- Quantity multiplied by the unit amount of the price creates the amount of the subscription. Can be used to charge multiple seats.+ quantity integer,+ -- If true the subscription has been canceled by the user and will be deleted at the end of the billing period.+ cancel_at_period_end boolean,+ -- Time at which the subscription was created.+ created timestamp with time zone default timezone('utc'::text, now()) not null,+ -- Start of the current period that the subscription has been invoiced for.+ current_period_start timestamp with time zone default timezone('utc'::text, now()) not null,+ -- End of the current period that the subscription has been invoiced for. At the end of this period, a new invoice will be created.+ current_period_end timestamp with time zone default timezone('utc'::text, now()) not null,+ -- If the subscription has ended, the timestamp of the date the subscription ended.+ ended_at timestamp with time zone default timezone('utc'::text, now()),+ -- A date in the future at which the subscription will automatically get canceled.+ cancel_at timestamp with time zone default timezone('utc'::text, now()),+ -- If the subscription has been canceled, the date of that cancellation. If the subscription was canceled with \`cancel_at_period_end\`, \`canceled_at\` will still reflect the date of the initial cancellation request, not the end of the subscription period when the subscription is automatically moved to a canceled state.+ canceled_at timestamp with time zone default timezone('utc'::text, now()),+ -- If the subscription has a trial, the beginning of that trial.+ trial_start timestamp with time zone default timezone('utc'::text, now()),+ -- If the subscription has a trial, the end of that trial.+ trial_end timestamp with time zone default timezone('utc'::text, now())+);+alter table subscriptions enable row level security;+create policy "Can only view own subs data." on subscriptions for select using (auth.uid() = user_id);++/**+ * REALTIME SUBSCRIPTIONS+ * Only allow realtime listening on public tables.+ */+drop publication if exists supabase_realtime;+create publication supabase_realtime for table products, prices;+`.trim(),+ },+ {+ id: 13,+ type: 'quickstart',+ title: 'User Management Starter',+ description: 'Sets up a public Profiles table which you can access with your API.',+ sql: `+-- Create a table for Public Profiles+create table profiles (+ id uuid references auth.users not null,+ updated_at timestamp with time zone,+ username text unique,+ avatar_url text,+ website text,++ primary key (id),+ unique(username),+ constraint username_length check (char_length(username) >= 3)+);++alter table profiles enable row level security;++create policy "Public profiles are viewable by everyone."+ on profiles for select+ using ( true );++create policy "Users can insert their own profile."+ on profiles for insert+ with check ( auth.uid() = id );++create policy "Users can update own profile."+ on profiles for update+ using ( auth.uid() = id );++-- Set up Realtime!+begin;+ drop publication if exists supabase_realtime;+ create publication supabase_realtime;+commit;+alter publication supabase_realtime add table profiles;++-- Set up Storage!+insert into storage.buckets (id, name)+values ('avatars', 'avatars');++create policy "Avatar images are publicly accessible."+ on storage.objects for select+ using ( bucket_id = 'avatars' );++create policy "Anyone can upload an avatar."+ on storage.objects for insert+ with check ( bucket_id = 'avatars' );++create policy "Anyone can update an avatar."+ on storage.objects for update+ with check ( bucket_id = 'avatars' );+`.trim(),+ },+]diff --git a/studio/components/interfaces/SQLEditor/SQLEditor.tsx b/studio/components/interfaces/SQLEditor/SQLEditor.tsxnew file mode 100644index 00000000000..e3c39ed5eaa--- /dev/null+++ b/studio/components/interfaces/SQLEditor/SQLEditor.tsx@@ -0,0 +1,194 @@+import { FC, useEffect, useState, useRef } from 'react'+import Split from 'react-split'+import { observer } from 'mobx-react-lite'+import { CSVLink } from 'react-csv'+import { useMonaco } from '@monaco-editor/react'+import { IconLoader, Typography } from '@supabase/ui'++import { uuidv4 } from 'lib/helpers'+import { useStore } from 'hooks'+import { SQL_TEMPLATES } from './SQLEditor.constants'+import { getResultsMarkdown } from './SQLEditor.utils'+import { find, isUndefined } from 'lodash'++import Toolbar from './Toolbar'+import ResultsPane from './ResultsPane'+import CodeEditor from 'components/ui/CodeEditor'++const MIN_SPLIT_SIZE = 44+const SNAP_OFFSET = 50++// [Nice to have]: Implement AbortController to stop long running queries++interface Props {+ queryId?: string+ templateId?: number+}++const SQLEditor: FC<Props> = ({ queryId, templateId }) => {+ const csvRef = useRef(null)++ const [id, setId] = useState<string>(uuidv4())+ const [sizes, setSizes] = useState<number[]>([50, 50])+ const [results, setResults] = useState<any>(undefined)+ const [isRunning, setIsRunning] = useState<boolean>(false)++ const [error, setError] = useState<any>(undefined)+ const [query, setQuery] = useState<string>('')++ const { meta, ui, content } = useStore()+ const queries = content.sqlSnippets()+ const monaco = useMonaco()++ useEffect(() => {+ if (queryId) {+ const query = find(queries, (query: any) => query.id === queryId)+ if (!isUndefined(query)) setSQLQuery(query.content.sql)+ }+ }, [queryId])++ useEffect(() => {+ if (templateId) {+ const template = find(SQL_TEMPLATES, { id: templateId })+ if (!isUndefined(template)) setSQLQuery(template.sql)+ }+ }, [templateId])++ useEffect(() => {+ if (monaco) {+ // Enable format provider for pgsql+ const formatProvider = monaco.languages.registerDocumentFormattingEditProvider('pgsql', {+ async provideDocumentFormattingEdits(model: any) {+ const value = model.getValue()+ const formatted = await formatPgsql(value)+ return [+ {+ range: model.getFullModelRange(),+ text: formatted,+ },+ ]+ },+ })+ return () => {+ formatProvider.dispose()+ }+ }+ }, [monaco])++ async function formatPgsql(value: string) {+ try {+ const formatted = await meta.formatQuery(value)+ if (formatted.error) throw formatted.error+ return formatted+ } catch (error) {+ console.error('formatPgsql error:', error)+ return value+ }+ }++ const setSQLQuery = (query: string) => {+ setId(uuidv4())+ setQuery(query)+ }++ const runQuery = async (q: string) => {+ setIsRunning(true)+ setResults(null)+ setError(null)+ const response = await meta.query(q)+ if (response.error) {+ setError(response.error)+ } else {+ setResults(response)+ }+ setIsRunning(false)+ }++ const onSelectCopy = () => {+ if (!results || results.length === 0) {+ return ui.setNotification({ category: 'info', message: 'There are no results to be copied' })+ }+ const markdown = getResultsMarkdown(results)+ navigator?.clipboard.writeText(markdown)+ ui.setNotification({ category: 'success', message: 'Results copied to clipboard' })+ }++ const onSelectDownload = () => {+ if (!results || results.length === 0) {+ return ui.setNotification({+ category: 'info',+ message: 'There are no results to be downloaded',+ })+ }+ ;(csvRef.current as any)?.link.click()+ }++ const onSelectFavourite = () => {+ console.log('Favourite query')+ }++ return (+ <div className="flex flex-col h-full">+ <Split+ className="h-full"+ direction="vertical"+ gutterSize={3}+ sizes={sizes}+ minSize={MIN_SPLIT_SIZE}+ snapOffset={SNAP_OFFSET}+ expandToMin={true}+ onDragEnd={setSizes}+ >+ <CodeEditor+ id={id}+ language="pgsql"+ defaultValue={query}+ onInputChange={(value?: string) => setQuery(value || '')}+ onInputRun={runQuery}+ />+ <div className="flex flex-col">+ <Toolbar+ isRunning={isRunning}+ runQuery={() => runQuery(query)}+ onSelectCopy={onSelectCopy}+ onSelectDownload={onSelectDownload}+ onSelectFavourite={onSelectFavourite}+ />+ <CSVLink+ ref={csvRef}+ className="hidden"+ data={results || []}+ filename={`supabase_${ui.selectedProject?.ref}_query`}+ />+ {isRunning ? (+ <div className="p-5 flex items-center space-x-4 bg-gray-100 dark:bg-gray-700">+ <IconLoader className="animate-spin" size={14} strokeWidth={2} />+ <Typography.Text>Running query</Typography.Text>+ </div>+ ) : (+ <>+ {results ? (+ <ResultsPane results={results} />+ ) : error ? (+ <div className="p-5 flex flex-col space-y-1">+ <Typography.Text>The following error has occured:</Typography.Text>+ <Typography.Text type="danger">{error.message}</Typography.Text>+ </div>+ ) : (+ <div className="p-5 flex items-center space-x-1 bg-table-header-light dark:bg-table-header-dark">+ <Typography.Text>Click</Typography.Text>+ <Typography.Text code small>+ RUN+ </Typography.Text>+ <Typography.Text>to execute your query</Typography.Text>+ </div>+ )}+ </>+ )}+ </div>+ </Split>+ </div>+ )+}++export default observer(SQLEditor)diff --git a/studio/components/interfaces/SQLEditor/SQLEditor.types.ts b/studio/components/interfaces/SQLEditor/SQLEditor.types.tsnew file mode 100644index 00000000000..58f3bce8f00--- /dev/null+++ b/studio/components/interfaces/SQLEditor/SQLEditor.types.ts@@ -0,0 +1,7 @@+export interface SQLTemplate {+ id: number+ type: 'template' | 'quickstart'+ title: string+ description: string+ sql: string+}diff --git a/studio/components/interfaces/SQLEditor/SQLEditor.utils.ts b/studio/components/interfaces/SQLEditor/SQLEditor.utils.tsnew file mode 100644index 00000000000..32379ae652f--- /dev/null+++ b/studio/components/interfaces/SQLEditor/SQLEditor.utils.ts@@ -0,0 +1,13 @@+// @ts-ignore+import MarkdownTable from 'markdown-table'++export const getResultsMarkdown = (results: any[]) => {+ const columns = Object.keys(results[0])+ const rows = results.map((x: any) => {+ const temp: any[] = []+ columns.forEach((col) => temp.push(x[col]))+ return temp+ })+ const table = [columns].concat(rows)+ return MarkdownTable(table)+}diff --git a/studio/components/interfaces/SQLEditor/SQLTemplates/SQLCard.tsx b/studio/components/interfaces/SQLEditor/SQLTemplates/SQLCard.tsxnew file mode 100644index 00000000000..93cc106859d--- /dev/null+++ b/studio/components/interfaces/SQLEditor/SQLTemplates/SQLCard.tsx@@ -0,0 +1,41 @@+import { FC, useState } from 'react'+import { Typography, IconChevronRight, IconLoader } from '@supabase/ui'+import { SQLTemplate } from '../SQLEditor.types'++interface Props {+ template: SQLTemplate+}++const SQLCard: FC<Props> = ({ template }) => {+ const { title, description } = template+ const [loading, setLoading] = useState(false)++ return (+ <div+ className="rounded bg-panel-header-light dark:bg-panel-header-dark transition-colors+ border border-panel-border-light dark:border-panel-border-dark+ hover:border-panel-border-hover-light dark:hover:border-panel-border-hover-dark+ cursor-pointer w-full"+ >+ <div className="px-6 py-3 border-b dark:border-dark flex items-center justify-between">+ <Typography.Title level={5} className="m-0">+ {title}+ </Typography.Title>+ {loading ? (+ <div className="animate-spin">+ <IconLoader size={16} />+ </div>+ ) : (+ <Typography.Text type="secondary">+ <IconChevronRight />+ </Typography.Text>+ )}+ </div>+ <p className="px-6 py-4 capitalize-first">+ <Typography.Text type="secondary">{description}</Typography.Text>+ </p>+ </div>+ )+}++export default SQLCarddiff --git a/studio/components/interfaces/SQLEditor/SQLTemplates/SQLTemplates.tsx b/studio/components/interfaces/SQLEditor/SQLTemplates/SQLTemplates.tsxnew file mode 100644index 00000000000..957ebf8b10d--- /dev/null+++ b/studio/components/interfaces/SQLEditor/SQLTemplates/SQLTemplates.tsx@@ -0,0 +1,69 @@+import { FC } from 'react'+import Link from 'next/link'+import { Typography } from '@supabase/ui'+import { observer } from 'mobx-react-lite'+import { partition } from 'lodash'++import { useStore } from 'hooks'+import SQLCard from './SQLCard'+import { SQL_TEMPLATES } from '../SQLEditor.constants'++interface Props {}++const SQLTemplates: FC<Props> = ({}) => {+ const [templates, quickstarts] = partition(SQL_TEMPLATES, { type: 'template' })+ const { ui } = useStore()+ const projectRef = ui.selectedProject?.ref++ return (+ <div className="p-6 h-full overflow-y-auto space-y-8">+ <div className="flex flex-col">+ <div className="mb-4">+ <Typography.Title level={4} className="mb-0">+ Scripts+ </Typography.Title>+ <Typography.Text>+ Quick scripts to run on your database.+ <br />+ Click on any script to fill the query box, modify the script, then click+ <Typography.Text code>Run</Typography.Text>. More scripts coming soon!+ </Typography.Text>+ </div>+ <div className="grid grid-cols-3 gap-4">+ {templates.map((template) => (+ <Link key={template.id} href={`/project/${projectRef}/sql?templateId=${template.id}`}>+ <div className="flex flex-grow">+ <SQLCard template={template} />+ </div>+ </Link>+ ))}+ </div>+ </div>+ <div className="flex flex-col">+ <div className="mb-4">+ <Typography.Title level={4} className="mb-0">+ Quick start+ </Typography.Title>+ <Typography.Text>+ While we're in beta, we want to offer a quick way to explore Supabase. While we build+ importers, check out these simple starters.+ <br />+ Click on any script to fill the query box, modify the script, then click{' '}+ <Typography.Text code>Run</Typography.Text>. More coming soon!+ </Typography.Text>+ </div>+ <div className="grid grid-cols-3 gap-4">+ {quickstarts.map((template) => (+ <Link key={template.id} href={`/project/${projectRef}/sql?templateId=${template.id}`}>+ <div className="flex flex-grow">+ <SQLCard template={template} />+ </div>+ </Link>+ ))}+ </div>+ </div>+ </div>+ )+}++export default observer(SQLTemplates)diff --git a/studio/components/interfaces/SQLEditor/Toolbar.tsx b/studio/components/interfaces/SQLEditor/Toolbar.tsxnew file mode 100644index 00000000000..304ead7333f--- /dev/null+++ b/studio/components/interfaces/SQLEditor/Toolbar.tsx@@ -0,0 +1,74 @@+import { FC } from 'react'+import {+ Button,+ Dropdown,+ Typography,+ IconDownload,+ IconCopy,+ IconChevronDown,+ IconHeart,+} from '@supabase/ui'++interface Props {+ isRunning: boolean+ runQuery: () => void+ onSelectDownload: () => void+ onSelectCopy: () => void+ onSelectFavourite: () => void+}++const Toolbar: FC<Props> = ({+ isRunning,+ runQuery = () => {},+ onSelectDownload = () => {},+ onSelectCopy = () => {},+ onSelectFavourite = () => {},+}) => {+ return (+ <div className="flex items-center justify-between px-5 py-2">+ <div className="flex items-center space-x-2">+ <Dropdown+ side="bottom"+ align="start"+ overlay={[+ <Dropdown.Item+ key="download-csv"+ icon={<IconDownload size={14} strokeWidth={2} />}+ onClick={onSelectDownload}+ >+ Download as CSV+ </Dropdown.Item>,+ <Dropdown.Item+ key="copy-markdown"+ icon={<IconCopy size={14} strokeWidth={2} />}+ onClick={onSelectCopy}+ >+ Copy as markdown+ </Dropdown.Item>,+ ]}+ >+ <Button as="span" type="text" iconRight={<IconChevronDown size={14} strokeWidth={2} />}>+ <div>Results</div>+ </Button>+ </Dropdown>+ </div>+ <div className="flex items-center space-x-2">+ <Button type="text" onClick={() => onSelectFavourite()}>+ <div className="py-1">+ <IconHeart size={14} strokeWidth={2} />+ </div>+ </Button>+ <Button type="default" loading={isRunning} onClick={() => runQuery()}>+ <div className="space-x-2">+ <Typography.Text small>Run</Typography.Text>+ <Typography.Text keyboard>⌘</Typography.Text>+ <Typography.Text small>+</Typography.Text>+ <Typography.Text keyboard>↵</Typography.Text>+ </div>+ </Button>+ </div>+ </div>+ )+}++export default Toolbardiff --git a/studio/components/interfaces/SQLEditor/index.ts b/studio/components/interfaces/SQLEditor/index.tsnew file mode 100644index 00000000000..202285e3eaa--- /dev/null+++ b/studio/components/interfaces/SQLEditor/index.ts@@ -0,0 +1,5 @@+import SQLEditor from './SQLEditor'+import SQLTemplates from './SQLTemplates/SQLTemplates'++export { SQLTemplates }+export default SQLEditordiff --git a/studio/components/interfaces/TableGridEditor/EmptyState.tsx b/studio/components/interfaces/TableGridEditor/EmptyState.tsxnew file mode 100644index 00000000000..a39629a8329--- /dev/null+++ b/studio/components/interfaces/TableGridEditor/EmptyState.tsx@@ -0,0 +1,38 @@+import { FC } from 'react'+import { Button, Typography } from '@supabase/ui'+import { PostgresTable } from '@supabase/postgres-meta'+import { useStore } from 'hooks'++interface Props {+ selectedSchema: string+ onAddTable: () => void+}++const EmptyState: FC<Props> = ({ selectedSchema, onAddTable }) => {+ const { meta } = useStore()+ const tables = meta.tables.list((table: PostgresTable) => table.schema === selectedSchema)++ const renderNoTablesCTA = () => {+ return (+ <div className="flex flex-col items-center justify-center space-y-4">+ <Typography.Text>There are no tables available in this schema</Typography.Text>+ {selectedSchema === 'public' && <Button onClick={onAddTable}>Create a new table</Button>}+ </div>+ )+ }++ return (+ <div className="w-full h-full flex items-center justify-center">+ {tables.length === 0 ? (+ renderNoTablesCTA()+ ) : (+ <div className="flex flex-col items-center space-y-4">+ <Typography.Text>Select a table or create a new one</Typography.Text>+ <Button onClick={onAddTable}>Create a new table</Button>+ </div>+ )}+ </div>+ )+}++export default EmptyStatediff --git a/studio/components/interfaces/TableGridEditor/GridHeaderActions.tsx b/studio/components/interfaces/TableGridEditor/GridHeaderActions.tsxnew file mode 100644index 00000000000..4cb7e7ba1a8--- /dev/null+++ b/studio/components/interfaces/TableGridEditor/GridHeaderActions.tsx@@ -0,0 +1,46 @@+import { FC } from 'react'+import Link from 'next/link'+import { Button, IconAlertCircle, Typography } from '@supabase/ui'+import { PostgresTable } from '@supabase/postgres-meta'+import { useStore } from 'hooks'++interface Props {+ table: PostgresTable+}++const GridHeaderActions: FC<Props> = ({ table }) => {+ // Will need to import from a constants json of sorts+ const { ui } = useStore()+ const projectRef = ui.selectedProject?.ref+ const urlToRLSPolicies = `/project/${projectRef}/auth/policies`++ return (+ <div className="space-x-3 flex items-center">+ {!table.rls_enabled && (+ <Link href={urlToRLSPolicies}>+ <div className="flex items-center space-x-2">+ <div+ className="+ px-2 py-1+ border border-yellow-400 border-opacity-10+ bg-yellow-400 bg-opacity-10 rounded-md flex items-center+ text-yellow-400 space-x-2 hover:bg-opacity-20+ transition-opacity+ cursor-pointer"+ >+ <IconAlertCircle strokeWidth={2} size={16} />+ <span className="text-xs">RLS not enabled</span>+ </div>+ </div>+ </Link>+ )}+ {/* <Button type="text">+ <Typography.Text small code>+ Shortcuts+ </Typography.Text>+ </Button> */}+ </div>+ )+}++export default GridHeaderActionsdiff --git a/studio/components/interfaces/TableGridEditor/NotFoundState.tsx b/studio/components/interfaces/TableGridEditor/NotFoundState.tsxnew file mode 100644index 00000000000..4d63eecbb00--- /dev/null+++ b/studio/components/interfaces/TableGridEditor/NotFoundState.tsx@@ -0,0 +1,16 @@+import { Typography } from '@supabase/ui'+import { FC } from 'react'++interface Props {+ id: string | number+}++const NotFoundState: FC<Props> = ({ id }) => {+ return (+ <div className="flex items-center justify-center h-full">+ <Typography.Text>Oops! Unable to find your table with the ID {id}</Typography.Text>+ </div>+ )+}++export default NotFoundStatediff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/ActionBar.tsx b/studio/components/interfaces/TableGridEditor/SidePanelEditor/ActionBar.tsxnew file mode 100644index 00000000000..0274a23d274--- /dev/null+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/ActionBar.tsx@@ -0,0 +1,50 @@+import { FC, useState } from 'react'+import { Button } from '@supabase/ui'++interface ActionBarProps {+ applyButtonLabel?: string+ backButtonLabel?: string+ children?: any+ disableApply?: boolean+ applyFunction?: (resolve: any) => void+ closePanel: () => void+}+const ActionBar: FC<ActionBarProps> = ({+ applyButtonLabel = 'Apply',+ backButtonLabel = 'Back',+ children = null,+ disableApply = false,+ applyFunction = null,+ closePanel,+}) => {+ const [isRunning, setIsRunning] = useState(false)++ // @ts-ignore+ const applyCallback = () => new Promise((resolve) => applyFunction(resolve))++ const onSelectApply = async () => {+ setIsRunning(true)+ await applyCallback()+ setIsRunning(false)+ }++ return (+ <div className="space-x-3 w-full flex justify-end px-3">+ <Button onClick={closePanel} type="text" size="medium">+ {backButtonLabel}+ </Button>+ {children}+ {applyFunction && (+ <Button+ onClick={onSelectApply}+ disabled={disableApply || isRunning}+ loading={isRunning}+ size="medium"+ >+ {applyButtonLabel}+ </Button>+ )}+ </div>+ )+}+export default ActionBardiff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnDefaultValue.tsx b/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnDefaultValue.tsxnew file mode 100644index 00000000000..c7f02815118--- /dev/null+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnDefaultValue.tsx@@ -0,0 +1,66 @@+import React, { FC } from 'react'+import { isNil } from 'lodash'+import { Select } from '@supabase/ui'++import InputWithSuggestions from './InputWithSuggestions'+import { POSTGRES_DATA_TYPES } from '../SidePanelEditor.constants'+import { ColumnField, EnumType } from '../SidePanelEditor.types'+import { Suggestion } from './ColumnEditor.types'+import { getSelectedEnumValues } from './ColumnEditor.utils'+import { typeExpressionSuggestions } from './ColumnEditor.constants'++interface Props {+ columnFields: ColumnField+ enumTypes: EnumType[]+ onUpdateField: (changes: Partial<ColumnField>) => void+}++const ColumnDefaultValue: FC<Props> = ({+ columnFields,+ enumTypes = [],+ onUpdateField = () => {},+}) => {+ const suggestions: Suggestion[] = typeExpressionSuggestions?.[columnFields.format] ?? []++ // If selected column type is a user-defined enum, show a dropdown list of options+ const isUserDefinedEnum: boolean =+ isNil(columnFields.format) && !POSTGRES_DATA_TYPES.includes(columnFields.format)++ if (isUserDefinedEnum) {+ return (+ <Select+ label="Default Value"+ layout="horizontal"+ value={columnFields.defaultValue}+ onChange={(event: any) => onUpdateField({ defaultValue: event.target.value })}+ >+ <Select.Option key="empty-enum" value="">+ ---+ </Select.Option>+ {getSelectedEnumValues(columnFields.format, enumTypes).map((value: string) => (+ <Select.Option key={value} value={value}>+ {value}+ </Select.Option>+ ))}+ </Select>+ )+ }++ return (+ <InputWithSuggestions+ label="Default Value"+ layout="horizontal"+ description="Can either be a literal or an expression (e.g uuid_generate_v4())"+ placeholder="NULL"+ value={columnFields?.defaultValue ?? ''}+ suggestionsHeader="Suggested expressions"+ suggestions={suggestions}+ onChange={(event: any) => onUpdateField({ defaultValue: event.target.value })}+ onSelectSuggestion={(suggestion: Suggestion) =>+ onUpdateField({ defaultValue: suggestion.name })+ }+ />+ )+}++export default ColumnDefaultValuediff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnEditor.constants.ts b/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnEditor.constants.tsnew file mode 100644index 00000000000..7916ac5a681--- /dev/null+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnEditor.constants.ts@@ -0,0 +1,28 @@+import { Dictionary } from '@supabase/grid'+import { Suggestion } from './ColumnEditor.types'++const defaultTimeBasedExpressions: Suggestion[] = [+ {+ name: 'now()',+ description: 'Returns the current date and time',+ },+ {+ name: "(now() at time zone 'utc')",+ description: 'Returns the current date and time based on the specified timezone',+ },+]++// [Joshen] For now this is a curate mapping, ideally we could look into+// using meta-store's extensions to generate this partially on top of vanilla expressions+export const typeExpressionSuggestions: Dictionary<Suggestion[]> = {+ uuid: [+ {+ name: 'uuid_generate_v4()',+ description: 'Generates a version 4 UUID',+ },+ ],+ time: [...defaultTimeBasedExpressions],+ timetz: [...defaultTimeBasedExpressions],+ timestamp: [...defaultTimeBasedExpressions],+ timestamptz: [...defaultTimeBasedExpressions],+}diff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnEditor.tsx b/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnEditor.tsxnew file mode 100644index 00000000000..0ce938a7653--- /dev/null+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnEditor.tsx@@ -0,0 +1,262 @@+import { FC, useEffect, useState } from 'react'+import { isUndefined, isEmpty } from 'lodash'+import { Dictionary } from '@supabase/grid'+import { Checkbox, SidePanel, Space, Input, Divider } from '@supabase/ui'+import { PostgresColumn, PostgresRelationship, PostgresTable } from '@supabase/postgres-meta'++import ActionBar from '../ActionBar'+import HeaderTitle from './HeaderTitle'+import ColumnType from './ColumnType'+import ColumnForeignKey from './ColumnForeignKey'+import ColumnDefaultValue from './ColumnDefaultValue'+import { ForeignKeySelector } from '..'+import {+ generateColumnField,+ generateColumnFieldFromPostgresColumn,+ getColumnForeignKey,+ validateFields,+ generateCreateColumnPayload,+ generateUpdateColumnPayload,+} from './ColumnEditor.utils'+import {+ EnumType,+ ColumnField,+ CreateColumnPayload,+ UpdateColumnPayload,+} from '../SidePanelEditor.types'++interface Props {+ column?: PostgresColumn+ selectedTable: PostgresTable+ tables: PostgresTable[]+ enumTypes: EnumType[]+ visible: boolean+ closePanel: () => void+ saveChanges: (+ payload: CreateColumnPayload | UpdateColumnPayload,+ foreignKey: Partial<PostgresRelationship> | undefined,+ isNewRecord: boolean,+ configuration: { columnId: string | undefined },+ resolve: any+ ) => void+ updateEditorDirty: () => void+}++const ColumnEditor: FC<Props> = ({+ column,+ selectedTable,+ tables = [],+ enumTypes = [],+ visible = false,+ closePanel = () => {},+ saveChanges = () => {},+ updateEditorDirty = () => {},+}) => {+ const isNewRecord = isUndefined(column)+ const hasPrimaryKey = (selectedTable?.primary_keys ?? []).length > 0+ const foreignKey = column ? getColumnForeignKey(column, selectedTable) : undefined++ const [errors, setErrors] = useState<Dictionary<any>>({})+ const [columnFields, setColumnFields] = useState<ColumnField>()+ const [isEditingRelation, setIsEditingRelation] = useState<boolean>(false)++ useEffect(() => {+ if (visible) {+ setErrors({})+ const columnFields = isNewRecord+ ? generateColumnField()+ : generateColumnFieldFromPostgresColumn(column!, selectedTable)+ setColumnFields(columnFields)+ }+ }, [visible])++ const onUpdateField = (changes: Partial<ColumnField>) => {+ const updatedColumnFields = { ...columnFields, ...changes } as ColumnField+ setColumnFields(updatedColumnFields)+ updateEditorDirty()++ const updatedErrors = { ...errors }+ for (const key of Object.keys(changes)) {+ delete updatedErrors[key]+ }+ setErrors(updatedErrors)+ }++ const saveColumnForeignKey = (foreignKeyConfiguration: any) => {+ onUpdateField({+ foreignKey: !isUndefined(foreignKeyConfiguration)+ ? {+ id: 0,+ constraint_name: '',+ source_schema: selectedTable.schema,+ source_table_name: selectedTable.name,+ source_column_name: columnFields?.name || column?.name || '',+ target_table_schema: foreignKeyConfiguration.table.schema,+ target_table_name: foreignKeyConfiguration.table.name,+ target_column_name: foreignKeyConfiguration.column.name,+ }+ : undefined,+ ...(!isUndefined(foreignKeyConfiguration) && {+ format: foreignKeyConfiguration.column.format,+ defaultValue: '',+ }),+ })+ setIsEditingRelation(false)+ }++ const onSaveChanges = (resolve: () => void) => {+ if (columnFields) {+ const errors = validateFields(columnFields)+ setErrors(errors)++ if (isEmpty(errors)) {+ const payload = isNewRecord+ ? generateCreateColumnPayload(selectedTable.id, columnFields)+ : generateUpdateColumnPayload(column!, columnFields)+ const foreignKey = columnFields.foreignKey+ ? { ...columnFields.foreignKey, source_column_name: columnFields.name }+ : undefined+ const configuration = { columnId: column?.id }+ saveChanges(payload, foreignKey, isNewRecord, configuration, resolve)+ } else {+ resolve()+ }+ }+ }++ if (!columnFields) return null++ return (+ <SidePanel+ wide+ key="ColumnEditor"+ visible={visible}+ // @ts-ignore+ title={<HeaderTitle table={selectedTable} column={column} />}+ onCancel={closePanel}+ onConfirm={(resolve: () => void) => onSaveChanges(resolve)}+ customFooter={+ <ActionBar+ backButtonLabel="Cancel"+ applyButtonLabel="Save"+ closePanel={closePanel}+ applyFunction={(resolve: () => void) => onSaveChanges(resolve)}+ />+ }+ >+ <Space direction="vertical" size={6} style={{ width: '100%' }}>+ <Input+ label="Name"+ layout="horizontal"+ type="text"+ error={errors.name}+ value={columnFields?.name ?? ''}+ onChange={(event: any) => onUpdateField({ name: event.target.value })}+ />+ <Input+ label="Description"+ placeholder="Optional"+ layout="horizontal"+ type="text"+ value={columnFields?.comment ?? ''}+ onChange={(event: any) => onUpdateField({ comment: event.target.value })}+ />+ {isNewRecord && !hasPrimaryKey && (+ <div className="grid grid-cols-12 gap-4">+ <div className="col-span-12 md:col-span-8 md:col-start-5">+ <Checkbox+ label={hasPrimaryKey ? 'Add to composite primary key' : 'Is Primary Key'}+ description="A primary key indicates that a column or group of columns can be used as a unique identifier for rows in the table."+ checked={columnFields?.isPrimaryKey ?? false}+ onChange={() => onUpdateField({ isPrimaryKey: !columnFields?.isPrimaryKey })}+ />+ </div>+ </div>+ )}+ <ColumnForeignKey+ column={columnFields}+ originalForeignKey={foreignKey}+ onSelectEditRelation={() => setIsEditingRelation(true)}+ onSelectRemoveRelation={() => onUpdateField({ foreignKey: undefined })}+ />+ <Divider />+ <ColumnType+ value={columnFields?.format ?? ''}+ enumTypes={enumTypes}+ error={errors.format}+ disabled={!isUndefined(columnFields?.foreignKey)}+ onOptionSelect={(format: string) => onUpdateField({ format, defaultValue: '' })}+ />+ {isUndefined(columnFields.foreignKey) && (+ <div className="grid grid-cols-12 gap-4">+ {columnFields.format.includes('int') && (+ <div className="col-span-12 md:col-span-8 md:col-start-5">+ <Checkbox+ label="Is Identity"+ description="Automatically assign a sequential unique number to the column"+ checked={columnFields.isIdentity}+ onChange={() => {+ const isIdentity = !columnFields.isIdentity+ const isArray = isIdentity ? false : columnFields.isArray+ onUpdateField({ isIdentity, isArray })+ }}+ />+ </div>+ )}+ {!columnFields.isPrimaryKey && (+ <div className="col-span-12 md:col-span-8 md:col-start-5">+ <Checkbox+ label="Define as Array"+ description="Allow column to be defined as variable-length multidimensional arrays"+ checked={columnFields.isArray}+ onChange={() => {+ const isArray = !columnFields.isArray+ const isIdentity = isArray ? false : columnFields.isIdentity+ onUpdateField({ isArray, isIdentity })+ }}+ />+ </div>+ )}+ </div>+ )}+ <ColumnDefaultValue+ columnFields={columnFields}+ enumTypes={enumTypes}+ onUpdateField={onUpdateField}+ />+ {!columnFields.isPrimaryKey && (+ <>+ <div className="grid grid-cols-12 gap-4">+ <div className="col-span-12 md:col-span-8 md:col-start-5">+ <Checkbox+ label="Allow Nullable"+ description="Allow the column to assume a NULL value if no value is provided"+ checked={columnFields.isNullable}+ onChange={() => onUpdateField({ isNullable: !columnFields.isNullable })}+ />+ </div>+ <div className="col-span-12 md:col-span-8 md:col-start-5">+ <Checkbox+ label="Is Unique"+ description="Enforce values in the column to be unique across rows"+ checked={columnFields.isUnique}+ onChange={() => onUpdateField({ isUnique: !columnFields.isUnique })}+ />+ </div>+ </div>+ </>+ )}+ </Space>+ <ForeignKeySelector+ tables={tables}+ column={columnFields}+ foreignKey={foreignKey}+ visible={isEditingRelation}+ closePanel={() => setIsEditingRelation(false)}+ saveChanges={saveColumnForeignKey}+ />+ </SidePanel>+ )+}++export default ColumnEditordiff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnEditor.types.ts b/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnEditor.types.tsnew file mode 100644index 00000000000..8ff528a8b8f--- /dev/null+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnEditor.types.ts@@ -0,0 +1,4 @@+export interface Suggestion {+ name: string+ description: string+}diff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnEditor.utils.ts b/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnEditor.utils.tsnew file mode 100644index 00000000000..78482346551--- /dev/null+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnEditor.utils.ts@@ -0,0 +1,237 @@+import { find, isUndefined, isEqual, isNull } from 'lodash'+import { Dictionary } from '@supabase/grid'+import { PostgresColumn, PostgresRelationship, PostgresTable } from '@supabase/postgres-meta'++import { uuidv4 } from 'lib/helpers'+import {+ ColumnField,+ EnumType,+ CreateColumnPayload,+ UpdateColumnPayload,+} from '../SidePanelEditor.types'++const isSQLExpression = (input: string) => {+ if (input[0] === '(' && input[input.length - 1] === ')') {+ return true+ }++ const openParanthesisIndex = input.indexOf('(')+ const closeParanthesisIndex = input.indexOf(')')++ const hasSpaces = input.indexOf(' ') >= 0+ if (!hasSpaces && openParanthesisIndex >= 0 && closeParanthesisIndex > openParanthesisIndex) {+ return true+ }++ return false+}++export const generateColumnField = (field: any = {}): ColumnField => {+ const { name, format } = field+ return {+ id: uuidv4(),+ name: name || '',+ comment: '',+ format: format || '',+ defaultValue: '',+ foreignKey: undefined,+ isNullable: true,+ isUnique: false,+ isArray: false,+ isPrimaryKey: false,+ isIdentity: false,+ isNewColumn: true,+ }+}++export const generateColumnFieldFromPostgresColumn = (+ column: PostgresColumn,+ table: PostgresTable+): ColumnField => {+ const { primary_keys } = table+ const primaryKeyColumns = primary_keys.map((key) => key.name)+ const foreignKey = getColumnForeignKey(column, table)+ const isArray = column?.data_type === 'ARRAY'+ return {+ foreignKey,+ id: column?.id ?? uuidv4(),+ name: column.name,+ comment: column?.comment ?? '',+ format: isArray ? column.format.slice(1) : column.format,+ defaultValue: unescapeLiteral(column?.default_value as string) ?? ('' as any),+ isArray: isArray,+ isNullable: column.is_nullable,+ isIdentity: column.is_identity,+ isUnique: column.is_unique,++ isNewColumn: false,+ isPrimaryKey: primaryKeyColumns.includes(column.name),+ }+}++export const generateCreateColumnPayload = (+ tableId: number,+ field: ColumnField+): CreateColumnPayload => {+ const isIdentity = field.format.includes('int') ? field.isIdentity : false+ const defaultValue = field.defaultValue.length === 0 ? null : field.defaultValue+ const payload: CreateColumnPayload = {+ tableId,+ isIdentity,+ name: field.name,+ comment: field.comment,+ type: field.isArray ? `${field.format}[]` : field.format,+ isUnique: field.isUnique,+ isPrimaryKey: field.isPrimaryKey,+ ...(!field.isPrimaryKey && !isIdentity && { isNullable: field.isNullable }),+ ...(!isIdentity && {+ defaultValue:+ field.isArray && defaultValue ? formatArrayToPostgresArray(defaultValue) : defaultValue,+ }),+ ...(!isIdentity &&+ defaultValue && {+ defaultValueFormat:+ isNull(defaultValue) || isSQLExpression(defaultValue)+ ? 'expression'+ : ('literal' as 'expression' | 'literal'),+ }),+ }+ return payload+}++export const generateUpdateColumnPayload = (+ originalColumn: PostgresColumn,+ field: ColumnField+): Partial<UpdateColumnPayload> => {+ // Only append the properties which are getting updated+ const defaultValue = field.defaultValue.length === 0 ? null : field.defaultValue+ const type = field.isArray ? `${field.format}[]` : field.format+ const comment = (field.comment?.length ?? '') === 0 ? null : field.comment++ const payload: Partial<UpdateColumnPayload> = {}+ if (!isEqual(originalColumn.name, field.name)) {+ payload.name = field.name+ }+ if (!isEqual(originalColumn.comment, comment)) {+ payload.comment = comment+ }+ if (!isEqual(originalColumn.format, type)) {+ payload.type = type+ }+ if (!isEqual(originalColumn.default_value, defaultValue)) {+ payload.defaultValue = defaultValue+ payload.defaultValueFormat =+ isNull(defaultValue) || isSQLExpression(defaultValue)+ ? 'expression'+ : ('literal' as 'expression' | 'literal')+ }+ if (!isEqual(originalColumn.is_identity, field.isIdentity)) {+ payload.isIdentity = field.isIdentity+ }+ if (!isEqual(originalColumn.is_nullable, field.isNullable)) {+ payload.isNullable = field.isNullable+ }+ if (!isEqual(originalColumn.is_unique, field.isUnique)) {+ payload.isUnique = field.isUnique+ }++ return payload+}++export const getSelectedEnumValues = (type: string, enums: EnumType[]) => {+ const enumType = find(enums, { name: type })+ return enumType?.values ?? []+}++export const validateFields = (field: ColumnField) => {+ const errors = {} as Dictionary<any>+ if (field.name.length === 0) {+ errors['name'] = `Please assign a name for your column`+ }+ if (field.format.length === 0) {+ errors['format'] = `Please select a type for your column`+ }+ return errors+}++export const getForeignKeyUIState = (+ originalConfig: PostgresRelationship | undefined,+ updatedConfig: PostgresRelationship | undefined+): 'Info' | 'Add' | 'Remove' | 'Update' => {+ if (isUndefined(originalConfig) && !isUndefined(updatedConfig)) {+ return 'Add'+ }++ if (!isUndefined(originalConfig) && isUndefined(updatedConfig)) {+ return 'Remove'+ }++ if (+ !isEqual(originalConfig?.target_table_schema, updatedConfig?.target_table_schema) ||+ !isEqual(originalConfig?.target_table_name, updatedConfig?.target_table_name) ||+ !isEqual(originalConfig?.target_column_name, updatedConfig?.target_column_name)+ ) {+ return 'Update'+ }++ return 'Info'+}++export const getColumnForeignKey = (column: PostgresColumn, table: PostgresTable) => {+ const { relationships } = table+ return find(relationships, (relationship) => {+ return (+ relationship.source_schema === column.schema &&+ relationship.source_table_name === column.table &&+ relationship.source_column_name === column.name+ )+ })+}++// Assumes arrayString is a stringified array (e.g "[1, 2, 3]")+const formatArrayToPostgresArray = (arrayString: string) => {+ if (!arrayString) return null+ return arrayString.replaceAll('[', '{').replaceAll(']', '}')+}++const unescapeLiteral = (value: string) => {+ if (!value) return value++ const splits = value.split("'::")+ if (splits.length <= 1) return value++ // Handle timezones differently+ if (value.includes('timezone')) {+ const timezoneSplits = splits[0].split('(')+ const timezone = timezoneSplits[1].slice(1)+ const expressionSplits = splits[1].split(',')+ const expression = expressionSplits[1].slice(0, expressionSplits[1].length - 1)+ return `(${expression} at time zone '${timezone}')`+ }++ let temp = splits[0].slice(1).replace("'{", '{')+ if (+ value.endsWith('integer[]') ||+ value.endsWith('real[]') ||+ value.endsWith('bigint[]') ||+ value.endsWith('smallint[]')+ ) {+ temp = temp.replaceAll('{', '[')+ temp = temp.replaceAll('}', ']')+ return temp+ } else {+ const matches = temp.match(/\{([^{}]+)\}/g)+ if (matches) {+ const array = [...matches]+ array.forEach((x) => {+ let _x = x.replaceAll('{', '{"')+ _x = _x.replaceAll('}', '"}')+ _x = _x.replaceAll(',', '","')+ temp = temp.replace(x, _x)+ })+ temp = temp.replaceAll('{', '[')+ temp = temp.replaceAll('}', ']')+ }+ return temp+ }+}diff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnForeignKey.tsx b/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnForeignKey.tsxnew file mode 100644index 00000000000..9d5b4c70c10--- /dev/null+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnForeignKey.tsx@@ -0,0 +1,252 @@+import { FC } from 'react'+import { isUndefined } from 'lodash'+import { Button, IconArrowRight, IconLink, Typography } from '@supabase/ui'++import { ColumnField } from '../SidePanelEditor.types'+import InformationBox from 'components/ui/InformationBox'+import { getForeignKeyUIState } from './ColumnEditor.utils'+import { PostgresRelationship } from '@supabase/postgres-meta'++interface Props {+ column: ColumnField+ originalForeignKey: PostgresRelationship | undefined+ onSelectEditRelation: () => void+ onSelectRemoveRelation: () => void+}++const ColumnForeignKey: FC<Props> = ({+ column,+ originalForeignKey,+ onSelectEditRelation = () => {},+ onSelectRemoveRelation = () => {},+}) => {+ const hasNoForeignKey = isUndefined(originalForeignKey) && isUndefined(column?.foreignKey)+ if (hasNoForeignKey) {+ return (+ <div>+ <Button type="secondary" onClick={onSelectEditRelation}>+ Add foreign key relation+ </Button>+ </div>+ )+ }++ const foreignKeyUIState = getForeignKeyUIState(originalForeignKey, column?.foreignKey)++ switch (foreignKeyUIState) {+ case 'Add':+ return (+ <ColumnForeignKeyAdded+ columnName={column.name}+ foreignKey={column.foreignKey}+ onSelectEditRelation={onSelectEditRelation}+ onSelectRemoveRelation={onSelectRemoveRelation}+ />+ )+ case 'Remove':+ return (+ <ColumnForeignKeyRemoved+ columnName={column.name}+ originalForeignKey={originalForeignKey}+ onSelectEditRelation={onSelectEditRelation}+ />+ )+ case 'Update':+ return (+ <ColumnForeignKeyUpdated+ columnName={column.name}+ originalForeignKey={originalForeignKey}+ updatedForeignKey={column.foreignKey}+ onSelectEditRelation={onSelectEditRelation}+ onSelectRemoveRelation={onSelectRemoveRelation}+ />+ )+ case 'Info':+ return (+ <ColumnForeignKeyInformation+ columnName={column.name}+ foreignKey={column.foreignKey}+ onSelectEditRelation={onSelectEditRelation}+ onSelectRemoveRelation={onSelectRemoveRelation}+ />+ )+ default:+ return <div />+ }+}++export default ColumnForeignKey++// Just to break the components into smaller ones, we can create separate files for these++const ColumnForeignKeyInformation: FC<{+ columnName: string+ foreignKey?: PostgresRelationship+ onSelectEditRelation: () => void+ onSelectRemoveRelation: () => void+}> = ({ columnName, foreignKey, onSelectEditRelation, onSelectRemoveRelation }) => {+ return (+ <InformationBox+ icon={<IconLink />}+ title={+ <div className="flex items-center justify-between">+ <div className="space-y-2">+ <Typography.Text>This column has the following foreign key relation:</Typography.Text>+ <div className="flex items-center space-x-2">+ <Typography.Text code small>+ {columnName}+ </Typography.Text>+ <IconArrowRight size={14} strokeWidth={2} />+ <Typography.Text code small>+ {foreignKey?.target_table_schema}.{foreignKey?.target_table_name}.+ {foreignKey?.target_column_name}+ </Typography.Text>+ </div>+ </div>+ <div className="flex items-center space-x-2">+ <Button type="outline" onClick={onSelectEditRelation}>+ Edit relation+ </Button>+ <Button type="outline" onClick={onSelectRemoveRelation}>+ Remove+ </Button>+ </div>+ </div>+ }+ />+ )+}++const ColumnForeignKeyAdded: FC<{+ columnName: string+ foreignKey?: PostgresRelationship+ onSelectEditRelation: () => void+ onSelectRemoveRelation: () => void+}> = ({ columnName, foreignKey, onSelectEditRelation, onSelectRemoveRelation }) => {+ return (+ <InformationBox+ icon={<IconLink />}+ title={+ <div className="flex items-center justify-between">+ <div className="space-y-2">+ <Typography.Text>+ The following foreign key relation will be{' '}+ <span className="text-green-500">added</span>:+ </Typography.Text>+ <div className="flex items-center space-x-2">+ <Typography.Text code small>+ {columnName}+ </Typography.Text>+ <IconArrowRight size={14} strokeWidth={2} />+ <Typography.Text code small>+ {foreignKey?.target_table_schema}.{foreignKey?.target_table_name}.+ {foreignKey?.target_column_name}+ </Typography.Text>+ </div>+ </div>+ <div className="flex items-center space-x-2">+ <Button type="outline" onClick={onSelectEditRelation}>+ Edit relation+ </Button>+ <Button type="outline" onClick={onSelectRemoveRelation}>+ Remove+ </Button>+ </div>+ </div>+ }+ />+ )+}++const ColumnForeignKeyRemoved: FC<{+ columnName: string+ originalForeignKey?: PostgresRelationship+ onSelectEditRelation: () => void+}> = ({ columnName, originalForeignKey, onSelectEditRelation }) => {+ return (+ <InformationBox+ icon={<IconLink />}+ title={+ <div className="flex items-center justify-between">+ <div className="space-y-2">+ <Typography.Text>+ The following foreign key relation will be{' '}+ <span className="text-yellow-500">removed</span> from this column:+ </Typography.Text>+ <div className="flex items-center space-x-2">+ <Typography.Text code small>+ {columnName}+ </Typography.Text>+ <IconArrowRight size={14} strokeWidth={2} />+ <Typography.Text code small>+ {originalForeignKey?.target_table_schema}.{originalForeignKey?.target_table_name}.+ {originalForeignKey?.target_column_name}+ </Typography.Text>+ </div>+ </div>+ <div className="flex items-center space-x-2">+ <Button type="outline" onClick={onSelectEditRelation}>+ Edit relation+ </Button>+ </div>+ </div>+ }+ />+ )+}++const ColumnForeignKeyUpdated: FC<{+ columnName: string+ originalForeignKey?: PostgresRelationship+ updatedForeignKey?: PostgresRelationship+ onSelectEditRelation: () => void+ onSelectRemoveRelation: () => void+}> = ({+ columnName,+ originalForeignKey,+ updatedForeignKey,+ onSelectEditRelation,+ onSelectRemoveRelation,+}) => {+ return (+ <InformationBox+ icon={<IconLink />}+ title={+ <div className="flex items-center justify-between">+ <div className="space-y-2">+ <Typography.Text>+ The foreign key relation will be <span className="text-green-500">updated</span> as+ such:+ </Typography.Text>+ <div className="flex items-start space-x-2">+ <Typography.Text code small>+ {columnName}+ </Typography.Text>+ <IconArrowRight className="mt-1" size={14} strokeWidth={2} />+ <div className="flex flex-col space-y-2">+ <p className="line-through">+ <Typography.Text code small>+ {originalForeignKey?.target_table_schema}.+ {originalForeignKey?.target_table_name}.{originalForeignKey?.target_column_name}+ </Typography.Text>+ </p>+ <Typography.Text code small>+ {updatedForeignKey?.target_table_schema}.{updatedForeignKey?.target_table_name}.+ {updatedForeignKey?.target_column_name}+ </Typography.Text>+ </div>+ </div>+ </div>+ <div className="flex items-center space-x-2">+ <Button type="outline" onClick={onSelectEditRelation}>+ Edit relation+ </Button>+ <Button type="outline" onClick={onSelectRemoveRelation}>+ Remove+ </Button>+ </div>+ </div>+ }+ />+ )+}diff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnType.tsx b/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnType.tsxnew file mode 100644index 00000000000..4918a3d3b2c--- /dev/null+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnType.tsx@@ -0,0 +1,131 @@+import React, { FC } from 'react'+import {+ IconCalendar,+ IconType,+ IconHash,+ Listbox,+ Typography,+ IconToggleRight,+} from '@supabase/ui'+import { POSTGRES_DATA_TYPE_OPTIONS } from '../SidePanelEditor.constants'+import { PostgresDataTypeOption, EnumType } from '../SidePanelEditor.types'++interface Props {+ value: string+ enumTypes: EnumType[]+ size?: 'tiny' | 'small' | 'medium' | 'large' | 'xlarge'+ className?: string+ error?: any+ disabled?: boolean+ showLabel?: boolean+ onOptionSelect: (value: string) => void+}++const ColumnType: FC<Props> = ({+ value,+ enumTypes = [],+ className,+ size = 'medium',+ error,+ disabled = false,+ showLabel = true,+ onOptionSelect = () => {},+}) => {+ const inferIcon = (type: string) => {+ switch (type) {+ case 'number':+ return <IconHash size={16} className="text-green-600" strokeWidth={2} />+ case 'time':+ return <IconCalendar size={16} className="text-green-600" strokeWidth={2} />+ case 'text':+ return <IconType size={16} className="text-green-600" strokeWidth={2} />+ case 'json':+ return (+ <div className="text-green-600" style={{ padding: '0px 1px' }}>+ {'{ }'}+ </div>+ )+ case 'bool':+ return <IconToggleRight size={16} className="text-green-600" strokeWidth={2} />+ default:+ return <div />+ }+ }++ return (+ <Listbox+ label={showLabel ? 'Type' : ''}+ layout={showLabel ? 'horizontal' : 'vertical'}+ value={value}+ size={size}+ error={error}+ className={`${className} ${disabled ? 'column-type-disabled' : ''}`}+ onChange={(value: string) => onOptionSelect(value)}+ >+ <Listbox.Option key="empty" value="" label="---">+ ---+ </Listbox.Option>++ <Listbox.Option disabled key="header-1" value="header-1" label="header-1">+ User-defined Enumerated Types+ </Listbox.Option>++ {enumTypes.length > 0 ? (+ enumTypes.map((enumType: EnumType) => (+ <Listbox.Option+ key={enumType.name}+ value={enumType.name}+ label={enumType.name}+ addOnBefore={() => {+ return <div className="mx-1 w-2 h-2 rounded-full bg-green-700" />+ }}+ >+ <div className="flex items-center space-x-4">+ <p>{enumType.name}</p>+ </div>+ </Listbox.Option>+ ))+ ) : (+ <Listbox.Option+ disabled+ key="no-enums"+ value="no-enums"+ label="no-enums"+ addOnBefore={() => {+ return <div className="mx-1 w-2 h-2 rounded-full bg-gray-500" />+ }}+ >+ <div className="flex items-center space-x-4">+ <p>No enumerated types available</p>+ </div>+ </Listbox.Option>+ )}++ <Listbox.Option disabled value="header-2" label="header-2">+ PostgreSQL Data Types+ </Listbox.Option>++ {POSTGRES_DATA_TYPE_OPTIONS.map((option: PostgresDataTypeOption) => (+ <Listbox.Option+ key={option.name}+ value={option.name}+ label={option.name}+ addOnBefore={() => inferIcon(option.type)}+ >+ <div className="flex items-center space-x-4">+ <Typography.Text>+ <p>{option.name}</p>+ </Typography.Text>+ <p>+ <Typography.Text small className="opacity-50">+ {option.description}+ </Typography.Text>+ </p>+ </div>+ </Listbox.Option>+ ))}+ </Listbox>+ )+}++export default ColumnTypediff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/HeaderTitle.tsx b/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/HeaderTitle.tsxnew file mode 100644index 00000000000..49fb2b1bd60--- /dev/null+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/HeaderTitle.tsx@@ -0,0 +1,26 @@+import { PostgresTable, PostgresColumn } from '@supabase/postgres-meta'+import { Typography } from '@supabase/ui'++interface Props {+ table: PostgresTable+ column: PostgresColumn+}++// Need to fix for new column later+const HeaderTitle: React.FC<Props> = ({ table, column }) => {+ if (!column) {+ return (+ <>+ Add new column to <Typography.Text code>{table.name}</Typography.Text>+ </>+ )+ }+ return (+ <>+ Update column <Typography.Text code>{column.name}</Typography.Text> from{' '}+ <Typography.Text code>{column.table}</Typography.Text>+ </>+ )+}++export default HeaderTitlediff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/InputWithSuggestions.tsx b/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/InputWithSuggestions.tsxnew file mode 100644index 00000000000..6437ecfbaa8--- /dev/null+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/InputWithSuggestions.tsx@@ -0,0 +1,138 @@+// [Joshen] Chuck this into the UI library with proper positioning logic via radix+// and proper width derivation using useRef. Unable to pass a ref to the Input component+//+// For now a couple of things are a bit hacky like width derivation, z-index, selection of suggestion+// with timeouts and a lot of unnecessary defensive guards - but these can go away when we port+// the component over to the UI library++import { FC, useEffect, useRef, useState } from 'react'+import { Input, Typography } from '@supabase/ui'+import { Suggestion } from './ColumnEditor.types'+import { timeout } from 'lib/helpers'++const MAX_SUGGESTIONS = 3+const DEFAULT_SUGGESTIONS_WIDTH = 400++interface Props {+ label?: string+ description?: string+ placeholder?: string+ size?: 'small' | 'tiny' | 'medium' | 'large'+ layout?: 'horizontal' | 'vertical'+ disabled?: boolean+ className?: string+ value: string+ suggestionsHeader?: string+ suggestionsWidth?: number+ suggestions: Suggestion[]+ onChange: (event: any) => void+ onSelectSuggestion: (suggestion: Suggestion) => void+}++const InputWithSuggestions: FC<Props> = ({+ label,+ description,+ placeholder,+ size,+ layout,+ disabled = false,+ className = '',+ value = '',+ suggestionsHeader = 'Suggestions',+ suggestionsWidth,+ suggestions = [],+ onChange = () => {},+ onSelectSuggestion = () => {},+}) => {+ const ref = useRef(null)+ const [isFocused, setIsFocused] = useState<boolean>(false)+ const [derviedSuggestionsWidth, setDerivedSuggestionsWidth] =+ useState<number>(DEFAULT_SUGGESTIONS_WIDTH)+ const [filteredSuggestions, setFilteredSuggestions] = useState<Suggestion[]>(suggestions)+ const showSuggestions = isFocused && filteredSuggestions.length > 0++ useEffect(() => {+ // This is super hacky but will go away when we bring it into the UI library+ // It's mainly cause I can't pass a ref into Input+ const parentInputFieldWidth = (ref?.current as any).children[0]?.children[0]?.children[+ layout === 'horizontal' ? 1 : 0+ ]?.offsetWidth+ const width = suggestionsWidth || parentInputFieldWidth || DEFAULT_SUGGESTIONS_WIDTH+ setDerivedSuggestionsWidth(width)+ }, [ref.current])++ useEffect(() => {+ setFilteredSuggestions(suggestions.slice(0, MAX_SUGGESTIONS))+ }, [suggestions])++ const onInputChange = (event: any) => {+ onChange(event)++ const inputText = event.target.value++ if (suggestions.length > MAX_SUGGESTIONS) {+ const filteredSuggestions = inputText+ ? suggestions.filter((suggestion: Suggestion) => {+ return suggestion.name.indexOf(inputText) !== -1+ })+ : suggestions+ setFilteredSuggestions(filteredSuggestions.slice(0, MAX_SUGGESTIONS))+ }+ }++ return (+ <div ref={ref} className="relative">+ <Input+ label={label}+ descriptionText={description}+ placeholder={placeholder}+ size={size}+ layout={layout}+ disabled={disabled}+ className={className}+ type="text"+ value={value}+ onFocus={() => setIsFocused(true)}+ onBlur={async () => {+ await timeout(100)+ setIsFocused(false)+ }}+ onChange={onInputChange}+ />+ {showSuggestions && (+ <div+ className="z-10 absolute top-11 right-0"+ style={{ width: `calc(${derviedSuggestionsWidth}px)` }}+ >+ <div className="bg-gray-800 border border-gray-600 shadow rounded-md py-1">+ <p className="px-4">+ <Typography.Text small className="opacity-50">+ {suggestionsHeader}+ </Typography.Text>+ </p>+ <div className="flex flex-col mt-2">+ {filteredSuggestions.map((suggestion: Suggestion) => (+ <div+ key={suggestion.name}+ className="px-4 py-2 cursor-pointer flex grid grid-cols-12 gap-2 hover:bg-green-600 !bg-opacity-40"+ onClick={() => onSelectSuggestion(suggestion)}+ >+ <div className="col-span-6">+ <Typography.Text>{suggestion.name}</Typography.Text>+ </div>+ <div className="col-span-6">+ <Typography.Text small className="opacity-50">+ {suggestion.description}+ </Typography.Text>+ </div>+ </div>+ ))}+ </div>+ </div>+ </div>+ )}+ </div>+ )+}++export default InputWithSuggestionsdiff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/ForeignKeySelector/ForeignKeySelector.tsx b/studio/components/interfaces/TableGridEditor/SidePanelEditor/ForeignKeySelector/ForeignKeySelector.tsxnew file mode 100644index 00000000000..924384e642e--- /dev/null+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/ForeignKeySelector/ForeignKeySelector.tsx@@ -0,0 +1,196 @@+import React, { FC, useEffect, useState } from 'react'+import { get, find, isEmpty, sortBy } from 'lodash'+import { Dictionary } from '@supabase/grid'+import { SidePanel, Typography, Listbox, IconHelpCircle } from '@supabase/ui'+import { PostgresTable, PostgresColumn, PostgresRelationship } from '@supabase/postgres-meta'++import ActionBar from '../ActionBar'+import { ForeignKey } from './ForeignKeySelector.types'+import { ColumnField } from '../SidePanelEditor.types'+import InformationBox from 'components/ui/InformationBox'++interface Props {+ tables: PostgresTable[]+ column: ColumnField+ foreignKey?: PostgresRelationship+ metadata?: any+ visible: boolean+ closePanel: () => void+ saveChanges: (value: any) => void+}++const ForeignKeySelector: FC<Props> = ({+ tables = [] as PostgresTable[],+ column,+ foreignKey,+ visible = false,+ closePanel,+ saveChanges,+}) => {+ const [errors, setErrors] = useState<any>({})+ const [selectedForeignKey, setSelectedForeignKey] = useState<ForeignKey>()++ const selectedTable: PostgresTable | undefined = find(tables, {+ name: selectedForeignKey?.table,+ schema: selectedForeignKey?.schema,+ })+ const selectedColumn: PostgresColumn | undefined = find(selectedTable?.columns ?? [], {+ name: selectedForeignKey?.column,+ })++ useEffect(() => {+ // Reset the state of the side panel+ if (visible) {+ setErrors({})+ if (foreignKey) {+ setSelectedForeignKey({+ schema: foreignKey.target_table_schema,+ table: foreignKey.target_table_name,+ column: foreignKey.target_column_name,+ })+ } else {+ setSelectedForeignKey({+ schema: '',+ table: '',+ column: '',+ })+ }+ }+ }, [visible])++ const updateSelectedTable = (tableId: number) => {+ setErrors({})+ if (!tableId) {+ setSelectedForeignKey({+ schema: '',+ table: '',+ column: '',+ })+ }+ const table = find(tables, { id: tableId })+ if (table) {+ setSelectedForeignKey({+ schema: table.schema,+ table: table.name,+ column: table.columns.length > 0 ? table.columns[0].name : undefined,+ })+ }+ }++ const updateSelectedColumn = (columnId: string) => {+ setErrors({})+ const column = find(selectedTable?.columns, { id: columnId })+ if (column) {+ const updatedForeignKey = { ...selectedForeignKey, column: column.name } as ForeignKey+ setSelectedForeignKey(updatedForeignKey)+ }+ }++ const onSaveChanges = (resolve: () => void) => {+ const errors = {} as Dictionary<any>+ if (selectedForeignKey?.table && !selectedForeignKey.column) {+ errors['column'] = `The table ${selectedForeignKey.table} has no columns`+ }+ setErrors(errors)+ if (isEmpty(errors)) {+ if (!selectedTable) {+ // Remove foreign key since no table selected+ saveChanges(undefined)+ } else {+ saveChanges({ table: selectedTable, column: selectedColumn })+ }+ }+ resolve()+ }++ return (+ <SidePanel+ key="ColumnConfiguration"+ visible={visible}+ onCancel={closePanel}+ // @ts-ignore+ title={+ <div>+ Edit foreign key relation for{' '}+ <Typography.Text code>{get(column, ['name'], '')}</Typography.Text>+ </div>+ }+ customFooter={+ <ActionBar+ backButtonLabel="Cancel"+ applyButtonLabel="Save"+ closePanel={closePanel}+ applyFunction={onSaveChanges}+ />+ }+ >+ <div className="space-y-6">+ <InformationBox+ icon={<IconHelpCircle size="large" strokeWidth={1.5} />}+ title="What are foreign keys?"+ description={+ <p>+ Foreign keys help maintain referential integrity of your data by ensuring that no one+ can insert rows into the table that do not have a matching entry to another table+ </p>+ }+ url="https://www.postgresql.org/docs/current/tutorial-fk.html"+ urlLabel="Postgres Foreign Key Documentation"+ />++ <Listbox+ label="Select a table to reference to"+ value={selectedTable?.id}+ error={errors.table}+ onChange={(value: string) => updateSelectedTable(Number(value))}+ >+ <Listbox.Option key="empty" value="" label="---">+ ---+ </Listbox.Option>+ {sortBy(tables, ['schema']).map((table: PostgresTable) => {+ return (+ <Listbox.Option key={table.id} value={table.id} label={table.name}>+ <div className="flex items-center">+ {/* For aria searching to target the table name instead of schema */}+ <Typography.Text className="hidden">{table.name}</Typography.Text>+ <Typography.Text small className="opacity-50 mr-2">+ {table.schema}+ </Typography.Text>+ {table.name}+ </div>+ </Listbox.Option>+ )+ })}+ </Listbox>++ {selectedForeignKey?.table && (+ <Listbox+ value={selectedColumn?.id}+ // @ts-ignore+ label={+ <div>+ Select a column from{' '}+ <Typography.Text code>{selectedForeignKey?.table}</Typography.Text> to reference to+ </div>+ }+ error={errors.column}+ onChange={(value: string) => updateSelectedColumn(value)}+ >+ {(selectedTable?.columns ?? []).map((column: PostgresColumn) => (+ <Listbox.Option key={column.id} value={column.id} label={column.name}>+ <div className="flex items-center">+ {column.name}+ <Typography.Text small className="opacity-50 ml-2">+ {column.format}+ </Typography.Text>+ </div>+ </Listbox.Option>+ ))}+ </Listbox>+ )}+ </div>+ </SidePanel>+ )+}++export default ForeignKeySelectordiff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/ForeignKeySelector/ForeignKeySelector.types.ts b/studio/components/interfaces/TableGridEditor/SidePanelEditor/ForeignKeySelector/ForeignKeySelector.types.tsnew file mode 100644index 00000000000..a5a73bf717f--- /dev/null+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/ForeignKeySelector/ForeignKeySelector.types.ts@@ -0,0 +1,5 @@+export interface ForeignKey {+ schema: string+ table: string+ column?: string+}diff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/DateTimeInput/DateTimeInput.constants.ts b/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/DateTimeInput/DateTimeInput.constants.tsnew file mode 100644index 00000000000..c4938da40c7--- /dev/null+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/DateTimeInput/DateTimeInput.constants.ts@@ -0,0 +1,3 @@+export const TIMESTAMP_TYPES = ['timestamp', 'timestamptz']+export const DATE_TYPES = ['date']+export const TIME_TYPES = ['time', 'timetz']diff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/DateTimeInput/DateTimeInput.tsx b/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/DateTimeInput/DateTimeInput.tsxnew file mode 100644index 00000000000..aa2ed5060bd--- /dev/null+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/DateTimeInput/DateTimeInput.tsx@@ -0,0 +1,53 @@+import { FC } from 'react'+import { Input } from '@supabase/ui'+import {+ convertInputToPostgresValue,+ convertPostgresToInputValue,+ getColumnType,+} from './DateTimeInput.utils'++interface Props {+ name: string+ format: string+ value: string+ description: string+ onChange: (value: string) => void+}++/**+ * Postgres date/time format and html date/time input format are different.+ * So we to convert the value back and forth.+ */+const DateTimeInput: FC<Props> = ({ value, onChange, name, format, description }) => {+ const inputType = getColumnType(format)+ const formattedValue = convertPostgresToInputValue(inputType, value)++ function handleOnChange(e: any) {+ const temp = e.target.value+ const value = convertInputToPostgresValue({ inputType, format, value: temp })+ onChange(value)+ }++ return (+ <Input+ layout="horizontal"+ className="w-full"+ label={name}+ descriptionText={+ description && description.length !== 0+ ? description+ : format.includes('tz')+ ? 'Your local timezone will be automatically applied'+ : undefined+ }+ labelOptional={format}+ size="small"+ value={formattedValue}+ type={inputType}+ onChange={handleOnChange}+ step={inputType == 'datetime-local' || inputType == 'time' ? '1' : undefined}+ />+ )+}++export default DateTimeInputdiff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/DateTimeInput/DateTimeInput.utils.ts b/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/DateTimeInput/DateTimeInput.utils.tsnew file mode 100644index 00000000000..a9d56a7936d--- /dev/null+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/DateTimeInput/DateTimeInput.utils.ts@@ -0,0 +1,65 @@+import dayjs from 'dayjs'+import customParseFormat from 'dayjs/plugin/customParseFormat'+import { TIMESTAMP_TYPES, DATE_TYPES, TIME_TYPES } from './DateTimeInput.constants'+import { DATE_FORMAT } from '../../SidePanelEditor.constants'++dayjs.extend(customParseFormat)++export function convertPostgresToInputValue(inputType: string, value?: string) {+ if (!value || value.length == 0) return ''++ switch (inputType) {+ case 'datetime-local': {+ return dayjs(value, DATE_FORMAT).format('YYYY-MM-DDTHH:mm:ss')+ }+ case 'time': {+ const serverTimeFormat = value && value.includes('+') ? 'HH:mm:ssZZ' : 'HH:mm:ss'+ return dayjs(value, serverTimeFormat).format('HH:mm:ss')+ }+ default:+ return value+ }+}++export function convertInputToPostgresValue(params: {+ inputType: string+ format: string+ value?: string+}) {+ const { inputType, format, value } = params+ if (!value || value.length == 0) return ''++ switch (inputType) {+ case 'datetime-local': {+ return dayjs(value, 'YYYY-MM-DDTHH:mm:ss').format(DATE_FORMAT)+ }+ case 'time': {+ const serverTimeFormat = format.toLowerCase() == 'timetz' ? 'HH:mm:ssZZ' : 'HH:mm:ss'+ return dayjs(value, 'HH:mm:ss').format(serverTimeFormat)+ }+ default:+ return value+ }+}++export function getColumnType(format: string) {+ if (isDateColumn(format)) {+ return 'date'+ } else if (isTimeColumn(format)) {+ return 'time'+ } else if (isDateTimeColumn(format)) {+ return 'datetime-local'+ } else return 'text'+}++function isDateTimeColumn(type: string) {+ return TIMESTAMP_TYPES.indexOf(type.toLowerCase()) > -1+}++function isDateColumn(type: string) {+ return DATE_TYPES.indexOf(type.toLowerCase()) > -1+}++function isTimeColumn(type: string) {+ return TIME_TYPES.indexOf(type.toLowerCase()) > -1+}diff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/DateTimeInput/index.ts b/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/DateTimeInput/index.tsnew file mode 100644index 00000000000..11fc66c6e2d--- /dev/null+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/DateTimeInput/index.ts@@ -0,0 +1,3 @@+import DateTimeInput from './DateTimeInput'++export default DateTimeInputdiff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/HeaderTitle.tsx b/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/HeaderTitle.tsxnew file mode 100644index 00000000000..9797a89a723--- /dev/null+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/HeaderTitle.tsx@@ -0,0 +1,20 @@+import { FC } from 'react'+import { Typography } from '@supabase/ui'++interface Props {+ isNewRecord: boolean+ tableName?: string+}++const HeaderTitle: FC<Props> = ({ isNewRecord, tableName }) => {+ let header = `${isNewRecord ? 'Add new' : 'Update'} row ${isNewRecord ? 'to' : 'from'} `++ return (+ <>+ {header}+ {tableName && <Typography.Text code>{tableName}</Typography.Text>}+ </>+ )+}++export default HeaderTitlediff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/InputField.tsx b/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/InputField.tsxnew file mode 100644index 00000000000..51c5bccb9be--- /dev/null+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/InputField.tsx@@ -0,0 +1,152 @@+import { FC } from 'react'+import { isUndefined, includes } from 'lodash'+import { Button, Select, Input, IconLink, Typography, IconArrowRight } from '@supabase/ui'++import { RowField } from './RowEditor.types'+import DateTimeInput from './DateTimeInput'+import { TEXT_TYPES, JSON_TYPES, TIMESTAMP_TYPES } from '../SidePanelEditor.constants'++interface Props {+ field: RowField+ errors: any+ isEditable?: boolean+ onUpdateField?: (changes: object) => void+ onEditJson?: (data: any) => void+ onViewForeignKey?: () => void+}++const InputField: FC<Props> = ({+ field,+ errors,+ isEditable = true,+ onUpdateField = () => {},+ onEditJson = () => {},+ onViewForeignKey = () => {},+}) => {+ if (field.enums.length > 0) {+ return (+ <Select+ size="medium"+ layout="horizontal"+ value={field.value}+ label={field.name}+ labelOptional={field.format}+ descriptionText={field.comment}+ disabled={!isEditable}+ error={errors[field.name]}+ onChange={(event: any) => onUpdateField({ [field.name]: event.target.value })}+ >+ <Select.Option value="">---</Select.Option>+ {field.enums.map((value: string) => (+ <Select.Option key={value} value={value}>+ {value}+ </Select.Option>+ ))}+ </Select>+ )+ }++ if (!isUndefined(field.foreignKey)) {+ return (+ <Input+ layout="horizontal"+ label={field.name}+ value={field.value}+ // @ts-ignore This is creating some validateDOMNesting errors+ // because descriptionText is a <p> element as a parent+ descriptionText={+ <div className="flex items-center space-x-1 opacity-50">+ {field.comment && <Typography.Text small>{field.comment}</Typography.Text>}+ <Typography.Text small>({field.name}</Typography.Text>+ <Typography.Text small>+ <IconArrowRight size={14} strokeWidth={2} />+ </Typography.Text>+ <Typography.Text small>+ {field.foreignKey.target_table_schema}.{field.foreignKey.target_table_name}.+ {field.foreignKey.target_column_name})+ </Typography.Text>+ </div>+ }+ labelOptional={field.format}+ disabled={!isEditable}+ error={errors[field.name]}+ onChange={(event: any) => onUpdateField({ [field.name]: event.target.value })}+ actions={+ <Button type="default" onClick={onViewForeignKey} icon={<IconLink />}>+ View data+ </Button>+ }+ />+ )+ }++ if (includes(TEXT_TYPES, field.format)) {+ return (+ <Input.TextArea+ layout="horizontal"+ label={field.name}+ descriptionText={field.comment}+ labelOptional={field.format}+ disabled={!isEditable}+ error={errors[field.name]}+ rows={5}+ value={field.value}+ placeholder={field.defaultValue}+ onChange={(event: any) => onUpdateField({ [field.name]: event.target.value })}+ />+ )+ }++ if (includes(JSON_TYPES, field.format)) {+ return (+ <Input+ layout="horizontal"+ value={field.value}+ label={field.name}+ descriptionText={field.comment}+ labelOptional={field.format}+ disabled={!isEditable}+ placeholder={field.defaultValue}+ error={errors[field.name]}+ onChange={(event: any) => onUpdateField({ [field.name]: event.target.value })}+ actions={+ <Button+ type="default"+ onClick={() => onEditJson({ column: field.name, jsonString: field.value })}+ icon={<IconLink />}+ >+ View data+ </Button>+ }+ />+ )+ }++ if (includes(TIMESTAMP_TYPES, field.format)) {+ return (+ <DateTimeInput+ name={field.name}+ format={field.format}+ value={field.value}+ description={field.comment}+ onChange={(value: any) => onUpdateField({ [field.name]: value })}+ />+ )+ }++ return (+ <Input+ layout="horizontal"+ label={field.name}+ descriptionText={field.comment}+ labelOptional={field.format}+ error={errors[field.name]}+ value={field.value}+ placeholder={field.isIdentity ? 'Automatically generated as identity' : field.defaultValue}+ disabled={!isEditable}+ onChange={(event: any) => onUpdateField({ [field.name]: event.target.value })}+ />+ )+}++export default InputFielddiff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/JsonEditor/DrilldownViewer/DrilldownBreadCrumbs.tsx b/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/JsonEditor/DrilldownViewer/DrilldownBreadCrumbs.tsxnew file mode 100644index 00000000000..9fa23dda559--- /dev/null+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/JsonEditor/DrilldownViewer/DrilldownBreadCrumbs.tsx@@ -0,0 +1,40 @@+import { FC } from 'react'+import { last } from 'lodash'+import { Typography, IconHome, IconChevronRight } from '@supabase/ui'++interface Props {+ breadcrumbs: string[]+ onSelectBreadcrumb: (breadcrumb: string[]) => void+}++const DrilldownBreadCrumbs: FC<Props> = ({ breadcrumbs = [], onSelectBreadcrumb = () => {} }) => {+ return (+ <div className="flex items-center space-x-2">+ <Typography>+ <IconHome size={16} strokeWidth={2} />+ </Typography>+ {breadcrumbs.length > 0 &&+ breadcrumbs.map((crumb) => (+ <div className="flex items-center space-x-2" key={crumb}>+ <IconChevronRight size={16} strokeWidth={2} />+ {crumb === last(breadcrumbs) ? (+ <Typography.Text>{crumb}</Typography.Text>+ ) : (+ <Typography.Text>+ <div+ className="cursor-pointer"+ onClick={() =>+ onSelectBreadcrumb(breadcrumbs.slice(0, breadcrumbs.indexOf(crumb) + 1))+ }+ >+ {crumb}+ </div>+ </Typography.Text>+ )}+ </div>+ ))}+ </div>+ )+}++export default DrilldownBreadCrumbsdiff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/JsonEditor/DrilldownViewer/DrilldownPane.tsx b/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/JsonEditor/DrilldownViewer/DrilldownPane.tsxnew file mode 100644index 00000000000..cd1b0b14b9e--- /dev/null+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/JsonEditor/DrilldownViewer/DrilldownPane.tsx@@ -0,0 +1,91 @@+import { FC } from 'react'+import { IconChevronRight, Typography } from '@supabase/ui'+import { isNull } from 'lodash'+import { Dictionary } from '@supabase/grid'++interface Props {+ pane: number+ jsonData: Dictionary<any>+ activeKey?: string+ onSelectKey: (key: string, pane: number) => void+}++const DrilldownPane: FC<Props> = ({ pane, jsonData, activeKey, onSelectKey = () => {} }) => {+ if (!jsonData) {+ return (+ <div className={`flex-1 ${pane === 2 ? 'border-l border-gray-500' : ''}`}>+ <div className="py-2 px-5 flex space-x-2">+ <Typography.Text small type="danger">+ Invalid JSON+ </Typography.Text>+ </div>+ </div>+ )+ }++ if (Object.keys(jsonData).length === 0) {+ return (+ <div className={`flex-1 max-w-[50%] ${pane === 2 ? 'border-l border-gray-500' : ''}`}>+ <div className="py-2 px-5 flex space-x-2">+ <Typography.Text small className="opacity-50">+ No data available+ </Typography.Text>+ </div>+ </div>+ )+ }++ const keysWithChildren = Object.keys(jsonData).filter(+ (key: string) => typeof jsonData[key] === 'object' && !isNull(jsonData[key])+ )++ const keysWithoutChildren = Object.keys(jsonData).filter(+ (key: string) => isNull(jsonData[key]) || typeof jsonData[key] !== 'object'+ )++ return (+ <div className={`flex-1 max-w-[50%] ${pane === 2 ? 'border-l border-gray-500' : ''}`}>+ {keysWithChildren.map((key: string) => (+ <div+ key={key}+ className={`+ ${key === activeKey ? 'bg-gray-400' : ''}+ group flex items-center justify-between+ cursor-pointer py-2 px-5 hover:bg-gray-500+ `}+ onClick={() => onSelectKey(key, pane)}+ >+ <Typography.Text small className="font-mono !text-blue-300">+ {key}+ </Typography.Text>+ <div className={`${key === activeKey ? 'block' : 'hidden'} group-hover:block`}>+ <Typography>+ <IconChevronRight strokeWidth={2} size={16} />+ </Typography>+ </div>+ </div>+ ))}+ {keysWithoutChildren.map((key: string) => (+ <div key={key} className="py-2 px-5 flex space-x-2">+ <Typography.Text small className="font-mono !text-blue-300">+ {key}:+ </Typography.Text>+ <Typography.Text+ small+ className={`font-mono break-all ${+ typeof jsonData[key] !== 'string' ? '!text-green-400' : '!text-yellow-500'+ }`}+ >+ {isNull(jsonData[key])+ ? 'null'+ : typeof jsonData[key] === 'string'+ ? `"${jsonData[key]}"`+ : jsonData[key].toString()}+ </Typography.Text>+ </div>+ ))}+ </div>+ )+}++export default DrilldownPanediff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/JsonEditor/DrilldownViewer/DrilldownViewer.tsx b/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/JsonEditor/DrilldownViewer/DrilldownViewer.tsxnew file mode 100644index 00000000000..4c3a4f32ddb--- /dev/null+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/JsonEditor/DrilldownViewer/DrilldownViewer.tsx@@ -0,0 +1,84 @@+import { FC, useState } from 'react'+import { isEmpty, last } from 'lodash'+import DrilldownPane from './DrilldownPane'+import DrilldownBreadCrumbs from './DrilldownBreadCrumbs'+import { Dictionary } from '@supabase/grid'++interface Props {+ jsonData: Dictionary<any>+}++const DrilldownViewer: FC<Props> = ({ jsonData = {} }) => {+ const [activeKey, setActiveKey] = useState<string>()+ const [breadCrumbs, setBreadCrumbs] = useState<string[]>([])+ const [jsonPane1, setJsonPane1] = useState<Dictionary<any>>(jsonData)+ const [jsonPane2, setJsonPane2] = useState<Dictionary<any>>({})++ const selectKey = (key: string, pane: number) => {+ setActiveKey(key)+ const updatedBreadCrumbs = breadCrumbs.slice()+ if (pane === 1) {+ setJsonPane2(jsonPane1[key])++ if (isEmpty(jsonPane2)) {+ updatedBreadCrumbs.push(key)+ setBreadCrumbs(updatedBreadCrumbs)+ } else {+ updatedBreadCrumbs.pop()+ updatedBreadCrumbs.push(key)+ setBreadCrumbs(updatedBreadCrumbs)+ }+ }+ if (pane === 2) {+ setJsonPane1(jsonPane2)+ setJsonPane2(jsonPane2[key])++ updatedBreadCrumbs.push(key)+ setBreadCrumbs(updatedBreadCrumbs)+ }+ }++ const selectBreadcrumb = (crumbPath: string[]) => {+ const key = last(crumbPath) || ''+ setActiveKey(key)+ let updatedJsonData = { ...jsonData }+ const _breadCrumbs = breadCrumbs.slice(0, breadCrumbs.indexOf(key) + 1)+ setBreadCrumbs(_breadCrumbs)+ if (crumbPath === null) {+ setJsonPane1(updatedJsonData)+ setJsonPane2({})+ } else {+ if (crumbPath.length === 1) {+ setJsonPane1(updatedJsonData)+ setJsonPane2(jsonData[breadCrumbs[0]])+ } else {+ for (const crumb of crumbPath) {+ updatedJsonData = updatedJsonData[crumb]+ if (crumbPath.indexOf(crumb) === crumbPath.length - 2) {+ setJsonPane1(updatedJsonData)+ }+ }+ setJsonPane2(updatedJsonData)+ }+ }+ }++ return (+ <div className="border border-gray-500 rounded">+ <div className="h-10 px-3 flex-initial flex items-center justify-between">+ <DrilldownBreadCrumbs breadcrumbs={breadCrumbs} onSelectBreadcrumb={selectBreadcrumb} />+ </div>+ <div className="flex items-stretch flex-auto justify-between border-t border-gray-500">+ <DrilldownPane+ pane={1}+ jsonData={jsonPane1}+ onSelectKey={selectKey}+ activeKey={activeKey}+ />+ <DrilldownPane pane={2} jsonData={jsonPane2} onSelectKey={selectKey} />+ </div>+ </div>+ )+}++export default DrilldownViewerdiff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/JsonEditor/DrilldownViewer/index.ts b/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/JsonEditor/DrilldownViewer/index.tsnew file mode 100644index 00000000000..feeb7224bd6--- /dev/null+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/JsonEditor/DrilldownViewer/index.ts@@ -0,0 +1,3 @@+import DrilldownViewer from './DrilldownViewer'++export default DrilldownViewerdiff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/JsonEditor/JsonCodeEditor.tsx b/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/JsonEditor/JsonCodeEditor.tsxnew file mode 100644index 00000000000..e69fe986c95--- /dev/null+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/JsonEditor/JsonCodeEditor.tsx@@ -0,0 +1,85 @@+import Editor, { useMonaco } from '@monaco-editor/react'+import { FC, useEffect, useRef, useState } from 'react'+import { Typography } from '@supabase/ui'++interface Props {+ queryId?: string+ defaultValue: string+ readOnly?: boolean+ onInputChange: (value: any) => void+}++const JsonEditor: FC<Props> = ({+ queryId = '',+ defaultValue = '',+ readOnly = false,+ onInputChange = (value) => {},+}) => {+ const monaco = useMonaco()+ const editorRef = useRef()+ const [theme, setTheme] = useState(localStorage.getItem('theme'))++ useEffect(() => {+ if (monaco) {+ const darkTheme = theme ? (theme === 'dark' ? true : false) : true++ // Supabase theming (Can't seem to get it to work for now)+ monaco.editor.defineTheme('supabase', {+ base: 'vs-dark', // can also be vs-dark or hc-black+ inherit: true, // can also be false to completely replace the builtin rules+ rules: [+ // @ts-ignore+ { background: darkTheme ? '1f1f1f' : '30313f' },+ { token: 'string.sql', foreground: '24b47e' },+ { token: 'comment', foreground: '666666' },+ { token: 'predefined.sql', foreground: 'D4D4D4' },+ ],+ colors: {+ 'editor.background': darkTheme ? '#1f1f1f' : '#30313f',+ // 'editorGutter.background': '#30313f',+ // 'editorLineNumber.foreground': '#555671',+ },+ })+ }+ }, [theme, monaco])++ const onMount = (editor: any, monaco: any) => {+ editorRef.current = editor++ // Add margin above first line+ editor.changeViewZones((accessor: any) => {+ accessor.addZone({+ afterLineNumber: 0,+ heightInPx: 4,+ domNode: document.createElement('div'),+ })+ })+ }++ const Loading = () => <Typography.Title level={4}>Loading</Typography.Title>++ return (+ <Editor+ className="monaco-editor"+ theme="vs-dark"+ defaultLanguage={'json'}+ defaultValue={defaultValue}+ path={queryId}+ loading={<Loading />}+ options={{+ readOnly,+ tabSize: 2,+ fontSize: 13,+ minimap: {+ enabled: false,+ },+ wordWrap: 'on',+ fixedOverflowWidgets: true,+ }}+ onMount={onMount}+ onChange={onInputChange}+ />+ )+}++export default JsonEditordiff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/JsonEditor/JsonEditor.tsx b/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/JsonEditor/JsonEditor.tsxnew file mode 100644index 00000000000..d7d2a6eeb3a--- /dev/null+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/JsonEditor/JsonEditor.tsx@@ -0,0 +1,122 @@+import { FC, useState, useEffect } from 'react'+import toast from 'react-hot-toast'+import { SidePanel, Typography } from '@supabase/ui'++import JsonEditor from './JsonCodeEditor'+import TwoOptionToggle from './TwoOptionToggle'+import DrilldownViewer from './DrilldownViewer'+import ActionBar from '../../ActionBar'+import { minifyJSON, prettifyJSON } from 'lib/helpers'++type JsonEditProps = {+ column: string+ jsonString: string+ visible: boolean+ closePanel: () => void+ onSaveJSON: (value: string) => void+}++const JsonEdit: FC<JsonEditProps> = ({ column, jsonString, visible, closePanel, onSaveJSON }) => {+ const [view, setView] = useState('edit')+ const [jsonStr, setJsonStr] = useState('')++ useEffect(() => {+ const temp = prettifyJSON(jsonString)+ setJsonStr(temp)+ }, [jsonString])++ function validateJSON(resolve: () => void) {+ try {+ const minifiedJSON = minifyJSON(jsonStr)+ if (onSaveJSON) onSaveJSON(minifiedJSON)+ } catch (error: any) {+ const message = error.message+ ? `Error: ${error.message}`+ : 'Hmm, invalid JSON seems to have an invalid structure.'+ toast.error(message)+ } finally {+ resolve()+ }+ }++ function toggleView(option: string) {+ setView(option)+ }++ function onInputChange(value: any) {+ setJsonStr(value ?? '')+ }++ function onToggleClick(option: string) {+ toggleView(option)+ }++ return (+ <SidePanel+ wide+ title={'JSON'}+ visible={visible}+ onCancel={closePanel}+ onConfirm={validateJSON}+ customFooter={<ActionBar closePanel={closePanel} applyFunction={validateJSON} />}+ >+ <TwoOptionToggle+ options={['view', 'edit']}+ activeOption={view}+ borderOverride="border-gray-500"+ onClickOption={onToggleClick}+ />++ <div className="flex-auto flex flex-col mt-4">+ {view === 'edit' ? (+ <Editor column={column} value={jsonStr} onChange={onInputChange} />+ ) : (+ <Viewer column={column} value={jsonStr} />+ )}+ </div>+ </SidePanel>+ )+}++export default JsonEdit++interface EditorProps {+ column: string+ value: string+ onChange: (value: any) => void+}++const Editor: FC<EditorProps> = ({ column, value, onChange }) => {+ return (+ <>+ <Typography.Title level={4}>Edit JSON Field: {column}</Typography.Title>++ <div className="w-full h-96 flex-grow border dark:border-dark">+ <JsonEditor onInputChange={onChange} defaultValue={value} />+ </div>+ </>+ )+}++type ViewerProps = {+ column: string+ value: string+}++const Viewer: FC<ViewerProps> = ({ column, value }) => {+ const json = parseJSON(value)+ return (+ <>+ <Typography.Title level={4}>Viewing JSON Field: {column}</Typography.Title>+ <DrilldownViewer jsonData={json} />+ </>+ )+}++const parseJSON = (value: string) => {+ try {+ return JSON.parse(value)+ } catch (err) {+ return undefined+ }+}diff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/JsonEditor/TwoOptionToggle.tsx b/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/JsonEditor/TwoOptionToggle.tsxnew file mode 100644index 00000000000..708c43879ad--- /dev/null+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/JsonEditor/TwoOptionToggle.tsx@@ -0,0 +1,51 @@+import { FC } from 'react'++interface Props {+ options: any+ activeOption: any+ onClickOption: any+ borderOverride: string+}++const TwoOptionToggle: FC<Props> = ({+ options,+ activeOption,+ onClickOption,+ borderOverride = 'border-gray-600 dark:border-gray-800',+}) => {+ const buttonStyle = `absolute top-0 z-1 text-xs inline-flex h-full items-center justify-center font-medium+ hover:text-white focus:z-10 focus:outline-none focus:border-blue-300 focus:ring-blue active:bg-gray-100+ transition ease-in-out duration-150`++ return (+ <div+ className={`relative border ${borderOverride} rounded-md h-8`}+ style={{ padding: 1, width: 102 }}+ >+ <span+ style={{ width: 50 }}+ aria-hidden="true"+ className={`${+ activeOption === options[1] ? 'translate-x-0' : 'translate-x-12'+ } z-0 inline-block rounded h-full bg-gray-600 dark:bg-gray-800 shadow transform transition ease-in-out duration-200 border border-gray-600 dark:border-gray-800`}+ ></span>+ {options.map((option: any, index: number) => (+ <span+ key={`toggle_${index}`}+ style={{ width: 51 }}+ className={`+ ${activeOption === option ? 'text-gray-200' : 'text-gray-400'}+ ${index === 0 ? 'right-0' : 'left-0'}+ ${buttonStyle}+ cursor-pointer+ `}+ onClick={() => onClickOption(option)}+ >+ <span className="text-color-inherit uppercase">{option}</span>+ </span>+ ))}+ </div>+ )+}++export default TwoOptionTogglediff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/JsonEditor/index.ts b/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/JsonEditor/index.tsnew file mode 100644index 00000000000..40295113e5b--- /dev/null+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/JsonEditor/index.ts@@ -0,0 +1,3 @@+import JsonEditor from './JsonEditor'++export default JsonEditordiff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/ReferenceRowViewer.tsx b/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/ReferenceRowViewer.tsxnew file mode 100644index 00000000000..4feb82acaf9--- /dev/null+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/ReferenceRowViewer.tsx@@ -0,0 +1,79 @@+import React, { FC, useEffect, useState } from 'react'+import { Space, SidePanel, Typography, IconLoader, IconXCircle } from '@supabase/ui'+import { PostgresRelationship } from '@supabase/postgres-meta'++import ActionBar from '../ActionBar'+import InputField from './InputField'+import { RowField } from './RowEditor.types'+import { generateRowFieldsWithoutColumnMeta } from './RowEditor.utils'++interface Props {+ visible: boolean+ referenceRow?: { loading: boolean; foreignKey: any; row: any }+ closePanel: () => void+}++const ReferenceRowViewer: FC<Props> = ({ visible, referenceRow, closePanel }) => {+ const loading = referenceRow?.loading ?? true+ const foreignKey: PostgresRelationship = referenceRow?.foreignKey ?? undefined+ const row = referenceRow?.row ?? undefined+ const [rowFields, setRowFields] = useState<RowField[]>([])++ useEffect(() => {+ if (visible) {+ if (!foreignKey) {+ setRowFields([])+ } else if (row) {+ const rowFields = generateRowFieldsWithoutColumnMeta(row)+ setRowFields(rowFields)+ }+ }+ }, [visible, referenceRow])++ return (+ <SidePanel+ visible={visible}+ wide+ align="right"+ // @ts-ignore+ title={+ <div>+ Viewing reference row from{' '}+ <Typography.Text code>+ {foreignKey?.target_table_schema ?? ''}.{foreignKey?.target_table_name ?? ''}+ </Typography.Text>+ </div>+ }+ hideFooter={false}+ onCancel={closePanel}+ customFooter={<ActionBar backButtonLabel="Close" closePanel={closePanel} />}+ >+ {loading ? (+ <div className="flex flex-col items-center justify-center space-y-2 h-full">+ <Typography>+ <IconLoader className="animate-spin" />+ </Typography>+ <Typography.Text className="opacity-50">Loading reference row</Typography.Text>+ </div>+ ) : !row ? (+ <div className="flex flex-col items-center justify-center space-y-2 h-full">+ <Typography>+ <IconXCircle />+ </Typography>+ <Typography.Text className="opacity-50">+ Unable to find the corresponding row in {foreignKey?.target_table_schema}.+ {foreignKey?.target_table_name}+ </Typography.Text>+ </div>+ ) : (+ <Space direction="vertical" size={6} style={{ width: '100%' }}>+ {rowFields.map((field: RowField) => {+ return <InputField key={field.id} field={field} isEditable={false} errors={{}} />+ })}+ </Space>+ )}+ </SidePanel>+ )+}++export default ReferenceRowViewerdiff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/RowEditor.tsx b/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/RowEditor.tsxnew file mode 100644index 00000000000..c163191de69--- /dev/null+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/RowEditor.tsx@@ -0,0 +1,221 @@+import { FC, useEffect, useState } from 'react'+import { isUndefined, partition, isEmpty } from 'lodash'+import { toast } from 'react-hot-toast'+import { Divider, SidePanel, Space, Typography } from '@supabase/ui'+import { Dictionary, Query } from '@supabase/grid'+import { PostgresTable } from '@supabase/postgres-meta'++import { useStore } from 'hooks'+import ActionBar from '../ActionBar'+import HeaderTitle from './HeaderTitle'+import InputField from './InputField'+import JsonEdit from './JsonEditor'+import ReferenceRowViewer from './ReferenceRowViewer'+import {+ generateRowFields,+ validateFields,+ generateRowObjectFromFields,+ generateUpdateRowPayload,+} from './RowEditor.utils'+import { JsonEditValue, ReferenceRow, RowField } from './RowEditor.types'++interface Props {+ row?: Dictionary<any>+ selectedTable: PostgresTable+ visible: boolean+ closePanel: () => void+ saveChanges: (payload: any, isNewRecord: boolean, configuration: any, resolve: () => void) => void+ updateEditorDirty: () => void+}++const RowEditor: FC<Props> = ({+ row,+ selectedTable,+ visible = false,+ closePanel = () => {},+ saveChanges = () => {},+ updateEditorDirty = () => {},+}) => {+ const { meta, ui } = useStore()+ const [errors, setErrors] = useState<Dictionary<any>>({})+ const [rowFields, setRowFields] = useState<any[]>([])+ const [selectedValueForJsonEdit, setSelectedValueForJsonEdit] = useState<JsonEditValue>()++ const [isViewingReferenceRow, setIsViewingReferenceRow] = useState<boolean>(false)+ const [referenceRow, setReferenceRow] = useState<ReferenceRow>()++ const isNewRecord = isUndefined(row)+ const isEditingJson = !isUndefined(selectedValueForJsonEdit)++ const [requiredFields, optionalFields] = partition(+ rowFields,+ (rowField: any) => !rowField.isNullable+ )++ useEffect(() => {+ if (visible) {+ setErrors({})+ const rowFields = generateRowFields(row, selectedTable, isNewRecord)+ setRowFields(rowFields)+ }+ }, [visible])++ const onUpdateField = (changes: Dictionary<any>) => {+ const [name] = Object.keys(changes)+ const updatedFields = rowFields.map((field) => {+ if (field.name === name) {+ return { ...field, value: changes[name] }+ } else {+ return field+ }+ })+ setRowFields(updatedFields)+ updateEditorDirty()+ }++ const onViewForeignKey = async (row: RowField) => {+ // Possible low prio refactor: Shift fetching reference row retrieval to ReferenceRowViewer+ // in a useEffect, rather than trying to manage a loading state in this method+ if (!row.value) {+ return toast.error(`Please enter a value in the ${row.name} field first`)+ }+ const foreignKey = row.foreignKey+ setReferenceRow({ loading: true, foreignKey, row: undefined })+ setIsViewingReferenceRow(true)++ if (foreignKey) {+ const schema = foreignKey.target_table_schema+ const table = foreignKey.target_table_name+ const column = foreignKey.target_column_name++ const query = new Query()+ .from(table, schema)+ .select()+ .match({ [column]: row.value })+ .toSql()+ const res = await meta.query(query)+ if (res.error) {+ setReferenceRow({ loading: false, foreignKey, row: undefined })+ return ui.setNotification({ category: 'error', message: res.error.message })+ }+ if (res.length === 0) {+ setReferenceRow({ loading: false, foreignKey, row: undefined })+ return ui.setNotification({+ category: 'error',+ message: `Unable to find the corresponding row in ${foreignKey.target_table_schema}.${foreignKey.target_table_name} where ${foreignKey.target_column_name} equals ${row.value}`,+ })+ }+ setReferenceRow({ loading: false, foreignKey, row: res[0] })+ }+ }++ const onSaveChanges = (resolve: any) => {+ const errors = validateFields(rowFields)+ setErrors(errors)++ if (isEmpty(errors)) {+ updateEditorDirty()+ const payload = isNewRecord+ ? generateRowObjectFromFields(rowFields)+ : generateUpdateRowPayload(row, rowFields)++ const configuration = { identifiers: {}, rowIdx: -1 }+ if (!isNewRecord) {+ const primaryKeyColumns = rowFields.filter((field) => field.isPrimaryKey)+ const identifiers = {} as Dictionary<any>+ primaryKeyColumns.forEach((column) => (identifiers[column.name] = row![column.name]))+ configuration.identifiers = identifiers+ configuration.rowIdx = row!.idx+ }++ saveChanges(payload, isNewRecord, configuration, resolve)+ } else {+ resolve()+ }+ }++ return (+ <SidePanel+ wide+ key="RowEditor"+ visible={visible}+ // @ts-ignore+ title={<HeaderTitle isNewRecord={isNewRecord} tableName={selectedTable.name} />}+ className={`transition-all ease-in duration-100 ${+ isEditingJson || isViewingReferenceRow ? ' mr-32' : ''+ }`}+ onCancel={closePanel}+ onConfirm={(resolve: () => void) => onSaveChanges(resolve)}+ customFooter={+ <ActionBar+ backButtonLabel="Cancel"+ applyButtonLabel="Save"+ closePanel={closePanel}+ applyFunction={(resolve: any) => onSaveChanges(resolve)}+ />+ }+ >+ <Space direction="vertical" size={6} style={{ width: '100%', marginBottom: '2rem' }}>+ {requiredFields.map((field: RowField) => {+ return (+ <InputField+ key={field.id}+ field={field}+ errors={errors}+ onUpdateField={onUpdateField}+ onEditJson={setSelectedValueForJsonEdit}+ onViewForeignKey={() => onViewForeignKey(field)}+ />+ )+ })}+ {optionalFields.length > 0 && (+ <>+ <Divider light className="mb-4" />+ <div>+ <div>+ <Typography.Text>Optional Fields</Typography.Text>+ </div>+ <Typography.Text type="secondary">+ These are columns that do not need any value+ </Typography.Text>+ </div>+ </>+ )}+ {optionalFields.map((field: RowField) => {+ return (+ <InputField+ key={field.id}+ field={field}+ errors={errors}+ onUpdateField={onUpdateField}+ onEditJson={setSelectedValueForJsonEdit}+ onViewForeignKey={() => onViewForeignKey(field)}+ />+ )+ })}+ </Space>++ <JsonEdit+ visible={isEditingJson}+ column={selectedValueForJsonEdit?.column ?? ''}+ jsonString={selectedValueForJsonEdit?.jsonString ?? ''}+ closePanel={() => setSelectedValueForJsonEdit(undefined)}+ onSaveJSON={(value: string) => {+ onUpdateField({ [selectedValueForJsonEdit?.column ?? '']: value })+ setSelectedValueForJsonEdit(undefined)+ }}+ />++ <ReferenceRowViewer+ visible={isViewingReferenceRow}+ referenceRow={referenceRow}+ closePanel={() => {+ setIsViewingReferenceRow(false)+ setReferenceRow(undefined)+ }}+ />+ </SidePanel>+ )+}++export default RowEditordiff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/RowEditor.types.ts b/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/RowEditor.types.tsnew file mode 100644index 00000000000..06bc45db52a--- /dev/null+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/RowEditor.types.ts@@ -0,0 +1,26 @@+import { PostgresRelationship } from '@supabase/postgres-meta'++export interface JsonEditValue {+ column: string+ jsonString: string+}++export interface ReferenceRow {+ loading: boolean+ foreignKey: any // ForeignKey+ row: any // RowField+}++export interface RowField {+ id: string+ name: string+ comment: string+ format: string+ enums: string[]+ value: string+ defaultValue: string+ foreignKey?: PostgresRelationship+ isNullable: boolean+ isIdentity: boolean+ isPrimaryKey: boolean+}diff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/RowEditor.utils.ts b/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/RowEditor.utils.tsnew file mode 100644index 00000000000..42111af3b5b--- /dev/null+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/RowEditor.utils.ts@@ -0,0 +1,261 @@+import dayjs from 'dayjs'+import { find, isUndefined, compact, includes, isEqual, omitBy, isNull, isString } from 'lodash'+import { Dictionary } from '@supabase/grid'+import { PostgresTable } from '@supabase/postgres-meta'++import { uuidv4, minifyJSON } from 'lib/helpers'+import { RowField } from './RowEditor.types'+import { JSON_TYPES, NUMERICAL_TYPES } from '../SidePanelEditor.constants'++export const generateRowFields = (+ row: Dictionary<any> | undefined,+ table: PostgresTable,+ isNewRecord?: boolean+): RowField[] => {+ const { relationships, primary_keys } = table+ const primaryKeyColumns = primary_keys.map((key) => key.name)++ return table.columns.map((column) => {+ const value =+ isNewRecord && column.default_value === 'now()'+ ? nowDateTimeValue(column.format)+ : isUndefined(row)+ ? ''+ : parseValue(row[column.name], column.format, column.data_type)++ const foreignKey = find(relationships, (relationship) => {+ return (+ relationship.source_schema === column.schema &&+ relationship.source_table_name === column.table &&+ relationship.source_column_name === column.name+ )+ })++ return {+ value,+ foreignKey,+ id: column.id,+ name: column.name,+ comment: parseDescription(column.comment),+ format: column.format,+ enums: column.enums as any,+ defaultValue: parseValue(column.default_value as string, column.format, column.data_type),+ isNullable: column.is_nullable,+ isIdentity: column.is_identity,+ isPrimaryKey: primaryKeyColumns.includes(column.name),+ }+ })+}++export const validateFields = (fields: RowField[]) => {+ const errors = {} as any+ fields.forEach((field) => {+ if (field.format.startsWith('_') && field.value?.length > 0) {+ try {+ minifyJSON(field.value)+ } catch {+ errors[field.name] = 'Invalid array'+ }+ }+ if (field.format.includes('json') && field.value?.length > 0) {+ try {+ minifyJSON(field.value)+ } catch {+ errors[field.name] = 'Invalid JSON'+ }+ }+ if (field.isIdentity || field.defaultValue) return+ if (!field.isNullable && !field.value) {+ errors[field.name] = `Please assign a value for this field`+ }+ })+ return errors+}++// Currently only used in ReferenceRowViewer for rows outside of public schema+export const generateRowFieldsWithoutColumnMeta = (row: any): RowField[] => {+ const properties = Object.keys(row)+ return properties.map((property) => {+ return {+ id: uuidv4(),+ value: row[property] || '',+ name: property,+ comment: '',+ format: '',+ enums: [],+ defaultValue: '',+ foreignKey: undefined,+ isNullable: false,+ isIdentity: false,+ isPrimaryKey: false,+ }+ })+}++const parseValue = (originalValue: string, format: string, dataType: string) => {+ try {+ if (originalValue === null || originalValue.length === 0) {+ return ''+ } else if (typeof originalValue === 'number' || !format) {+ return originalValue+ } else if (typeof originalValue === 'object') {+ return JSON.stringify(originalValue)+ } else if (typeof originalValue === 'boolean') {+ return (originalValue as any).toString()+ } else if (includes(JSON_TYPES, format)) {+ const value = _unescapeLiteral(dataType, originalValue, format)+ return minifyJSON(value)+ }++ // escape literal format from postgres-meta+ const value = _unescapeLiteral(dataType, originalValue, format)+ if (dataType && dataType.toLowerCase() == 'array') {+ if (originalValue && originalValue.includes("}'::") && originalValue.endsWith('[]')) {+ // for array default value, we need to use this method to parse literal format+ // TODO: should merge with above method... if we can+ return _unescapeLiteralArray(originalValue)+ } else if (typeof value === 'string') {+ const parsedValue = JSON.parse(value)+ return JSON.parse(parsedValue)+ } else {+ return JSON.stringify(value)+ }+ } else {+ return value+ }+ } catch (error) {+ return originalValue+ }+}++const parseDescription = (description: string | null) => {+ // [Joshen] Definitely can find a better way to parse the description, but this suffices for now+ if (!description) return ''+ const commentLines = compact(description.split('\n'))+ if (commentLines.length == 1) {+ // Only user comment+ return description+ } else if (commentLines.length == 2) {+ // Only swagger comment+ return `${commentLines[0]} ${commentLines[1]?.split('.<')[0]}`+ } else if (commentLines.length > 2) {+ // Both user and swagger comment+ return `${commentLines[0]} (${commentLines[1]} ${commentLines[2]?.split('.<')[0]})`+ } else {+ return ''+ }+}++/**+ * postgres-meta can return default value with format like+ * 'hello world'::character varying+ * '232.34'::double precision+ * 'USER'::"Role" user-defined type+ * this method will help convert them to valid default value+ */+const _unescapeLiteral = (dataType: string, value: string, format: string): any => {+ // unEscape format literal+ let temp = `::${dataType}`+ let tempWithQuotes = `::"${dataType}"`+ // for user-defined type, need to use format instead+ if (dataType?.toLowerCase() == 'user-defined') {+ temp = `::${format}`+ tempWithQuotes = `::"${format}"`+ }++ if (value && value.includes(temp)) {+ value = value.replace(temp, '')+ // remove quotes+ value = value.slice(1, value.length - 1)+ } else if (value && value.includes(tempWithQuotes)) {+ value = value.replace(tempWithQuotes, '')+ // remove quotes+ value = value.slice(1, value.length - 1)+ }+ return value+}++/**+ * postgres-meta can return default value for array like+ * ex: '{apple,banana}'::text[] => ["apple","banana"]+ * ex: '{1,2,3,4,5,6}'::integer[] => [1,2,3,4,5,6]+ * ex: '{{meeting,lunch},{training,presentation}}'::character varying[]+ * this method will help convert them to valid default value+ */+const _unescapeLiteralArray = (value: any) => {+ const splits = value.split("'::")+ if (splits.length < 1) return value++ let temp = splits[0].replace("'{", '{')+ if (value.endsWith('integer[]') || value.endsWith('real[]')) {+ temp = temp.replaceAll('{', '[')+ temp = temp.replaceAll('}', ']')+ return temp+ } else {+ const matches = temp.match(/\{([^{}]+)\}/g)+ if (matches) {+ const array = [...matches]+ array.forEach((x) => {+ let _x = x.replaceAll('{', '{"')+ _x = _x.replaceAll('}', '"}')+ _x = _x.replaceAll(',', '","')+ temp = temp.replace(x, _x)+ })+ temp = temp.replaceAll('{', '[')+ temp = temp.replaceAll('}', ']')+ }+ return temp+ }+}++const nowDateTimeValue = (format: string) => {+ if (format?.includes('timestamp')) {+ return dayjs().format()+ } else if (format == 'time') {+ return dayjs().format('HH:mm:ss')+ } else if (format == 'timetz') {+ return dayjs().format('HH:mm:ssZZ')+ } else {+ return dayjs().format('YYYY-MM-DD')+ }+}++export const generateRowObjectFromFields = (+ fields: RowField[],+ includeNullProperties = false+): object => {+ const rowObject = {} as any+ fields.forEach((field) => {+ const value = field.value.length === 0 ? null : field.value+ if (field.format.includes('json') || (field.format.startsWith('_') && value)) {+ if (typeof field.value === 'object') {+ rowObject[field.name] = value+ } else {+ if (isString(value)) {+ rowObject[field.name] = JSON.parse(value)+ }+ }+ } else if (NUMERICAL_TYPES.includes(field.format) && value) {+ rowObject[field.name] = Number(value)+ } else if (field.format === 'bool' && value) {+ rowObject[field.name] = value === 'true'+ } else {+ rowObject[field.name] = value+ }+ })+ return includeNullProperties ? rowObject : omitBy(rowObject, isNull)+}++export const generateUpdateRowPayload = (originalRow: any, field: RowField[]) => {+ const includeNullProperties = true+ const rowObject = generateRowObjectFromFields(field, includeNullProperties) as any++ const payload = {} as any+ const properties = Object.keys(rowObject)+ properties.forEach((property) => {+ if (!isEqual(originalRow[property], rowObject[property])) {+ payload[property] = rowObject[property]+ }+ })+ return payload+}diff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/SidePanelEditor.constants.ts b/studio/components/interfaces/TableGridEditor/SidePanelEditor/SidePanelEditor.constants.tsnew file mode 100644index 00000000000..ff1c023fb7c--- /dev/null+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/SidePanelEditor.constants.ts@@ -0,0 +1,95 @@+import { sortBy, concat } from 'lodash'+import { PostgresDataTypeOption } from './SidePanelEditor.types'++export const DATE_FORMAT = 'YYYY-MM-DDTHH:mm:ssZ'+export const NUMERICAL_TYPES = ['int2', 'int4', 'int8', 'float4', 'float8']+export const JSON_TYPES = ['json', 'jsonb']+export const TEXT_TYPES = ['text', 'varchar']+export const TIMESTAMP_TYPES = ['date', 'time', 'timestamp', 'timetz', 'timestamptz']+export const OTHER_DATA_TYPES = ['uuid', 'bool']+export const POSTGRES_DATA_TYPES = sortBy(+ concat(NUMERICAL_TYPES, JSON_TYPES, TEXT_TYPES, TIMESTAMP_TYPES, OTHER_DATA_TYPES)+)++export const POSTGRES_DATA_TYPE_OPTIONS: PostgresDataTypeOption[] = [+ {+ name: 'int2',+ description: 'Signed two-byte integer',+ type: 'number',+ },+ {+ name: 'int4',+ description: 'Signed four-byte integer',+ type: 'number',+ },+ {+ name: 'int8',+ description: 'Signed eight-byte integer',+ type: 'number',+ },+ {+ name: 'float4',+ description: 'Single precision floating-point number (4 bytes)',+ type: 'number',+ },+ {+ name: 'float8',+ description: 'Double precision floating-point number (8 bytes)',+ type: 'number',+ },+ {+ name: 'json',+ description: 'Textual JSON data',+ type: 'json',+ },+ {+ name: 'jsonb',+ description: 'Binary JSON data, decomposed',+ type: 'json',+ },+ {+ name: 'text',+ description: 'Variable-length character string',+ type: 'text',+ },+ {+ name: 'varchar',+ description: 'Variable-length character string',+ type: 'text',+ },+ {+ name: 'uuid',+ description: 'Universally unique identifier',+ type: 'text',+ },+ {+ name: 'date',+ description: 'Calendar date (year, month, day)',+ type: 'time',+ },+ {+ name: 'time',+ description: 'Time of day (no time zone)',+ type: 'time',+ },+ {+ name: 'timetz',+ description: 'Time of day, including time zone',+ type: 'time',+ },+ {+ name: 'timestamp',+ description: 'Date and time (no time zone)',+ type: 'time',+ },+ {+ name: 'timestamptz',+ description: 'Date and time, including time zone',+ type: 'time',+ },+ {+ name: 'bool',+ description: 'Logical boolean (true/false)',+ type: 'bool',+ },+]diff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/SidePanelEditor.tsx b/studio/components/interfaces/TableGridEditor/SidePanelEditor/SidePanelEditor.tsxnew file mode 100644index 00000000000..d5d7fce8463--- /dev/null+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/SidePanelEditor.tsx@@ -0,0 +1,283 @@+import { FC, useState, useEffect } from 'react'+import { find, isUndefined } from 'lodash'+import { Query, Dictionary } from '@supabase/grid'+import { PostgresRelationship, PostgresTable, PostgresColumn } from '@supabase/postgres-meta'++import { useStore } from 'hooks'+import { RowEditor, ColumnEditor, TableEditor } from '.'+import { ImportContent } from './TableEditor/TableEditor.types'+import { ColumnField, CreateColumnPayload, UpdateColumnPayload } from './SidePanelEditor.types'+import ConfirmationModal from 'components/ui/ConfirmationModal'++interface Props {+ selectedSchema: string+ selectedTable?: PostgresTable+ selectedRowToEdit?: Dictionary<any>+ selectedColumnToEdit?: PostgresColumn+ selectedTableToEdit?: PostgresTable+ sidePanelKey?: 'row' | 'column' | 'table'+ isDuplicating?: boolean+ closePanel: () => void+ onRowCreated?: (row: Dictionary<any>) => void+ onRowUpdated?: (row: Dictionary<any>, idx: number) => void++ // Because the panel is shared between grid editor and database pages+ // Both require different responses upon success of these events+ onTableCreated?: (table: PostgresTable) => void+ onColumnSaved?: () => void+}++const SidePanelEditor: FC<Props> = ({+ selectedSchema,+ selectedTable,+ selectedRowToEdit,+ selectedColumnToEdit,+ selectedTableToEdit,+ sidePanelKey,+ isDuplicating = false,+ closePanel,+ onRowCreated = () => {},+ onRowUpdated = () => {},+ onTableCreated = () => {},+ onColumnSaved = () => {},+}) => {+ const { meta, ui } = useStore()++ const [enumTypes, setEnumTypes] = useState<any[]>([])+ const [isEdited, setIsEdited] = useState<boolean>(false)+ const [isClosingPanel, setIsClosingPanel] = useState<boolean>(false)++ const tables = meta.tables.list()++ useEffect(() => {+ let cancel = false+ const fetchEnumTypes = async () => {+ const enumTypes = await meta.schemas.getEnums()+ if (!cancel) setEnumTypes(enumTypes)+ }+ fetchEnumTypes()++ return () => {+ cancel = true+ }+ }, [])++ const saveRow = async (+ payload: any,+ isNewRecord: boolean,+ configuration: { identifiers: any; rowIdx: number },+ resolve: any+ ) => {+ let saveRowError = false+ if (isNewRecord) {+ const insertQuery = new Query()+ .from(selectedTable!.name, selectedTable!.schema)+ .insert([payload], { returning: true })+ .toSql()++ const res: any = await meta.query(insertQuery)+ if (res.error) {+ saveRowError = true+ ui.setNotification({ category: 'error', message: res.error?.message })+ } else {+ onRowCreated(res[0])+ }+ } else {+ if (selectedTable!.primary_keys.length > 0) {+ const updateQuery = new Query()+ .from(selectedTable!.name, selectedTable!.schema)+ .update(payload, { returning: true })+ .match(configuration.identifiers)+ .toSql()++ const res: any = await meta.query(updateQuery)+ if (res.error) {+ saveRowError = true+ ui.setNotification({ category: 'error', message: res.error?.message })+ } else {+ onRowUpdated(res[0], configuration.rowIdx)+ }+ } else {+ saveRowError = true+ ui.setNotification({+ category: 'error',+ message:+ "We can't make changes to this table because there is no primary key. Please create a primary key and try again.",+ })+ }+ }++ resolve()+ if (!saveRowError) {+ setIsEdited(false)+ closePanel()+ }+ }++ const saveColumn = async (+ payload: CreateColumnPayload | UpdateColumnPayload,+ foreignKey: Partial<PostgresRelationship> | undefined,+ isNewRecord: boolean,+ configuration: { columnId?: string },+ resolve: any+ ) => {+ const response = isNewRecord+ ? await meta.createColumn(payload as CreateColumnPayload, foreignKey)+ : await meta.updateColumn(+ configuration.columnId as string,+ payload as UpdateColumnPayload,+ selectedTable as PostgresTable,+ foreignKey+ )++ if (response?.error) {+ ui.setNotification({ category: 'error', message: response.error.message })+ } else {+ await meta.tables.loadById(selectedTable!.id)+ onColumnSaved()+ setIsEdited(false)+ closePanel()+ }++ resolve()+ }++ const saveTable = async (+ payload: any,+ columns: ColumnField[],+ isNewRecord: boolean,+ configuration: {+ tableId?: number+ importContent?: ImportContent+ isRLSEnabled: boolean+ isDuplicateRows: boolean+ },+ resolve: any+ ) => {+ let saveTableError = false+ const { tableId, importContent, isRLSEnabled, isDuplicateRows } = configuration++ if (isDuplicating) {+ const duplicateTable = find(tables, { id: tableId }) as PostgresTable+ const toastId = ui.setNotification({+ category: 'loading',+ message: `Duplicating table: ${duplicateTable.name}...`,+ })+ try {+ const table: any = await meta.duplicateTable(payload, {+ isRLSEnabled,+ isDuplicateRows,+ duplicateTable,+ })+ ui.setNotification({+ id: toastId,+ category: 'success',+ message: `Table ${duplicateTable.name} has been successfully duplicated into ${table.name}!`,+ })+ onTableCreated(table)+ } catch (error: any) {+ saveTableError = true+ ui.setNotification({ id: toastId, category: 'error', message: error.message })+ }+ } else if (isNewRecord) {+ const toastId = ui.setNotification({+ category: 'loading',+ message: `Creating new table: ${payload.name}...`,+ })+ try {+ const table = await meta.createTable(toastId, payload, isRLSEnabled, columns, importContent)+ ui.setNotification({+ id: toastId,+ category: 'success',+ message: `Table ${table.name} is good to go!`,+ })+ onTableCreated(table)+ } catch (error: any) {+ saveTableError = true+ ui.setNotification({ id: toastId, category: 'error', message: error.message })+ }+ } else if (selectedTableToEdit) {+ const toastId = ui.setNotification({+ category: 'loading',+ message: `Updating table: ${selectedTableToEdit?.name}...`,+ })+ try {+ const table: any = await meta.updateTable(toastId, selectedTableToEdit, payload, columns)+ ui.setNotification({+ id: toastId,+ category: 'success',+ message: `Successfully updated ${table.name}!`,+ })+ } catch (error: any) {+ saveTableError = true+ ui.setNotification({ id: toastId, category: 'error', message: error.message })+ }+ }++ if (!saveTableError) {+ setIsEdited(false)+ closePanel()+ }+ resolve()+ }++ const onClosePanel = () => {+ if (isEdited) {+ setIsClosingPanel(true)+ } else {+ closePanel()+ }+ }++ return (+ <>+ {!isUndefined(selectedTable) && (+ <RowEditor+ row={selectedRowToEdit}+ selectedTable={selectedTable}+ visible={sidePanelKey === 'row'}+ closePanel={onClosePanel}+ saveChanges={saveRow}+ updateEditorDirty={() => setIsEdited(true)}+ />+ )}+ {!isUndefined(selectedTable) && (+ <ColumnEditor+ enumTypes={enumTypes}+ tables={tables}+ column={selectedColumnToEdit}+ selectedTable={selectedTable}+ visible={sidePanelKey === 'column'}+ closePanel={onClosePanel}+ saveChanges={saveColumn}+ updateEditorDirty={() => setIsEdited(true)}+ />+ )}+ <TableEditor+ table={selectedTableToEdit}+ tables={tables}+ enumTypes={enumTypes}+ selectedSchema={selectedSchema}+ isDuplicating={isDuplicating}+ visible={sidePanelKey === 'table'}+ closePanel={onClosePanel}+ saveChanges={saveTable}+ updateEditorDirty={() => setIsEdited(true)}+ />+ <ConfirmationModal+ visible={isClosingPanel}+ title="Confirm to close"+ description="There are unsaved changes. Are you sure you want to close the panel? Your changes will be lost."+ buttonLabel="Confirm"+ onSelectCancel={() => setIsClosingPanel(false)}+ onSelectConfirm={() => {+ setIsClosingPanel(false)+ setIsEdited(false)+ closePanel()+ }}+ />+ </>+ )+}++export default SidePanelEditordiff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/SidePanelEditor.types.ts b/studio/components/interfaces/TableGridEditor/SidePanelEditor/SidePanelEditor.types.tsnew file mode 100644index 00000000000..dd7eb1332e2--- /dev/null+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/SidePanelEditor.types.ts@@ -0,0 +1,98 @@+import { PostgresRelationship } from '@supabase/postgres-meta'++export interface CreateColumnPayload {+ tableId: number+ name: string+ type: string+ check?: string+ comment?: string+ defaultValue?: any+ defaultValueFormat?: 'expression' | 'literal'+ isIdentity?: boolean+ identityGeneration?: 'BY DEFAULT' | 'ALWAYS'+ isNullable?: boolean+ isPrimaryKey?: boolean+ isUnique?: boolean+}++export interface UpdateColumnPayload {+ name?: string+ comment?: string | null+ type?: string+ dropDefault?: boolean+ defaultValue?: any+ defaultValueFormat?: 'expression' | 'literal'+ isIdentity?: boolean+ isNullable?: boolean+ isUnique?: boolean+ identityGeneration?: 'BY DEFAULT' | 'ALWAYS'+}++export interface CreateTablePayload {+ name: string+ schema?: string+ comment?: string+}++export interface UpdateTablePayload {+ name?: string+ schema?: string+ comment?: string+ rls_enabled?: boolean+ rls_forced?: boolean+ replica_identity?: 'DEFAULT' | 'INDEX' | 'FULL' | 'NOTHING'+ replica_identity_index?: string+}++export interface Field {+ name: string+ required: boolean+ value: any+ description?: string+ enums?: string[]+ format?: string+ placeholder?: string+ foreignKey?: { table: string; column: string }+}++export interface ColumnField {+ id: string+ name: string+ comment?: string+ format: string+ defaultValue: string+ foreignKey: PostgresRelationship | undefined+ isNullable: boolean+ isUnique: boolean+ isArray: boolean+ isIdentity: boolean+ isPrimaryKey: boolean+ isNewColumn: boolean+}++// export interface ForeignKey {+// table: PostgresTable+// column: PostgresColumn+// }++export interface EnumType {+ id: number+ name: string+ values: any[]+}++export interface PostgresDataTypeOption {+ name: string+ description: string+ type: 'number' | 'text' | 'time' | 'json' | 'bool' | 'others'+}++// export interface FormattedPostgresColumn extends PostgresColumn {+// isPrimaryKey: boolean+// foreignKey: ForeignKey+// }++// Probably belongs to a higher level+export interface Dictionary<T> {+ [Key: string]: T+}diff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/Column.tsx b/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/Column.tsxnew file mode 100644index 00000000000..09531b487a2--- /dev/null+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/Column.tsx@@ -0,0 +1,208 @@+import { FC } from 'react'+import { isUndefined } from 'lodash'+import {+ Checkbox,+ Input,+ Typography,+ IconX,+ IconMenu,+ Popover,+ IconLink,+ IconSettings,+} from '@supabase/ui'++import { ColumnField, EnumType } from '../SidePanelEditor.types'+import ColumnType from '../ColumnEditor/ColumnType'+import InputWithSuggestions from '../ColumnEditor/InputWithSuggestions'+import { Suggestion } from '../ColumnEditor/ColumnEditor.types'+import { typeExpressionSuggestions } from '../ColumnEditor/ColumnEditor.constants'++/**+ * [Joshen] For context:+ *+ * Fields which primary key columns will not bother with these configurations:+ * - Default value+ * - Is array (I don't think PK columns can be arrays?)+ * - Is nullable (PK columns are NOT NULL)+ * - Is unique (PK columns are unique)+ *+ * Fields which have a foreign key will not bother with these configurations:+ * - Type (The column's type will match the FK's column type)+ * - Is identity+ * - Is array+ *+ * For int fields, they will have this condition:+ * - Cannot be both identity AND array, still checkboxes as they can be toggled off+ */++interface Props {+ column: ColumnField+ enumTypes: EnumType[]+ isNewRecord: boolean+ hasImportContent: boolean+ dragHandleProps?: any+ onEditRelation: (column: any) => void+ onUpdateColumn: (changes: Partial<ColumnField>) => void+ onRemoveColumn: () => void+}++const Column: FC<Props> = ({+ column = {} as ColumnField,+ enumTypes = [] as EnumType[],+ isNewRecord = false,+ hasImportContent = false,+ dragHandleProps = {},+ onEditRelation = () => {},+ onUpdateColumn = () => {},+ onRemoveColumn = () => {},+}) => {+ const suggestions: Suggestion[] = typeExpressionSuggestions?.[column.format] ?? []++ return (+ <div className="w-full flex items-center">+ <div className={`w-[5%] ${!isNewRecord ? 'hidden' : ''}`}>+ <div className="cursor-drag" {...dragHandleProps}>+ <Typography>+ <IconMenu strokeWidth={1} size={15} />+ </Typography>+ </div>+ </div>+ <div className="w-[25%]">+ <div className="flex items-center justify-between w-[95%] border border-gray-500 rounded-md">+ <Input+ value={column.name}+ size="small"+ disabled={hasImportContent}+ className={`table-editor-columns-input bg-white dark:bg-transparent rounded ${+ hasImportContent ? 'opacity-50' : ''+ }`}+ onChange={(event: any) => onUpdateColumn({ name: event.target.value })}+ />+ <div+ className={`+ border-l p-[9px] rounded-r border-gray-500 cursor-pointer transition+ ${column.isPrimaryKey ? 'hover:bg-gray-500' : 'hover:bg-gray-600'}+ `}+ onClick={() => onEditRelation(column)}+ >+ <IconLink+ className={!isUndefined(column.foreignKey) ? 'text-green-400' : ''}+ size={14}+ strokeWidth={!isUndefined(column.foreignKey) ? 2 : 1}+ />+ </div>+ </div>+ </div>+ <div className="w-[25%]">+ <div className="w-[95%]">+ <ColumnType+ value={column.format}+ enumTypes={enumTypes}+ size="small"+ showLabel={false}+ className="table-editor-column-type"+ disabled={!isUndefined(column.foreignKey)}+ onOptionSelect={(format: string) => {+ onUpdateColumn({ format, defaultValue: '' })+ }}+ />+ </div>+ </div>+ <div className={`${isNewRecord ? 'w-[25%]' : 'w-[30%]'}`}>+ <div className="w-[90%]">+ <InputWithSuggestions+ placeholder="NULL"+ size="small"+ value={column.defaultValue}+ disabled={column.format.includes('int') && column.isIdentity}+ className={`bg-white dark:bg-transparent rounded ${+ column.format.includes('int') && column.isIdentity ? 'opacity-50' : ''+ }`}+ suggestions={suggestions}+ suggestionsHeader="Suggested expressions"+ suggestionsWidth={410}+ onChange={(event: any) => onUpdateColumn({ defaultValue: event.target.value })}+ onSelectSuggestion={(suggestion: Suggestion) =>+ onUpdateColumn({ defaultValue: suggestion.name })+ }+ />+ </div>+ </div>+ <div className="w-[10%]">+ <Checkbox+ label=""+ checked={column.isPrimaryKey}+ onChange={() => onUpdateColumn({ isPrimaryKey: !column.isPrimaryKey })}+ />+ </div>+ <div className={`${hasImportContent ? 'w-[10%]' : 'w-[0%]'}`} />+ <div className="w-[5%] flex justify-end">+ {(!column.isPrimaryKey || column.format.includes('int')) && (+ <Popover+ portalled+ className="w-80 pointer-events-auto"+ overlay={[+ <div className="p-4" key={`${column.id}_configuration`}>+ {!column.isPrimaryKey && (+ <Checkbox+ label="Is Nullable"+ description="Specify if the column can assume a NULL value if no value is provided"+ checked={column.isNullable}+ onChange={() => onUpdateColumn({ isNullable: !column.isNullable })}+ />+ )}+ {isNewRecord && (+ <Checkbox+ label="Is Unique"+ description="Enforce if values in the column should be unique across rows"+ checked={column.isUnique}+ onChange={() => onUpdateColumn({ isUnique: !column.isUnique })}+ />+ )}+ {column.format.includes('int') && (+ <Checkbox+ label="Is Identity"+ description="Automatically assign a sequential unique number to the column"+ checked={column.isIdentity}+ onChange={() => {+ const isIdentity = !column.isIdentity+ const isArray = isIdentity ? false : column.isArray+ onUpdateColumn({ isIdentity, isArray })+ }}+ />+ )}+ {!column.isPrimaryKey && (+ <Checkbox+ label="Define as Array"+ description="Define your column as a variable-length multidimensional array"+ checked={column.isArray}+ onChange={() => {+ const isArray = !column.isArray+ const isIdentity = isArray ? false : column.isIdentity+ onUpdateColumn({ isArray, isIdentity })+ }}+ />+ )}+ </div>,+ ]}+ >+ <Typography>+ <IconSettings size={18} strokeWidth={1} />+ </Typography>+ </Popover>+ )}+ </div>+ {!hasImportContent && (+ <div className="w-[5%] flex justify-end">+ <div className="cursor-pointer" onClick={() => onRemoveColumn()}>+ <Typography>+ <IconX strokeWidth={1} />+ </Typography>+ </div>+ </div>+ )}+ </div>+ )+}++export default Columndiff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/ColumnManagement.tsx b/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/ColumnManagement.tsxnew file mode 100644index 00000000000..dc27793d4ce--- /dev/null+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/ColumnManagement.tsx@@ -0,0 +1,303 @@+import React, { FC, useState } from 'react'+import { partition, isEmpty, isUndefined } from 'lodash'+import {+ Alert,+ Button,+ IconEdit,+ IconHelpCircle,+ IconKey,+ IconTrash,+ Typography,+} from '@supabase/ui'+import { PostgresTable, PostgresColumn } from '@supabase/postgres-meta'+import {+ DragDropContext,+ Droppable,+ Draggable,+ DroppableProvided,+ DraggableProvided,+} from 'react-beautiful-dnd'++// import Hooks from 'lib/Hooks'+import Column from './Column'+import InformationBox from 'components/ui/InformationBox'+import ForeignKeySelector from '../ForeignKeySelector/ForeignKeySelector'+import { ColumnField, EnumType } from '../SidePanelEditor.types'+import { ImportContent } from './TableEditor.types'+import { generateColumnField } from '../ColumnEditor/ColumnEditor.utils'++interface Props {+ table?: Partial<PostgresTable>+ tables: PostgresTable[]+ columns?: ColumnField[]+ enumTypes: EnumType[]+ importContent?: ImportContent+ isNewRecord: boolean+ onColumnsUpdated: (columns: ColumnField[]) => void+ onSelectImportData: () => void+ onClearImportContent: () => void+}++const ColumnManagement: FC<Props> = ({+ table,+ tables = [],+ columns = [],+ enumTypes = [],+ importContent = {},+ isNewRecord,+ onColumnsUpdated = () => {},+ onSelectImportData = () => {},+ onClearImportContent = () => {},+}) => {+ const [selectedColumnToEditRelation, setSelectedColumnToEditRelation] = useState<ColumnField>()++ const hasImportContent = !isEmpty(importContent)+ const [primaryKeyColumns, otherColumns] = partition(+ columns,+ (column: ColumnField) => column.isPrimaryKey+ )++ const saveColumnForeignKey = (+ foreignKeyConfiguration: { table: PostgresTable; column: PostgresColumn } | undefined+ ) => {+ // @ts-ignore+ onUpdateColumn(selectedColumnToEditRelation, {+ foreignKey: !isUndefined(foreignKeyConfiguration)+ ? {+ id: 0,+ constraint_name: '',+ source_schema: table?.schema,+ source_table_name: table?.name,+ source_column_name: selectedColumnToEditRelation?.name,+ target_table_schema: foreignKeyConfiguration.table.schema,+ target_table_name: foreignKeyConfiguration.table.name,+ target_column_name: foreignKeyConfiguration.column.name,+ }+ : undefined,+ ...(!isUndefined(foreignKeyConfiguration) && {+ format: foreignKeyConfiguration.column.format,+ defaultValue: '',+ }),+ })+ setSelectedColumnToEditRelation(undefined)+ }++ const onUpdateColumn = (columnToUpdate: ColumnField, changes: Partial<ColumnField>) => {+ const updatedColumns = columns.map((column: ColumnField) => {+ if (column.id === columnToUpdate.id) {+ return { ...column, ...changes }+ } else {+ return column+ }+ })+ onColumnsUpdated(updatedColumns)+ }++ const onAddColumn = () => {+ const defaultColumn = generateColumnField()+ const updatedColumns = columns.concat(defaultColumn)+ onColumnsUpdated(updatedColumns)+ }++ const onRemoveColumn = (columnToRemove: ColumnField) => {+ const updatedColumns = columns.filter((column: ColumnField) => column.id !== columnToRemove.id)+ onColumnsUpdated(updatedColumns)+ }++ const onSortColumns = (result: any, type: 'pks' | 'others') => {+ // Dropped outside of the list+ if (!result.destination) {+ return+ }++ if (type === 'pks') {+ const updatedPrimaryKeyColumns = primaryKeyColumns.slice()+ const [removed] = updatedPrimaryKeyColumns.splice(result.source.index, 1)+ updatedPrimaryKeyColumns.splice(result.destination.index, 0, removed)+ const updatedColumns = updatedPrimaryKeyColumns.concat(otherColumns)+ return onColumnsUpdated(updatedColumns)+ }++ if (type === 'others') {+ const updatedOtherColumns = otherColumns.slice()+ const [removed] = updatedOtherColumns.splice(result.source.index, 1)+ updatedOtherColumns.splice(result.destination.index, 0, removed)+ const updatedColumns = primaryKeyColumns.concat(updatedOtherColumns)+ return onColumnsUpdated(updatedColumns)+ }+ }++ return (+ <>+ <div className="w-full table-editor-columns space-y-4">+ <div className="w-full flex items-center justify-between">+ <Typography.Title level={5}>Columns</Typography.Title>+ {isNewRecord && (+ <>+ {hasImportContent ? (+ <div className="flex items-center space-x-3">+ <Button type="secondary" icon={<IconEdit />} onClick={onSelectImportData}>+ Edit content+ </Button>+ <Button danger type="outline" icon={<IconTrash />} onClick={onClearImportContent}>+ Remove content+ </Button>+ </div>+ ) : (+ <Button type="secondary" onClick={onSelectImportData}>+ Import data via spreadsheet+ </Button>+ )}+ </>+ )}+ </div>++ {hasImportContent && (+ <div className="my-2 opacity-75">+ <Typography.Text>+ Your table will be created with {importContent?.rowCount?.toLocaleString()} rows and+ the following {columns.length} columns.+ </Typography.Text>+ </div>+ )}++ {primaryKeyColumns.length === 0 && (+ <Alert title="Warning: No primary keys selected" variant="warning" withIcon>+ Tables require at least one column as a primary key in order to uniquely identify each+ row. Without a primary key, you will not be able to update or delete rows from the+ table.+ </Alert>+ )}++ {primaryKeyColumns.length > 1 && (+ <InformationBox+ icon={<IconKey className="text-white" size="large" />}+ title="Composite primary key selected"+ description="The columns that you've selected will grouped as a primary key, and will serve+ as the unique identifier for the rows in your table"+ />+ )}++ <div className="space-y-2">+ {/* Headers */}+ <div className="w-full flex px-3">+ {/* Drag handle */}+ {isNewRecord && <div className="w-[5%]" />}+ <div className="w-[25%]">+ <Typography.Text small>Name</Typography.Text>+ </div>+ <div className="w-[25%]">+ <Typography.Text small>Type</Typography.Text>+ </div>+ <div className={`${isNewRecord ? 'w-[25%]' : 'w-[30%]'} flex items-center space-x-2`}>+ <Typography.Text small>Default Value</Typography.Text>+ <div>+ <Typography.Text>+ <IconHelpCircle size={15} strokeWidth={1.5} />+ </Typography.Text>+ </div>+ </div>+ <div className="w-[10%]">+ <Typography.Text small>Primary</Typography.Text>+ </div>+ {/* Empty space */}+ <div className={`${hasImportContent ? 'w-[10%]' : 'w-0'}`} />+ {/* More config button */}+ <div className="w-[5%]" />+ {/* Delete button */}+ {!hasImportContent && <div className="w-[5%]" />}+ </div>++ {primaryKeyColumns.length > 0 && (+ <DragDropContext onDragEnd={(result: any) => onSortColumns(result, 'pks')}>+ <Droppable droppableId="pk_columns_droppable">+ {(droppableProvided: DroppableProvided) => (+ <div+ ref={droppableProvided.innerRef}+ className={`space-y-2 bg-gray-200 dark:bg-bg-alt-dark rounded-md px-3 py-2 ${+ isNewRecord ? '' : '-mx-3'+ }`}+ >+ {primaryKeyColumns.map((column: ColumnField, index: number) => (+ <Draggable key={column.id} draggableId={column.id} index={index}>+ {(draggableProvided: DraggableProvided) => (+ <div+ ref={draggableProvided.innerRef}+ {...draggableProvided.draggableProps}+ >+ <Column+ column={column}+ enumTypes={enumTypes}+ isNewRecord={isNewRecord}+ hasImportContent={hasImportContent}+ dragHandleProps={draggableProvided.dragHandleProps}+ onEditRelation={() => {+ setSelectedColumnToEditRelation(column)+ }}+ onUpdateColumn={(changes) => onUpdateColumn(column, changes)}+ onRemoveColumn={() => onRemoveColumn(column)}+ />+ </div>+ )}+ </Draggable>+ ))}+ {droppableProvided.placeholder}+ </div>+ )}+ </Droppable>+ </DragDropContext>+ )}++ <DragDropContext onDragEnd={(result: any) => onSortColumns(result, 'others')}>+ <Droppable droppableId="other_columns_droppable">+ {(droppableProvided: DroppableProvided) => (+ <div+ ref={droppableProvided.innerRef}+ className={`space-y-2 py-2 ${isNewRecord ? 'px-3 ' : ''}`}+ >+ {otherColumns.map((column: ColumnField, index: number) => (+ <Draggable key={column.id} draggableId={column.id} index={index}>+ {(draggableProvided: DraggableProvided) => (+ <div ref={draggableProvided.innerRef} {...draggableProvided.draggableProps}>+ <Column+ column={column}+ enumTypes={enumTypes}+ isNewRecord={isNewRecord}+ hasImportContent={hasImportContent}+ dragHandleProps={draggableProvided.dragHandleProps}+ onEditRelation={() => {+ setSelectedColumnToEditRelation(column)+ }}+ onUpdateColumn={(changes) => onUpdateColumn(column, changes)}+ onRemoveColumn={() => onRemoveColumn(column)}+ />+ </div>+ )}+ </Draggable>+ ))}+ {droppableProvided.placeholder}+ </div>+ )}+ </Droppable>+ </DragDropContext>+ </div>++ {!hasImportContent && (+ <Button type="secondary" onClick={() => onAddColumn()}>+ Add column+ </Button>+ )}+ </div>+ <ForeignKeySelector+ tables={tables}+ column={selectedColumnToEditRelation as ColumnField}+ foreignKey={selectedColumnToEditRelation?.foreignKey}+ visible={!isUndefined(selectedColumnToEditRelation)}+ closePanel={() => setSelectedColumnToEditRelation(undefined)}+ saveChanges={saveColumnForeignKey}+ />+ </>+ )+}++export default ColumnManagementdiff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/HeaderTitle.tsx b/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/HeaderTitle.tsxnew file mode 100644index 00000000000..ee0548c6721--- /dev/null+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/HeaderTitle.tsx@@ -0,0 +1,27 @@+import { PostgresTable } from '@supabase/postgres-meta'+import { Typography } from '@supabase/ui'++interface Props {+ table: PostgresTable+ isDuplicating: boolean+}++const HeaderTitle: React.FC<Props> = ({ table, isDuplicating }) => {+ if (!table) {+ return <>Create a new table</>+ }+ if (isDuplicating) {+ return (+ <>+ Duplicate table <Typography.Text code>{table.name}</Typography.Text>+ </>+ )+ }+ return (+ <>+ Update table <Typography.Text code>{table.name}</Typography.Text>+ </>+ )+}++export default HeaderTitlediff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/SpreadsheetImport/SpreadSheetFileUpload.tsx b/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/SpreadsheetImport/SpreadSheetFileUpload.tsxnew file mode 100644index 00000000000..5957fbcdaa4--- /dev/null+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/SpreadsheetImport/SpreadSheetFileUpload.tsx@@ -0,0 +1,91 @@+import { DragEvent, useRef, useState, FC } from 'react'+import { Button, Typography, IconLoader } from '@supabase/ui'+import SparkBar from 'components/ui/SparkBar'++interface Props {+ parseProgress: number+ uploadedFile: any+ onFileUpload: (event: any) => void+ removeUploadedFile: () => void+}++const SpreadSheetFileUpload: FC<Props> = ({+ parseProgress,+ uploadedFile,+ onFileUpload,+ removeUploadedFile,+}) => {+ const [isDraggedOver, setIsDraggedOver] = useState(false)+ const uploadButtonRef = useRef(null)++ const onDragOver = (event: DragEvent<HTMLDivElement>) => {+ if (event.type === 'dragover' && !isDraggedOver) {+ setIsDraggedOver(true)+ } else if (event.type === 'dragleave' || event.type === 'drop') {+ setIsDraggedOver(false)+ }+ }++ const onDrop = (event: DragEvent<HTMLDivElement>) => {+ onDragOver(event)+ onFileUpload(event)+ }++ return (+ <>+ <Typography.Text>+ <p className="mb-3">+ Upload a CSV or TSV file. The first row should be the headers of the table, and your+ headers should not include any special characters other than hyphens (+ <Typography.Text code>-</Typography.Text>) or underscores (+ <Typography.Text code>_</Typography.Text>).+ </p>+ <Typography.Text type="secondary">+ <p className="text-sm opacity-50 mb-3">+ Tip: Datetime columns should be formatted as YYYY-MM-DD HH:mm:ss+ </p>+ </Typography.Text>+ </Typography.Text>+ {!uploadedFile ? (+ <div+ className={`flex items-center justify-center border dark:border-gray-500 border-dashed rounded-md h-48 ${+ isDraggedOver ? 'bg-gray-500' : ''+ }`}+ onDragOver={onDragOver}+ onDragLeave={onDragOver}+ onDrop={onDrop}+ onClick={() => (uploadButtonRef.current as any)?.click()}+ >+ <Typography.Text>+ Drag and drop, or <span className="text-green-500 cursor-pointer">browse</span> your+ files+ </Typography.Text>+ </div>+ ) : (+ <div className="flex flex-col items-center justify-center border dark:border-gray-500 border-dashed rounded-md h-48">+ <Typography.Title level={4}>{uploadedFile.name}</Typography.Title>+ {parseProgress === 100 ? (+ <Button type="outline" onClick={removeUploadedFile}>+ Remove File+ </Button>+ ) : (+ <div className="flex items-center w-3/5 space-x-2">+ <IconLoader className="animate-spin w-4 h-4" />+ <SparkBar+ value={parseProgress}+ max={100}+ type={'horizontal'}+ barClass={'bg-green-500'}+ labelBottom="Parsing file..."+ labelTop={`${parseProgress}%`}+ />+ </div>+ )}+ </div>+ )}+ <input ref={uploadButtonRef} className="hidden" type="file" onChange={onFileUpload} />+ </>+ )+}++export default SpreadSheetFileUploaddiff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/SpreadsheetImport/SpreadSheetTextInput.tsx b/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/SpreadsheetImport/SpreadSheetTextInput.tsxnew file mode 100644index 00000000000..8c0bb6a1840--- /dev/null+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/SpreadsheetImport/SpreadSheetTextInput.tsx@@ -0,0 +1,32 @@+import { FC } from 'react'+import { Typography } from '@supabase/ui'++interface Props {+ input: string+ onInputChange: (event: any) => void+}++const SpreadSheetTextInput: FC<Props> = ({ input, onInputChange }) => (+ <>+ <Typography.Text>+ <p className="mb-3">+ Copy a table from a spreadsheet program such as Google Sheets or Excel and paste it in the+ field below. The first row should be the headers of the table, and your headers should not+ include any special characters other than hyphens (<Typography.Text code>-</Typography.Text>+ ) or underscores (<Typography.Text code>_</Typography.Text>).+ </p>+ <p className="text-sm opacity-50 mb-3">+ Tip: Datetime columns should be formatted as YYYY-MM-DD HH:mm:ss+ </p>+ </Typography.Text>+ <textarea+ className="font-mono w-full rounded-md bg-gray-700 text-white p-4 text-sm"+ rows={15}+ style={{ resize: 'none' }}+ value={input}+ onChange={onInputChange}+ ></textarea>+ </>+)++export default SpreadSheetTextInputdiff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/SpreadsheetImport/SpreadsheetImport.constants.ts b/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/SpreadsheetImport/SpreadsheetImport.constants.tsnew file mode 100644index 00000000000..163ab7e04a9--- /dev/null+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/SpreadsheetImport/SpreadsheetImport.constants.ts@@ -0,0 +1,5 @@+export const UPLOAD_FILE_TYPES = [+ 'text/csv',+ 'text/tab-separated-values',+ 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',+]diff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/SpreadsheetImport/SpreadsheetImport.tsx b/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/SpreadsheetImport/SpreadsheetImport.tsxnew file mode 100644index 00000000000..3d0cb6ab489--- /dev/null+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/SpreadsheetImport/SpreadsheetImport.tsx@@ -0,0 +1,192 @@+import { useCallback, useState, FC } from 'react'+import toast from 'react-hot-toast'+import { debounce, includes } from 'lodash'+import { SidePanel, Typography } from '@supabase/ui'++import Telemetry from 'lib/telemetry'+import ActionBar from '../../ActionBar'+import { parseSpreadsheet, parseSpreadsheetText } from './SpreadsheetImport.utils'+import { UPLOAD_FILE_TYPES } from './SpreadsheetImport.constants'+import SpreadSheetTextInput from './SpreadSheetTextInput'+import SpreadSheetFileUpload from './SpreadSheetFileUpload'++interface Props {+ debounceDuration?: number+ headers?: string[]+ rows?: any[]+ visible: boolean+ saveContent: (prefillData: any) => void+ closePanel: () => void+}++const SpreadsheetImport: FC<Props> = ({+ debounceDuration = 250,+ headers = [],+ rows = [],+ saveContent,+ closePanel,+ visible = false,+}) => {+ const [spreadsheetData, setSpreadsheetData] = useState<any>({+ headers: headers,+ rows: rows,+ rowCount: 0,+ })++ const [input, setInput] = useState<string>('')+ const [uploadedFile, setUploadedFile] = useState<any>(null)++ const [view, setView] = useState<string>('fileUpload')+ const [parseProgress, setParseProgress] = useState<number>(0)++ const onProgressUpdate = (progress: number) => {+ setParseProgress(progress)+ }++ const onFileUpload = async (event: any) => {+ setParseProgress(0)+ event.persist()+ const [file] = event.target.files || event.dataTransfer.files+ if (!file || !includes(UPLOAD_FILE_TYPES, file?.type)) {+ toast('Sorry! We only accept CSV or TSV file types, please upload another file.')+ } else {+ setUploadedFile(file)+ const { headers, rowCount, rowPreview, errors } = await parseSpreadsheet(+ file,+ onProgressUpdate+ )+ if (errors.length <= 5) {+ errors.map((error: any) =>+ toast.error(`Error found at row ${error.row} - ${error.type}: ${error.code}`)+ )+ } else if (errors.length > 5) {+ console.warn('Errors while parsing:', errors)+ toast.error(+ `Multiple errors have been detected on ${errors.length} rows. Do check the file you have uploaded for any discrepancies.`+ )+ }+ setSpreadsheetData({ headers, rowCount, rows: rowPreview })+ }+ event.target.value = ''+ }++ const removeUploadedFile = () => {+ setSpreadsheetData({ headers: [], rows: [], rowCount: 0 })+ setUploadedFile(null)+ }++ const readInputSpreadsheet = async (text: string) => {+ if (text.length > 0) {+ const { headers, rows, errors } = await parseSpreadsheetText(text)+ if (errors.length <= 5) {+ errors.map((error: any) =>+ toast.error(`Error found at row ${error.row || 0} - ${error.type}: ${error.code}`)+ )+ } else if (errors.length > 5) {+ console.warn('Errors while parsing:', errors)+ toast.error(+ `Multiple errors have been detected on ${errors.length} rows. Do check your input for any discrepancies.`+ )+ }+ setSpreadsheetData({ headers, rows, rowCount: rows.length })+ } else {+ setSpreadsheetData({ headers: [], rows: [], rowCount: 0 })+ }+ }++ const handler = useCallback(debounce(readInputSpreadsheet, debounceDuration), [])+ const onInputChange = (event: any) => {+ setInput(event.target.value)+ handler(event.target.value)+ }++ return (+ <SidePanel+ wide+ visible={visible}+ align="right"+ title="Add content to new table"+ onCancel={closePanel}+ customFooter={+ <ActionBar+ backButtonLabel="Cancel"+ applyButtonLabel="Save"+ closePanel={closePanel}+ applyFunction={() => {+ saveContent({+ file: uploadedFile,+ ...spreadsheetData,+ })+ Telemetry.sendEvent('table_editor', 'spreadsheet_import_method', view)+ }}+ />+ }+ >+ <div className="flex flex-col">+ <div className="flex items-center justify-center border dark:border-dark rounded-md w-full mb-4">+ <div+ className={`+ flex items-center justify-center w-1/2 p-2 cursor-pointer hover:bg-bg-secondary-light dark:hover:bg-bg-alt-dark+ transition ease-in-out duration-150 border-r dark:border-dark+ ${+ view === 'fileUpload'+ ? ' text-typography-body-light dark:text-typography-body-dark bg-bg-alt-light dark:bg-bg-alt-dark'+ : ' text-typography-body-secondary-light dark:text-typography-body-secondary-dark'+ }+ `}+ onClick={() => setView('fileUpload')}+ >+ <p className="text-sm">Upload CSV</p>+ </div>+ <div+ className={`+ flex items-center justify-center w-1/2 p-2 cursor-pointer hover:bg-bg-secondary-light dark:hover:bg-bg-alt-dark+ transition ease-in-out duration-150+ ${+ view === 'pasteText'+ ? ' text-typography-body-light dark:text-typography-body-dark bg-bg-alt-light dark:bg-bg-alt-dark'+ : ' text-typography-body-secondary-light dark:text-typography-body-secondary-dark'+ }+ `}+ onClick={() => setView('pasteText')}+ >+ <p className="text-sm">Paste Text</p>+ </div>+ </div>++ {view === 'pasteText' ? (+ <SpreadSheetTextInput input={input} onInputChange={onInputChange} />+ ) : (+ <SpreadSheetFileUpload+ parseProgress={parseProgress}+ uploadedFile={uploadedFile}+ onFileUpload={onFileUpload}+ removeUploadedFile={removeUploadedFile}+ />+ )}+ </div>+ {spreadsheetData.headers.length > 0 && (+ <div className="py-5">+ <Typography.Text>+ <p>Content Preview</p>+ <p className="mt-2 text-sm">+ Your table will have {spreadsheetData.rowCount.toLocaleString()} rows and the+ following {spreadsheetData.headers.length} columns.+ </p>+ </Typography.Text>+ <div className="flex flex-wrap items-center mt-3">+ {spreadsheetData.headers.map((header: string) => (+ <Typography.Text key={`preview_${header}`}>+ <div className="rounded-md border dark:border-gray-500 border-dashed py-1 px-3 mr-2 mb-2 text-sm">+ {header}+ </div>+ </Typography.Text>+ ))}+ </div>+ </div>+ )}+ </SidePanel>+ )+}++export default SpreadsheetImportdiff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/SpreadsheetImport/SpreadsheetImport.utils.ts b/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/SpreadsheetImport/SpreadsheetImport.utils.tsnew file mode 100644index 00000000000..70d47ef9991--- /dev/null+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/SpreadsheetImport/SpreadsheetImport.utils.ts@@ -0,0 +1,70 @@+import Papa from 'papaparse'++const CHUNK_SIZE = 1024 * 1024 * 0.25 // 0.25MB++export const parseSpreadsheetText: any = (text: string) => {+ return new Promise((resolve) => {+ Papa.parse(text, {+ header: true,+ dynamicTyping: true,+ skipEmptyLines: true,+ complete: (results) => {+ const headers = results.meta.fields+ const rows = results.data+ const errors = results.errors+ resolve({ headers, rows, errors })+ },+ })+ })+}++/**+ * For SpreadsheetImport side panel+ * @param file File object (CSV or TSV)+ * @returns {Object<headers, rows, errors>}+ * headers: String[]+ * rows: any[]+ * errors: Object[]+ */+export const parseSpreadsheet = (file: File, onProgressUpdate: (progress: number) => void): any => {+ let headers: string[] = []+ let chunkNumber = 0+ let rowCount = 0+ const rowPreview: any[] = []+ const errors: any[] = []+ return new Promise((resolve) => {+ Papa.parse(file, {+ header: true,+ dynamicTyping: true,+ skipEmptyLines: true,+ worker: true,+ quoteChar: file.type === 'text/tab-separated-values' ? '' : '"',+ chunkSize: CHUNK_SIZE,+ chunk: (results) => {+ headers = results.meta.fields as string[]++ if (rowCount === 0) {+ rowPreview.push(...results.data.slice(0, 50))+ }++ rowCount += results.data.length++ if (results.errors.length > 0) {+ errors.push(...results.errors)+ }++ chunkNumber += 1+ const progress = (chunkNumber * CHUNK_SIZE) / file.size+ onProgressUpdate(progress > 1 ? 100 : Number((progress * 100).toFixed(2)))+ },+ complete: () => {+ const data = { headers, rowCount, rowPreview, errors }+ resolve(data)+ },+ })+ })+}++export const revertSpreadsheet = (headers: string[], rows: any[]) => {+ return Papa.unparse(rows, { columns: headers })+}diff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/TableEditor.constants.ts b/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/TableEditor.constants.tsnew file mode 100644index 00000000000..2bec836dff5--- /dev/null+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/TableEditor.constants.ts@@ -0,0 +1,31 @@+import { uuidv4 } from 'lib/helpers'+import { ColumnField } from '../SidePanelEditor.types'++export const DEFAULT_COLUMNS: ColumnField[] = [+ {+ id: uuidv4(),+ name: 'id',+ format: 'int8',+ defaultValue: '',+ foreignKey: undefined,+ isNullable: false,+ isUnique: false,+ isArray: false,+ isPrimaryKey: true,+ isIdentity: true,+ isNewColumn: true,+ },+ {+ id: uuidv4(),+ name: 'created_at',+ format: 'timestamptz',+ defaultValue: 'NOW()',+ foreignKey: undefined,+ isNullable: true,+ isUnique: false,+ isArray: false,+ isPrimaryKey: false,+ isIdentity: false,+ isNewColumn: true,+ },+]diff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/TableEditor.tsx b/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/TableEditor.tsxnew file mode 100644index 00000000000..66d22660099--- /dev/null+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/TableEditor.tsx@@ -0,0 +1,224 @@+import { FC, useEffect, useState } from 'react'+import { isUndefined, isEmpty } from 'lodash'+import { toast } from 'react-hot-toast'+import { Badge, Checkbox, Divider, SidePanel, Space, Input, Typography } from '@supabase/ui'+import { PostgresTable } from '@supabase/postgres-meta'++import ActionBar from '../ActionBar'+import HeaderTitle from './HeaderTitle'+import ColumnManagement from './ColumnManagement'+import SpreadsheetImport from './SpreadsheetImport/SpreadsheetImport'+import {+ ColumnField,+ EnumType,+ CreateTablePayload,+ UpdateTablePayload,+} from '../SidePanelEditor.types'+import { DEFAULT_COLUMNS } from './TableEditor.constants'+import { TableField, ImportContent } from './TableEditor.types'+import {+ validateFields,+ generateTableField,+ generateTableFieldFromPostgresTable,+ formatImportedContentToColumnFields,+} from './TableEditor.utils'++interface Props {+ table?: PostgresTable+ tables: PostgresTable[]+ enumTypes: EnumType[]+ selectedSchema: string+ isDuplicating: boolean+ visible: boolean+ closePanel: () => void+ saveChanges: (+ payload: any,+ columns: ColumnField[],+ isNewRecord: boolean,+ configuration: {+ tableId?: number+ importContent?: ImportContent+ isRLSEnabled: boolean+ isDuplicateRows: boolean+ },+ resolve: any+ ) => void+ updateEditorDirty: () => void+}++const TableEditor: FC<Props> = ({+ table,+ tables = [],+ enumTypes = [] as EnumType[],+ selectedSchema,+ isDuplicating,+ visible = false,+ closePanel = () => {},+ saveChanges = () => {},+ updateEditorDirty = () => {},+}) => {+ const isNewRecord = isUndefined(table)++ const [errors, setErrors] = useState<any>({})+ const [tableFields, setTableFields] = useState<TableField>()+ const [isDuplicateRows, setIsDuplicateRows] = useState<boolean>(false)+ const [importContent, setImportContent] = useState<ImportContent>()+ const [isImportingSpreadsheet, setIsImportingSpreadsheet] = useState<boolean>(false)++ useEffect(() => {+ if (visible) {+ setErrors({})+ setImportContent(undefined)+ setIsDuplicateRows(false)+ if (isNewRecord) {+ const tableFields = generateTableField()+ setTableFields(tableFields)+ } else {+ const tableFields = generateTableFieldFromPostgresTable(table!, isDuplicating)+ setTableFields(tableFields)+ }+ }+ }, [visible])++ useEffect(() => {+ if (importContent && !isEmpty(importContent)) {+ const importedColumns = formatImportedContentToColumnFields(importContent)+ onUpdateField({ columns: importedColumns })+ }+ }, [importContent])++ const onUpdateField = (changes: Partial<TableField>) => {+ const updatedTableFields = { ...tableFields, ...changes } as TableField+ setTableFields(updatedTableFields)+ updateEditorDirty()++ const updatedErrors = { ...errors }+ for (const key of Object.keys(changes)) {+ delete updatedErrors[key]+ }+ setErrors(updatedErrors)+ }++ const onSaveChanges = (resolve: any) => {+ if (tableFields) {+ const errors: any = validateFields(tableFields)+ if (errors.columns) toast.error(errors.columns)+ setErrors(errors)++ if (isEmpty(errors)) {+ const payload: CreateTablePayload | UpdateTablePayload = {+ name: tableFields.name,+ comment: tableFields.comment,+ ...(!isNewRecord && { rls_enabled: tableFields.isRLSEnabled }),+ }+ const configuration = {+ tableId: table?.id,+ importContent,+ isRLSEnabled: tableFields.isRLSEnabled,+ isDuplicateRows: isDuplicateRows,+ }+ saveChanges(payload, tableFields.columns, isNewRecord, configuration, resolve)+ } else {+ resolve()+ }+ }+ }++ if (!tableFields) return null++ return (+ <SidePanel+ wide+ key="TableEditor"+ visible={visible}+ // @ts-ignore+ title={<HeaderTitle table={table} isDuplicating={isDuplicating} />}+ className={`transition-all ease-in duration-100 ${isImportingSpreadsheet ? ' mr-32' : ''}`}+ onCancel={closePanel}+ onConfirm={(resolve: () => void) => onSaveChanges(resolve)}+ customFooter={+ <ActionBar+ backButtonLabel="Cancel"+ applyButtonLabel="Save"+ closePanel={closePanel}+ applyFunction={(resolve: () => void) => onSaveChanges(resolve)}+ />+ }+ >+ <Space direction="vertical" size={6} style={{ width: '100%' }}>+ <Input+ label="Name"+ layout="horizontal"+ type="text"+ error={errors.name}+ value={tableFields?.name}+ onChange={(event: any) => onUpdateField({ name: event.target.value })}+ />+ <Input+ label="Description"+ placeholder="Optional"+ layout="horizontal"+ type="text"+ value={tableFields?.comment ?? ''}+ onChange={(event: any) => onUpdateField({ comment: event.target.value })}+ />+ <div />+ <Checkbox+ id="enable-rls"+ // @ts-ignore+ label={+ <div className="flex items-center space-x-2">+ <Typography.Text>Enable Row Level Security (RLS)</Typography.Text>+ <Badge color="green">Recommended</Badge>+ </div>+ }+ description="Restrict access to your table by enabling RLS and writing Postgres policies"+ checked={tableFields?.isRLSEnabled}+ onChange={() => onUpdateField({ isRLSEnabled: !tableFields?.isRLSEnabled })}+ size="medium"+ />+ <Divider light />+ {!isDuplicating && (+ <ColumnManagement+ table={{ name: tableFields.name, schema: selectedSchema }}+ tables={tables}+ columns={tableFields?.columns}+ enumTypes={enumTypes}+ isNewRecord={isNewRecord}+ importContent={importContent}+ onColumnsUpdated={(columns) => onUpdateField({ columns })}+ onSelectImportData={() => setIsImportingSpreadsheet(true)}+ onClearImportContent={() => {+ onUpdateField({ columns: DEFAULT_COLUMNS })+ setImportContent(undefined)+ }}+ />+ )}+ {isDuplicating && (+ <>+ <Checkbox+ id="duplicate-rows"+ label="Duplicate table entries"+ description="This will copy all the data in the table into the new table"+ checked={isDuplicateRows}+ onChange={() => setIsDuplicateRows(!isDuplicateRows)}+ size="medium"+ />+ </>+ )}+ </Space>+ <SpreadsheetImport+ visible={isImportingSpreadsheet}+ headers={importContent?.headers}+ rows={importContent?.rows}+ saveContent={(prefillData: ImportContent) => {+ setImportContent(prefillData)+ setIsImportingSpreadsheet(false)+ }}+ closePanel={() => setIsImportingSpreadsheet(false)}+ />+ </SidePanel>+ )+}++export default TableEditordiff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/TableEditor.types.ts b/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/TableEditor.types.tsnew file mode 100644index 00000000000..42949bb7b1d--- /dev/null+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/TableEditor.types.ts@@ -0,0 +1,16 @@+import { ColumnField } from '../SidePanelEditor.types'++export interface TableField {+ id: number+ name: string+ comment?: string+ columns: ColumnField[]+ isRLSEnabled: boolean+}++export interface ImportContent {+ file: File+ headers: string[]+ rowCount: number+ rows: object[]+}diff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/TableEditor.utils.ts b/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/TableEditor.utils.tsnew file mode 100644index 00000000000..b7a0e4410e1--- /dev/null+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/TableEditor.utils.ts@@ -0,0 +1,108 @@+import { some, includes } from 'lodash'+import dayjs from 'dayjs'+import { PostgresColumn, PostgresTable } from '@supabase/postgres-meta'++import { tryParseJson } from 'lib/helpers'+import { ImportContent, TableField } from './TableEditor.types'+import { DEFAULT_COLUMNS } from './TableEditor.constants'+import { ColumnField } from '../SidePanelEditor.types'+import {+ generateColumnField,+ generateColumnFieldFromPostgresColumn,+} from '../ColumnEditor/ColumnEditor.utils'++export const validateFields = (field: TableField) => {+ const errors = {} as any+ if (field.name.length === 0) {+ errors['name'] = 'Please assign a name for your table'+ }+ if (some(field.columns, (column: ColumnField) => column.format.length === 0)) {+ errors['columns'] = 'Ensure that all your columns are assigned a type'+ }+ if (some(field.columns, (column: ColumnField) => column.name.length === 0)) {+ errors['columns'] = 'Ensure that all your columns are named'+ }+ return errors+}++export const generateTableField = (): TableField => {+ return {+ id: 0,+ name: '',+ comment: '',+ columns: DEFAULT_COLUMNS,+ isRLSEnabled: false,+ }+}++export const generateTableFieldFromPostgresTable = (+ table: PostgresTable,+ isDuplicating = false+): TableField => {+ return {+ id: table.id,+ name: isDuplicating ? `${table.name}_duplicate` : table.name,+ comment: isDuplicating ? `This is a duplicate of ${table.name}` : table?.comment ?? '',+ columns: table.columns.map((column: PostgresColumn) => {+ return generateColumnFieldFromPostgresColumn(column, table)+ }),+ isRLSEnabled: table.rls_enabled,+ }+}++export const formatImportedContentToColumnFields = (importContent: ImportContent) => {+ const columnFields = importContent.headers.map((header: string) => {+ const columnType = inferColumnType(header, importContent.rows)+ return generateColumnField({ name: header, format: columnType })+ })+ return columnFields+}++export const inferColumnType = (column: string, rows: object[]) => {+ // General strategy is to check the first row first, before checking across all the rows+ // to ensure uniformity in data type. Thinking we do this as an optimization instead of+ // checking all the rows up front.+ const columnData = (rows[0] as any)[column]+ const columnDataAcrossRows = rows.map((row: object) => (row as any)[column])++ // Unable to infer any type as there's no data, default to text+ if (!columnData) {+ return 'text'+ }++ // Infer numerical data type (defaults to either int8 or float8)+ if (Number(columnData)) {+ const columnNumberCheck = rows.map((row: object) => Number((row as any)[column]))+ if (columnNumberCheck.includes(NaN)) {+ return 'text'+ } else {+ const columnFloatCheck = columnNumberCheck.map((num: number) => num % 1)+ return columnFloatCheck.every((item) => item === 0) ? 'int8' : 'float8'+ }+ }++ // Infer boolean type+ if (includes(['true', 'false'], columnData.toLowerCase())) {+ const isAllBoolean = columnDataAcrossRows.every((item: any) =>+ includes(['true', 'false'], item.toLowerCase())+ )+ if (isAllBoolean) {+ return 'boolean'+ }+ }++ // Infer json type+ if (tryParseJson(columnData)) {+ const isAllJson = columnDataAcrossRows.every((item: any) => tryParseJson(columnData))+ if (isAllJson) {+ return 'jsonb'+ }+ }++ // Infer datetime type+ if (dayjs(columnData, 'YYYY-MM-DD hh:mm:ss').isValid() && Date.parse(columnData)) {+ return 'timestamptz'+ }++ return 'text'+}diff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/index.ts b/studio/components/interfaces/TableGridEditor/SidePanelEditor/index.tsnew file mode 100644index 00000000000..373f44921dd--- /dev/null+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/index.ts@@ -0,0 +1,8 @@+import SidePanelEditor from './SidePanelEditor'+import RowEditor from './RowEditor/RowEditor'+import ColumnEditor from './ColumnEditor/ColumnEditor'+import TableEditor from './TableEditor/TableEditor'+import ForeignKeySelector from './ForeignKeySelector/ForeignKeySelector'++export { RowEditor, ColumnEditor, TableEditor, ForeignKeySelector }+export default SidePanelEditordiff --git a/studio/components/interfaces/TableGridEditor/TableGridEditor.tsx b/studio/components/interfaces/TableGridEditor/TableGridEditor.tsxnew file mode 100644index 00000000000..9cc9e837410--- /dev/null+++ b/studio/components/interfaces/TableGridEditor/TableGridEditor.tsx@@ -0,0 +1,170 @@+import { FC, useRef } from 'react'+import { useRouter } from 'next/router'+import { observer } from 'mobx-react-lite'+import { isUndefined, find } from 'lodash'+import { SupabaseGrid, SupabaseGridRef, parseSupaTable, Dictionary } from '@supabase/grid'+import { PostgresTable, PostgresColumn } from '@supabase/postgres-meta'++import { useStore } from 'hooks'+import NotFoundState from './NotFoundState'+import GridHeaderActions from './GridHeaderActions'+import SidePanelEditor from './SidePanelEditor'+import { SchemaView } from 'components/layouts/TableEditorLayout/TableEditorLayout.types'++interface Props {+ /** Theme for the editor */+ theme?: 'dark' | 'light'++ selectedSchema?: string+ selectedTable: any // PostgresTable | SchemaView++ /** Determines what side panel editor to show */+ sidePanelKey?: 'row' | 'column' | 'table'+ /** Toggles if we're duplicating a table */+ isDuplicating: boolean+ /** Selected entities if we're editting a row, column or table */+ selectedRowToEdit?: Dictionary<any>+ selectedColumnToEdit?: PostgresColumn+ selectedTableToEdit?: PostgresTable++ onAddRow: () => void+ onEditRow: (row: Dictionary<any>) => void+ onAddColumn: () => void+ onEditColumn: (column: PostgresColumn) => void+ onDeleteColumn: (column: PostgresColumn) => void+ onClosePanel: () => void+}++const TableGridEditor: FC<Props> = ({+ theme = 'dark',++ selectedSchema,+ selectedTable,+ sidePanelKey,+ isDuplicating,+ selectedRowToEdit,+ selectedColumnToEdit,+ selectedTableToEdit,++ onAddRow = () => {},+ onEditRow = () => {},+ onAddColumn = () => {},+ onEditColumn = () => {},+ onDeleteColumn = () => {},+ onClosePanel = () => {},+}) => {+ const { meta, ui } = useStore()+ const router = useRouter()+ const gridRef = useRef<SupabaseGridRef>(null)+ const projectRef = ui.selectedProject?.ref++ if (isUndefined(selectedTable)) {+ return <NotFoundState id={Number(router.query.id)} />+ }++ const tableId = selectedTable?.id++ const isViewSelected = Object.keys(selectedTable).length === 2+ const gridTable = !isViewSelected+ ? parseSupaTable({+ table: selectedTable as PostgresTable,+ columns: (selectedTable as PostgresTable).columns,+ primaryKeys: (selectedTable as PostgresTable).primary_keys,+ relationships: (selectedTable as PostgresTable).relationships,+ })+ : (selectedTable as SchemaView).name++ const gridKey = `${selectedTable.schema}_${selectedTable.name}`++ const onRowCreated = (row: Dictionary<any>) => {+ if (gridRef.current) gridRef.current.rowAdded(row)+ }++ const onRowUpdated = (row: Dictionary<any>, idx: number) => {+ if (gridRef.current) gridRef.current.rowEdited(row, idx)+ }++ const onTableCreated = (table: PostgresTable) => {+ router.push(`/project/${projectRef}/editor/${table.id}`)+ }++ const onSqlQuery = async (query: string) => {+ const res = await meta.query(query)+ if (res.error) {+ return { error: res.error }+ } else {+ return { data: res }+ }+ }++ const onSelectEditColumn = async (name: string) => {+ // For some reason, selectedTable here is stale after adding a table+ // temporary workaround is to list grab the selected table again+ const tables: PostgresTable[] = meta.tables.list()+ const table = tables.find((table) => table.id === Number(tableId))+ const column = find(table!.columns, { name }) as PostgresColumn+ if (column) {+ onEditColumn(column)+ } else {+ console.error(`Unable to find column ${name} in ${table?.name}`)+ }+ }++ const onSelectDeleteColumn = async (name: string) => {+ // For some reason, selectedTable here is stale after adding a table+ // temporary workaround is to list grab the selected table again+ const tables: PostgresTable[] = meta.tables.list()+ const table = tables.find((table) => table.id === Number(tableId))+ const column = find(table!.columns, { name }) as PostgresColumn+ onDeleteColumn(column)+ }++ const onError = (error: any) => {+ ui.setNotification({+ category: 'error',+ message: error?.details ?? error?.message ?? error,+ })+ }++ return (+ <>+ <SupabaseGrid+ key={gridKey}+ ref={gridRef}+ theme={theme}+ gridProps={{ height: '100%' }}+ storageRef={projectRef}+ editable={!isViewSelected && selectedTable.schema === 'public'}+ schema={selectedTable.schema}+ table={gridTable}+ headerActions={+ !isViewSelected && <GridHeaderActions table={selectedTable as PostgresTable} />+ }+ onAddColumn={onAddColumn}+ onEditColumn={onSelectEditColumn}+ onDeleteColumn={onSelectDeleteColumn}+ onAddRow={onAddRow}+ onEditRow={onEditRow}+ onError={onError}+ onSqlQuery={onSqlQuery}+ />+ {!isUndefined(selectedSchema) && (+ <SidePanelEditor+ selectedSchema={selectedSchema}+ isDuplicating={isDuplicating}+ selectedTable={selectedTable as PostgresTable}+ selectedRowToEdit={selectedRowToEdit}+ selectedColumnToEdit={selectedColumnToEdit}+ selectedTableToEdit={selectedTableToEdit}+ sidePanelKey={sidePanelKey}+ onRowCreated={onRowCreated}+ onRowUpdated={onRowUpdated}+ onTableCreated={onTableCreated}+ closePanel={onClosePanel}+ />+ )}+ </>+ )+}++export default observer(TableGridEditor)diff --git a/studio/components/interfaces/TableGridEditor/index.ts b/studio/components/interfaces/TableGridEditor/index.tsnew file mode 100644index 00000000000..10414d79b9c--- /dev/null+++ b/studio/components/interfaces/TableGridEditor/index.ts@@ -0,0 +1,6 @@+import TableGridEditor from './TableGridEditor'+import SidePanelEditor from './SidePanelEditor'+import EmptyState from './EmptyState'++export { EmptyState, SidePanelEditor }+export default TableGridEditordiff --git a/studio/components/interfaces/index.ts b/studio/components/interfaces/index.tsnew file mode 100644index 00000000000..3f7c43da567--- /dev/null+++ b/studio/components/interfaces/index.ts@@ -0,0 +1,4 @@+import TableGridEditor from './TableGridEditor'+import SQLEditor from './SQLEditor'++export { TableGridEditor, SQLEditor }diff --git a/studio/components/layouts/AccountLayout.tsx b/studio/components/layouts/AccountLayout.tsxnew file mode 100644index 00000000000..b2fece0e713--- /dev/null+++ b/studio/components/layouts/AccountLayout.tsx@@ -0,0 +1,123 @@+import Head from 'next/head'+import { useRouter } from 'next/router'+import { observer } from 'mobx-react-lite'++import { API_URL, IS_PLATFORM } from 'lib/constants'+import { useStore } from 'hooks'+import WithSidebar from 'components/layouts/WithSidebar'++/**+ * layout for dashboard homepage, account and org settings+ *+ * @param {String} title+ * @param {JSX.Element|JSX.Element[]} children+ * @param {Array<Object>} breadcrumbs+ */++const AccountLayout = ({ children, title, breadcrumbs }: any) => {+ const router = useRouter()++ const { app, ui } = useStore()++ const organizationsLinks = app.organizations+ .list()+ .map((x: any) => ({+ isActive: router.pathname.startsWith('/org/') && ui.selectedOrganization?.slug == x.slug,+ label: x.name,+ href: '/org/[slug]/settings',+ as: `/org/${x.slug}/settings`,+ }))+ .sort((a, b) => a.label.localeCompare(b.label))++ let linksWithHeaders = [+ {+ heading: 'Projects',+ links: [+ {+ isActive: router.pathname == '/',+ label: 'All projects',+ href: '/',+ as: `/`,+ },+ ],+ },+ ...(IS_PLATFORM+ ? [+ {+ heading: 'Organizations',+ links: organizationsLinks,+ },+ ]+ : []),+ ...(IS_PLATFORM+ ? [+ {+ heading: 'Account',+ links: [+ {+ isActive: router.pathname == `/account/me`,+ icon: '/img/user.svg',+ label: 'Preferences',+ href: `/account/me`,+ key: `/account/me`,+ },+ {+ icon: '/img/power.svg',+ label: 'Logout',+ href: `${API_URL}/logout`,+ key: `${API_URL}/logout`,+ },+ ],+ },+ ]+ : []),+ {+ heading: 'Documentation',+ links: [+ {+ key: 'ext-guides',+ icon: '/img/book.svg',+ label: 'Guides',+ href: 'https://supabase.io/docs',+ external: true,+ },+ {+ key: 'ext-guides',+ icon: '/img/book-open.svg',+ label: 'API Reference',+ href: 'https://supabase.io/docs/client/supabase-client',+ external: true,+ },+ ],+ },+ ]+ if (!organizationsLinks?.length)+ linksWithHeaders = linksWithHeaders.filter((x: any) => x.heading != 'Organizations')+ return (+ <>+ <Head>+ <title>{title ? `${title} | Supabase` : 'Supabase'}</title>+ <meta name="description" content="Supabase Studio" />+ <link rel="icon" href="/favicon.ico" />+ </Head>+ <div className="flex h-full">+ <main+ style={{ maxHeight: '100vh' }}+ className="w-full flex flex-col flex-1 overflow-y-auto"+ >+ {/* @ts-ignore */}+ <WithSidebar+ breadcrumbs={breadcrumbs}+ links={linksWithHeaders}+ title={title}+ hideIconSidebar+ >+ {children}+ </WithSidebar>+ </main>+ </div>+ </>+ )+}++export default observer(AccountLayout)diff --git a/studio/components/layouts/AuthLayout/AuthLayout.tsx b/studio/components/layouts/AuthLayout/AuthLayout.tsxnew file mode 100644index 00000000000..f77c36cf106--- /dev/null+++ b/studio/components/layouts/AuthLayout/AuthLayout.tsx@@ -0,0 +1,59 @@+import { FC, ReactNode, useState, useEffect } from 'react'+import { observer } from 'mobx-react-lite'+import { useRouter } from 'next/router'++import { useStore } from 'hooks'+import BaseLayout from '../'+import Error from 'components/ui/Error'+import ProductMenu from 'components/ui/ProductMenu'+import { generateAuthMenu } from './AuthLayout.utils'++interface Props {+ title?: string+ children: ReactNode+}++const AuthLayout: FC<Props> = ({ title, children }) => {+ const { ui, meta } = useStore()+ const { isLoading, error } = meta.tables+ const projectRef = ui.selectedProject?.ref ?? 'default'++ const router = useRouter()+ const page = router.pathname.split('/')[4]++ const [loaded, setLoaded] = useState<boolean>(false)++ useEffect(() => {+ // I think we should just shift the loading of things into the page level+ meta.tables.load()+ }, [])++ useEffect(() => {+ if (!isLoading && !loaded) {+ setLoaded(true)+ }+ }, [isLoading])++ if (error) {+ return (+ <BaseLayout>+ <Error error={error} />+ </BaseLayout>+ )+ }++ return (+ <BaseLayout+ isLoading={!loaded}+ title={title || 'Authentication'}+ product="Authentication"+ productMenu={<ProductMenu page={page} menu={generateAuthMenu(projectRef)} />}+ >+ <main style={{ maxHeight: '100vh' }} className="flex-1 overflow-y-auto">+ {children}+ </main>+ </BaseLayout>+ )+}++export default observer(AuthLayout)diff --git a/studio/components/layouts/AuthLayout/AuthLayout.utils.ts b/studio/components/layouts/AuthLayout/AuthLayout.utils.tsnew file mode 100644index 00000000000..cad98e21b33--- /dev/null+++ b/studio/components/layouts/AuthLayout/AuthLayout.utils.ts@@ -0,0 +1,32 @@+import { IS_PLATFORM } from 'lib/constants'+import { ProductMenuGroup } from 'components/ui/ProductMenu/ProductMenu.types'++export const generateAuthMenu = (ref: string): ProductMenuGroup[] => {+ if (IS_PLATFORM) {+ return [+ {+ title: 'General',+ items: [+ { name: 'Users', key: 'users', url: `/project/${ref}/auth/users`, items: [] },+ { name: 'Policies', key: 'policies', url: `/project/${ref}/auth/policies`, items: [] },+ { name: 'Templates', key: 'templates', url: `/project/${ref}/auth/templates`, items: [] },+ ],+ },+ {+ title: 'Configuration',+ items: [+ { name: 'Settings', key: 'settings', url: `/project/${ref}/auth/settings`, items: [] },+ ],+ },+ ]+ }++ return [+ {+ title: 'General',+ items: [+ { name: 'Policies', key: 'policies', url: `/project/${ref}/auth/policies`, items: [] },+ ],+ },+ ]+}diff --git a/studio/components/layouts/DatabaseLayout/DatabaseLayout.tsx b/studio/components/layouts/DatabaseLayout/DatabaseLayout.tsxnew file mode 100644index 00000000000..3cd4ccddd72--- /dev/null+++ b/studio/components/layouts/DatabaseLayout/DatabaseLayout.tsx@@ -0,0 +1,64 @@+import { FC, ReactNode, useEffect, useState } from 'react'+import { observer } from 'mobx-react-lite'+import { useRouter } from 'next/router'++import { useStore } from 'hooks'+import BaseLayout from '../'+import Error from 'components/ui/Error'+import ProductMenu from 'components/ui/ProductMenu'+import { generateDatabaseMenu } from './DatabaseMenu.utils'++interface Props {+ title?: string+ children: ReactNode+}++const DatabaseLayout: FC<Props> = ({ title, children }) => {+ const { meta, ui } = useStore()+ const { isLoading, error } = meta.tables+ const project = ui.selectedProject++ const router = useRouter()+ const page = router.pathname.split('/')[4]++ const [loaded, setLoaded] = useState<boolean>(false)++ useEffect(() => {+ // Eventually should only load the required stores based on the pages+ meta.schemas.load()+ meta.tables.load()++ meta.roles.load()+ meta.triggers.load()+ meta.extensions.load()+ meta.publications.load()+ }, [])++ useEffect(() => {+ if (!isLoading && !loaded) {+ setLoaded(true)+ }+ }, [isLoading])++ if (error) {+ return (+ <BaseLayout>+ <Error error={error} />+ </BaseLayout>+ )+ }++ return (+ <BaseLayout+ isLoading={!loaded}+ product="Database"+ productMenu={<ProductMenu page={page} menu={generateDatabaseMenu(project)} />}+ >+ <main style={{ maxHeight: '100vh' }} className="flex-1 overflow-y-auto">+ {children}+ </main>+ </BaseLayout>+ )+}++export default observer(DatabaseLayout)diff --git a/studio/components/layouts/DatabaseLayout/DatabaseMenu.utils.ts b/studio/components/layouts/DatabaseLayout/DatabaseMenu.utils.tsnew file mode 100644index 00000000000..2958897123d--- /dev/null+++ b/studio/components/layouts/DatabaseLayout/DatabaseMenu.utils.ts@@ -0,0 +1,85 @@+import { Project } from 'types'+import { IS_PLATFORM } from 'lib/constants'+import { ProductMenuGroup } from 'components/ui/ProductMenu/ProductMenu.types'++export const generateDatabaseMenu = (project?: Project): ProductMenuGroup[] => {+ const ref = project?.ref ?? 'default'++ const HOOKS_RELEASED = '2021-07-30T15:33:54.383Z'+ const showHooksRoute = project?.inserted_at ? project.inserted_at > HOOKS_RELEASED : false++ return [+ {+ title: 'Database',+ items: [+ { name: 'Tables', key: 'tables', url: `/project/${ref}/database/tables`, items: [] },+ { name: 'Roles', key: 'roles', url: `/project/${ref}/database/roles`, items: [] },+ {+ name: 'Extensions',+ key: 'extensions',+ url: `/project/${ref}/database/extensions`,+ items: [],+ },+ {+ name: 'Replication',+ key: 'replication',+ url: `/project/${ref}/database/replication`,+ items: [],+ },+ ],+ },+ ...(IS_PLATFORM+ ? [+ {+ title: 'Settings',+ items: [+ {+ name: 'Backups',+ key: 'backups',+ url: `/project/${ref}/database/backups`,+ items: [],+ },+ {+ name: 'Connection Pooling',+ key: 'pooling',+ url: `/project/${ref}/database/pooling`,+ items: [],+ },+ ],+ },+ ]+ : []),+ ...(IS_PLATFORM+ ? [+ {+ title: 'Alpha Preview',+ isPreview: true,+ items: [+ {+ name: 'Triggers',+ key: 'triggers',+ url: `/project/${ref}/database/triggers`,+ items: [],+ },+ {+ name: 'Functions',+ key: 'functions',+ url: `/project/${ref}/database/functions`,+ items: [],+ },+ ...(showHooksRoute+ ? [+ {+ name: 'Function Hooks',+ key: 'hooks',+ url: `/project/${ref}/database/hooks`,+ items: [],+ },+ ]+ : []),+ ],+ },+ ]+ : []),+ ]+}diff --git a/studio/components/layouts/DocsLayout/DocsLayout.tsx b/studio/components/layouts/DocsLayout/DocsLayout.tsxnew file mode 100644index 00000000000..ab09e77ad7c--- /dev/null+++ b/studio/components/layouts/DocsLayout/DocsLayout.tsx@@ -0,0 +1,42 @@+import { ReactElement, useEffect } from 'react'+import { observer } from 'mobx-react-lite'++import { useStore } from 'hooks'+import Error from 'components/ui/Error'+import ProductMenu from 'components/ui/ProductMenu'+import ProjectLayout from 'components/layouts/ProjectLayout/ProjectLayout'+import { generateDocsMenu } from './DocsLayout.utils'++function DocsLayout({ title, children }: { title: string; children: ReactElement }) {+ const { meta, ui } = useStore()+ const { data, isLoading, error } = meta.openApi++ useEffect(() => {+ meta.openApi.load()+ }, [])++ if (error) {+ return (+ <ProjectLayout>+ <Error error={error} />+ </ProjectLayout>+ )+ }++ const projectRef = ui.selectedProject?.ref ?? 'default'+ const tableNames = (data?.tables ?? []).map((table: any) => table.name)+ const functionNames = (data?.functions ?? []).map((fn: any) => fn.name)++ return (+ <ProjectLayout+ title={title || 'API Docs'}+ isLoading={isLoading}+ product="API Docs"+ productMenu={<ProductMenu menu={generateDocsMenu(projectRef, tableNames, functionNames)} />}+ >+ {children}+ </ProjectLayout>+ )+}++export default observer(DocsLayout)diff --git a/studio/components/layouts/DocsLayout/DocsLayout.utils.tsx b/studio/components/layouts/DocsLayout/DocsLayout.utils.tsxnew file mode 100644index 00000000000..1995975a040--- /dev/null+++ b/studio/components/layouts/DocsLayout/DocsLayout.utils.tsx@@ -0,0 +1,83 @@+import { ProductMenuGroup } from 'components/ui/ProductMenu/ProductMenu.types'+import { IconBook, IconBookOpen } from '@supabase/ui'++export const generateDocsMenu = (+ ref: string,+ tables: string[],+ functions: string[]+): ProductMenuGroup[] => {+ return [+ {+ title: 'Getting Started',+ items: [+ { name: 'Introduction', key: 'introduction', url: `/project/${ref}/api`, items: [] },+ {+ name: 'Authentication',+ key: 'authentication',+ url: `/project/${ref}/api?page=auth`,+ items: [],+ },+ {+ name: 'User Management',+ key: 'user-management',+ url: `/project/${ref}/api?page=users`,+ items: [],+ },+ ],+ },+ {+ title: 'Tables and Views',+ items: [+ {+ name: 'Introduction',+ key: 'tables-introduction',+ url: `/project/${ref}/api?page=tables-intro`,+ items: [],+ },+ ...tables.map((table) => {+ return {+ name: table,+ key: table,+ url: `/project/${ref}/api?resource=${table}`,+ items: [],+ }+ }),+ ],+ },+ {+ title: 'Stored Procedures',+ items: [+ {+ name: 'Introduction',+ key: 'sp-introduction',+ url: `/project/${ref}/api?page=rpc-intro`,+ items: [],+ },+ ...functions.map((fn) => {+ return { name: fn, key: fn, url: `/project/${ref}/api?rpc=${fn}`, items: [] }+ }),+ ],+ },+ {+ title: 'More Resources',+ items: [+ {+ name: 'Guides',+ key: 'guides',+ url: `https://supabase.io/docs`,+ icon: <IconBook size={14} strokeWidth={2} />,+ items: [],+ isExternal: true,+ },+ {+ name: 'API Reference',+ key: 'api-reference',+ url: `https://supabase.io/docs/client/supabase-client`,+ icon: <IconBookOpen size={14} strokeWidth={2} />,+ items: [],+ isExternal: true,+ },+ ],+ },+ ]+}diff --git a/studio/components/layouts/ProjectLayout/LayoutHeader/BreadcrumbsView.tsx b/studio/components/layouts/ProjectLayout/LayoutHeader/BreadcrumbsView.tsxnew file mode 100644index 00000000000..89ead5b5ac6--- /dev/null+++ b/studio/components/layouts/ProjectLayout/LayoutHeader/BreadcrumbsView.tsx@@ -0,0 +1,35 @@+import { FC, Fragment } from 'react'+import { observer } from 'mobx-react-lite'+import { Typography, IconChevronRight } from '@supabase/ui'++interface Props {+ defaultValue: any+}++const BreadcrumbsView: FC<Props> = ({ defaultValue: breadcrumbs }) => {+ return (+ <>+ {breadcrumbs?.length+ ? breadcrumbs.map((breadcrumb: any) => (+ <Fragment key={breadcrumb.key}>+ <Typography.Text type="secondary" className="mx-2 ">+ <IconChevronRight size="small" />+ </Typography.Text>+ <Typography.Text>+ <a+ onClick={breadcrumb.onClick || (() => {})}+ className={`block px-2 py-1 text-sm leading-5 text-gray-400 focus:outline-none focus:bg-gray-100 focus:text-gray-900 ${+ breadcrumb.onClick ? 'cursor-pointer hover:text-white' : ''+ }`}+ >+ {breadcrumb.label}+ </a>+ </Typography.Text>+ </Fragment>+ ))+ : null}+ </>+ )+}++export default observer(BreadcrumbsView)diff --git a/studio/components/layouts/ProjectLayout/LayoutHeader/FeedbackDropdown/FeedbackDropdown.tsx b/studio/components/layouts/ProjectLayout/LayoutHeader/FeedbackDropdown/FeedbackDropdown.tsxnew file mode 100644index 00000000000..b7139a6ee0b--- /dev/null+++ b/studio/components/layouts/ProjectLayout/LayoutHeader/FeedbackDropdown/FeedbackDropdown.tsx@@ -0,0 +1,53 @@+import { useState } from 'react'+import { Transition } from '@headlessui/react'+import { Button, IconMessageCircle } from '@supabase/ui'++import { clickOutsideListener } from 'hooks'+import FeedbackWidget from './FeedbackWidget'++const FeedbackDropdown = () => {+ const [isOpen, setIsOpen] = useState(false)+ const [feedback, setFeedback] = useState('')+ const [category, setCategory] = useState('Feedback')++ const clickContainerRef = clickOutsideListener(() => {+ if (isOpen) setIsOpen(false)+ })++ function onOpen() {+ setIsOpen((isOpen) => !isOpen)+ }++ return (+ <div ref={clickContainerRef} className="relative inline-block text-left mr-1">+ <div>+ <Button+ onClick={onOpen}+ type="default"+ icon={<IconMessageCircle size={16} strokeWidth={2} />}+ >+ Feedback on this page?+ </Button>+ </div>+ <Transition+ show={isOpen}+ enter="transition ease-out duration-100"+ enterFrom="transform opacity-0 scale-95"+ enterTo="transform opacity-100 scale-100"+ leave="transition ease-in duration-75"+ leaveFrom="transform opacity-100 scale-100"+ leaveTo="transform opacity-0 scale-95"+ >+ <FeedbackWidget+ onClose={() => setIsOpen(false)}+ setFeedback={setFeedback}+ feedback={feedback}+ category={category}+ setCategory={setCategory}+ />+ </Transition>+ </div>+ )+}++export default FeedbackDropdowndiff --git a/studio/components/layouts/ProjectLayout/LayoutHeader/FeedbackDropdown/FeedbackWidget.tsx b/studio/components/layouts/ProjectLayout/LayoutHeader/FeedbackDropdown/FeedbackWidget.tsxnew file mode 100644index 00000000000..50087579174--- /dev/null+++ b/studio/components/layouts/ProjectLayout/LayoutHeader/FeedbackDropdown/FeedbackWidget.tsx@@ -0,0 +1,94 @@+import { useState, useEffect, useRef } from 'react'+import Link from 'next/link'+import { useRouter } from 'next/router'+import { toast } from 'react-hot-toast'+import { Button, Typography, Divider } from '@supabase/ui'++import { post } from 'lib/common/fetch'+import { API_URL } from 'lib/constants'++const FeedbackWidget = ({ onClose, feedback, setFeedback, category, setCategory }: any) => {+ const inputRef = useRef(null)+ const router = useRouter()+ const { ref } = router.query+ const [isSending, setSending] = useState(false)++ useEffect(() => {+ ;(inputRef?.current as any)?.focus()+ }, [inputRef])++ function onFeedbackChange(e: any) {+ setFeedback(e.target.value)+ }++ function onCancel() {+ onClose()+ }++ const sendFeedback = async () => {+ if (feedback.length) {+ setSending(true)+ await post(`${API_URL}/feedback/send`, {+ message: feedback,+ pathname: router.asPath,+ category: 'Feedback',+ projectRef: ref,+ tags: ['dashboard-feedback'],+ })+ setSending(false)+ setFeedback('')+ toast.success(`Feedback sent. Thank you!`)+ }++ return onClose()+ }++ return (+ <div className="absolute origin-top-right right-0 mt-1 w-80 rounded-md shadow-lg z-50">+ <div className="rounded-md border dark:border-dark bg-bg-primary-light dark:bg-bg-alt-dark">+ <div className="p-3">+ <textarea+ placeholder="Ideas on how to improve this page. Use the Support Form for technical issues."+ rows={4}+ ref={inputRef}+ value={feedback}+ className="mb-0"+ onChange={onFeedbackChange}+ />+ </div>+ <Divider />+ <div className="p-3 space-y-4 bg-bg-alt-light dark:bg-bg-alt-dark">+ <div className="flex justify-between space-x-2">+ <Button type="secondary" onClick={onCancel} className="hover:border-gray-500">+ Cancel+ </Button>+ <Button disabled={isSending} loading={isSending} onClick={sendFeedback}>+ Send feedback+ </Button>+ </div>+ <div>+ <Typography.Text small type="secondary">+ <p>+ Have a technical issue? Contact{' '}+ <Link href="/support/new">+ <span className="cursor-pointer transition-colors text-green-600 hover:text-green-700">+ Supabase Support+ </span>+ </Link>{' '}+ or{' '}+ <a href="https://supabase.com/docs" target="_blank">+ <span className="cursor-pointer transition-colors text-green-600 hover:text-green-700">+ browse our docs+ </span>+ </a>{' '}+ .+ </p>+ </Typography.Text>+ </div>+ </div>+ </div>+ </div>+ )+}++export default FeedbackWidgetdiff --git a/studio/components/layouts/ProjectLayout/LayoutHeader/FeedbackDropdown/index.ts b/studio/components/layouts/ProjectLayout/LayoutHeader/FeedbackDropdown/index.tsnew file mode 100644index 00000000000..c4d782a81b4--- /dev/null+++ b/studio/components/layouts/ProjectLayout/LayoutHeader/FeedbackDropdown/index.ts@@ -0,0 +1,3 @@+import FeedbackDropdown from './FeedbackDropdown'++export default FeedbackDropdowndiff --git a/studio/components/layouts/ProjectLayout/LayoutHeader/HelpPopover.tsx b/studio/components/layouts/ProjectLayout/LayoutHeader/HelpPopover.tsxnew file mode 100644index 00000000000..a0d6b8df99c--- /dev/null+++ b/studio/components/layouts/ProjectLayout/LayoutHeader/HelpPopover.tsx@@ -0,0 +1,118 @@+import {+ Button,+ Divider,+ IconHelpCircle,+ IconMail,+ IconMessageCircle,+ Popover,+ Typography,+} from '@supabase/ui'+import { FC } from 'react'+import Link from 'next/link'+import Image from 'next/image'++import SVG from 'react-inlinesvg'++interface Props {}++const HelpPopover: FC<Props> = () => {+ return (+ <Popover+ className="w-80"+ align="end"+ side="bottom"+ sideOffset={8}+ overlay={+ <div className="space-y-4 my-4">+ <div className="px-5 space-y-4 my-5">+ <Typography.Title level={5} className={'mb-2'}>+ Need help with your project?+ </Typography.Title>+ <Typography.Text type="secondary" small>+ <p>+ For issues with your project hosted on supabase.io, or other inquiries about our+ hosted services.+ </p>+ </Typography.Text>+ <Link href="/support/new">+ <Button className="sbui-default-button--dark-white" icon={<IconMail />}>+ Contact support team+ </Button>+ </Link>+ <Typography.Text type="secondary" small className="block opacity-50">+ Expected response time is based on your billing tier. Pro and Pay as You Go plans are+ prioritised.+ </Typography.Text>+ </div>+ <Divider light />+ <div className="space-y-2 mb-4">+ <div className="px-5 mb-4">+ <Typography.Title level={5} className={'mb-2'}>+ Reach out to the community+ </Typography.Title>+ <Typography.Text type="secondary" small className={'block mb-2'}>+ <p>+ For other support, including questions on our client libraries, advice, or best+ practices.+ </p>+ </Typography.Text>+ </div>+ <div className="px-5">+ <div+ className="relative px-5 py-4 pb-12 rounded overflow-hidden space-y-2 shadow-md"+ style={{ background: '#404EED' }}+ >+ <Image+ className="absolute left-0 top-0 opacity-50"+ src={'/img/support/discord-bg-small.jpg'}+ layout="fill"+ objectFit="cover"+ alt="discord illustration header"+ />+ <a+ href="https://discord.com/invite/AYybku5cUz"+ target="_blank"+ className="block cursor-pointer"+ >+ <Button+ className="sbui-default-button--dark-white"+ type="default"+ icon={<SVG src={`/img/discord-icon.svg`} className="w-4 h-4" />}+ >+ <span style={{ color: '#404EED' }}>Join Discord server</span>+ </Button>+ </a>+ </div>+ </div>+ <div className="px-5">+ <div className="relative px-5 py-4 pb-12 rounded overflow-hidden space-y-2 shadow-md">+ <a+ href="https://github.com/supabase/supabase/discussions"+ target="_blank"+ className="block cursor-pointer"+ >+ <Image+ className="absolute left-0 top-0 opacity-50"+ src={'/img/support/github-bg.jpg?v-1'}+ layout="fill"+ objectFit="cover"+ alt="discord illustration header"+ />+ <Button type="default" icon={<IconMessageCircle />}>+ GitHub Discussions+ </Button>+ </a>+ </div>+ </div>+ </div>+ </div>+ }+ >+ <Button as="span" type="text" icon={<IconHelpCircle size={16} strokeWidth={2} />}>+ Help+ </Button>+ </Popover>+ )+}++export default HelpPopoverdiff --git a/studio/components/layouts/ProjectLayout/LayoutHeader/LayoutHeader.tsx b/studio/components/layouts/ProjectLayout/LayoutHeader/LayoutHeader.tsxnew file mode 100644index 00000000000..25ecc09d1ce--- /dev/null+++ b/studio/components/layouts/ProjectLayout/LayoutHeader/LayoutHeader.tsx@@ -0,0 +1,63 @@+import { observer } from 'mobx-react-lite'+import Link from 'next/link'+import { IconChevronRight, Typography } from '@supabase/ui'++import { IS_PLATFORM } from 'lib/constants'+import { useStore } from 'hooks'+import BreadcrumbsView from './BreadcrumbsView'+import OrgDropdown from './OrgDropdown'+import ProjectDropdown from './ProjectDropdown'+import FeedbackDropdown from './FeedbackDropdown'+import HelpPopover from './HelpPopover'++const LayoutHeader = ({ customHeaderComponents, breadcrumbs = [], headerBorder = true }: any) => {+ const { ui } = useStore()+ const { selectedOrganization, selectedProject } = ui++ return (+ <div className={`p-2 max-h-12 h-12 ${headerBorder ? 'border-b dark:border-dark' : ''}`}>+ <div className="PageHeader">+ <div className="Breadcrumbs flex justify-between">+ <div className="text-sm flex items-center">+ {/* Organization is selected */}+ {selectedOrganization ? (+ <>+ {/* Org Dropdown */}+ <OrgDropdown />++ {/* Project is selected */}+ {selectedProject && (+ <>+ <Typography.Text className="mx-2 ">+ <IconChevronRight size="tiny" strokeWidth={1} />+ </Typography.Text>+ {/* Project Dropdown */}+ <ProjectDropdown />+ </>+ )}+ </>+ ) : (+ <Typography.Text small className="mx-2">+ <Link as="/" href="/">+ <a+ className={`block px-2 py-1 focus:outline-none focus:bg-transparent cursor-pointer dark:hover:text-white`}+ >+ Supabase+ </a>+ </Link>+ </Typography.Text>+ )}+ {/* Additional breadcrumbs are supplied */}+ <BreadcrumbsView defaultValue={breadcrumbs} />+ </div>+ <div className="flex space-x-2">+ {customHeaderComponents && customHeaderComponents}+ {IS_PLATFORM && <HelpPopover />}+ {IS_PLATFORM && <FeedbackDropdown />}+ </div>+ </div>+ </div>+ </div>+ )+}+export default observer(LayoutHeader)diff --git a/studio/components/layouts/ProjectLayout/LayoutHeader/OrgDropdown.tsx b/studio/components/layouts/ProjectLayout/LayoutHeader/OrgDropdown.tsxnew file mode 100644index 00000000000..058233f8670--- /dev/null+++ b/studio/components/layouts/ProjectLayout/LayoutHeader/OrgDropdown.tsx@@ -0,0 +1,46 @@+import { useRouter } from 'next/router'+import { observer } from 'mobx-react-lite'+import { Button, Dropdown, Divider, IconPlus } from '@supabase/ui'++import { useStore } from 'hooks'+import { IS_PLATFORM } from 'lib/constants'++const OrgDropdown = () => {+ const router = useRouter()+ const { app, ui } = useStore()++ const sortedOrganizations: any[] = app.organizations.list()+ const selectedOrganization: any = ui.selectedOrganization++ return IS_PLATFORM ? (+ <Dropdown+ side="bottom"+ align="start"+ overlay={+ <>+ {sortedOrganizations+ .sort((a, b) => a.name.localeCompare(b.name))+ .map((x) => (+ <Dropdown.Item key={x.slug} onClick={() => router.push(`/org/${x.slug}/settings`)}>+ {x.name}+ </Dropdown.Item>+ ))}+ <Divider light />+ <Dropdown.Item icon={<IconPlus size="tiny" />} onClick={() => router.push(`/new`)}>+ New organization+ </Dropdown.Item>+ </>+ }+ >+ <Button as="span" type="text" size="tiny">+ {selectedOrganization.name}+ </Button>+ </Dropdown>+ ) : (+ <Button as="span" type="text" size="tiny">+ {selectedOrganization.name}+ </Button>+ )+}++export default observer(OrgDropdown)diff --git a/studio/components/layouts/ProjectLayout/LayoutHeader/ProjectDropdown.tsx b/studio/components/layouts/ProjectLayout/LayoutHeader/ProjectDropdown.tsxnew file mode 100644index 00000000000..73d4d488e6a--- /dev/null+++ b/studio/components/layouts/ProjectLayout/LayoutHeader/ProjectDropdown.tsx@@ -0,0 +1,54 @@+import Link from 'next/link'+import { observer } from 'mobx-react-lite'+import { Button, Dropdown, Divider, IconPlus } from '@supabase/ui'++import { useStore } from 'hooks'+import { IS_PLATFORM, PROJECT_STATUS } from 'lib/constants'++const ProjectDropdown = () => {+ const { app, ui } = useStore()+ const selectedOrganizationProjects = app.projects.list()+ const selectedOrganizationSlug = ui.selectedOrganization?.slug+ const selectedProject: any = ui.selectedProject++ // [Joshen] If let's say we want to support changing projects to retain sub-route+ // const currentSubRoute = router.route.split('/[ref]/')[1] || ''+ // But need to ensure that pages update correctly when the project ref changes++ return IS_PLATFORM ? (+ <Dropdown+ side="bottom"+ align="start"+ overlay={+ <>+ {selectedOrganizationProjects+ .filter((x: any) => x.status !== PROJECT_STATUS.INACTIVE)+ .sort((a: any, b: any) => a.name.localeCompare(b.name))+ .map((x: any) => (+ <Link key={x.ref} href={`/project/${x.ref}`}>+ <a className="block">+ <Dropdown.Item>{x.name}</Dropdown.Item>+ </a>+ </Link>+ ))}+ <Divider light />+ <Link href={`/new/${selectedOrganizationSlug}`}>+ <a className="block">+ <Dropdown.Item icon={<IconPlus size="tiny" />}>New project</Dropdown.Item>+ </a>+ </Link>+ </>+ }+ >+ <Button as="span" type="text" size="tiny">+ {selectedProject.name}+ </Button>+ </Dropdown>+ ) : (+ <Button as="span" type="text" size="tiny">+ {selectedProject.name}+ </Button>+ )+}++export default observer(ProjectDropdown)diff --git a/studio/components/layouts/ProjectLayout/LayoutHeader/index.ts b/studio/components/layouts/ProjectLayout/LayoutHeader/index.tsnew file mode 100644index 00000000000..357ec371434--- /dev/null+++ b/studio/components/layouts/ProjectLayout/LayoutHeader/index.ts@@ -0,0 +1,3 @@+import LayoutHeader from './LayoutHeader'++export default LayoutHeaderdiff --git a/studio/components/layouts/ProjectLayout/NavigationBar/NavigationBar.tsx b/studio/components/layouts/ProjectLayout/NavigationBar/NavigationBar.tsxnew file mode 100644index 00000000000..be9ca0cb30d--- /dev/null+++ b/studio/components/layouts/ProjectLayout/NavigationBar/NavigationBar.tsx@@ -0,0 +1,102 @@+import React, { FC } from 'react'+import Link from 'next/link'+import { observer } from 'mobx-react-lite'+import { useRouter } from 'next/router'+import { isUndefined } from 'lodash'+import { Button, Divider, IconHome, Dropdown, IconUser, Toggle, Typography } from '@supabase/ui'++import { IS_PLATFORM } from 'lib/constants'+import { useStore } from 'hooks'+import { generateProductRoutes, generateOtherRoutes } from './NavigationBar.utils'+import NavigationIconButton from './NavigationIconButton'++interface Props {}++const NavigationBar: FC<Props> = ({}) => {+ const router = useRouter()+ const { ui } = useStore()+ const projectRef = ui.selectedProject?.ref as string++ const activeRoute = router.pathname.split('/')[3]+ const productRoutes = generateProductRoutes(projectRef)+ const otherRoutes = generateOtherRoutes(projectRef)++ return (+ <div className="h-screen w-14 flex flex-col justify-between p-2 overflow-y-hidden bg-sidebar-light dark:bg-sidebar-dark border-r dark:border-dark">+ <ul className="flex flex-col space-y-2">+ <Link href={'/'}>+ <a className="block">+ <img+ src="/img/supabase-logo.svg"+ alt="Supabase"+ className="rounded h-[40px] w-6 mx-auto cursor-pointer"+ />+ </a>+ </Link>+ <NavigationIconButton+ isActive={isUndefined(activeRoute) && !isUndefined(router.query.ref)}+ route={{+ key: 'HOME',+ label: 'Home',+ icon: <IconHome size={18} strokeWidth={2} />,+ link: `/project/${projectRef}`,+ }}+ />+ <Divider light />+ {productRoutes.map((route) => (+ <NavigationIconButton+ key={route.key}+ route={route}+ isActive={activeRoute === route.key}+ />+ ))}+ <Divider light />+ {otherRoutes.map((route) => (+ <NavigationIconButton+ key={route.key}+ route={route}+ isActive={activeRoute === route.key}+ />+ ))}+ </ul>+ <ul className="flex flex-col space-y-2">+ <Dropdown+ side="right"+ align="start"+ overlay={[+ ...(IS_PLATFORM+ ? [+ <Dropdown.Item key="header">+ <Link href="/account/me">+ <a className="block">+ <Typography.Text>Account Preferences</Typography.Text>+ </a>+ </Link>+ </Dropdown.Item>,+ ]+ : []),+ <Divider key="d1" light />,+ <Dropdown.Misc key="theme">+ <div className="w-[200px] pt-1">+ <Toggle+ size="small"+ label="Enable dark mode"+ checked={ui.isDarkTheme}+ onChange={() => ui.toggleTheme()}+ />+ </div>+ </Dropdown.Misc>,+ ]}+ >+ <Button as="span" type="text" size="tiny">+ <div className="py-1">+ <IconUser size={18} strokeWidth={2} />+ </div>+ </Button>+ </Dropdown>+ </ul>+ </div>+ )+}++export default observer(NavigationBar)diff --git a/studio/components/layouts/ProjectLayout/NavigationBar/NavigationBar.utils.tsx b/studio/components/layouts/ProjectLayout/NavigationBar/NavigationBar.utils.tsxnew file mode 100644index 00000000000..c5cc61d5596--- /dev/null+++ b/studio/components/layouts/ProjectLayout/NavigationBar/NavigationBar.utils.tsx@@ -0,0 +1,94 @@+import {+ IconUsers,+ IconFileText,+ IconArchive,+ IconSettings,+ IconDatabase,+ IconBarChart,+} from '@supabase/ui'+import SVG from 'react-inlinesvg'++import { IS_PLATFORM } from 'lib/constants'+import { Route } from 'components/ui/ui.types'++export const generateProductRoutes = (ref: string): Route[] => {+ return [+ {+ key: 'editor',+ label: 'Table Editor',+ icon: (+ <SVG+ src="/img/table-editor.svg"+ style={{ width: `${18}px`, height: `${18}px` }}+ preProcessor={(code) => code.replace(/svg/, 'svg class="m-auto text-color-inherit"')}+ />+ ),+ link: `/project/${ref}/editor`,+ },+ {+ key: 'auth',+ label: 'Authentication',+ icon: <IconUsers size={18} strokeWidth={2} />,+ link: IS_PLATFORM ? `/project/${ref}/auth/users` : `/project/${ref}/auth/policies`,+ },+ ...(IS_PLATFORM+ ? [+ {+ key: 'storage',+ label: 'Storage',+ icon: <IconArchive size={18} strokeWidth={2} />,+ link: `/project/${ref}/storage/buckets`,+ },+ ]+ : []),+ {+ key: 'sql',+ label: 'SQL Editor',+ icon: (+ <SVG+ src="/img/sql-editor.svg"+ style={{ width: `${18}px`, height: `${18}px` }}+ preProcessor={(code) => code.replace(/svg/, 'svg class="m-auto text-color-inherit"')}+ />+ ),+ link: `/project/${ref}/sql`,+ },+ {+ key: 'database',+ label: 'Database',+ icon: <IconDatabase size={18} strokeWidth={2} />,+ link: `/project/${ref}/database/tables`,+ },+ ]+}++export const generateOtherRoutes = (ref: string) => {+ return [+ ...(IS_PLATFORM+ ? [+ {+ key: 'reports',+ label: 'Reports',+ icon: <IconBarChart size={18} strokeWidth={2} />,+ link: `/project/${ref}/reports`,+ },+ ]+ : []),+ {+ key: 'api',+ label: 'API',+ icon: <IconFileText size={18} strokeWidth={2} />,+ link: `/project/${ref}/api`,+ },+ ...(IS_PLATFORM+ ? [+ {+ key: 'settings',+ label: 'Settings',+ icon: <IconSettings size={18} strokeWidth={2} />,+ link: `/project/${ref}/settings/general`,+ },+ ]+ : []),+ ]+}diff --git a/studio/components/layouts/ProjectLayout/NavigationBar/NavigationIconButton.tsx b/studio/components/layouts/ProjectLayout/NavigationBar/NavigationIconButton.tsxnew file mode 100644index 00000000000..d7b8fe94f9e--- /dev/null+++ b/studio/components/layouts/ProjectLayout/NavigationBar/NavigationIconButton.tsx@@ -0,0 +1,27 @@+import { FC } from 'react'+import Link from 'next/link'+import { Route } from 'components/ui/ui.types'++interface Props {+ route: Route+ isActive?: boolean+}++const NavigationIconButton: FC<Props> = ({ route, isActive = false }) => {+ return (+ <Link href={route.link}>+ <a+ className={[+ 'flex items-center justify-center h-10 w-10 rounded', // Layout+ 'text-gray-600 hover:bg-gray-100', // Light mode+ 'dark:text-gray-400 dark:hover:bg-bg-alt-dark dark:hover:text-white', // Dark mode+ `${isActive ? 'bg-gray-100 dark:bg-bg-alt-dark dark:!text-white' : ''}`,+ ].join(' ')}+ >+ {route.icon}+ </a>+ </Link>+ )+}++export default NavigationIconButtondiff --git a/studio/components/layouts/ProjectLayout/ProductMenuBar.tsx b/studio/components/layouts/ProjectLayout/ProductMenuBar.tsxnew file mode 100644index 00000000000..fed432b2e36--- /dev/null+++ b/studio/components/layouts/ProjectLayout/ProductMenuBar.tsx@@ -0,0 +1,29 @@+import { FC, ReactNode } from 'react'+import { Typography } from '@supabase/ui'++interface Props {+ title: string+ children: ReactNode+}++const ProductMenuBar: FC<Props> = ({ title, children }) => {+ return (+ <div+ className={[+ 'w-64 h-screen flex flex-col hide-scrollbar border-r', // Layout+ 'bg-sidebar-linkbar-light', // Light mode+ 'dark:bg-sidebar-linkbar-dark dark:border-dark ', // Dark mode+ ].join(' ')}+ >+ <div+ className="px-6 max-h-12 border-b dark:border-dark flex items-center"+ style={{ minHeight: '3rem' }}+ >+ <Typography.Title level={4}>{title}</Typography.Title>+ </div>+ <div className="overflow-y-auto flex-grow">{children}</div>+ </div>+ )+}++export default ProductMenuBardiff --git a/studio/components/layouts/ProjectLayout/ProjectLayout.tsx b/studio/components/layouts/ProjectLayout/ProjectLayout.tsxnew file mode 100644index 00000000000..d478e6ca55d--- /dev/null+++ b/studio/components/layouts/ProjectLayout/ProjectLayout.tsx@@ -0,0 +1,91 @@+import Head from 'next/head'+import { FC, ReactNode } from 'react'+import { observer } from 'mobx-react-lite'+import { isUndefined } from 'lodash'+import { useRouter } from 'next/router'++import { Project } from 'types'+import { useStore } from 'hooks'++import Connecting from 'components/ui/Loading'+import NavigationBar from './NavigationBar/NavigationBar'+import ProductMenuBar from './ProductMenuBar'+import LayoutHeader from './LayoutHeader'+import TestConnection from './TestConnection'++interface Props {+ title?: string+ isLoading?: boolean+ product?: string+ productMenu?: ReactNode+ children: ReactNode+ hideHeader?: boolean+ hideIconBar?: boolean+}++const BaseLayout: FC<Props> = ({+ title,+ isLoading = false,+ product = '',+ productMenu,+ children,+ hideHeader = false,+ hideIconBar = false,+}) => {+ const { ui } = useStore()+ const project: Project | undefined = ui.selectedProject++ const router = useRouter()+ const requiresDbConnection: boolean = router.pathname !== '/project/[ref]/settings/general'++ // useEffect(() => {+ // if (isUndefined(project)) router.push('/404')+ // }, [])++ const renderContent = () => {+ if (!isUndefined(project)) {+ return requiresDbConnection ? (+ <TestConnection project={project}>+ {isLoading ? (+ <Connecting />+ ) : (+ <div className="flex flex-col flex-1 overflow-y-auto">{children}</div>+ )}+ </TestConnection>+ ) : (+ <>{children}</>+ )+ } else {+ return <>{children}</>+ }+ }++ return (+ <>+ <Head>+ <title>{title ? `${title} | Supabase` : 'Supabase'}</title>+ <meta name="description" content="Supabase Studio" />+ <link rel="icon" href="/favicon.ico" />+ </Head>+ <div className="flex h-full">+ {/* Left-most navigation side bar to access products */}+ {!hideIconBar && <NavigationBar />}++ {/* Product menu bar */}+ {productMenu && !isLoading && (+ <ProductMenuBar title={product}>{productMenu}</ProductMenuBar>+ )}++ <main+ style={{ maxHeight: '100vh' }}+ className="w-full flex flex-col flex-1 overflow-x-hidden"+ >+ {!hideHeader && <LayoutHeader />}+ {renderContent()}+ </main>+ </div>+ </>+ )+}++export default observer(BaseLayout)diff --git a/studio/components/layouts/ProjectLayout/TestConnection.tsx b/studio/components/layouts/ProjectLayout/TestConnection.tsxnew file mode 100644index 00000000000..f4f3e3aeaa4--- /dev/null+++ b/studio/components/layouts/ProjectLayout/TestConnection.tsx@@ -0,0 +1,63 @@+import useSWR, { mutate } from 'swr'+import { useRouter } from 'next/router'+import { observer } from 'mobx-react-lite'+import { FC, useEffect, ReactNode } from 'react'+import { isUndefined } from 'lodash'+import { Typography } from '@supabase/ui'++import { Project } from 'types'+import { useStore } from 'hooks'+import { get } from 'lib/common/fetch'+import { API_URL } from 'lib/constants'+import Loading from 'components/ui/Loading'+import BuildingState from 'components/to-be-cleaned/BuildingState'++interface Props {+ project: Project+ children: ReactNode+}++const TestConnection: FC<Props> = ({ project, children }) => {+ const router = useRouter()+ const { app } = useStore()++ const FETCH_PROJECT_URL = `${API_URL}/props/project/${project!.ref}`+ const { data: projectRealtime, error }: any = useSWR(FETCH_PROJECT_URL, get)++ const isBuilding = project && !['ACTIVE_HEALTHY', 'RESTORING'].includes(project.status)+ const isWaitingForConnection =+ !isBuilding && !isUndefined(error) && projectRealtime?.project?.status !== 'ACTIVE_HEALTHY'+ const isActive = !isBuilding && !isWaitingForConnection++ if (isActive) app.onProjectUpdated(projectRealtime)++ useEffect(() => {+ if (isBuilding && router.asPath !== `/project/${project.ref}/building`) {+ router.push(`/project/${project.ref}/building`)+ }+ }, [])++ useEffect(() => {+ // mutate project info cached. To ensure realtime project info is latest.+ mutate(FETCH_PROJECT_URL)+ }, [project])++ if (isWaitingForConnection) {+ return (+ <div className="w-full h-full m-4 flex flex-col items-center justify-center">+ <div className="w-32 flex items-center justify-center">+ <Loading />+ </div>+ <Typography.Text>+ {project.status === 'RESTORING' ? 'Restoring...' : 'Connecting...'}+ </Typography.Text>+ </div>+ )+ }++ if (isBuilding) return <BuildingState />++ return <>{children}</>+}++export default observer(TestConnection)diff --git a/studio/components/layouts/SQLEditorLayout/SQLEditorLayout.tsx b/studio/components/layouts/SQLEditorLayout/SQLEditorLayout.tsxnew file mode 100644index 00000000000..4dccc85a0f3--- /dev/null+++ b/studio/components/layouts/SQLEditorLayout/SQLEditorLayout.tsx@@ -0,0 +1,51 @@+import { FC, ReactNode, useEffect, useState } from 'react'+import { observer } from 'mobx-react-lite'++import { useStore } from 'hooks'+import Error from 'components/ui/Error'+import ProjectLayout from '../ProjectLayout/ProjectLayout'+// import SQLEditorMenu from './SQLEditorMenu'+import SQLEditorMenuOld from './SQLEditorMenuOld'++interface Props {+ title: string+ children: ReactNode+}++const SQLEditorLayout: FC<Props> = ({ title, children }) => {+ const { content } = useStore()+ const { isLoading, error } = content++ const [loaded, setLoaded] = useState(false)++ useEffect(() => {+ content.load()+ }, [])++ useEffect(() => {+ if (!isLoading && !loaded) {+ setLoaded(true)+ }+ }, [isLoading])++ if (error) {+ return (+ <ProjectLayout>+ <Error error={error} />+ </ProjectLayout>+ )+ }++ return (+ <ProjectLayout+ isLoading={!loaded}+ title={title || 'SQL'}+ product="SQL Editor"+ productMenu={<SQLEditorMenuOld />}+ >+ {children}+ </ProjectLayout>+ )+}++export default observer(SQLEditorLayout)diff --git a/studio/components/layouts/SQLEditorLayout/SQLEditorMenu.tsx b/studio/components/layouts/SQLEditorLayout/SQLEditorMenu.tsxnew file mode 100644index 00000000000..b7d029a0f39--- /dev/null+++ b/studio/components/layouts/SQLEditorLayout/SQLEditorMenu.tsx@@ -0,0 +1,217 @@+import { FC, useState } from 'react'+import { observer } from 'mobx-react-lite'+import Link from 'next/link'+import { useRouter } from 'next/router'+import {+ Button,+ Dropdown,+ Divider,+ Typography,+ Menu,+ Input,+ IconX,+ IconPlus,+ IconEdit,+ IconSearch,+ IconTrash,+ IconChevronDown,+} from '@supabase/ui'+import { partition } from 'lodash'++import { useStore } from 'hooks'++interface Props {+ onAddQuery?: () => void+ onRenameQuery?: (query: any) => void+ onDeleteQuery?: (query: any) => void+}++const SqlEditorMenu: FC<Props> = ({+ onAddQuery = () => {},+ onRenameQuery = () => {},+ onDeleteQuery = () => {},+}) => {+ const { ui, content } = useStore()+ const router = useRouter()+ const { queryId } = router.query++ const queries = content.sqlSnippets()+ const [favouriteQueries, savedQueries] = partition(+ queries,+ (query: any) => query.content.favorite+ )++ const page = router.pathname.split('/')[4] as undefined | 'templates'+ const projectRef = ui.selectedProject?.ref+ const [searchText, setSearchText] = useState<string>('')++ return (+ <div className="my-6 flex flex-col flex-grow">+ <div className="space-y-6">+ <div className="mx-4 space-y-1">+ <Button+ block+ icon={<IconPlus />}+ type="text"+ style={{ justifyContent: 'start' }}+ onClick={onAddQuery}+ >+ New query+ </Button>+ <Input+ layout="vertical"+ icon={<IconSearch size="tiny" />}+ className="sbui-input-no-border"+ placeholder="Search for a query"+ onChange={(e) => setSearchText(e.target.value)}+ value={searchText}+ size="tiny"+ actions={+ searchText && (+ <IconX+ size={'tiny'}+ className="cursor-pointer mx-1"+ onClick={() => setSearchText('')}+ />+ )+ }+ />+ </div>++ {/* Getting started templates */}+ <div className="mx-4 flex flex-col space-y-2">+ <div className="mx-4 space-y-1">+ <Typography.Text type="secondary" small>+ Getting started+ </Typography.Text>+ </div>+ <div className="dash-product-menu space-y-1">+ <Link href={`/project/${projectRef}/sql/templates`}>+ <div>+ <Menu.Item rounded active={page === 'templates'}>+ <Typography.Text className="truncate" small>+ Welcome+ </Typography.Text>+ </Menu.Item>+ </div>+ </Link>+ </div>+ </div>++ {/* Favourites */}+ {favouriteQueries.length > 0 && (+ <div className="mx-4 flex flex-col space-y-2">+ <div className="mx-4 space-y-1">+ <Typography.Text type="secondary" small>+ Favourites+ </Typography.Text>+ </div>+ <div className="dash-product-menu space-y-1">+ {favouriteQueries.map((query) => {+ const id = query.id+ const isActive = queryId === id+ return (+ <Link key={id} href={`/project/${projectRef}/sql?queryId=${id}`}>+ <div>+ <Menu.Item rounded active={isActive}>+ <div className="flex justify-between">+ <Typography.Text className="truncate" small>+ {query.name}+ </Typography.Text>+ {isActive && (+ <Dropdown+ side="bottom"+ align="start"+ overlay={[+ <Dropdown.Item+ key="edit-table"+ icon={<IconEdit size="tiny" />}+ onClick={() => onRenameQuery(query)}+ >+ Rename query+ </Dropdown.Item>,+ <Divider key="divider" light />,+ <Dropdown.Item+ key="delete-table"+ icon={<IconTrash size="tiny" />}+ onClick={() => onDeleteQuery(query)}+ >+ Delete query+ </Dropdown.Item>,+ ]}+ >+ <Typography.Text>+ <IconChevronDown size={16} />+ </Typography.Text>+ </Dropdown>+ )}+ </div>+ </Menu.Item>+ </div>+ </Link>+ )+ })}+ </div>+ </div>+ )}++ {/* Saved SQL snippets */}+ <div className="mx-4 flex flex-col space-y-2">+ <div className="mx-4 space-y-1">+ <Typography.Text type="secondary" small>+ SQL snippets+ </Typography.Text>+ </div>+ <div className="dash-product-menu space-y-1">+ {savedQueries.map((query) => {+ const id = query.id+ const isActive = queryId === id+ return (+ <Link key={id} href={`/project/${projectRef}/sql?queryId=${id}`}>+ <div>+ <Menu.Item rounded active={isActive}>+ <div className="flex justify-between">+ <Typography.Text className="truncate" small>+ {query.name}+ </Typography.Text>+ {isActive && (+ <Dropdown+ side="bottom"+ align="start"+ overlay={[+ <Dropdown.Item+ key="edit-table"+ icon={<IconEdit size="tiny" />}+ onClick={() => onRenameQuery(query)}+ >+ Rename query+ </Dropdown.Item>,+ <Divider key="divider" light />,+ <Dropdown.Item+ key="delete-table"+ icon={<IconTrash size="tiny" />}+ onClick={() => onDeleteQuery(query)}+ >+ Delete query+ </Dropdown.Item>,+ ]}+ >+ <Typography.Text>+ <IconChevronDown size={16} />+ </Typography.Text>+ </Dropdown>+ )}+ </div>+ </Menu.Item>+ </div>+ </Link>+ )+ })}+ </div>+ </div>+ </div>+ </div>+ )+}++export default observer(SqlEditorMenu)diff --git a/studio/components/layouts/SQLEditorLayout/SQLEditorMenuOld.tsx b/studio/components/layouts/SQLEditorLayout/SQLEditorMenuOld.tsxnew file mode 100644index 00000000000..0a245a0fbdc--- /dev/null+++ b/studio/components/layouts/SQLEditorLayout/SQLEditorMenuOld.tsx@@ -0,0 +1,265 @@+import { useState } from 'react'+import { useRouter } from 'next/router'+import { observer } from 'mobx-react-lite'+import { toast } from 'react-hot-toast'+import {+ Button,+ Dropdown,+ Divider,+ Menu,+ Input,+ Typography,+ IconSearch,+ IconPlus,+ IconX,+ IconLoader,+ IconTrash,+ IconChevronDown,+ Loading,+} from '@supabase/ui'++import { IS_PLATFORM } from 'lib/constants'+import { useProfile } from 'hooks'+import { useProjectContentStore } from 'stores/projectContentStore'+import { useSqlStore, TAB_TYPES } from 'localStores/sqlEditor/SqlEditorStore'++import Modal from 'components/to-be-cleaned/ModalsDeprecated/Modal'+import { confirmAlert } from 'components/to-be-cleaned/ModalsDeprecated/ConfirmModal'+import RenameQuery from 'components/to-be-cleaned/SqlEditor/RenameQuery'+import { createSqlSnippet } from 'components/to-be-cleaned/SqlEditor/SqlEditor.utils'++const OpenQueryItem = observer(({ tabInfo }: { tabInfo: any }) => {+ const sqlEditorStore: any = useSqlStore()+ const { id, name } = tabInfo || {}+ const active = sqlEditorStore.activeTab.id === id++ return (+ <Menu.Item rounded key={id} active={active} onClick={() => sqlEditorStore.selectTab(id)}>+ <div className="flex">+ <Typography.Text className="flex-grow truncate flex items-center">{name}</Typography.Text>+ {active && <DropdownMenu tabInfo={tabInfo} />}+ </div>+ </Menu.Item>+ )+})++const DropdownMenu = observer(({ tabInfo }: { tabInfo: any }) => {+ const router = useRouter()+ const { ref } = router.query++ const sqlEditorStore: any = useSqlStore()+ const contentStore: any = useProjectContentStore(ref)++ const [tabId, setTabId] = useState('')+ const [renameModalOpen, setRenameModalOpen] = useState(false)+ const { id, name } = tabInfo || {}++ function onCloseRenameModal() {+ setRenameModalOpen(false)+ }++ function renameQuery(e: any) {+ setTabId(id)+ setRenameModalOpen(true)+ }++ async function removeQuery(e: any) {+ confirmAlert({+ title: 'Confirm to remove',+ message: `Are you sure you want to remove '${name}' ?`,+ onAsyncConfirm: async () => {+ await contentStore.del(id)+ await contentStore.load()+ sqlEditorStore.closeTab(id)+ },+ })+ }++ function renderMenu() {+ return (+ <>+ <Dropdown.Item onClick={renameQuery}>Rename query</Dropdown.Item>+ <Divider light />+ <Dropdown.Item onClick={removeQuery} icon={<IconTrash size="tiny" />}>+ Remove query+ </Dropdown.Item>+ </>+ )+ }++ return (+ <div>+ {IS_PLATFORM ? (+ <Dropdown side="bottom" align="end" overlay={renderMenu()}>+ <Button as="span" type="text" icon={<IconChevronDown />} style={{ padding: '3px' }} />+ </Dropdown>+ ) : (+ <Button as="span" type="text" style={{ padding: '3px' }} />+ )}++ {/* @ts-ignore */}+ <Modal open={renameModalOpen} handleCloseEvent={onCloseRenameModal}>+ {/* @ts-ignore */}+ <RenameQuery tabId={tabId} onComplete={onCloseRenameModal} />+ </Modal>+ </div>+ )+})++const SideBarContent = observer(() => {+ const router = useRouter()+ const { ref } = router.query++ const { profile: user } = useProfile()+ const sqlEditorStore: any = useSqlStore()+ const contentStore: any = useProjectContentStore(ref)++ const [filterString, setFilterString] = useState('')+ const [loadingNewQuery, setLoadingNewQuery] = useState(false)++ async function handleNewQuery() {+ try {+ setLoadingNewQuery(true)+ // create new sql snippet, this also reloads the project_content store+ // @ts-ignore+ const snippet = await createSqlSnippet({ router })++ // reload the local sqlEditorStore+ await sqlEditorStore.loadRemotePersistentData(contentStore, user.id)++ // select tab with new snippet+ if (snippet) sqlEditorStore.selectTab(snippet.id)+ setLoadingNewQuery(false)+ } catch (error: any) {+ console.error(error)+ toast.error(error.message)+ setLoadingNewQuery(false)+ }+ }++ const getStartedTabs = (sqlEditorStore?.tabs ?? []).filter((tab: any) => {+ return tab.type === TAB_TYPES.WELCOME+ })++ const favorites = (sqlEditorStore?.tabs ?? []).filter((tab: any) => {+ return tab.type !== TAB_TYPES.WELCOME && tab.favorite+ })++ const queries = (sqlEditorStore?.tabs ?? []).filter((tab: any) => {+ return tab.type !== TAB_TYPES.WELCOME && !tab.favorite+ })++ const favouriteTabs =+ filterString.length === 0+ ? favorites+ : favorites.filter((tab: any) => tab.name.includes(filterString))++ const queryTabs =+ filterString.length === 0+ ? queries+ : queries.filter((tab: any) => tab.name.includes(filterString))++ return (+ <div className="mt-8">+ <Menu>+ {IS_PLATFORM && (+ <div className="my-4 px-3 space-y-1">+ <Menu.Misc>+ <Button+ block+ className="mx-1"+ icon={<IconPlus />}+ type="text"+ style={{ justifyContent: 'start' }}+ onClick={() => handleNewQuery()}+ loading={loadingNewQuery}+ >+ New query+ </Button>+ </Menu.Misc>+ <Menu.Misc>+ <Input+ icon={<IconSearch size="tiny" />}+ className="sbui-input-no-border mx-1"+ placeholder="Search"+ onChange={(e) => setFilterString(e.target.value)}+ value={filterString}+ size="tiny"+ actions={+ filterString && (+ <IconX+ size={'tiny'}+ className="cursor-pointer mr-2"+ onClick={() => setFilterString('')}+ />+ )+ }+ />+ </Menu.Misc>+ </div>+ )}++ {(sqlEditorStore?.tabs ?? []).length === 0 ? (+ <div className="my-4 px-7 flex items-center space-x-2">+ <IconLoader className="animate-spin" size={16} strokeWidth={2} />+ <Typography.Text type="secondary">Loading SQL snippets</Typography.Text>+ </div>+ ) : (+ <div className="space-y-6">+ {IS_PLATFORM && (+ <div className="px-3 dash-product-menu">+ <Menu.Group title="Getting started" />+ {getStartedTabs.map((tab: any) => {+ const { id, name } = tab || {}+ return (+ <Menu.Item+ rounded+ key={id}+ active={sqlEditorStore.activeTab.id === id}+ onClick={() => sqlEditorStore.selectTab(id)}+ >+ <Typography.Text className="truncate">{name}</Typography.Text>+ </Menu.Item>+ )+ })}+ </div>+ )}+ <Loading active={contentStore.isLoading}>+ <div className="px-3 space-y-6">+ {favouriteTabs.length >= 1 && (+ <div className="editor-product-menu">+ <Menu.Group title="Favorites" />+ <div className="space-y-1">+ {favouriteTabs.map((tabInfo: any) => {+ const { id } = tabInfo || {}+ return <OpenQueryItem key={id} tabInfo={tabInfo} />+ })}+ </div>+ </div>+ )}+ {queryTabs.length >= 1 && (+ <div className="editor-product-menu">+ <Menu.Group title="SQL snippets" />+ <div className="space-y-1">+ {queryTabs.map((tabInfo: any) => {+ const { id } = tabInfo || {}+ return <OpenQueryItem key={id} tabInfo={tabInfo} />+ })}+ </div>+ </div>+ )}+ {filterString.length > 0 && favouriteTabs.length === 0 && queryTabs.length === 0 && (+ <div className="px-4">+ <Typography.Text type="secondary">No queries found</Typography.Text>+ </div>+ )}+ </div>+ </Loading>+ </div>+ )}+ </Menu>+ </div>+ )+})++export default SideBarContentdiff --git a/studio/components/layouts/SettingsLayout/SettingsLayout.tsx b/studio/components/layouts/SettingsLayout/SettingsLayout.tsxnew file mode 100644index 00000000000..e022350f037--- /dev/null+++ b/studio/components/layouts/SettingsLayout/SettingsLayout.tsx@@ -0,0 +1,35 @@+import { FC, ReactNode } from 'react'+import { observer } from 'mobx-react-lite'++import { useStore } from 'hooks'+import BaseLayout from '../'+import ProductMenu from 'components/ui/ProductMenu'+import { generateSettingsMenu } from './SettingsMenu.utils'+import { useRouter } from 'next/router'++interface Props {+ title?: string+ children: ReactNode+}++const SettingsLayout: FC<Props> = ({ title, children }) => {+ const { ui } = useStore()+ const projectRef = ui.selectedProject?.ref ?? 'default'++ const router = useRouter()+ const page = router.pathname.split('/')[4]++ return (+ <BaseLayout+ title={title || 'Settings'}+ product="Settings"+ productMenu={<ProductMenu page={page} menu={generateSettingsMenu(projectRef)} />}+ >+ <main style={{ maxHeight: '100vh' }} className="flex-1 overflow-y-auto">+ {children}+ </main>+ </BaseLayout>+ )+}++export default observer(SettingsLayout)diff --git a/studio/components/layouts/SettingsLayout/SettingsMenu.utils.ts b/studio/components/layouts/SettingsLayout/SettingsMenu.utils.tsnew file mode 100644index 00000000000..9d3d998a8b8--- /dev/null+++ b/studio/components/layouts/SettingsLayout/SettingsMenu.utils.ts@@ -0,0 +1,21 @@+import { ProductMenuGroup } from 'components/ui/ProductMenu/ProductMenu.types'++export const generateSettingsMenu = (ref: string): ProductMenuGroup[] => {+ return [+ {+ title: 'Project settings',+ items: [+ { name: 'General', key: 'general', url: `/project/${ref}/settings/general`, items: [] },+ { name: 'Database', key: 'database', url: `/project/${ref}/settings/database`, items: [] },+ { name: 'API', key: 'api', url: `/project/${ref}/settings/api`, items: [] },+ { name: 'Auth Settings', key: 'auth', url: `/project/${ref}/auth/settings`, items: [] },+ {+ name: 'Billing & Usage',+ key: 'billing',+ url: `/project/${ref}/settings/billing`,+ items: [],+ },+ ],+ },+ ]+}diff --git a/studio/components/layouts/StorageLayout/StorageLayout.tsx b/studio/components/layouts/StorageLayout/StorageLayout.tsxnew file mode 100644index 00000000000..ebb414a8228--- /dev/null+++ b/studio/components/layouts/StorageLayout/StorageLayout.tsx@@ -0,0 +1,102 @@+import { FC, ReactNode, useEffect } from 'react'+import { find } from 'lodash'+import { toast } from 'react-hot-toast'+import { observer } from 'mobx-react-lite'++import { useStore } from 'hooks'+import { API_URL } from 'lib/constants'+import { get } from 'lib/common/fetch'+import ProjectLayout from '../ProjectLayout/ProjectLayout'+import StorageMenu from './StorageMenu'+import { useStorageStore } from 'localStores/storageExplorer/StorageExplorerStore'+import CreateBucketModal from 'components/to-be-cleaned/Storage/CreateBucketModal'+import DeleteBucketModal from 'components/to-be-cleaned/Storage/DeleteBucketModal'+import ToggleBucketPublicModal from 'components/to-be-cleaned/Storage/ToggleBucketPublicModal'++interface Props {+ title: string+ children: ReactNode+}++const StorageLayout: FC<Props> = ({ title, children }) => {+ const { ui } = useStore()+ const ref = ui.selectedProject?.ref++ const storageExplorerStore = useStorageStore()+ const {+ selectedBucketToEdit,+ closeCreateBucketModal,+ showCreateBucketModal,+ closeDeleteBucketModal,+ showDeleteBucketModal,+ closeToggleBucketPublicModal,+ showToggleBucketPublicModal,+ createBucket,+ deleteBucket,+ toggleBucketPublic,+ } = storageExplorerStore || {}++ useEffect(() => {+ if (ref) {+ initializeStorageStore(ref)+ }+ }, [ref])++ const getProjectConfig = async () => {+ const { services } = await get(`${API_URL}/props/project/${ref}/settings`)+ const apiService = find(services, (service) => service.app.id === 1)+ if (apiService) {+ const projectUrl = apiService?.app_config?.endpoint ?? ''+ const serviceKey = find(apiService.service_api_keys, (key) => key.tags === 'service_role')+ const projectApiKey = serviceKey?.api_key ?? ''+ return { projectUrl, projectApiKey }+ } else {+ console.error('Storage layout: Unable to find apiService')+ return {}+ }+ }++ const initializeStorageStore = async (projectRef: any) => {+ try {+ const { projectUrl, projectApiKey } = await getProjectConfig()+ if (projectUrl && projectApiKey) {+ storageExplorerStore.initStore(projectRef, projectUrl, projectApiKey)+ await storageExplorerStore.fetchBuckets()+ } else {+ throw new Error(+ `StorageLayout: Failed to getProjectConfig - ${projectUrl} ${projectApiKey}`+ )+ }+ } catch (e) {+ toast.error(+ 'Failed to fetch project configuration. Try refreshing your browser, or reach out to us at [email protected]'+ )+ }+ storageExplorerStore.setLoaded(true)+ }++ return (+ <ProjectLayout title={title || 'Storage'} product="Storage" productMenu={<StorageMenu />}>+ {children}+ <CreateBucketModal+ visible={showCreateBucketModal}+ onSelectCancel={closeCreateBucketModal}+ onSelectSave={createBucket}+ />+ <DeleteBucketModal+ visible={showDeleteBucketModal}+ bucket={selectedBucketToEdit}+ onSelectCancel={closeDeleteBucketModal}+ onSelectDelete={deleteBucket}+ />+ <ToggleBucketPublicModal+ visible={showToggleBucketPublicModal}+ bucket={selectedBucketToEdit}+ onSelectCancel={closeToggleBucketPublicModal}+ onSelectSave={toggleBucketPublic}+ />+ </ProjectLayout>+ )+}++export default observer(StorageLayout)diff --git a/studio/components/layouts/StorageLayout/StorageMenu.tsx b/studio/components/layouts/StorageLayout/StorageMenu.tsxnew file mode 100644index 00000000000..3486ea62008--- /dev/null+++ b/studio/components/layouts/StorageLayout/StorageMenu.tsx@@ -0,0 +1,177 @@+import { FC } from 'react'+import Link from 'next/link'+import { useRouter } from 'next/router'+import { observer } from 'mobx-react-lite'+import { useStore } from 'hooks'+import {+ Badge,+ Button,+ Dropdown,+ Menu,+ Typography,+ IconPlus,+ IconLoader,+ IconMoreVertical,+} from '@supabase/ui'++import { STORAGE_ROW_STATUS } from 'components/to-be-cleaned/Storage/Storage.constants'+import { useStorageStore } from 'localStores/storageExplorer/StorageExplorerStore'++interface Props {}++const StorageMenu: FC<Props> = () => {+ const router = useRouter()+ const { ref, bucketId } = router.query+ const page = router.pathname.split('/')[4] as undefined | 'policies' | 'usage'++ const { ui } = useStore()+ const projectRef = ui.selectedProject?.ref++ const storageExplorerStore = useStorageStore()+ const {+ loaded,+ buckets,+ openCreateBucketModal,+ openDeleteBucketModal,+ openToggleBucketPublicModal,+ } = storageExplorerStore || {}++ return (+ <div className="my-6 flex flex-col flex-grow space-y-6">+ <div className="mx-4">+ <Button+ block+ icon={<IconPlus />}+ type="text"+ style={{ justifyContent: 'start' }}+ onClick={openCreateBucketModal}+ >+ New bucket+ </Button>+ </div>+ <div className="mx-4 my-4 space-y-2">+ <div className="mx-4 w-full flex">+ <Typography.Text type="secondary" small>+ All buckets+ </Typography.Text>+ </div>+ <div className="space-y-1">+ {!loaded ? (+ <div className="py-2 px-4 flex items-center space-x-2">+ <IconLoader className="animate-spin" size={12} strokeWidth={2} />+ <Typography.Text type="secondary">Loading buckets</Typography.Text>+ </div>+ ) : (+ <>+ {buckets.length === 0 && (+ <div className="py-2 px-4 flex items-center">+ <Typography.Text type="secondary">No buckets available</Typography.Text>+ </div>+ )}+ {buckets.map((bucket: any, idx: number) => {+ const isSelected = bucketId === bucket.id+ return (+ <BucketRow+ key={`${idx}_${bucket.id}`}+ bucket={bucket}+ projectRef={ref}+ isSelected={isSelected}+ onSelectDeleteBucket={openDeleteBucketModal}+ onSelectToggleBucketPublic={openToggleBucketPublicModal}+ />+ )+ })}+ </>+ )}+ </div>+ </div>+ <div className="mx-4 flex flex-col space-y-2">+ <div className="mx-4 space-y-1">+ <Typography.Text type="secondary" small>+ Settings+ </Typography.Text>+ </div>+ <div className="dash-product-menu space-y-1">+ <Link href={`/project/${projectRef}/storage/policies`}>+ <a className="block">+ <Menu.Item rounded active={page === 'policies'}>+ <Typography.Text className="truncate">Policies</Typography.Text>+ </Menu.Item>+ </a>+ </Link>+ <Link href={`/project/${projectRef}/storage/usage`}>+ <a className="block">+ <Menu.Item rounded active={page === 'usage'}>+ <Typography.Text className="truncate">Usage</Typography.Text>+ </Menu.Item>+ </a>+ </Link>+ </div>+ </div>+ </div>+ )+}++export default observer(StorageMenu)++const BucketRow = ({+ bucket = {},+ projectRef = '',+ isSelected = false,+ onSelectBucket = () => {},+ onSelectDeleteBucket = () => {},+ onSelectToggleBucketPublic = () => {},+}: any) => {+ const bucketOptions = [+ {+ name: 'Delete bucket',+ onClick: () => onSelectDeleteBucket(bucket),+ },+ {+ name: bucket.public ? 'Make private' : 'Make public',+ onClick: () => onSelectToggleBucketPublic(bucket),+ },+ ]+ return (+ <div className="group dash-product-menu">+ <Menu.Item rounded active={isSelected} onClick={() => onSelectBucket(bucket)}>+ <div className="flex items-center justify-between">+ {/* Need to investigate, why links here are reopning the entire page */}+ <Link href={`/project/${projectRef}/storage/buckets/${bucket.id}`}>+ <a className="block w-full">+ <div className="flex items-center space-x-2">+ <Typography.Text>{bucket.name}</Typography.Text>+ {bucket.public && <Badge color="yellow">Public</Badge>}+ </div>+ </a>+ </Link>++ {bucket.status === STORAGE_ROW_STATUS.LOADING && (+ <IconLoader className="animate-spin" size={16} strokeWidth={2} />+ )}+ {bucket.status === STORAGE_ROW_STATUS.READY && (+ <Dropdown+ side="bottom"+ align="end"+ overlay={[+ bucketOptions.map((option) => (+ <Dropdown.Item key={option.name} onClick={option.onClick}>+ {option.name}+ </Dropdown.Item>+ )),+ ]}+ >+ <Typography.Text>+ <IconMoreVertical+ className="opacity-0 group-hover:opacity-100"+ size="tiny"+ strokeWidth={2}+ />+ </Typography.Text>+ </Dropdown>+ )}+ </div>+ </Menu.Item>+ </div>+ )+}diff --git a/studio/components/layouts/TableEditorLayout/TableEditorLayout.tsx b/studio/components/layouts/TableEditorLayout/TableEditorLayout.tsxnew file mode 100644index 00000000000..365fba2793a--- /dev/null+++ b/studio/components/layouts/TableEditorLayout/TableEditorLayout.tsx@@ -0,0 +1,78 @@+import { FC, ReactNode, useState, useEffect } from 'react'+import { observer } from 'mobx-react-lite'+import { PostgresTable } from '@supabase/postgres-meta'++import { useStore } from 'hooks'+import Error from 'components/ui/Error'+import ProjectLayout from '../ProjectLayout/ProjectLayout'+import TableEditorMenu from './TableEditorMenu'+import { isUndefined } from 'lodash'++interface Props {+ selectedSchema?: string+ onSelectSchema: (schema: string) => void+ onAddTable: () => void+ onEditTable: (table: PostgresTable) => void+ onDeleteTable: (table: PostgresTable) => void+ onDuplicateTable: (table: PostgresTable) => void+ children: ReactNode+}++const TableEditorLayout: FC<Props> = ({+ selectedSchema,+ onSelectSchema = () => {},+ onAddTable = () => {},+ onEditTable = () => {},+ onDeleteTable = () => {},+ onDuplicateTable = () => {},+ children,+}) => {+ const { meta } = useStore()+ const { isLoading, error } = meta.tables++ const [loaded, setLoaded] = useState<boolean>(false)++ useEffect(() => {+ meta.schemas.load()+ meta.tables.load()+ }, [])++ useEffect(() => {+ let cancel = false+ if (!isLoading && !loaded) {+ if (!cancel) setLoaded(true)+ }+ return () => {+ cancel = true+ }+ }, [isLoading])++ if (error) {+ return (+ <ProjectLayout>+ <Error error={error} />+ </ProjectLayout>+ )+ }++ return (+ <ProjectLayout+ isLoading={!loaded || isUndefined(selectedSchema)}+ product="Table editor"+ productMenu={+ <TableEditorMenu+ selectedSchema={selectedSchema}+ onSelectSchema={onSelectSchema}+ onAddTable={onAddTable}+ onEditTable={onEditTable}+ onDeleteTable={onDeleteTable}+ onDuplicateTable={onDuplicateTable}+ />+ }+ >+ {children}+ </ProjectLayout>+ )+}++export default observer(TableEditorLayout)diff --git a/studio/components/layouts/TableEditorLayout/TableEditorLayout.types.ts b/studio/components/layouts/TableEditorLayout/TableEditorLayout.types.tsnew file mode 100644index 00000000000..636a06056a8--- /dev/null+++ b/studio/components/layouts/TableEditorLayout/TableEditorLayout.types.ts@@ -0,0 +1,4 @@+export interface SchemaView {+ schema: string+ name: string+}diff --git a/studio/components/layouts/TableEditorLayout/TableEditorMenu.tsx b/studio/components/layouts/TableEditorLayout/TableEditorMenu.tsxnew file mode 100644index 00000000000..c9d257d912d--- /dev/null+++ b/studio/components/layouts/TableEditorLayout/TableEditorMenu.tsx@@ -0,0 +1,270 @@+import { FC, useState, useEffect } from 'react'+import { useRouter } from 'next/router'+import Link from 'next/link'+import {+ Button,+ Divider,+ Dropdown,+ Typography,+ Listbox,+ Menu,+ Input,+ IconCopy,+ IconChevronDown,+ IconEdit,+ IconTrash,+ IconSearch,+ IconPlus,+ IconDatabase,+ IconX,+ IconLoader,+ IconRefreshCw,+} from '@supabase/ui'+import { PostgresTable } from '@supabase/postgres-meta'++import Base64 from 'lib/base64'+import { useStore } from 'hooks'+import { SchemaView } from './TableEditorLayout.types'++interface Props {+ selectedSchema?: string+ onSelectSchema: (schema: string) => void+ onAddTable: () => void+ onEditTable: (table: PostgresTable) => void+ onDeleteTable: (table: PostgresTable) => void+ onDuplicateTable: (table: PostgresTable) => void+}++const TableEditorMenu: FC<Props> = ({+ selectedSchema,+ onSelectSchema = () => {},+ onAddTable = () => {},+ onEditTable = () => {},+ onDeleteTable = () => {},+ onDuplicateTable = () => {},+}) => {+ const { meta, ui } = useStore()+ const router = useRouter()+ const { id } = router.query++ const projectRef = ui.selectedProject?.ref+ const [searchText, setSearchText] = useState<string>('')+ const [schemaViews, setSchemaViews] = useState<SchemaView[]>([])+ const [isRefreshing, setIsRefreshing] = useState<boolean>(false)++ // We may need to shift this to the schema store and do something like meta.schema.loadViews()+ // I don't need we need a separate store for views+ useEffect(() => {+ let cancel = false+ const fetchViews = async (selectedSchema: string) => {+ const views: SchemaView[] = await meta.schemas.getViews(selectedSchema)+ if (!cancel) setSchemaViews(views)+ }+ if (selectedSchema) {+ fetchViews(selectedSchema)+ }+ return () => {+ cancel = true+ }+ }, [selectedSchema])++ const refreshTables = async () => {+ setIsRefreshing(true)+ await meta.tables.load()+ setIsRefreshing(false)+ }++ const schemas = meta.schemas.list()+ const tables = meta.tables.list((table: PostgresTable) => table.schema === selectedSchema)++ const schemaTables =+ searchText.length === 0 ? tables : tables.filter((table) => table.name.includes(searchText))++ const filteredSchemaViews =+ searchText.length === 0+ ? schemaViews+ : schemaViews.filter((view) => view.name.includes(searchText))++ // Temp fix - Ideally we'd just take up all the remaining space but+ // can't seem to figure that out immediately+ const maxScrollHeight = schemaViews.length > 0 ? 270 : 520++ return (+ <div className="my-6 flex flex-col flex-grow">+ {/* Schema selection dropdown */}+ <div className="mx-4">+ {meta.schemas.isLoading ? (+ <div className="h-[30px] border border-gray-500 px-3 rounded flex items-center space-x-3">+ <IconLoader className="animate-spin" size={14} />+ <Typography.Text small>Loading schemas...</Typography.Text>+ </div>+ ) : (+ <Listbox+ icon={<IconDatabase size={16} />}+ size="tiny"+ value={selectedSchema}+ onChange={(name: string) => {+ setSearchText('')+ setSchemaViews([])+ onSelectSchema(name)+ }}+ >+ {schemas.map((schema) => (+ <Listbox.Option key={schema.id} value={schema.name} label={schema.name}>+ {schema.name}+ </Listbox.Option>+ ))}+ </Listbox>+ )}+ </div>++ <div className="mx-4 my-4 space-y-1">+ {/* Add new table button */}+ {selectedSchema === 'public' && (+ <Button+ block+ icon={<IconPlus />}+ type="text"+ style={{ justifyContent: 'start' }}+ onClick={onAddTable}+ >+ New table+ </Button>+ )}++ {/* Table search input */}+ <Input+ layout="vertical"+ icon={<IconSearch size="tiny" />}+ className="sbui-input-no-border"+ placeholder="Search for a table"+ onChange={(e) => setSearchText(e.target.value)}+ value={searchText}+ size="tiny"+ actions={+ searchText && (+ <IconX+ size={'tiny'}+ className="cursor-pointer mx-1"+ onClick={() => setSearchText('')}+ />+ )+ }+ />+ </div>++ {/* List of tables belonging to selected schema */}+ {schemaTables.length > 0 && (+ <div className="mx-2 mt-6 space-y-2">+ <div className="px-4 w-full flex items-center justify-between">+ <Typography.Text type="secondary" small>+ All tables+ </Typography.Text>+ <div className="cursor-pointer" onClick={refreshTables}>+ <Typography.Text type="secondary">+ <IconRefreshCw className={isRefreshing ? 'animate-spin' : ''} size={14} />+ </Typography.Text>+ </div>+ </div>+ <div className="overflow-y-auto space-y-1" style={{ maxHeight: maxScrollHeight }}>+ {schemaTables.map((table) => {+ const isActive = Number(id) === table.id+ return (+ <Link key={table.name} href={`/project/${projectRef}/editor/${table.id}`}>+ <a className="block editor-product-menu">+ <Menu.Item rounded active={isActive}>+ <div className="flex justify-between py-[2px]">+ <Typography.Text className="truncate flex items-center">+ {table.name}+ </Typography.Text>+ {isActive && (+ <Dropdown+ side="bottom"+ align="start"+ overlay={[+ <Dropdown.Item+ key="edit-table"+ icon={<IconEdit size="tiny" />}+ onClick={() => onEditTable(table)}+ >+ Edit Table+ </Dropdown.Item>,+ <Dropdown.Item+ key="duplicate-table"+ icon={<IconCopy size="tiny" />}+ onClick={() => onDuplicateTable(table)}+ >+ Duplicate Table+ </Dropdown.Item>,+ <Divider key="divider" light />,+ <Dropdown.Item+ key="delete-table"+ icon={<IconTrash size="tiny" />}+ onClick={() => onDeleteTable(table)}+ >+ Delete Table+ </Dropdown.Item>,+ ]}+ >+ <Button+ as="span"+ type="text"+ icon={<IconChevronDown />}+ style={{ padding: '3px' }}+ />+ </Dropdown>+ )}+ </div>+ </Menu.Item>+ </a>+ </Link>+ )+ })}+ </div>+ </div>+ )}++ {/* List of views belonging to selected schema */}+ {filteredSchemaViews.length > 0 && (+ <div className="mx-2 mt-6 space-y-2">+ <div className="px-4 w-full flex items-center justify-between">+ <Typography.Text type="secondary" small>+ All Views+ </Typography.Text>+ </div>+ <div className="overflow-y-auto space-y-1" style={{ maxHeight: maxScrollHeight }}>+ {schemaViews.map((view: SchemaView) => {+ const viewId = Base64.encode(JSON.stringify(view))+ const isActive = id === viewId+ return (+ <Link key={viewId} href={`/project/${projectRef}/editor/${viewId}`}>+ <div className="dash-product-menu">+ <Menu.Item key={viewId} rounded active={isActive}>+ <div className="flex justify-between">+ <Typography.Text className="truncate">{view.name}</Typography.Text>+ </div>+ </Menu.Item>+ </div>+ </Link>+ )+ })}+ </div>+ </div>+ )}++ {searchText.length > 0 && schemaTables.length === 0 && filteredSchemaViews.length === 0 && (+ <div className="my-2 mx-6">+ <Typography.Text type="secondary">No tables or views found</Typography.Text>+ </div>+ )}++ {searchText.length === 0 && schemaTables.length === 0 && filteredSchemaViews.length === 0 && (+ <div className="my-2 mx-6">+ <Typography.Text type="secondary">No tables available</Typography.Text>+ </div>+ )}+ </div>+ )+}++export default TableEditorMenudiff --git a/studio/components/layouts/VercelIntegrationLayout.tsx b/studio/components/layouts/VercelIntegrationLayout.tsxnew file mode 100644index 00000000000..258075f0245--- /dev/null+++ b/studio/components/layouts/VercelIntegrationLayout.tsx@@ -0,0 +1,39 @@+import { FC, ReactNode } from 'react'+import Head from 'next/head'+import { Divider } from '@supabase/ui'++interface Props {+ children: ReactNode+}++const VercelIntegrationLayout: FC<Props> = ({ children }) => {+ return (+ <>+ <Head>+ <title>Supabase + Vercel</title>+ </Head>++ <main className="flex flex-col w-full h-full overflow-y-auto">+ <div>+ <div className="mx-auto px-4 sm:px-6">+ <div className="max-w-xl flex justify-between items-center mx-auto py-4">+ <div className="flex justify-start lg:w-0 lg:flex-1">+ <div>+ <span className="sr-only">Supabase</span>+ <img className="h-6 w-auto sm:h-6" src="/img/supabase-logo.svg" alt="" />+ </div>+ </div>+ </div>+ </div>+ </div>+ <Divider type="horizontal" light />+ <div className="flex-grow">+ <div className="max-w-7xl h-full mx-auto px-4 sm:px-6">+ <div className="max-w-xl h-full mx-auto py-10">{children}</div>+ </div>+ </div>+ </main>+ </>+ )+}+export default VercelIntegrationLayoutdiff --git a/studio/components/layouts/WithSidebar.js b/studio/components/layouts/WithSidebar.jsnew file mode 100644index 00000000000..1ed25f39869--- /dev/null+++ b/studio/components/layouts/WithSidebar.js@@ -0,0 +1,170 @@+import Link from 'next/link'+// import IconSidebar from 'components/Layouts/IconSidebar'+import { Menu, Typography, IconArrowUpRight, Badge } from '@supabase/ui'+import LayoutHeader from './ProjectLayout/LayoutHeader'++/**+ * layout for all pages under /project/ route+ *+ * @param {String} title+ * @param {JSX.Element|JSX.Element[]} header+ * @param {JSX.Element|JSX.Element[]} children+ * @param {CSSProperties} sidebarStyle+ * @param {Array<Object>} icons 1st level group links+ * @param {Array<Object>} links 2nd level links related to group link+ * @param {Array<Object>} subitems subitems link to different sections on the same page+ * @param {Number} subitemsParentKey index of subitems parent link+ * @param {boolean} hideIconSidebar Hides the left-most icon bar+ * @param {JSX.Element|JSX.Element[]} customSidebarContent For injecting custom JSX into the sidebar+ * @param {string} projectRef Project ref string used in url+ */++const WithSidebar = ({+ title,+ header,+ breadcrumbs = [],+ children,+ sidebarStyle,+ links,+ subitems,+ subitemsParentKey,+ icons = [],+ hideIconSidebar = false,+ hideSidebar = false,+ customSidebarContent,+ projectRef,+}) => {+ const noContent = !links && !customSidebarContent+ const linksHaveHeaders = links && links[0].heading++ return (+ <div className={`flex `}>+ {/* {!hideIconSidebar && <IconSidebar links={icons} projectRef={projectRef} key="IconSidebar" />} */}+ {!hideSidebar && !noContent && (+ <div+ id="with-sidebar"+ className="+ w-64 h-screen overflow-auto bg-sidebar-linkbar-light dark:bg-sidebar-linkbar-dark hide-scrollbar+ border-r dark:border-dark+ "+ style={sidebarStyle}+ >+ {title && (+ <div className="mb-2">+ <div className="max-h-12 h-12 flex items-center border-b dark:border-dark px-6">+ <Typography.Title level={4} className="mb-0">+ {title}+ </Typography.Title>+ </div>+ </div>+ )}+ {header && header}+ <div className="-mt-1">+ <Menu>+ {customSidebarContent}+ {links && linksHaveHeaders ? (+ <LinksWithHeaders+ links={links}+ subitems={subitems}+ subitemsParentKey={subitemsParentKey}+ />+ ) : null}+ {!linksHaveHeaders && links ? (+ <LinksWithoutHeaders+ links={links}+ subitems={subitems}+ subitemsParentKey={subitemsParentKey}+ />+ ) : null}+ </Menu>+ </div>+ </div>+ )}+ <div className="flex-1 flex flex-col h-screen">+ <LayoutHeader breadcrumbs={breadcrumbs} />+ <div className="flex-grow flex-1 overflow-auto">{children}</div>+ </div>+ </div>+ )+}+export default WithSidebar++const LinksWithHeaders = ({ links, subitems, subitemsParentKey }) => {+ return links.map((x) => (+ <div key={x.heading} className="py-5 border-b dark:border-dark px-3">+ <Menu.Group title={x.heading} />+ {x.versionLabel && (+ <div className="px-3 mb-1">+ <Badge color="yellow">{x.versionLabel}</Badge>+ </div>+ )}+ {+ <LinksWithoutHeaders+ links={x.links}+ subitems={subitems}+ subitemsParentKey={subitemsParentKey}+ />+ }+ </div>+ ))+}+const LinksWithoutHeaders = ({ links, subitems, subitemsParentKey }) => {+ return (+ <ul className="dash-product-menu space-y-1">+ {links.map((x, i) => {+ // disable active state for link with subitems+ const isActive = x.isActive && !subitems+ let render = (+ <SidebarItem+ key={`${x.key || x.as}-${i}-sidebarItem`}+ id={`${x.key || x.as}-${i}`}+ slug={x.key}+ isActive={isActive}+ label={x.label}+ href={x.href}+ as={x.as}+ onClick={x.onClick}+ external={x.external || false}+ />+ )+ if (subitems && x.subitemsKey === subitemsParentKey) {+ const subItemsRender = subitems.map((y, i) => (+ <SidebarItem+ key={`${y.key || y.as}-${i}-sidebarItem`}+ id={`${y.key || y.as}-${i}`}+ slug={y.key}+ isSubitem={true}+ label={y.label}+ onClick={y.onClick}+ external={x.external || false}+ />+ ))+ render = [render, ...subItemsRender]+ }+ return render+ })}+ </ul>+ )+}++const SidebarItem = ({ id, label, as, href, slug, isActive, isSubitem, onClick, external }) => {+ return (+ <Link href={href || ''} as={as || ''}>+ <a className="block" target={external ? '_blank' : '_self'}>+ <Menu.Item+ rounded+ style={{+ marginLeft: isSubitem && '.5rem',+ }}+ active={isActive ? true : false}+ key={id}+ id={slug}+ onClick={onClick || (() => {})}+ icon={external && <IconArrowUpRight size={'tiny'} />}+ >+ {isSubitem ? <Typography.Text small>{label}</Typography.Text> : label}+ </Menu.Item>+ </a>+ </Link>+ )+}diff --git a/studio/components/layouts/WizardLayout.js b/studio/components/layouts/WizardLayout.jsnew file mode 100644index 00000000000..b3aca5bc5ec--- /dev/null+++ b/studio/components/layouts/WizardLayout.js@@ -0,0 +1,69 @@+import React from 'react'+import Link from 'next/link'+import BaseLayout from 'components/layouts'+import { IconChevronRight, Typography } from '@supabase/ui'++const WizardLayout = ({ organization, project, children }) => {+ return (+ <BaseLayout hideHeader hideIconBar>+ <div className="flex flex-col h-full w-full">+ <Header organization={organization} project={project} />+ <div className="overflow-auto">+ <section className="mx-auto max-w-2xl relative my-10 has-slide-in slide-in">+ {children}+ </section>+ </div>+ </div>+ </BaseLayout>+ )+}+export default WizardLayout++const Header = ({ organization, project }) => {+ let stepNumber = organization ? 1 : project ? 2 : 0+ return (+ <div className="p-3 border-b dark:border-dark">+ <div className="PageHeader">+ <div className="Breadcrumbs flex justify-between">+ <div className="text-sm flex items-center">+ <div className="space-x-2 flex items-center">+ <Link href="/">+ <a>+ <img+ src="/img/supabase-logo.svg"+ alt="Supabase"+ className="border dark:border-dark rounded p-1 hover:border-white"+ style={{ height: 24 }}+ />+ </a>+ </Link>+ <Typography.Text type="secondary">+ <IconChevronRight size="small" />+ </Typography.Text>+ <Typography.Text small>+ <a>+ {organization+ ? `Organization: ${organization.name}`+ : '1. Create an organization'}+ </a>+ </Typography.Text>+ <Typography.Text type="secondary">+ <IconChevronRight size="small" />+ </Typography.Text>+ <Typography.Text small type={stepNumber < 1 && 'secondary'}>+ <a>{project ? project.name : 'Create a new project'}</a>+ </Typography.Text>+ <Typography.Text type="secondary">+ <IconChevronRight size="small" />+ </Typography.Text>+ <Typography.Text small type={stepNumber < 2 && 'secondary'}>+ <a>{project ? project.name : 'Extend your database'}</a>+ </Typography.Text>+ </div>+ </div>+ <div className="flex">{/* End */}</div>+ </div>+ </div>+ </div>+ )+}diff --git a/studio/components/layouts/index.ts b/studio/components/layouts/index.tsnew file mode 100644index 00000000000..2e0d1bff809--- /dev/null+++ b/studio/components/layouts/index.ts@@ -0,0 +1,19 @@+import AuthLayout from './AuthLayout/AuthLayout'+import ProjectLayout from './ProjectLayout/ProjectLayout'+import TableEditorLayout from './TableEditorLayout/TableEditorLayout'+import SQLEditorLayout from './SQLEditorLayout/SQLEditorLayout'+import DatabaseLayout from './DatabaseLayout/DatabaseLayout'+import DocsLayout from './DocsLayout/DocsLayout'+import SettingsLayout from './SettingsLayout/SettingsLayout'+import StorageLayout from './StorageLayout/StorageLayout'++export {+ AuthLayout,+ DatabaseLayout,+ DocsLayout,+ TableEditorLayout,+ SQLEditorLayout,+ SettingsLayout,+ StorageLayout,+}+export default ProjectLayoutdiff --git a/studio/components/to-be-cleaned/AlphaPreview.js b/studio/components/to-be-cleaned/AlphaPreview.jsnew file mode 100644index 00000000000..8da68a79ce1--- /dev/null+++ b/studio/components/to-be-cleaned/AlphaPreview.js@@ -0,0 +1,23 @@+import * as React from 'react'++import { Typography, IconAlertCircle } from '@supabase/ui'++export default function AlphaPreview() {+ return (+ <div className="block w-full bg-yellow-500 bg-opacity-5 p-3 border border-yellow-500 border-opacity-50 rounded">+ <div className="flex space-x-3">+ <div>+ <IconAlertCircle className="text-yellow-500" size="large" />+ </div>+ <div className="flex flex-col">+ <Typography.Text type="warning">Alpha preview</Typography.Text>+ <div>+ <Typography.Text type="warning" small>+ This is not suitable for production+ </Typography.Text>+ </div>+ </div>+ </div>+ </div>+ )+}diff --git a/studio/components/to-be-cleaned/Auth/PolicyEditor.js b/studio/components/to-be-cleaned/Auth/PolicyEditor.jsnew file mode 100644index 00000000000..a6e8c4182be--- /dev/null+++ b/studio/components/to-be-cleaned/Auth/PolicyEditor.js@@ -0,0 +1,187 @@+import { Button, Typography, Input, Radio } from '@supabase/ui'+import { get } from 'lodash'+import { useEffect } from 'react'++import { usePrevious } from 'hooks'+import SqlEditor from '../SqlEditor'++const PolicyName = ({ name = '', onUpdatePolicyName = () => {} }) => {+ return (+ <div className="flex space-x-12">+ <div className="w-1/3 flex flex-col space-y-2">+ <Typography.Text>Policy name</Typography.Text>+ <Typography.Text type="secondary">A descriptive name for your policy.</Typography.Text>+ </div>+ <div className="w-2/3 relative">+ <Input+ value={name}+ rows={1}+ limit={63}+ onChange={(e) => onUpdatePolicyName(e.target.value)}+ />+ <div className="absolute top-2 right-4">+ <Typography.Text>{name.length}/63</Typography.Text>+ </div>+ </div>+ </div>+ )+}++const PolicyDefinition = ({+ operation = '',+ definition = '',+ check = '',+ onUpdatePolicyUsing = () => {},+ onUpdatePolicyCheck = () => {},+}) => {+ const showUsing = (operation) =>+ ['SELECT', 'UPDATE', 'DELETE', 'ALL'].includes(operation) || !operation+ const showCheck = (operation) => ['INSERT', 'UPDATE', 'ALL'].includes(operation)++ const previousOperation = usePrevious(operation)+ useEffect(() => {+ if (showUsing(previousOperation) && !showUsing(operation)) onUpdatePolicyUsing(null)+ if (showCheck(previousOperation) && !showCheck(operation)) onUpdatePolicyCheck(null)+ }, [operation])++ return (+ <div className="space-y-4">+ {showUsing(operation) && (+ <div className="flex space-x-12">+ <div className="w-1/3 flex flex-col space-y-2">+ <Typography.Text>USING expression</Typography.Text>+ <Typography.Text type="secondary">+ Provide a SQL conditional expression that returns a boolean.+ </Typography.Text>+ </div>+ <div className={`w-2/3 ${showCheck(operation) ? 'h-32' : 'h-56'}`}>+ <SqlEditor defaultValue={definition} onInputChange={onUpdatePolicyUsing} />+ </div>+ </div>+ )}+ {showCheck(operation) && (+ <div className="flex space-x-12">+ <div className="w-1/3 flex flex-col space-y-2">+ <Typography.Text>WITH CHECK expression</Typography.Text>+ <Typography.Text type="secondary">+ Provide a SQL conditional expression that returns a boolean.+ </Typography.Text>+ </div>+ <div className={`w-2/3 ${showUsing(operation) ? 'h-32' : 'h-56'}`}>+ <SqlEditor defaultValue={check} onInputChange={onUpdatePolicyCheck} />+ </div>+ </div>+ )}+ </div>+ )+}++const PolicyAllowedOperation = ({ operation = '', onSelectOperation = () => {} }) => {+ return (+ <div className="flex justify-between space-x-12">+ <div className="w-1/3 flex flex-col space-y-2">+ <Typography.Text>Allowed operation</Typography.Text>+ <Typography.Text type="secondary">Selection an operation for this policy</Typography.Text>+ </div>+ <div className="w-2/3">+ <div className="flex items-center space-x-8">+ <Radio+ name="allowed-operation"+ label="SELECT"+ value="SELECT"+ checked={operation === 'SELECT'}+ onChange={(e) => onSelectOperation(e.target.value)}+ />+ <Radio+ name="allowed-operation"+ label="INSERT"+ value="INSERT"+ checked={operation === 'INSERT'}+ onChange={(e) => onSelectOperation(e.target.value)}+ />+ <Radio+ name="allowed-operation"+ label="UPDATE"+ value="UPDATE"+ checked={operation === 'UPDATE'}+ onChange={(e) => onSelectOperation(e.target.value)}+ />+ <Radio+ name="allowed-operation"+ label="DELETE"+ value="DELETE"+ checked={operation === 'DELETE'}+ onChange={(e) => onSelectOperation(e.target.value)}+ />+ <Radio+ name="allowed-operation"+ label="ALL"+ value="ALL"+ checked={operation === 'ALL'}+ onChange={(e) => onSelectOperation(e.target.value)}+ />+ </div>+ </div>+ </div>+ )+}++const PolicyEditorFooter = ({+ showTemplates,+ onViewTemplates = () => {},+ onReviewPolicy = () => {},+}) => (+ <div className="px-6 py-3 w-full flex justify-end items-center space-x-4 border-t dark:border-dark">+ {showTemplates && (+ <Button type="secondary" onClick={onViewTemplates}>+ View templates+ </Button>+ )}+ <Button type="primary" onClick={onReviewPolicy}>+ Review+ </Button>+ </div>+)++const PolicyEditor = ({+ isNewPolicy = true,+ policyFormFields = {},+ onUpdatePolicyFormFields = () => {},+ onViewTemplates = () => {},+ onReviewPolicy = () => {},+}) => {+ const operation = get(policyFormFields, ['command'], '')+ const definition = get(policyFormFields, ['definition'], '') || ''+ const check = get(policyFormFields, ['check'], '') || ''++ return (+ <div className="">+ <div className="px-6 space-y-8 mb-8">+ <PolicyName+ name={policyFormFields.name}+ onUpdatePolicyName={(name) => onUpdatePolicyFormFields({ name })}+ />+ {isNewPolicy && (+ <PolicyAllowedOperation+ operation={operation}+ onSelectOperation={(command) => onUpdatePolicyFormFields({ command })}+ />+ )}+ <PolicyDefinition+ operation={operation}+ definition={definition}+ check={check}+ onUpdatePolicyUsing={(definition) => onUpdatePolicyFormFields({ definition })}+ onUpdatePolicyCheck={(check) => onUpdatePolicyFormFields({ check })}+ />+ </div>+ <PolicyEditorFooter+ showTemplates={isNewPolicy}+ onViewTemplates={onViewTemplates}+ onReviewPolicy={onReviewPolicy}+ />+ </div>+ )+}++export default PolicyEditordiff --git a/studio/components/to-be-cleaned/Auth/PolicyEditorModal.constants.js b/studio/components/to-be-cleaned/Auth/PolicyEditorModal.constants.jsnew file mode 100644index 00000000000..a8ab19cf67f--- /dev/null+++ b/studio/components/to-be-cleaned/Auth/PolicyEditorModal.constants.js@@ -0,0 +1,82 @@+/**+ * ----------------------------------------------------------------+ * PostgreSQL policy templates for the auth policies page+ * ----------------------------------------------------------------+ * id: Unique identifier for the monaco editor to dynamically refresh+ * templateName: As a display for a more descriptive title for the policy+ * description: Additional details about the template and how to make it yours+ * statement: SQL statement template for the policy+ *+ * name: Actual policy name that will be used in the editor+ * definition: Actual policy using expression that will be used in the editor+ * check: Actual policy with check expression that will be used in the editor+ * command: Operation to create policy for+ */++export const getGeneralPolicyTemplates = (schema, table) => [+ {+ id: 'policy-1',+ templateName: 'Enable read access to everyone',+ description:+ 'This policy gives read access to your table for all users via the SELECT operation.',+ statement: `+CREATE POLICY "policy_name"+ON ${schema}.${table}+FOR SELECT USING (+ true+);`.trim(),+ name: 'Enable access to all users',+ definition: 'true',+ check: '',+ command: 'SELECT',+ },+ {+ id: 'policy-2',+ templateName: 'Enable insert access for authenticated users only',+ description: 'This policy gives insert access to your table for all authenticated users only.',+ statement: `+CREATE POLICY "policy_name"+ON ${schema}.${table}+FOR INSERT WITH CHECK (+ auth.role() = 'authenticated'+);`.trim(),+ name: 'Enable insert for authenticated users only',+ definition: '',+ check: `auth.role() = 'authenticated'`,+ command: 'INSERT',+ },+ {+ id: 'policy-3',+ templateName: 'Enable update access for users based on their email *',+ description:+ 'This policy assumes that your table has a column "email", and allows users to update rows which the "email" column matches their email.',+ statement: `+CREATE POLICY "policy_name"+ON ${schema}.${table}+FOR UPDATE USING (+ auth.email() = email+) WITH CHECK (+ auth.email() = email+);`.trim(),+ name: 'Enable update for users based on email',+ definition: 'auth.email() = email',+ check: 'auth.email() = email',+ command: 'UPDATE',+ },+ {+ id: 'policy-4',+ templateName: 'Enable delete access for users based on their user ID *',+ description:+ 'This policy assumes that your table has a column "user_id", and allows users to delete rows which the "user_id" column matches their ID',+ statement: `+CREATE POLICY "policy_name"+ON ${schema}.${table}+FOR DELETE USING (+ auth.uid() = user_id+);`.trim(),+ name: 'Enable delete for users based on user_id',+ definition: 'auth.uid() = user_id',+ check: '',+ command: 'DELETE',+ },+]diff --git a/studio/components/to-be-cleaned/Auth/PolicyEditorModal.js b/studio/components/to-be-cleaned/Auth/PolicyEditorModal.jsnew file mode 100644index 00000000000..84cfa000e43--- /dev/null+++ b/studio/components/to-be-cleaned/Auth/PolicyEditorModal.js@@ -0,0 +1,217 @@+import { Modal, Typography, IconChevronLeft } from '@supabase/ui'+import { useState, useEffect } from 'react'+import { isEmpty } from 'lodash'+import toast from 'react-hot-toast'++import { POLICY_MODAL_VIEWS } from 'lib/constants'+import { getGeneralPolicyTemplates } from './PolicyEditorModal.constants'+import {+ createSQLPolicy,+ createPayloadForCreatePolicy,+ createPayloadForUpdatePolicy,+} from './policyHelpers'++import PolicySelection from './PolicySelection'+import PolicyEditor from './PolicyEditor'+import PolicyReview from './PolicyReview'+import PolicyTemplates from './PolicyTemplates'++const PolicyEditorModalTitle = ({+ view,+ schema,+ table,+ isNewPolicy,+ onSelectBackFromTemplates = () => {},+}) => {+ const getTitle = () => {+ if (view === POLICY_MODAL_VIEWS.EDITOR || view === POLICY_MODAL_VIEWS.SELECTION) {+ return `${isNewPolicy ? 'Adding new policy to' : 'Editing policy from'} ${schema}.${table}`+ }+ if (view === POLICY_MODAL_VIEWS.REVIEW) {+ return `Reviewing policy to be ${isNewPolicy ? 'created' : 'updated'} on ${schema}.${table}`+ }+ }+ if (view === POLICY_MODAL_VIEWS.TEMPLATES) {+ return (+ <div className="px-6 pt-5">+ <div className="flex items-center space-x-3">+ <Typography.Text type="secondary">+ <div className="cursor-pointer" onClick={onSelectBackFromTemplates}>+ <IconChevronLeft />+ </div>+ </Typography.Text>+ <Typography.Title level={4} className="m-0">+ Select a template to use for your new policy+ </Typography.Title>+ </div>+ </div>+ )+ }+ return (+ <div className="flex items-center space-x-3 px-6 pt-5">+ <Typography.Title level={4} className="m-0">+ {getTitle()}+ </Typography.Title>+ </div>+ )+}++const PolicyEditorModal = ({+ visible = false,+ schema = '',+ table = '',+ selectedPolicyToEdit = {},+ onSelectCancel = () => {},+ onCreatePolicy = () => {},+ onUpdatePolicy = () => {},+ onSaveSuccess = () => {},+}) => {+ const newPolicyTemplate = {+ schema,+ table,+ name: '',+ definition: '',+ check: '',+ command: null,+ }++ const isNewPolicy = isEmpty(selectedPolicyToEdit)+ const initializedPolicyFormFields = isNewPolicy ? newPolicyTemplate : selectedPolicyToEdit++ const [previousView, setPreviousView] = useState('') // Mainly to decide which view to show when back from templates+ const [view, setView] = useState(POLICY_MODAL_VIEWS.EDITOR)++ const [policyFormFields, setPolicyFormFields] = useState(initializedPolicyFormFields)+ const [policyStatementForReview, setPolicyStatementForReview] = useState('')++ useEffect(() => {+ if (visible) {+ if (isNewPolicy) {+ onViewIntro()+ } else {+ onViewEditor()+ }+ setPolicyFormFields(initializedPolicyFormFields)+ }+ }, [visible])++ /* Methods that are for the UI */++ const onViewIntro = () => setView(POLICY_MODAL_VIEWS.SELECTION)+ const onViewEditor = () => setView(POLICY_MODAL_VIEWS.EDITOR)+ const onViewTemplates = () => {+ setPreviousView(view)+ setView(POLICY_MODAL_VIEWS.TEMPLATES)+ }+ const onReviewPolicy = () => setView(POLICY_MODAL_VIEWS.REVIEW)+ const onSelectBackFromTemplates = () => setView(previousView)++ const onUseTemplate = (template) => {+ setPolicyFormFields({+ ...policyFormFields,+ name: template.name,+ definition: template.definition,+ check: template.check,+ command: template.command,+ })+ onViewEditor()+ }++ const onUpdatePolicyFormFields = (field) => {+ if (field.name && field.name.length > 63) return+ setPolicyFormFields({ ...policyFormFields, ...field })+ }++ const validatePolicyFormFields = () => {+ const { name, definition, check, command } = policyFormFields++ if (name.length === 0) {+ return toast.error('Do give your policy a name')+ }+ if (!command) {+ return toast.error('You will need to allow at one operation in your policy')+ }+ if (['SELECT', 'DELETE'].includes(command) && !definition) {+ return toast.error('Did you forget to provide a USING expression for your policy?')+ }+ if (command === 'INSERT' && !check) {+ return toast.error('Did you forget to provide a WITH CHECK expression for your policy?')+ }+ if (command === 'UPDATE' && !definition && !check) {+ return toast.error(+ 'You will need to provide either a USING, or WITH CHECK expression, or both for your policy'+ )+ }+ const policySQLStatement = createSQLPolicy(policyFormFields, selectedPolicyToEdit)+ setPolicyStatementForReview(policySQLStatement)+ onReviewPolicy()+ }++ const onReviewSave = () => {+ const payload = isNewPolicy+ ? createPayloadForCreatePolicy(policyFormFields)+ : createPayloadForUpdatePolicy(policyFormFields, selectedPolicyToEdit)+ onSavePolicy(payload)+ }++ const onSavePolicy = async (payload) => {+ const hasError = isNewPolicy ? await onCreatePolicy(payload) : await onUpdatePolicy(payload)+ hasError ? onViewEditor() : onSaveSuccess()+ }++ return (+ <Modal+ closable+ hideFooter+ visible={visible}+ contentStyle={{ padding: 0 }}+ title={[+ <PolicyEditorModalTitle+ key="0"+ view={view}+ isNewPolicy={isNewPolicy}+ schema={schema}+ table={table}+ onSelectBackFromTemplates={onSelectBackFromTemplates}+ />,+ ]}+ style={{ maxWidth: 'none', width: '60rem' }}+ onCancel={onSelectCancel}+ >+ <div className="w-full">+ {view === POLICY_MODAL_VIEWS.SELECTION ? (+ <PolicySelection+ description="Write rules with PostgreSQL's policies to fit your unique business needs."+ onViewTemplates={onViewTemplates}+ onViewEditor={onViewEditor}+ />+ ) : view === POLICY_MODAL_VIEWS.EDITOR ? (+ <PolicyEditor+ isNewPolicy={isNewPolicy}+ policyFormFields={policyFormFields}+ onUpdatePolicyFormFields={onUpdatePolicyFormFields}+ onViewTemplates={onViewTemplates}+ onReviewPolicy={validatePolicyFormFields}+ />+ ) : view === POLICY_MODAL_VIEWS.TEMPLATES ? (+ <PolicyTemplates+ templates={getGeneralPolicyTemplates(schema, table)}+ templatesNote="* References a specific column in the table"+ onSelectBackFromTemplates={onSelectBackFromTemplates}+ onUseTemplate={onUseTemplate}+ />+ ) : view === POLICY_MODAL_VIEWS.REVIEW ? (+ <PolicyReview+ policy={policyStatementForReview}+ onSelectBack={onViewEditor}+ onSelectSave={onReviewSave}+ />+ ) : (+ <div />+ )}+ </div>+ </Modal>+ )+}++export default PolicyEditorModaldiff --git a/studio/components/to-be-cleaned/Auth/PolicyReview.js b/studio/components/to-be-cleaned/Auth/PolicyReview.jsnew file mode 100644index 00000000000..9c71de47604--- /dev/null+++ b/studio/components/to-be-cleaned/Auth/PolicyReview.js@@ -0,0 +1,56 @@+import { Button, Typography } from '@supabase/ui'+import { isEmpty } from 'lodash'+import { useState } from 'react'+import SqlEditor from '../SqlEditor'++const ReviewEmptyState = () => {+ return (+ <div className="flex items-center justify-center my-10 opacity-50 space-x-2">+ <Typography.Text>There are no changes made to this policy</Typography.Text>+ </div>+ )+}++const PolicyReview = ({ policy = {}, onSelectBack = () => {}, onSelectSave = () => {} }) => {+ const [isSaving, setIsSaving] = useState(false)+ const onSavePolicy = () => {+ setIsSaving(true)+ onSelectSave()+ }++ let formattedSQLStatement = policy.statement || ''++ return (+ <div className="space-y-6">+ <div className="px-6 space-y-8 flex items-center justify-between space-x-4">+ <div className="flex flex-col">+ <Typography.Text>+ This is the SQL statement that will be used to create your policy.+ </Typography.Text>+ </div>+ </div>+ <div className="px-6 space-y-4 overflow-y-auto" style={{ maxHeight: '25rem' }}>+ {isEmpty(policy) ? (+ <ReviewEmptyState />+ ) : (+ <div className="space-y-2">+ <Typography.Text>{policy.description}</Typography.Text>+ <div className="h-40">+ <SqlEditor readOnly defaultValue={formattedSQLStatement} />+ </div>+ </div>+ )}+ </div>+ <div className="px-6 py-3 w-full flex justify-end items-center space-x-4 border-t dark:border-dark">+ <Button type="secondary" onClick={onSelectBack}>+ Back to edit+ </Button>+ <Button type="primary" disabled={isEmpty(policy)} onClick={onSavePolicy} loading={isSaving}>+ Save policy+ </Button>+ </div>+ </div>+ )+}++export default PolicyReviewdiff --git a/studio/components/to-be-cleaned/Auth/PolicySelection.js b/studio/components/to-be-cleaned/Auth/PolicySelection.jsnew file mode 100644index 00000000000..ed7afb215cc--- /dev/null+++ b/studio/components/to-be-cleaned/Auth/PolicySelection.js@@ -0,0 +1,72 @@+import { Card, Typography } from '@supabase/ui'+import SVG from 'react-inlinesvg'++const PolicySelection = ({+ description = '',+ onViewTemplates = () => {},+ onViewEditor = () => {},+}) => {+ return (+ <div className="px-6">+ <div className="flex items-center justify-between space-x-4">+ <div className="flex flex-col w-3/4">+ <Typography.Text>{description}</Typography.Text>+ </div>+ </div>+ <div className="my-8">+ <div className="flex items-center justify-center space-x-8">+ <div onClick={onViewTemplates}>+ <Card hoverable className="cursor-pointer py-4">+ <div className="flex items-center justify-between">+ <div className="w-1/2">+ <Typography.Text>Get started quickly</Typography.Text>+ <Typography.Title level={3}>Create a policy from a template</Typography.Title>+ </div>+ <SVG+ src={'/img/policy-template.svg'}+ alt={'policy-template'}+ preProcessor={(code) =>+ code.replace(/svg/, 'svg class="w-24 h-24 text-color-inherit opacity-75"')+ }+ />+ </div>+ </Card>+ </div>+ <div onClick={onViewEditor}>+ <Card hoverable className="cursor-pointer py-4">+ <div className="flex items-center justify-between">+ <div className="w-1/2">+ <Typography.Text>For full customization</Typography.Text>+ <Typography.Title level={3}>Create a policy from scratch</Typography.Title>+ </div>+ <SVG+ src={'/img/policy-new.svg'}+ alt={'policy-new'}+ preProcessor={(code) =>+ code.replace(/svg/, 'svg class="w-24 h-24 text-color-inherit opacity-75"')+ }+ />+ </div>+ </Card>+ </div>+ </div>+ <div className="mt-10 mx-auto text-center">+ <Typography.Text>+ Not sure what policies are? Check out our resources{' '}+ <a+ target="_blank"+ className="text-green-400"+ href="https://supabase.io/docs/guides/auth#policies"+ as="https://supabase.io/docs/guides/auth#policies"+ >+ here+ </a>+ .+ </Typography.Text>+ </div>+ </div>+ </div>+ )+}++export default PolicySelectiondiff --git a/studio/components/to-be-cleaned/Auth/PolicyTableRow.js b/studio/components/to-be-cleaned/Auth/PolicyTableRow.jsnew file mode 100644index 00000000000..0c7af6a1ddc--- /dev/null+++ b/studio/components/to-be-cleaned/Auth/PolicyTableRow.js@@ -0,0 +1,102 @@+import { Badge, Button, Typography } from '@supabase/ui'+import Panel from '../Panel'++const PolicyTableRowHeader = ({+ table = {},+ onSelectToggleRLS = () => {},+ onSelectCreatePolicy = () => {},+}) => {+ return (+ <div className="flex items-center justify-between w-full">+ <div className="flex space-x-4 text-left">+ <Typography.Title level={4} className="m-0">+ <span>{table.name}</span>+ </Typography.Title>+ <Badge color={table.rls_enabled ? 'green' : 'yellow'}>+ {table.rls_enabled ? 'RLS enabled' : 'RLS disabled'}+ </Badge>+ </div>+ <div className="flex-1">+ <div className="flex flex-row-reverse">+ <Button type="outline" className="ml-2" onClick={() => onSelectCreatePolicy(table)}>+ New Policy+ </Button>+ <Button type="default" onClick={() => onSelectToggleRLS(table)}>+ {table.rls_enabled ? 'Disable RLS' : 'Enable RLS'}+ </Button>+ </div>+ </div>+ </div>+ )+}++const PolicyRow = ({+ policy = {},+ onSelectEditPolicy = () => {},+ onSelectDeletePolicy = () => {},+}) => {+ return (+ <div className="flex has-hidden-children">+ <Panel.Content className="flex justify-between w-full py-4 border-b dark:border-dark">+ <div className="flex-1">+ <Typography.Text>{policy.name}</Typography.Text>+ <Typography.Text type="secondary" className="font-mono block" small>+ {policy.definition || policy.check}+ </Typography.Text>+ </div>+ <div className="relative w-64">+ <div className="top-0 right-0 absolute inline-block visible-child my-2 font-mono text-xs text-gray-400 text-right ">+ {policy.command}+ </div>+ <div className="top-0 right-0 absolute inline-block -mr-3 hidden-child">+ <Button type="outline" className="mx-2" onClick={() => onSelectEditPolicy(policy)}>+ Edit+ </Button>+ <Button type="outline" onClick={() => onSelectDeletePolicy(policy)}>+ Delete+ </Button>+ </div>+ </div>+ </Panel.Content>+ </div>+ )+}++const PolicyTableRow = ({+ table = {},+ onSelectToggleRLS = () => {},+ onSelectCreatePolicy = () => {},+ onSelectEditPolicy = () => {},+ onSelectDeletePolicy = () => {},+}) => {+ return (+ <Panel+ title={+ <PolicyTableRowHeader+ table={table}+ onSelectToggleRLS={onSelectToggleRLS}+ onSelectCreatePolicy={onSelectCreatePolicy}+ />+ }+ >+ {table.policies.length === 0 && (+ <div className="p-4 px-6">+ <Typography.Text type="secondary" className="opacity-50">+ No policies created yet+ </Typography.Text>+ </div>+ )}++ {table.policies.map((policy) => (+ <PolicyRow+ key={policy.id}+ policy={policy}+ onSelectEditPolicy={onSelectEditPolicy}+ onSelectDeletePolicy={onSelectDeletePolicy}+ />+ ))}+ </Panel>+ )+}++export default PolicyTableRowdiff --git a/studio/components/to-be-cleaned/Auth/PolicyTemplates.js b/studio/components/to-be-cleaned/Auth/PolicyTemplates.jsnew file mode 100644index 00000000000..908a7261203--- /dev/null+++ b/studio/components/to-be-cleaned/Auth/PolicyTemplates.js@@ -0,0 +1,100 @@+import { Button, Typography, Menu } from '@supabase/ui'+import { useState } from 'react'+import { isEmpty } from 'lodash'+import SqlEditor from '../SqlEditor'++const TemplatesList = ({+ templates = [],+ templatesNote = '',+ selectedTemplate = {},+ setSelectedTemplate = () => {},+}) => (+ <div className="border-r dark:border-dark flex flex-col justify-between" style={{ width: '30%' }}>+ <div+ className="space-y-0 overflow-y-auto hide-scrollbar divide-y divide-solid divide-border-primary"+ style={{ maxHeight: '24rem' }}+ >+ <Menu className="dark:divide-gray-600">+ {templates.map((template) => (+ <div+ key={template.id}+ onClick={() => setSelectedTemplate(template)}+ className="divide-gray-900"+ >+ <Menu.Item+ className="cursor-pointer"+ showActiveBar+ active={selectedTemplate === template}+ >+ <div className="space-y-2 py-2">+ <Typography.Text>{template.templateName}</Typography.Text>+ </div>+ </Menu.Item>+ </div>+ ))}+ </Menu>+ </div>+ {templatesNote && (+ <div className="px-4 py-2">+ <Typography.Text small>{templatesNote}</Typography.Text>+ </div>+ )}+ </div>+)++const TemplatePreview = ({ selectedTemplate = {} }) => {+ const { id, templateName, description, statement } = selectedTemplate+ return (+ <div className="space-y-8" style={{ width: '70%' }}>+ {!isEmpty(selectedTemplate) && (+ <div className="flex flex-col justify-between h-full">+ <div className="px-6 my-5 space-y-6 h-full">+ <div className="space-y-2">+ <div className="flex flex-col space-y-2">+ <Typography.Title level={6}>{templateName}</Typography.Title>+ <Typography.Text>{description}</Typography.Text>+ </div>+ </div>+ <div className="space-y-2">+ <Typography.Text>Policy SQL template:</Typography.Text>+ <div className="h-64">+ <SqlEditor readOnly queryId={id} defaultValue={statement} />+ </div>+ </div>+ </div>+ </div>+ )}+ </div>+ )+}++const PolicyTemplates = ({ templates = [], templatesNote = '', onUseTemplate = () => {} }) => {+ const [selectedTemplate, setSelectedTemplate] = useState(templates[0])+ return (+ <div>+ <div className="flex justify-between border-t dark:border-dark">+ <TemplatesList+ templatesNote={templatesNote}+ templates={templates}+ selectedTemplate={selectedTemplate}+ setSelectedTemplate={setSelectedTemplate}+ />+ <TemplatePreview selectedTemplate={selectedTemplate} />+ </div>+ <div className="px-6 py-2 w-full flex justify-end items-center space-x-4 border-t dark:border-dark">+ <Typography.Text type="secondary">+ This will override any existing code you've written+ </Typography.Text>+ <Button+ type="primary"+ disabled={isEmpty(selectedTemplate)}+ onClick={() => onUseTemplate(selectedTemplate)}+ >+ Use this template+ </Button>+ </div>+ </div>+ )+}++export default PolicyTemplatesdiff --git a/studio/components/to-be-cleaned/Auth/policyHelpers.js b/studio/components/to-be-cleaned/Auth/policyHelpers.jsnew file mode 100644index 00000000000..14f5717509b--- /dev/null+++ b/studio/components/to-be-cleaned/Auth/policyHelpers.js@@ -0,0 +1,131 @@+import { has, isEmpty, isEqual } from 'lodash'++/**+ * Returns an array of SQL statements that will preview in the review step of the policy editor+ * @param {*} policyFormFields { name, using, check, command }+ */++export const createSQLPolicy = (policyFormFields, originalPolicyFormFields = {}) => {+ const { definition, check } = policyFormFields+ const formattedPolicyFormFields = {+ ...policyFormFields,+ definition: definition ? definition.replace(/\s+/g, ' ').trim() : definition,+ check: check ? check.replace(/\s+/g, ' ').trim() : check,+ }++ if (isEmpty(originalPolicyFormFields)) {+ return createSQLStatementForCreatePolicy(formattedPolicyFormFields)+ }++ // If there are no changes, return an empty object+ if (isEqual(policyFormFields, originalPolicyFormFields)) {+ return {}+ }++ // Extract out all the fields that updated+ const fieldsToUpdate = {}+ if (!isEqual(formattedPolicyFormFields.name, originalPolicyFormFields.name)) {+ fieldsToUpdate.name = formattedPolicyFormFields.name+ }+ if (!isEqual(formattedPolicyFormFields.definition, originalPolicyFormFields.definition)) {+ fieldsToUpdate.definition = formattedPolicyFormFields.definition+ }+ if (!isEqual(formattedPolicyFormFields.check, originalPolicyFormFields.check)) {+ fieldsToUpdate.check = formattedPolicyFormFields.check+ }++ if (!isEmpty(fieldsToUpdate)) {+ return createSQLStatementForUpdatePolicy(formattedPolicyFormFields, fieldsToUpdate)+ }++ return { description: 'hello', statement: 'hello' }+}++export const createSQLStatementForCreatePolicy = (policyFormFields) => {+ const { name, definition, check, command, schema, table } = policyFormFields+ const description = `Add policy for the ${command} operation under the policy "${name}"`+ const statement =+ `+ CREATE POLICY "${name}" ON ${schema}.${table} FOR ${command}+ ${definition ? `USING (${definition})` : ''}+ ${check ? `WITH CHECK (${check})` : ''}+ `+ .replace(/\s+/g, ' ')+ .trim() + ';'+ return { description, statement }+}++export const createSQLStatementForUpdatePolicy = (policyFormFields = {}, fieldsToUpdate = {}) => {+ const { name, schema, table } = policyFormFields++ const definitionChanged = has(fieldsToUpdate, ['definition'])+ const checkChanged = has(fieldsToUpdate, ['check'])+ const nameChanged = has(fieldsToUpdate, ['name'])++ let description = `+ ${+ definitionChanged || checkChanged+ ? `Update policy's ${definitionChanged ? 'USING expression' : ''} ${+ definitionChanged && checkChanged ? ' and' : ''+ } ${checkChanged ? ' WITH CHECK expression.' : ''}`+ : ''+ }+ ${nameChanged ? `Rename policy to ${fieldsToUpdate.name}.` : ''}+ `+ // Need to figure out a way to derive description: name, definition and check can change++ const definitionOrCheckUpdateStatement =+ definitionChanged || checkChanged+ ? `+ ALTER POLICY "${name}" ON ${schema}.${table} ${+ definitionChanged ? `USING (${fieldsToUpdate.definition})` : ''+ } ${checkChanged ? `WITH CHECK (${fieldsToUpdate.check})` : ''};+ `+ .replace(/\s+/g, ' ')+ .trim()+ : ''++ const renameStatement = nameChanged+ ? `ALTER POLICY "${name}" ON ${schema}.${table} RENAME TO "${fieldsToUpdate.name}";`+ : ''++ const statement = definitionOrCheckUpdateStatement + renameStatement++ return { description, statement }+}++export const createPayloadForCreatePolicy = (policyFormFields = {}) => {+ const { definition, check } = policyFormFields+ return {+ ...policyFormFields,+ action: 'PERMISSIVE',+ definition: definition || undefined,+ check: check || undefined,+ }+}++export const createPayloadForUpdatePolicy = (+ policyFormFields = {},+ originalPolicyFormFields = {}+) => {+ const { definition, check } = policyFormFields+ const formattedPolicyFormFields = {+ ...policyFormFields,+ definition: definition ? definition.replace(/\s+/g, ' ').trim() : definition,+ check: check ? check.replace(/\s+/g, ' ').trim() : check,+ }++ const payload = { id: originalPolicyFormFields.id }++ if (!isEqual(formattedPolicyFormFields.name, originalPolicyFormFields.name)) {+ payload.name = formattedPolicyFormFields.name+ }+ if (!isEqual(formattedPolicyFormFields.definition, originalPolicyFormFields.definition)) {+ payload.definition = formattedPolicyFormFields.definition || undefined+ }+ if (!isEqual(formattedPolicyFormFields.check, originalPolicyFormFields.check)) {+ payload.check = formattedPolicyFormFields.check || undefined+ }++ return payload+}diff --git a/studio/components/to-be-cleaned/BuildingState.tsx b/studio/components/to-be-cleaned/BuildingState.tsxnew file mode 100644index 00000000000..dc0d887b7cb--- /dev/null+++ b/studio/components/to-be-cleaned/BuildingState.tsx@@ -0,0 +1,145 @@+import * as React from 'react'+import Link from 'next/link'+import { useRouter } from 'next/router'+import { observer } from 'mobx-react-lite'+import { Badge, Typography, IconArrowRight, IconLoader } from '@supabase/ui'+import {+ DisplayApiSettings,+ DisplayConfigSettings,+} from 'components/to-be-cleaned/DisplayProjectSettings'+import ExampleProject from 'components/interfaces/Home/ExampleProject'+import ClientLibrary from 'components/interfaces/Home/ClientLibrary'+import { CLIENT_LIBRARIES, EXAMPLE_PROJECTS } from 'components/interfaces/Home/Home.constants'++import { API_URL } from 'lib/constants'+import { useStore } from 'hooks'+import { get } from 'lib/common/fetch'++const { Text, Title } = Typography++type ProjectBuildingState = {} & any+const ProjectBuildingState: React.FC<ProjectBuildingState> = () => {+ const { ui, app } = useStore()+ const project: any = ui.selectedProject++ const router = useRouter()+ const { ref } = router.query+ const checkServerInterval = React.useRef<number>()++ async function checkServer() {+ const response = await get(`${API_URL}/props/project/${ref}`)+ if (response && response.project) {+ const { project } = response+ if (project.status === 'ACTIVE_HEALTHY') {+ const res = await get(`${API_URL}/props/project/${ref}/connection-string`)+ if (res && res.connectionString) project.connectionString = res.connectionString+ app.onProjectUpdated(project)+ clearInterval(checkServerInterval.current)+ }+ }+ }++ React.useEffect(() => {+ // check server status every 1s+ checkServerInterval.current = window.setInterval(checkServer, 1000)+ return () => {+ clearInterval(checkServerInterval.current)+ }+ }, [])++ return (+ <div className="max-w-6xl mx-auto w-full items-center justify-center my-16">+ <div className="flex flex-col space-y-16">+ <div className="mx-6">+ <div className="space-x-3 flex items-center">+ <Title level={3} className="mb-0">+ Setting up {project.name}+ </Title>+ <IconLoader className="animate-spin" />+ </div>+ <Text type="secondary">Provisioning your database and API endpoints</Text>+ <div className="mt-3">+ <Badge color="yellow">This may take a few minutes</Badge>+ </div>+ </div>+ <div>+ <div className="mx-6 grid grid-cols-12 gap-12">+ <div className="col-span-12 lg:col-span-4 space-y-12">+ <div>+ <Title level={5}>While you wait</Title>++ <ChecklistItem+ description={+ <Text>+ Browse the Supabase{' '}+ <Link href="https://supabase.io/docs">+ <a className="text-green-500 hover:text-green-700" target="_blank">+ documentation+ </a>+ </Link>+ .+ </Text>+ }+ />+ </div>+ <div>+ <Title level={5}>Not working?</Title>+ <ChecklistItem+ description={<Text>Try refreshing after a couple of minutes.</Text>}+ />+ <ul>+ <ChecklistItem+ description={+ <Typography.Text>+ If your dashboard hasn't connected within 2 minutes, send us an email:{' '}+ <Typography.Text code>[email protected]</Typography.Text>+ </Typography.Text>+ }+ />+ </ul>+ </div>+ </div>+ <div className="col-span-12 lg:col-span-8">+ <DisplayApiSettings />+ <DisplayConfigSettings />+ </div>+ </div>+ </div>+ </div>+ <div className="max-w-7xl mx-auto w-full my-16 space-y-16">+ <div className="space-y-8">+ <div className="mx-6">+ <Typography.Title level={4}>Client libraries</Typography.Title>+ </div>+ <div className="mx-6 grid md:grid-cols-3 gap-12 mb-12">+ {CLIENT_LIBRARIES.map((library) => (+ <ClientLibrary key={library.language} {...library} />+ ))}+ </div>+ </div>+ <div className="space-y-8">+ <div className="mx-6">+ <Typography.Title level={4}>Example projects</Typography.Title>+ </div>+ <div className="mx-6 grid md:grid-cols-2 lg:grid-cols-3 gap-8">+ {EXAMPLE_PROJECTS.map((project) => (+ <ExampleProject key={project.url} {...project} />+ ))}+ </div>+ </div>+ </div>+ </div>+ )+}+export default observer(ProjectBuildingState)++const ChecklistItem = ({ description }: any) => {+ return (+ <li className="flex flex-wrap my-3 space-x-3">+ <div className="mt-1.5">+ <IconArrowRight className="text-green-500" size="tiny" />+ </div>+ <div className="flex-1">{description}</div>+ </li>+ )+}diff --git a/studio/components/to-be-cleaned/Charts/ChartHandler.tsx b/studio/components/to-be-cleaned/Charts/ChartHandler.tsxnew file mode 100644index 00000000000..16ecb7e62c5--- /dev/null+++ b/studio/components/to-be-cleaned/Charts/ChartHandler.tsx@@ -0,0 +1,186 @@+import React, { FC, ReactNode, useState, useEffect } from 'react'+import { useRouter } from 'next/router'+import { isUndefined } from 'lodash'+import {+ Button,+ IconActivity,+ IconAlertCircle,+ IconBarChart,+ IconLoader,+ Typography,+} from '@supabase/ui'+import { Dictionary } from '@supabase/grid'++import { API_URL } from 'lib/constants'+import { get } from 'lib/common/fetch'+import { BarChart, AreaChart } from './ChartRenderer'+import { ChartData } from './ChartHandler.types'++interface Props {+ label: string+ attribute: string+ provider: string+ startDate: string+ endDate: string+ interval: string+ customDateFormat?: string+ children?: ReactNode+ highlight?: 'total' | 'average' | 'maximum'+ defaultChartStyle?: 'bar' | 'line'+ hideChartType?: boolean+ data?: ChartData+ isLoading?: boolean+}++/**+ * Controls chart display state. Optionally fetches static chart data if data is not provided.+ *+ * If the `data` prop is provided, it will disable automatic chart data fetching and pass the data directly to the chart render.+ * - loading state can also be provided through the `isLoading` prop, to display loading placeholders. Ignored if `data` key not provided.+ * - if `isLoading=true` and `data` is `undefined`, loading error message will be shown.+ *+ * Provided data must be in the expected chart format.+ */+const ChartHandler: FC<Props> = ({+ label,+ attribute,+ provider,+ startDate,+ endDate,+ interval,+ customDateFormat,+ children = null,+ highlight,+ defaultChartStyle = 'bar',+ hideChartType = false,+ data,+ isLoading,+}) => {+ const router = useRouter()+ const { ref } = router.query++ // internal state is overridden by isLoading prop+ const [fetching, setFetching] = useState<boolean>(false)+ const [fetchedData, setFetchedData] = useState<any>(undefined)+ const [chartStyle, setChartStyle] = useState<string>(defaultChartStyle)+ const chartData = data || fetchedData+ const loading = isLoading || fetching++ useEffect(() => {+ let cancel = false++ const fetchChartData = async () => {+ setFetching(true)++ const url = `${API_URL}/projects/${ref}/${provider}?attribute=${attribute}&startDate=${encodeURIComponent(+ startDate+ )}&endDate=${encodeURIComponent(endDate)}&interval=${interval ? interval : '1d'}`++ const { error, ...res } = await get(url)++ if (error && !cancel) {+ setFetching(false)+ setFetchedData(undefined)+ return console.error('Chart error:', error)+ }++ // Convert null values to 0+ // TODO: Chart endpoint should handle this data formatting to 0 instead of client.+ const formattedChartData = res.data.map((dataPoint: Dictionary<any>, idx: number) => {+ return {+ ...dataPoint,+ [attribute]: dataPoint[attribute] ? Number(dataPoint[attribute]) : 0,+ }+ })++ if (!cancel) {+ setFetchedData({ ...res, data: formattedChartData })+ setFetching(false)+ }+ }++ // only fetch if data prop is not provided+ if (data === undefined && !isLoading) {+ fetchChartData()+ }++ return () => {+ cancel = true+ }+ }, [startDate])++ const highlightedValue =+ provider === 'daily-stats'+ ? chartData?.total+ : provider === 'log-stats'+ ? chartData?.totalGrouped?.[attribute]+ : chartData?.totalAverage++ if (loading) {+ return (+ <div className="w-full h-52 flex flex-col space-y-4 items-center justify-center">+ <Typography.Text className="animate-spin">+ <IconLoader />+ </Typography.Text>+ <Typography.Text type="secondary" small>+ Loading data for {label}+ </Typography.Text>+ </div>+ )+ }++ if (isUndefined(chartData)) {+ return (+ <div className="w-full h-52 flex flex-col space-y-4 items-center justify-center">+ <Typography.Text>+ <IconAlertCircle />+ </Typography.Text>+ <Typography.Text type="secondary" small>+ Unable to load data for {label}+ </Typography.Text>+ </div>+ )+ }++ return (+ <div className="w-full h-full">+ <div className="flex justify-between absolute right-6 z-50">+ <div className="space-y-3">{children}</div>+ {!hideChartType && (+ <div>+ <div className="flex space-x-3 w-full">+ <Button+ type="default"+ icon={chartStyle === 'bar' ? <IconActivity /> : <IconBarChart />}+ onClick={() => setChartStyle(chartStyle === 'bar' ? 'line' : 'bar')}+ />+ </div>+ </div>+ )}+ </div>+ {chartStyle === 'bar' ? (+ <BarChart+ data={chartData?.data ?? []}+ attribute={attribute}+ yAxisLimit={chartData?.yAxisLimit}+ format={chartData?.format}+ highlightedValue={highlightedValue}+ label={label}+ customDateFormat={customDateFormat}+ />+ ) : (+ <AreaChart+ data={chartData?.data ?? []}+ format={chartData?.format}+ attribute={attribute}+ yAxisLimit={chartData?.yAxisLimit}+ highlightedValue={highlightedValue}+ label={label}+ customDateFormat={customDateFormat}+ />+ )}+ </div>+ )+}++export default ChartHandlerdiff --git a/studio/components/to-be-cleaned/Charts/ChartHandler.types.ts b/studio/components/to-be-cleaned/Charts/ChartHandler.types.tsnew file mode 100644index 00000000000..9cfdbbf1429--- /dev/null+++ b/studio/components/to-be-cleaned/Charts/ChartHandler.types.ts@@ -0,0 +1,22 @@+export interface ChartData {+ format: string+ yAxisLimit?: number+ maximum?: number+ total: number+ totalAverage: number+ totalGrouped: Attribute+ data: DataPoint[]+}++type DataPoint = Timestamp | Attribute++interface Timestamp {+ // ISO formatted+ period_start: string+ // unix timestamp (ms)+ timestamp: number+}++interface Attribute {+ [attribute: string]: number+}diff --git a/studio/components/to-be-cleaned/Charts/ChartRenderer.tsx b/studio/components/to-be-cleaned/Charts/ChartRenderer.tsxnew file mode 100644index 00000000000..7a7f962da3a--- /dev/null+++ b/studio/components/to-be-cleaned/Charts/ChartRenderer.tsx@@ -0,0 +1,370 @@+import { IconBarChart2, Loading, Typography } from '@supabase/ui'+import { useState } from 'react'+import {+ BarChart as RechartBarChart,+ AreaChart as RechartAreaChart,+ Area,+ Bar,+ XAxis,+ YAxis,+ Tooltip,+ Cell,+ ResponsiveContainer,+} from 'recharts'++import dayjs from 'dayjs'+import customParseFormat from 'dayjs/plugin/customParseFormat'+import timezone from 'dayjs/plugin/timezone'+import utc from 'dayjs/plugin/utc'+import { formatBytes } from 'lib/helpers'++dayjs.extend(customParseFormat)+dayjs.extend(timezone)+dayjs.extend(utc)++function dataCheck(data: any, attribute: any) {+ const hasData = data && data.find((record: any) => record[attribute])+ return hasData ? true : false+}++const CustomTooltip = () => {+ return null+}++const DATE_FORMAT__WITH_TIME = 'MMM D, YYYY, hh:mma'+const DATE_FORMAT__DATE_ONLY = 'MMM D, YYYY'++const Header = ({+ attribute,+ focus,+ format,+ highlightedValue,+ data,+ customDateFormat,+ label,+}: any) => {+ let FOCUS_FORMAT = customDateFormat+ ? customDateFormat+ : format == '%'+ ? DATE_FORMAT__WITH_TIME+ : DATE_FORMAT__DATE_ONLY++ let title = ''++ if (focus) {+ if (!data) {+ title = ''+ } else if (format === '%') {+ title = Number(data[focus]?.[attribute]).toFixed(2)+ } else {+ if (+ attribute.includes('ingress') ||+ attribute.includes('egress') ||+ attribute.includes('bytes')+ ) {+ title = formatBytes(data[focus]?.[attribute])+ } else {+ title = data[focus]?.[attribute]?.toLocaleString()+ }+ }+ } else {+ if (format === '%' && highlightedValue) {+ title = highlightedValue.toFixed(2)+ } else {+ if (+ attribute.includes('ingress') ||+ attribute.includes('egress') ||+ attribute.includes('bytes')+ ) {+ title = formatBytes(highlightedValue)+ } else {+ title = highlightedValue?.toLocaleString()+ }+ }+ }++ return (+ <>+ <Typography.Text className="mb-0" type="secondary">+ {label ?? attribute}+ </Typography.Text>+ <Typography.Title level={3} className="mb-0 font-normal">+ {title}+ <span className="text-lg">{format}</span>+ </Typography.Title>+ <Typography.Text type="secondary" className="opacity-50" small>+ {focus ? (+ data && data[focus] && dayjs(data[focus].period_start).format(FOCUS_FORMAT)+ ) : (+ <span className="opacity-0">x</span>+ )}+ </Typography.Text>+ </>+ )+}++const NoData = () => (+ <div+ className="+ h-full w-full+ border border-dashed dark:border-dark+ flex flex-col items-center justify-center+ "+ >+ <Typography.Text className="mb-2">+ <IconBarChart2 />+ </Typography.Text>+ <Typography.Text>No data to show</Typography.Text>+ <div className="text-center">+ <Typography.Text small className="opacity-50">+ May take 24 hours for data to appear+ </Typography.Text>+ </div>+ </div>+)++const total = (data: any, format: any, attribute: any) => {+ let total = 0+ data?.map((item: any) => {+ total = total + Number(item[attribute])+ })+ if (format === '%') {+ return Number(total).toFixed(2)+ }+ return numberWithCommas(total)+}++function numberWithCommas(x: any) {+ return x.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',')+}++export function BarChart({+ data,+ attribute,+ yAxisLimit,+ format,+ highlightedValue,+ customDateFormat,+ label,+}: any) {+ const hasData = data ? dataCheck(data, attribute) : true++ const [focusBar, setFocusBar] = useState<any>(null)+ const [mouseLeave, setMouseLeave] = useState<any>(true)++ const onMouseMove = (state: any) => {+ if (state?.activeTooltipIndex) {+ setFocusBar(state.activeTooltipIndex)+ setMouseLeave(false)+ } else {+ setFocusBar(null)+ setMouseLeave(true)+ }+ }++ const onMouseLeave = () => {+ setFocusBar(false)+ setMouseLeave(true)+ }++ return (+ <Loading active={!data}>+ <Header+ attribute={attribute}+ focus={focusBar}+ highlightedValue={highlightedValue}+ data={data}+ label={label}+ format={format}+ customDateFormat={customDateFormat}+ />+ <div style={{ width: '100%', height: '160px' }}>+ {hasData ? (+ <>+ <ResponsiveContainer>+ <RechartBarChart+ data={data}+ margin={{+ top: 0,+ right: 0,+ left: 0,+ bottom: 0,+ }}+ className="overflow-visible"+ onMouseMove={onMouseMove}+ onMouseLeave={onMouseLeave}+ >+ <XAxis+ dataKey="period_start"+ //interval={size === 'small' ? 5 : 1}+ interval={data ? data.length - 2 : 0}+ angle={0}+ // stroke="#4B5563"+ tick={{ fontSize: '0px', color: '#6B7280' }}+ axisLine={{ stroke: '#444444' }}+ tickLine={{ stroke: '#444444' }}+ />+ <Tooltip content={<CustomTooltip />} />+ {/* <YAxis dataKey={attribute} /> */}+ {/* <YAxis type="number" domain={[(0, 100)]} /> */}+ {yAxisLimit && <YAxis type="number" domain={[0, yAxisLimit]} hide />}+ <Bar+ dataKey={attribute}+ fill="#3ecf8e"+ // barSize={2}+ animationDuration={300}+ >+ {data?.map((entry: any, index: any) => (+ <Cell+ key={`cell-${index}`}+ className="transition-all duration-300"+ fill={+ focusBar === index || mouseLeave ? '#3ecf8e' : 'rgba(62, 207, 142, 0.2)'+ }+ enableBackground={12}+ // for this, we make the hovered colour #2B5CE7, else its opacity decreases to 20%+ />+ ))}+ </Bar>+ </RechartBarChart>+ </ResponsiveContainer>+ {data && (+ <div className="flex items-center justify-between -mt-5">+ <Typography.Text type="secondary" className="opacity-50" small>+ {dayjs(data[0].period_start).format(+ customDateFormat ? customDateFormat : DATE_FORMAT__WITH_TIME+ )}+ </Typography.Text>+ <Typography.Text type="secondary" className="opacity-50" small>+ {dayjs(data[data?.length - 1]?.period_start).format(+ customDateFormat ? customDateFormat : DATE_FORMAT__WITH_TIME+ )}+ </Typography.Text>+ </div>+ )}+ </>+ ) : (+ <NoData />+ )}+ </div>+ </Loading>+ )+}++export function AreaChart({+ data,+ attribute,+ yAxisLimit,+ format,+ highlightedValue,+ customDateFormat,+ label,+}: any) {+ const hasData = dataCheck(data, attribute)++ const [focusBar, setFocusBar] = useState<any>(null)+ const [mouseLeave, setMouseLeave] = useState<any>(true)++ const onMouseMove = (state: any) => {+ if (state?.activeTooltipIndex) {+ setFocusBar(state.activeTooltipIndex)+ setMouseLeave(false)+ } else {+ setFocusBar(null)+ setMouseLeave(true)+ }+ }++ const onMouseLeave = () => {+ setFocusBar(false)+ setMouseLeave(true)+ }++ return (+ <Loading active={!data}>+ <Header+ label={label}+ attribute={attribute}+ focus={focusBar}+ highlightedValue={highlightedValue}+ data={data}+ format={format}+ customDateFormat={customDateFormat}+ />+ <div+ style={{+ width: '100%',+ height: '160px',+ }}+ >+ {hasData ? (+ <>+ <ResponsiveContainer>+ <RechartAreaChart+ data={data}+ margin={{+ top: 0,+ right: 0,+ left: 0,+ bottom: 0,+ }}+ className="overflow-visible"+ onMouseMove={onMouseMove}+ onMouseLeave={onMouseLeave}+ >+ <defs>+ <linearGradient id="colorUv" x1="0" y1="0" x2="0" y2="1">+ <stop offset="5%" stopColor="#3ecf8e" stopOpacity={0.8} />+ <stop offset="95%" stopColor="#3ecf8e" stopOpacity={0} />+ </linearGradient>+ </defs>+ <XAxis+ dataKey="period_start"+ //interval={size === 'small' ? 5 : 1}+ interval={data ? data.length - 2 : 0}+ angle={0}+ // stroke="#4B5563"+ tick={{+ fontSize: '0px',+ color: '#6B7280',+ }}+ axisLine={{+ stroke: '#444444',+ }}+ tickLine={{+ stroke: '#444444',+ }}+ />+ {yAxisLimit && <YAxis type="number" domain={[0, yAxisLimit]} hide />}+ <Tooltip content={<CustomTooltip />} />+ <Area+ type="monotone"+ dataKey={attribute}+ stroke="#3ecf8e"+ fillOpacity={1}+ fill="url(#colorUv)"+ />+ </RechartAreaChart>+ </ResponsiveContainer>+ {data && (+ <div className="flex items-center justify-between -mt-5">+ <Typography.Text type="secondary" className="opacity-50" small>+ {dayjs(data[0].period_start).format(+ customDateFormat ? customDateFormat : DATE_FORMAT__WITH_TIME+ )}+ </Typography.Text>+ <Typography.Text type="secondary" className="opacity-50" small>+ {dayjs(data[data?.length - 1]?.period_start).format(+ customDateFormat ? customDateFormat : DATE_FORMAT__WITH_TIME+ )}+ </Typography.Text>+ </div>+ )}+ </>+ ) : (+ <NoData />+ )}+ </div>+ </Loading>+ )+}diff --git a/studio/components/to-be-cleaned/DateRangePicker.js b/studio/components/to-be-cleaned/DateRangePicker.jsnew file mode 100644index 00000000000..180d4e77ce5--- /dev/null+++ b/studio/components/to-be-cleaned/DateRangePicker.js@@ -0,0 +1,186 @@+import { useEffect, useState } from 'react'+import { Button, Dropdown, IconChevronDown } from '@supabase/ui'+import dayjs from 'dayjs'+import { DATE_FORMAT } from 'lib/constants'++/**+ * There's timestamp rounding that kicks in if there are more than 50 data points+ * being returned, in order to increase cache hit rates.+ * Ensure that whenever we create a new period_start under handleChange, it should return+ * at point 50 data points. (e.g 3 hours, 5 mins interval = 36 points)+ * Otherwise there won't be any data shown on the graphs+ */++function DateRangePicker({ onChange, value, options, loading, currentBillingPeriodStart }) {+ const [timePeriod, setTimePeriod] = useState(value)++ useEffect(() => {+ handleChange(value)+ }, [loading])++ const startOfMonth = dayjs().startOf('month').format(DATE_FORMAT)+ const nextMonth = dayjs().add(1, 'month').startOf('month').format(DATE_FORMAT)++ const today = dayjs().format(DATE_FORMAT)++ function handleChange(x) {+ setTimePeriod(x)++ switch (x) {+ // please note: these are fixed date ranges based on subscription+ // billing cycles are always assumed to be 1 month long+ // only currentPeriodStart is used to calculate dates+ case 'currentBillingCycle':+ onChange({+ period_start: {+ date: dayjs.unix(currentBillingPeriodStart).format(DATE_FORMAT),+ time_period: '1d',+ },+ period_end: {+ date: dayjs.unix(currentBillingPeriodStart).add(1, 'month').format(DATE_FORMAT),+ time_period: 'today',+ },+ interval: '1d',+ })+ break+ case 'previousBillingCycle':+ onChange({+ period_start: {+ date: dayjs.unix(currentBillingPeriodStart).subtract(1, 'month').format(DATE_FORMAT),+ time_period: '1d',+ },+ period_end: {+ date: dayjs.unix(currentBillingPeriodStart).format(DATE_FORMAT),+ time_period: 'today',+ },+ interval: '1d',+ })+ break+ // all other time periods below are based on current date and time+ // they will generate flexible dynamic date ranges+ case '1d':+ onChange({+ period_start: {+ date: dayjs().subtract(24, 'hour').format(DATE_FORMAT),+ time_period: '1d',+ },+ period_end: {+ date: today,+ time_period: 'today',+ },+ interval: '1h',+ })+ break+ case '3h':+ onChange({+ period_start: {+ date: dayjs().subtract(3, 'hour').format(DATE_FORMAT),+ time_period: '3h',+ },+ period_end: {+ date: today,+ time_period: 'today',+ },+ interval: '5m',+ })+ break+ case '1h':+ onChange({+ period_start: {+ date: dayjs().subtract(1, 'hour').format(DATE_FORMAT),+ time_period: '1h',+ },+ period_end: {+ date: today,+ time_period: 'today',+ },+ interval: '5m',+ })+ break+ case '7d':+ onChange({+ period_start: {+ date: dayjs().subtract(7, 'day').format(DATE_FORMAT),+ time_period: '7d',+ },+ period_end: {+ date: today,+ time_period: 'today',+ },+ interval: '1d',+ })+ break+ case '30d':+ onChange({+ period_start: {+ date: dayjs().subtract(30, 'day').format(DATE_FORMAT),+ time_period: '30d',+ },+ period_end: {+ date: today,+ time_period: 'today',+ },+ interval: '1d',+ })+ break+ case '60d':+ onChange({+ period_start: {+ date: dayjs().subtract(60, 'day').format(DATE_FORMAT),+ time_period: '60d',+ },+ period_end: {+ date: today,+ time_period: 'today',+ },+ interval: '3d',+ })+ break+ case 'startMonth':+ onChange({+ period_start: {+ date: startOfMonth,+ time_period: 'startMonth',+ },+ period_end: {+ date: nextMonth,+ time_period: 'endMonth',+ },+ interval: '1d',+ })+ break++ default:+ console.warn(`Unknown period encountered: ${x}`)+ break+ }+ }++ return (+ <>+ <Dropdown+ side="bottom"+ align="start"+ overlay={+ <>+ <Dropdown.RadioGroup value={timePeriod} onChange={(x) => handleChange(x)}>+ {options.map((option) => {+ return (+ <Dropdown.Radio value={option.key} key={option.key}>+ {option.label}+ </Dropdown.Radio>+ )+ })}+ </Dropdown.RadioGroup>+ </>+ }+ >+ <Button as="span" type="default" iconRight={<IconChevronDown />}>+ {timePeriod && options.find((x) => x.key == timePeriod).label}+ </Button>+ </Dropdown>+ </>+ )+}++export default DateRangePickerdiff --git a/studio/components/to-be-cleaned/DisplayProjectSettings.js b/studio/components/to-be-cleaned/DisplayProjectSettings.jsnew file mode 100644index 00000000000..2aaeb8b83f3--- /dev/null+++ b/studio/components/to-be-cleaned/DisplayProjectSettings.js@@ -0,0 +1,202 @@+import useSWR from 'swr'+import { useRouter } from 'next/router'+import { get } from 'lib/common/fetch'+import { IconAlertCircle, Input, Loading, Typography } from '@supabase/ui'++import { API_URL } from 'lib/constants'+import Panel from './Panel'++const { Text, Title } = Typography++export function DisplayApiSettings() {+ const router = useRouter()+ const { ref } = router.query++ const { data, error } = useSWR(`${API_URL}/props/project/${ref}/settings`, get)++ if (!data)+ return (+ <ApiContentWrapper>+ <Panel.Content className="py-8">+ {error ? (+ <div className="flex items-center space-x-2">+ <Typography.Text type="secondary">+ <IconAlertCircle strokeWidth={2} />+ </Typography.Text>+ <Typography.Text type="secondary">Failed to fetch API keys</Typography.Text>+ </div>+ ) : (+ <div className="py-4">+ <Loading active={true} />+ </div>+ )}+ </Panel.Content>+ </ApiContentWrapper>+ )++ const { services } = data++ // Get the API service+ const API_SERVICE_ID = 1+ let apiService = services.find((x) => x.app.id == API_SERVICE_ID)+ let apiKeys = apiService.service_api_keys++ return (+ <ApiContentWrapper>+ {!data ? (+ <Loading active={true} />+ ) : (+ apiKeys.map((x, i) => (+ <Panel.Content+ key={x.api_key}+ className={+ i >= 1 &&+ 'border-t border-panel-border-interior-light dark:border-panel-border-interior-dark'+ }+ >+ <Input+ layout="horizontal"+ label={+ <>+ {x.tags?.split(',').map((x, i) => (+ <code key={`${x}${i}`} className="text-xs bg-gray-500 text-white px-2">+ {x}+ </code>+ ))}+ {x.tags === 'service_role' && (+ <code className="text-xs bg-red-500 px-2 ml-1 text-white">{'secret'}</code>+ )}+ {x.tags === 'anon' && (+ <code className="text-xs bg-gray-500 text-white px-2 ml-1">{'public'}</code>+ )}+ </>+ }+ readOnly+ copy+ className="input-mono"+ disabled+ reveal={x.tags !== 'anon' && true}+ value={x.api_key}+ onChange={() => {}}+ descriptionText={+ x.tags === 'service_role'+ ? 'This key has the ability to bypass Row Level Security. Never share it publicly.'+ : 'This key is safe to use in a browser if you have enabled Row Level Security for your tables and configured policies.'+ }+ />+ </Panel.Content>+ ))+ )}+ </ApiContentWrapper>+ )+}++export function DisplayConfigSettings() {+ const router = useRouter()+ const { ref } = router.query++ const { data, error } = useSWR(`${API_URL}/props/project/${ref}/settings`, get)++ if (!data)+ return (+ <ConfigContentWrapper>+ <Panel.Content className="py-8">+ {error ? (+ <div className="flex items-center space-x-2">+ <Typography.Text type="secondary">+ <IconAlertCircle strokeWidth={2} />+ </Typography.Text>+ <Typography.Text type="secondary">+ Failed to fetch project configuration+ </Typography.Text>+ </div>+ ) : (+ <div className="py-4">+ <Loading active={true} />+ </div>+ )}+ </Panel.Content>+ </ConfigContentWrapper>+ )++ const { project, services } = data++ // Get the API service+ const API_SERVICE_ID = 1+ let jwtSecret = project.jwt_secret ?? ''+ let apiService = services.find((x) => x.app.id == API_SERVICE_ID)+ let apiConfig = apiService.app_config++ return (+ <section>+ <Panel+ title={+ <Typography.Title level={6} className="mb-0">+ Project Configuration+ </Typography.Title>+ }+ >+ <Panel.Content>+ <Input+ label="URL"+ readOnly+ copy+ readOnly+ disabled+ copy+ className="input-mono"+ value={`https://${apiConfig.endpoint}`}+ descriptionText="A RESTful endpoint for querying and managing your database."+ layout="horizontal"+ />+ </Panel.Content>+ <Panel.Content className="border-t border-panel-border-interior-light dark:border-panel-border-interior-dark">+ <Input+ label="JWT Secret"+ readOnly+ copy+ reveal+ disabled={true}+ value={jwtSecret}+ className="input-mono"+ descriptionText="Used to decode your JWTs. You can also use this to mint your own JWTs."+ layout="horizontal"+ />+ </Panel.Content>+ </Panel>+ </section>+ )+}++const ApiContentWrapper = ({ children }) => {+ return (+ <Panel+ title={+ <div className="space-y-3">+ <Title level={5}>Project API keys</Title>+ <Text className="block" type="secondary">+ Your API is secured behind an API gateway which requires an API Key for every request.+ <br />+ You can use the keys below to use Supabase client libraries.+ </Text>+ </div>+ }+ >+ {children}+ </Panel>+ )+}++const ConfigContentWrapper = ({ children }) => {+ return (+ <Panel+ title={+ <div className="space-y-3">+ <Title level={5}>Project Configuration</Title>+ </div>+ }+ >+ {children}+ </Panel>+ )+}diff --git a/studio/components/to-be-cleaned/Docs/CodeSnippet.js b/studio/components/to-be-cleaned/Docs/CodeSnippet.jsnew file mode 100644index 00000000000..02bd93d5df3--- /dev/null+++ b/studio/components/to-be-cleaned/Docs/CodeSnippet.js@@ -0,0 +1,14 @@+import SimpleCodeBlock from 'components/to-be-cleaned/SimpleCodeBlock'++const CodeSnippet = ({ selectedLang, snippet }) => {+ if (!snippet[selectedLang]) return null+ return (+ <>+ <h4>{snippet.title}</h4>+ <SimpleCodeBlock className={snippet[selectedLang].language}>+ {snippet[selectedLang].code}+ </SimpleCodeBlock>+ </>+ )+}+export default CodeSnippetdiff --git a/studio/components/to-be-cleaned/Docs/Description.js b/studio/components/to-be-cleaned/Docs/Description.jsnew file mode 100644index 00000000000..67bec22310c--- /dev/null+++ b/studio/components/to-be-cleaned/Docs/Description.js@@ -0,0 +1,101 @@+import { useState } from 'react'+import { useRouter } from 'next/router'+import { IconLoader } from '@supabase/ui'++import { useStore } from 'hooks'+import AutoTextArea from 'components/to-be-cleaned/forms/AutoTextArea'+import { timeout } from 'lib/helpers'++// Removes some auto-generated Postgrest text+// Ideally PostgREST wouldn't add this if there is already a comment+const temp_removePostgrestText = (content) => {+ const postgrestTextPk = `Note:\nThis is a Primary Key.<pk/>`+ const postgrestTextFk = `Note:\nThis is a Foreign Key to`+ const pkTextPos = content.lastIndexOf(postgrestTextPk)+ const fkTextPos = content.lastIndexOf(postgrestTextFk)++ let cleansed = content+ if (pkTextPos >= 0) cleansed = cleansed.substring(0, pkTextPos)+ if (fkTextPos >= 0) cleansed = cleansed.substring(0, fkTextPos)+ return cleansed+}++export default function Description({ content, metadata, onChange = () => {} }) {+ const router = useRouter()+ const { meta } = useStore()++ const contentText = temp_removePostgrestText(content || '').trim()+ const [value, setValue] = useState(contentText)+ const [isUpdating, setIsUpdating] = useState(false)++ const { ref } = router.query+ const { table, column, rpc } = metadata++ const hasChanged = value != contentText+ const animateCss = `transition duration-150`+ const buttonCss = `inline-block text-sm border text-white font-bold rounded py-1 px-3 w-20 cursor-pointer`+ const primaryCss = `${buttonCss} ${animateCss} bg-gray-500 border-gray-400 hover:border-green-500 hover:bg-green-500 `+ const secondaryCss = `${buttonCss} ${animateCss} bg-gray-500 border-gray-400 hover:border-red-500 hover:bg-red-500 `++ const updateDescription = async () => {+ if (isUpdating) return false+ try {+ setIsUpdating(true)+ let query = ''+ let description = value.replaceAll("'", "''")+ if (table && column)+ query = `comment on column public.${table}.${column} is '${description}';`+ if (table && !column) query = `comment on table public.${table} is '${description}';`+ if (rpc) query = `comment on function ${rpc} is '${description}';`++ if (query) {+ await meta.query(query)+ // [Joshen] Temp fix, immediately refreshing the docs fetches stale state+ await timeout(500)+ }++ onChange(value)+ } catch (error) {+ console.error('Update description error:', error)+ } finally {+ setIsUpdating(false)+ }+ }+ return (+ <div className="space-y-2">+ <AutoTextArea+ className="w-full"+ placeholder="Click to edit."+ value={value}+ onChange={(e) => setValue(e.target.value)}+ />+ <div+ className={`flex ${+ hasChanged ? 'opacity-100' : 'opacity-0 cursor-default h-0'+ } ${animateCss}`}+ >+ <button+ disabled={!hasChanged}+ className={`${secondaryCss} ${hasChanged ? '' : ' cursor-default'} mr-2`}+ onClick={() => {+ setValue(contentText)+ setIsUpdating(false)+ }}+ >+ Cancel+ </button>+ <button+ disabled={!hasChanged}+ className={`${primaryCss} ${hasChanged ? '' : ' cursor-default'} mr-2`}+ onClick={updateDescription}+ >+ {isUpdating ? (+ <IconLoader className="animate-spin mx-auto" size={14} strokeWidth={2} />+ ) : (+ <span>Save</span>+ )}+ </button>+ </div>+ </div>+ )+}diff --git a/studio/components/to-be-cleaned/Docs/NoDescription.js b/studio/components/to-be-cleaned/Docs/NoDescription.jsnew file mode 100644index 00000000000..359145a86a6--- /dev/null+++ b/studio/components/to-be-cleaned/Docs/NoDescription.js@@ -0,0 +1,9 @@+export default function NoDescription() {+ return (+ <p className="text-gray-300 text-sm">+ No description provided.+ <br />+ Hint: you can create a custom description by adding a "comment" to this item in your database.+ </p>+ )+}diff --git a/studio/components/to-be-cleaned/Docs/Pages/Authentication.js b/studio/components/to-be-cleaned/Docs/Pages/Authentication.jsnew file mode 100644index 00000000000..4ed087b5b06--- /dev/null+++ b/studio/components/to-be-cleaned/Docs/Pages/Authentication.js@@ -0,0 +1,116 @@+import Link from 'next/link'+import Snippets from '../Snippets'+import CodeSnippet from '../CodeSnippet'++export default function Authentication({ autoApiService, selectedLang }) {+ return (+ <>+ <h2 className="doc-heading">Authentication</h2>+ <div className="doc-section">+ <article className="text ">+ <p>Supabase works through a mixture of JWT and Key auth.</p>+ <p>+ If no <code>Authorization</code> header is included, the API will assume that you are+ making a request with an anonymous user.+ </p>+ <p>+ If an <code>Authorization</code> header is included, the API will "switch" to the role+ of the user making the request. See the User Management section for more details.+ </p>+ <p>We recommend setting your keys as Environment Variables.</p>+ </article>+ </div>++ <h2 className="doc-heading">Client API Keys</h2>+ <div className="doc-section ">+ <article className="text ">+ <p>+ Client keys allow "anonymous access" to your database, until the user has logged in.+ After logging in the keys will switch to the user's own login token.+ </p>+ <p>+ In this documentation, we will refer to the key using the name <code>SUPABASE_KEY</code>+ .+ </p>+ <p>+ We have provided you a Client Key to get started. You will soon be able to add as many+ keys as you like. You can find the <code>anon</code> key in the{' '}+ <Link href={`/project/${autoApiService.project.ref}/settings/api`}>+ <a>API Settings</a>+ </Link>{' '}+ page.+ </p>+ <h4 className="mt-8">Realtime Security</h4>+ <p>+ The realtime server doesn't provide per-user security. Until we build a more robust auth+ system for websockets, you shouldn't use realtime on any client which is exposed to+ users.+ </p>+ <p>+ For security purposes, you can run{' '}+ <code>+ begin; drop publication if exists supabase_realtime; create publication+ supabase_realtime; commit;+ </code>+ . This creates a publication which is not subscribed to any table and completely+ disables realtime updates on the Supabase client.+ </p>+ </article>+ <article className="code">+ <CodeSnippet+ selectedLang={selectedLang}+ snippet={Snippets.authKey(+ 'CLIENT API KEY',+ 'SUPABASE_KEY',+ autoApiService.defaultApiKey+ )}+ />+ <CodeSnippet+ selectedLang={selectedLang}+ snippet={Snippets.authKeyExample(+ autoApiService.defaultApiKey,+ autoApiService.endpoint,+ { showBearer: false }+ )}+ />+ </article>+ </div>++ <h2 className="doc-heading">Service Keys</h2>+ <div className="doc-section ">+ <article className="text ">+ <p>+ Service keys have FULL access to your data, bypassing any security policies. Be VERY+ careful where you expose these keys. They should only be used on a server and never on a+ client or browser.+ </p>+ <p>+ In this documentation, we will refer to the key using the name <code>SERVICE_KEY</code>.+ </p>+ <p>+ We have provided you with a Service Key to get started. Soon you will be able to add as+ many keys as you like. You can find the <code>service_role</code> in the{' '}+ <Link href={`/project/${autoApiService.project.ref}/settings/api`}>+ <a>API Settings</a>+ </Link>{' '}+ page.+ </p>+ </article>+ <article className="code">+ <CodeSnippet+ selectedLang={selectedLang}+ snippet={Snippets.authKey('SERVICE KEY', 'SERVICE_KEY', autoApiService.serviceApiKey)}+ />+ <CodeSnippet+ selectedLang={selectedLang}+ snippet={Snippets.authKeyExample(+ autoApiService.serviceApiKey,+ autoApiService.endpoint,+ { keyName: 'SERVICE_KEY' }+ )}+ />+ </article>+ </div>+ </>+ )+}diff --git a/studio/components/to-be-cleaned/Docs/Pages/Introduction.js b/studio/components/to-be-cleaned/Docs/Pages/Introduction.jsnew file mode 100644index 00000000000..4c99d469592--- /dev/null+++ b/studio/components/to-be-cleaned/Docs/Pages/Introduction.js@@ -0,0 +1,63 @@+import Snippets from '../Snippets'+import CodeSnippet from '../CodeSnippet'++export default function Introduction({ autoApiService, selectedLang }) {+ return (+ <>+ <h2 className="doc-heading">Introduction</h2>+ <div className="doc-section">+ <article className="text ">+ <p>+ This API provides an easy way to integrate with your Postgres database. The API+ documentation below is specifically generated for your database.+ </p>+ <p>+ This is an <b>auto-generating</b> API, so as you make changes to your database, this+ documentation will change too.+ </p>+ <p>+ <b>Please note:</b> if you make changes to a field (column) name or type, the API+ interface for those fields will change correspondingly. Therefore, please make sure to+ update your API implementation accordingly whenever you make changes to your Supabase+ schema from the graphical interface.+ </p>+ </article>+ </div>++ <h2 className="doc-heading">Getting Started</h2>+ <div className="doc-section ">+ <article className="text ">+ <p>Your API consists of both a RESTful interface and a realtime interface.</p>+ <p>+ For interacting with the realtime streams, we provide client libraries that handle the+ websockets.+ </p>+ </article>+ <article className="code">+ <CodeSnippet+ selectedLang={selectedLang}+ snippet={Snippets.endpoint(autoApiService.endpoint)}+ />+ </article>+ </div>++ <h2 className="doc-heading">Client Libraries</h2>+ <div className="doc-section">+ <article className="text ">+ <p>Your API consists of both a RESTful interface and a realtime interface.</p>+ <p>+ For interacting with the realtime streams, we provide client libraries that handle the+ websockets.+ </p>+ </article>+ <article className="code">+ <CodeSnippet selectedLang={selectedLang} snippet={Snippets.install()} />+ <CodeSnippet+ selectedLang={selectedLang}+ snippet={Snippets.init(autoApiService.endpoint)}+ />+ </article>+ </div>+ </>+ )+}diff --git a/studio/components/to-be-cleaned/Docs/Pages/Rpc/Introduction.js b/studio/components/to-be-cleaned/Docs/Pages/Rpc/Introduction.jsnew file mode 100644index 00000000000..72c333db8f0--- /dev/null+++ b/studio/components/to-be-cleaned/Docs/Pages/Rpc/Introduction.js@@ -0,0 +1,16 @@+export default function Introduction() {+ return (+ <>+ <h2 className="doc-heading">Introduction</h2>+ <div className="doc-section">+ <article className="text ">+ <p>+ All of your database stored procedures are available on your API. This means you can+ build your logic directly into the database (if you're brave enough)!+ </p>+ <p>The API endpoint supports POST (and in some cases GET) to execute the function.</p>+ </article>+ </div>+ </>+ )+}diff --git a/studio/components/to-be-cleaned/Docs/Pages/Tables/Introduction.js b/studio/components/to-be-cleaned/Docs/Pages/Tables/Introduction.jsnew file mode 100644index 00000000000..d4fb7b86819--- /dev/null+++ b/studio/components/to-be-cleaned/Docs/Pages/Tables/Introduction.js@@ -0,0 +1,122 @@+import CodeSnippet from '../../CodeSnippet'+import Link from 'next/link'+import { useRouter } from 'next/router'++export default function Introduction({ autoApiService, selectedLang }) {+ const router = useRouter()+ let ref = router.query.ref+ return (+ <>+ <h2 className="doc-heading">Introduction</h2>+ <div className="doc-section">+ <article className="text ">+ <p>+ All views and tables in the <code>public</code> schema and accessible by the active+ database role for a request are available for querying.+ </p>+ </article>+ </div>+ <h2 className="doc-heading">Non-exposed tables</h2>+ <div className="doc-section">+ <article className="text ">+ <p>+ If you don't want to expose tables in your API, simply add them to a different schema+ (not the <code>public</code> schema).+ </p>+ </article>+ <article className="code"></article>+ </div>+ <h2 className="doc-heading">+ GraphQL <span className="lowercase">vs</span> Supabase+ </h2>+ <div className="doc-section">+ <article className="text ">+ <p>+ If you have a GraphQL background, you might be wondering if you can fetch your data in a+ single round-trip. The answer is yes!+ </p>+ <p>+ The syntax is very similar. This example shows how you might achieve the same thing with+ Apollo GraphQL and Supabase.+ <br />+ <br />+ </p>+ <h4>Still want GraphQL?</h4>+ <p>+ If you still want to use GraphQL, you can. Supabase provides you with a full Postgres+ database, so as long as your middleware can connect to the database then you can still+ use the tools you love. You can find the database connection details{' '}+ <Link href={`/project/${ref}/settings/database`}>in the settings.</Link>+ </p>+ </article>+ <article className="code">+ <CodeSnippet selectedLang={selectedLang} snippet={localSnippets.withApollo()} />+ <CodeSnippet selectedLang={selectedLang} snippet={localSnippets.withSupabase()} />+ </article>+ </div>+ </>+ )+}++const localSnippets = {+ withApollo: () => ({+ title: 'With Apollo GraphQL',+ bash: {+ language: 'js',+ code: `+const { loading, error, data } = useQuery(gql\`+ query GetDogs {+ dogs {+ id+ breed+ owner {+ id+ name+ }+ }+ }+\`)`,+ },+ js: {+ language: 'js',+ code: `+const { loading, error, data } = useQuery(gql\`+ query GetDogs {+ dogs {+ id+ breed+ owner {+ id+ name+ }+ }+ }+\`)`,+ },+ }),+ withSupabase: () => ({+ title: 'With Supabase',+ bash: {+ language: 'js',+ code: `+const { data, error } = await supabase+ .from('dogs')+ .select(\`+ id, breed,+ owner (id, name)+ \`)+`,+ },+ js: {+ language: 'js',+ code: `+const { data, error } = await supabase+ .from('dogs')+ .select(\`+ id, breed,+ owner (id, name)+ \`)+`,+ },+ }),+}diff --git a/studio/components/to-be-cleaned/Docs/Pages/UserManagement.js b/studio/components/to-be-cleaned/Docs/Pages/UserManagement.jsnew file mode 100644index 00000000000..613f5934a67--- /dev/null+++ b/studio/components/to-be-cleaned/Docs/Pages/UserManagement.js@@ -0,0 +1,295 @@+import Link from 'next/link'+import Snippets from '../Snippets'+import CodeSnippet from '../CodeSnippet'+import { useRouter } from 'next/router'+import { makeRandomString } from 'lib/helpers'++const randomPassword = makeRandomString(20)++export default function UserManagement({ autoApiService, selectedLang, showApiKey }) {+ const router = useRouter()++ const keyToShow = showApiKey ? showApiKey : 'SUPABASE_KEY'++ return (+ <>+ <h2 className="doc-heading">User Management</h2>+ <div className="doc-section">+ <article className="text ">+ <p>Supabase makes it easy to manage your users.</p>+ <p>+ Supabase assigns each user a unique ID. You can reference this ID anywhere in your+ database. For example, you might create a <code>profiles</code> table references the+ user using a <code>user_id</code> field.+ </p>+ <p>+ Supabase already has built in the routes to sign up, login, and log out for managing+ users in your apps and websites.+ </p>+ </article>+ </div>++ <h2 className="doc-heading">Sign up</h2>+ <div className="doc-section ">+ <article className="text ">+ <p>Allow your users to sign up and create a new account.</p>+ <p>+ After they have signed up, all interactions using the Supabase JS client will be+ performed as "that user".+ </p>+ </article>+ <article className="code">+ <CodeSnippet+ selectedLang={selectedLang}+ snippet={Snippets.authSignup(autoApiService.endpoint, keyToShow, randomPassword)}+ />+ </article>+ </div>++ <h2 className="doc-heading">Log in with Email/Password</h2>+ <div className="doc-section ">+ <article className="text ">+ <p>If an account is created, users can login to your app.</p>+ <p>+ After they have logged in, all interactions using the Supabase JS client will be+ performed as "that user".+ </p>+ </article>+ <article className="code">+ <CodeSnippet+ selectedLang={selectedLang}+ snippet={Snippets.authLogin(autoApiService.endpoint, keyToShow, randomPassword)}+ />+ </article>+ </div>++ <h2 className="doc-heading">Log in with Magic Link via Email</h2>+ <div className="doc-section ">+ <article className="text ">+ <p>Send a user a passwordless link which they can use to redeem an access_token.</p>+ <p>+ After they have clicked the link, all interactions using the Supabase JS client will be+ performed as "that user".+ </p>+ </article>+ <article className="code">+ <CodeSnippet+ selectedLang={selectedLang}+ snippet={Snippets.authMagicLink(autoApiService.endpoint, keyToShow)}+ />+ </article>+ </div>++ <h2 className="doc-heading">Sign Up with Phone/Password</h2>+ <div className="doc-section ">+ <article className="text ">+ <p>+ A phone number can be used instead of an email as a primary account confirmation+ mechanism.+ </p>+ <p>+ The user will receive a mobile OTP via sms with which they can verify that they control+ the phone number.+ </p>+ <p>+ You must enter your own twilio credentials on the auth settings page to enable sms+ confirmations.+ </p>+ </article>+ <article className="code">+ <CodeSnippet+ selectedLang={selectedLang}+ snippet={Snippets.authPhoneSignUp(autoApiService.endpoint, keyToShow, randomPassword)}+ />+ </article>+ </div>++ <h2 className="doc-heading">Login via SMS OTP</h2>+ <div className="doc-section ">+ <article className="text ">+ <p>+ SMS OTPs work like magic links, except you have to provide an interface for the user to+ verify the 6 digit number they receive.+ </p>+ <p>+ You must enter your own twilio credentials on the auth settings page to enable SMS-based+ Logins.+ </p>+ </article>+ <article className="code">+ <CodeSnippet+ selectedLang={selectedLang}+ snippet={Snippets.authMobileOTPLogin(+ autoApiService.endpoint,+ keyToShow,+ randomPassword+ )}+ />+ </article>+ </div>++ <h2 className="doc-heading">Verify an SMS OTP</h2>+ <div className="doc-section ">+ <article className="text ">+ <p>+ Once the user has received the OTP, have them enter it in a form and send it for+ verification+ </p>+ <p>+ You must enter your own twilio credentials on the auth settings page to enable SMS-based+ OTP verification.+ </p>+ </article>+ <article className="code">+ <CodeSnippet+ selectedLang={selectedLang}+ snippet={Snippets.authMobileOTPVerify(+ autoApiService.endpoint,+ keyToShow,+ randomPassword+ )}+ />+ </article>+ </div>++ <h2 className="doc-heading">Log in with Third Party OAuth</h2>+ <div className="doc-section ">+ <article className="text ">+ <p>+ Users can log in with Google, Facebook, Gitlab, Github, Azure, or Bitbucket. You must+ first enable each of these in the{' '}+ <span className="text-green-500">+ <Link key={'AUTH'} href={`/project/${router.query.ref}/auth/settings`}>+ Auth Settings+ </Link>+ </span>{' '}+ tab.+ </p>+ <p>+ <code>provider</code> can be <code>google</code>, <code>gitlab</code>,{' '}+ <code>azure</code>, <code>facebook</code>, <code>github</code>, or{' '}+ <code>bitbucket</code>+ </p>+ <p>+ After they have logged in, all interactions using the Supabase JS client will be+ performed as "that user".+ </p>+ <p>+ Generate your Client ID and secret from:{` `}+ <a href="https://console.developers.google.com/apis/credentials" target="_blank">+ </a>+ ,{` `}+ <a href="https://github.com/settings/applications/new" target="_blank">+ GitHub+ </a>+ ,{` `}+ <a href="https://gitlab.com/oauth/applications" target="_blank">+ GitLab+ </a>+ ,{` `}+ <a href="https://developers.facebook.com/apps/" target="_blank">+ </a>+ ,{` `}+ <a+ href="https://support.atlassian.com/bitbucket-cloud/docs/use-oauth-on-bitbucket-cloud/"+ target="_blank"+ >+ Bitbucket+ </a>+ .+ </p>+ </article>+ <article className="code">+ <CodeSnippet+ selectedLang={selectedLang}+ snippet={Snippets.authThirdPartyLogin(autoApiService.endpoint, keyToShow)}+ />+ </article>+ </div>++ <h2 className="doc-heading">User</h2>+ <div className="doc-section ">+ <article className="text ">+ <p>Get the JSON object for the logged in user.</p>+ </article>+ <article className="code">+ <CodeSnippet+ selectedLang={selectedLang}+ snippet={Snippets.authUser(autoApiService.endpoint, keyToShow)}+ />+ </article>+ </div>++ <h2 className="doc-heading">Forgotten Password Email</h2>+ <div className="doc-section ">+ <article className="text ">+ <p>+ Sends the user a log in link via email. Once logged in you should direct the user to a+ new password form. And use "Update User" below to save the new password.+ </p>+ </article>+ <article className="code">+ <CodeSnippet+ selectedLang={selectedLang}+ snippet={Snippets.authRecover(autoApiService.endpoint, keyToShow)}+ />+ </article>+ </div>++ <h2 className="doc-heading">Update User</h2>+ <div className="doc-section ">+ <article className="text ">+ <p>+ Update the user with a new email or password. Each key (email, password, and data) is+ optional+ </p>+ </article>+ <article className="code">+ <CodeSnippet+ selectedLang={selectedLang}+ snippet={Snippets.authUpdate(autoApiService.endpoint, keyToShow)}+ />+ </article>+ </div>++ <h2 className="doc-heading">Log out</h2>+ <div className="doc-section ">+ <article className="text ">+ <p>+ After calling log out, all interactions using the Supabase JS client will be+ "anonymous".+ </p>+ </article>+ <article className="code">+ <CodeSnippet+ selectedLang={selectedLang}+ snippet={Snippets.authLogout(autoApiService.endpoint, keyToShow, randomPassword)}+ />+ </article>+ </div>++ <h2 className="doc-heading">Send a User an Invite over Email</h2>+ <div className="doc-section ">+ <article className="text ">+ <p>Send a user a passwordless link which they can use to sign up and log in.</p>+ <p>+ After they have clicked the link, all interactions using the Supabase JS client will be+ performed as "that user".+ </p>+ <p>+ This endpoint requires you use the <code>service_role_key</code> when initializing the+ client, and should only be invoked from the server, never from the client.+ </p>+ </article>+ <article className="code">+ <CodeSnippet+ selectedLang={selectedLang}+ snippet={Snippets.authInvite(autoApiService.endpoint, keyToShow)}+ />+ </article>+ </div>+ </>+ )+}diff --git a/studio/components/to-be-cleaned/Docs/Param.js b/studio/components/to-be-cleaned/Docs/Param.jsnew file mode 100644index 00000000000..b04d0ad0b17--- /dev/null+++ b/studio/components/to-be-cleaned/Docs/Param.js@@ -0,0 +1,38 @@+import Description from './Description'++const Param = ({+ name,+ type,+ format,+ required,+ description,+ metadata = {},+ onDesciptionUpdated = () => {},+}) => {+ return (+ <>+ <div className="flex justify-between items-center mb-4 ">+ <code className="inline-block px-4 inline-block">+ {name}: {type}+ </code>+ <span className="text-gray-400 text-xs uppercase mx-4 inline-block">+ {required ? 'required' : 'optional'}+ </span>+ </div>+ {format && format != type && (+ <div className="mb-4">+ <h5 className="uppercase text-xs font-medium text-gray-400">Format</h5>+ <code className="p-0 text-sm bg-gray-700">{format}</code>+ </div>+ )}+ {description !== false && (+ <>+ <h5 className="uppercase text-xs font-medium text-gray-400">Description</h5>++ <Description content={description} metadata={metadata} onChange={onDesciptionUpdated} />+ </>+ )}+ </>+ )+}+export default Paramdiff --git a/studio/components/to-be-cleaned/Docs/Snippets.js b/studio/components/to-be-cleaned/Docs/Snippets.jsnew file mode 100644index 00000000000..acc4aadc4c9--- /dev/null+++ b/studio/components/to-be-cleaned/Docs/Snippets.js@@ -0,0 +1,701 @@+const snippets = {+ endpoint: (endpoint) => ({+ title: 'API URL',+ bash: {+ language: 'bash',+ code: `https://${endpoint}`,+ },+ js: {+ language: 'bash',+ code: `https://${endpoint}`,+ },+ }),+ install: () => ({+ title: 'Install',+ bash: null,+ js: {+ language: 'bash',+ code: `npm install --save @supabase/supabase-js`,+ },+ }),+ init: (endpoint) => ({+ title: 'Initializing',+ bash: {+ language: 'bash',+ code: `# No client library required for Bash.`,+ },+ js: {+ language: 'js',+ code: `+import { createClient } from '@supabase/supabase-js'++const supabaseUrl = 'https://${endpoint}'+const supabaseKey = process.env.SUPABASE_KEY+const supabase = createClient(supabaseUrl, supabaseKey)`,+ },+ }),+ authKey: (title, varName, apikey) => ({+ title: `${title}`,+ bash: {+ language: 'bash',+ code: `${apikey}`,+ },+ js: {+ language: 'js',+ code: `const ${varName} = '${apikey}'`,+ },+ }),+ authKeyExample: (defaultApiKey, endpoint, { keyName, showBearer = true }) => ({+ title: 'Example usage',+ bash: {+ language: 'bash',+ code: `+curl 'https://${endpoint}/rest/v1/' \\+-H "apikey: ${defaultApiKey}" ${+ showBearer+ ? `\\+-H "Authorization: Bearer ${defaultApiKey}"`+ : ''+ }+`,+ },+ js: {+ language: 'js',+ code: `+const SUPABASE_URL = "https://${endpoint}"++const supabase = createClient(SUPABASE_URL, process.env.${keyName || 'SUPABASE_KEY'});+`,+ },+ }),+ rpcSingle: ({ rpcName, rpcParams, endpoint, apiKey, showBearer = true }) => {+ let rpcList = rpcParams.map((x) => `"${x.name}": "value"`).join(', ')+ let noParams = !rpcParams.length+ let bashParams = noParams ? '' : `\n-d '{ ${rpcList} }' \\`+ let jsParams = noParams+ ? ''+ : `, {${+ rpcParams.length+ ? rpcParams+ .map((x) => `\n ${x.name}`)+ .join(`, `)+ .concat('\n ')+ : ''+ }}`+ return {+ title: 'Invoke function ',+ bash: {+ language: 'bash',+ code: `+curl -X POST 'https://${endpoint}/rest/v1/rpc/${rpcName}' \\${bashParams}+-H "Content-Type: application/json" \\+-H "apikey: ${apiKey}" ${+ showBearer+ ? `\\+-H "Authorization: Bearer ${apiKey}"`+ : ''+ }+`,+ },+ js: {+ language: 'js',+ code: `+let { data, error } = await supabase+ .rpc('${rpcName}'${jsParams})++if (error) console.error(error)+else console.log(data)+`,+ },+ }+ },+ subscribeAll: (listenerName, resourceId) => ({+ title: 'Subscribe to all events',+ bash: {+ language: 'bash',+ code: `# Realtime streams are only supported by our client libraries`,+ },+ js: {+ language: 'js',+ code: `+const ${listenerName} = supabase+ .from('${resourceId}')+ .on('*', payload => {+ console.log('Change received!', payload)+ })+ .subscribe()`,+ },+ }),+ subscribeInserts: (listenerName, resourceId) => ({+ title: 'Subscribe to inserts',+ bash: {+ language: 'bash',+ code: `# Realtime streams are only supported by our client libraries`,+ },+ js: {+ language: 'js',+ code: `+const ${listenerName} = supabase+ .from('${resourceId}')+ .on('INSERT', payload => {+ console.log('Change received!', payload)+ })+ .subscribe()`,+ },+ }),+ subscribeUpdates: (listenerName, resourceId) => ({+ title: 'Subscribe to updates',+ bash: {+ language: 'bash',+ code: `# Realtime streams are only supported by our client libraries`,+ },+ js: {+ language: 'js',+ code: `+const ${listenerName} = supabase+ .from('${resourceId}')+ .on('UPDATE', payload => {+ console.log('Change received!', payload)+ })+ .subscribe()`,+ },+ }),+ subscribeDeletes: (listenerName, resourceId) => ({+ title: 'Subscribe to deletes',+ bash: {+ language: 'bash',+ code: `# Realtime streams are only supported by our client libraries`,+ },+ js: {+ language: 'js',+ code: `+const ${listenerName} = supabase+ .from('${resourceId}')+ .on('DELETE', payload => {+ console.log('Change received!', payload)+ })+ .subscribe()`,+ },+ }),+ subscribeEq: (listenerName, resourceId, columnName, value) => ({+ title: 'Subscribe to specific rows',+ bash: {+ language: 'bash',+ code: `# Realtime streams are only supported by our client libraries`,+ },+ js: {+ language: 'js',+ code: `+const ${listenerName} = supabase+ .from('${resourceId}:${columnName}=eq.${value}')+ .on('*', payload => {+ console.log('Change received!', payload)+ })+ .subscribe()`,+ },+ }),+ readAll: (resourceId, endpoint, apiKey) => ({+ title: 'Read all rows',+ bash: {+ language: 'bash',+ code: `+curl 'https://${endpoint}/rest/v1/${resourceId}?select=*' \\+-H "apikey: ${apiKey}" \\+-H "Authorization: Bearer ${apiKey}"+`,+ },+ js: {+ language: 'js',+ code: `+let { data: ${resourceId}, error } = await supabase+ .from('${resourceId}')+ .select('*')+`,+ },+ }),+ readColumns: ({+ title = 'Read specific columns',+ resourceId,+ endpoint,+ apiKey,+ columnName = 'some_column,other_column',+ }) => ({+ title,+ bash: {+ language: 'bash',+ code: `+curl 'https://${endpoint}/rest/v1/${resourceId}?select=${columnName}' \\+-H "apikey: ${apiKey}" \\+-H "Authorization: Bearer ${apiKey}"+`,+ },+ js: {+ language: 'js',+ code: `+let { data: ${resourceId}, error } = await supabase+ .from('${resourceId}')+ .select('${columnName}')+`,+ },+ }),+ readForeignTables: (resourceId, endpoint, apiKey) => ({+ title: 'Read foreign tables',+ bash: {+ language: 'bash',+ code: `+curl 'https://${endpoint}/rest/v1/${resourceId}?select=some_column,other_table(foreign_key)' \\+-H "apikey: ${apiKey}" \\+-H "Authorization: Bearer ${apiKey}"+`,+ },+ js: {+ language: 'js',+ code: `+let { data: ${resourceId}, error } = await supabase+ .from('${resourceId}')+ .select(\`+ some_column,+ other_table (+ foreign_key+ )+ \`)+`,+ },+ }),+ readRange: (resourceId, endpoint, apiKey) => ({+ title: 'With pagination',+ bash: {+ language: 'bash',+ code: `+curl 'https://${endpoint}/rest/v1/${resourceId}?select=*' \\+-H "apikey: ${apiKey}" \\+-H "Authorization: Bearer ${apiKey}" \\+-H "Range: 0-9"+`,+ },+ js: {+ language: 'js',+ code: `+let { data: ${resourceId}, error } = await supabase+ .from('${resourceId}')+ .select('*')+ .range(0, 9)+`,+ },+ }),+ readFilters: (resourceId, endpoint, apiKey) => ({+ title: 'With filtering',+ bash: {+ language: 'bash',+ code: `+curl 'https://${endpoint}/rest/v1/${resourceId}?id=eq.1&select=*' \\+-H "apikey: ${apiKey}" \\+-H "Authorization: Bearer ${apiKey}" \\+-H "Range: 0-9"+`,+ },+ js: {+ language: 'js',+ code: `+let { data: ${resourceId}, error } = await supabase+ .from('${resourceId}')+ .select("*")++ // Filters+ .eq('column', 'Equal to')+ .gt('column', 'Greater than')+ .lt('column', 'Less than')+ .gte('column', 'Greater than or equal to')+ .lte('column', 'Less than or equal to')+ .like('column', '%CaseSensitive%')+ .ilike('column', '%CaseInsensitive%')+ .is('column', null)+ .in('column', ['Array', 'Values'])+ .neq('column', 'Not equal to')++ // Arrays+ .cs('array_column', ['array', 'contains'])+ .cd('array_column', ['contained', 'by'])++`,+ },+ }),+ insertSingle: (resourceId, endpoint, apiKey) => ({+ title: 'Insert a row',+ bash: {+ language: 'bash',+ code: `+curl -X POST 'https://${endpoint}/rest/v1/${resourceId}' \\+-H "apikey: ${apiKey}" \\+-H "Authorization: Bearer ${apiKey}" \\+-H "Content-Type: application/json" \\+-H "Prefer: return=representation" \\+-d '{ "some_column": "someValue", "other_column": "otherValue" }'+`,+ },+ js: {+ language: 'js',+ code: `+const { data, error } = await supabase+ .from('${resourceId}')+ .insert([+ { some_column: 'someValue', other_column: 'otherValue' },+ ])+`,+ },+ }),+ insertMany: (resourceId, endpoint, apiKey) => ({+ title: 'Insert many rows',+ bash: {+ language: 'bash',+ code: `+curl -X POST 'https://${endpoint}/rest/v1/${resourceId}' \\+-H "apikey: ${apiKey}" \\+-H "Authorization: Bearer ${apiKey}" \\+-H "Content-Type: application/json" \\+-d '[{ "some_column": "someValue" }, { "other_column": "otherValue" }]'+`,+ },+ js: {+ language: 'js',+ code: `+const { data, error } = await supabase+ .from('${resourceId}')+ .insert([+ { some_column: 'someValue' },+ { some_column: 'otherValue' },+ ])+`,+ },+ }),+ upsert: (resourceId, endpoint, apiKey) => ({+ title: 'Upsert matching rows',+ bash: {+ language: 'bash',+ code: `+curl -X POST 'https://${endpoint}/rest/v1/${resourceId}' \\+-H "apikey: ${apiKey}" \\+-H "Authorization: Bearer ${apiKey}" \\+-H "Content-Type: application/json" \\+-H "Prefer: resolution=merge-duplicates" \\+-d '{ "some_column": "someValue", "other_column": "otherValue" }'+`,+ },+ js: {+ language: 'js',+ code: `+const { data, error } = await supabase+ .from('${resourceId}')+ .insert([{ some_column: 'someValue' }], { upsert: true })+`,+ },+ }),+ update: (resourceId, endpoint, apiKey) => ({+ title: 'Update matching rows',+ bash: {+ language: 'bash',+ code: `+curl -X PATCH 'https://${endpoint}/rest/v1/${resourceId}?some_column=eq.someValue' \\+-H "apikey: ${apiKey}" \\+-H "Authorization: Bearer ${apiKey}" \\+-H "Content-Type: application/json" \\+-H "Prefer: return=representation" \\+-d '{ "other_column": "otherValue" }'+`,+ },+ js: {+ language: 'js',+ code: `+const { data, error } = await supabase+ .from('${resourceId}')+ .update({ other_column: 'otherValue' })+ .eq('some_column', 'someValue')+`,+ },+ }),+ delete: (resourceId, endpoint, apiKey) => ({+ title: 'Delete matching rows',+ bash: {+ language: 'bash',+ code: `+curl -X DELETE 'https://${endpoint}/rest/v1/${resourceId}?some_column=eq.someValue' \\+-H "apikey: ${apiKey}" \\+-H "Authorization: Bearer ${apiKey}"+`,+ },+ js: {+ language: 'js',+ code: `+const { data, error } = await supabase+ .from('${resourceId}')+ .delete()+ .eq('some_column', 'someValue')+`,+ },+ }),+ authSignup: (endpoint, apiKey, randomPassword) => ({+ title: 'User signup',+ bash: {+ language: 'bash',+ code: `+curl -X POST 'https://${endpoint}/auth/v1/signup' \\+-H "apikey: ${apiKey}" \\+-H "Content-Type: application/json" \\+-d '{+ "email": "[email protected]",+ "password": "${randomPassword}"+}'+`,+ },+ js: {+ language: 'js',+ code: `+let { user, error } = await supabase.auth.signUp({+ email: '[email protected]',+ password: '${randomPassword}'+})+`,+ },+ }),+ authLogin: (endpoint, apiKey, randomPassword) => ({+ title: 'User login',+ bash: {+ language: 'bash',+ code: `+curl -X POST 'https://${endpoint}/auth/v1/token?grant_type=password' \\+-H "apikey: ${apiKey}" \\+-H "Content-Type: application/json" \\+-d '{+ "email": "[email protected]",+ "password": "${randomPassword}"+}'+`,+ },+ js: {+ language: 'js',+ code: `+let { user, error } = await supabase.auth.signIn({+ email: '[email protected]',+ password: '${randomPassword}'+})+`,+ },+ }),+ authMagicLink: (endpoint, apiKey) => ({+ title: 'User login',+ bash: {+ language: 'bash',+ code: `+curl -X POST 'https://${endpoint}/auth/v1/magiclink' \\+-H "apikey: ${apiKey}" \\+-H "Content-Type: application/json" \\+-d '{+ "email": "[email protected]"+}'+`,+ },+ js: {+ language: 'js',+ code: `+let { user, error } = await supabase.auth.signIn({+ email: '[email protected]'+})+`,+ },+ }),+ authPhoneSignUp: (endpoint, apiKey) => ({+ title: 'Phone Signup',+ bash: {+ language: 'bash',+ code: `+curl -X POST 'https://${endpoint}/auth/v1/signup' \\+-H "apikey: ${apiKey}" \\+-H "Content-Type: application/json" \\+-d '{+ "phone": "+13334445555",+ "password": "some-password"+}'+`,+ },+ js: {+ language: 'js',+ code: `+let { user, error } = await supabase.auth.signUp({+ phone: '+13334445555',+ password: 'some-password'+})+`,+ },+ }),+ authMobileOTPLogin: (endpoint, apiKey) => ({+ title: 'Phone Login',+ bash: {+ language: 'bash',+ code: `+curl -X POST 'https://${endpoint}/auth/v1/otp' \\+-H "apikey: ${apiKey}" \\+-H "Content-Type: application/json" \\+-d '{+ "phone": "+13334445555"+}'+`,+ },+ js: {+ language: 'js',+ code: `+let { user, error } = await supabase.auth.signIn({+ phone: '+13334445555'+})+`,+ },+ }),+ authMobileOTPVerify: (endpoint, apiKey) => ({+ title: 'Verify Pin',+ bash: {+ language: 'bash',+ code: `+curl -X POST 'https://${endpoint}/auth/v1/verify' \\+-H "apikey: ${apiKey}" \\+-H "Content-Type: application/json" \\+-d '{+ "type": "sms",+ "phone": "+13334445555",+ "token": "123456"+}'+`,+ },+ js: {+ language: 'js',+ code: `+let { session, error } = await supabase.auth.verifyOTP({+ phone: '+13334445555',+ token: '123456'+})+`,+ },+ }),+ authInvite: (endpoint, apiKey) => ({+ title: 'Invite User',+ bash: {+ language: 'bash',+ code: `+curl -X POST 'https://${endpoint}/auth/v1/invite' \\+-H "apikey: ${apiKey}" \\+-H "Authorization: Bearer ${apiKey}" \\+-H "Content-Type: application/json" \\+-d '{+ "email": "[email protected]"+}'+`,+ },+ js: {+ language: 'js',+ code: `+let { user, error } = await supabase.auth.api.inviteUserByEmail(+ email: '[email protected]'+)+`,+ },+ }),+ authThirdPartyLogin: (endpoint, apiKey) => ({+ title: '',+ bash: {+ language: 'bash',+ code: ``,+ },+ js: {+ language: 'js',+ code: `+let { user, error } = await supabase.auth.signIn({+ provider: 'github'+})+`,+ },+ }),+ authUser: (endpoint, apiKey) => ({+ title: 'Get User',+ bash: {+ language: 'bash',+ code: `+curl -X GET 'https://${endpoint}/auth/v1/user' \\+-H "apikey: ${apiKey}" \\+-H "Authorization: Bearer USER_TOKEN"+`,+ },+ js: {+ language: 'js',+ code: `+const user = supabase.auth.user()+`,+ },+ }),+ authRecover: (endpoint, apiKey) => ({+ title: 'Password Recovery',+ bash: {+ language: 'bash',+ code: `+ curl -X POST 'https://${endpoint}/auth/v1/recover' \\+-H "apikey: ${apiKey}" \\+-H "Content-Type: application/json" \\+-d '{+ "email": "[email protected]"+}'+`,+ },+ js: {+ language: 'js',+ code: `+let { data, error } = await supabase.auth.api.resetPasswordForEmail(email)+`,+ },+ }),+ authUpdate: (endpoint, apiKey) => ({+ title: 'Update User',+ bash: {+ language: 'bash',+ code: `+ curl -X PUT 'https://${endpoint}/auth/v1/user' \\+-H "apikey: ${apiKey}" \\+-H "Authorization: Bearer <USERS-ACCESS-TOKEN>" \\+-H "Content-Type: application/json" \\+-d '{+ "email": "[email protected]",+ "password": "new-password",+ "data": {+ "key": "value"+ }+}'+`,+ },+ js: {+ language: 'js',+ code: `+const { user, error } = await supabase.auth.update({+ email: "[email protected]",+ password: "new-password",+ data: { hello: 'world' }+})+`,+ },+ }),+ authLogout: (endpoint, apiKey, randomPassword) => ({+ title: 'User logout',+ bash: {+ language: 'bash',+ code: `+curl -X POST 'https://${endpoint}/auth/v1/logout' \\+-H "apikey: ${apiKey}" \\+-H "Content-Type: application/json" \\+-H "Authorization: Bearer USER_TOKEN"'+`,+ },+ js: {+ language: 'js',+ code: `+let { error } = await supabase.auth.signOut()+`,+ },+ }),+}++export default snippetsdiff --git a/studio/components/to-be-cleaned/Dropdown/OrganizationDropdown.js b/studio/components/to-be-cleaned/Dropdown/OrganizationDropdown.jsnew file mode 100644index 00000000000..7aaf7759efe--- /dev/null+++ b/studio/components/to-be-cleaned/Dropdown/OrganizationDropdown.js@@ -0,0 +1,42 @@+import React from 'react'+import { useRouter } from 'next/router'+import { toJS } from 'mobx'+import { Button, Divider, Dropdown, IconPlus } from '@supabase/ui'++const OrganizationDropdown = ({ organizations }) => {+ const router = useRouter()++ const organizationList = Object.values(toJS(organizations.data)).sort((a, b) =>+ a.name.localeCompare(b.name)+ )++ return (+ <Dropdown+ side="bottom"+ align="center"+ overlay={+ <>+ <Dropdown.Label>Choose organization</Dropdown.Label>+ {organizationList+ .sort((a, b) => a.name.localeCompare(b.name))+ .map((x) => (+ <Dropdown.Item+ key={x.slug}+ label={x.name}+ onClick={() => router.push(`/new/${x.slug}`)}+ >+ {x.name}+ </Dropdown.Item>+ ))}+ <Divider light />+ <Dropdown.Item icon={<IconPlus size="tiny" />} onClick={() => router.push(`/new`)}>+ New organization+ </Dropdown.Item>+ </>+ }+ >+ <Button as="span">New project</Button>+ </Dropdown>+ )+}+export default OrganizationDropdowndiff --git a/studio/components/to-be-cleaned/FiveOhFive.js b/studio/components/to-be-cleaned/FiveOhFive.jsnew file mode 100644index 00000000000..2adf12e029d--- /dev/null+++ b/studio/components/to-be-cleaned/FiveOhFive.js@@ -0,0 +1,7 @@+export default function FiveOhFive({ error }) {+ return (+ <div className="flex h-screen">+ <img className="m-auto max-w-lg" src="/img/eastwood-fatal-error.svg" alt="loading" />+ </div>+ )+}diff --git a/studio/components/to-be-cleaned/FormBoxEmpty.js b/studio/components/to-be-cleaned/FormBoxEmpty.jsnew file mode 100644index 00000000000..08798d5934d--- /dev/null+++ b/studio/components/to-be-cleaned/FormBoxEmpty.js@@ -0,0 +1,16 @@+import { IconGlobe, IconTool, Typography } from '@supabase/ui'++const { Text } = Typography++const EmptyPanel = ({ icon, text }) => {+ return (+ <div className="flex items-center justify-center flex-row py-4 space-x-2">+ <div className="relative bg-bg-secondary-light w-12 h-12 rounded-full flex items-center justify-center text-gray-300">+ {icon}+ </div>+ <Text type="secondary">{text}</Text>+ </div>+ )+}++export default EmptyPaneldiff --git a/studio/components/to-be-cleaned/Integration/Vercel.utils.ts b/studio/components/to-be-cleaned/Integration/Vercel.utils.tsnew file mode 100644index 00000000000..382e8b13176--- /dev/null+++ b/studio/components/to-be-cleaned/Integration/Vercel.utils.ts@@ -0,0 +1,158 @@+import { post, get } from 'lib/common/fetch'+import { INTEGRATION_ENVS_ALIAS } from 'lib/vercelConfigs'+import { Dictionary } from '@supabase/grid'+import { API_URL } from 'lib/constants'++export async function fetchVercelProjects({+ vercelTeamId,+ vercelToken,+}: {+ vercelTeamId?: string+ vercelToken: string+}): Promise<{ data?: Dictionary<any>[]; error?: string }> {+ let url = `${API_URL}/vercel/projects`+ if (vercelTeamId && vercelTeamId != 'null') {+ const query = new URLSearchParams({ teamId: vercelTeamId }).toString()+ url = `${url}?${query}`+ }+ const response = await get(url, {+ headers: { Authorization: `Bearer ${vercelToken}` },+ })+ if (response.error != null) {+ return { error: `Retrieve vercel projects failed. ${response.error?.message}` }+ }+ return { data: response }+}++/**+ * /v6/projects/:id returns project alias with domain info.+ * We need this to setup Supabase Auth site url on project creation.+ *+ * Do not update to /v8/projects/:id as it doesn't return alias info+ */+export async function fetchVercelProject({+ id,+ vercelTeamId,+ vercelToken,+}: {+ id: string+ vercelTeamId?: string+ vercelToken: string+}): Promise<{ data?: Dictionary<any>; error?: string }> {+ let url = `${API_URL}/vercel/projects`+ if (vercelTeamId && vercelTeamId != 'null') {+ const query = new URLSearchParams({ id, teamId: vercelTeamId }).toString()+ url = `${url}?${query}`+ } else {+ const query = new URLSearchParams({ id }).toString()+ url = `${url}?${query}`+ }+ const data = await get(url, {+ headers: { Authorization: `Bearer ${vercelToken}` },+ })+ if (data.error != null) {+ return { error: `Retrieve vercel project failed. ${data.error.message}` }+ }+ return { data }+}++export async function fetchVercelProjectEnvs({+ id,+ vercelTeamId,+ vercelToken,+}: {+ id: string+ vercelTeamId?: string+ vercelToken: string+}): Promise<{ data?: Dictionary<any>[]; error?: string }> {+ let url = `${API_URL}/vercel/projects/envs`+ if (vercelTeamId && vercelTeamId != 'null') {+ const query = new URLSearchParams({ projectId: id, teamId: vercelTeamId }).toString()+ url = `${url}?${query}`+ } else {+ const query = new URLSearchParams({ projectId: id }).toString()+ url = `${url}?${query}`+ }+ const response = await get(url, {+ headers: { Authorization: `Bearer ${vercelToken}` },+ })+ if (response.error != null) {+ return { error: `Retrieve vercel project envs failed. ${response.error?.message}` }+ }+ return { data: response }+}++export async function createVercelEnv({+ key,+ value,+ type,+ target,+ vercelProjectId,+ vercelTeamId,+ vercelToken,+}: {+ key: string+ value: string+ type: 'encrypted' | string+ target: ('production' | 'development' | 'preview')[]+ vercelProjectId: string+ vercelTeamId?: string+ vercelToken: string+}) {+ let url = `${API_URL}/vercel/projects/envs`+ if (vercelTeamId && vercelTeamId != 'null') {+ const query = new URLSearchParams({+ projectId: vercelProjectId,+ teamId: vercelTeamId,+ }).toString()+ url = `${url}?${query}`+ } else {+ const query = new URLSearchParams({ projectId: vercelProjectId }).toString()+ url = `${url}?${query}`+ }+ return await post(+ url,+ { key, value, type, target },+ {+ headers: { Authorization: `Bearer ${vercelToken}` },+ }+ )+}++export function prepareVercelEvns(+ requiredEnvs: {+ key: string+ alias: string+ type: 'encrypted' | string+ }[],+ project: {+ endpoint: string+ anon_key: string+ service_key: string+ }+) {+ const envs: any = []++ requiredEnvs.forEach((x) => {+ let env: {+ key: string+ value: string+ type: 'encrypted' | string+ target: ('production' | 'development' | 'preview')[]+ } = { key: x.key, type: x.type, target: ['production', 'development', 'preview'], value: '' }++ if (x.alias == INTEGRATION_ENVS_ALIAS.ENDPOINT) {+ env.value = project.endpoint+ }+ if (x.alias == INTEGRATION_ENVS_ALIAS.ANONKEY) {+ env.value = project.anon_key+ }+ if (x.alias == INTEGRATION_ENVS_ALIAS.SERVICEKEY) {+ env.value = project.service_key+ }++ envs.push(env)+ })++ return envs+}diff --git a/studio/components/to-be-cleaned/KeyMap.js b/studio/components/to-be-cleaned/KeyMap.jsnew file mode 100644index 00000000000..e06c74e42f5--- /dev/null+++ b/studio/components/to-be-cleaned/KeyMap.js@@ -0,0 +1,30 @@+import React from 'react'++/**+ * Render keyMap+ *+ * @param {String} keyMap ex: Command+Enter ; separate key using ++ */++const customKeyChars = {+ command: '⌘',+ control: '⌃',+ option: '⌥',+ enter: '↵',+}++export default function KeyMap({ keyMap }) {+ if (!keyMap) return null++ const keys = keyMap.split('+')+ const keymapRender = keys.map((key) => {+ let keyChar = key+ if (key.toLowerCase() in customKeyChars) keyChar = customKeyChars[key.toLowerCase()]+ return (+ <span key={key} className={`btn-keymap ${keyChar.length > 1 ? 'px-2' : ''}`}>+ {keyChar}+ </span>+ )+ })+ return <p className="inline-flex space-x-1.5">{keymapRender}</p>+}diff --git a/studio/components/to-be-cleaned/ListIcons.tsx b/studio/components/to-be-cleaned/ListIcons.tsxnew file mode 100644index 00000000000..0882a68b3b9--- /dev/null+++ b/studio/components/to-be-cleaned/ListIcons.tsx@@ -0,0 +1,26 @@+import { IconDatabase } from '@supabase/ui'+import SVG from 'react-inlinesvg'++export const vercelIcon = (+ <div className="bg-black dark:bg-white p-1 flex items-center justify-center rounded">+ <svg+ className="m-auto fill-current text-white dark:text-black"+ width="12px"+ height="12px"+ viewBox="0 0 1155 1000"+ >+ <path d="M577.344 0L1154.69 1000H0L577.344 0Z" />+ </svg>+ </div>+)++export const databaseIcon = (+ <div className="bg-green-500 p-1 flex items-center justify-center rounded dark:text-typography-body-dark ">+ {/* <SVG+ src={'/icons/feather/database.svg'}+ style={{ width: `12px`, height: `12px`, strokeWidth: '2px' }}+ preProcessor={(code) => code.replace(/svg/, 'svg class="m-auto text-white"')}+ /> */}+ <IconDatabase size={12} strokeWidth={2} />+ </div>+)diff --git a/studio/components/to-be-cleaned/LogPanel.js b/studio/components/to-be-cleaned/LogPanel.jsnew file mode 100644index 00000000000..ee110f56348--- /dev/null+++ b/studio/components/to-be-cleaned/LogPanel.js@@ -0,0 +1,69 @@+import { useState, useEffect } from 'react'+import { Button, Typography } from '@supabase/ui'++import { API_URL } from 'lib/constants'+import { get } from 'lib/common/fetch'+import Panel from './Panel'++export default function LogPanel({ title, projectRef, app }) {+ const [logs, setLogs] = useState([])+ const [lines, setLines] = useState(10)+ const [isLoading, setIsLoading] = useState(false)++ const refreshLogs = async () => {+ setIsLoading(true)+ try {+ const data = await get(`${API_URL}/projects/${projectRef}/logs?app=${app}`)+ if (data.error) throw data.error+ const cleansed = data.logs+ .split('\n')+ .filter((x) => x.trim() != '')+ .reverse()+ setLogs(cleansed)+ } catch (error) {+ console.error('Refresh logs error:', error)+ } finally {+ setIsLoading(false)+ }+ }++ useEffect(() => {+ refreshLogs()+ }, [])++ return (+ <Panel+ title={+ <div className="flex items-center justify-between w-full">+ <Typography.Title level={5} className="flex-1 block">+ {title}+ </Typography.Title>+ <div className="flex-1 text-right">+ <Button+ type="outline"+ className="hover:border-gray-400"+ disabled={isLoading}+ loading={isLoading}+ onClick={() => refreshLogs()}+ >+ Refresh+ </Button>+ </div>+ </div>+ }+ >+ <div className="max-w-full w-full rounded overflow-hidden">+ <div className="relative max-w-full overflow-x-auto">+ {logs.map((x, i) => (+ <div+ key={x}+ className={`block whitespace-nowrap px-4 py-3 font-mono border-t dark:border-dark`}+ >+ <Typography.Text>{x}</Typography.Text>+ </div>+ ))}+ </div>+ </div>+ </Panel>+ )+}diff --git a/studio/components/to-be-cleaned/ModalsDeprecated/ConfirmModal.js b/studio/components/to-be-cleaned/ModalsDeprecated/ConfirmModal.jsnew file mode 100644index 00000000000..2bf7f82c94b--- /dev/null+++ b/studio/components/to-be-cleaned/ModalsDeprecated/ConfirmModal.js@@ -0,0 +1,67 @@+import React, { useState } from 'react'+import { Modal } from '@supabase/ui'+import { render, unmountComponentAtNode } from 'react-dom'++function ConfirmModal({ title, message, onConfirm, onAsyncConfirm, variant = 'danger' }) {+ const [loading, setLoading] = useState(false)++ function onCancelClick() {+ if (!loading) onClose()+ }++ async function onConfirmClick() {+ if (onAsyncConfirm) {+ setLoading(true)+ await onAsyncConfirm()++ onClose()+ } else if (onConfirm) {+ onConfirm()+ onClose()+ }+ }++ function onClose() {+ removeElement()+ }++ return (+ <Modal+ variant={variant}+ visible={true}+ title={title}+ description={message}+ showIcon={false}+ size="small"+ onConfirmText="OK"+ onCancelText="Cancel"+ onCancel={onCancelClick}+ onConfirm={onConfirmClick}+ loading={loading}+ />+ )+}++function removeElement() {+ const target = document.getElementById('supabase-ui-confirm-alert')+ if (target) {+ unmountComponentAtNode(target)+ target.parentNode.removeChild(target)+ }+}++function createElement(properties) {+ let divTarget = document.getElementById('supabase-ui-confirm-alert')+ if (divTarget) {+ render(<ConfirmModal {...properties} />, divTarget)+ } else {+ divTarget = document.createElement('div')+ divTarget.id = 'supabase-ui-confirm-alert'+ document.body.appendChild(divTarget)+ render(<ConfirmModal {...properties} />, divTarget)+ }+}++export function confirmAlert(properties) {+ createElement(properties)+}diff --git a/studio/components/to-be-cleaned/ModalsDeprecated/ConfirmModalV2.js b/studio/components/to-be-cleaned/ModalsDeprecated/ConfirmModalV2.jsnew file mode 100644index 00000000000..36c2ec955ec--- /dev/null+++ b/studio/components/to-be-cleaned/ModalsDeprecated/ConfirmModalV2.js@@ -0,0 +1,51 @@+import { Modal, Button, Space } from '@supabase/ui'+import { useState, useEffect } from 'react'++// [Joshen] I feel like having the confirm modal as a component to import is better than firing+// the confirmAlert helper function? We'd have the modal transitions too++const ConfirmModal = ({+ visible = false,+ danger = false,+ title = '',+ description = '',+ size = 'small',+ buttonLabel = '',+ buttonLoadingLabel = '',+ onSelectCancel = () => {},+ onSelectConfirm = () => {},+}) => {+ useEffect(() => {+ if (visible) {+ setLoading(false)+ }+ }, [visible])++ const [loading, setLoading] = useState(false)++ const onConfirm = () => {+ setLoading(true)+ onSelectConfirm()+ }++ return (+ <Modal+ visible={visible}+ title={title}+ description={description}+ size={size}+ customFooter={+ <Space>+ <Button type="secondary" onClick={onSelectCancel}>+ Cancel+ </Button>+ <Button type="primary" danger={danger} loading={loading} onClick={onConfirm}>+ {loading ? buttonLoadingLabel : buttonLabel}+ </Button>+ </Space>+ }+ />+ )+}++export default ConfirmModaldiff --git a/studio/components/to-be-cleaned/ModalsDeprecated/ConfirmModalwithState.js b/studio/components/to-be-cleaned/ModalsDeprecated/ConfirmModalwithState.jsnew file mode 100644index 00000000000..b4a97bddf13--- /dev/null+++ b/studio/components/to-be-cleaned/ModalsDeprecated/ConfirmModalwithState.js@@ -0,0 +1,44 @@+import React, { useState } from 'react'+import { Modal } from '@supabase/ui'++export default function ConfirmModal({+ title,+ message,+ onConfirm,+ onClose,+ onAsyncConfirm,+ visible,+}) {+ const [loading, setLoading] = useState(false)++ function onCancelClick() {+ if (!loading) onClose()+ }++ async function onConfirmClick() {+ if (onAsyncConfirm) {+ setLoading(true)+ await onAsyncConfirm()++ onClose()+ } else if (onConfirm) {+ onConfirm()+ }+ }++ return (+ <Modal+ variant="warning"+ visible={visible}+ title={title}+ description={message}+ showIcon={false}+ size="small"+ onConfirmText="OK"+ onCancelText="Cancel"+ onCancel={onCancelClick}+ onConfirm={onConfirmClick}+ loading={loading}+ />+ )+}diff --git a/studio/components/to-be-cleaned/ModalsDeprecated/InviteMemberModal.js b/studio/components/to-be-cleaned/ModalsDeprecated/InviteMemberModal.jsnew file mode 100644index 00000000000..23aad2e55c8--- /dev/null+++ b/studio/components/to-be-cleaned/ModalsDeprecated/InviteMemberModal.js@@ -0,0 +1,267 @@+import { createContext, useContext, useCallback, useState, useEffect } from 'react'+import { debounce } from 'lodash'+import { observer, useLocalObservable } from 'mobx-react-lite'+import toast from 'react-hot-toast'+import { post } from 'lib/common/fetch'+import { Button, IconKey, IconLoader, IconUser, IconX, Input, Typography } from '@supabase/ui'+import { Modal } from '@supabase/ui'++import { API_URL } from 'lib/constants'+import { Transition } from '@headlessui/react'+import { useOrganizationDetail, useStore } from 'hooks'++/**+ * Modal to invite member to Organization+ *+ * @param {Object} organization // organization detail+ * @param {Array} members // organization members list+ */++const PageContext = createContext(null)+function InviteMemberModal({ organization, members = [] }) {+ const PageState = useLocalObservable(() => ({+ members: [],+ keywords: '',+ profiles: null,+ selectedProfile: null,+ addMemberLoading: false,+ get addBtnText() {+ if (this.selectedProfile) return `Add ${this.selectedProfile.username} to organization`+ return 'Select a member above'+ },+ get addBtnDisable() {+ return !this.selectedProfile || this.addMemberLoading+ },+ setProfiles(profiles) {+ let temp = profiles+ if (profiles) {+ temp = profiles+ .map((profile) => {+ const foundMember = this.members.find((x) => x.profile.id == profile.id)+ return { ...profile, isMember: foundMember !== undefined }+ })+ .sort((a, b) => a.username.localeCompare(b.username))+ }+ this.profiles = temp+ },+ }))+ const { ui } = useStore()+ const { mutateOrgMembers } = useOrganizationDetail(ui.selectedOrganization?.slug || '')+ const [isOpen, setIsOpen] = useState(false)+ const { id: orgId, slug: orgSlug } = organization++ useEffect(() => {+ PageState.members = members+ }, [members])++ function toggle() {+ // reset data before showing modal again+ if (!isOpen) {+ PageState.keywords = ''+ PageState.selectedProfile = null+ PageState.profiles = null+ PageState.addMemberLoading = false+ }+ setIsOpen(!isOpen)+ }++ async function addMember() {+ PageState.addMemberLoading = true+ const response = await post(`${API_URL}/organizations/${orgSlug}/members/add`, {+ org_id: orgId,+ user_id: PageState.selectedProfile.id,+ })+ if (response?.error) {+ toast.error(response.error.message)+ PageState.addMemberLoading = false+ } else {+ const newMember = response+ mutateOrgMembers([...PageState.members, newMember], false)+ toggle()+ toast(`New member added`)+ }+ }++ return (+ <PageContext.Provider value={PageState}>+ <Button onClick={toggle}>Invite</Button>+ <Modal+ size="small"+ className="!overflow-visible"+ icon={<IconKey size="xlarge" background="brand" />}+ visible={isOpen}+ onCancel={toggle}+ title="Invite a member to organization"+ description="Members you'd like to invite must already be registered on Supabase"+ layout="vertical"+ hideFooter+ >+ <div className="w-full">+ <div className="mt-3 text-center sm:mt-5">+ <InputSearchWithResults className="mt-2" />+ </div>++ <div className="mt-5">+ <Button+ onClick={addMember}+ loading={PageState.addMemberLoading}+ disabled={PageState.addBtnDisable}+ block+ >+ {PageState.addBtnText}+ </Button>+ </div>+ </div>+ </Modal>+ </PageContext.Provider>+ )+}+export default observer(InviteMemberModal)++const InputSearchWithResults = observer(({ className }) => {+ const PageState = useContext(PageContext)+ const [loading, setLoading] = useState(false)+ const debounceSearchProfile = useCallback(debounce(searchProfile, 500), [PageState.keywords])++ useEffect(() => {+ debounceSearchProfile()+ // Cancel the debounce on useEffect cleanup.+ return debounceSearchProfile.cancel+ }, [PageState.keywords, debounceSearchProfile])++ async function searchProfile() {+ if (PageState.keywords.length === 0) {+ PageState.setProfiles(null)+ return+ }+ setLoading(true)+ const response = await post(`${API_URL}/profile/search`, { keywords: PageState.keywords })+ if (response.error) {+ toast.error(response.error.message)+ setLoading(false)+ } else {+ PageState.setProfiles(response)+ setLoading(false)+ }+ }++ function onInputChange(e) {+ PageState.keywords = e.target.value+ }++ function reset() {+ PageState.keywords = ''+ PageState.setProfiles(null)+ PageState.selectedProfile = null+ }++ if (PageState.selectedProfile) {+ const fullName = `${PageState.selectedProfile.first_name || ''} ${+ PageState.selectedProfile.last_name || ''+ }`+ return (+ <div className={className}>+ <div className="flex px-6 py-4 rounded-md bg-green-100">+ <div className="flex-grow text-left">+ <p className="text-green-800 leading-6 font-medium">+ {PageState.selectedProfile.username}+ </p>+ <p className="text-sm leading-5 text-green-800">+ {fullName !== ' ' ? `${fullName} • Invite collaborator` : 'Invite collaborator'}+ </p>+ </div>+ <div className="m-auto">+ <button className="text-green-500 hover:text-green-900">+ <IconX strokeWidth={1} onClick={reset} />+ </button>+ </div>+ </div>+ </div>+ )+ }++ return (+ <div className={className}>+ <div className="relative rounded-md shadow-sm">+ <Input+ icon={<IconUser />}+ autoFocus+ id="email"+ type="text"+ className="form-input"+ onChange={onInputChange}+ autoComplete="off"+ placeholder="search by username or email"+ />+ <div className="absolute inset-y-0 right-0 pr-3 flex items-center pointer-events-none">+ {loading && <IconLoader className="animate-spin" size={16} />}+ </div>+ </div>+ <ProfileDropdown className="relative w-full mt-1 z-10" />+ </div>+ )+})++const ProfileDropdown = observer(({ className }) => {+ const PageState = useContext(PageContext)++ const onSelectDropdownOption = (e, option) => {+ if (!option.isMember) PageState.selectedProfile = option+ }++ if (!PageState.profiles) return null+ return (+ <div className={className}>+ <Transition+ show={!PageState.selectedProfile}+ enter="transition ease-out duration-100"+ enterFrom="transform opacity-0 scale-95"+ enterTo="transform opacity-100 scale-100"+ leave="transition ease-in duration-75"+ leaveFrom="transform opacity-100 scale-100"+ leaveTo="transform opacity-0 scale-95"+ >+ <div className="origin-top-right absolute w-full max-h-48 rounded-md shadow-lg overflow-y-auto">+ <div className="rounded-md bg-white dark:bg-gray-800 ring-1 ring-black ring-opacity-5 text-left">+ <div+ className="py-1"+ role="menu"+ aria-orientation="vertical"+ aria-labelledby="options-menu"+ >+ {PageState.profiles.length === 0 && (+ <div className="px-3 py-2">+ <p className="text-base leading-6 font-medium">+ Could not find account. Has the user already signed up?+ </p>+ </div>+ )}+ {PageState.profiles.map((profile, i) => {+ const { first_name, last_name, username, isMember } = profile+ const fullName = `${first_name || ''} ${last_name || ''}`+ let subText = isMember ? 'Already in this organization' : 'Invite collaborator'+ if (fullName !== ' ') subText = `${fullName} • ${subText}`+ return (+ <div+ key={`option_${i}`}+ className={`px-3 py-1 ${+ isMember+ ? 'cursor-not-allowed opacity-50'+ : 'cursor-pointer hover:bg-bg-alt-light dark:hover:bg-bg-alt-dark'+ } first:rounded-t-md last:rounded-b-md`}+ onClick={(e) => onSelectDropdownOption(e, profile)}+ >+ <Typography.Text className="block">{username}</Typography.Text>+ <Typography.Text className="block" type="secondary">+ {subText}+ </Typography.Text>+ </div>+ )+ })}+ </div>+ </div>+ </div>+ </Transition>+ </div>+ )+})diff --git a/studio/components/to-be-cleaned/ModalsDeprecated/Modal.js b/studio/components/to-be-cleaned/ModalsDeprecated/Modal.jsnew file mode 100644index 00000000000..e4ea5e741ce--- /dev/null+++ b/studio/components/to-be-cleaned/ModalsDeprecated/Modal.js@@ -0,0 +1,73 @@+import { Transition } from '@headlessui/react'+import { clickOutsideListener, useKeyboardShortcuts } from 'hooks'++/**+ * Base modal with trigger button and close button+ *+ * @param {Boolean} open // The parent should hold the open state+ * @param {Function} handleCloseEvent // Delegate the close event to the parent+ * @param {JSX.Element|JSX.Element[]} children+ */++export default function Modal({ children, open, handleCloseEvent }) {+ const ref = clickOutsideListener(handleCloseEvent)++ useKeyboardShortcuts({+ Escape: handleCloseEvent,+ })++ return (+ <div className="relative">+ <Transition+ show={open}+ enter="ease-out duration-200"+ enterFrom="opacity-0"+ enterTo="opacity-100"+ leave="ease-in duration-200"+ leaveFrom="opacity-100"+ leaveTo="opacity-0"+ >+ <div className="fixed z-50 inset-0 overflow-y-auto">+ <div className="flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0">+ <div className="fixed inset-0 transition-opacity">+ <div className="absolute inset-0 bg-black opacity-75"></div>+ </div>+ <div className="absolute top-0 right-0 pt-4 pr-4">+ <button type="button" aria-label="Close">+ <svg+ className="h-6 w-6 text-gray-200"+ fill="none"+ viewBox="0 0 24 24"+ stroke="currentColor"+ >+ <path+ strokeLinecap="round"+ strokeLinejoin="round"+ strokeWidth="2"+ d="M6 18L18 6M6 6l12 12"+ />+ </svg>+ </button>+ </div>++ <div+ ref={ref}+ className="flex justify-center items-center w-full h-screen"+ role="dialog"+ aria-modal="true"+ aria-labelledby="modal-headline"+ style={{+ maxHeight: '100vh',+ overflow: 'auto',+ }}+ >+ <div className="text-left rounded m-auto shadow-xl transform transition-all bg-gray-700 w-[28rem]">+ {children}+ </div>+ </div>+ </div>+ </div>+ </Transition>+ </div>+ )+}diff --git a/studio/components/to-be-cleaned/ModalsDeprecated/TextConfirmModal.js b/studio/components/to-be-cleaned/ModalsDeprecated/TextConfirmModal.jsnew file mode 100644index 00000000000..f6e5b6d5534--- /dev/null+++ b/studio/components/to-be-cleaned/ModalsDeprecated/TextConfirmModal.js@@ -0,0 +1,81 @@+import { useState, useEffect } from 'react'+import { Modal, Button, Typography, IconAlertCircle, Divider, Input } from '@supabase/ui'++export default function TextConfirmModal({+ title,+ onConfirm,+ visible,+ onCancel,+ loading,+ confirmLabel,+ confirmPlaceholder,+ confirmString,+ alert,+ text,+}) {+ const [confirmValue, setConfirmValue] = useState('')++ useEffect(() => {+ // reset confirm value+ if (!visible) {+ setConfirmValue('')+ }+ }, [visible])++ return (+ <Modal+ size="small"+ visible={visible}+ title={title}+ customFooter={+ <>+ <div className="space-x-2 w-full">+ <Button+ danger+ disabled={confirmValue != confirmString}+ size="medium"+ type={confirmValue != confirmString ? 'outline' : 'primary'}+ block+ loading={loading}+ onClick={() => onConfirm()}+ >+ {confirmLabel}+ </Button>+ </div>+ </>+ }+ onConfirm={onConfirm}+ onCancel={onCancel}+ closable+ >+ <div className="w-full">+ <div className="space-y-4">+ {alert && (+ <div className="block w-full bg-yellow-500 bg-opacity-5 p-3 border border-yellow-500 border-opacity-50 rounded">+ <div className="flex space-x-3">+ <div>+ <IconAlertCircle className="text-yellow-500" size="large" />+ </div>+ <Typography.Text type="warning">{alert}</Typography.Text>+ </div>+ </div>+ )}+ <Typography.Text className="block">+ <p className="mb-2 text-sm">{text}</p>+ </Typography.Text>+ <Divider light />+ <Typography.Text className="block">+ <p className="text-sm">+ Type <span className="dark:text-white font-medium">{confirmString}</span> to confirm.+ </p>+ </Typography.Text>+ <Input+ value={confirmValue}+ onChange={(e) => setConfirmValue(e.target.value)}+ placeholder={confirmPlaceholder}+ />+ </div>+ </div>+ </Modal>+ )+}diff --git a/studio/components/to-be-cleaned/MultiSelect.tsx b/studio/components/to-be-cleaned/MultiSelect.tsxnew file mode 100644index 00000000000..ac487c000c4--- /dev/null+++ b/studio/components/to-be-cleaned/MultiSelect.tsx@@ -0,0 +1,231 @@+/*+ * Move this to @supabase/ui+ *+ * can be merged into ListBox+ *+ */++import React, { useRef } from 'react'++import { Popover, IconX, IconCheck, Typography, IconAlertCircle } from '@supabase/ui'+import { useEffect, useState } from 'react'++import { orderBy, filter, without } from 'lodash'++interface Options {+ id: string+ value: string+ name: string+ disabled: boolean+}+interface Props {+ options: Options[]+ value: string[]+ onChange?(x: string[]): void+ label: string+ descriptionText: string | React.ReactNode+ emptyMessage: React.ReactNode+}++export default function MultiSelect({+ options,+ value,+ onChange = () => {},+ label,+ descriptionText,+ emptyMessage,+}: Props) {+ const ref = useRef(null)++ const [selectedd, setSelected] = useState(value || [])+ const [inputWidth, setInputWidth] = useState(128)++ /*+ * Selected is `value` if defined, otherwise use local useState+ */+ const selected = value || selectedd++ /*+ * Calculate width of the Popover+ */+ useEffect(() => {+ setInputWidth(ref.current ? (ref.current as any).offsetWidth : inputWidth)+ }, [])++ const width = `${inputWidth}px`++ /*+ * order the options so disabled items are at the beginning+ */+ options = orderBy(options, ['disabled'], ['desc'])++ /*+ * options to show in Popover menu+ */+ const optionsFiltered = filter(options, { disabled: false })++ function handleChange(value: any, active: any) {+ let _selected = selected+ if (active) {+ const payload = [...without(_selected, value)]+ setSelected(payload)+ onChange(payload)+ } else {+ _selected.push(value)+ const payload = [..._selected]+ setSelected(payload)+ onChange(payload)+ }+ }++ return (+ <>+ <div className="form-group">+ <label>{label}</label>++ <div+ className="form-control form-control--multi-select relative border rounded border-input-border-light dark:border-input-border-dark dark:border-dark space-x-1 overflow-auto"+ ref={ref}+ >+ {/* {options.map(x => {+ const active =+ selected &&+ selected.find(selected => {+ return selected === x.value+ })+ if (x.disabled) {+ return <span>{x.name}</span>+ } else if (active) {+ return <span>{x.name}</span>+ }+ })} */}+ <Popover+ sideOffset={4}+ side="bottom"+ align="start"+ overlay={+ <div className="space-y-1 p-1 overflow-auto">+ {optionsFiltered.length >= 1 ? (+ optionsFiltered.map((x) => {+ const active =+ selected &&+ selected.find((selected) => {+ return selected === x.value+ })+ ? true+ : false++ return (+ <div+ key={`multiselect-option-${x.value}`}+ onClick={() => handleChange(x.value, active)}+ className={`+ transition+ bg-transparent hover:bg-gray-600+ rounded p-2 px-4+ text-sm text-typography-body-light dark:text-typography-body-dark+ flex items-center justify-between space-x-1+ cursor-pointer ${active ? ' dark:bg-green-600 dark:bg-opacity-25' : ''}++ `}+ >+ <span>{x.name}</span>+ {active && (+ <IconCheck+ size={16}+ strokeWidth={3}+ className={`transition cursor-pointer ${+ active ? ' dark:text-green-500' : ''+ }`}+ />+ )}+ </div>+ )+ })+ ) : (+ <div+ className="+ h-full w-full p-3+ border border-dashed dark:border-dark+ flex flex-col items-center justify-center+ "+ >+ {emptyMessage ? (+ emptyMessage+ ) : (+ <>+ <Typography.Text className="mb-2">+ <IconAlertCircle />+ </Typography.Text>+ <Typography.Text>No options available</Typography.Text>+ </>+ )}+ </div>+ )}+ </div>+ }+ style={{+ width: width,+ }}+ >+ <div className="flex items-center space-x-1 w-full p-1.5">+ {options.map((x) => {+ const active =+ selected &&+ selected.find((selected) => {+ return selected === x.value+ })++ if (x.disabled) {+ return <BadgeDisabled key={x.id} name={x.name} />+ } else if (active) {+ return (+ <BadgeSelected+ key={x.id}+ name={x.name}+ id={x.name}+ value={x.value}+ handleRemove={() => handleChange(x.value, true)}+ />+ )+ }+ })}+ </div>+ </Popover>+ </div>++ <span className="form-text text-muted">{descriptionText}</span>+ </div>+ </>+ )+}++const BadgeDisabled = (props: any) => (+ <div+ className="+ bg-gray-600 cursor-not-allowed rounded py-0.5 px-2 text-sm text-typography-body-light dark:text-typography-body-dark+ flex items-center+ space-x-2"+ >+ <span className="opacity-50">{props.name}</span>+ </div>+)++const BadgeSelected = (props: any) => (+ <div+ className="+ bg-gray-500 rounded py-0.5 px-2 text-sm text-typography-body-light dark:text-typography-body-dark+ flex items-center+ space-x-2"+ >+ <span>{props.name}</span>+ <IconX+ size={12}+ className="transition cursor-pointer opacity-50 hover:opacity-100"+ onClick={(e: any) => {+ e.preventDefault()+ props.handleRemove()+ }}+ />+ </div>+)diff --git a/studio/components/to-be-cleaned/NoSearchResults.tsx b/studio/components/to-be-cleaned/NoSearchResults.tsxnew file mode 100644index 00000000000..1714344e15c--- /dev/null+++ b/studio/components/to-be-cleaned/NoSearchResults.tsx@@ -0,0 +1,20 @@+import SVG from 'react-inlinesvg'+import { Typography } from '@supabase/ui'++export const NoSearchResults = () => {+ return (+ <div className="flex flex-col items-center justify-center h-64">+ <SVG+ src="/img/no-search-results.svg"+ preProcessor={(code) =>+ code.replace(/svg/, 'svg className="mb-2 w-16 h-16 text-color-inherit"')+ }+ />+ <Typography.Text className="text-sm w-64 text-center opacity-50">+ Hmm, we couldn't find any results that matches your query. Try another?+ </Typography.Text>+ </div>+ )+}++export default NoSearchResultsdiff --git a/studio/components/to-be-cleaned/Panel.js b/studio/components/to-be-cleaned/Panel.jsnew file mode 100644index 00000000000..24da5ccbaa4--- /dev/null+++ b/studio/components/to-be-cleaned/Panel.js@@ -0,0 +1,54 @@+import { Loading } from '@supabase/ui'+import React from 'react'++function Panel(props) {+ let headerClasses = []++ if (!props.hideHeaderStyling) {+ headerClasses = [+ `+ bg-panel-header-light dark:bg-panel-header-dark+ border-b border-panel-border-interior-light dark:border-panel-border-interior-dark`,+ ]+ } else {+ headerClasses = [+ `+ bg-panel-body-light dark:bg-panel-body-dark`,+ ]+ }++ return (+ <Loading active={props.loading}>+ <div+ className={`+ border border-panel-border-light dark:border-panel-border-dark+ rounded mb-8 ${props.className}`}+ >+ {props.title && (+ <div className={headerClasses}>+ <div className="px-6 py-4 flex items-center">{props.title}</div>+ </div>+ )}+ <div className="bg-panel-body-light dark:bg-panel-body-dark">{props.children}</div>+ {props.footer && (+ <div+ className="+ bg-panel-footer-light dark:bg-panel-footer-dark+ border-t border-panel-border-interior-light dark:border-panel-border-interior-dark"+ >+ <div className="px-6 h-12 flex items-center">{props.footer}</div>+ </div>+ )}+ </div>+ </Loading>+ )+}++function Content(props) {+ let classes = ['px-6 py-4']+ if (props.className) classes.push(props.className)+ return <div className={classes.join(' ')}>{props.children}</div>+}++Panel.Content = Content+export default Paneldiff --git a/studio/components/to-be-cleaned/ProductEmptyState.tsx b/studio/components/to-be-cleaned/ProductEmptyState.tsxnew file mode 100644index 00000000000..24c9e17eea8--- /dev/null+++ b/studio/components/to-be-cleaned/ProductEmptyState.tsx@@ -0,0 +1,46 @@+import { Button, Typography } from '@supabase/ui'+import { FC, ReactNode } from 'react'++interface Props {+ title?: string+ children?: ReactNode+ ctaButtonLabel?: string+ infoButtonLabel?: string+ infoButtonUrl?: string+ onClickCta?: () => void+}++const ProductEmptyState: FC<Props> = ({+ title = '',+ children,+ ctaButtonLabel = '',+ infoButtonLabel = '',+ infoButtonUrl = '',+ onClickCta = () => {},+}) => (+ <div className="flex items-center justify-center w-full h-full">+ <div className="flex space-x-4 p-6 border rounded dark:border-dark bg-bg-secondary-light dark:bg-bg-secondary-dark shadow-md">+ {/* A graphic can probably be placed here as a sibling to the div below*/}+ <div className="flex flex-col">+ <div className="w-80 space-y-4">+ <Typography.Title level={5}>{title}</Typography.Title>+ <div className="flex flex-col space-y-2">{children}</div>+ <div className="flex items-center space-x-2">+ <Button type="primary" onClick={onClickCta}>+ {ctaButtonLabel}+ </Button>+ {infoButtonUrl && infoButtonLabel ? (+ <Button type="default">+ <a target="_blank" href={infoButtonUrl}>+ {infoButtonLabel}+ </a>+ </Button>+ ) : null}+ </div>+ </div>+ </div>+ </div>+ </div>+)++export default ProductEmptyStatediff --git a/studio/components/to-be-cleaned/Reports/EditReportModal.js b/studio/components/to-be-cleaned/Reports/EditReportModal.jsnew file mode 100644index 00000000000..28b74d4ca09--- /dev/null+++ b/studio/components/to-be-cleaned/Reports/EditReportModal.js@@ -0,0 +1,98 @@+import React, { useState, useEffect } from 'react'+import { useRouter } from 'next/router'+import { observer } from 'mobx-react-lite'+import { toJS } from 'mobx'++import { Input, Modal } from '@supabase/ui'++import { useProjectContentStore } from 'stores/projectContentStore'+import { toast } from 'react-hot-toast'++const EditModal = () => {+ const router = useRouter()+ const { id, ref } = router.query++ const [visible, setVisible] = useState(false)+ const [loading, setLoading] = useState(false)+ const [name, setName] = useState(null)+ const [description, setDescription] = useState(null)++ const contentStore = useProjectContentStore(ref)++ /*+ * fetchReport()+ *+ * Fetches the report and sets the Name and description+ *+ * toJS() is used to deepcopy mobx to js+ */+ const fetchReport = async () => {+ setLoading(true)+ await contentStore.load()+ let reportData = contentStore.byId(id)++ setName(toJS(reportData?.name))+ setDescription(toJS(reportData?.description))++ setLoading(false)+ return reportData+ }++ useEffect(() => {+ fetchReport()+ setVisible(false)+ }, [])++ async function handleSubmit() {+ try {+ setLoading(true)+ const { data, error } = await contentStore.update(id, {+ name,+ description,+ })+ if (error) throw error+ setLoading(false)+ await contentStore.load()+ setVisible(!visible)+ return data+ } catch (error) {+ console.error(error)+ toast.error(error.message)+ setLoading(false)+ }+ }++ return (+ <Modal+ title="Edit report"+ visible={visible}+ onCancel={() => setVisible(false)}+ size="medium"+ onConfirm={handleSubmit}+ loading={loading}+ >+ <div className="w-full space-y-4">+ <Input+ layout="horizontal"+ label="Name"+ descriptionText="Name cannot be longer than 128 char"+ value={name}+ onChange={(e) => setName(e.target.value)}+ >+ Name+ </Input>+ <Input+ layout="horizontal"+ label="Description"+ descriptionText="description cannot be longer than 256 char"+ value={description}+ onChange={(e) => setDescription(e.target.value)}+ >+ Description+ </Input>+ </div>+ </Modal>+ )+}++export default observer(EditModal)diff --git a/studio/components/to-be-cleaned/Reports/Reports.utils.ts b/studio/components/to-be-cleaned/Reports/Reports.utils.tsnew file mode 100644index 00000000000..2d373495ff3--- /dev/null+++ b/studio/components/to-be-cleaned/Reports/Reports.utils.ts@@ -0,0 +1,52 @@+import { useProjectContentStore } from 'stores/projectContentStore'+import { NEW_REPORT_SKELETON } from 'lib/constants'+import toast from 'react-hot-toast'++function handleErr(error: any) {+ console.error(error)+ toast.error(error.message)+}++/*+ * createReport()+ *+ * Creates a new report with a basic skeleton+ * also pushes route to new report+ *+ * returns :object+ */+export const createReport = async ({ router }: any) => {+ const { ref } = router.query+ try {+ const contentStore = useProjectContentStore(ref)+ const { data: newReport, error } = await contentStore.create(NEW_REPORT_SKELETON)+ if (error) throw error+ await contentStore.load()+ router.push(`/project/${ref}/reports/${newReport[0].id}`)+ } catch (err) {+ handleErr(err)+ }+}++/*+ * deleteReport()+ *+ * Deletes a new report with a basic skeleton+ * also pushes route another report in list+ *+ * returns :object+ */+export const deleteReport = async ({ router, id }: any) => {+ const { ref } = router.query+ const contentStore = useProjectContentStore(ref)+ try {+ const { data: delReport, error } = await contentStore.del(id)+ if (error) throw error+ await contentStore.load()+ // push route to report index+ router.push(`/project/${ref}/reports`)+ return delReport+ } catch (err) {+ handleErr(err)+ }+}diff --git a/studio/components/to-be-cleaned/SimpleCodeBlock.js b/studio/components/to-be-cleaned/SimpleCodeBlock.jsnew file mode 100644index 00000000000..4411e0d6e7f--- /dev/null+++ b/studio/components/to-be-cleaned/SimpleCodeBlock.js@@ -0,0 +1,106 @@+/**+ * Copyright (c) 2017-present, Facebook, Inc.+ *+ * This source code is licensed under the MIT license found in the+ * LICENSE file in the root directory of this source tree.+ */++import React, { useEffect, useState, useRef } from 'react'+import Highlight, { defaultProps } from 'prism-react-renderer'+import defaultTheme from 'prism-react-renderer/themes/palenight'+import Clipboard from 'clipboard'+import rangeParser from 'parse-numeric-range'+import { Button } from '@supabase/ui'++const highlightLinesRangeRegex = /{([\d,-]+)}/+const prism = {+ defaultLanguage: 'js',+ plugins: ['line-numbers', 'show-language'],+}++const SimpleCodeBlock = ({ children, className: languageClassName, metastring }) => {+ const [showCopied, setShowCopied] = useState(false)+ const target = useRef(null)+ const button = useRef(null)+ let highlightLines = []++ if (metastring && highlightLinesRangeRegex.test(metastring)) {+ const highlightLinesRange = metastring.match(highlightLinesRangeRegex)[1]+ highlightLines = rangeParser(highlightLinesRange).filter((n) => n > 0)+ }++ useEffect(() => {+ if (!showCopied) return+ const timer = setTimeout(() => setShowCopied(false), 2000)+ return () => clearTimeout(timer)+ }, [showCopied])++ useEffect(() => {+ let clipboard++ if (button?.current?.button) {+ clipboard = new Clipboard(button.current.button, {+ target: () => target.current,+ })+ }++ return () => {+ if (clipboard) {+ clipboard.destroy()+ }+ }+ }, [button.current, target.current])++ let language = languageClassName && languageClassName.replace(/language-/, '')++ if (!language && prism.defaultLanguage) {+ language = prism.defaultLanguage+ }++ const handleCopyCode = (code) => {+ navigator.clipboard.writeText(code).then(() => setShowCopied(true))+ }++ return (+ <Highlight+ className=""+ {...defaultProps}+ theme={prism.theme || defaultTheme}+ code={children.trim()}+ language={language}+ >+ {({ className, style, tokens, getLineProps, getTokenProps }) => {+ return (+ <div className="Code codeBlockWrapper">+ <pre ref={target} className={`codeBlock ${className}`}>+ {tokens.map((line, i) => {+ const lineProps = getLineProps({ line, key: i })++ if (highlightLines.includes(i + 1)) {+ lineProps.className = `${lineProps.className} docusaurus-highlight-code-line`+ }++ return (+ <div key={i} {...lineProps}>+ {line.map((token, key) => (+ <span key={key} {...getTokenProps({ token, key })} />+ ))}+ </div>+ )+ })}+ </pre>+ <Button+ type="secondary"+ onClick={() => handleCopyCode(children)}+ style={{ padding: '2px 5px' }}+ >+ {showCopied ? 'Copied' : 'Copy'}+ </Button>+ </div>+ )+ }}+ </Highlight>+ )+}++export default SimpleCodeBlockdiff --git a/studio/components/to-be-cleaned/SqlEditor.js b/studio/components/to-be-cleaned/SqlEditor.jsnew file mode 100644index 00000000000..836c4fd7413--- /dev/null+++ b/studio/components/to-be-cleaned/SqlEditor.js@@ -0,0 +1,116 @@+import Editor, { useMonaco } from '@monaco-editor/react'+import { useEffect, useRef } from 'react'+import { Typography } from '@supabase/ui'+import { useStore } from 'hooks'++const SqlEditor = ({+ queryId,+ language = 'pgsql',+ defaultValue = '',+ readOnly = false,+ contextmenu = true,+ onInputChange = () => {},+}) => {+ const monaco = useMonaco()+ const { meta } = useStore()+ const editorRef = useRef()++ useEffect(() => {+ if (monaco) {+ // Supabase theming (Can't seem to get it to work for now)+ monaco.editor.defineTheme('supabase', {+ base: 'vs-dark',+ inherit: true,+ rules: [+ { token: '', background: '4a5568' },+ { token: 'string.sql', foreground: '24b47e' },+ { token: 'comment', foreground: '666666' },+ { token: 'predefined.sql', foreground: 'D4D4D4' },+ ],+ })++ // Enable pgsql format+ const formatprovider = monaco.languages.registerDocumentFormattingEditProvider('pgsql', {+ async provideDocumentFormattingEdits(model) {+ const value = model.getValue()+ const formatted = await formatPgsql(value)+ return [+ {+ range: model.getFullModelRange(),+ text: formatted,+ },+ ]+ },+ })++ return () => {+ formatprovider.dispose()+ }+ }+ }, [monaco])++ useEffect(() => {+ if (editorRef.current) {+ // add margin above first line+ editorRef.current?.changeViewZones((accessor) => {+ accessor.addZone({+ afterLineNumber: 0,+ heightInPx: 4,+ domNode: document.createElement('div'),+ })+ })+ }+ }, [queryId])++ async function formatPgsql(value) {+ try {+ const formatted = await meta.formatQuery(value)+ if (formatted.error) throw formatted.error+ return formatted+ } catch (error) {+ console.error('formatPgsql error:', error)+ return value+ }+ }++ const onMount = (editor, monaco) => {+ editorRef.current = editor++ // Add margin above first line+ editor.changeViewZones((accessor) => {+ accessor.addZone({+ afterLineNumber: 0,+ heightInPx: 4,+ domNode: document.createElement('div'),+ })+ })+ }++ const Loading = () => <Typography.Title level={4}>Loading</Typography.Title>++ return (+ <Editor+ className="monaco-editor"+ theme="vs-dark"+ defaultLanguage={language}+ defaultValue={defaultValue}+ path={queryId}+ loading={<Loading />}+ options={{+ readOnly,+ tabSize: 2,+ fontSize: 13,+ minimap: {+ enabled: false,+ },+ wordWrap: 'on',+ fixedOverflowWidgets: true,+ contextmenu: contextmenu,+ }}+ onMount={onMount}+ onChange={onInputChange}+ />+ )+}++export default SqlEditordiff --git a/studio/components/to-be-cleaned/SqlEditor/BackwardIterator.js b/studio/components/to-be-cleaned/SqlEditor/BackwardIterator.jsnew file mode 100644index 00000000000..12c5237ccba--- /dev/null+++ b/studio/components/to-be-cleaned/SqlEditor/BackwardIterator.js@@ -0,0 +1,212 @@+// Porting from+// https://github.com/Borvik/vscode-postgres/blob/master/src/common/backwordIterator.ts++const _NL = '\n'.charCodeAt(0)+const _TAB = '\t'.charCodeAt(0)+const _WSB = ' '.charCodeAt(0)+const _LBracket = '['.charCodeAt(0)+const _RBracket = ']'.charCodeAt(0)+const _LCurly = '{'.charCodeAt(0)+const _RCurly = '}'.charCodeAt(0)+const _LParent = '('.charCodeAt(0)+const _RParent = ')'.charCodeAt(0)+const _Comma = ','.charCodeAt(0)+const _Period = '.'.charCodeAt(0)+const _Quote = "'".charCodeAt(0)+const _DQuote = '"'.charCodeAt(0)+const _USC = '_'.charCodeAt(0)+// _a will give undefined... so rename to _aCode+const _aCode = 'a'.charCodeAt(0)+const _z = 'z'.charCodeAt(0)+const _A = 'A'.charCodeAt(0)+const _Z = 'Z'.charCodeAt(0)+const _0 = '0'.charCodeAt(0)+const _9 = '9'.charCodeAt(0)++const BOF = 0++class BackwardIterator {+ _line+ _text+ _lines++ model+ offset+ lineNumber++ constructor(model, offset, lineNumber) {+ this.model = model+ this.offset = offset+ this.lineNumber = lineNumber++ this._text = model.getValue()+ this._lines = this._text.split(/\r?\n/g)+ this._line = this._lines[lineNumber]+ }++ hasNext() {+ return this.lineNumber >= 0 || this.offset >= 0+ }++ isFowardDQuote() {+ if (!this.hasForward()) return false+ return this.peekForward() === _DQuote+ }++ isNextDQuote() {+ if (!this.hasNext()) return false+ return this.peekNext() === _DQuote+ }++ isNextPeriod() {+ if (!this.hasNext()) return false+ return this.peekNext() === _Period+ }++ peekNext() {+ if (this.offset < 0) {+ if (this.lineNumber > 0) {+ return _NL+ }+ return BOF+ }+ return this._line.charCodeAt(this.offset)+ }++ hasForward() {+ return this.lineNumber < this._lines.length || this.offset < this._line.length+ }++ peekForward() {+ if (this.offset === this._line.length) {+ if (this.lineNumber === this._lines.length) return BOF+ return _NL+ }+ return this._line.charCodeAt(this.offset + 1)+ }++ next() {+ if (this.offset < 0) {+ if (this.lineNumber > 0) {+ this.lineNumber--+ this._line = this._lines[this.lineNumber]+ this.offset = this._line.length - 1+ return _NL+ }+ this.lineNumber = -1+ return BOF+ }+ let ch = this._line.charCodeAt(this.offset)+ this.offset--+ return ch+ }++ readArguments() {+ let parentNesting = 0+ let bracketNesting = 0+ let curlyNesting = 0+ let paramCount = 0+ while (this.hasNext()) {+ let ch = this.next()+ switch (ch) {+ case _LParent:+ parentNesting--+ if (parentNesting < 0) {+ return paramCount+ }+ break+ case _RParent:+ parentNesting+++ break+ case _LCurly:+ curlyNesting--+ break+ case _RCurly:+ curlyNesting+++ break+ case _LBracket:+ bracketNesting--+ break+ case _RBracket:+ bracketNesting+++ break+ case _DQuote:+ case _Quote:+ while (this.hasNext() && ch !== this.next()) {+ // find the closing quote or double quote+ }+ break+ case _Comma:+ if (!parentNesting && !bracketNesting && !curlyNesting) {+ paramCount+++ }+ break+ }+ }+ return -1+ }++ readIdent() {+ let identStarted = false+ let isQuotedIdentifier = false+ let ident = ''++ while (this.hasNext()) {+ // Peek first and check if is part of identifier+ let ch = this.peekNext()+ if (identStarted && !isQuotedIdentifier && !this._isIdentPart(ch)) break++ ch = this.next()++ if (!identStarted && isQuotedIdentifier && ch === _DQuote) {+ identStarted = true+ continue+ }+ if (!identStarted && (ch === _WSB || ch === _TAB || ch == _NL)) continue++ if (!identStarted && (ch === _DQuote || this._isIdentPart(ch))) {+ identStarted = true+ isQuotedIdentifier = ch === _DQuote+ ident = String.fromCharCode(ch) + ident+ } else if (identStarted) {+ if (isQuotedIdentifier) {+ if (ch === BOF) break+ ident = String.fromCharCode(ch) + ident+ if (ch === _DQuote) break+ } else {+ ident = String.fromCharCode(ch) + ident+ }+ }+ }+ return ident+ }++ readIdents(maxlvl) {+ let idents = []+ while (maxlvl > 0) {+ maxlvl--+ let ident = this.readIdent()+ if (!ident) {+ break+ }++ idents.push(ident)++ if (!this.isNextPeriod()) {+ break+ }+ }+ return idents.reverse()+ }++ _isIdentPart(ch) {+ return (+ ch === _USC || // _+ (ch >= _aCode && ch <= _z) || // a-z+ (ch >= _A && ch <= _Z) || // A-Z+ (ch >= _0 && ch <= _9)+ ) // 0-9+ }+}++export default BackwardIteratordiff --git a/studio/components/to-be-cleaned/SqlEditor/PgsqlCompletionProvider.js b/studio/components/to-be-cleaned/SqlEditor/PgsqlCompletionProvider.jsnew file mode 100644index 00000000000..acf4f71d048--- /dev/null+++ b/studio/components/to-be-cleaned/SqlEditor/PgsqlCompletionProvider.js@@ -0,0 +1,225 @@+import BackwardIterator from './BackwardIterator'++export default function getPgsqlCompletionProvider(monaco, sqlEditorStore) {+ return {+ triggerCharacters: [' ', '.', '"'],+ provideCompletionItems: function (model, position, context) {+ try {+ // position.column should minus 2 as it returns 2 for first char+ // position.lineNumber should minus 1+ let iterator = new BackwardIterator(model, position.column - 2, position.lineNumber - 1)++ if (context.triggerCharacter === '"') {+ return startingQuoteScenarioSuggestions(monaco, sqlEditorStore, iterator)+ } else if (context.triggerCharacter === '.') {+ return dotScenarioSuggestions(monaco, sqlEditorStore, iterator)+ } else {+ return defaultScenarioSuggestions(monaco, sqlEditorStore)+ }+ } catch (_) {+ // any error, returns empty suggestion+ return { suggestions: [] }+ }+ },+ }+}++function startingQuoteScenarioSuggestions(monaco, sqlEditorStore, iterator) {+ const items = []++ let startingQuotedIdent = iterator.isFowardDQuote()+ if (!startingQuotedIdent) return { suggestions: items }++ iterator.next() // get passed the starting quote+ if (iterator.isNextPeriod()) {+ // probably a field - get the ident+ let ident = iterator.readIdent()+ let isQuotedIdent = false+ if (ident.match(/^\".*?\"$/)) {+ isQuotedIdent = true+ ident = fixQuotedIdent(ident)+ }+ let table = sqlEditorStore.tableCache.find((tbl) => {+ return (+ (isQuotedIdent && tbl.tablename === ident) ||+ (!isQuotedIdent && tbl.tablename.toLocaleLowerCase() == ident.toLocaleLowerCase())+ )+ })++ if (!table) return { suggestions: items }+ table.columns.forEach((field) => {+ items.push({+ label: field.attname,+ kind: monaco.languages.CompletionItemKind.Property,+ detail: field.data_type,+ insertText: field.attname,+ })+ })+ } else {+ // probably a table - list the tables+ sqlEditorStore.tableCache.forEach((table) => {+ items.push({+ label: table.tablename,+ kind: monaco.languages.CompletionItemKind.Class,+ insertText: table.tablename,+ })+ })+ }++ return { suggestions: items }+}++function dotScenarioSuggestions(monaco, sqlEditorStore, iterator) {+ const items = []++ let idents = readIdents(iterator, 3)+ let pos = 0++ let schema = sqlEditorStore.schemaCache.find((sch) => {+ const _ident = idents && idents.length > pos ? idents[pos] : {}+ return (+ (_ident.isQuoted && sch.name === _ident.name) ||+ (!_ident.isQuoted && sch.name?.toLocaleLowerCase() == _ident.name?.toLocaleLowerCase())+ )+ })++ if (!schema) {+ schema = sqlEditorStore.schemaCache.find((sch) => {+ return sch.name == 'public'+ })+ } else {+ pos+++ }++ if (idents.length == pos) {+ sqlEditorStore.tableCache.forEach((tbl) => {+ if (tbl.schemaname != schema.name) {+ return+ }+ items.push({+ label: tbl.tablename,+ kind: monaco.languages.CompletionItemKind.Class,+ detail: tbl.schemaname !== 'public' ? tbl.schemaname : null,+ insertText: formatInsertText(tbl.tablename),+ })+ })+ return { suggestions: items }+ }++ let table = sqlEditorStore.tableCache.find((tbl) => {+ const _ident = idents && idents.length > pos ? idents[pos] : {}+ return (+ (tbl.schemaname == schema.name && _ident.isQuoted && tbl.tablename === _ident.name) ||+ (!_ident.isQuoted && tbl.tablename?.toLocaleLowerCase() == _ident.name?.toLocaleLowerCase())+ )+ })++ if (table) {+ table.columns.forEach((field) => {+ items.push({+ label: field.attname,+ kind: monaco.languages.CompletionItemKind.Property,+ detail: field.data_type,+ insertText: formatInsertText(field.attname),+ })+ })+ }++ return { suggestions: items }+}++function defaultScenarioSuggestions(monaco, sqlEditorStore) {+ const items = []++ if (sqlEditorStore.keywordCache?.length > 0) {+ sqlEditorStore.keywordCache.forEach((x) => {+ items.push({+ label: x,+ kind: monaco.languages.CompletionItemKind.Keyword,+ insertText: x,+ })+ })+ }++ if (sqlEditorStore.schemaCache?.length > 0) {+ sqlEditorStore.schemaCache.forEach((x) => {+ items.push({+ label: x.name,+ kind: monaco.languages.CompletionItemKind.Keyword,+ insertText: x.name,+ })+ })+ }++ if (sqlEditorStore.tableCache?.length > 0) {+ sqlEditorStore.tableCache.forEach((x) => {+ const insertText = x.schemaname == 'public' ? x.tablename : x.schemaname + '.' + x.tablename+ items.push({+ label: x.tablename,+ detail: x.schemaname !== 'public' ? x.schemaname : null,+ kind: x.is_table+ ? monaco.languages.CompletionItemKind.Class+ : monaco.languages.CompletionItemKind.Interface,+ insertText: formatInsertText(insertText),+ })+ x.columns.forEach((field) => {+ if (!field) return++ let foundItem = items.find(+ (i) =>+ i.label === field?.attname &&+ i.kind === monaco.languages.CompletionItemKind.Field &&+ i.detail === field?.data_type+ )+ if (foundItem) {+ foundItem.tables.push(x.tablename)+ foundItem.tables.sort()+ foundItem.documentation = foundItem.tables.join(', ')+ } else {+ items.push({+ label: field.attname,+ kind: monaco.languages.CompletionItemKind.Field,+ detail: field.data_type,+ documentation: x.tablename,+ tables: [x.tablename],+ insertText: formatInsertText(field.attname),+ })+ }+ })+ })+ }++ if (sqlEditorStore.functionCache?.length > 0) {+ sqlEditorStore.functionCache.forEach((x) => {+ items.push({+ label: x.name,+ kind: monaco.languages.CompletionItemKind.Function,+ detail: x.result_type,+ documentation: x.description,+ insertText: x.name,+ })+ })+ }++ return { suggestions: items }+}++function fixQuotedIdent(str) {+ return str.replace(/^\"/, '').replace(/\"$/, '').replace(/\"\"/, '"')+}++function readIdents(iterator, maxlvl) {+ return iterator.readIdents(maxlvl).map((name) => {+ let isQuoted = false+ if (name.match(/^\".*?\"$/)) {+ isQuoted = true+ name = fixQuotedIdent(name)+ }+ return { isQuoted: isQuoted, name: name }+ })+}++function formatInsertText(value) {+ const hasUpperCase = !(value == value.toLowerCase())+ return hasUpperCase ? `"${value}"` : value+}diff --git a/studio/components/to-be-cleaned/SqlEditor/PgsqlSignatureHelpProvider.js b/studio/components/to-be-cleaned/SqlEditor/PgsqlSignatureHelpProvider.jsnew file mode 100644index 00000000000..7058c71118e--- /dev/null+++ b/studio/components/to-be-cleaned/SqlEditor/PgsqlSignatureHelpProvider.js@@ -0,0 +1,37 @@+import BackwardIterator from './BackwardIterator'++export default function getPgsqlSignatureHelpProvider(monaco, sqlEditorStore) {+ return {+ signatureHelpTriggerCharacters: ['(', ','],+ provideSignatureHelp: function (model, position) {+ // position.column should minus 2 as it returns 2 for first char+ // position.lineNumber should minus 1+ const iterator = new BackwardIterator(model, position.column - 2, position.lineNumber - 1)++ let paramCount = iterator.readArguments()+ if (paramCount < 0) return null++ let ident = iterator.readIdent()+ if (!ident || ident.match(/^\".*?\"$/)) return null++ let fn = sqlEditorStore.functionCache.find(+ (f) => f.name.toLocaleLowerCase() === ident.toLocaleLowerCase()+ )+ if (!fn) return null+ if (!fn.args || fn.args.length < paramCount) return null++ const activeSignature = 0+ const activeParameter = Math.min(paramCount, fn.args.length - 1)+ const signatures = []+ signatures.push({+ label: `${fn.name}( ${fn.args.join(' , ')} )`,+ documentation: fn.description,+ parameters: fn.args.map((v) => {+ return { label: v }+ }),+ })++ return { value: { signatures, activeSignature, activeParameter }, dispose: () => {} }+ },+ }+}diff --git a/studio/components/to-be-cleaned/SqlEditor/RenameQuery.js b/studio/components/to-be-cleaned/SqlEditor/RenameQuery.jsnew file mode 100644index 00000000000..04a007f7d45--- /dev/null+++ b/studio/components/to-be-cleaned/SqlEditor/RenameQuery.js@@ -0,0 +1,78 @@+import React from 'react'+import { observer } from 'mobx-react-lite'+import { useRouter } from 'next/router'+import { AutoField } from 'uniforms-bootstrap4'+import SchemaFormPanel from 'components/to-be-cleaned/forms/SchemaFormPanel'++import { useSqlStore } from 'localStores/sqlEditor/SqlEditorStore'+import { useProjectContentStore } from 'stores/projectContentStore'+import toast from 'react-hot-toast'++const RenameQuery = observer(({ tabId, onComplete }) => {+ const router = useRouter()+ const { ref } = router.query++ const contentStore = useProjectContentStore(ref)+ const sqlEditorStore = useSqlStore()+ const model = prepareModel()++ function prepareModel() {+ const tabInfo = sqlEditorStore.tabs.find((x) => x.id == tabId)+ if (tabInfo) return tabInfo.renameModel+ const favInfo = sqlEditorStore.favorites.find((x) => x.key == tabId)+ if (favInfo) return favInfo.renameModel+ }++ async function onRename(model) {+ try {+ /*+ * old localStorage save+ */+ sqlEditorStore.renameQuery(tabId, model)+ /*+ * new main db save+ */+ await contentStore.update(tabId, {+ name: model.name,+ description: model.desc,+ })+ await contentStore.load()+ if (onComplete) onComplete()+ return Promise.resolve()+ } catch (error) {+ toast.error(error.message)+ console.error(error)+ }+ }++ function onCancel() {+ if (onComplete) onComplete()+ }++ return (+ <SchemaFormPanel+ title="Rename"+ schema={{+ properties: {+ name: { title: 'Name', type: 'string' },+ desc: { title: 'Description', type: 'string' },+ },+ required: ['name'],+ type: 'object',+ }}+ model={model}+ onSubmit={onRename}+ onReset={onCancel}+ >+ <AutoField+ name="name"+ inputRef={(x) => x?.focus()}+ showInlineError+ errorMessage="Please enter a query name"+ />+ <AutoField name="desc" placeholder="Describe query" />+ </SchemaFormPanel>+ )+})++export default RenameQuerydiff --git a/studio/components/to-be-cleaned/SqlEditor/SqlEditor.constants.ts b/studio/components/to-be-cleaned/SqlEditor/SqlEditor.constants.tsnew file mode 100644index 00000000000..6bfa26446d5--- /dev/null+++ b/studio/components/to-be-cleaned/SqlEditor/SqlEditor.constants.ts@@ -0,0 +1,16 @@+import { UserContent } from 'types'++export const SQL_SNIPPET_SCHEMA_VERSION = '1.0'++export const NEW_SQL_SNIPPET_SKELETON: UserContent = {+ name: 'New Query',+ description: '',+ type: 'sql',+ visibility: 'user', // default to user scope+ content: {+ schema_version: SQL_SNIPPET_SCHEMA_VERSION,+ content_id: '',+ sql: 'this is a test',+ favorite: false,+ },+}diff --git a/studio/components/to-be-cleaned/SqlEditor/SqlEditor.utils.ts b/studio/components/to-be-cleaned/SqlEditor/SqlEditor.utils.tsnew file mode 100644index 00000000000..8c8af6f4e53--- /dev/null+++ b/studio/components/to-be-cleaned/SqlEditor/SqlEditor.utils.ts@@ -0,0 +1,68 @@+import toast from 'react-hot-toast'+import { UserContent } from 'types'+import { useProjectContentStore } from 'stores/projectContentStore'+import { NEW_SQL_SNIPPET_SKELETON } from './SqlEditor.constants'++/*+ * createSqlSnippet()+ *+ * Creates a new SQL snippet with a basic skeleton+ *+ */+export const createSqlSnippet = async ({+ router,+ sql,+ name,+}: {+ router: any+ sql: any+ name: any+}) => {+ const { ref } = router.query+ try {+ const contentStore = useProjectContentStore(ref)+ const skeleton: UserContent = {+ ...NEW_SQL_SNIPPET_SKELETON,+ ...(name && { name }),+ content: {+ ...NEW_SQL_SNIPPET_SKELETON.content,+ content_id: '',+ sql: sql,+ },+ }++ const { data: sqlSnippet, error } = await contentStore.create(skeleton)+ if (error) throw error++ // reload store data+ await contentStore.load()+ return sqlSnippet[0]+ } catch (error: any) {+ console.error(error)+ toast.error(error.message)+ }+}++/*+ * deleteSqlSnippet()+ *+ * Deletes a SQL snippet+ *+ */+export const deleteSqlSnippet = async ({ router, id }: { router: any; id: any }) => {+ const { ref } = router.query+ try {+ const contentStore = useProjectContentStore(ref)++ const { data: delReport, error } = await contentStore.del(id)+ if (error) throw error++ // reload store data+ await contentStore.load()++ return delReport+ } catch (error: any) {+ console.error(error)+ toast.error(error.message)+ }+}diff --git a/studio/components/to-be-cleaned/SqlEditor/TabSqlQuery.js b/studio/components/to-be-cleaned/SqlEditor/TabSqlQuery.jsnew file mode 100644index 00000000000..4b8ec67ef33--- /dev/null+++ b/studio/components/to-be-cleaned/SqlEditor/TabSqlQuery.js@@ -0,0 +1,587 @@+import React, { useEffect, useRef, useState } from 'react'+import { observer } from 'mobx-react-lite'+import { useRouter } from 'next/router'+import DataGrid from '@supabase/react-data-grid'+import Split from 'react-split'+import { CSVLink } from 'react-csv'+import {+ Button,+ IconHeart,+ IconChevronDown,+ IconChevronUp,+ Typography,+ Dropdown,+} from '@supabase/ui'+import Editor from '@monaco-editor/react'++import { timeout } from 'lib/helpers'+import { IS_PLATFORM } from 'lib/constants'+import { useSqlStore, UTILITY_TAB_TYPES } from 'localStores/sqlEditor/SqlEditorStore'+import { useProjectContentStore } from 'stores/projectContentStore'+import toast from 'react-hot-toast'++import { SQL_SNIPPET_SCHEMA_VERSION } from './SqlEditor.constants'++import Telemetry from 'lib/telemetry'+import { useProfile, useStore } from 'hooks'+import { debounce } from 'lodash'+import { useWindowDimensions, useKeyboardShortcuts } from 'hooks'++const TabSqlQuery = observer(() => {+ const sqlEditorStore = useSqlStore()+ const { height: screenHeight } = useWindowDimensions()+ const snapOffset = 50+ const minSize = 44+ const tabMenuHeight = 44+ const offset = 3++ useEffect(() => {+ // minus fixed tabMenu height+ const utilityPanelHeight =+ (parseFloat(screenHeight - tabMenuHeight) * sqlEditorStore.activeTab.splitSizes[1]) / 100+ if (utilityPanelHeight - snapOffset < minSize) {+ sqlEditorStore.activeTab.resizeUtilityTab(0)+ } else {+ sqlEditorStore.activeTab.resizeUtilityTab(utilityPanelHeight - minSize - offset)+ }+ }, [screenHeight, sqlEditorStore.activeTab.splitSizes])++ function onDragEnd(sizes) {+ sqlEditorStore.activeTab.setSplitSizes(sizes)+ }++ return (+ <div className="flex flex-col h-full">+ <Split+ style={{ height: '100%' }}+ direction="vertical"+ gutterSize={2}+ sizes={sqlEditorStore.activeTab.splitSizes || []}+ minSize={minSize}+ snapOffset={snapOffset}+ expandToMin={true}+ collapsed={sqlEditorStore.activeTab.utilityTabHeight == 0 ? 1 : undefined}+ onDragEnd={onDragEnd}+ >+ <MonacoEditor error={sqlEditorStore.activeTab.sqlQueryError} />+ <div>+ <UtilityPanel />+ </div>+ </Split>+ </div>+ )+})+export default TabSqlQuery++const MonacoEditor = ({ error }) => {+ const router = useRouter()+ const { ref } = router.query++ const contentStore = useProjectContentStore(ref)++ const sqlEditorStore = useSqlStore()+ const editorRef = useRef(null)+ const monacoRef = useRef(null)++ useEffect(() => {+ if (!editorRef.current || !monacoRef.current) return++ if (!error) {+ const model = editorRef.current.getModel()+ monacoRef.current.editor.setModelMarkers(model, 'owner', [])+ } else if (error?.cursorPosition) {+ const model = editorRef.current.getModel()+ const position = model.getPositionAt(error.cursorPosition)+ monacoRef.current.editor.setModelMarkers(model, 'owner', [+ {+ startLineNumber: position.lineNumber,+ endLineNumber: 1,+ startColumn: position.column,+ endColumn: 0,+ message: error.message || 'syntax error',+ severity: monacoRef.current.MarkerSeverity.Error,+ },+ ])+ }+ }, [error])++ useEffect(() => {+ if (editorRef.current) {+ // add margin above first line+ editorRef.current?.changeViewZones((accessor) => {+ accessor.addZone({+ afterLineNumber: 0,+ heightInPx: 4,+ domNode: document.createElement('div'),+ })+ })+ }+ }, [sqlEditorStore.activeTab.id])++ async function handleEditorOnMount(editor, monaco) {+ editorRef.current = editor+ monacoRef.current = monaco++ editor.addAction({+ id: 'supabase',+ label: 'Run Query',+ keybindings: [monaco.KeyMod.CtrlCmd + monaco.KeyCode.Enter],+ contextMenuGroupId: 'operation',+ contextMenuOrder: 0,+ run: async () => {+ if (sqlEditorStore.isExecuting) return++ const selectedValue = (editorRef?.current)+ .getModel()+ .getValueInRange(editorRef?.current?.getSelection())++ await sqlEditorStore.startExecuting(selectedValue)++ // onInputRun(selectedValue || (editorRef?.current as any)?.getValue())+ },+ })++ // add margin above first line+ editor.changeViewZones((accessor) => {+ accessor.addZone({+ afterLineNumber: 0,+ heightInPx: 4,+ domNode: document.createElement('div'),+ })+ })++ // when editor did mount, it will need a delay before focus() works properly+ await timeout(500)+ editor?.focus()+ }++ async function handleEditorChange(value) {+ // update sqlEditorStore with new value immediately+ // this is so any SQL run will be whatever is currently in monaco editor+ sqlEditorStore.activeTab.setQuery(value)++ // debounce changes+ debounceUpdateSqlSnippet(value)+ }++ // changes are stored in debouncer before running persistData()+ let debounceUpdateSqlSnippet = debounce((value) => updateSqlSnippet(value), 1500)++ async function updateSqlSnippet(value) {+ //+ // this will need to be refactored but for now+ // we still use the old sqlEditorStore to handle db updates+ if (sqlEditorStore.activeTab) {+ await contentStore.updateSql(sqlEditorStore.activeTab.id, {+ content: {+ schema_version: SQL_SNIPPET_SCHEMA_VERSION,+ content_id: sqlEditorStore.activeTab.id,+ sql: value,+ favorite: sqlEditorStore.activeTab.favorite,+ },+ })+ } else {+ console.warn('No active tab found while updating SQL snippet')+ }+ }++ return (+ <div className="flex-grow overflow-y-auto border-b dark:border-dark">+ <Editor+ className="monaco-editor"+ theme={'supabase'}+ onMount={handleEditorOnMount}+ onChange={handleEditorChange}+ defaultLanguage="pgsql"+ defaultValue={sqlEditorStore.activeTab.query}+ path={sqlEditorStore.activeTab.id}+ options={{+ tabSize: 2,+ fontSize: 13,+ minimap: {+ enabled: false,+ },+ wordWrap: 'on',+ fixedOverflowWidgets: true,+ }}+ />+ </div>+ )+}++const UtilityPanel = observer(() => {+ const sqlEditorStore = useSqlStore()++ return (+ <>+ <div className="flex justify-between overflow-visible px-6 py-2">+ <ResultsDropdown />+ <div className="inline-flex justify-end">+ <UtilityActions />+ </div>+ </div>+ <div className="p-0 pt-0 pb-0">+ {sqlEditorStore.activeTab.activeUtilityTab == UTILITY_TAB_TYPES.RESULTS && (+ <UtilityTabResults />+ )}+ </div>+ </>+ )+})++const ResultsDropdown = observer(() => {+ const { ui } = useStore()+ const sqlEditorStore = useSqlStore()+ const csvRef = useRef(null)++ function onDownloadCSV() {+ csvRef.current?.link.click()+ Telemetry.sendEvent('sql_editor', 'sql_download_csv', '')+ }++ function onCopyAsMarkdown() {+ if (navigator) {+ navigator.clipboard.writeText(sqlEditorStore.activeTab.markdownData)+ }+ ui.setNotification({ category: 'success', message: 'Copied results to clipboard' })+ Telemetry.sendEvent('sql_editor', 'sql_copy_as_markdown', '')+ }++ return (+ <Dropdown+ side="bottom"+ align="start"+ overlay={+ <>+ <Dropdown.Item onClick={onDownloadCSV}>Download CSV</Dropdown.Item>+ <Dropdown.Item onClick={onCopyAsMarkdown}>Copy as markdown</Dropdown.Item>+ </>+ }+ >+ <Button as="span" type="text" iconRight={<IconChevronDown />}>+ Results+ </Button>+ <CSVLink+ ref={csvRef}+ className="hidden"+ data={sqlEditorStore.activeTab?.csvData || ''}+ filename={`supabase_${sqlEditorStore.projectRef}_${sqlEditorStore.activeTab.name}`}+ />+ </Dropdown>+ )+})++const UtilityActions = observer(() => {+ const sqlEditorStore = useSqlStore()++ useKeyboardShortcuts(+ {+ 'Command+Enter': (event) => {+ event.preventDefault()+ executeQuery()+ },+ },+ ['INPUT']+ )++ async function executeQuery() {+ if (sqlEditorStore.isExecuting) return+ await sqlEditorStore.startExecuting()+ }++ return (+ <>+ {IS_PLATFORM && <FavoriteButton />}+ <SizeToggleButton />+ <Button+ onClick={executeQuery}+ disabled={sqlEditorStore.isExecuting}+ loading={sqlEditorStore.isExecuting}+ type="text"+ size="tiny"+ shadow={false}+ className="mx-2"+ >+ RUN+ </Button>+ </>+ )+})++const SizeToggleButton = observer(() => {+ const sqlEditorStore = useSqlStore()++ function maximizeEditor() {+ sqlEditorStore.activeTab.collapseUtilityTab()+ }++ function restorePanelSize() {+ sqlEditorStore.activeTab.restorePanelSize()+ }++ return (+ <>+ {sqlEditorStore.activeTab.utilityTabHeight != 0 && (+ <Button+ type="text"+ size="tiny"+ shadow={false}+ onClick={maximizeEditor}+ icon={<IconChevronDown className="text-gray-400" size="tiny" strokeWidth={2} />}+ tooltip={{+ title: 'Maximize editor',+ position: 'top',+ }}+ />+ )}+ {sqlEditorStore.activeTab.utilityTabHeight == 0 && (+ <Button+ type="text"+ size="tiny"+ shadow={false}+ onClick={restorePanelSize}+ icon={<IconChevronUp className="text-gray-400" size="tiny" strokeWidth={2} />}+ tooltip={{+ title: 'Restore panel size',+ position: 'top',+ }}+ />+ )}+ </>+ )+})++const FavoriteButton = observer(() => {+ const router = useRouter()+ const { ref } = router.query++ const { profile: user } = useProfile()+ const [loading, setLoading] = useState(false)++ const sqlEditorStore = useSqlStore()+ const contentStore = useProjectContentStore(ref)++ const id = sqlEditorStore.activeTab.id++ /*+ * `content` column json structure+ */+ let contentPayload = {+ schema_version: '1.0',+ content_id: id,+ sql: sqlEditorStore.activeTab.query,+ }++ async function addToFavorite() {+ try {+ setLoading(true)+ /*+ * remote db handling+ */+ await contentStore.updateSql(id, {+ content: {+ ...contentPayload,+ favorite: true,+ },+ })++ /*+ * old localstorage handling+ */+ const { query, name, desc } = sqlEditorStore.activeTab || {}+ sqlEditorStore.addToFavorite(id, query, name, desc)+ Telemetry.sendEvent('sql_editor', 'sql_favourited', name)++ /*+ * reload sql data in store and re-select tab+ */+ await sqlEditorStore.loadRemotePersistentData(contentStore, user.id)+ sqlEditorStore.selectTab(id)+ setLoading(false)+ } catch (error) {+ toast.error(error.message)+ console.error(error)+ setLoading(false)+ }+ }++ async function unFavorite() {+ const id = sqlEditorStore.activeTab.id+ try {+ setLoading(true)+ /*+ * remote db handling+ */+ await contentStore.updateSql(id, {+ content: {+ ...contentPayload,+ favorite: false,+ },+ })++ /*+ * old localstorage handling+ */+ const { name } = sqlEditorStore.activeTab || {}+ sqlEditorStore.unFavorite(id)+ Telemetry.sendEvent('sql_editor', 'sql_unfavourited', name)++ /*+ * reload sql data in store and re-select tab+ */+ await sqlEditorStore.loadRemotePersistentData(contentStore, user.id)+ sqlEditorStore.selectTab(id)+ setLoading(false)+ } catch (error) {+ toast.error(error.message)+ console.error(error)+ setLoading(false)+ }+ }++ return (+ <>+ {sqlEditorStore.activeTab.favorite ? (+ <Button+ type="text"+ size="tiny"+ shadow={false}+ onClick={unFavorite}+ loading={loading}+ icon={<IconHeart size="tiny" fill="#48bb78" />}+ />+ ) : (+ <Button+ type="text"+ size="tiny"+ shadow={false}+ onClick={addToFavorite}+ loading={loading}+ icon={<IconHeart size="tiny" fill="gray" />}+ />+ )}+ </>+ )+})++const UtilityTabResults = observer(() => {+ const sqlEditorStore = useSqlStore()++ if (sqlEditorStore.activeTab.utilityTabHeight == 0) return null+ if (sqlEditorStore.activeTab.isExecuting) {+ return (+ <div className="bg-table-header-light dark:bg-table-header-dark">+ <Typography.Text>+ <p className="px-6 py-4 m-0 border-0 font-mono">Running...</p>+ </Typography.Text>+ </div>+ )+ } else if (sqlEditorStore.activeTab.errorResult) {+ return (+ <div className="bg-table-header-light dark:bg-table-header-dark">+ <Typography.Text>+ <p className="px-6 py-4 m-0 border-0 font-mono">{sqlEditorStore.activeTab.errorResult}</p>+ </Typography.Text>+ </div>+ )+ } else if (sqlEditorStore.activeTab.hasNoResult) {+ return (+ <div className="bg-table-header-light dark:bg-table-header-dark">+ <Typography.Text type="secondary">+ <p className="px-6 py-4 m-0 border-0 ">+ Click <Typography.Text code>RUN</Typography.Text> to execute your query.+ </p>+ </Typography.Text>+ </div>+ )+ }++ return (+ <div style={{ height: sqlEditorStore.activeTab.utilityTabHeight }}>+ <Results results={sqlEditorStore.activeTab.results} />+ </div>+ )+})++const Results = ({ results }) => {+ const [cellPosition, setCellPosition] = useState(undefined)++ useKeyboardShortcuts(+ {+ 'Command+c': (event) => {+ event.stopPropagation()+ onCopyCell()+ },+ 'Control+c': (event) => {+ event.stopPropagation()+ onCopyCell()+ },+ },+ ['INPUT', 'TEXTAREA']+ )++ if (results?.error) {+ return (+ <div className="bg-table-header-light dark:bg-table-header-dark">+ <Typography.Text type="danger">+ <p className="px-6 py-4 m-0 font-mono border-0"> {`ERROR: ${results.error}`}</p>+ </Typography.Text>+ </div>+ )+ }+ if (!results.length) {+ return (+ <div className="bg-table-header-light dark:bg-table-header-dark">+ <Typography.Text>+ <p className="px-6 py-4 m-0 font-mono border-0">Success. No rows returned</p>+ </Typography.Text>+ </div>+ )+ }++ const formatter = (column, row) => {+ return <span className="font-mono text-xs">{JSON.stringify(row[column])}</span>+ }+ const columnRender = (name) => {+ return <div className="flex items-center justify-center font-mono h-full">{name}</div>+ }+ const columns = Object.keys(results[0]).map((key) => ({+ key,+ name: key,+ formatter: ({ row }) => formatter(key, row),+ headerRenderer: () => columnRender(key),+ resizable: true,+ width: 120,+ }))++ function onSelectedCellChange(position) {+ setCellPosition(position)+ }++ function onCopyCell() {+ if (cellPosition) {+ const { idx, rowIdx } = cellPosition+ const colKey = columns[idx].key+ const cellValue = results[rowIdx]?.[colKey] ?? ''+ const value = formatClipboardValue(cellValue)+ navigator.clipboard.writeText(value)+ }+ }++ return (+ <DataGrid+ columns={columns}+ rows={results}+ style={{ height: '100%' }}+ onSelectedCellChange={onSelectedCellChange}+ />+ )+}++function formatClipboardValue(value) {+ if (value === null) return ''+ if (typeof value == 'object' || Array.isArray(value)) {+ return JSON.stringify(value)+ }+ return value+}diff --git a/studio/components/to-be-cleaned/SqlEditor/TabWelcome.js b/studio/components/to-be-cleaned/SqlEditor/TabWelcome.jsnew file mode 100644index 00000000000..4c88b56544d--- /dev/null+++ b/studio/components/to-be-cleaned/SqlEditor/TabWelcome.js@@ -0,0 +1,172 @@+import React, { useState } from 'react'+import { observer } from 'mobx-react-lite'+import { useRouter } from 'next/router'+import { toast } from 'react-hot-toast'+import { IconChevronRight, IconLoader, Typography } from '@supabase/ui'++import { useSqlStore } from 'localStores/sqlEditor/SqlEditorStore'+import { useProjectContentStore } from 'stores/projectContentStore'++import Telemetry from 'lib/telemetry'+import { useProfile } from 'hooks'+import { partition } from 'lodash'++import { createSqlSnippet } from './SqlEditor.utils'+import { SQL_TEMPLATES } from 'components/interfaces/SQLEditor/SQLEditor.constants'++const TabWelcome = observer(() => {+ const router = useRouter()+ const { ref } = router.query++ const { profile: user } = useProfile()+ const sqlEditorStore = useSqlStore()+ const contentStore = useProjectContentStore(ref)++ const [SQL, QuickStart] = partition(SQL_TEMPLATES, { type: 'template' })++ async function handleNewQuery(sql, title) {+ try {+ //do what you need here+ // create new sql snippet+ // this also reloads the project_content store+ const snippet = await createSqlSnippet({ router, sql, name: title })++ // reload the local sqlEditorStore+ await sqlEditorStore.loadRemotePersistentData(contentStore, user?.id)++ // select tab with new snippet+ sqlEditorStore.selectTab(snippet.id)+ } catch (error) {+ console.error(error)+ toast.error(error.message)+ }+ }++ return (+ <div className="block p-6 h-full overflow-y-auto space-y-8">+ <div>+ <div className="mb-4">+ <Typography.Title level={4} className="mb-0">+ Scripts+ </Typography.Title>+ <Typography.Text>+ Quick scripts to run on your database.+ <br />+ Click on any script to fill the query box, modify the script, then click+ <Typography.Text code>Run</Typography.Text>. More scripts coming soon!+ </Typography.Text>+ </div>+ <div className="grid grid-cols-3 gap-4">+ {SQL.map((x) => (+ <SqlCard+ key={x.title}+ title={x.title}+ description={x.description}+ sql={x.sql}+ onClick={(sql, title) => {+ handleNewQuery(sql, title)+ Telemetry.sendEvent('scripts', 'script_clicked', x.title)+ }}+ />+ ))}+ </div>+ </div>+ <div className="mb-8">+ <div className="mb-4">+ <Typography.Title level={4} className="mb-0">+ Quick start+ </Typography.Title>+ <Typography.Text>+ While we're in beta, we want to offer a quick way to explore Supabase. While we build+ importers, check out these simple starters.+ <br />+ Click on any script to fill the query box, modify the script, then click{' '}+ <Typography.Text code>Run</Typography.Text>. More coming soon!+ </Typography.Text>+ </div>+ <div className="grid grid-cols-3 gap-4">+ {QuickStart.map((x) => (+ <SqlCard+ key={x.title}+ title={x.title}+ description={x.description}+ sql={x.sql}+ onClick={(sql, title) => {+ handleNewQuery(sql, title)+ Telemetry.sendEvent('quickstart', 'quickstart_clicked', x.title)+ }}+ />+ ))}+ </div>+ </div>+ </div>+ )+})++export default TabWelcome++const SqlCard = ({ title, description, sql, onClick }) => {+ const [loading, setLoading] = useState(false)++ function handleOnClick() {+ setLoading(true)+ onClick(sql, title)+ }+ return (+ <a+ className="rounded bg-panel-header-light dark:bg-panel-header-dark transition-colors+ border border-panel-border-light dark:border-panel-border-dark+ hover:border-panel-border-hover-light dark:hover:border-panel-border-hover-dark+ cursor-pointer"+ onClick={() => handleOnClick()}+ >+ <div className="px-6 py-3 border-b dark:border-dark flex items-center justify-between">+ <Typography.Title level={6} className="m-0">+ {title}+ </Typography.Title>+ {loading ? (+ <IconLoader className="animate-spin" size={16} />+ ) : (+ <Typography.Text type="secondary">+ <IconChevronRight />+ </Typography.Text>+ )}+ </div>+ <p className="px-6 py-4 capitalize-first">+ <Typography.Text type="secondary">{description}</Typography.Text>+ </p>+ </a>+ )+}++const FavoriteCard = observer(({ favorite }) => {+ const sqlEditorStore = useSqlStore()+ const { key, name, desc } = favorite++ function onClick() {+ sqlEditorStore.createQueryTabFromFavorite(key)+ Telemetry.sendEvent('script_favorite', 'script_clicked', name)+ }++ return (+ <a+ className="rounded bg-panel-header-light dark:bg-panel-header-dark transition-colors+ border border-panel-border-light dark:border-panel-border-dark+ hover:border-panel-border-hover-light dark:hover:border-panel-border-hover-dark+ cursor-pointer"+ onClick={onClick}+ >+ <div className="p-6 py-3 border-b dark:border-dark flex items-center justify-between">+ <Typography.Title level={6} className="m-0">+ {name}+ </Typography.Title>+ <Typography.Text type="secondary">+ <IconChevronRight />+ </Typography.Text>+ </div>+ <p className="p-6 py-4 capitalize-first">+ <Typography.Text type="secondary">{desc}</Typography.Text>+ </p>+ </a>+ )+})diff --git a/studio/components/to-be-cleaned/Storage/CreateBucketModal.js b/studio/components/to-be-cleaned/Storage/CreateBucketModal.jsnew file mode 100644index 00000000000..05121646f25--- /dev/null+++ b/studio/components/to-be-cleaned/Storage/CreateBucketModal.js@@ -0,0 +1,105 @@+import { useEffect, useState } from 'react'+import { Modal, Alert, Button, Input, Space, Typography, Toggle } from '@supabase/ui'++const CreateBucketModal = ({+ visible = false,+ onSelectCancel = () => {},+ onSelectSave = () => {},+}) => {+ const [saving, setSaving] = useState(false)+ const [error, setError] = useState('')++ const [bucketName, setBucketName] = useState('')+ const [isPublic, setIsPublic] = useState(false)++ useEffect(() => {+ setError('')+ setBucketName('')+ setSaving(false)+ setIsPublic(false)+ }, [visible])++ const onCreateBucket = (event) => {+ if (event) {+ event.preventDefault()+ }++ if (bucketName.length === 0) {+ onSelectCancel()+ } else {+ if (bucketName.includes(' ')) {+ return setError('Bucket names should not have any spaces')+ }+ if (bucketName.match(/[:;'"/?!#$%^&*()+_{}\[\]|\s]/g)) {+ return setError('Only dots(.) or hyphens(-) are allowed')+ }+ if (bucketName !== bucketName.toLowerCase()) {+ return setError('Only lowercase letters are allowed')+ }+ setError('')+ setSaving(true)+ onSelectSave(bucketName, isPublic)+ }+ }++ return (+ <Modal+ visible={visible}+ title="Create new bucket"+ size="large"+ onCancel={onSelectCancel}+ customFooter={+ <Space>+ <Button type="secondary" onClick={onSelectCancel}>+ Cancel+ </Button>+ <Button type="primary" loading={saving} onClick={onCreateBucket}>+ {saving ? 'Creating bucket' : 'Create bucket'}+ </Button>+ </Space>+ }+ >+ <div className="space-y-6 w-full pb-3">+ <form className="space-y-6">+ <div className="flex items-center relative">+ <Input+ autoFocus+ label="Name of bucket"+ labelOptional="Buckets cannot be renamed once created."+ descriptionText={+ <Typography.Text type="secondary">+ Only lowercase letters, numbers, dots, and hyphens+ </Typography.Text>+ }+ layout="horizontal"+ error={error}+ type="text"+ className="w-full"+ placeholder="e.g new-bucket"+ value={bucketName}+ onChange={(event) => setBucketName(event.target.value)}+ />+ </div>+ <div className="space-y-4">+ <Toggle+ name="isPublic"+ label="Make bucket public"+ layout="horizontal"+ size="medium"+ onChange={() => setIsPublic(!isPublic)}+ />+ {isPublic && (+ <Alert title="Warning: Public bucket" variant="warning" withIcon>+ Users can read objects in public buckets without any authorization. RLS policies are+ still required other operations such as object uploads and deletes.+ </Alert>+ )}+ </div>+ <button className="hidden" type="submit" onClick={onCreateBucket} />+ </form>+ </div>+ </Modal>+ )+}++export default CreateBucketModaldiff --git a/studio/components/to-be-cleaned/Storage/DeleteBucketModal.js b/studio/components/to-be-cleaned/Storage/DeleteBucketModal.jsnew file mode 100644index 00000000000..9b1975db5ee--- /dev/null+++ b/studio/components/to-be-cleaned/Storage/DeleteBucketModal.js@@ -0,0 +1,64 @@+import { useEffect, useState } from 'react'+import { Modal, Button, Input, Space, Typography } from '@supabase/ui'++const DeleteBucketModal = ({+ visible = false,+ bucket = {},+ onSelectCancel = () => {},+ onSelectDelete = () => {},+}) => {+ const [deleting, setDeleting] = useState(false)+ const [validationInput, setValidationInput] = useState('')++ useEffect(() => {+ setValidationInput('')+ setDeleting(false)+ }, [visible])++ const onConfirmDelete = () => {+ setDeleting(true)+ onSelectDelete(bucket)+ }++ return (+ <Modal+ visible={visible}+ title={`Confirm deletion of ${bucket.name}`}+ description="Are you sure you want to delete the selected bucket? This action cannot be undone."+ size="small"+ customFooter={+ <Space>+ <Button type="secondary" onClick={onSelectCancel}>+ Cancel+ </Button>+ <Button+ type="primary"+ danger+ loading={deleting}+ onClick={onConfirmDelete}+ disabled={bucket.name !== validationInput}+ >+ {deleting ? 'Deleting' : 'Delete'}+ </Button>+ </Space>+ }+ >+ <div className="w-full">+ <p className="mb-2 text-sm">+ <Typography.Text>+ Please type <span className="font-bold">{bucket.name}</span> to confirm+ </Typography.Text>+ </p>+ <Input+ autoFocus+ type="text"+ className="w-full"+ value={validationInput}+ onChange={(event) => setValidationInput(event.target.value)}+ />+ </div>+ </Modal>+ )+}++export default DeleteBucketModaldiff --git a/studio/components/to-be-cleaned/Storage/Storage.constants.ts b/studio/components/to-be-cleaned/Storage/Storage.constants.tsnew file mode 100644index 00000000000..b59df29fb37--- /dev/null+++ b/studio/components/to-be-cleaned/Storage/Storage.constants.ts@@ -0,0 +1,52 @@+export const STORAGE_VIEWS = {+ COLUMNS: 'COLUMNS',+ LIST: 'LIST',+}++export const STORAGE_SORT_BY = {+ NAME: 'name',+ UPDATED_AT: 'updated_at',+ CREATED_AT: 'created_at',+ LAST_ACCESSED_AT: 'last_accessed_at',+}++export const STORAGE_ROW_TYPES = {+ BUCKET: 'BUCKET',+ FILE: 'FILE',+ FOLDER: 'FOLDER',+}++export const STORAGE_ROW_STATUS = {+ READY: 'READY',+ LOADING: 'LOADING',+ EDITING: 'EDITING',+}++export const STORAGE_POLICY_DEFAULT_DEFINITION_PLACEHOLDER = `/*+ Example: Apply this policy to all authenticated users+ for a folder called 'public'++ storage.foldername(name))[[1]] = 'public'+ and auth.role() = 'authenticated'+*/++`++export const STORAGE_CLIENT_LIBRARY_MAPPINGS = {+ copyObject: ['INSERT'],+ createObject: ['INSERT'],+ deleteObject: ['SELECT', 'DELETE'],+ deleteObjects: ['SELECT', 'DELETE'],+ getObject: ['SELECT'],+ getSignedObject: [],+ getSignedUrl: ['SELECT'],+ listObjects: ['SELECT'],+ moveObjects: ['SELECT', 'UPDATE'],+ updateObject: ['SELECT', 'UPDATE'],+}++export const CONTEXT_MENU_KEYS = {+ STORAGE_COLUMN: 'STORAGE_COLUMN',+ STORAGE_ITEM: 'STORAGE_ITEM',+ STORAGE_FOLDER: 'STORAGE_FOLDER',+}diff --git a/studio/components/to-be-cleaned/Storage/Storage.utils.ts b/studio/components/to-be-cleaned/Storage/Storage.utils.tsnew file mode 100644index 00000000000..3b375ce4697--- /dev/null+++ b/studio/components/to-be-cleaned/Storage/Storage.utils.ts@@ -0,0 +1,185 @@+import { trimEnd, groupBy, difference } from 'lodash'+import { STORAGE_CLIENT_LIBRARY_MAPPINGS } from './Storage.constants'++export const shortHash = (str: string) => {+ let hash = 0+ for (let i = 0; i < str.length; i++) {+ const char = str.charCodeAt(i)+ hash = (hash << 5) - hash + char+ hash &= hash // Convert to 32bit integer+ }+ return new Uint32Array([hash])[0].toString(36)+}++/**+ * Formats the policies from the objects table in the storage schema+ * to be consumable for the storage policies dashboard.+ * Output: [{ bucket: <string>, policies: <Policy[]> }]+ * @param {Array} policies: All policies from a table in a schema+ */+export const formatPoliciesForStorage = (policies: any[]) => {+ if (policies.length === 0) return policies++ /**+ * Format policies from storage objects to:+ * - Include bucket name+ * - Strip away ${bucketName}_{idx} suffix+ * - Strip away bucket_id from definitions+ * Note, if the policy definition has no bucket_id, we skip the formatting+ */+ const formattedPolicies = formatStoragePolicies(policies)++ /**+ * Package policies by grouping them by bucket:+ * [{ name: <string>, policies: <Policy[]> }]+ */+ const policiesByBucket = groupPoliciesByBucket(formattedPolicies)++ return policiesByBucket+}++/* Start: Internal methods to support formatPoliciesForStorage but exported for tests to cover */+export const formatStoragePolicies = (policies: any[]) => {+ const formattedPolicies = policies.map((policy) => {+ const { definition: policyDefinition, check: policyCheck } = policy++ const bucketName =+ policyDefinition !== null+ ? extractBucketNameFromDefinition(policyDefinition)+ : extractBucketNameFromDefinition(policyCheck)++ if (bucketName) {+ // [JOSHEN TODO] We cannot override definition here anymore cause we're gonna be using the auth editor+ // const definition = policyDefinition !== null ? policyDefinition : policyCheck+ return {+ ...policy,+ bucket: bucketName,+ }+ }++ return { ...policy, bucket: 'Ungrouped' }+ })++ return formattedPolicies+}++export const truncateDefinitionToExcludeBucket = (definition: string) => {+ const definitionSegments = definition?.split(' AND ') ?? []+ return definitionSegments.length > 1+ ? trimEnd(definitionSegments.slice(1).join(' AND '), ')') + ')'+ : ''+}++export const extractBucketNameFromDefinition = (definition: string) => {+ const definitionSegments = definition?.split(' AND ') ?? []+ const [bucketDefinition] = definitionSegments.filter((segment: string) =>+ segment.includes('bucket_id')+ )+ return bucketDefinition ? bucketDefinition.split("'")[1] : null+}++export const groupPoliciesByBucket = (policies: any[]) => {+ const policiesByBucket = groupBy(policies, 'bucket')+ return Object.keys(policiesByBucket).map((bucketName) => {+ return { name: bucketName, policies: policiesByBucket[bucketName] }+ })+}++/* End: Internal methods to support formatPoliciesForStorage but exported for tests to cover */++export const createPayloadForNewPolicy = (+ idx: number,+ bucketName: string,+ policyName: string,+ definition: string,+ operation: string,+ addSuffixToPolicyName: boolean+) => {+ const hashedBucketName = shortHash(bucketName)+ return {+ name: addSuffixToPolicyName ? `${policyName} ${hashedBucketName}_${idx}` : policyName,+ definition: operation === 'INSERT' ? undefined : `(${definition})`,+ action: 'PERMISSIVE',+ check: operation === 'INSERT' ? `(${definition})` : undefined,+ command: operation,+ schema: 'storage',+ table: 'objects',+ }+}++export const createPayloadsForAddPolicy = (+ bucketName = '',+ policyFormFields: any = {},+ addSuffixToPolicyName = true+) => {+ const { name: policyName, definition, allowedOperations } = policyFormFields+ const formattedDefinition = definition.replace(/\s+/g, ' ').trim()++ return allowedOperations.map((operation: any, idx: number) => {+ return createPayloadForNewPolicy(+ idx,+ bucketName,+ policyName,+ formattedDefinition,+ operation,+ addSuffixToPolicyName+ )+ })+}++// Used in the policy editor to highlight which library methods are allowed depending on which operations are allowed+export const deriveAllowedClientLibraryMethods = (allowedOperations = []) => {+ return Object.keys(STORAGE_CLIENT_LIBRARY_MAPPINGS).filter((method) => {+ const requiredOperations = (STORAGE_CLIENT_LIBRARY_MAPPINGS as any)[method]+ if (difference(requiredOperations, allowedOperations).length === 0) {+ return method+ }+ })+}++// Create policy SQL statements on save based on configuration.+// Used purely for previewing in the review step, not actually fired+export const createSQLStatementForCreatePolicy = (+ idx: number,+ bucketName: string,+ policyName: string,+ definition: string,+ operation: string,+ addSuffixToPolicyName: boolean+) => {+ const hashedBucketName = shortHash(bucketName)+ const formattedPolicyName = addSuffixToPolicyName+ ? `${policyName} ${hashedBucketName}_${idx}`+ : policyName+ const description = `Add policy for the ${operation} operation under the policy "${policyName}"`+ const statement = `+ CREATE POLICY "${formattedPolicyName}" ON storage.objects FOR ${operation}+ ${operation === 'INSERT' ? 'WITH CHECK' : 'USING'} (${definition});+`+ .replace(/\s+/g, ' ')+ .trim()+ return { description, statement }+}++export const createSQLPolicies = (+ bucketName: string,+ policyFormFields: any,+ addSuffixToPolicyName = true+) => {+ const { name: policyName, definition, allowedOperations } = policyFormFields+ const policies = allowedOperations.map((operation: any, idx: number) =>+ createSQLStatementForCreatePolicy(+ idx,+ bucketName,+ policyName,+ definition,+ operation,+ addSuffixToPolicyName+ )+ )+ return policies+}++export const applyBucketIdToTemplateDefinition = (definition: string, bucketId: any) => {+ return definition.replace('{bucket_id}', `'${bucketId}'`)+}diff --git a/studio/components/to-be-cleaned/Storage/StorageExplorer/ColumnContextMenu.js b/studio/components/to-be-cleaned/Storage/StorageExplorer/ColumnContextMenu.jsnew file mode 100644index 00000000000..eb372839f15--- /dev/null+++ b/studio/components/to-be-cleaned/Storage/StorageExplorer/ColumnContextMenu.js@@ -0,0 +1,44 @@+import { Menu, Item, Separator, Submenu } from 'react-contexify'+import 'react-contexify/dist/ReactContexify.css'++import { STORAGE_VIEWS, STORAGE_SORT_BY } from '../Storage.constants'++const ColumnContextMenu = ({+ id = '',+ onCreateNewFolder = () => {},+ onSelectAllItems = () => {},+ onSelectView = () => {},+ onSelectSort = () => {},+}) => {+ return (+ <Menu id={id} animation="fade">+ <Item+ onClick={({ props }) => {+ onCreateNewFolder(props.index)+ }}+ >+ New folder+ </Item>+ <Separator />+ <Item+ onClick={({ props }) => {+ onSelectAllItems(props.index)+ }}+ >+ Select all items+ </Item>+ <Submenu label="View">+ <Item onClick={() => onSelectView(STORAGE_VIEWS.COLUMNS)}>As columns</Item>+ <Item onClick={() => onSelectView(STORAGE_VIEWS.LIST)}>As list</Item>+ </Submenu>+ <Submenu label="Sort by">+ <Item onClick={() => onSelectSort(STORAGE_SORT_BY.NAME)}>Name</Item>+ <Item onClick={() => onSelectSort(STORAGE_SORT_BY.CREATED_AT)}>Last created</Item>+ <Item onClick={() => onSelectSort(STORAGE_SORT_BY.UPDATED_AT)}>Last modified</Item>+ <Item onClick={() => onSelectSort(STORAGE_SORT_BY.LAST_ACCESSED_AT)}>Last accessed</Item>+ </Submenu>+ </Menu>+ )+}++export default ColumnContextMenudiff --git a/studio/components/to-be-cleaned/Storage/StorageExplorer/ConfirmDeleteModal.js b/studio/components/to-be-cleaned/Storage/StorageExplorer/ConfirmDeleteModal.jsnew file mode 100644index 00000000000..3c50072e302--- /dev/null+++ b/studio/components/to-be-cleaned/Storage/StorageExplorer/ConfirmDeleteModal.js@@ -0,0 +1,55 @@+import { useEffect, useState } from 'react'+import { Modal, Button, Space } from '@supabase/ui'++const ConfirmDeleteModal = ({+ visible = false,+ selectedItemsToDelete = [],+ onSelectCancel = () => {},+ onSelectDelete = () => {},+}) => {+ const [deleting, setDeleting] = useState(false)++ useEffect(() => {+ setDeleting(false)+ }, [visible])++ const multipleFiles = selectedItemsToDelete.length > 1++ const title = multipleFiles+ ? `Confirm deletion of items`+ : selectedItemsToDelete.length === 1+ ? `Confirm deletion of ${selectedItemsToDelete[0].name}`+ : ``++ const description = multipleFiles+ ? `Are you sure you want to delete the selected ${selectedItemsToDelete.length} items?`+ : selectedItemsToDelete.length === 1+ ? `Are you sure you want to delete the selected ${selectedItemsToDelete[0].type.toLowerCase()}?`+ : ``++ const onConfirmDelete = () => {+ setDeleting(true)+ onSelectDelete()+ }++ return (+ <Modal+ visible={visible}+ title={title}+ description={`${description} This action cannot be undone.`}+ size="small"+ customFooter={+ <Space>+ <Button type="secondary" onClick={onSelectCancel}>+ Cancel+ </Button>+ <Button type="primary" danger loading={deleting} onClick={onConfirmDelete}>+ {deleting ? 'Deleting' : 'Delete'}+ </Button>+ </Space>+ }+ />+ )+}++export default ConfirmDeleteModaldiff --git a/studio/components/to-be-cleaned/Storage/StorageExplorer/FileExplorer.js b/studio/components/to-be-cleaned/Storage/StorageExplorer/FileExplorer.jsnew file mode 100644index 00000000000..57b3d45bda1--- /dev/null+++ b/studio/components/to-be-cleaned/Storage/StorageExplorer/FileExplorer.js@@ -0,0 +1,135 @@+import React, { useEffect, useRef } from 'react'+import { STORAGE_VIEWS, CONTEXT_MENU_KEYS } from '../Storage.constants'++import ItemContextMenu from './ItemContextMenu'+import FolderContextMenu from './FolderContextMenu'+import ColumnContextMenu from './ColumnContextMenu'+import FileExplorerColumn from './FileExplorerColumn'++const FileExplorer = ({+ view = STORAGE_VIEWS.COLUMNS,+ columns = [],+ openedFolders = [],+ selectedItems = [],+ selectedFilePreview = {},+ isSearching = false,+ itemSearchString = '',+ onCheckItem = () => {},+ onSelectItemDelete = () => {},+ onSelectItemRename = () => {},+ onSelectItemMove = () => {},+ onSelectFile = () => {},+ onRenameFile = () => {},+ onFilesUpload = () => {},+ onCopyFileURL = () => {},+ onDownloadFile = () => {},+ onSelectFolder = () => {},+ onRenameFolder = () => {},+ onCreateFolder = () => {},+ onSelectAllItemsInColumn = () => {},+ onSelectColumnEmptySpace = () => {},+ onSelectCreateFolder = () => {},+ onChangeView = () => {},+ onChangeSortBy = () => {},+}) => {+ const fileExplorerRef = useRef(null)++ useEffect(() => {+ if (fileExplorerRef) {+ const { scrollWidth, clientWidth } = fileExplorerRef.current+ if (scrollWidth > clientWidth) {+ fileExplorerRef.current.scrollLeft += scrollWidth - clientWidth+ }+ }+ }, [columns])++ return (+ <div+ ref={fileExplorerRef}+ className="file-explorer flex flex-grow overflow-x-auto justify-between h-full w-full"+ >+ <ColumnContextMenu+ id={CONTEXT_MENU_KEYS.STORAGE_COLUMN}+ onCreateNewFolder={onSelectCreateFolder}+ onSelectAllItems={onSelectAllItemsInColumn}+ onSelectView={onChangeView}+ onSelectSort={onChangeSortBy}+ />+ <ItemContextMenu+ id={CONTEXT_MENU_KEYS.STORAGE_ITEM}+ onCopyFileURL={onCopyFileURL}+ onSelectItemRename={onSelectItemRename}+ onSelectItemMove={onSelectItemMove}+ onDownloadFile={onDownloadFile}+ onSelectItemDelete={onSelectItemDelete}+ />+ <FolderContextMenu+ id={CONTEXT_MENU_KEYS.STORAGE_FOLDER}+ onRenameFolder={onSelectItemRename}+ onDeleteFolder={onSelectItemDelete}+ />+ {view === STORAGE_VIEWS.COLUMNS ? (+ <div className="flex">+ {columns.map((column, index) => (+ <FileExplorerColumn+ key={`column-${index}`}+ index={index}+ view={view}+ column={column}+ openedFolders={openedFolders}+ selectedItems={selectedItems}+ selectedFilePreview={selectedFilePreview}+ onCheckItem={onCheckItem}+ onSelectFile={onSelectFile}+ onRenameFile={onRenameFile}+ onCopyFileURL={onCopyFileURL}+ onFilesUpload={onFilesUpload}+ onDownloadFile={onDownloadFile}+ onSelectFolder={onSelectFolder}+ onRenameFolder={onRenameFolder}+ onCreateFolder={onCreateFolder}+ onSelectItemDelete={onSelectItemDelete}+ onSelectItemRename={onSelectItemRename}+ onSelectItemMove={onSelectItemMove}+ onSelectAllItemsInColumn={onSelectAllItemsInColumn}+ onSelectColumnEmptySpace={onSelectColumnEmptySpace}+ />+ ))}+ </div>+ ) : view === STORAGE_VIEWS.LIST ? (+ <>+ {columns.length > 0 && (+ <FileExplorerColumn+ fullWidth+ index={columns.length - 1}+ view={view}+ column={columns[columns.length - 1]}+ selectedItems={selectedItems}+ selectedFilePreview={selectedFilePreview}+ isSearching={isSearching}+ itemSearchString={itemSearchString}+ onCheckItem={onCheckItem}+ onSelectFile={onSelectFile}+ onRenameFile={onRenameFile}+ onCopyFileURL={onCopyFileURL}+ onFilesUpload={onFilesUpload}+ onDownloadFile={onDownloadFile}+ onSelectFolder={onSelectFolder}+ onRenameFolder={onRenameFolder}+ onCreateFolder={onCreateFolder}+ onSelectItemDelete={onSelectItemDelete}+ onSelectItemRename={onSelectItemRename}+ onSelectItemMove={onSelectItemMove}+ onSelectAllItemsInColumn={onSelectAllItemsInColumn}+ onSelectColumnEmptySpace={onSelectColumnEmptySpace}+ />+ )}+ </>+ ) : (+ <div>Unknown view: {view}</div>+ )}+ </div>+ )+}++export default FileExplorerdiff --git a/studio/components/to-be-cleaned/Storage/StorageExplorer/FileExplorerColumn.js b/studio/components/to-be-cleaned/Storage/StorageExplorer/FileExplorerColumn.jsnew file mode 100644index 00000000000..483c38370dc--- /dev/null+++ b/studio/components/to-be-cleaned/Storage/StorageExplorer/FileExplorerColumn.js@@ -0,0 +1,295 @@+import { useState, useRef, useEffect } from 'react'+import { get, sum } from 'lodash'+import { Checkbox, IconUpload, Typography } from '@supabase/ui'+import { Transition } from '@headlessui/react'+import { useContextMenu } from 'react-contexify'++import InfiniteList from 'components/ui/InfiniteList'+import ShimmeringLoader from 'components/ui/ShimmeringLoader'+import FileExplorerRow from './FileExplorerRow'+import {+ STORAGE_VIEWS,+ STORAGE_ROW_TYPES,+ STORAGE_ROW_STATUS,+ CONTEXT_MENU_KEYS,+} from '../Storage.constants'+import { formatBytes } from 'lib/helpers'++const DragOverOverlay = ({ isOpen, onDragLeave, onDrop, folderIsEmpty }) => {+ return (+ <Transition+ show={isOpen}+ enter="transition ease-out duration-100"+ enterFrom="transform opacity-0"+ enterTo="transform opacity-100"+ leave="transition ease-in duration-75"+ leaveFrom="transform opacity-100"+ leaveTo="transform opacity-0"+ >+ <div+ onDragLeave={onDragLeave}+ onDrop={onDrop}+ className="absolute w-full h-full top-0 flex items-center justify-center"+ style={{ backgroundColor: folderIsEmpty ? 'rgba(0,0,0,0.1)' : 'rgba(0,0,0,0.2)' }}+ >+ {!folderIsEmpty && (+ <div+ className="w-3/4 h-32 border-2 border-dashed border-gray-400 rounded-md flex flex-col items-center justify-center p-6 pointer-events-none"+ style={{ backgroundColor: 'rgba(0,0,0,0.7)' }}+ >+ <IconUpload className="text-white pointer-events-none" size={20} strokeWidth={2} />+ <Typography.Text className="text-center text-sm mt-2 pointer-events-none">+ Drop your files to upload to this folder+ </Typography.Text>+ </div>+ )}+ </div>+ </Transition>+ )+}++const FileExplorerColumn = ({+ index = 0,+ view = STORAGE_VIEWS.COLUMNS,+ column = {},+ fullWidth = false,+ openedFolders = [],+ selectedItems = [],+ selectedFilePreview = {},+ isSearching = false,+ itemSearchString = '',+ onCheckItem = () => {},+ onSelectItemDelete = () => {},+ onSelectItemRename = () => {},+ onSelectItemMove = () => {},+ onSelectFile = () => {},+ onRenameFile = () => {},+ onCopyFileURL = () => {},+ onFilesUpload = () => {},+ onDownloadFile = () => {},+ onSelectFolder = () => {},+ onRenameFolder = () => {},+ onCreateFolder = () => {},+ onSelectAllItemsInColumn = () => {},+ onSelectColumnEmptySpace = () => {},+}) => {+ const [isDraggedOver, setIsDraggedOver] = useState(false)+ const fileExplorerColumnRef = useRef(null)++ useEffect(() => {+ if (fileExplorerColumnRef) {+ const { scrollHeight, clientHeight } = fileExplorerColumnRef.current+ if (scrollHeight > clientHeight) {+ fileExplorerColumnRef.current.scrollTop += scrollHeight - clientHeight+ }+ }+ }, [column])++ const haveSelectedItems = selectedItems.length > 0+ const columnItemsId = column.items.map((item) => item.id)+ const columnFiles = column.items.filter((item) => item.type === STORAGE_ROW_TYPES.FILE)+ const selectedItemsFromColumn = selectedItems.filter((item) => columnItemsId.includes(item.id))+ const selectedFilesFromColumn = selectedItemsFromColumn.filter(+ (item) => item.type === STORAGE_ROW_TYPES.FILE+ )++ const columnItems = isSearching+ ? column.items.filter((item) =>+ item.name.toLowerCase().includes(itemSearchString.toLowerCase())+ )+ : column.items++ const columnItemsSize = sum(columnItems.map((item) => get(item, ['metadata', 'size'], 0)))++ const { show } = useContextMenu()+ const displayMenu = (event) => {+ show(event, {+ id: CONTEXT_MENU_KEYS.STORAGE_COLUMN,+ props: { index },+ })+ }++ const onDragOver = (event) => {+ if (event) {+ event.stopPropagation()+ event.preventDefault()+ if (event.type === 'dragover' && !isDraggedOver) {+ setIsDraggedOver(true)+ }+ }+ }++ const onDrop = (event) => {+ onDragOver(event)+ onFilesUpload(event, index)+ }++ const SelectAllCheckbox = () => (+ <Checkbox+ label=""+ checked={columnFiles.length !== 0 && selectedFilesFromColumn.length === columnFiles.length}+ disabled={columnFiles.length === 0}+ onChange={() => onSelectAllItemsInColumn(index)}+ />+ )++ return (+ <div+ ref={fileExplorerColumnRef}+ className={`+ ${+ fullWidth+ ? 'w-full'+ : 'w-64 border-r border-panel-border-light dark:border-panel-border-dark'+ }+ ${view === STORAGE_VIEWS.COLUMNS ? '' : ''}+ relative flex-shrink-0 overflow-auto flex flex-col hide-scrollbar+ `}+ onContextMenu={displayMenu}+ onDragOver={onDragOver}+ onDrop={onDrop}+ onClick={(event) => {+ const eventTarget = get(event.target, ['className'], '')+ if (typeof eventTarget === 'string' && eventTarget.includes('react-contexify')) return+ onSelectColumnEmptySpace(index)+ }}+ >+ {/* Checkbox selection for select all */}+ {view === STORAGE_VIEWS.COLUMNS && (+ <div+ className={`bg-table-header-light dark:bg-table-header-dark sticky top-0 z-10 flex items-center px-4 mb-0 ${+ haveSelectedItems > 0 ? 'opacity-100 py-3 h-10' : 'opacity-0 py-0 h-0'+ } transition-all duration-200`}+ onClick={(event) => event.stopPropagation()}+ >+ {columnFiles.length > 0 ? (+ <>+ <SelectAllCheckbox />+ <Typography.Text type="secondary">+ <p className="text-sm">Select all {columnFiles.length} files</p>+ </Typography.Text>+ </>+ ) : (+ <Typography.Text type="secondary">+ <p className="text-sm">No files available for selection</p>+ </Typography.Text>+ )}+ </div>+ )}++ {/* List Interface Header */}+ {view === STORAGE_VIEWS.LIST && (+ <div+ className="+ bg-panel-footer-light dark:bg-panel-footer-dark+ px-4 py-2 flex items-center min-w-min sticky top-0 z-10+ border-b border-panel-border-light dark:border-panel-border-dark+ "+ >+ <SelectAllCheckbox />+ <Typography.Text style={{ width: '30%', minWidth: '250px' }}>Name</Typography.Text>+ <Typography.Text style={{ width: '15%', minWidth: '100px' }}>Size</Typography.Text>+ <Typography.Text style={{ width: '15%', minWidth: '100px' }}>Type</Typography.Text>+ <Typography.Text style={{ width: '20%', minWidth: '180px' }}>Created at</Typography.Text>+ <Typography.Text style={{ width: '20%', minWidth: '180px' }}>+ Last modified at+ </Typography.Text>+ <div className="w-3" />+ </div>+ )}++ {/* Shimmering loaders while fetching contents */}+ {column.status === STORAGE_ROW_STATUS.LOADING && (+ <div+ className={`+ ${fullWidth ? 'w-full' : 'w-64 border-r border-gray-500'}+ ${view === STORAGE_VIEWS.COLUMNS ? 'my-1' : 'mb-1'}+ flex-shrink-0 overflow-auto flex flex-col space-y-1+ `}+ >+ <ShimmeringLoader />+ <ShimmeringLoader />+ <ShimmeringLoader />+ </div>+ )}++ {/* Column Interface */}+ <InfiniteList+ items={columnItems}+ itemProps={{+ view,+ columnIndex: index,+ selectedItems,+ openedFolders,+ selectedFilePreview,+ onCheckItem,+ onSelectFile,+ onRenameFile,+ onCopyFileURL,+ onDownloadFile,+ onSelectFolder,+ onRenameFolder,+ onCreateFolder,+ onSelectItemDelete,+ onSelectItemRename,+ onSelectItemMove,+ }}+ ItemComponent={FileExplorerRow}+ getItemSize={(index) => {+ if (index !== 0 && index === columnItems.length) return 85+ return 37+ }}+ // Scaffold props for infinite loading+ hasNextPage={false}+ isLoadingNextPage={false}+ onLoadNextPage={() => {}}+ />++ {/* Search empty state */}+ {isSearching && columnItems.length === 0 && column.items.length > 0 && (+ <div className="text-sm mx-3 my-2 opacity-50">No results found based on your search</div>+ )}++ {/* Drag drop upload CTA for when column is empty */}+ {column.items.length === 0 && column.status !== STORAGE_ROW_STATUS.LOADING && (+ <div className="h-full w-full flex flex-col items-center justify-center">+ <img src="/img/storage-placeholder.svg" className="opacity-75" />+ <Typography.Text>+ <p className="my-3 opacity-75">Drop your files here</p>+ </Typography.Text>+ <Typography.Text type="secondary">+ <p className="text-sm text-center w-40">+ Or upload them via the "Upload file" button above+ </p>+ </Typography.Text>+ </div>+ )}++ {/* Drag drop upload CTA for when column has files */}+ <DragOverOverlay+ isOpen={isDraggedOver}+ onDragLeave={() => setIsDraggedOver(false)}+ onDrop={() => setIsDraggedOver(false)}+ folderIsEmpty={+ column.items.filter((item) => item.status !== STORAGE_ROW_STATUS.LOADING).length === 0+ }+ />++ {/* List interface footer */}+ {view === STORAGE_VIEWS.LIST && (+ <div+ className="+ bg-panel-footer-light dark:bg-panel-footer-dark+ px-4 py-2 flex items-center min-w-min sticky bottom-0 z-10+ "+ >+ <Typography.Text small>+ {formatBytes(columnItemsSize)} for {columnItems.length} items+ </Typography.Text>+ </div>+ )}+ </div>+ )+}++export default FileExplorerColumndiff --git a/studio/components/to-be-cleaned/Storage/StorageExplorer/FileExplorerHeader.js b/studio/components/to-be-cleaned/Storage/StorageExplorer/FileExplorerHeader.jsnew file mode 100644index 00000000000..53056c329cf--- /dev/null+++ b/studio/components/to-be-cleaned/Storage/StorageExplorer/FileExplorerHeader.js@@ -0,0 +1,376 @@+import React, { useState, useEffect, useCallback, useRef } from 'react'+import { compact, debounce, isEqual } from 'lodash'+import {+ Button,+ Dropdown,+ Input,+ IconChevronLeft,+ IconChevronRight,+ IconColumns,+ IconChevronsDown,+ IconSearch,+ IconFolderPlus,+ IconUpload,+ IconX,+ IconEdit2,+ IconLoader,+ Typography,+} from '@supabase/ui'+import { STORAGE_VIEWS, STORAGE_SORT_BY } from '../Storage.constants.ts'++const HeaderPathEdit = ({ loading, breadcrumbs, togglePathEdit }) => {+ return (+ <div+ className={`group ${!loading ? 'cursor-pointer' : ''}`}+ onClick={() => (!loading.isLoading ? togglePathEdit() : {})}+ >+ {loading.isLoading ? (+ <div className="ml-2 flex items-center">+ <Typography.Text>+ <IconLoader size={16} strokeWidth={2} className="animate-spin" />+ </Typography.Text>+ <Typography.Text>+ <p className="text-sm ml-3">{loading.message}</p>+ </Typography.Text>+ </div>+ ) : (+ <div className="cursor-pointer flex items-center">+ <Typography.Text>+ <p className="text-sm ml-3">{breadcrumbs[breadcrumbs.length - 1] || ''}</p>+ </Typography.Text>+ <div className="ml-3 space-x-2 flex items-center transition opacity-0 group-hover:opacity-100">+ <Button type="text" icon={<IconEdit2 />}>+ Navigate+ </Button>+ </div>+ </div>+ )}+ </div>+ )+}++const HeaderBreadcrumbs = ({ loading, breadcrumbs, selectBreadcrumb }) => {+ // Max 5 crumbs, otherwise replace middle segment with ellipsis and only+ // have the first 2 and last 2 crumbs visible+ const ellipsis = '...'+ const breadcrumbsWithIndexes = breadcrumbs.map((name, index) => {+ return { name, index }+ })++ const formattedBreadcrumbs =+ breadcrumbsWithIndexes.length <= 5+ ? breadcrumbsWithIndexes+ : breadcrumbsWithIndexes+ .slice(0, 2)+ .concat([{ name: ellipsis, index: -1 }])+ .concat(+ breadcrumbsWithIndexes.slice(+ breadcrumbsWithIndexes.length - 2,+ breadcrumbsWithIndexes.length+ )+ )++ return loading.isLoading ? (+ <div className="ml-2 flex items-center">+ <Typography.Text>+ <IconLoader size={16} strokeWidth={2} className="animate-spin" />+ </Typography.Text>+ <Typography.Text>+ <p className="text-sm ml-3">{loading.message}</p>+ </Typography.Text>+ </div>+ ) : (+ <div className="flex items-center ml-3">+ {formattedBreadcrumbs.map((crumb, idx) => (+ <div className="flex items-center" key={crumb.name}>+ {idx !== 0 && (+ <Typography.Text>+ <IconChevronRight size={10} strokeWidth={2} className="mx-3" />+ </Typography.Text>+ )}+ <Typography.Text>+ <p+ key={crumb.name}+ className={`text-sm truncate ${crumb.name !== ellipsis ? 'cursor-pointer' : ''}`}+ style={{ maxWidth: '6rem' }}+ onClick={() => (crumb.name !== ellipsis ? selectBreadcrumb(crumb.index) : {})}+ >+ {crumb.name}+ </p>+ </Typography.Text>+ </div>+ ))}+ </div>+ )+}++const FileExplorerHeader = ({+ view = STORAGE_VIEWS.COLUMNS,+ sortBy = STORAGE_SORT_BY.NAME,+ loading = {},+ breadcrumbs = [],+ backDisabled = false,+ isSearching = false,+ itemSearchString = '',+ setItemSearchString = () => {},+ onSetPathByString = () => {},+ onChangeView = () => {},+ onChangeSortBy = () => {},+ onToggleSearch = () => {},+ onFilesUpload = () => {},+ onSelectBack = () => {},+ onSelectCreateFolder = () => {},+ onSelectBreadcrumb = () => {},+}) => {+ const debounceDuration = 300+ const [isEditingPath, setIsEditingPath] = useState(false)+ const [pathString, setPathString] = useState('')+ const [searchString, setSearchString] = useState('')++ const uploadButtonRef = useRef(null)+ const previousBreadcrumbs = useRef(null)++ useEffect(() => {+ if (itemSearchString) setSearchString(itemSearchString)+ }, [])++ useEffect(() => {+ // [Joshen] Somehow toggle search triggers this despite breadcrumbs+ // being unchanged. Manually doing a prop check to fix this+ if (!isEqual(previousBreadcrumbs.current, breadcrumbs)) {+ setIsEditingPath(false)+ previousBreadcrumbs.current = breadcrumbs+ }+ }, [breadcrumbs])++ const searchInputHandler = useCallback(debounce(setItemSearchString, debounceDuration), [])+ const onSearchInputUpdate = (event) => {+ setSearchString(event.target.value)+ searchInputHandler(event.target.value)+ }++ const onSelectUpload = () => {+ if (uploadButtonRef.current) {+ uploadButtonRef.current.click()+ }+ }++ /** Methods for path editings */+ const togglePathEdit = () => {+ setIsEditingPath(true)+ setPathString(breadcrumbs.slice(1).join('/'))+ if (isSearching) onCancelSearch()+ }++ const onUpdatePathString = (event) => {+ setPathString(event.target.value)+ }++ const navigateByPathString = (event) => {+ if (event) {+ event.preventDefault()+ event.stopPropagation()+ }+ setIsEditingPath(false)+ onSetPathByString(compact(pathString.split('/')))+ }++ const cancelSetPathString = () => {+ setIsEditingPath(false)+ }++ /** Methods for searching */+ // Search is currently within local scope when the view is set to list+ // Searching for column view requires much more thinking+ const toggleSearch = () => {+ setIsEditingPath(false)+ onToggleSearch(true)+ }+ const onCancelSearch = () => {+ setSearchString('')+ onToggleSearch(false)+ }++ /** Methods for breadcrumbs */++ const selectBreadcrumb = (columnIndex) => {+ onSelectBreadcrumb(columnIndex)+ }++ return (+ <div+ className="+ bg-panel-header-light dark:bg-panel-header-dark+ border-b border-panel-border-light dark:border-panel-border-dark+ px-3 h-[40px] flex rounded-t-md items-center justify-between z-10"+ >+ {/* Navigation */}+ <div className={`flex items-center ${isEditingPath ? 'w-1/2' : ''}`}>+ {breadcrumbs.length > 0 && (+ <Button+ icon={<IconChevronLeft size={16} strokeWidth={1} />}+ size="tiny"+ type="text"+ className={breadcrumbs.length > 1 ? 'opacity-100' : 'opacity-25'}+ disabled={backDisabled}+ onClick={() => {+ setIsEditingPath(false)+ onSelectBack()+ }}+ />+ )}+ {isEditingPath ? (+ <form className="ml-2 flex-grow">+ <Input+ autoFocus+ key="pathSet"+ type="text"+ value={pathString}+ onChange={onUpdatePathString}+ placeholder="e.g Parent Folder/Child Folder"+ actions={[+ <Button+ key="cancelPath"+ type="default"+ htmlType="button"+ onClick={cancelSetPathString}+ >+ Cancel+ </Button>,+ <Button+ key="setPath"+ type="primary"+ htmlType="submit"+ onClick={navigateByPathString}+ >+ Go to folder+ </Button>,+ ]}+ />+ </form>+ ) : view === STORAGE_VIEWS.COLUMNS ? (+ <HeaderPathEdit+ loading={loading}+ breadcrumbs={breadcrumbs}+ togglePathEdit={togglePathEdit}+ />+ ) : (+ <HeaderBreadcrumbs+ loading={loading}+ breadcrumbs={breadcrumbs}+ selectBreadcrumb={selectBreadcrumb}+ />+ )}+ </div>++ {/* Actions */}+ <div className="flex items-center space-x-4">+ <div className="flex items-center space-x-1">+ <Dropdown+ overlay={[+ <Dropdown.RadioGroup key="viewOptions" value={view} onChange={onChangeView}>+ <Dropdown.Radio value={STORAGE_VIEWS.COLUMNS}>Columns</Dropdown.Radio>+ <Dropdown.Radio value={STORAGE_VIEWS.LIST}>List</Dropdown.Radio>+ </Dropdown.RadioGroup>,+ ]}+ >+ <Button+ as="span"+ icon={<IconColumns size={16} strokeWidth={2} />}+ type="text"+ disabled={breadcrumbs.length === 0}+ >+ Views+ </Button>+ </Dropdown>+ <Dropdown+ overlay={[+ <Dropdown.RadioGroup key="sortOptions" value={sortBy} onChange={onChangeSortBy}>+ <Dropdown.Radio value={STORAGE_SORT_BY.NAME}>Sort by name</Dropdown.Radio>+ <Dropdown.Radio value={STORAGE_SORT_BY.CREATED_AT}>+ Sort by last created+ </Dropdown.Radio>+ <Dropdown.Radio value={STORAGE_SORT_BY.UPDATED_AT}>+ Sort by last modified+ </Dropdown.Radio>+ <Dropdown.Radio value={STORAGE_SORT_BY.LAST_ACCESSED_AT}>+ Sort by last accessed+ </Dropdown.Radio>+ </Dropdown.RadioGroup>,+ ]}+ >+ <Button+ as="span"+ icon={<IconChevronsDown size={16} strokeWidth={2} />}+ type="text"+ disabled={breadcrumbs.length === 0}+ >+ Sort+ </Button>+ </Dropdown>+ </div>+ <div className="border-r border-panel-border-light dark:border-panel-border-dark h-6" />+ <div className="flex items-center space-x-1">+ <div className="hidden">+ <input ref={uploadButtonRef} type="file" multiple onChange={onFilesUpload} />+ </div>+ <Button+ icon={<IconUpload size={16} strokeWidth={2} />}+ type="text"+ disabled={breadcrumbs.length === 0}+ onClick={onSelectUpload}+ >+ Upload file+ </Button>+ <Button+ icon={<IconFolderPlus size={16} strokeWidth={2} />}+ type="text"+ disabled={breadcrumbs.length === 0}+ onClick={() => onSelectCreateFolder()}+ >+ Create folder+ </Button>+ </div>++ {/* Search: Disabled for now */}+ {view === STORAGE_VIEWS.LIST && (+ <>+ <div className="border-r border-panel-border-light dark:border-panel-border-dark h-6" />+ <div className="flex items-center">+ {isSearching ? (+ <Input+ size="tiny"+ autoFocus+ className="w-64"+ icon={<IconSearch size={'tiny'} strokeWidth={2} />}+ actions={[+ <IconX+ key="close"+ className="text-white cursor-pointer mx-2"+ size={'tiny'}+ strokeWidth={2}+ onClick={onCancelSearch}+ />,+ ]}+ placeholder="Search for a file or folder"+ type="text"+ value={searchString}+ onChange={onSearchInputUpdate}+ />+ ) : (+ <Button+ icon={<IconSearch size={16} strokeWidth={2} />}+ size="tiny"+ type="text"+ onClick={toggleSearch}+ />+ )}+ </div>+ </>+ )}+ </div>+ </div>+ )+}++export default FileExplorerHeaderdiff --git a/studio/components/to-be-cleaned/Storage/StorageExplorer/FileExplorerHeaderSelection.js b/studio/components/to-be-cleaned/Storage/StorageExplorer/FileExplorerHeaderSelection.jsnew file mode 100644index 00000000000..0a2fd53df1e--- /dev/null+++ b/studio/components/to-be-cleaned/Storage/StorageExplorer/FileExplorerHeaderSelection.js@@ -0,0 +1,54 @@+import { Button, IconDownload, IconTrash2, IconMove, IconX } from '@supabase/ui'++const FileExplorerHeaderSelection = ({+ selectedItems = [],+ onSelectItemsDownload = () => {},+ onSelectItemsDelete = () => {},+ onSelectItemsMove = () => {},+ onUnselectAllItems = () => {},+}) => {+ return (+ <div className="px-1 py-1 rounded-t-md bg-green-500 flex items-center shadow z-10 h-[40px]">+ <Button+ icon={<IconX size={16} strokeWidth={2} />}+ type="primary"+ shadow={false}+ onClick={onUnselectAllItems}+ />+ <div className="flex items-center space-x-3 ml-4">+ <p className="text-sm text-white mb-0">+ <span style={{ fontVariantNumeric: 'tabular-nums' }}>{selectedItems.length}</span> items+ selected+ </p>+ {/* [Joshen] Disabled multi download for now */}+ <Button+ icon={<IconDownload size={16} strokeWidth={2} />}+ type="primary"+ shadow={false}+ onClick={onSelectItemsDownload}+ >+ Download+ </Button>+ <div className="border-r border-green-700 py-3 opacity-50" />+ <Button+ icon={<IconTrash2 size={16} strokeWidth={2} />}+ type="primary"+ shadow={false}+ onClick={onSelectItemsDelete}+ >+ Delete+ </Button>+ <Button+ icon={<IconMove size={16} strokeWidth={2} />}+ type="primary"+ shadow={false}+ onClick={onSelectItemsMove}+ >+ Move+ </Button>+ </div>+ </div>+ )+}++export default FileExplorerHeaderSelectiondiff --git a/studio/components/to-be-cleaned/Storage/StorageExplorer/FileExplorerRow.js b/studio/components/to-be-cleaned/Storage/StorageExplorer/FileExplorerRow.jsnew file mode 100644index 00000000000..4f7cdc09118--- /dev/null+++ b/studio/components/to-be-cleaned/Storage/StorageExplorer/FileExplorerRow.js@@ -0,0 +1,314 @@+import { useState, useRef, useEffect } from 'react'+import { find, has, isEmpty, isEqual } from 'lodash'+import {+ Checkbox,+ Dropdown,+ IconMoreVertical,+ IconLoader,+ IconImage,+ IconMusic,+ IconFilm,+ IconFile,+ Typography,+} from '@supabase/ui'+import SVG from 'react-inlinesvg'+import { useContextMenu } from 'react-contexify'+import {+ STORAGE_VIEWS,+ STORAGE_ROW_TYPES,+ STORAGE_ROW_STATUS,+ CONTEXT_MENU_KEYS,+} from '../Storage.constants.ts'+import { formatBytes } from 'lib/helpers'++const RowIcon = ({ view, status, fileType, mimeType }) => {+ if (view === STORAGE_VIEWS.LIST && status === STORAGE_ROW_STATUS.LOADING) {+ return (+ <Typography.Text>+ <IconLoader size={16} strokeWidth={2} className="animate-spin" />+ </Typography.Text>+ )+ }++ if (fileType === STORAGE_ROW_TYPES.BUCKET || fileType === STORAGE_ROW_TYPES.FOLDER) {+ const iconSrc =+ fileType === STORAGE_ROW_TYPES.BUCKET+ ? '/img/bucket-filled.svg'+ : fileType === STORAGE_ROW_TYPES.FOLDER+ ? '/img/folder-filled.svg'+ : '/img/file-filled.svg'+ return (+ <Typography.Text>+ <SVG+ src={iconSrc}+ alt={fileType}+ preProcessor={(code) =>+ code.replace(/svg/, 'svg class="w-4 h-4 text-color-inherit opacity-75"')+ }+ />+ </Typography.Text>+ )+ }++ if (mimeType?.includes('image')) {+ return (+ <Typography.Text>+ <IconImage size={16} strokeWidth={2} />+ </Typography.Text>+ )+ }++ if (mimeType?.includes('audio')) {+ return (+ <Typography.Text>+ <IconMusic size={16} strokeWidth={2} />+ </Typography.Text>+ )+ }++ if (mimeType?.includes('video')) {+ return (+ <Typography.Text>+ <IconFilm size={16} strokeWidth={2} />+ </Typography.Text>+ )+ }++ return (+ <Typography.Text>+ <IconFile size={16} strokeWidth={2} />+ </Typography.Text>+ )+}++const FileExplorerRow = ({+ item = {},+ view = STORAGE_VIEWS.COLUMNS,+ columnIndex = 0,+ selectedItems = [],+ openedFolders = [],+ selectedFilePreview = {},++ onCheckItem = () => {},+ onSelectFile = () => {},+ onRenameFile = () => {},+ onCopyFileURL = () => {},+ onDownloadFile = () => {},+ onSelectFolder = () => {},+ onRenameFolder = () => {},+ onCreateFolder = () => {},+ onSelectItemDelete = () => {},+ onSelectItemRename = () => {},+ onSelectItemMove = () => {},+}) => {+ const isSelected = find(selectedItems, item) !== undefined+ const isOpened =+ openedFolders.length > columnIndex ? isEqual(openedFolders[columnIndex], item) : false+ const isPreviewed = !isEmpty(selectedFilePreview) && isEqual(selectedFilePreview.id, item.id)++ if (item.status === STORAGE_ROW_STATUS.EDITING) {+ const inputRef = useRef(null)+ const [itemName, setItemName] = useState(item.name)++ useEffect(() => {+ if (inputRef.current) {+ inputRef.current.select()+ }+ }, [])++ const onSetItemName = (event) => {+ event.preventDefault()+ if (item.type === STORAGE_ROW_TYPES.FILE) {+ onRenameFile(item, itemName, columnIndex)+ } else if (has(item, 'id')) {+ onRenameFolder(item, itemName, columnIndex)+ } else {+ onCreateFolder(itemName, columnIndex)+ }+ }++ return (+ <div className="storage-row flex items-center justify-between rounded bg-gray-500">+ <div className="flex flex-grow items-center h-full px-4">+ <div className="">+ <RowIcon+ view={view}+ status={item.status}+ fileType={item.type}+ mimeType={item.metadata?.mimetype}+ />+ </div>+ <form className="h-9">+ <input+ autoFocus+ ref={inputRef}+ className="storage-row-input text-sm ml-3 p-0 px-1 h-full"+ type="text"+ value={itemName}+ onChange={(event) => setItemName(event.target.value)}+ onBlur={onSetItemName}+ />+ <button className="hidden" type="submit" onClick={onSetItemName} />+ </form>+ </div>+ </div>+ )+ }++ const itemWithColumnIndex = { ...item, columnIndex }+ const rowOptions =+ item.type === STORAGE_ROW_TYPES.BUCKET+ ? [{ name: 'Delete', onClick: () => onSelectItemDelete(itemWithColumnIndex) }]+ : item.type === STORAGE_ROW_TYPES.FOLDER+ ? [+ { name: 'Rename', onClick: () => onSelectItemRename(itemWithColumnIndex) },+ { name: 'Delete', onClick: () => onSelectItemDelete(itemWithColumnIndex) },+ ]+ : [+ { name: 'Copy URL', onClick: () => onCopyFileURL(itemWithColumnIndex) },+ { name: 'Rename', onClick: () => onSelectItemRename(itemWithColumnIndex) },+ { name: 'Move', onClick: () => onSelectItemMove(itemWithColumnIndex) },+ { name: 'Download', onClick: () => onDownloadFile(itemWithColumnIndex) },+ { name: 'Delete', onClick: () => onSelectItemDelete(itemWithColumnIndex) },+ ]++ const size = item.metadata ? formatBytes(item.metadata.size) : '-'+ const mimeType = item.metadata ? item.metadata.mimetype : '-'+ const createdAt = item.created_at ? new Date(item.created_at).toLocaleString() : '-'+ const updatedAt = item.updated_at ? new Date(item.updated_at).toLocaleString() : '-'++ const { show } = useContextMenu()+ const displayMenu = (event, rowType) => {+ show(event, {+ id:+ rowType === STORAGE_ROW_TYPES.FILE+ ? CONTEXT_MENU_KEYS.STORAGE_ITEM+ : CONTEXT_MENU_KEYS.STORAGE_FOLDER,+ props: {+ item: itemWithColumnIndex,+ },+ })+ }++ return (+ <div+ className="border-b dark:border-dark"+ onContextMenu={(event) => {+ event.stopPropagation()+ item.type === STORAGE_ROW_TYPES.FILE+ ? displayMenu(event, STORAGE_ROW_TYPES.FILE)+ : displayMenu(event, STORAGE_ROW_TYPES.FOLDER)+ }}+ >+ <div+ className={`+ storage-row px-4 flex items-center justify-between hover:bg-panel-footer-light dark:hover:bg-panel-footer-dark+ ${isOpened ? 'bg-bg-secondary-light dark:bg-bg-alt-dark' : ''} ${+ isPreviewed ? 'bg-green-500 hover:bg-green-500 dark:hover:bg-green-500' : ''+ } ${view === STORAGE_VIEWS.LIST ? 'min-w-min' : ''}+ ${item.status !== STORAGE_ROW_STATUS.LOADING ? 'cursor-pointer' : ''}+ `}+ >+ <div className="w-full flex flex-grow items-center">+ {/* Row Checkbox / Row Icon */}+ <div+ className="relative group"+ style={{ width: view === STORAGE_VIEWS.COLUMNS ? '15%' : 'auto' }}+ onClick={(event) => event.stopPropagation()}+ >+ {!isSelected && (+ <div+ className={`absolute ${+ item.type === STORAGE_ROW_TYPES.FILE ? 'group-hover:hidden' : ''+ }`}+ style={{ top: '2px' }}+ >+ <RowIcon+ view={view}+ status={item.status}+ fileType={item.type}+ mimeType={item.metadata?.mimetype}+ />+ </div>+ )}+ <Checkbox+ label={''}+ className={`w-full ${item.type !== STORAGE_ROW_TYPES.FILE ? 'invisible' : ''} ${+ isSelected ? 'opacity-100' : 'opacity-0 group-hover:opacity-100'+ }`}+ checked={isSelected}+ onChange={() => onCheckItem(itemWithColumnIndex)}+ />+ </div>++ {/* Row Text */}+ <div+ className="flex items-center h-full py-2"+ style={{ width: view === STORAGE_VIEWS.COLUMNS ? '80%' : '100%' }}+ onClick={(event) => {+ event.stopPropagation()+ event.preventDefault()+ if (item.status !== STORAGE_ROW_STATUS.LOADING && !isOpened && !isPreviewed) {+ item.type === STORAGE_ROW_TYPES.FOLDER || item.type === STORAGE_ROW_TYPES.BUCKET+ ? onSelectFolder(columnIndex, item)+ : onSelectFile(columnIndex, item)+ }+ }}+ >+ {view === STORAGE_VIEWS.COLUMNS ? (+ <Typography.Text className="w-full truncate">{item.name}</Typography.Text>+ ) : (+ <>+ <Typography.Text className="truncate" style={{ width: '30%', minWidth: '250px' }}>+ {item.name}+ </Typography.Text>+ <Typography.Text className="truncate" style={{ width: '15%', minWidth: '100px' }}>+ {size}+ </Typography.Text>+ <Typography.Text className="truncate" style={{ width: '15%', minWidth: '100px' }}>+ {mimeType}+ </Typography.Text>+ <Typography.Text className="truncate" style={{ width: '20%', minWidth: '180px' }}>+ {createdAt}+ </Typography.Text>+ <Typography.Text className="truncate" style={{ width: '20%', minWidth: '175px' }}>+ {updatedAt}+ </Typography.Text>+ {/* The 175px here is intentional due to the irregular width of the header checkbox and row icon */}+ </>+ )}+ </div>+ {item.status === STORAGE_ROW_STATUS.LOADING ? (+ <Typography.Text>+ <IconLoader+ className={`animate-spin ${view === STORAGE_VIEWS.LIST ? 'invisible' : ''}`}+ size={16}+ strokeWidth={2}+ />+ </Typography.Text>+ ) : (+ <Dropdown+ side="bottom"+ align="end"+ overlay={[+ rowOptions.map((option) => (+ <Dropdown.Item key={option.name} onClick={option.onClick}>+ {option.name}+ </Dropdown.Item>+ )),+ ]}+ >+ <Typography.Text type="secondary">+ <div className="storage-row-menu opacity-0">+ <IconMoreVertical size={16} strokeWidth={2} />+ </div>+ </Typography.Text>+ </Dropdown>+ )}+ </div>+ </div>+ </div>+ )+}++export default FileExplorerRowdiff --git a/studio/components/to-be-cleaned/Storage/StorageExplorer/FolderContextMenu.js b/studio/components/to-be-cleaned/Storage/StorageExplorer/FolderContextMenu.jsnew file mode 100644index 00000000000..01d6629c32c--- /dev/null+++ b/studio/components/to-be-cleaned/Storage/StorageExplorer/FolderContextMenu.js@@ -0,0 +1,13 @@+import { Menu, Item } from 'react-contexify'+import 'react-contexify/dist/ReactContexify.css'++const FolderContextMenu = ({ id = '', onRenameFolder = () => {}, onDeleteFolder = () => {} }) => {+ return (+ <Menu id={id} animation="fade">+ <Item onClick={({ props }) => onRenameFolder(props.item)}>Rename</Item>+ <Item onClick={({ props }) => onDeleteFolder(props.item)}>Delete</Item>+ </Menu>+ )+}++export default FolderContextMenudiff --git a/studio/components/to-be-cleaned/Storage/StorageExplorer/ItemContextMenu.js b/studio/components/to-be-cleaned/Storage/StorageExplorer/ItemContextMenu.jsnew file mode 100644index 00000000000..241f4ae668e--- /dev/null+++ b/studio/components/to-be-cleaned/Storage/StorageExplorer/ItemContextMenu.js@@ -0,0 +1,23 @@+import { Menu, Item } from 'react-contexify'+import 'react-contexify/dist/ReactContexify.css'++const ItemContextMenu = ({+ id = '',+ onCopyFileURL = () => {},+ onSelectItemRename = () => {},+ onSelectItemMove = () => {},+ onDownloadFile = () => {},+ onSelectItemDelete = () => {},+}) => {+ return (+ <Menu id={id} animation="fade">+ <Item onClick={({ props }) => onCopyFileURL(props.item)}>Copy URL</Item>+ <Item onClick={({ props }) => onSelectItemRename(props.item)}>Rename</Item>+ <Item onClick={({ props }) => onSelectItemMove(props.item)}>Move</Item>+ <Item onClick={({ props }) => onDownloadFile(props.item)}>Download</Item>+ <Item onClick={({ props }) => onSelectItemDelete(props.item)}>Delete</Item>+ </Menu>+ )+}++export default ItemContextMenudiff --git a/studio/components/to-be-cleaned/Storage/StorageExplorer/MoveItemsModal.js b/studio/components/to-be-cleaned/Storage/StorageExplorer/MoveItemsModal.jsnew file mode 100644index 00000000000..0a6163bc5ad--- /dev/null+++ b/studio/components/to-be-cleaned/Storage/StorageExplorer/MoveItemsModal.js@@ -0,0 +1,82 @@+import { useEffect, useState } from 'react'+import { Modal, Button, Input, Space, Typography } from '@supabase/ui'++const MoveItemsModal = ({+ bucketName = '',+ visible = false,+ selectedItemsToMove = [],+ onSelectCancel = () => {},+ onSelectMove = () => {},+}) => {+ const [moving, setMoving] = useState(false)+ const [newPath, setNewPath] = useState('')++ useEffect(() => {+ setMoving(false)+ setNewPath('')+ }, [visible])++ const multipleFiles = selectedItemsToMove.length > 1++ const title = multipleFiles+ ? `Moving ${selectedItemsToMove.length} items within ${bucketName}`+ : selectedItemsToMove.length === 1+ ? `Moving ${selectedItemsToMove[0].name} within ${bucketName}`+ : ``++ const description = `Enter the path to where you'd like to move the file${+ multipleFiles ? 's' : ''+ } to.`++ const onConfirmMove = (event) => {+ if (event) {+ event.preventDefault()+ }+ setMoving(true)+ const formattedPath = newPath[0] === '/' ? newPath.slice(1) : newPath+ onSelectMove(formattedPath)+ }++ return (+ <Modal+ visible={visible}+ title={title}+ description={description}+ size="large"+ customFooter={+ <Space>+ <Button type="secondary" onClick={onSelectCancel}>+ Cancel+ </Button>+ <Button type="primary" loading={moving} onClick={onConfirmMove}>+ {moving ? 'Moving files' : 'Move files'}+ </Button>+ </Space>+ }+ >+ <div className="space-y-4 w-full pb-3">+ <form>+ <p className="mb-2">+ <Typography.Text>Path to new directory in {bucketName}:</Typography.Text>+ </p>+ <div className="flex items-center relative">+ <Input+ autoFocus+ type="text"+ className="w-full"+ placeholder="e.g folder1/subfolder2"+ value={newPath}+ onChange={(event) => setNewPath(event.target.value)}+ />+ </div>+ <p className="opacity-50 mt-2">+ <Typography.Text>Leave blank to move items to the root of the bucket</Typography.Text>+ </p>+ <button className="hidden" type="submit" onClick={onConfirmMove} />+ </form>+ </div>+ </Modal>+ )+}++export default MoveItemsModaldiff --git a/studio/components/to-be-cleaned/Storage/StorageExplorer/PreviewPane.js b/studio/components/to-be-cleaned/Storage/StorageExplorer/PreviewPane.jsnew file mode 100644index 00000000000..10ed9370862--- /dev/null+++ b/studio/components/to-be-cleaned/Storage/StorageExplorer/PreviewPane.js@@ -0,0 +1,213 @@+import {+ Button,+ Space,+ IconX,+ IconLoader,+ IconClipboard,+ IconDownload,+ IconTrash2,+ Typography,+} from '@supabase/ui'+import SVG from 'react-inlinesvg'+import { formatBytes } from 'lib/helpers'+import { Transition } from '@headlessui/react'++const PreviewFile = ({ mimeType, previewUrl }) => {+ if (!mimeType || !previewUrl) {+ return (+ <SVG+ src={'/img/file-filled.svg'}+ alt={'No preview'}+ preProcessor={(code) =>+ code.replace(/svg/, 'svg class="mx-auto w-32 h-32 text-color-inherit opacity-75"')+ }+ />+ )+ }+ if (previewUrl === 'loading') {+ return (+ <div className="w-full h-full flex items-center justify-center">+ <Typography.Text>+ <IconLoader size={16} strokeWidth={2} className="animate-spin" />+ </Typography.Text>+ </div>+ )+ }+ if (previewUrl === 'skipped') {+ return (+ <div className="w-full h-full flex flex-col items-center justify-center">+ <SVG+ src={'/img/file-filled.svg'}+ alt={'No preview'}+ preProcessor={(code) =>+ code.replace(/svg/, 'svg class="mx-auto w-32 h-32 text-color-inherit opacity-75"')+ }+ />+ <p className="text-sm text-center mt-2 w-2/5">+ <Typography.Text>File size is too large to preview in the explorer</Typography.Text>+ </p>+ </div>+ )+ }+ if (mimeType.includes('image')) {+ return (+ <div+ className="w-full h-full flex items-center justify-center bg-center bg-contain bg-no-repeat"+ style={{ backgroundImage: `url('${previewUrl}')` }}+ />+ )+ }+ if (mimeType.includes('audio')) {+ return (+ <div className="w-full h-full flex items-center justify-center px-10">+ <audio key={previewUrl} controls style={{ width: 'inherit' }}>+ <source src={previewUrl} type="audio/mpeg" />+ <Typography.Text>Your browser does not support the audio element.</Typography.Text>+ </audio>+ </div>+ )+ }+ if (mimeType.includes('video')) {+ return (+ <div className="w-full h-full flex items-center justify-center">+ <video key={previewUrl} controls style={{ maxHeight: '100%' }}>+ <source src={previewUrl} type="video/mp4" />+ <Typography.Text>Your browser does not support the video tag.</Typography.Text>+ </video>+ </div>+ )+ }+ return (+ <SVG+ src={'/img/file-filled.svg'}+ alt={'No preview'}+ preProcessor={(code) =>+ code.replace(/svg/, 'svg class="mx-auto w-32 h-32 text-color-inherit opacity-75"')+ }+ />+ )+}++const PreviewPane = ({+ isOpen = false,+ file = {},+ width = 400,+ onCopyFileURL = () => {},+ onDownloadFile = () => {},+ onSelectFileDelete = () => {},+ onClosePreviewPane = () => {},+}) => {+ const size = file.metadata ? formatBytes(file.metadata.size) : null+ const mimeType = file.metadata ? file.metadata.mimetype : null+ const createdAt = file.created_at ? new Date(file.created_at).toLocaleString() : 'Unknown'+ const updatedAt = file.updated_at ? new Date(file.updated_at).toLocaleString() : 'Unknown'++ return (+ <Transition+ show={isOpen}+ enter="transition ease-out duration-150"+ enterFrom="transform opacity-0"+ enterTo="transform opacity-100"+ leave="transition ease-in duration-100"+ leaveFrom="transform opacity-100"+ leaveTo="transform opacity-0"+ >+ <div+ className="+ bg-panel-header-light dark:bg-panel-header-dark+ h-full p-4 border-l border-panel-border-light dark:border-panel-border-dark"+ style={{ width }}+ >+ {/* Preview Header */}+ <div className="w-full flex justify-end">+ <Typography.Text type="secondary">+ <IconX+ className="cursor-pointer"+ size={16}+ strokeWidth={2}+ onClick={onClosePreviewPane}+ />+ </Typography.Text>+ </div>++ {/* Preview Thumbnail*/}+ <div className="border border-panel-border-light dark:border-panel-border-dark my-4">+ <div className="w-full h-56 2xl:h-72 flex items-center">+ <PreviewFile mimeType={mimeType} previewUrl={file.previewUrl} />+ </div>+ </div>++ <div className="w-full space-y-6">+ {/* Preview Information */}+ <div className="space-y-1">+ <div className="flex items-center">+ <Typography.Text>+ <p className="font-bold mr-2">{file.name}</p>+ </Typography.Text>+ </div>+ {mimeType && (+ <Typography.Text type="secondary">+ <p className="text-sm">+ {mimeType}+ {size && <span> - {size}</span>}+ </p>+ </Typography.Text>+ )}+ </div>++ {/* Preview Metadata */}+ <div className="space-y-2">+ <div>+ <Typography.Text>+ <Typography.Text type="secondary">+ <p className="text-sm mb-1">Added on</p>+ </Typography.Text>+ <p className="text-sm">{createdAt}</p>+ </Typography.Text>+ </div>+ <div>+ <Typography.Text>+ <Typography.Text type="secondary">+ <p className="text-sm mb-1">Last modified</p>+ </Typography.Text>+ <p className="text-sm">{updatedAt}</p>+ </Typography.Text>+ </div>+ </div>++ {/* Actions */}+ <div className="space-x-2 border-b pb-4 border-panel-border-light dark:border-panel-border-dark">+ <Space>+ <Button+ type="default"+ icon={<IconDownload size={16} strokeWidth={2} />}+ onClick={() => onDownloadFile(file)}+ >+ Download+ </Button>+ <Button+ type="default"+ icon={<IconClipboard size={16} strokeWidth={2} />}+ onClick={() => onCopyFileURL(file)}+ >+ Copy URL+ </Button>+ </Space>+ </div>+ <Button+ type="text"+ shadow={false}+ size="tiny"+ danger+ icon={<IconTrash2 size={16} strokeWidth={2} />}+ onClick={() => onSelectFileDelete(file)}+ >+ Delete file+ </Button>+ </div>+ </div>+ </Transition>+ )+}++export default PreviewPanediff --git a/studio/components/to-be-cleaned/Storage/StorageExplorer/StorageExplorer.js b/studio/components/to-be-cleaned/Storage/StorageExplorer/StorageExplorer.jsnew file mode 100644index 00000000000..b344bf1f54b--- /dev/null+++ b/studio/components/to-be-cleaned/Storage/StorageExplorer/StorageExplorer.js@@ -0,0 +1,343 @@+import { FC, useEffect, useState, useRef } from 'react'+import { observer } from 'mobx-react-lite'+import { compact, find, isEmpty, uniqBy, get } from 'lodash'++import { useStorageStore } from 'localStores/storageExplorer/StorageExplorerStore'+import { STORAGE_ROW_TYPES } from '../Storage.constants'++import FileExplorer from './FileExplorer'+import FileExplorerHeader from './FileExplorerHeader'+import FileExplorerHeaderSelection from './FileExplorerHeaderSelection'+import ConfirmDeleteModal from './ConfirmDeleteModal'+import MoveItemsModal from './MoveItemsModal'+import PreviewPane from './PreviewPane'++const StorageExplorer = observer(({ bucket }) => {+ const storageExplorerStore = useStorageStore()+ const {+ columns,+ selectedFilePreview,+ setFilePreview,+ closeFilePreview,+ selectedItems,+ setSelectedItems,+ clearSelectedItems,+ selectedItemsToDelete,+ setSelectedItemsToDelete,+ clearSelectedItemsToDelete,+ openedFolders,+ pushOpenedFolderAtIndex,+ clearOpenedFolders,+ popColumn,+ popColumnAtIndex,+ popOpenedFolders,+ popOpenedFoldersAtIndex,+ setSelectedItemToRename,+ selectedItemsToMove,+ setSelectedItemsToMove,+ clearSelectedItemsToMove,+ view,+ setView,+ sortBy,+ setSortBy,+ currentBucketName,+ copyFileURLToClipboard,+ openBucket,++ loadExplorerPreferences,+ addNewFolderPlaceholder,+ addNewFolder,+ deleteBucket,+ fetchFolderContents,+ fetchFoldersByPath,+ renameFolder,+ deleteFolder,+ uploadFiles,+ deleteFiles,+ downloadFile,+ downloadSelectedFiles,+ renameFile,+ moveFiles,+ } = storageExplorerStore++ const storageExplorerRef = useRef(null)+ const [loading, setLoading] = useState({ isLoading: false, message: '' })++ // This state exists outside of the header because FileExplorerColumn needs to listen to these as well+ // I'm keeping them outside of the mobx store as I feel that the store should contain persistent data+ // Things like showing results from a search filter is "temporary", hence we use react state to manage+ const [isSearching, setIsSearching] = useState(false)+ const [itemSearchString, setItemSearchString] = useState('')++ const previewPaneWidth = 450+ // Requires a fixed height to ensure that explorer is constrained to the viewport+ const fileExplorerHeight = window.innerHeight - 122++ useEffect(() => {+ // Load user preferences (view and sort)+ loadExplorerPreferences()+ }, [])++ useEffect(() => {+ openBucket(bucket)+ }, [bucket])++ /** Navigation methods */++ const onSelectFile = async (columnIndex, file) => {+ popColumnAtIndex(columnIndex)+ popOpenedFoldersAtIndex(columnIndex - 1)+ setFilePreview(file)+ clearSelectedItems()+ }++ const onSelectFolder = async (columnIndex, folder) => {+ closeFilePreview()+ popOpenedFoldersAtIndex(columnIndex - 1)+ pushOpenedFolderAtIndex(folder, columnIndex)+ await fetchFolderContents(folder.id, folder.name, columnIndex)+ }++ const onSetPathByString = async (paths) => {+ if (paths.length === 0) {+ popColumnAtIndex(0)+ clearOpenedFolders()+ closeFilePreview()+ } else {+ const pathString = paths.join('/')+ setLoading({ isLoading: true, message: `Navigating to ${pathString}...` })+ await fetchFoldersByPath(paths)+ setLoading({ isLoading: false, message: '' })+ }+ }++ /** Checkbox selection methods */+ /** [Joshen] We'll only support checkbox selection for files ONLY */++ const onCheckItem = (item) => {+ if (find(selectedItems, item) === undefined) {+ setSelectedItems(selectedItems.concat([item]))+ } else {+ setSelectedItems(selectedItems.filter((selectedItem) => item.id !== selectedItem.id))+ }+ closeFilePreview()+ }++ const onSelectAllItemsInColumn = (columnIndex) => {+ const columnFiles = columns[columnIndex].items.filter(+ (item) => item.type === STORAGE_ROW_TYPES.FILE+ )+ const columnFilesId = compact(columnFiles.map((item) => item.id))+ const selectedItemsFromColumn = selectedItems.filter((item) => columnFilesId.includes(item.id))++ if (selectedItemsFromColumn.length === columnFiles.length) {+ // Deselect all items from column+ const updatedSelectedItems = selectedItems.filter((item) => !columnFilesId.includes(item.id))+ setSelectedItems(updatedSelectedItems)+ } else {+ // Select all items from column+ const updatedSelectedItems = uniqBy(selectedItems.concat(columnFiles), 'id')+ setSelectedItems(updatedSelectedItems)+ }+ }++ /** File manipulation methods */++ const onSelectCreateFolder = (columnIndex = -1) => {+ addNewFolderPlaceholder(columnIndex)+ }++ const onCreateFolder = (folderName, columnIndex) => {+ addNewFolder(folderName, columnIndex)+ }++ const onRenameFolder = (folder, newName, columnIndex) => {+ renameFolder(folder, newName, columnIndex)+ }++ const onSelectItemsDelete = () => {+ setSelectedItemsToDelete(selectedItems)+ }++ const onSelectItemDelete = (file) => {+ setSelectedItemsToDelete([file])+ }++ const onSelectItemRename = (file) => {+ setSelectedItemToRename(file)+ }++ const onSelectItemsMove = () => {+ setSelectedItemsToMove(selectedItems)+ }++ const onSelectItemMove = (file) => {+ setSelectedItemsToMove([file])+ }++ const onSelectItemsDownload = async () => {+ await downloadSelectedFiles()+ }++ const onCopyFileURL = async (file) => {+ await copyFileURLToClipboard(file)+ }++ const onDownloadFile = async (file) => {+ await downloadFile(file)+ }++ const onRenameFile = async (file, newName, columnIndex) => {+ await renameFile(file, newName, columnIndex)+ }++ const onFilesUpload = async (event, columnIndex = -1) => {+ event.persist()+ const items = event.target.files || event.dataTransfer.items+ const isDrop = !isEmpty(get(event, ['dataTransfer', 'items'], []))+ await uploadFiles(items, columnIndex, isDrop)+ event.target.value = ''+ }++ const onMoveSelectedFiles = async (newPath) => {+ await moveFiles(newPath)+ }++ const onDeleteSelectedFiles = async () => {+ if (selectedItemsToDelete.length === 1) {+ const [itemToDelete] = selectedItemsToDelete+ switch (itemToDelete.type) {+ case STORAGE_ROW_TYPES.BUCKET:+ await deleteBucket(itemToDelete)+ break+ case STORAGE_ROW_TYPES.FOLDER:+ await deleteFolder(itemToDelete)+ break+ case STORAGE_ROW_TYPES.FILE:+ await deleteFiles([itemToDelete])+ break+ }+ } else {+ await deleteFiles(selectedItemsToDelete)+ }+ }++ /** Misc UI methods */++ const onSelectBack = () => {+ popColumn()+ popOpenedFolders()+ closeFilePreview()+ }++ const onSelectBreadcrumb = (columnIndex) => {+ popColumnAtIndex(columnIndex)+ }++ const onSelectColumnEmptySpace = (columnIndex) => {+ popColumnAtIndex(columnIndex)+ popOpenedFoldersAtIndex(columnIndex - 1)+ closeFilePreview()+ clearSelectedItems()+ }++ const onChangeView = (view) => setView(view)++ const onChangeSortBy = (sortBy) => setSortBy(sortBy)++ const onToggleSearch = (bool) => {+ setIsSearching(bool)+ if (bool === false) setItemSearchString('')+ }++ return (+ <div+ ref={storageExplorerRef}+ className="+ bg-bg-primary-light dark:bg-bg-primary-dark+ border border-panel-border-light dark:border-panel-border-dark+ w-full h-full rounded-md flex flex-col"+ >+ {selectedItems.length === 0 ? (+ <FileExplorerHeader+ view={view}+ sortBy={sortBy}+ loading={loading}+ breadcrumbs={columns.map((column) => column.name)}+ backDisabled={columns.length <= 1}+ isSearching={isSearching}+ itemSearchString={itemSearchString}+ setItemSearchString={setItemSearchString}+ onChangeView={onChangeView}+ onChangeSortBy={onChangeSortBy}+ onToggleSearch={onToggleSearch}+ onFilesUpload={onFilesUpload}+ onSelectBack={onSelectBack}+ onSelectCreateFolder={onSelectCreateFolder}+ onSetPathByString={onSetPathByString}+ onSelectBreadcrumb={onSelectBreadcrumb}+ />+ ) : (+ <FileExplorerHeaderSelection+ selectedItems={selectedItems}+ onSelectItemsDownload={onSelectItemsDownload}+ onSelectItemsDelete={onSelectItemsDelete}+ onSelectItemsMove={onSelectItemsMove}+ onUnselectAllItems={clearSelectedItems}+ />+ )}+ <div className="flex h-full" style={{ height: fileExplorerHeight }}>+ <FileExplorer+ view={view}+ columns={columns}+ openedFolders={openedFolders}+ selectedItems={selectedItems}+ selectedFilePreview={selectedFilePreview}+ isSearching={isSearching}+ itemSearchString={itemSearchString}+ onCheckItem={onCheckItem}+ onSelectFile={onSelectFile}+ onRenameFile={onRenameFile}+ onFilesUpload={onFilesUpload}+ onCopyFileURL={onCopyFileURL}+ onDownloadFile={onDownloadFile}+ onSelectFolder={onSelectFolder}+ onRenameFolder={onRenameFolder}+ onCreateFolder={onCreateFolder}+ onSelectItemDelete={onSelectItemDelete}+ onSelectItemRename={onSelectItemRename}+ onSelectItemMove={onSelectItemMove}+ onSelectAllItemsInColumn={onSelectAllItemsInColumn}+ onSelectColumnEmptySpace={onSelectColumnEmptySpace}+ onSelectCreateFolder={onSelectCreateFolder}+ onChangeView={onChangeView}+ onChangeSortBy={onChangeSortBy}+ />+ <PreviewPane+ isOpen={!isEmpty(selectedFilePreview)}+ file={selectedFilePreview}+ width={previewPaneWidth}+ onCopyFileURL={onCopyFileURL}+ onDownloadFile={onDownloadFile}+ onSelectFileDelete={onSelectItemDelete}+ onClosePreviewPane={closeFilePreview}+ />+ </div>+ <ConfirmDeleteModal+ visible={selectedItemsToDelete.length > 0}+ selectedItemsToDelete={selectedItemsToDelete}+ onSelectCancel={clearSelectedItemsToDelete}+ onSelectDelete={onDeleteSelectedFiles}+ />+ <MoveItemsModal+ bucketName={currentBucketName}+ visible={selectedItemsToMove.length > 0}+ selectedItemsToMove={selectedItemsToMove}+ onSelectCancel={clearSelectedItemsToMove}+ onSelectMove={onMoveSelectedFiles}+ />+ </div>+ )+})++export default StorageExplorerdiff --git a/studio/components/to-be-cleaned/Storage/StoragePolicies/StoragePolicies.constants.ts b/studio/components/to-be-cleaned/Storage/StoragePolicies/StoragePolicies.constants.tsnew file mode 100644index 00000000000..7f39337ee82--- /dev/null+++ b/studio/components/to-be-cleaned/Storage/StoragePolicies/StoragePolicies.constants.ts@@ -0,0 +1,108 @@+/**+ * ----------------------------------------------------------------+ * PostgreSQL policy templates for the storage dashboard+ * ----------------------------------------------------------------+ * id: Unique identifier for the monaco editor to dynamically refresh+ * templateName: As a display for a more descriptive title for the policy+ * description: Additional details about the template and how to make it yours+ * statement: SQL statement template for the policy+ *+ * name: Actual policy name that will be used in the editor+ * definition: Actual policy definition that will be used in the editor+ * allowedOperations: Operations to create policies for+ */++export const STORAGE_POLICY_TEMPLATES = [+ {+ id: 'policy-1',+ templateName: 'Allow access to JPG images in a public folder to anonymous users',+ description:+ 'This policy uses native postgres functions, functions from auth and storage schema',+ name: 'Give anon users access to JPG images in folder',+ statement: `+CREATE POLICY "policy_name"+ON storage.objects FOR {operation} {USING | WITH CHECK} (+ -- restrict bucket+ bucket_id = {bucket_name}+ -- allow access to only jpg file+ AND storage."extension"(name) = 'jpg'+ -- in the public folder+ AND LOWER((storage.foldername(name))[1]) = 'public'+ -- to anonymous users+ AND auth.role() = 'anon'+);+ `.trim(),+ definition: `bucket_id = {bucket_id} AND storage."extension"(name) = 'jpg' AND LOWER((storage.foldername(name))[1]) = 'public' AND auth.role() = 'anon'`,+ allowedOperations: [],+ },+ {+ id: 'policy-2',+ templateName: 'Give users access to only their own a top level folder named as uid',+ description:+ 'For example a user with id d7bed83c-44a0-4a4f-925f-efc384ea1e50 will be able to access anything under the folder d7bed83c-44a0-4a4f-925f-efc384ea1e50/',+ name: 'Give users access to own folder',+ statement: `+CREATE POLICY "policy_name"+ON storage.objects FOR {operation} {USING | WITH CHECK} (+ -- restrict bucket+ bucket_id = {bucket_name}+ and auth.uid()::text = (storage.foldername(name))[1]+);+ `.trim(),+ definition: `bucket_id = {bucket_id} AND auth.uid()::text = (storage.foldername(name))[1]`,+ allowedOperations: [],+ },+ {+ id: 'policy-3',+ templateName: 'Give users access to a folder only to authenticated users',+ description:+ 'This policy gives users access to a folder (e.g private) only if they are authenticated',+ name: 'Give users authenticated access to folder',+ statement: `+CREATE POLICY "policy_name"+ON storage.objects FOR {operation} {USING | WITH CHECK} (+ -- restrict bucket+ bucket_id = {bucket_name}+ AND (storage.foldername(name))[1] = 'private'+ AND auth.role() = 'authenticated'+);+ `.trim(),+ definition: `bucket_id = {bucket_id} AND (storage.foldername(name))[1] = 'private' AND auth.role() = 'authenticated'`,+ allowedOperations: [],+ },+ {+ id: 'policy-4',+ templateName: 'Give access to a nested folder called admin/assets only to a specific user',+ description:+ 'This policy gives read access to all authenticated users for your project to the folder "public"',+ name: 'Give access to a folder',+ statement: `+CREATE POLICY "policy_name"+ON storage.objects FOR {operation} {USING | WITH CHECK} (+ -- restrict bucket+ bucket_id = {bucket_name}+ AND (storage.foldername(name))[1] = 'admin' AND (storage.foldername(name))[2] = 'assets'+ AND auth.uid()::text = 'd7bed83c-44a0-4a4f-925f-efc384ea1e50'+);+ `.trim(),+ definition: `bucket_id = {bucket_id} AND (storage.foldername(name))[1] = 'admin' AND (storage.foldername(name))[2] = 'assets' AND auth.uid()::text = 'd7bed83c-44a0-4a4f-925f-efc384ea1e50'`,+ allowedOperations: [],+ },+ {+ id: 'policy-5',+ templateName: 'Give access to a file to a user',+ description: 'This policy gives access to a specific file to a specific user',+ name: 'Give access to a file to user',+ statement: `+CREATE POLICY "policy_name"+ON storage.objects FOR {operation} {USING | WITH CHECK} (+ -- restrict bucket+ bucket_id = {bucket_name}+ AND name = 'admin/assets/Costa Rican Frog.jpg'+ AND auth.uid()::text = 'd7bed83c-44a0-4a4f-925f-efc384ea1e50'+);+ `.trim(),+ definition: `bucket_id = {bucket_id} AND name = 'admin/assets/Costa Rican Frog.jpg' AND auth.uid()::text = 'd7bed83c-44a0-4a4f-925f-efc384ea1e50'`,+ allowedOperations: [],+ },+]diff --git a/studio/components/to-be-cleaned/Storage/StoragePolicies/StoragePolicies.js b/studio/components/to-be-cleaned/Storage/StoragePolicies/StoragePolicies.jsnew file mode 100644index 00000000000..b63036c51e2--- /dev/null+++ b/studio/components/to-be-cleaned/Storage/StoragePolicies/StoragePolicies.js@@ -0,0 +1,229 @@+import { useEffect, useState } from 'react'+import { observer } from 'mobx-react-lite'+import { Typography } from '@supabase/ui'+import { find, get, isEmpty, filter } from 'lodash'+import toast from 'react-hot-toast'++import { useStore } from 'hooks'+import { formatPoliciesForStorage } from '../Storage.utils'+import StoragePoliciesPlaceholder from './StoragePoliciesPlaceholder'+import StoragePoliciesBucketRow from './StoragePoliciesBucketRow'+import StoragePoliciesEditPolicyModal from './StoragePoliciesEditPolicyModal'+import ConfirmModal from 'components/to-be-cleaned/ModalsDeprecated/ConfirmModalV2'+import { useStorageStore } from 'localStores/storageExplorer/StorageExplorerStore'++import PolicyEditorModal from 'components/to-be-cleaned/Auth/PolicyEditorModal'++const StoragePolicies = () => {+ const { meta } = useStore()+ const storageStore = useStorageStore()+ const { buckets } = storageStore++ const [policies, setPolicies] = useState([])+ const [selectedPolicyToEdit, setSelectedPolicyToEdit] = useState({})+ const [selectedPolicyToDelete, setSelectedPolicyToDelete] = useState({})+ const [isEditingPolicyForBucket, setIsEditingPolicyForBucket] = useState({})++ // Only use storage policy editor when creating new policies for buckets+ const showStoragePolicyEditor =+ isEmpty(selectedPolicyToEdit) &&+ !isEmpty(isEditingPolicyForBucket) &&+ get(isEditingPolicyForBucket, ['bucket'], '').length > 0++ const showGeneralPolicyEditor = !isEmpty(isEditingPolicyForBucket) && !showStoragePolicyEditor++ // Policies under storage.objects+ const storageObjectsPolicies = filter(policies, { table: 'objects' })+ const formattedStorageObjectPolicies = formatPoliciesForStorage(storageObjectsPolicies)+ const ungroupedPolicies = get(+ find(formattedStorageObjectPolicies, { name: 'Ungrouped' }),+ ['policies'],+ []+ )++ // Policies under storage.buckets+ const storageBucketPolicies = filter(policies, { table: 'buckets' })++ useEffect(() => {+ fetchPolicies()+ }, [])++ const fetchPolicies = async () => {+ if (meta) {+ await meta.policies.load()+ const storagePolicies =+ meta?.policies.list((policy) => policy.schema === 'storage', {+ allSchemas: true,+ }) ?? []+ setPolicies(storagePolicies)+ }+ }++ const onSelectPolicyAdd = (bucketName = '', table = '') => {+ setSelectedPolicyToEdit({})+ setIsEditingPolicyForBucket({ bucket: bucketName, table })+ }++ const onSelectPolicyEdit = (policy, bucketName = '', table = '') => {+ setIsEditingPolicyForBucket({ bucket: bucketName, table })+ setSelectedPolicyToEdit(policy)+ }++ const onCancelPolicyEdit = () => {+ setIsEditingPolicyForBucket({})+ }++ const onSelectPolicyDelete = (policy) => setSelectedPolicyToDelete(policy)+ const onCancelPolicyDelete = () => setSelectedPolicyToDelete({})++ const onSavePolicySuccess = async () => {+ toast.success('Policy successfully saved!')+ await fetchPolicies()+ onCancelPolicyEdit()+ }++ /*+ Functions that involve the CRUD for policies+ For each API call within the Promise.all, return true if an error occured, else return false+ */+ const onCreatePolicies = async (payloads) => {+ return await Promise.all(+ payloads.map(async (payload) => {+ const res = await meta.policies.create(payload)+ if (res.error) {+ toast.error(`Error adding policy: ${res.error.message}`)+ return true+ }+ return false+ })+ )+ }++ const onCreatePolicy = async (payload) => {+ const res = await meta.policies.create(payload)+ if (res.error) {+ toast.error(`Error adding policy: ${res.error.message}`)+ return true+ }+ return false+ }++ const onUpdatePolicy = async (payload) => {+ const res = await meta.policies.update(payload.id, payload)+ if (res.error) {+ toast.error(`Error updating policy: ${res.error.message}`)+ return true+ }+ return false+ }++ const onDeletePolicy = async () => {+ const res = await meta.policies.del(selectedPolicyToDelete.id)+ if (res.error) {+ toast.error(`Error deleting policy: ${res.error.message}`)+ } else {+ toast.success('Successfully deleted policy!')+ }+ setSelectedPolicyToDelete({})+ await fetchPolicies()+ }++ return (+ <div className="flex flex-col w-full min-h-full">+ <Typography.Title level={4} className="mb-0">+ Storage policies+ </Typography.Title>+ <Typography.Text className="opacity-50">+ Safeguard your files with policies that define the operations allowed for your users at the+ bucket level.+ </Typography.Text>++ <div className="space-y-4 mt-4">+ {buckets.length === 0 && <StoragePoliciesPlaceholder />}++ {/* Sections for policies grouped by buckets */}+ {buckets.map((bucket) => {+ const bucketPolicies = get(+ find(formattedStorageObjectPolicies, { name: bucket.name }),+ ['policies'],+ []+ )+ return (+ <StoragePoliciesBucketRow+ key={bucket.name}+ table="objects"+ label={bucket.name}+ bucket={bucket}+ policies={bucketPolicies}+ onSelectPolicyAdd={onSelectPolicyAdd}+ onSelectPolicyEdit={onSelectPolicyEdit}+ onSelectPolicyDelete={onSelectPolicyDelete}+ />+ )+ })}++ <div className="w-full border-b border-gray-600 !mb-4" />+ <Typography.Text className="opacity-50">+ You may also write policies for the tables under the storage schema directly for greater+ control+ </Typography.Text>++ {/* Section for policies under storage.objects that are not tied to any buckets */}+ <StoragePoliciesBucketRow+ table="objects"+ label="Other policies under storage.objects"+ policies={ungroupedPolicies}+ onSelectPolicyAdd={onSelectPolicyAdd}+ onSelectPolicyEdit={onSelectPolicyEdit}+ onSelectPolicyDelete={onSelectPolicyDelete}+ />++ {/* Section for policies under storage.buckets */}+ <StoragePoliciesBucketRow+ table="buckets"+ label="Policies under storage.buckets"+ policies={storageBucketPolicies}+ onSelectPolicyAdd={onSelectPolicyAdd}+ onSelectPolicyEdit={onSelectPolicyEdit}+ onSelectPolicyDelete={onSelectPolicyDelete}+ />+ </div>++ {/* Only used for adding policies to buckets */}+ <StoragePoliciesEditPolicyModal+ visible={showStoragePolicyEditor}+ bucketName={isEditingPolicyForBucket.bucket}+ onSelectCancel={onCancelPolicyEdit}+ onCreatePolicies={onCreatePolicies}+ onSaveSuccess={onSavePolicySuccess}+ />++ {/* Adding policies to objets/buckets table or editting any policy uses the general policy editor */}+ <PolicyEditorModal+ visible={showGeneralPolicyEditor}+ schema="storage"+ table={isEditingPolicyForBucket.table}+ target={isEditingPolicyForBucket.bucket}+ selectedPolicyToEdit={selectedPolicyToEdit}+ onSelectCancel={onCancelPolicyEdit}+ onCreatePolicy={onCreatePolicy}+ onUpdatePolicy={onUpdatePolicy}+ onSaveSuccess={onSavePolicySuccess}+ />++ <ConfirmModal+ danger+ visible={!isEmpty(selectedPolicyToDelete)}+ title="Confirm to delete policy"+ description={`This is permanent! Are you sure you want to delete the policy "${selectedPolicyToDelete.name}"`}+ buttonLabel="Delete"+ buttonLoadingLabel="Deleting"+ selectedPolicyToDelete={selectedPolicyToDelete}+ onSelectCancel={onCancelPolicyDelete}+ onSelectConfirm={onDeletePolicy}+ />+ </div>+ )+}++export default observer(StoragePolicies)diff --git a/studio/components/to-be-cleaned/Storage/StoragePolicies/StoragePoliciesBucketRow.js b/studio/components/to-be-cleaned/Storage/StoragePolicies/StoragePoliciesBucketRow.jsnew file mode 100644index 00000000000..8236c3a57f6--- /dev/null+++ b/studio/components/to-be-cleaned/Storage/StoragePolicies/StoragePoliciesBucketRow.js@@ -0,0 +1,110 @@+import { Badge, Button, IconArchive, Typography } from '@supabase/ui'+import { isEmpty } from 'lodash'+import Panel from 'components/to-be-cleaned/Panel'++const PolicyRow = ({+ policy,+ table,+ bucketName,+ onSelectPolicyEdit = () => {},+ onSelectPolicyDelete = () => {},+}) => {+ const { name, command } = policy+ return (+ <div className="grid grid-cols-10 p-4 px-6 group">+ <div className="col-span-4">+ <Typography.Text>{name}</Typography.Text>+ </div>+ <div className="col-span-4 flex flex-col">+ <div>+ <Badge color="green">{command}</Badge>+ </div>+ </div>+ <div className="col-span-2 flex items-center justify-end opacity-0 transition group-hover:opacity-100">+ <div name="flex">+ <Button+ type="outline"+ className="mr-2"+ onClick={() => onSelectPolicyEdit(policy, bucketName, table)}+ >+ Edit+ </Button>+ <Button type="outline" onClick={() => onSelectPolicyDelete(policy)}>+ Delete+ </Button>+ </div>+ </div>+ </div>+ )+}++const StoragePoliciesBucketRow = ({+ table = '',+ label = '',+ bucket = {},+ policies = [],+ onSelectPolicyAdd = () => {},+ onSelectPolicyEdit = () => {},+ onSelectPolicyDelete = () => {},+}) => {+ const getFooterLabel = () => {+ if (isEmpty(bucket))+ return table === 'objects'+ ? `${policies.length} polic${+ policies.length > 1 ? 'ies' : 'y'+ } that are not tied to any buckets`+ : `${policies.length} polic${policies.length > 1 ? 'ies' : 'y'} that target your buckets`+ return `${policies.length} polic${policies.length > 1 ? 'ies' : 'y'} in ${bucket.name}`+ }++ return (+ <Panel+ title={[+ <div key={label} className="flex items-center justify-between w-full">+ <div className="flex items-center space-x-4">+ <Typography.Text type="secondary">+ <IconArchive size="small" />+ </Typography.Text>+ <Typography.Title level={4} className="m-0">+ <span>{label}</span>+ </Typography.Title>+ {bucket.public && <Badge color="yellow">Public</Badge>}+ </div>+ <Button type="outline" onClick={() => onSelectPolicyAdd(bucket.name, table)}>+ New policy+ </Button>+ </div>,+ ]}+ >+ {policies.length === 0 ? (+ <div className="p-4 px-6">+ <Typography.Text type="secondary" className="opacity-50">+ No policies created yet+ </Typography.Text>+ </div>+ ) : (+ <div className="grid grid-cols-1 divide-y dark:divide-dark">+ {policies.map((policy) => (+ <PolicyRow+ key={policy.name}+ policy={policy}+ table={table}+ bucketName={bucket.name}+ onSelectPolicyEdit={onSelectPolicyEdit}+ onSelectPolicyDelete={onSelectPolicyDelete}+ />+ ))}+ {policies.length !== 0 ? (+ <div className="px-6 py-2">+ <Typography.Text type="secondary" className="opacity-50">+ {getFooterLabel()}+ </Typography.Text>+ </div>+ ) : null}+ </div>+ )}+ </Panel>+ )+}++export default StoragePoliciesBucketRowdiff --git a/studio/components/to-be-cleaned/Storage/StoragePolicies/StoragePoliciesEditPolicyModal.js b/studio/components/to-be-cleaned/Storage/StoragePolicies/StoragePoliciesEditPolicyModal.jsnew file mode 100644index 00000000000..433c7549b6b--- /dev/null+++ b/studio/components/to-be-cleaned/Storage/StoragePolicies/StoragePoliciesEditPolicyModal.js@@ -0,0 +1,220 @@+import { Modal, Typography, IconChevronLeft } from '@supabase/ui'+import { pull } from 'lodash'+import { useState, useEffect } from 'react'+import toast from 'react-hot-toast'++import { POLICY_MODAL_VIEWS } from 'lib/constants'+import { STORAGE_POLICY_TEMPLATES } from './StoragePolicies.constants'+import {+ createPayloadsForAddPolicy,+ createSQLPolicies,+ applyBucketIdToTemplateDefinition,+} from '../Storage.utils'++import PolicySelection from 'components/to-be-cleaned/Auth/PolicySelection'+import PolicyTemplates from 'components/to-be-cleaned/Auth/PolicyTemplates'+import StoragePoliciesEditor from './StoragePoliciesEditor'+import StoragePoliciesReview from './StoragePoliciesReview'++const newPolicyTemplate = {+ name: '',+ policyIds: [],+ definition: '',+ allowedOperations: [],+}++const StoragePoliciesEditPolicyModal = ({+ visible = false,+ bucketName = '',+ onSelectCancel = () => {},+ onCreatePolicies = () => {},+ onSaveSuccess = () => {},+}) => {+ const [previousView, setPreviousView] = useState('') // Mainly to decide which view to show when back from templates+ const [view, setView] = useState('')++ const [policyFormFields, setPolicyFormFields] = useState(newPolicyTemplate)+ const [policyStatementsForReview, setPolicyStatementsForReview] = useState([])++ useEffect(() => {+ if (visible) {+ onViewIntro()+ setPolicyFormFields(newPolicyTemplate)+ }+ }, [visible])++ /* Methods to determine which step to show */+ const onViewIntro = () => setView(POLICY_MODAL_VIEWS.SELECTION)+ const onViewEditor = () => setView(POLICY_MODAL_VIEWS.EDITOR)+ const onViewTemplates = () => {+ setPreviousView(view)+ setView(POLICY_MODAL_VIEWS.TEMPLATES)+ }+ const onReviewPolicy = () => setView(POLICY_MODAL_VIEWS.REVIEW)++ /* Methods for policy templates */+ const onSelectBackFromTemplates = () => setView(previousView)+ const onUseTemplate = (template) => {+ // Each template has an id as a unique identifier to refresh the SQL editor+ // but we don't need this property to be in the policyFormField+ const { id, ...templateFields } = template+ const definition = applyBucketIdToTemplateDefinition(templateFields.definition, bucketName)+ setPolicyFormFields({+ ...policyFormFields,+ ...templateFields,+ definition: definition,+ })+ onViewEditor()+ }++ /* Methods for policy editor form fields */+ const onUpdatePolicyName = (name) => {+ if (name.length <= 50) {+ setPolicyFormFields({+ ...policyFormFields,+ name,+ })+ }+ }++ const onUpdatePolicyDefinition = (definition) => {+ setPolicyFormFields({+ ...policyFormFields,+ definition,+ })+ }++ const onToggleOperation = (operation, isSingleOperation = false) => {+ if (isSingleOperation) {+ return setPolicyFormFields({+ ...policyFormFields,+ allowedOperations: [operation],+ })+ }+ const updatedAllowedOperations = policyFormFields.allowedOperations.includes(operation)+ ? pull(policyFormFields.allowedOperations.slice(), operation)+ : policyFormFields.allowedOperations.concat([operation])+ return setPolicyFormFields({+ ...policyFormFields,+ allowedOperations: updatedAllowedOperations,+ })+ }++ const validatePolicyEditorFormFields = () => {+ const { name, definition, allowedOperations } = policyFormFields+ if (name.length === 0) {+ return toast('Do give your policy a name')+ }+ if (definition.length === 0) {+ // Will need to figure out how to strip away comments or something+ return toast('Did you forget to provide a definition for your policy?')+ }+ if (allowedOperations.length === 0) {+ return toast('You will need to allow at least one operation in your policy')+ }+ const policySQLStatements = createSQLPolicies(bucketName, policyFormFields)+ setPolicyStatementsForReview(policySQLStatements)+ onReviewPolicy()+ }++ /* Create policy payloads to be sent upstream to API endpoint */+ const onReviewSave = () => {+ const payloads = createPayloadsForAddPolicy(bucketName, policyFormFields)+ onSavePolicy(payloads)+ }++ const onSavePolicy = async (payloads) => {+ const errors = await onCreatePolicies(payloads)+ const hasErrors = errors.indexOf(true) !== -1+ if (hasErrors) {+ onViewEditor()+ } else {+ onSaveSuccess()+ }+ }++ /* Misc components */+ const StoragePolicyTemplatesTitle = () => (+ <div className="px-6 pt-5">+ <div className="flex items-center space-x-3">+ <Typography.Text type="secondary">+ <div className="cursor-pointer" onClick={onSelectBackFromTemplates}>+ <IconChevronLeft />+ </div>+ </Typography.Text>+ <Typography.Title level={4} className="m-0">+ Select a template to use for your new policy+ </Typography.Title>+ </div>+ </div>+ )++ const StoragePolicyReviewTitle = ({ bucketName = '' }) => (+ <div className="flex items-center space-x-3 px-6 pt-5">+ <Typography.Title level={4} className="m-0">+ Reviewing policies to be added for {bucketName}+ </Typography.Title>+ </div>+ )++ const StoragePolicyTitle = ({ bucketName = '' }) => (+ <div className="flex items-center space-x-3 px-6 pt-5">+ <Typography.Title level={4} className="m-0">+ Adding new policy to ${bucketName}+ </Typography.Title>+ </div>+ )++ return (+ <Modal+ closable+ hideFooter+ visible={visible}+ contentStyle={{ padding: 0 }}+ title={+ view === POLICY_MODAL_VIEWS.TEMPLATES+ ? [<StoragePolicyTemplatesTitle key="0" />]+ : view === POLICY_MODAL_VIEWS.REVIEW+ ? [<StoragePolicyReviewTitle key="1" bucketName={bucketName} />]+ : [<StoragePolicyTitle key="2" bucketName={bucketName} />]+ }+ style={{ maxWidth: 'none', width: '60rem' }}+ onCancel={onSelectCancel}+ >+ <div className="w-full">+ {view === POLICY_MODAL_VIEWS.SELECTION ? (+ <PolicySelection+ description="PostgreSQL policies control access to your files and folders"+ onViewTemplates={onViewTemplates}+ onViewEditor={onViewEditor}+ />+ ) : view === POLICY_MODAL_VIEWS.EDITOR ? (+ <StoragePoliciesEditor+ policyFormFields={policyFormFields}+ onViewTemplates={onViewTemplates}+ onUpdatePolicyName={onUpdatePolicyName}+ onUpdatePolicyDefinition={onUpdatePolicyDefinition}+ onToggleOperation={onToggleOperation}+ onReviewPolicy={validatePolicyEditorFormFields}+ />+ ) : view === POLICY_MODAL_VIEWS.TEMPLATES ? (+ <PolicyTemplates+ templates={STORAGE_POLICY_TEMPLATES}+ onSelectBackFromTemplates={onSelectBackFromTemplates}+ onUseTemplate={onUseTemplate}+ />+ ) : view === POLICY_MODAL_VIEWS.REVIEW ? (+ <StoragePoliciesReview+ policyStatements={policyStatementsForReview}+ onSelectBack={onViewEditor}+ onSelectSave={onReviewSave}+ />+ ) : (+ <div />+ )}+ </div>+ </Modal>+ )+}++export default StoragePoliciesEditPolicyModaldiff --git a/studio/components/to-be-cleaned/Storage/StoragePolicies/StoragePoliciesEditor.js b/studio/components/to-be-cleaned/Storage/StoragePolicies/StoragePoliciesEditor.jsnew file mode 100644index 00000000000..f3f360345cf--- /dev/null+++ b/studio/components/to-be-cleaned/Storage/StoragePolicies/StoragePoliciesEditor.js@@ -0,0 +1,133 @@+import { Badge, Button, Checkbox, Input, Typography } from '@supabase/ui'+import { get } from 'lodash'++import { STORAGE_CLIENT_LIBRARY_MAPPINGS } from '../Storage.constants'+import { deriveAllowedClientLibraryMethods } from '../Storage.utils'+import SqlEditor from 'components/to-be-cleaned/SqlEditor'++const PolicyName = ({ name = '', onUpdatePolicyName = () => {} }) => {+ return (+ <div className="flex space-x-12">+ <div className="w-1/3 flex flex-col space-y-2">+ <Typography.Text>Policy name</Typography.Text>+ <Typography.Text type="secondary">A descriptive name for your policy.</Typography.Text>+ </div>+ <div className="w-2/3 relative">+ <Input+ value={name}+ rows={1}+ limit={50}+ onChange={(e) => onUpdatePolicyName(e.target.value)}+ />+ <div className="absolute top-2 right-4">+ <Typography.Text>{name.length}/50</Typography.Text>+ </div>+ </div>+ </div>+ )+}++const PolicyDefinition = ({ definition = '', onUpdatePolicyDefinition = () => {} }) => {+ return (+ <div className="flex space-x-12">+ <div className="w-1/3 flex flex-col space-y-2">+ <Typography.Text>Policy definition</Typography.Text>+ <Typography.Text type="secondary">+ Provide a SQL conditional expression that returns a boolean.+ </Typography.Text>+ </div>+ <div className="w-2/3 h-56">+ <SqlEditor defaultValue={definition} onInputChange={onUpdatePolicyDefinition} />+ </div>+ </div>+ )+}++const PolicyAllowedOperations = ({ allowedOperations = [], onToggleOperation = () => {} }) => {+ const allowedClientLibraryMethods = deriveAllowedClientLibraryMethods(allowedOperations)+ return (+ <div className="flex justify-between space-x-12">+ <div className="w-1/3 flex flex-col space-y-2">+ <Typography.Text>Allowed operations</Typography.Text>+ <Typography.Text type="secondary">+ Based on the operations you have selected, you can use any of the highlighted functions in+ the supabase-js Javascript library+ </Typography.Text>+ </div>+ <div className="w-2/3">+ <div className="flex items-center space-x-8">+ <Checkbox+ label="SELECT"+ onChange={() => onToggleOperation('SELECT')}+ checked={allowedOperations.includes('SELECT')}+ />+ <Checkbox+ label="INSERT"+ onChange={() => onToggleOperation('INSERT')}+ checked={allowedOperations.includes('INSERT')}+ />+ <Checkbox+ label="UPDATE"+ onChange={() => onToggleOperation('UPDATE')}+ checked={allowedOperations.includes('UPDATE')}+ />+ <Checkbox+ label="DELETE"+ onChange={() => onToggleOperation('DELETE')}+ checked={allowedOperations.includes('DELETE')}+ />+ </div>+ <div className="flex flex-wrap w-5/6">+ {Object.keys(STORAGE_CLIENT_LIBRARY_MAPPINGS).map((method) => (+ <div key={method} className="font-mono mr-2 mt-2">+ <Badge color={allowedClientLibraryMethods.includes(method) ? 'green' : 'gray'}>+ {method}+ </Badge>+ </div>+ ))}+ </div>+ </div>+ </div>+ )+}++const PolicyEditorFooter = ({ onViewTemplates = () => {}, onReviewPolicy = () => {} }) => (+ <div className="px-6 py-3 w-full flex justify-end items-center space-x-4 border-t dark:border-dark">+ <Button type="secondary" onClick={onViewTemplates}>+ View templates+ </Button>+ <Button type="primary" onClick={onReviewPolicy}>+ Review+ </Button>+ </div>+)++const StoragePoliciesEditor = ({+ policyFormFields = {},+ onViewTemplates = () => {},+ onUpdatePolicyName = () => {},+ onUpdatePolicyDefinition = () => {},+ onToggleOperation = () => {},+ onReviewPolicy = () => {},+}) => {+ const definition = get(policyFormFields, ['definition'])++ return (+ <div className="">+ <div className="px-6 space-y-8 mb-8">+ <PolicyName name={policyFormFields.name} onUpdatePolicyName={onUpdatePolicyName} />+ <PolicyAllowedOperations+ allowedOperations={policyFormFields.allowedOperations}+ onToggleOperation={onToggleOperation}+ />+ <PolicyDefinition+ definition={definition}+ onUpdatePolicyDefinition={onUpdatePolicyDefinition}+ />+ </div>+ <PolicyEditorFooter onViewTemplates={onViewTemplates} onReviewPolicy={onReviewPolicy} />+ </div>+ )+}++export default StoragePoliciesEditordiff --git a/studio/components/to-be-cleaned/Storage/StoragePolicies/StoragePoliciesPlaceholder.js b/studio/components/to-be-cleaned/Storage/StoragePolicies/StoragePoliciesPlaceholder.jsnew file mode 100644index 00000000000..d18a42aba6a--- /dev/null+++ b/studio/components/to-be-cleaned/Storage/StoragePolicies/StoragePoliciesPlaceholder.js@@ -0,0 +1,27 @@+import { Typography, IconArchive } from '@supabase/ui'+import Panel from 'components/to-be-cleaned/Panel'++const StoragePoliciesPlaceholder = ({ guiHeight }) => (+ <Panel+ title={[+ <div key="storagePlaceholder" className="flex items-center justify-between w-full">+ <div className="flex items-center space-x-4">+ <Typography.Text type="secondary">+ <IconArchive size="small" />+ </Typography.Text>+ <Typography.Title level={4} className="m-0">+ <span>Bucket policies</span>+ </Typography.Title>+ </div>+ </div>,+ ]}+ >+ <div className="p-4 px-6">+ <Typography.Text className="opacity-50 mt-5">+ Create a bucket first to start writing policies!+ </Typography.Text>+ </div>+ </Panel>+)++export default StoragePoliciesPlaceholderdiff --git a/studio/components/to-be-cleaned/Storage/StoragePolicies/StoragePoliciesReview.js b/studio/components/to-be-cleaned/Storage/StoragePolicies/StoragePoliciesReview.jsnew file mode 100644index 00000000000..22e0b252e23--- /dev/null+++ b/studio/components/to-be-cleaned/Storage/StoragePolicies/StoragePoliciesReview.js@@ -0,0 +1,64 @@+import { Button, Typography } from '@supabase/ui'+import { useState } from 'react'+import SqlEditor from 'components/to-be-cleaned/SqlEditor'++const ReviewEmptyState = () => {+ return (+ <div className="flex items-center justify-center my-10 opacity-50 space-x-2">+ <Typography.Text>There are no changes made to this policy</Typography.Text>+ </div>+ )+}++const StoragePoliciesReview = ({+ policyStatements = [],+ onSelectBack = () => {},+ onSelectSave = () => {},+}) => {+ const [isSaving, setIsSaving] = useState(false)+ const onSavePolicy = () => {+ setIsSaving(true)+ onSelectSave()+ }++ return (+ <div className="space-y-6">+ <div className="px-6 space-y-8 flex items-center justify-between space-x-4">+ <div className="flex flex-col">+ <Typography.Text>+ These are the SQL statements that will be used to create your policies. The suffix+ appended to the end of your policy name (+ <Typography.Text code>[hashString]_[number]</Typography.Text>) just functions as a+ unique identifier for each of your policies.+ </Typography.Text>+ </div>+ </div>+ <div className="px-6 space-y-4 overflow-y-auto" style={{ maxHeight: '25rem' }}>+ {policyStatements.length === 0 && <ReviewEmptyState />}+ {policyStatements.map((policy, idx) => {+ let formattedSQLStatement = policy.statement || ''+ return (+ <div key={`policy_${idx}`} className="space-y-2">+ <Typography.Text>{policy.description}</Typography.Text>+ <div className="h-40">+ <SqlEditor readOnly defaultValue={formattedSQLStatement} />+ </div>+ </div>+ )+ })}+ </div>+ <div className="px-6 py-3 w-full flex justify-end items-center space-x-4 border-t dark:border-dark">+ <Button type="secondary" onClick={onSelectBack}>+ Back to edit+ </Button>+ {policyStatements.length > 0 && (+ <Button type="primary" onClick={onSavePolicy} loading={isSaving}>+ Save policy+ </Button>+ )}+ </div>+ </div>+ )+}++export default StoragePoliciesReviewdiff --git a/studio/components/to-be-cleaned/Storage/StorageSidebar.js b/studio/components/to-be-cleaned/Storage/StorageSidebar.jsnew file mode 100644index 00000000000..83672407e48--- /dev/null+++ b/studio/components/to-be-cleaned/Storage/StorageSidebar.js@@ -0,0 +1,175 @@+import {+ Badge,+ Button,+ Dropdown,+ Space,+ Menu,+ IconLoader,+ IconPlus,+ IconMoreVertical,+ Typography,+} from '@supabase/ui'+import Link from 'next/link'+import { useRouter } from 'next/router'+import { STORAGE_ROW_STATUS } from './Storage.constants'++const BucketRow = ({+ bucket = {},+ projectRef = '',+ isSelected = false,+ onSelectBucket = () => {},+ onSelectDeleteBucket = () => {},+ onSelectToggleBucketPublic = () => {},+}) => {+ const bucketOptions = [+ {+ name: 'Delete bucket',+ onClick: () => onSelectDeleteBucket(bucket),+ },+ {+ name: bucket.public ? 'Make private' : 'Make public',+ onClick: () => onSelectToggleBucketPublic(bucket),+ },+ ]+ return (+ <div className="group">+ <Menu.Item rounded active={isSelected} onClick={() => onSelectBucket(bucket)}>+ <div className="flex items-center justify-between">+ {/* Need to investigate, why links here are reopning the entire page */}+ <Link href={`/project/${projectRef}/storage/buckets/${bucket.id}`}>+ <a className="w-full">+ <div className="flex items-center space-x-2">+ <Typography.Text>{bucket.name}</Typography.Text>+ {bucket.public && <Badge color="yellow">Public</Badge>}+ </div>+ </a>+ </Link>++ {bucket.status === STORAGE_ROW_STATUS.LOADING && (+ <IconLoader className="animate-spin" size={16} strokeWidth={2} />+ )}+ {bucket.status === STORAGE_ROW_STATUS.READY && (+ <Dropdown+ side="bottom"+ align="end"+ overlay={[+ bucketOptions.map((option) => (+ <Dropdown.Item key={option.name} onClick={option.onClick}>+ {option.name}+ </Dropdown.Item>+ )),+ ]}+ >+ <Typography.Text>+ <IconMoreVertical+ className="opacity-0 group-hover:opacity-100"+ size="tiny"+ strokeWidth={2}+ />+ </Typography.Text>+ </Dropdown>+ )}+ </div>+ </Menu.Item>+ </div>+ )+}++const StorageSidebar = ({+ loaded = false,+ buckets = [],+ onSelectCreateBucket = () => {},+ onSelectDeleteBucket = () => {},+ onSelectToggleBucketPublic = () => {},+}) => {+ const router = useRouter()+ const { ref, bucketId } = router.query++ return (+ <Space direction={'vertical'} className="mt-4" size={8}>+ <Menu>+ <div className="my-2 px-3">+ <Menu.Misc>+ <Button+ block+ className="mx-1"+ icon={<IconPlus />}+ type="text"+ style={{ justifyContent: 'start' }}+ onClick={onSelectCreateBucket}+ >+ New bucket+ </Button>+ </Menu.Misc>+ </div>+ <div className="my-2 px-3">+ <Menu.Group title="All Buckets" />+ <div className="space-y-1">+ {!loaded ? (+ <div className="flex items-center px-4 space-x-2">+ <Typography.Text>+ <IconLoader className="animate-spin" size="tiny" strokeWidth={2} />+ </Typography.Text>+ <Typography.Text>Loading buckets</Typography.Text>+ </div>+ ) : (+ <>+ {buckets.length === 0 && (+ <Typography.Text type="secondary">+ <p className="mx-4 my-2 text-sm">No buckets available</p>+ </Typography.Text>+ )}+ {buckets.map((bucket, idx) => {+ const isSelected = bucketId === bucket.id+ return (+ <BucketRow+ key={`${idx}_${bucket.id}`}+ bucket={bucket}+ projectRef={ref}+ isSelected={isSelected}+ onSelectDeleteBucket={onSelectDeleteBucket}+ onSelectToggleBucketPublic={onSelectToggleBucketPublic}+ />+ )+ })}+ </>+ )}+ </div>+ </div>+ <div className="my-4 px-3">+ <Menu.Group title="Settings" />+ <div className="space-y-1">+ <div>+ <Link href={`/project/${ref}/storage/policies`}>+ <a>+ <Menu.Item+ key="policies"+ rounded+ active={router.pathname === '/project/[ref]/storage/policies'}+ >+ <Typography.Text>Policies</Typography.Text>+ </Menu.Item>+ </a>+ </Link>+ </div>+ <div>+ <Link href={`/project/${ref}/storage/usage`}>+ <a>+ <Menu.Item+ key="usage"+ rounded+ active={router.pathname === '/project/[ref]/storage/usage'}+ >+ <Typography.Text>Usage</Typography.Text>+ </Menu.Item>+ </a>+ </Link>+ </div>+ </div>+ </div>+ </Menu>+ </Space>+ )+}++export default StorageSidebardiff --git a/studio/components/to-be-cleaned/Storage/StorageUsage/StorageUsage.js b/studio/components/to-be-cleaned/Storage/StorageUsage/StorageUsage.jsnew file mode 100644index 00000000000..351f993d7a2--- /dev/null+++ b/studio/components/to-be-cleaned/Storage/StorageUsage/StorageUsage.js@@ -0,0 +1,21 @@+import { Typography } from '@supabase/ui'+import SVG from 'react-inlinesvg'++const StorageUsage = () => {+ return (+ <div className="w-full h-full flex flex-col items-center justify-center">+ <SVG+ src={'/img/storage-usage.svg'}+ alt={'storage-usage'}+ preProcessor={(code) =>+ code.replace(/svg/, 'svg class="w-20 h-20 text-color-inherit opacity-75"')+ }+ />+ <Typography.Text type="secondary">+ <p className="mt-5">Usage statistics for storage are coming soon</p>+ </Typography.Text>+ </div>+ )+}++export default StorageUsagediff --git a/studio/components/to-be-cleaned/Storage/ToggleBucketPublicModal.js b/studio/components/to-be-cleaned/Storage/ToggleBucketPublicModal.jsnew file mode 100644index 00000000000..c95d66168db--- /dev/null+++ b/studio/components/to-be-cleaned/Storage/ToggleBucketPublicModal.js@@ -0,0 +1,58 @@+import { useEffect, useState } from 'react'+import { Modal, Alert, Button, Space } from '@supabase/ui'++const ToggleBucketPublicModal = ({+ visible = false,+ bucket = {},+ onSelectCancel = () => {},+ onSelectSave = () => {},+}) => {+ const [saving, setSaving] = useState(false)++ useEffect(() => {+ setSaving(false)+ }, [visible])++ const onToggleBucketPublic = () => {+ setSaving(true)+ onSelectSave(bucket)+ }++ const title = bucket.public+ ? `Confirm making ${bucket.name} private`+ : `Confirm making ${bucket.name} public`++ const alertTitle = bucket.public+ ? `Warning: Making bucket private`+ : `Warning: Making bucket public`++ const alertDescription = bucket.public+ ? `This will make all objects in ${bucket.name} private. They can only be accessed via signed URLs or downloaded with the right authorisation headers`+ : `This will make all objects in ${bucket.name} public`++ return (+ <Modal+ visible={visible}+ title={title}+ size="large"+ customFooter={+ <Space>+ <Button type="secondary" onClick={onSelectCancel}>+ Cancel+ </Button>+ <Button type="primary" loading={saving} onClick={onToggleBucketPublic}>+ {saving ? 'Updating bucket' : 'Update bucket'}+ </Button>+ </Space>+ }+ >+ <div className="space-y-6 w-full pb-3">+ <Alert title={alertTitle} variant="warning" withIcon>+ {alertDescription}+ </Alert>+ </div>+ </Modal>+ )+}++export default ToggleBucketPublicModaldiff --git a/studio/components/to-be-cleaned/Storage/index.js b/studio/components/to-be-cleaned/Storage/index.jsnew file mode 100644index 00000000000..f35c92af17f--- /dev/null+++ b/studio/components/to-be-cleaned/Storage/index.js@@ -0,0 +1,18 @@+import StorageExplorer from './StorageExplorer/StorageExplorer'+import StoragePolicies from './StoragePolicies/StoragePolicies'+import StorageUsage from './StorageUsage/StorageUsage'+import StorageSidebar from './StorageSidebar'++import CreateBucketModal from './CreateBucketModal'+import DeleteBucketModal from './DeleteBucketModal'+import ToggleBucketPublicModal from './ToggleBucketPublicModal'++export {+ StorageExplorer,+ StoragePolicies,+ StorageUsage,+ StorageSidebar,+ CreateBucketModal,+ DeleteBucketModal,+ ToggleBucketPublicModal,+}diff --git a/studio/components/to-be-cleaned/Table.tsx b/studio/components/to-be-cleaned/Table.tsxnew file mode 100644index 00000000000..611f54a0d9f--- /dev/null+++ b/studio/components/to-be-cleaned/Table.tsx@@ -0,0 +1,84 @@+import * as React from 'react'+import { Typography } from '@supabase/ui'++type TableProps = {+ body: JSX.Element | JSX.Element[]+ head?: JSX.Element | JSX.Element[]+ className?: string+ containerClassName?: string+ borderless?: boolean+}++function Table({ body, head, className, containerClassName, borderless }: TableProps) {+ let containerClasses = ['table-container']+ if (containerClassName) containerClasses.push(containerClassName)+ if (borderless) containerClasses.push('table-container--borderless')++ let classes = ['table']+ if (className) classes.push(className)++ return (+ <div className={containerClasses.join(' ')}>+ <table className={classes.join(' ')}>+ <thead>+ <tr>{head}</tr>+ </thead>+ <tbody>{body}</tbody>+ </table>+ </div>+ )+}++type ThProps = {+ children?: React.ReactNode+ className?: string+ style?: React.CSSProperties+}++const Th: React.FC<ThProps> = ({ children, className, style }) => {+ const classes = ['p-3 px-4 text-left']+ if (className) classes.push(className)+ return (+ <th className={classes.join(' ')} style={style}>+ <Typography.Text type="secondary">{children}</Typography.Text>+ </th>+ )+}++type TrProps = {+ children: React.ReactNode+ className?: string+ hoverable?: boolean+ style?: React.CSSProperties+ onClick?: () => void+}++const Tr: React.FC<TrProps> = ({ children, className, onClick, style, hoverable }) => {+ let classes = [className]+ if (onClick || hoverable) classes.push('tr--link')+ return (+ <tr className={classes.join(' ')} onClick={onClick} style={style}>+ {children}+ </tr>+ )+}++type TdProps = {+ children: React.ReactNode+ colSpan?: number+ className?: string+ style?: React.CSSProperties+}+const Td: React.FC<TdProps> = ({ children, colSpan, className, style }) => {+ return (+ <td className={className} colSpan={colSpan} style={style}>+ {children}+ </td>+ )+}++Table.th = Th+Table.td = Td+Table.tr = Tr++export default Tablediff --git a/studio/components/to-be-cleaned/TooltipListener.js b/studio/components/to-be-cleaned/TooltipListener.jsnew file mode 100644index 00000000000..aba6107a5c7--- /dev/null+++ b/studio/components/to-be-cleaned/TooltipListener.js@@ -0,0 +1,79 @@+import { useRef, useEffect } from 'react'+import KeyMap from './KeyMap'+import { renderToString } from 'react-dom/server'+import { makeRandomString } from 'lib/helpers'++/**+ * Hook for listening to hover action on the target element and show tooltip.+ * A tooltip contains a title and an optional keyMap shortcut.+ *+ * @param {String} title+ * @param {String} position top/top-left/bottom/bottom-left/left/right. default value: bottom+ * @param {String} keyMap element key shortcuts+ * @param {String} className custom class name+ * @param {Boolean} nowrap disable title wrap text+ *+ * @returns {Object} Ref for the target element+ */++export default function TooltipListener({+ title,+ position = 'bottom',+ keyMap = null,+ className = '',+ nowrap,+}) {+ const ref = useRef(null)+ const tooltipId = `tooltip-${makeRandomString(5)}`+ const tooltip = document.createElement('div')+ tooltip.id = tooltipId+ tooltip.className = `tooltips ${position} absolute p-2 m-1 bg-black border border-solid dark:border-dark rounded-lg rounded text-center ${className} z-50`+ tooltip.innerHTML = `<span class="title ${+ nowrap ? 'nowrap' : ''+ }">${title}</span> ${renderToString(+ <div className="dark">+ {/* force dark mode on KeyMap */}+ <KeyMap keyMap={keyMap} />+ </div>+ )}`++ function handleMouseOver() {+ const elem = document.getElementById(tooltipId)+ if (!elem) {+ ref.current.style.position = 'relative'+ ref.current.appendChild(tooltip)+ }+ }++ function handleMouseLeave() {+ removeTooltip()+ }++ function handleMouseClick() {+ removeTooltip()+ }++ function removeTooltip() {+ const elem = document.getElementById(tooltipId)+ if (elem) {+ ref.current.style.position = 'static'+ ref.current.removeChild(elem)+ }+ }++ useEffect(() => {+ if (!ref.current) return++ ref.current.addEventListener('mouseover', handleMouseOver)+ ref.current.addEventListener('mouseleave', handleMouseLeave)+ ref.current.addEventListener('click', handleMouseClick)++ return () => {+ ref.current.removeEventListener('mouseover', handleMouseOver)+ ref.current.removeEventListener('mouseleave', handleMouseLeave)+ ref.current.removeEventListener('click', handleMouseClick)+ }+ }, [ref.current])++ return ref+}diff --git a/studio/components/to-be-cleaned/Usage.js b/studio/components/to-be-cleaned/Usage.jsnew file mode 100644index 00000000000..7f7241d16e5--- /dev/null+++ b/studio/components/to-be-cleaned/Usage.js@@ -0,0 +1,352 @@+import React, { useEffect, useState } from 'react'+import useSWR from 'swr'+import { Loading, Typography } from '@supabase/ui'+import { toast } from 'react-hot-toast'++import { API_URL } from 'lib/constants'+import { get, post } from 'lib/common/fetch'+import SparkBar from 'components/ui/SparkBar'++const GB = 1000000000+const MB = 1000000++const usageLimits = {+ database: {+ title: 'Database',+ icon_src: '/img/database.svg',+ features: [+ {+ title: 'API requests',+ tiers: {+ free: {+ description: () => 'Unlimited',+ render: null,+ },+ pro: {+ description: () => 'Unlimited',+ render: null,+ },+ },+ },+ {+ title: 'Database space',+ tiers: {+ free: {+ description: (stats) => `${(((stats?.dbSize || 0) / (500 * MB)) * 100).toFixed(2)} %`,+ render: (stats) => {+ let bytes = stats?.dbSize ? new Number(stats?.dbSize) : 0+ let usage = {+ gb: bytes / GB || 0,+ mb: bytes / MB || 0,+ }+ return (+ <SparkBar+ value={usage.mb}+ max={500}+ type={'horizontal'}+ barClass={'bg-green-500'}+ labelBottom={`${new Number(usage.mb).toFixed(2).toLocaleString()} MB`}+ labelTop={`500 MB`}+ />+ )+ },+ },+ pro: {+ description: (stats) => `${(((stats?.dbSize || 0) / (8000 * MB)) * 100).toFixed(2)} %`,+ render: (stats) => {+ let bytes = stats?.dbSize ? new Number(stats?.dbSize) : 0+ let usage = {+ gb: bytes / GB || 0,+ mb: bytes / MB || 0,+ }+ return (+ <SparkBar+ value={usage.mb}+ max={8000}+ type={'horizontal'}+ barClass={'bg-green-500'}+ labelBottom={`${new Number(usage.mb).toFixed(2).toLocaleString()} MB`}+ labelTop={`8 GB`}+ />+ )+ },+ },+ },+ },+ ],+ },+ auth: {+ title: 'Auth',+ icon_src: '/img/key.svg',+ features: [+ {+ title: 'Users',+ tiers: {+ free: {+ description: (stats) => `${(((stats?.authUsers || 0) / 10000) * 100).toFixed(2)}%`,+ render: (stats) => (+ <SparkBar+ value={stats?.authUsers || 0}+ max={10000}+ type={'horizontal'}+ barClass={'bg-green-500'}+ labelBottom={stats?.authUsers ? new Number(stats?.authUsers).toLocaleString() : 0}+ labelTop={`${new Number(10000).toLocaleString()}`}+ />+ ),+ },+ pro: {+ description: (stats) => `${(((stats?.authUsers || 0) / 100000) * 100).toFixed(2)}%`,+ render: (stats) => (+ <SparkBar+ value={stats?.authUsers || 0}+ max={100000}+ type={'horizontal'}+ barClass={'bg-green-500'}+ labelBottom={stats?.authUsers ? new Number(stats?.authUsers).toLocaleString() : 0}+ labelTop={`${new Number(100000).toLocaleString()}`}+ />+ ),+ },+ },+ },+ {+ title: 'Auth confirmation emails',+ tiers: {+ free: {+ description: () => `${new Number(1000).toLocaleString()}/month`,+ render: null,+ },+ pro: {+ description: () => `${new Number(30000).toLocaleString()}/month`,+ render: null,+ },+ },+ },+ ],+ },+ storage: {+ title: 'File storage',+ icon_src: '/img/archive.svg',+ features: [+ {+ title: 'Storage space',+ tiers: {+ free: {+ description: (stats) => `${(((stats?.bucketSize || 0) / (1 * GB)) * 100).toFixed(2)}%`,+ render: (stats) => (+ <SparkBar+ value={stats?.bucketSize / (1024 * 1024) || 0}+ max={1 * 1024}+ type={'horizontal'}+ barClass={'bg-green-500'}+ labelBottom={+ stats?.bucketSize+ ? `${new Number(stats?.bucketSize / (1024 * 1024)).toLocaleString()} MB`+ : 0+ }+ labelTop={`${new Number(1 * 1024).toLocaleString()} MB`}+ />+ ),+ },+ pro: {+ description: (stats) =>+ `${(((stats?.bucketSize || 0) / (100 * GB)) * 100).toFixed(2)}%`,+ render: (stats) => (+ <SparkBar+ value={stats?.bucketSize / (1024 * 1024) || 0}+ max={100 * 1024}+ type={'horizontal'}+ barClass={'bg-green-500'}+ labelBottom={+ stats?.bucketSize+ ? `${new Number(stats?.bucketSize / (1024 * 1024)).toLocaleString()} MB`+ : 0+ }+ labelTop={`${new Number(100).toLocaleString()} GB`}+ />+ ),+ },+ },+ },+ {+ title: 'Transfer limits',+ tiers: {+ free: {+ description: () => `${new Number(2).toLocaleString()} GB`,+ render: () => {},+ },+ pro: {+ description: () => `${new Number(200).toLocaleString()} GB`,+ render: () => {},+ },+ },+ },+ ],+ },+}++export default function ProjectUsage({ projectRef, subscription_id }) {+ const { data: stats, error: usageError } = useSWR(`${API_URL}/projects/${projectRef}/usage`, get)++ const [loading, setLoading] = useState(false)+ const [error, setError] = useState(null)+ const [subscription, setSubscription] = useState(null)++ useEffect(() => {+ let cancel = false++ /**+ * Get subscription information to decide+ */+ const getSubscription = async () => {+ try {+ setLoading(true)+ setError(null)+ const { data, error } = await post(`${API_URL}/stripe/subscription`, {+ subscription_id: subscription_id,+ })+ if (!cancel) setSubscription(data)+ if (error) throw error+ } catch (error) {+ toast.error(error.message)+ if (!cancel) setError(error)+ } finally {+ if (!cancel) setLoading(false)+ }+ }++ getSubscription()++ return () => {+ cancel = true+ }+ }, [subscription_id])++ const tier = subscription && subscription.tier.unit_amount > 0 ? 'pro' : 'free'++ return (+ <Loading active={loading}>+ <div className="">+ {Object.values(usageLimits).map((product) => (+ <div+ className="rounded overflow-hidden border border-panel-border-light dark:border-panel-border-dark mb-8"+ key={product.title}+ >+ <table className="w-full bg-panel-body-light dark:bg-panel-body-dark">+ <thead className="bg-panel-header-light dark:bg-panel-header-dark">+ <tr className="rounded overflow-hidden">+ <th className="px-6 py-3 text-left w-1/4">+ <div className="flex items-center space-x-3">+ <div className="w-8 h-8 bg-white rounded flex items-center justify-center">+ <img width={'16'} src={product.icon_src} />+ </div>+ <Typography.Title level={5} className="mb-0">+ {product.title}+ </Typography.Title>+ </div>+ </th>+ <th className="p-3 text-xs leading-4 font-medium text-gray-400 text-left hidden lg:table-cell">+ {/* Plan Limits */}+ </th>+ <th className="p-3 text-xs leading-4 font-medium text-gray-400 text-left">+ {/* Usage */}+ </th>+ </tr>+ </thead>++ <tbody className="">+ {product.features.map((feature) => {+ return (+ <tr+ className="border-t border-panel-border-light dark:border-panel-border-dark"+ key={feature.title}+ >+ <td className="px-6 py-3 whitespace-nowrap text-sm text-typography-body-light dark:text-typography-body-dark">+ {feature.title}+ </td>+ <td className="p-3 whitespace-nowrap text-sm text-typography-body-light dark:text-typography-body-dark hidden lg:table-cell w-1/5">+ {feature.tiers[tier]?.description(stats)}+ </td>+ <td className="px-6 py-3 text-sm text-typography-body-light dark:text-typography-body-dark ">+ {feature.tiers[tier]?.render ? feature.tiers[tier].render(stats) : null}+ </td>+ </tr>+ )+ })}+ </tbody>+ </table>+ </div>+ ))}+ </div>+ </Loading>+ )+}++export function ProjectUsageMinimal({ projectRef, subscription_id, filter }) {+ const { data: stats, error: usageError } = useSWR(`${API_URL}/projects/${projectRef}/usage`, get)++ const [loading, setLoading] = useState(false)+ const [error, setError] = useState(null)+ const [subscription, setSubscription] = useState(null)++ useEffect(() => {+ let cancel = false++ /**+ * Get subscription information to decide+ */+ const getSubscription = async () => {+ try {+ setLoading(true)+ setError(null)+ const { data, error } = await post(`${API_URL}/stripe/subscription`, {+ subscription_id: subscription_id,+ })+ if (!cancel) setSubscription(data)+ if (error) throw error+ } catch (error) {+ if (!cancel) setError(error)+ } finally {+ if (!cancel) setLoading(false)+ }+ }++ getSubscription()++ return () => {+ cancel = true+ }+ }, [subscription_id])++ const tier = subscription && subscription.tier.unit_amount > 0 ? 'pro' : 'free'++ return (+ <Loading active={loading}>+ <div className="space-y-4">+ {Object.values(usageLimits)+ .filter((product) => product.title === filter)+ .map((product) => {+ return (+ <div key={product.title}>+ {product.features.map((feature) => {+ return (+ <div key={feature.title}>+ {feature.tiers[tier]?.render && feature.title !== 'Transfer limits' ? (+ <Typography.Text type="secondary" className="opacity-50">+ {feature.title}+ </Typography.Text>+ ) : null}+ <div className="text-sm text-typography-body-light dark:text-typography-body-dark">+ {feature.tiers[tier]?.render ? feature.tiers[tier].render(stats) : null}+ </div>+ </div>+ )+ })}+ </div>+ )+ })}+ </div>+ </Loading>+ )+}diff --git a/studio/components/to-be-cleaned/forms/AutoTextArea.js b/studio/components/to-be-cleaned/forms/AutoTextArea.jsnew file mode 100644index 00000000000..b67408e9fbd--- /dev/null+++ b/studio/components/to-be-cleaned/forms/AutoTextArea.js@@ -0,0 +1,45 @@+import React, { useState, useEffect, useRef } from 'react'++const AutoTextArea = (props) => {+ const textAreaRef = useRef(null)+ const [text, setText] = useState('')+ const [textAreaHeight, setTextAreaHeight] = useState('auto')+ const [parentHeight, setParentHeight] = useState('auto')++ useEffect(() => {+ setParentHeight(`${textAreaRef?.current.scrollHeight}px`)+ setTextAreaHeight(`${textAreaRef?.current.scrollHeight}px`)+ }, [text])++ const onChangeHandler = (event) => {+ setTextAreaHeight('auto')+ setParentHeight(`${textAreaRef?.current.scrollHeight}px`)+ setText(event.target.value)++ if (props.onChange) {+ props.onChange(event)+ }+ }++ return (+ <div+ style={{+ minHeight: parentHeight,+ }}+ >+ <textarea+ {...props}+ ref={textAreaRef}+ rows={1}+ style={{+ height: textAreaHeight,+ overflow: 'hidden',+ resize: 'none',+ }}+ onChange={onChangeHandler}+ />+ </div>+ )+}++export default AutoTextAreadiff --git a/studio/components/to-be-cleaned/forms/FormField.js b/studio/components/to-be-cleaned/forms/FormField.jsnew file mode 100644index 00000000000..ecbe9547962--- /dev/null+++ b/studio/components/to-be-cleaned/forms/FormField.js@@ -0,0 +1,63 @@+import React, { forwardRef } from 'react'++const FormField = forwardRef(+ (+ {+ id,+ label,+ type,+ description,+ placeholder,+ errorMessage,+ wrapperClasses,+ children,+ value,+ onChange,+ checked,+ choices,+ autoFocus,+ },+ ref+ ) => {+ let options =+ type === 'select'+ ? Object.keys(choices).map((choice) => {+ return (+ <option key={choices[choice]} value={choices[choice]}>+ {choices[choice]}+ </option>+ )+ })+ : null++ return (+ <div className={`form-group ${wrapperClasses ? wrapperClasses : ''}`}>+ <label htmlFor={id}>{label}</label>+ {children ? (+ <div className="form-control inline-block p-3">{children}</div>+ ) : type === 'select' ? (+ <select id={id} onChange={onChange} defaultValue={value} className="form-control">+ {options}+ </select>+ ) : (+ <input+ id={id}+ name={id}+ className="form-control text-base"+ ref={ref}+ type={type}+ value={value || ''}+ onChange={onChange}+ placeholder={placeholder}+ checked={checked}+ autoFocus={autoFocus}+ />+ )}+ {errorMessage && errorMessage != '' && <p className="form-error">{errorMessage}</p>}+ {description && <div className="form-text form-help">{description}</div>}+ </div>+ )+ }+)++export default FormFielddiff --git a/studio/components/to-be-cleaned/forms/SchemaForm.js b/studio/components/to-be-cleaned/forms/SchemaForm.jsnew file mode 100644index 00000000000..542fb42e462--- /dev/null+++ b/studio/components/to-be-cleaned/forms/SchemaForm.js@@ -0,0 +1,48 @@+import { AutoForm } from 'uniforms-bootstrap4'+import Ajv from 'ajv'+import { JSONSchemaBridge } from 'uniforms-bridge-json-schema'++const SchemaForm = ({ schema, model, children, formRef, onSubmit, onChangeModel = () => {} }) => {+ const validatedSchema = new JSONSchemaBridge(schema, createValidator(schema))+ return (+ <AutoForm+ onChangeModel={onChangeModel}+ ref={formRef}+ schema={validatedSchema}+ onSubmit={onSubmit}+ submitField={() => <></>}+ model={model}+ children={children}+ />+ )+}+export default SchemaForm++let ajv = new Ajv({ strict: false, allErrors: true, useDefaults: true })+ajv = ajv.addFormat('absolute-url', '^(http://|https://)')++const createValidator = (schema) => {+ const validator = ajv.compile(schema)+ return (model) => {+ let cleansedModel = { ...model }+ Object.entries(cleansedModel).map(([k, v]) => {+ const isRequired = schema.required.indexOf(k) != -1+ // only do nullifyStringIfEmpty if it's a required string property+ if (typeof v === 'string' && isRequired) cleansedModel[k] = nullifyStringIfEmpty(v)+ else cleansedModel[k] = v+ })+ validator(cleansedModel)+ if (validator.errors && validator.errors.length) {+ throw { details: validator.errors }+ }+ }+}++/**+ * JSON Schema doesn't support validation for empty strings.+ * We want to convert all empty strings to NULL to ensure they get validated+ */+const nullifyStringIfEmpty = (data) => {+ if (data.trim() === '') return null+ else return data+}diff --git a/studio/components/to-be-cleaned/forms/SchemaFormPanel.js b/studio/components/to-be-cleaned/forms/SchemaFormPanel.jsnew file mode 100644index 00000000000..f7b0d8096b2--- /dev/null+++ b/studio/components/to-be-cleaned/forms/SchemaFormPanel.js@@ -0,0 +1,90 @@+import SchemaForm from './SchemaForm'+import React, { useState } from 'react'+import { Button, Typography } from '@supabase/ui'++export default function SchemaFormPanel({+ schema,+ title,+ model,+ children,+ onChangeModel = (model) => {},+ onReset = () => {},+ onSubmit,+ submitLabel = 'Save',+ cancelLabel = 'Cancel',+}) {+ let formRef+ const [submitButtonLoading, setSubmitButtonLoading] = useState(false)+ const [hasChanged, setHasChanged] = useState(false)++ function onClickCancel() {+ formRef.reset()+ setSubmitButtonLoading(false)+ setHasChanged(false)+ if (onReset) onReset()+ }++ const onClickSubmit = () => {+ formRef+ .submit()+ .then((response) => {+ setSubmitButtonLoading(true)+ })+ .catch(console.error)+ }++ return (+ <section className="section-block mb-8">+ <div+ className="+ px-6 h-12+ bg-panel-header-light dark:bg-panel-header-dark+ border-b border-panel-border-light dark:border-panel-border-dark+ flex overflow-hidden items-center"+ >+ <div className="flex-1 text-left">+ <Typography.Title level={6}>{title || ''}</Typography.Title>+ </div>+ <div+ className={`flex transition duration-150 ${+ hasChanged ? 'opacity-100' : 'opacity-0 cursor-default'+ }`}+ >+ <Button onClick={onClickCancel} type="secondary" disabled={!hasChanged}>+ {cancelLabel || 'Cancel'}+ </Button>+ <Button+ onClick={onClickSubmit}+ loading={submitButtonLoading}+ disabled={!hasChanged}+ type="primary"+ className="ml-2 hover:border-green-500"+ >+ {submitLabel || 'Save'}+ </Button>+ </div>+ </div>++ <div className="Form section-block--body px-6 py-3">+ <SchemaForm+ onChangeModel={(model) => {+ setHasChanged(true)+ if (onChangeModel) onChangeModel(model)+ }}+ formRef={(ref) => (formRef = ref)}+ schema={schema}+ model={model}+ children={children}+ onSubmit={async (args) => {+ onSubmit(args)+ .then(() => {+ setSubmitButtonLoading(false)+ setHasChanged(false)+ })+ .catch(() => setSubmitButtonLoading(false))+ }}+ />+ </div>+ </section>+ )+}diff --git a/studio/components/to-be-cleaned/forms/SchemaFormUnstyled.js b/studio/components/to-be-cleaned/forms/SchemaFormUnstyled.jsnew file mode 100644index 00000000000..a38cfea078e--- /dev/null+++ b/studio/components/to-be-cleaned/forms/SchemaFormUnstyled.js@@ -0,0 +1,61 @@+import SchemaForm from '~/components/Forms/SchemaForm'+import React, { useState } from 'react'++export default function SchemaFormUnstyled({+ schema,+ model,+ children,+ onSubmit,+ onCancel,+ submitLabel,+ cancelLabel,+}) {+ let formRef+ const [submitButtonLoading, setSubmitButtonLoading] = useState(false)+ return (+ <div className="">+ <SchemaForm+ formRef={(ref) => (formRef = ref)}+ schema={schema}+ model={model}+ children={children}+ onSubmit={async (args) => {+ onSubmit(args)+ .then(() => setSubmitButtonLoading(false))+ .catch(() => setSubmitButtonLoading(false))+ }}+ />+ <button+ className="btn-secondary mr-2"+ onClick={+ onCancel ||+ (() => {+ formRef.reset()+ setSubmitButtonLoading(false)+ })+ }+ >+ {cancelLabel || 'Cancel'}+ </button>+ {submitButtonLoading ? (+ <button className="btn-primary" disabled="disabled">+ <img className="loading-spinner" src="/img/spinner.gif"></img>+ </button>+ ) : (+ <button+ className="btn-primary"+ onClick={() => {+ formRef+ .submit()+ .then((response) => {+ setSubmitButtonLoading(true)+ })+ .catch(console.error)+ }}+ >+ {submitLabel || 'Save'}+ </button>+ )}+ </div>+ )+}diff --git a/studio/components/to-be-cleaned/forms/SecretField.tsx b/studio/components/to-be-cleaned/forms/SecretField.tsxnew file mode 100644index 00000000000..eca6d96435c--- /dev/null+++ b/studio/components/to-be-cleaned/forms/SecretField.tsx@@ -0,0 +1,53 @@+import * as React from 'react'+import { IconEye, IconEyeOff } from '@supabase/ui'+import { connectField, filterDOMProps } from 'uniforms'++const SecretField: React.FC = (props: any) => {+ const { disabled, id, inputRef, label, name, onChange, value, help, error, errorMessage } = props+ const [text, setText] = React.useState(value)+ const [visible, setVisible] = React.useState(false)++ React.useEffect(() => {+ setText(value)+ }, [value])++ function handleChange(e: React.ChangeEvent<HTMLInputElement>) {+ const newValue = e.target.value+ setText(newValue)+ onChange(newValue)+ }++ function onToggleVisible() {+ setVisible(!visible)+ }++ return (+ <div className="form-group" {...filterDOMProps(props)}>+ {label && <label htmlFor={id}>{label}</label>}+ <div className="form-control flex flex-col">+ <div className="inline-flex items-center">+ <input+ disabled={disabled}+ id={id}+ name={name}+ ref={inputRef}+ value={text}+ onChange={handleChange}+ type={visible ? 'text' : 'password'}+ />+ <div className="px-2" onClick={onToggleVisible}>+ {visible ? (+ <IconEye className="text-gray-400" />+ ) : (+ <IconEyeOff className="text-gray-400" />+ )}+ </div>+ </div>+ </div>+ {error && <span className="form-text text-muted">{errorMessage ?? error.message}</span>}+ {help && <span className="form-text text-muted">{help}</span>}+ </div>+ )+}++export default connectField(SecretField, { kind: 'leaf' })diff --git a/studio/components/to-be-cleaned/forms/Toggle.js b/studio/components/to-be-cleaned/forms/Toggle.jsnew file mode 100644index 00000000000..d407795039b--- /dev/null+++ b/studio/components/to-be-cleaned/forms/Toggle.js@@ -0,0 +1,42 @@+const sizes = {+ md: {+ slider: 'h-5 w-5',+ toggleOn: 'translate-x-5',+ toggleOff: 'translate-x-0',+ background: 'h-6 w-11 border-2',+ },+ sm: {+ slider: 'h-4 w-4',+ toggleOn: 'translate-x-3',+ toggleOff: 'translate-x-0',+ background: 'h-5 w-9 border-2',+ },+}++export default function Toggle({+ isOn = true,+ size = 'md',+ onToggle = () => {},+ isDisabled = false,+}) {+ const toggleSizes = sizes[size]+ return (+ <span+ role="checkbox"+ aria-checked="false"+ onClick={!isDisabled ? onToggle : () => {}}+ className={`${isOn ? 'bg-green-500' : 'bg-gray-200'} ${toggleSizes.background} ${+ isDisabled ? 'cursor-not-allowed' : 'cursor-pointer'+ } relative inline-block flex-shrink-0 border-transparent rounded-full transition-colors ease-in-out duration-200 focus:outline-none focus:ring `}+ >+ <span+ aria-hidden="true"+ className={`${isOn ? toggleSizes.toggleOn : toggleSizes.toggleOff} ${+ isDisabled ? 'cursor-not-allowed bg-white' : 'cursor-pointer bg-white'+ } ${+ toggleSizes.slider+ } inline-block rounded-full shadow transform transition ease-in-out duration-200`}+ ></span>+ </span>+ )+}diff --git a/studio/components/to-be-cleaned/forms/ToggleField.js b/studio/components/to-be-cleaned/forms/ToggleField.jsnew file mode 100644index 00000000000..5b05bc29e05--- /dev/null+++ b/studio/components/to-be-cleaned/forms/ToggleField.js@@ -0,0 +1,50 @@+import React, { useEffect, useState } from 'react'+import { connectField, filterDOMProps } from 'uniforms'+import { Toggle } from '@supabase/ui'++function ToggleField({+ disabled,+ id,+ inputRef,+ label,+ name,+ onChange,+ value,+ help,+ addOns,+ ...props+}) {+ const [enabled, setEnable] = useState(false)++ useEffect(() => {+ setEnable(value)+ }, [value])++ function onToggle() {+ const newValue = !enabled+ setEnable(newValue)+ onChange(newValue)+ }++ return (+ <div className="form-group items-center" {...filterDOMProps(props)}>+ <input+ disabled={disabled}+ id={id}+ name={name}+ ref={inputRef}+ type="checkbox"+ style={{ display: 'none' }}+ />++ {label && <label htmlFor={id}>{label}</label>}+ <div className="form-control flex items-center">+ <Toggle onChange={disabled ? undefined : onToggle} checked={enabled} />+ {addOns && addOns}+ </div>+ {help && <span className="form-text text-muted">{help}</span>}+ </div>+ )+}++export default connectField(ToggleField, { kind: 'leaf' })diff --git a/studio/components/ui/CodeEditor/CodeEditor.tsx b/studio/components/ui/CodeEditor/CodeEditor.tsxnew file mode 100644index 00000000000..f4aa725e42d--- /dev/null+++ b/studio/components/ui/CodeEditor/CodeEditor.tsx@@ -0,0 +1,78 @@+import { FC, useEffect, useRef } from 'react'+import Editor, { useMonaco } from '@monaco-editor/react'++import { timeout } from 'lib/helpers'+import Connecting from '../Loading'+import { alignEditor } from './CodeEditor.utils'++interface Props {+ id: string+ language: 'pgsql' | 'json'+ defaultValue?: string+ isReadOnly?: boolean+ onInputChange: (value?: string) => void+ onInputRun?: (value: string) => void+}++const CodeEditor: FC<Props> = ({+ id,+ language,+ defaultValue,+ isReadOnly,+ onInputChange = () => {},+ onInputRun = () => {},+}) => {+ const monaco = useMonaco()+ const editorRef = useRef()++ useEffect(() => {+ if (editorRef.current) {+ // alignEditor(editorRef.current)+ }+ }, [id])++ const onMount = async (editor: any, monaco: any) => {+ alignEditor(editor)+ editor.addAction({+ id: 'supabase',+ label: 'Run Query',+ keybindings: [monaco.KeyMod.CtrlCmd + monaco.KeyCode.Enter],+ contextMenuGroupId: 'operation',+ contextMenuOrder: 0,+ run: async () => {+ const selectedValue = (editorRef?.current as any)+ .getModel()+ .getValueInRange((editorRef?.current as any)?.getSelection())+ onInputRun(selectedValue || (editorRef?.current as any)?.getValue())+ },+ })++ await timeout(500)+ editor?.focus()+ editorRef.current = editor+ }++ return (+ <Editor+ path={id}+ theme="supabase"+ className="monaco-editor"+ defaultLanguage={language}+ defaultValue={defaultValue}+ loading={<Connecting />}+ options={{+ tabSize: 2,+ fontSize: 13,+ readOnly: isReadOnly,+ minimap: { enabled: false },+ wordWrap: 'on',+ fixedOverflowWidgets: true,+ contextmenu: true,+ }}+ onMount={onMount}+ onChange={onInputChange}+ />+ )+}++export default CodeEditordiff --git a/studio/components/ui/CodeEditor/CodeEditor.utils.ts b/studio/components/ui/CodeEditor/CodeEditor.utils.tsnew file mode 100644index 00000000000..9b7808ccc71--- /dev/null+++ b/studio/components/ui/CodeEditor/CodeEditor.utils.ts@@ -0,0 +1,29 @@+export const alignEditor = (editor: any) => {+ // Add margin above first line+ editor.changeViewZones((accessor: any) => {+ accessor.addZone({+ afterLineNumber: 0,+ heightInPx: 10,+ domNode: document.createElement('div'),+ })+ })+}++export const getTheme = (isDarkTheme: boolean) => {+ // [TODO] Probably need better theming for light mode+ return {+ base: 'vs-dark', // can also be vs-dark or hc-black+ inherit: true, // can also be false to completely replace the builtin rules+ colors: {+ 'editor.background': isDarkTheme ? '#1F1F1F' : '#FFFFFF',+ },+ rules: [+ { background: isDarkTheme ? '1F1F1F' : 'FFFFFF' },+ { token: '', foreground: isDarkTheme ? 'D4D4D4' : '444444' },+ { token: 'string.sql', foreground: '24B47E' },+ { token: 'comment', foreground: '666666' },+ { token: 'predefined.sql', foreground: isDarkTheme ? 'D4D4D4' : '444444' },+ // { token: '', foreground: 'ffcc00' }, // Trying to figure out how to change the border color of the row selected+ ],+ }+}diff --git a/studio/components/ui/CodeEditor/Providers/BackwardIterator.ts b/studio/components/ui/CodeEditor/Providers/BackwardIterator.tsnew file mode 100644index 00000000000..ddf1082fe90--- /dev/null+++ b/studio/components/ui/CodeEditor/Providers/BackwardIterator.ts@@ -0,0 +1,212 @@+// Porting from+// https://github.com/Borvik/vscode-postgres/blob/master/src/common/backwordIterator.ts++const _NL = '\n'.charCodeAt(0)+const _TAB = '\t'.charCodeAt(0)+const _WSB = ' '.charCodeAt(0)+const _LBracket = '['.charCodeAt(0)+const _RBracket = ']'.charCodeAt(0)+const _LCurly = '{'.charCodeAt(0)+const _RCurly = '}'.charCodeAt(0)+const _LParent = '('.charCodeAt(0)+const _RParent = ')'.charCodeAt(0)+const _Comma = ','.charCodeAt(0)+const _Period = '.'.charCodeAt(0)+const _Quote = "'".charCodeAt(0)+const _DQuote = '"'.charCodeAt(0)+const _USC = '_'.charCodeAt(0)+// _a will give undefined... so rename to _aCode+const _aCode = 'a'.charCodeAt(0)+const _z = 'z'.charCodeAt(0)+const _A = 'A'.charCodeAt(0)+const _Z = 'Z'.charCodeAt(0)+const _0 = '0'.charCodeAt(0)+const _9 = '9'.charCodeAt(0)++const BOF = 0++class BackwardIterator {+ _line+ _text+ _lines++ model+ offset+ lineNumber++ constructor(model: any, offset: number, lineNumber: number) {+ this.model = model+ this.offset = offset+ this.lineNumber = lineNumber++ this._text = model.getValue()+ this._lines = this._text.split(/\r?\n/g)+ this._line = this._lines[lineNumber]+ }++ hasNext() {+ return this.lineNumber >= 0 || this.offset >= 0+ }++ isFowardDQuote() {+ if (!this.hasForward()) return false+ return this.peekForward() === _DQuote+ }++ isNextDQuote() {+ if (!this.hasNext()) return false+ return this.peekNext() === _DQuote+ }++ isNextPeriod() {+ if (!this.hasNext()) return false+ return this.peekNext() === _Period+ }++ peekNext() {+ if (this.offset < 0) {+ if (this.lineNumber > 0) {+ return _NL+ }+ return BOF+ }+ return this._line.charCodeAt(this.offset)+ }++ hasForward() {+ return this.lineNumber < this._lines.length || this.offset < this._line.length+ }++ peekForward() {+ if (this.offset === this._line.length) {+ if (this.lineNumber === this._lines.length) return BOF+ return _NL+ }+ return this._line.charCodeAt(this.offset + 1)+ }++ next() {+ if (this.offset < 0) {+ if (this.lineNumber > 0) {+ this.lineNumber--+ this._line = this._lines[this.lineNumber]+ this.offset = this._line.length - 1+ return _NL+ }+ this.lineNumber = -1+ return BOF+ }+ let ch = this._line.charCodeAt(this.offset)+ this.offset--+ return ch+ }++ readArguments() {+ let parentNesting = 0+ let bracketNesting = 0+ let curlyNesting = 0+ let paramCount = 0+ while (this.hasNext()) {+ let ch = this.next()+ switch (ch) {+ case _LParent:+ parentNesting--+ if (parentNesting < 0) {+ return paramCount+ }+ break+ case _RParent:+ parentNesting+++ break+ case _LCurly:+ curlyNesting--+ break+ case _RCurly:+ curlyNesting+++ break+ case _LBracket:+ bracketNesting--+ break+ case _RBracket:+ bracketNesting+++ break+ case _DQuote:+ case _Quote:+ while (this.hasNext() && ch !== this.next()) {+ // find the closing quote or double quote+ }+ break+ case _Comma:+ if (!parentNesting && !bracketNesting && !curlyNesting) {+ paramCount+++ }+ break+ }+ }+ return -1+ }++ readIdent() {+ let identStarted = false+ let isQuotedIdentifier = false+ let ident = ''++ while (this.hasNext()) {+ // Peek first and check if is part of identifier+ let ch = this.peekNext()+ if (identStarted && !isQuotedIdentifier && !this._isIdentPart(ch)) break++ ch = this.next()++ if (!identStarted && isQuotedIdentifier && ch === _DQuote) {+ identStarted = true+ continue+ }+ if (!identStarted && (ch === _WSB || ch === _TAB || ch == _NL)) continue++ if (!identStarted && (ch === _DQuote || this._isIdentPart(ch))) {+ identStarted = true+ isQuotedIdentifier = ch === _DQuote+ ident = String.fromCharCode(ch) + ident+ } else if (identStarted) {+ if (isQuotedIdentifier) {+ if (ch === BOF) break+ ident = String.fromCharCode(ch) + ident+ if (ch === _DQuote) break+ } else {+ ident = String.fromCharCode(ch) + ident+ }+ }+ }+ return ident+ }++ readIdents(maxlvl: number) {+ let idents = []+ while (maxlvl > 0) {+ maxlvl--+ let ident = this.readIdent()+ if (!ident) {+ break+ }++ idents.push(ident)++ if (!this.isNextPeriod()) {+ break+ }+ }+ return idents.reverse()+ }++ _isIdentPart(ch: number) {+ return (+ ch === _USC || // _+ (ch >= _aCode && ch <= _z) || // a-z+ (ch >= _A && ch <= _Z) || // A-Z+ (ch >= _0 && ch <= _9)+ ) // 0-9+ }+}++export default BackwardIteratordiff --git a/studio/components/ui/CodeEditor/Providers/PgSQLCompletionProvider.ts b/studio/components/ui/CodeEditor/Providers/PgSQLCompletionProvider.tsnew file mode 100644index 00000000000..e4b50c11f13--- /dev/null+++ b/studio/components/ui/CodeEditor/Providers/PgSQLCompletionProvider.ts@@ -0,0 +1,227 @@+import BackwardIterator from './BackwardIterator'++// [Joshen] Needs to be fixed++export default function getPgsqlCompletionProvider(monaco: any, sqlEditorStore: any) {+ return {+ triggerCharacters: [' ', '.', '"'],+ provideCompletionItems: function (model: any, position: any, context: any) {+ try {+ // position.column should minus 2 as it returns 2 for first char+ // position.lineNumber should minus 1+ let iterator = new BackwardIterator(model, position.column - 2, position.lineNumber - 1)++ if (context.triggerCharacter === '"') {+ return startingQuoteScenarioSuggestions(monaco, sqlEditorStore, iterator)+ } else if (context.triggerCharacter === '.') {+ return dotScenarioSuggestions(monaco, sqlEditorStore, iterator)+ } else {+ return defaultScenarioSuggestions(monaco, sqlEditorStore)+ }+ } catch (_) {+ // any error, returns empty suggestion+ return { suggestions: [] }+ }+ },+ }+}++function startingQuoteScenarioSuggestions(monaco: any, sqlEditorStore: any, iterator: any) {+ const items: any[] = []++ let startingQuotedIdent = iterator.isFowardDQuote()+ if (!startingQuotedIdent) return { suggestions: items }++ iterator.next() // get passed the starting quote+ if (iterator.isNextPeriod()) {+ // probably a field - get the ident+ let ident = iterator.readIdent()+ let isQuotedIdent = false+ if (ident.match(/^\".*?\"$/)) {+ isQuotedIdent = true+ ident = fixQuotedIdent(ident)+ }+ let table = sqlEditorStore.tableCache.find((tbl: any) => {+ return (+ (isQuotedIdent && tbl.tablename === ident) ||+ (!isQuotedIdent && tbl.tablename.toLocaleLowerCase() == ident.toLocaleLowerCase())+ )+ })++ if (!table) return { suggestions: items }+ table.columns.forEach((field: any) => {+ items.push({+ label: field.attname,+ kind: monaco.languages.CompletionItemKind.Property,+ detail: field.data_type,+ insertText: field.attname,+ })+ })+ } else {+ // probably a table - list the tables+ sqlEditorStore.tableCache.forEach((table: any) => {+ items.push({+ label: table.tablename,+ kind: monaco.languages.CompletionItemKind.Class,+ insertText: table.tablename,+ })+ })+ }++ return { suggestions: items }+}++function dotScenarioSuggestions(monaco: any, sqlEditorStore: any, iterator: any) {+ const items: any[] = []++ let idents = readIdents(iterator, 3)+ let pos = 0++ let schema = sqlEditorStore.schemaCache.find((sch: any) => {+ const _ident = idents && idents.length > pos ? idents[pos] : {}+ return (+ (_ident.isQuoted && sch.name === _ident.name) ||+ (!_ident.isQuoted && sch.name?.toLocaleLowerCase() == _ident.name?.toLocaleLowerCase())+ )+ })++ if (!schema) {+ schema = sqlEditorStore.schemaCache.find((sch: any) => {+ return sch.name == 'public'+ })+ } else {+ pos+++ }++ if (idents.length == pos) {+ sqlEditorStore.tableCache.forEach((tbl: any) => {+ if (tbl.schemaname != schema.name) {+ return+ }+ items.push({+ label: tbl.tablename,+ kind: monaco.languages.CompletionItemKind.Class,+ detail: tbl.schemaname !== 'public' ? tbl.schemaname : null,+ insertText: formatInsertText(tbl.tablename),+ })+ })+ return { suggestions: items }+ }++ let table = sqlEditorStore.tableCache.find((tbl: any) => {+ const _ident = idents && idents.length > pos ? idents[pos] : {}+ return (+ (tbl.schemaname == schema.name && _ident.isQuoted && tbl.tablename === _ident.name) ||+ (!_ident.isQuoted && tbl.tablename?.toLocaleLowerCase() == _ident.name?.toLocaleLowerCase())+ )+ })++ if (table) {+ table.columns.forEach((field: any) => {+ items.push({+ label: field.attname,+ kind: monaco.languages.CompletionItemKind.Property,+ detail: field.data_type,+ insertText: formatInsertText(field.attname),+ })+ })+ }++ return { suggestions: items }+}++function defaultScenarioSuggestions(monaco: any, sqlEditorStore: any) {+ const items: any = []++ if (sqlEditorStore.keywordCache?.length > 0) {+ sqlEditorStore.keywordCache.forEach((x: any) => {+ items.push({+ label: x,+ kind: monaco.languages.CompletionItemKind.Keyword,+ insertText: x,+ })+ })+ }++ if (sqlEditorStore.schemaCache?.length > 0) {+ sqlEditorStore.schemaCache.forEach((x: any) => {+ items.push({+ label: x.name,+ kind: monaco.languages.CompletionItemKind.Keyword,+ insertText: x.name,+ })+ })+ }++ if (sqlEditorStore.tableCache?.length > 0) {+ sqlEditorStore.tableCache.forEach((x: any) => {+ const insertText = x.schemaname == 'public' ? x.tablename : x.schemaname + '.' + x.tablename+ items.push({+ label: x.tablename,+ detail: x.schemaname !== 'public' ? x.schemaname : null,+ kind: x.is_table+ ? monaco.languages.CompletionItemKind.Class+ : monaco.languages.CompletionItemKind.Interface,+ insertText: formatInsertText(insertText),+ })+ x.columns.forEach((field: any) => {+ if (!field) return++ let foundItem = items.find(+ (i: any) =>+ i.label === field?.attname &&+ i.kind === monaco.languages.CompletionItemKind.Field &&+ i.detail === field?.data_type+ )+ if (foundItem) {+ foundItem.tables.push(x.tablename)+ foundItem.tables.sort()+ foundItem.documentation = foundItem.tables.join(', ')+ } else {+ items.push({+ label: field.attname,+ kind: monaco.languages.CompletionItemKind.Field,+ detail: field.data_type,+ documentation: x.tablename,+ tables: [x.tablename],+ insertText: formatInsertText(field.attname),+ })+ }+ })+ })+ }++ if (sqlEditorStore.functionCache?.length > 0) {+ sqlEditorStore.functionCache.forEach((x: any) => {+ items.push({+ label: x.name,+ kind: monaco.languages.CompletionItemKind.Function,+ detail: x.result_type,+ documentation: x.description,+ insertText: x.name,+ })+ })+ }++ return { suggestions: items }+}++function fixQuotedIdent(str: string) {+ return str.replace(/^\"/, '').replace(/\"$/, '').replace(/\"\"/, '"')+}++function readIdents(iterator: any, maxlvl: number) {+ return iterator.readIdents(maxlvl).map((name: string) => {+ let isQuoted = false+ if (name.match(/^\".*?\"$/)) {+ isQuoted = true+ name = fixQuotedIdent(name)+ }+ return { isQuoted: isQuoted, name: name }+ })+}++function formatInsertText(value: string) {+ const hasUpperCase = !(value == value.toLowerCase())+ return hasUpperCase ? `"${value}"` : value+}diff --git a/studio/components/ui/CodeEditor/Providers/PgSQLSignatureHelpProvider.ts b/studio/components/ui/CodeEditor/Providers/PgSQLSignatureHelpProvider.tsnew file mode 100644index 00000000000..bcb7263bb6e--- /dev/null+++ b/studio/components/ui/CodeEditor/Providers/PgSQLSignatureHelpProvider.ts@@ -0,0 +1,39 @@+import BackwardIterator from './BackwardIterator'++// [Joshen] Needs to be fixed++export default function getPgsqlSignatureHelpProvider(monaco: any, sqlEditorStore: any) {+ return {+ signatureHelpTriggerCharacters: ['(', ','],+ provideSignatureHelp: function (model: any, position: any) {+ // position.column should minus 2 as it returns 2 for first char+ // position.lineNumber should minus 1+ const iterator = new BackwardIterator(model, position.column - 2, position.lineNumber - 1)++ let paramCount = iterator.readArguments()+ if (paramCount < 0) return null++ let ident = iterator.readIdent()+ if (!ident || ident.match(/^\".*?\"$/)) return null++ let fn = sqlEditorStore.functionCache.find(+ (f: any) => f.name.toLocaleLowerCase() === ident.toLocaleLowerCase()+ )+ if (!fn) return null+ if (!fn.args || fn.args.length < paramCount) return null++ const activeSignature = 0+ const activeParameter = Math.min(paramCount, fn.args.length - 1)+ const signatures = []+ signatures.push({+ label: `${fn.name}( ${fn.args.join(' , ')} )`,+ documentation: fn.description,+ parameters: fn.args.map((v: any) => {+ return { label: v }+ }),+ })++ return { value: { signatures, activeSignature, activeParameter }, dispose: () => {} }+ },+ }+}diff --git a/studio/components/ui/CodeEditor/index.ts b/studio/components/ui/CodeEditor/index.tsnew file mode 100644index 00000000000..a4bbbd740db--- /dev/null+++ b/studio/components/ui/CodeEditor/index.ts@@ -0,0 +1,4 @@+import CodeEditor from './CodeEditor'++export * from './CodeEditor.utils'+export default CodeEditordiff --git a/studio/components/ui/ConfirmationModal.tsx b/studio/components/ui/ConfirmationModal.tsxnew file mode 100644index 00000000000..06152eefa12--- /dev/null+++ b/studio/components/ui/ConfirmationModal.tsx@@ -0,0 +1,65 @@+import { Modal, Button, Space } from '@supabase/ui'+import { FC, useState, useEffect } from 'react'++interface Props {+ visible: boolean+ danger?: boolean+ title: string+ description?: string+ size?: 'small' | 'tiny' | 'medium' | 'large'+ buttonLabel: string+ buttonLoadingLabel?: string+ onSelectCancel: () => void+ onSelectConfirm: () => void+ children?: React.ReactNode+}++const ConfirmationModal: FC<Props> = ({+ visible = false,+ danger = false,+ title = '',+ description = '',+ size = 'small',+ buttonLabel = '',+ buttonLoadingLabel = '',+ onSelectCancel = () => {},+ onSelectConfirm = () => {},+ children,+}) => {+ useEffect(() => {+ if (visible) {+ setLoading(false)+ }+ }, [visible])++ const [loading, setLoading] = useState(false)++ const onConfirm = () => {+ setLoading(true)+ onSelectConfirm()+ }++ return (+ <Modal+ layout="vertical"+ visible={visible}+ title={title}+ description={description}+ size={size}+ onCancel={onSelectCancel}+ customFooter={+ <div className="flex items-center w-full space-x-3">+ <Button block type="secondary" onClick={onSelectCancel}>+ Cancel+ </Button>+ <Button block type="primary" danger={danger} loading={loading} onClick={onConfirm}>+ {loading ? buttonLoadingLabel : buttonLabel}+ </Button>+ </div>+ }+ children={children}+ />+ )+}++export default ConfirmationModaldiff --git a/studio/components/ui/Error.tsx b/studio/components/ui/Error.tsxnew file mode 100644index 00000000000..3d650b6924a--- /dev/null+++ b/studio/components/ui/Error.tsx@@ -0,0 +1,36 @@+import { useEffect } from 'react'+import Link from 'next/link'+import { Button, Typography } from '@supabase/ui'++export default function EmptyPageState({ error }: any) {+ useEffect(() => {+ console.error('Error', error)+ }, [])++ return (+ <div className="w-full h-full flex flex-col space-y-6 items-center justify-center mx-auto">+ <div className="w-[320px] flex flex-col items-center justify-center space-y-3">+ <Typography.Title level={3}>Something went wrong 🤕</Typography.Title>+ <Typography.Text className="text-center">+ Sorry about that, please try again later or feel free to reach out to us if the problem+ persists.+ </Typography.Text>+ </div>+ <div className="flex items-center space-x-4">+ <Link href="/">+ <a>+ <Button>Head back</Button>+ </a>+ </Link>+ <Link href="/support/new">+ <a>+ <Button type="secondary">Submit a support request</Button>+ </a>+ </Link>+ </div>+ <Typography.Text type="secondary" small>+ Error: [{error?.code}] {error?.message}+ </Typography.Text>+ </div>+ )+}diff --git a/studio/components/ui/Flag/Flag.tsx b/studio/components/ui/Flag/Flag.tsxnew file mode 100644index 00000000000..7788408badc--- /dev/null+++ b/studio/components/ui/Flag/Flag.tsx@@ -0,0 +1,17 @@+import React, { ReactNode } from 'react'+import { useFlag } from 'hooks'++interface Props {+ children: ReactNode+ name: string+}++function Flag({ children, name }: Props) {+ const flagValue = useFlag(name)+ if (!flagValue) {+ return null+ }+ return <>{children}</>+}++export default Flagdiff --git a/studio/components/ui/Flag/FlagContext.ts b/studio/components/ui/Flag/FlagContext.tsnew file mode 100644index 00000000000..6c58ab54c84--- /dev/null+++ b/studio/components/ui/Flag/FlagContext.ts@@ -0,0 +1,5 @@+import { createContext } from 'react'++const FlagContext = createContext({})++export default FlagContextdiff --git a/studio/components/ui/Flag/FlagProvider.tsx b/studio/components/ui/Flag/FlagProvider.tsxnew file mode 100644index 00000000000..203b1d84ef7--- /dev/null+++ b/studio/components/ui/Flag/FlagProvider.tsx@@ -0,0 +1,41 @@+import { FC, useEffect, useState } from 'react'+import createConfigCatClient from 'configcat-js'+import FlagContext from './FlagContext'+import { IS_PLATFORM } from 'lib/constants'+import { useStore } from 'hooks'+import { observer } from 'mobx-react-lite'+import { User } from 'types'++const FlagProvider: FC = ({ children }) => {+ const [store, setStore] = useState({})+ const { ui } = useStore()+ const { Provider } = FlagContext+ const { profile } = ui++ useEffect(() => {+ if (IS_PLATFORM && profile) getFlags(profile)+ }, [profile])++ const getFlags = async (user: User) => {+ const setFlagValues = async () => {+ const flagValues = await client.getAllValuesAsync({ identifier: user.primary_email })+ const flagStore: any = {}++ flagValues.forEach((item: any) => {+ flagStore[item.settingKey] = item.settingValue+ })+ setStore(flagStore)+ }++ const client = createConfigCatClient(process.env.NEXT_PUBLIC_CONFIGCAT_SDK_KEY ?? '', {+ configChanged: setFlagValues,+ pollIntervalSeconds: 600,+ })++ await setFlagValues()+ }++ return <Provider value={store}>{children}</Provider>+}++export default observer(FlagProvider)diff --git a/studio/components/ui/InfiniteList.tsx b/studio/components/ui/InfiniteList.tsxnew file mode 100644index 00000000000..03bc7799214--- /dev/null+++ b/studio/components/ui/InfiniteList.tsx@@ -0,0 +1,101 @@+import { CSSProperties, FC, memo } from 'react'+import memoize from 'memoize-one'+import { areEqual, VariableSizeList } from 'react-window'+import AutoSizer from 'react-virtualized-auto-sizer'+import InfiniteLoader from 'react-window-infinite-loader'++import { propsAreEqual } from 'lib/helpers'+import ShimmeringLoader from 'components/ui/ShimmeringLoader'++/**+ * Note that the loading more logic of this component works best with a cursor-based+ * pagination API such that each payload response from the API returns a structure like+ * { cursor, items, hasNext, hasPrevious }+ */++const createItemData = memoize((items, itemProps) => ({ items, ...itemProps }))++interface ItemProps {+ data: any+ index: number+ style: CSSProperties+}++const Item: FC<ItemProps> = memo(({ data, index, style }) => {+ const { items, itemProps, ItemComponent } = data+ const item = items[index]++ return item ? (+ <div style={style}>+ <ItemComponent index={index} item={item} {...itemProps} />+ </div>+ ) : (+ <div className="space-y-1 my-1" style={style}>+ <ShimmeringLoader />+ <ShimmeringLoader />+ <ShimmeringLoader />+ </div>+ )+}, areEqual)++const InfiniteList = ({+ items = [],+ itemProps = {},+ hasNextPage = false,+ isLoadingNextPage = false,+ getItemSize = () => 40,+ onLoadNextPage = () => {},+ ItemComponent = () => null,+}) => {+ // Only load 1 page of items at a time+ // Pass an empty callback to InfiniteLoader in case it asks to load more than once+ const loadMoreItems = isLoadingNextPage ? () => {} : onLoadNextPage++ // Every row is loaded except for our loading indicator row+ const isItemLoaded = (index: number) => !hasNextPage || !!items[index]++ const itemCount = hasNextPage ? items.length + 1 : items.length+ const itemData = createItemData(items, { itemProps, ItemComponent })++ return (+ <div className="relative flex flex-col flex-grow">+ <div className="flex-grow">+ <AutoSizer>+ {({ height, width }) => (+ <InfiniteLoader+ isItemLoaded={isItemLoaded}+ itemCount={itemCount}+ loadMoreItems={loadMoreItems}+ >+ {({ onItemsRendered, ref }) => (+ <VariableSizeList+ ref={ref}+ height={height}+ width={width}+ itemCount={itemCount}+ itemData={itemData}+ itemSize={getItemSize}+ onItemsRendered={onItemsRendered}+ >+ {Item}+ </VariableSizeList>+ )}+ </InfiniteLoader>+ )}+ </AutoSizer>+ </div>+ <div+ style={{+ position: 'absolute',+ left: 0,+ right: 0,+ top: 0,+ bottom: 0,+ pointerEvents: 'none', //https://github.com/bvaughn/react-window/issues/455+ }}+ />+ </div>+ )+}++export default memo(InfiniteList, propsAreEqual)diff --git a/studio/components/ui/InformationBox.tsx b/studio/components/ui/InformationBox.tsxnew file mode 100644index 00000000000..1281218e201--- /dev/null+++ b/studio/components/ui/InformationBox.tsx@@ -0,0 +1,70 @@+import { FC, ReactNode, useState } from 'react'+import { IconMaximize2, IconMinimize2, Typography } from '@supabase/ui'++interface Props {+ icon?: ReactNode+ title: ReactNode | string+ description?: ReactNode | string+ url?: string+ urlLabel?: string+ defaultVisibility?: boolean+ hideCollapse?: boolean+}++const InformationBox: FC<Props> = ({+ icon,+ title,+ description,+ url,+ urlLabel = 'Read more',+ defaultVisibility = false,+ hideCollapse = false,+}) => {+ const [isExpanded, setIsExpanded] = useState<boolean>(defaultVisibility)+ return (+ <div className="block w-full bg-gray-100 dark:bg-gray-600 py-3 border border-gray-600 dark:border-gray-500 border-opacity-20 rounded">+ <div className="flex flex-col">+ <div className="flex items-center justify-between px-3">+ <div className="flex space-x-3 w-full lg:items-center">+ <Typography.Text>{icon}</Typography.Text>+ <div className="flex-grow">+ <Typography.Text>{title}</Typography.Text>+ </div>+ </div>+ {description && !hideCollapse ? (+ <div className="cursor-pointer" onClick={() => setIsExpanded(!isExpanded)}>+ <Typography>+ {isExpanded ? (+ <IconMinimize2 size={14} strokeWidth={1.5} />+ ) : (+ <IconMaximize2 size={14} strokeWidth={1.5} />+ )}+ </Typography>+ </div>+ ) : null}+ </div>+ <div+ className={`transition-all flex flex-col space-y-3 overflow-hidden ${+ isExpanded ? 'mt-3' : ''+ }`}+ style={{ maxHeight: isExpanded ? 500 : 0 }}+ >+ <div className="px-3">+ <Typography.Text type="secondary" small>+ {description}+ </Typography.Text>+ </div>+ {url && (+ <div className="px-3">+ <a href={url} target="_blank">+ <Typography.Text small>{urlLabel}</Typography.Text>+ </a>+ </div>+ )}+ </div>+ </div>+ </div>+ )+}++export default InformationBoxdiff --git a/studio/components/ui/Loading/Loading.anim.json b/studio/components/ui/Loading/Loading.anim.jsonnew file mode 100644index 00000000000..8e3c4ff3cea--- /dev/null+++ b/studio/components/ui/Loading/Loading.anim.json@@ -0,0 +1 @@+{"assets":[{"id":"comp_Combined-Shape_BF73096D-B400-4871-BC74-C00F039296BF","layers":[{"ty":3,"ao":0,"ddd":0,"ind":15,"ip":0,"ks":{"a":{"a":0,"k":[0,0,0]},"o":{"a":0,"k":100},"p":{"s":true,"x":{"a":0,"k":113},"y":{"a":0,"k":101}},"r":{"a":0,"k":0},"s":{"a":0,"k":[100,100]}},"nm":"Combined-Shape-null","op":61,"sr":1,"st":0,"tt":0},{"ty":4,"ao":0,"ddd":0,"ind":18,"ip":0,"ks":{"a":{"a":0,"k":[0,0]},"o":{"a":0,"k":100},"p":{"a":0,"k":[0,0]},"r":{"a":0,"k":0},"s":{"a":0,"k":[100,100]}},"nm":"Combined-Shape-size","op":61,"shapes":[{"ty":"gr","cix":2,"it":[{"ty":"rc","d":1,"nm":"sizeElement","p":{"a":0,"k":[187.5,187.5]},"r":{"a":0,"k":0},"s":{"a":0,"k":[375,375]}},{"ty":"fl","c":{"a":0,"k":[0,0,0,0]},"nm":"Fill1","o":{"a":0,"k":0},"r":1},{"ty":"tr","a":{"a":0,"k":[0,0]},"nm":"Transform","o":{"a":0,"k":100},"p":{"a":0,"k":[0,0]},"r":{"a":0,"k":0},"s":{"a":0,"k":[100,100]},"sa":{"a":0,"k":0},"sk":{"a":0,"k":0}}],"nm":"Combined-Shape-size","np":3}],"sr":1,"st":0,"tt":0},{"ty":4,"ao":0,"ddd":0,"ind":11,"ip":0,"ks":{"a":{"a":0,"k":[0,0]},"o":{"a":0,"k":100},"p":{"a":0,"k":[0,0]},"r":{"a":0,"k":0},"s":{"a":0,"k":[100,100]}},"nm":"Combined-Shape-stroke","op":61,"parent":15,"shapes":[{"ty":"gr","cix":2,"it":[{"ty":"sh","ind":0,"ks":{"a":0,"k":{"c":true,"i":[[0,0],[0,-1.5774979571739018],[0,0],[0,0],[0,-4.1410576386918905],[0.9255199999998638,-1.2470810337555633],[0,0],[0,0],[0.8663779999999406,-0.060411534501071174],[0,0],[0,0],[0,1.5774239565191124],[0,0],[0,0],[0,4.140773636179105],[-0.9253779999999092,1.2470810337555918],[0,0],[0,0],[-0.9496219999999482,0]],"o":[[1.5779769999999473,0],[0,0],[0,0],[4.14215999999999,0],[0,1.671847791949645],[0,0],[0,0],[-0.4826290000000597,0.661415851986078],[0,0],[0,0],[-1.5779769999999473,0],[0,0],[0,0],[-4.142126999999958,0],[0,-1.6721317944625582],[0,0],[0,0],[0.5194710000000526,-0.7124533035483542],[0,0]],"v":[[72.142911,0],[75,2.8563202717656835],[75,67.44501973095933],[142.5,67.44501973095933],[150,74.94310207148214],[148.52722000000006,79.40599555766988],[145.63866000000002,83.46085143367749],[80.16748600000005,171.86465860097266],[78.05883900000003,173.03298993797728],[77.857089,173.04],[77.857089,173.04],[75,170.18373672873858],[75,105.5949792690318],[7.5,105.5949792690318],[0,98.09718193103066],[1.4727789999999457,93.63400444233007],[4.361228999999984,89.57914756631368],[69.83251399999996,1.1754323998324296],[72.142911,0]]}},"nm":"Combined-Shape-path"},{"ty":"st","c":{"a":0,"k":[0.24313725490196078,0.8117647058823529,0.5568627450980392,1]},"d":[{"n":"o","nm":"offset","v":{"a":0,"k":0}}],"lc":1,"lj":1,"ml":4,"nm":"Stroke1","o":{"a":0,"k":100},"w":{"a":0,"k":7}},{"ty":"tm","e":{"a":1,"k":[{"i":{"x":[0.58],"y":[1]},"o":{"x":[0.42],"y":[0]},"s":[0],"t":0},{"i":{"x":[0.58],"y":[1]},"o":{"x":[0.42],"y":[0]},"s":[100],"t":30},{"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]},"s":[100],"t":60}]},"m":2,"nm":"TrimPaths1","o":{"a":0,"k":0},"s":{"a":1,"k":[{"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]},"s":[0],"t":0},{"i":{"x":[0.58],"y":[1]},"o":{"x":[0.42],"y":[0]},"s":[0],"t":27},{"i":{"x":[0.58],"y":[1]},"o":{"x":[0.42],"y":[0]},"s":[100],"t":60}]}},{"ty":"tr","a":{"a":0,"k":[0,0]},"nm":"Transform","o":{"a":0,"k":100},"p":{"a":0,"k":[0,0]},"r":{"a":0,"k":0},"s":{"a":0,"k":[100,100]},"sa":{"a":0,"k":0},"sk":{"a":0,"k":0}}],"nm":"Combined-Shape-stroke","np":3}],"sr":1,"st":0,"tt":0},{"ty":4,"ao":0,"ddd":0,"ind":14,"ip":0,"ks":{"a":{"a":0,"k":[0,0]},"o":{"a":0,"k":100},"p":{"a":0,"k":[0,0]},"r":{"a":0,"k":0},"s":{"a":0,"k":[100,100]}},"nm":"Combined-Shape-content","op":61,"parent":15,"shapes":[{"ty":"gr","cix":2,"it":[{"ty":"sh","ind":0,"ks":{"a":0,"k":{"c":true,"i":[[0,0],[0,-1.5774979571739018],[0,0],[0,0],[0,-4.1410576386918905],[0.9255199999998638,-1.2470810337555633],[0,0],[0,0],[0.8663779999999406,-0.060411534501071174],[0,0],[0,0],[0,1.5774239565191124],[0,0],[0,0],[0,4.140773636179105],[-0.9253779999999092,1.2470810337555918],[0,0],[0,0],[-0.9496219999999482,0]],"o":[[1.5779769999999473,0],[0,0],[0,0],[4.14215999999999,0],[0,1.671847791949645],[0,0],[0,0],[-0.4826290000000597,0.661415851986078],[0,0],[0,0],[-1.5779769999999473,0],[0,0],[0,0],[-4.142126999999958,0],[0,-1.6721317944625582],[0,0],[0,0],[0.5194710000000526,-0.7124533035483542],[0,0]],"v":[[72.142911,0],[75,2.8563202717656835],[75,67.44501973095933],[142.5,67.44501973095933],[150,74.94310207148214],[148.52722000000006,79.40599555766988],[145.63866000000002,83.46085143367749],[80.16748600000005,171.86465860097266],[78.05883900000003,173.03298993797728],[77.857089,173.04],[77.857089,173.04],[75,170.18373672873858],[75,105.5949792690318],[7.5,105.5949792690318],[0,98.09718193103066],[1.4727789999999457,93.63400444233007],[4.361228999999984,89.57914756631368],[69.83251399999996,1.1754323998324296],[72.142911,0]]}},"nm":"Combined-Shape-path"},{"ty":"fl","c":{"a":0,"k":[0,0,0,1]},"nm":"Fill1","o":{"a":0,"k":0},"r":1},{"ty":"tr","a":{"a":0,"k":[0,0]},"nm":"Transform","o":{"a":0,"k":100},"p":{"a":0,"k":[0,0]},"r":{"a":0,"k":0},"s":{"a":0,"k":[100,100]},"sa":{"a":0,"k":0},"sk":{"a":0,"k":0}}],"nm":"Combined-Shape-content","np":3}],"sr":1,"st":0,"tt":0}]}],"ddd":0,"fonts":{"list":[]},"fr":30,"h":375,"ip":0,"layers":[{"ty":0,"ao":0,"ddd":0,"h":375,"ind":10,"ip":0,"ks":{"a":{"a":0,"k":[0,0]},"o":{"a":0,"k":100},"p":{"a":0,"k":[0,0]},"r":{"a":0,"k":0},"s":{"a":0,"k":[100,100]}},"nm":"Combined-Shape-composition","op":61,"refId":"comp_Combined-Shape_BF73096D-B400-4871-BC74-C00F039296BF","sr":1,"st":0,"tt":0,"w":375},{"ty":4,"ao":0,"ddd":0,"ind":2,"ip":0,"ks":{"a":{"a":0,"k":[0,0]},"o":{"a":0,"k":100},"p":{"a":0,"k":[0,0]},"r":{"a":0,"k":0},"s":{"a":0,"k":[100,100]}},"nm":"Scene-background","op":61,"shapes":[{"ty":"gr","cix":2,"it":[{"ty":"rc","d":1,"nm":"Scene-background","p":{"a":0,"k":[187.5,187.5]},"r":{"a":0,"k":0},"s":{"a":0,"k":[375,375]}},{"ty":"fl","c":{"a":0,"k":[0.9440000000000001,0.968,1,1]},"nm":"Fill1","o":{"a":0,"k":0},"r":1},{"ty":"tr","a":{"a":0,"k":[0,0]},"nm":"Transform","o":{"a":0,"k":100},"p":{"a":0,"k":[0,0]},"r":{"a":0,"k":0},"s":{"a":0,"k":[100,100]},"sa":{"a":0,"k":0},"sk":{"a":0,"k":0}}],"nm":"Scene-background","np":3}],"sr":1,"st":0,"tt":0}],"meta":{"a":"","d":"OutlineTraceLoader(Empty)","g":"Flow1.8.6","k":"","tc":""},"nm":"OutlineTraceLoader(Empty)","op":61,"v":"5.6.4","w":375}\ No newline at end of filediff --git a/studio/components/ui/Loading/Loading.tsx b/studio/components/ui/Loading/Loading.tsxnew file mode 100644index 00000000000..be3ad894d47--- /dev/null+++ b/studio/components/ui/Loading/Loading.tsx@@ -0,0 +1,15 @@+import React, { FC } from 'react'+import Lottie from 'lottie-react'+import loadingAnim from './Loading.anim.json'++interface Props {}++const Connecting: FC<Props> = () => (+ <div className="w-full h-full flex flex-col items-center justify-center">+ <div className="w-32">+ <Lottie loop={true} autoplay={true} animationData={loadingAnim} />+ </div>+ </div>+)++export default Connectingdiff --git a/studio/components/ui/Loading/index.ts b/studio/components/ui/Loading/index.tsnew file mode 100644index 00000000000..472e998095e--- /dev/null+++ b/studio/components/ui/Loading/index.ts@@ -0,0 +1,3 @@+import Loading from './Loading'++export default Loadingdiff --git a/studio/components/ui/PageTelemetry.tsx b/studio/components/ui/PageTelemetry.tsxnew file mode 100644index 00000000000..b93bcfd3fb8--- /dev/null+++ b/studio/components/ui/PageTelemetry.tsx@@ -0,0 +1,55 @@+import { useStore } from 'hooks'+import { post } from 'lib/common/fetch'+import { API_URL, IS_PLATFORM } from 'lib/constants'+import { isUndefined } from 'lodash'+import { observer } from 'mobx-react-lite'+import { useRouter } from 'next/router'+import { FC, useEffect } from 'react'+import { User } from 'types'++const PageTelemetry: FC = ({ children }) => {+ const router = useRouter()+ const { ui } = useStore()+ const { profile } = ui++ useEffect(() => {+ // `routeChangeComplete` won't run for the first page load unless the query string is+ // hydrated later on, so here we log a page view if this is the first render and+ // there's no query string+ if (!router.asPath.includes('[') && !router.asPath.includes(']')) {+ handlePageTelemetry(profile)+ }+ }, [profile])++ useEffect(() => {+ function handleRouteChange() {+ handlePageTelemetry(profile)+ }+ // Listen for page changes after a navigation or when the query changes+ router.events.on('routeChangeComplete', handleRouteChange)+ return () => {+ router.events.off('routeChangeComplete', handleRouteChange)+ }+ }, [router.events, profile])++ const handlePageTelemetry = (profile?: User) => {+ if (IS_PLATFORM) {+ // exclude github.com from referrer if user is logged in+ // add other auth providers in here if necessary+ const referrer =+ !isUndefined(profile) && document.referrer === 'https://github.com' ? '' : document.referrer++ // send page view+ // TODO: document.title is lagging behind routeChangeComplete+ // that means the page title is the previous one instead of the new page title+ post(`${API_URL}/telemetry/page`, {+ referrer: referrer,+ title: document.title,+ })+ }+ }++ return <>{children}</>+}++export default observer(PageTelemetry)diff --git a/studio/components/ui/ProductMenu/ProductMenu.tsx b/studio/components/ui/ProductMenu/ProductMenu.tsxnew file mode 100644index 00000000000..99d15ecd6a2--- /dev/null+++ b/studio/components/ui/ProductMenu/ProductMenu.tsx@@ -0,0 +1,46 @@+import { FC } from 'react'+import Link from 'next/link'+import { Badge, Divider, Menu, Typography } from '@supabase/ui'+import { ProductMenuItem, ProductMenuGroup } from './ProductMenu.types'++interface Props {+ page?: string+ menu: ProductMenuGroup[]+}++const ProductMenu: FC<Props> = ({ page, menu }) => {+ return (+ <div className="my-6 flex flex-col flex-grow space-y-4 overflow-y-auto">+ {menu.map((group: ProductMenuGroup, idx: number) => (+ <div key={group.title} className="space-y-4">+ <div className="mx-4 space-y-2">+ <div className="mx-4 w-full flex">+ <Typography.Text type="secondary" small>+ {group.title}+ </Typography.Text>+ </div>+ {group.isPreview && (+ <div className="mx-2">+ <Badge color="yellow">Not production ready</Badge>+ </div>+ )}+ <div className="dash-product-menu space-y-1">+ {group.items.map((item: ProductMenuItem) => (+ <Link key={item.key} href={item.url}>+ <a className="block" target={item.isExternal ? '_blank' : '_self'}>+ <Menu.Item icon={item.icon} rounded active={page === item.key}>+ <Typography.Text className="truncate">{item.name}</Typography.Text>+ </Menu.Item>+ </a>+ </Link>+ ))}+ </div>+ </div>+ {idx !== menu.length - 1 && <Divider light />}+ </div>+ ))}+ </div>+ )+}++export default ProductMenudiff --git a/studio/components/ui/ProductMenu/ProductMenu.types.ts b/studio/components/ui/ProductMenu/ProductMenu.types.tsnew file mode 100644index 00000000000..4fb186610ea--- /dev/null+++ b/studio/components/ui/ProductMenu/ProductMenu.types.ts@@ -0,0 +1,16 @@+import { ReactNode } from 'react'++export interface ProductMenuGroup {+ title: string+ isPreview?: boolean+ items: ProductMenuItem[]+}++export interface ProductMenuItem {+ name: string+ key: string+ url: string+ items: any[]+ icon?: ReactNode+ isExternal?: boolean+}diff --git a/studio/components/ui/ProductMenu/index.ts b/studio/components/ui/ProductMenu/index.tsnew file mode 100644index 00000000000..91cdf1160a2--- /dev/null+++ b/studio/components/ui/ProductMenu/index.ts@@ -0,0 +1,2 @@+import ProductMenu from './ProductMenu'+export default ProductMenudiff --git a/studio/components/ui/ShimmeringLoader.tsx b/studio/components/ui/ShimmeringLoader.tsxnew file mode 100644index 00000000000..a02e89c022f--- /dev/null+++ b/studio/components/ui/ShimmeringLoader.tsx@@ -0,0 +1,5 @@+const ShimmeringLoader = () => {+ return <div className="shimmering-loader rounded py-3 mx-1" />+}++export default ShimmeringLoaderdiff --git a/studio/components/ui/SparkBar.tsx b/studio/components/ui/SparkBar.tsxnew file mode 100644index 00000000000..1331b8f2ac9--- /dev/null+++ b/studio/components/ui/SparkBar.tsx@@ -0,0 +1,70 @@+import { FC } from 'react'++interface Props {+ value: number+ max?: number+ type?: string+ labelTop?: string+ labelBottom?: string+ barClass?: string+ bgClass?: string+ borderClass?: string+}++const SparkBar: FC<Props> = ({+ max = 100,+ value = 0,+ barClass = '',+ bgClass = '',+ type = '',+ borderClass = '',+ labelBottom = '',+ labelTop = '',+}) => {+ if (type == 'horizontal') {+ let width = Number((value / max) * 100)+ if (width < 3) width = 3+ let widthCss = `${width}%`+ const hasLabels = labelBottom || labelTop+ return (+ <div className="flex flex-col w-full">+ {hasLabels && (+ <div className="flex justify-between pb-1">+ <span className="text-typography-body-light dark:text-typography-body-dark text-sm">+ {labelBottom}+ </span>+ <span className="text-typography-body-light dark:text-typography-body-dark text-sm">+ {labelTop}+ </span>+ </div>+ )}+ <div+ className={`relative rounded h-1 overflow-hidden w-full border p-0 ${+ bgClass ? bgClass : 'bg-gray-100 dark:bg-gray-600'+ } ${borderClass ? borderClass : 'border-none'}`}+ >+ <div+ className={`absolute rounded inset-x-0 bottom-0 h-1 ${barClass}`}+ style={{ width: widthCss }}+ ></div>+ </div>+ </div>+ )+ } else {+ const totalHeight = 35+ let height = Number((value / max) * totalHeight)+ if (height < 2) height = 2+ return (+ <div+ className={`relative rounded w-5 overflow-hidden border p-1 ${+ bgClass ? bgClass : 'bg-gray-400'+ } ${borderClass ? borderClass : 'border-none'}`}+ style={{ height: totalHeight }}+ >+ <div className={`absolute inset-x-0 bottom-0 w-5 ${barClass}`} style={{ height }}></div>+ </div>+ )+ }+}++export default SparkBardiff --git a/studio/components/ui/ui.types.ts b/studio/components/ui/ui.types.tsnew file mode 100644index 00000000000..51980de21da--- /dev/null+++ b/studio/components/ui/ui.types.ts@@ -0,0 +1,8 @@+import { ReactNode } from 'react'++export interface Route {+ key: string+ label: string+ icon: ReactNode+ link: string+}diff --git a/studio/hooks/deprecated.ts b/studio/hooks/deprecated.tsnew file mode 100644index 00000000000..5e91c0fb2c4--- /dev/null+++ b/studio/hooks/deprecated.ts@@ -0,0 +1,163 @@+import { useRef, useEffect, useState } from 'react'+import { includes } from 'lodash'+import TooltipListener from 'components/to-be-cleaned/TooltipListener'++/**+ * Hook for listening to clicks outside of the target element.+ *+ * @param {Function} onClickOutside+ *+ * @returns {Object} Ref for the target element+ */++function clickOutsideListener(onClickOutside: any) {+ const ref = useRef(null)++ const handleNavigate = (event: any) => {+ if (+ !ref.current ||+ ref.current === event.target ||+ (ref.current as any).contains(event.target)+ ) {+ return+ }++ onClickOutside(event)+ }++ useEffect(() => {+ document.body.addEventListener('click', handleNavigate)++ return () => {+ document.body.removeEventListener('click', handleNavigate)+ }+ })++ return ref+}++/**+ * Hook for listening on key events.+ *+ * @param {Object|Map} keyMap Key names mapped to event handlers. If a key name exists, its+ * default behavior will be suppressed.+ * @param {Array} whitelistNodes If target element is in the whitelist nodes array, will not+ * trigger shortcut event+ * @param {Array} whitelistClasses If target class is in the whitelist classes array, will not+ * trigger shortcut event+ */+function useKeyboardShortcuts(keyMap: any, whitelistNodes = [], whitelistClasses = []) {+ const [lastKeydown, setLastKeydown] = useState()++ const handleKeydown = (event: any) => {+ if (+ !keyMap ||+ includes(whitelistNodes, event.target.nodeName) ||+ includes(whitelistClasses, event.target.className)+ ) {+ return+ }++ let keyPressed = getKeyPresses(event)++ if (keyMap[keyPressed]) {+ /**+ * combined keymap will trigger action on KeyDown event+ * while single keymap will trigger action on KeyUp event+ */+ if (keyPressed.includes('+')) {+ event.preventDefault()+ keyMap[keyPressed](event)+ // @ts-ignore+ setLastKeydown(null)+ } else {+ setLastKeydown(event.key)+ event.preventDefault()+ }+ }+ }++ const handleKeyup = (event: any) => {+ if (!keyMap) return++ if (keyMap[event.key] && lastKeydown === event.key) {+ event.preventDefault()+ keyMap[event.key](event)+ // @ts-ignore+ setLastKeydown(null)+ }+ }++ function getKeyPresses(event: any) {+ return event.metaKey && event.shiftKey+ ? `Command+Shift+${event.key}`+ : event.metaKey+ ? `Command+${event.key}`+ : event.shiftKey && event.key === 'Enter'+ ? `Shift+${event.key}`+ : event.ctrlKey && event.key+ ? `Control+${event.key}`+ : event.key+ }++ useEffect(() => {+ document.body.addEventListener('keydown', handleKeydown)+ document.body.addEventListener('keyup', handleKeyup)+ return () => {+ document.body.removeEventListener('keydown', handleKeydown)+ document.body.removeEventListener('keyup', handleKeyup)+ }+ })+}++function isMounted() {+ const isMounted = useRef(false)+ // @ts-ignore+ useEffect(() => {+ isMounted.current = true+ return () => (isMounted.current = false)+ }, [])+ return isMounted+}++function getWindowDimensions() {+ if (!window) return { width: 0, height: 0 }++ const { innerWidth: width, innerHeight: height } = window+ return {+ width,+ height,+ }+}++function useWindowDimensions() {+ const [windowDimensions, setWindowDimensions] = useState(getWindowDimensions())++ useEffect(() => {+ function handleResize() {+ setWindowDimensions(getWindowDimensions())+ }++ window.addEventListener('resize', handleResize)+ return () => window.removeEventListener('resize', handleResize)+ }, [])++ return windowDimensions+}++function usePrevious(value: any) {+ const ref = useRef()+ useEffect(() => {+ ref.current = value+ })+ return ref.current+}++export {+ clickOutsideListener,+ useKeyboardShortcuts,+ isMounted,+ TooltipListener,+ useWindowDimensions,+ usePrevious,+}diff --git a/studio/hooks/index.ts b/studio/hooks/index.tsnew file mode 100644index 00000000000..09c15d6f80c--- /dev/null+++ b/studio/hooks/index.ts@@ -0,0 +1,5 @@+export * from './misc/useStore'+export * from './misc/withAuth'+export * from './deprecated'+export * from './queries'+export * from './ui'diff --git a/studio/hooks/misc/useStore.tsx b/studio/hooks/misc/useStore.tsxnew file mode 100644index 00000000000..77ee15120d3--- /dev/null+++ b/studio/hooks/misc/useStore.tsx@@ -0,0 +1,56 @@+import { useMonaco } from '@monaco-editor/react'+import { getTheme } from 'components/ui/CodeEditor'+import { autorun } from 'mobx'+import { createContext, FC, useContext, useEffect } from 'react'+import toast from 'react-hot-toast'+import { IRootStore } from 'stores'++const StoreContext = createContext<IRootStore>(undefined!)++export function useStore() {+ const context = useContext(StoreContext)+ if (context === undefined) {+ throw new Error('useStore must be used within StoreProvider')+ }++ return context+}++interface StoreProvider {+ rootStore: IRootStore+}+export const StoreProvider: FC<StoreProvider> = ({ children, rootStore }) => {+ const monaco = useMonaco()+ const { ui } = rootStore+ const { theme } = ui++ useEffect(() => {+ if (monaco) {+ const theme: any = getTheme(ui.isDarkTheme)+ monaco.editor.defineTheme('supabase', theme)+ }+ }, [theme, monaco])++ useEffect(() => {+ ui.load()++ autorun(() => {+ if (ui.notification) {+ const { id, category, message } = ui.notification+ switch (category) {+ case 'info':+ return toast(message, { id })+ case 'success':+ return toast.success(message, { id })+ case 'error':+ console.error(message)+ return toast.error(message, { id })+ case 'loading':+ return toast.loading(message, { id })+ }+ }+ })+ }, [])++ return <StoreContext.Provider value={rootStore}>{children}</StoreContext.Provider>+}diff --git a/studio/hooks/misc/withAuth.tsx b/studio/hooks/misc/withAuth.tsxnew file mode 100644index 00000000000..13de197ee24--- /dev/null+++ b/studio/hooks/misc/withAuth.tsx@@ -0,0 +1,95 @@+import { useProfile, useStore } from 'hooks'+import { ComponentType, useEffect, useState } from 'react'+import { flatten } from 'lodash'+import { NextRouter, useRouter } from 'next/router'+import { IS_PLATFORM } from 'lib/constants'+import Connecting from 'components/ui/Loading'+import { Project } from 'types'++const PLATFORM_ONLY_PAGES = ['storage', 'reports', 'settings']++export function withAuth(+ WrappedComponent: ComponentType,+ options?: {+ redirectTo: string+ redirectIfFound?: boolean+ }+) {+ const redirectTo = options?.redirectTo ?? '/'+ const redirectIfFound = options?.redirectIfFound++ return (props: any) => {+ const router = useRouter()+ const rootStore = useStore()+ const [isConnecting, setConnecting] = useState(true)++ const { profile, isLoading, isError } = useProfile()+ const { ref, slug } = router.query+ const { app, ui } = rootStore+ const isRedirecting = checkRedirectTo(isLoading, router, profile, redirectTo, redirectIfFound)++ // We might probably be able to bring this into a _middleware with next 12+ if (!IS_PLATFORM) {+ // Hide routes for self-hosted version until features are functionally ready+ const page = router.pathname.split('/')[3]+ if (PLATFORM_ONLY_PAGES.includes(page)) {+ router.push(`/project/${ref}`)+ }+ }++ useEffect(() => {+ // this should run before redirecting+ if (!isLoading) {+ if (!isError && profile) {+ const { organizations, ...userProfile } = profile+ const projects: Project[] = flatten(organizations?.map((org: any) => org.projects))+ app.organizations.initialDataArray(organizations)+ app.projects.initialDataArray(projects)+ ui.setProfile(userProfile)+ } else {+ ui.setProfile(undefined)+ }+ }++ // this should run after setting store data+ if (isRedirecting) {+ router.push(redirectTo)+ }+ }, [isLoading, isRedirecting, isError, profile])++ useEffect(() => {+ if (!isLoading && router.isReady) {+ rootStore.setProjectRef(ref ? String(ref) : undefined)+ rootStore.setOrganizationSlug(slug ? String(slug) : undefined)+ }+ }, [isLoading, router.isReady, ref, slug])++ useEffect(() => {+ if (!isLoading && !isRedirecting && router.isReady) {+ setConnecting(false)+ }+ }, [isLoading, isRedirecting, router.isReady])++ if (isConnecting) return <Connecting />++ return <WrappedComponent {...props} />+ }+}++function checkRedirectTo(+ loading: boolean,+ router: NextRouter,+ profile: any,+ redirectTo: string,+ redirectIfFound?: boolean+) {+ if (loading) return false+ if (router.asPath == redirectTo) return false++ // If redirectTo is set, redirect if the user was not found.+ if (redirectTo && !redirectIfFound && !profile) return true+ // If redirectIfFound is also set, redirect if the user was found+ if (redirectIfFound && profile) return true++ return false+}diff --git a/studio/hooks/queries/index.ts b/studio/hooks/queries/index.tsnew file mode 100644index 00000000000..2e1effbdaf7--- /dev/null+++ b/studio/hooks/queries/index.ts@@ -0,0 +1,3 @@+export * from './useOrganizationDetail'+export * from './useProfile'+export * from './useProjectAuthConfig'diff --git a/studio/hooks/queries/useOrganizationDetail.ts b/studio/hooks/queries/useOrganizationDetail.tsnew file mode 100644index 00000000000..5941957cfd8--- /dev/null+++ b/studio/hooks/queries/useOrganizationDetail.ts@@ -0,0 +1,23 @@+import useSWR, { mutate } from 'swr'+import { get } from 'lib/common/fetch'+import { Member } from 'types'+import { API_URL } from 'lib/constants'++export function useOrganizationDetail(slug: string) {+ const url = `${API_URL}/props/org/${slug}`+ const { data, error } = useSWR<any>(url, get)+ const { members, products } = data ?? []+ const anyError = data?.error || error++ function mutateOrgMembers(updatedMembers: Member[], revalidate?: boolean) {+ mutate(url, { members: updatedMembers }, revalidate ?? true)+ }++ return {+ members: members as Member[],+ products,+ isLoading: !anyError && !data,+ isError: !!anyError,+ mutateOrgMembers,+ }+}diff --git a/studio/hooks/queries/useProfile.ts b/studio/hooks/queries/useProfile.tsnew file mode 100644index 00000000000..8a06951a8a2--- /dev/null+++ b/studio/hooks/queries/useProfile.ts@@ -0,0 +1,27 @@+import useSWR, { mutate } from 'swr'+import { get } from 'lib/common/fetch'+import { API_URL } from 'lib/constants'+import { User } from 'types'++export function useProfile() {+ const url = `${API_URL}/profile`+ const { data, error } = useSWR<any>(url, get, {+ loadingTimeout: 10000,+ })+ const anyError = data?.error || error++ function mutateProfile(updatedUser: User, revalidate?: boolean) {+ mutate(+ url,+ { first_name: updatedUser.first_name, last_name: updatedUser.last_name },+ revalidate ?? true+ )+ }++ return {+ profile: anyError ? undefined : data,+ isLoading: !anyError && !data,+ isError: !!anyError,+ mutateProfile,+ }+}diff --git a/studio/hooks/queries/useProjectAuthConfig.ts b/studio/hooks/queries/useProjectAuthConfig.tsnew file mode 100644index 00000000000..e658dc14543--- /dev/null+++ b/studio/hooks/queries/useProjectAuthConfig.ts@@ -0,0 +1,21 @@+import useSWR, { mutate } from 'swr'+import { get } from 'lib/common/fetch'+import { API_URL } from 'lib/constants'++export function useProjectAuthConfig(ref: string) {+ const url = `${API_URL}/auth/${ref}/config`+ const { data, error } = useSWR<any>(url, get)+ const anyError = data?.error || error++ function mutateAuthConfig(updatedConfig: any, revalidate?: boolean) {+ mutate(url, { ...updatedConfig }, revalidate ?? true)+ }++ return {+ config: anyError ? undefined : data,+ error: anyError,+ isLoading: !anyError && !data,+ isError: !!anyError,+ mutateAuthConfig,+ }+}diff --git a/studio/hooks/ui/index.ts b/studio/hooks/ui/index.tsnew file mode 100644index 00000000000..257a28147d7--- /dev/null+++ b/studio/hooks/ui/index.ts@@ -0,0 +1,2 @@+export * from './useFlag'+export * from './useIsActive'diff --git a/studio/hooks/ui/useFlag.ts b/studio/hooks/ui/useFlag.tsnew file mode 100644index 00000000000..c93a1f045db--- /dev/null+++ b/studio/hooks/ui/useFlag.ts@@ -0,0 +1,7 @@+import { useContext } from 'react'+import FlagContext from 'components/ui/Flag/FlagContext'++export function useFlag(name: string) {+ const store: any = useContext(FlagContext)+ return store[name]+}diff --git a/studio/hooks/ui/useIsActive.ts b/studio/hooks/ui/useIsActive.tsnew file mode 100644index 00000000000..f1916a3c04c--- /dev/null+++ b/studio/hooks/ui/useIsActive.ts@@ -0,0 +1,23 @@+import { useState, useEffect } from 'react'++/**+ * Returns boolean flag of whether a window is in focus+ */+export const useIsActive = () => {+ const [active, setActive] = useState<boolean>(false)++ // window listener+ const onFocus = () => setActive(true)+ const onBlur = () => setActive(false)+ useEffect(() => {+ window.addEventListener('focus', onFocus)+ window.addEventListener('blur', onBlur)+ // Specify how to clean up after this effect:+ return () => {+ window.removeEventListener('focus', onFocus)+ window.removeEventListener('blur', onBlur)+ }+ })++ return active+}diff --git a/studio/lib/api/apiAuthenticate.ts b/studio/lib/api/apiAuthenticate.tsnew file mode 100644index 00000000000..721a1a68ce4--- /dev/null+++ b/studio/lib/api/apiAuthenticate.ts@@ -0,0 +1,133 @@+import type { NextApiRequest, NextApiResponse } from 'next'+import { Claims } from '@auth0/nextjs-auth0'+import { readOnly } from './supabaseClient'+import { SupaResponse, User } from 'types'+import { auth0 } from './auth0'+import { flattenNamespaceOnUser } from './apiHelpers'++/**+ * Use this method on api routes to check if user is authenticated and having required permissions.+ * This method can only be used from the server side.+ * Member permission is mandatory whenever orgSlug/projectRef query param exists+ * @param {NextApiRequest} req+ * @param {NextApiResponse} res+ * @param {Object} config requireUserDetail: bool, requireOwner: bool+ *+ * @returns {Object<user, error, description>}+ * user null, with error and description if not authenticated or not enough permissions+ */+export async function apiAuthenticate(+ req: NextApiRequest,+ res: NextApiResponse+): Promise<SupaResponse<User>> {+ if (!req) {+ return { error: new Error('Request is not available') } as unknown as SupaResponse<User>+ }++ if (!res) {+ return { error: new Error('Response is not available') } as unknown as SupaResponse<User>+ }++ const { slug: orgSlug, ref: projectRef } = req.query+ try {+ // Check that they are logged in+ // If no error throw from getAccessToken. That's good, we can continue+ await auth0.getAccessToken(req, res)++ const user = await fetchUser(req, res)+ if (!user) {+ return { error: new Error('The user does not exist') } as unknown as SupaResponse<User>+ }++ if (orgSlug || projectRef) await checkMemberPermission(req, user)++ return user+ } catch (error: any) {+ console.error('Error at apiAuthenticate', error)+ return { error: { message: error.message ?? 'unknown' } } as unknown as SupaResponse<User>+ }+}++/**+ * @returns+ * user with only id prop or detail object. It depends on requireUserDetail config+ */+async function fetchUser(req: NextApiRequest, res: NextApiResponse): Promise<any> {+ const session = auth0.getSession(req, res)++ if (!session) {+ return null+ }++ const { user: auth0_user } = session+ const flattened = flattenNamespaceOnUser('https://supabase.io', auth0_user)+ const { user_id_supabase, user_id_auth0, email } = flattened++ if (user_id_supabase) {+ return {+ id: user_id_supabase,+ primary_email: email,+ }+ }++ const { data } = await readOnly+ .from('users')+ .select(+ `+ id, auth0_id, primary_email, username, first_name, last_name, mobile, is_alpha_user+ `+ )+ .eq('auth0_id', user_id_auth0)+ .single()++ return data+}++async function checkMemberPermission(req: NextApiRequest, user: Claims) {+ const org = await getOrganization(req)+ if (!org) {+ throw new Error('User organization does not exist')+ }++ try {+ const response = await readOnly+ .from('members')+ .select('id')+ .match({ organization_id: org.id, user_id: user.id })+ .single()++ if (!response || response.status != 200) {+ throw new Error('The user does not have permission')+ }+ return true+ } catch (error) {+ throw new Error('The user does not have permission')+ }+}++async function getOrganization(req: NextApiRequest) {+ const { slug: orgSlug, ref: projectRef } = req.query+ if (!orgSlug && !projectRef) {+ throw new Error('Not enough info to check user permissions')+ }++ if (orgSlug) {+ const { data } = await readOnly+ .from('organizations')+ .select('id')+ .match({ slug: orgSlug })+ .single()+ return { id: data.id }+ }++ if (projectRef) {+ const { data } = await readOnly+ .from('projects')+ .select('organization_id')+ .match({ ref: projectRef })+ .single()+ return { id: data.organization_id }+ }++ return null+}diff --git a/studio/lib/api/apiHelpers.ts b/studio/lib/api/apiHelpers.tsnew file mode 100644index 00000000000..f2689213b13--- /dev/null+++ b/studio/lib/api/apiHelpers.ts@@ -0,0 +1,162 @@+import { camelCase, snakeCase } from 'lodash'+import AES from 'crypto-js/aes'+import Utf8 from 'crypto-js/enc-utf8'+import { IS_PLATFORM } from 'lib/constants'++export function constructHeaders(headers: any) {+ if (headers) {+ return {+ ...headers,+ ...(IS_PLATFORM+ ? { apiKey: `${process.env.READ_ONLY_API_KEY}` }+ : { apiKey: `${process.env.SUPABASE_SERVICE_KEY}` }),+ }+ } else {+ return {+ 'Content-Type': 'application/json',+ Accept: 'application/json',+ }+ }+}++// Typically for HTTP payloads+// @ts-ignore+export const toSnakeCase = (object) => {+ const snakeCaseObject = {}+ const snakeCaseArray = []++ if (!object) return null++ if (Array.isArray(object)) {+ for (const item of object) {+ if (typeof item === 'object') {+ snakeCaseArray.push(toSnakeCase(item))+ } else {+ snakeCaseArray.push(item)+ }+ }+ return snakeCaseArray+ } else if (typeof object === 'object') {+ for (const key of Object.keys(object)) {+ if (typeof object[key] === 'object') {+ // @ts-ignore+ snakeCaseObject[snakeCase(key)] = toSnakeCase(object[key])+ } else {+ // @ts-ignore+ snakeCaseObject[snakeCase(key)] = object[key]+ }+ }+ return snakeCaseObject+ } else {+ return object+ }+}++// Typically for HTTP response bodies+// @ts-ignore+export const toCamelCase = (object, whitelist = []) => {+ const camelCaseObject: any = {}+ const camelCaseArray: any[] = []++ if (!object) return null++ if (Array.isArray(object)) {+ for (const item of object) {+ if (typeof item === 'object') {+ camelCaseArray.push(toCamelCase(item))+ } else {+ camelCaseArray.push(item)+ }+ }+ return camelCaseArray+ } else if (typeof object === 'object') {+ for (const key of Object.keys(object)) {+ // @ts-ignore+ if (whitelist.length > 0 && whitelist.indexOf(key) >= 0) {+ // @ts-ignore+ snakeCaseObject[key] = value+ } else if (typeof object[key] === 'object') {+ camelCaseObject[camelCase(key)] = toCamelCase(object[key])+ } else {+ camelCaseObject[camelCase(key)] = object[key]+ }+ }+ return camelCaseObject+ } else {+ return object+ }+}++/**+ * Decrypts any string using the supabase encryption key+ */+const decryptString = (stringToDecrypt: string) => {+ const key = process.env.SUPABASE_ENCRYPTION_KEY+ if (key) {+ return AES.decrypt(stringToDecrypt, key).toString(Utf8)+ } else {+ return stringToDecrypt+ }+}++/**+ * Encrypts any string using the supabase encryption key+ */+const encryptString = (stringToEncrypt: string) => {+ const key = process.env.SUPABASE_ENCRYPTION_KEY+ if (key) {+ return AES.encrypt(stringToEncrypt, key).toString()+ } else {+ return stringToEncrypt+ }+}++/**+ * Creates a Postgres connection string using the Supabase master login.+ * Expects the passwords to be encrypted (straight from the DB)+ */+export const createEncryptedDbConnectionString = ({+ db_user_supabase,+ db_pass_supabase,+ db_dns_name,+ db_host,+ db_port,+ db_name,+ db_ssl,+}: {+ db_user_supabase: string+ db_host: string+ db_pass_supabase: string+ db_dns_name?: String+ db_port: number+ db_name: string+ db_ssl: boolean+}) => {+ const host = !db_dns_name ? db_host : db_dns_name // check IP already assigned+ const unencrypted = decryptString(db_pass_supabase)+ const value = `postgres://${db_user_supabase}:${unencrypted}@${host}:${db_port}/${db_name}?sslmode=${+ db_ssl ? 'require' : 'disable'+ }`+ return encryptString(value)+}++/**+ * Moves all Namespaced variables to the root+ *+ * @example+ * flattenNamespaceOnUser('https://supabase.io', { email: "[email protected]", "https://supabase.io": { username: 'copple' } })+ * //=>+ * { email: "[email protected]", username: 'copple' })+ */+export const flattenNamespaceOnUser = (+ NAMESPACE: string,+ user: {+ [prop: string]: any+ }+) => {+ let res = { ...user }+ Object.entries(user[NAMESPACE]).forEach(([k, v]) => {+ res[k] = v+ })+ return res+}diff --git a/studio/lib/api/apiWrapper.ts b/studio/lib/api/apiWrapper.tsnew file mode 100644index 00000000000..328dec70a4e--- /dev/null+++ b/studio/lib/api/apiWrapper.ts@@ -0,0 +1,37 @@+import { withSentry } from '@sentry/nextjs'+import { NextApiHandler, NextApiRequest, NextApiResponse } from 'next'+import { IS_PLATFORM } from '../constants'+import { apiAuthenticate } from './apiAuthenticate'++// Purpose of this apiWrapper is to function like a global catchall for ANY errors+// It's a safety net as the API service should never drop, nor fail++export default async function apiWrapper(+ req: NextApiRequest,+ res: NextApiResponse,+ handler: NextApiHandler,+ options?: { withAuth: boolean }+) {+ try {+ const { withAuth } = options || {}++ if (IS_PLATFORM && withAuth) {+ const response = await apiAuthenticate(req, res)+ if (response.error) {+ return res.status(401).json({+ error: {+ message: `Unauthorized: ${response.error.message}`,+ },+ })+ } else {+ // Attach user information to request parameters+ ;(req as any).user = response+ }+ }++ const func = withSentry(handler)+ return await func(req, res)+ } catch (error) {+ return res.status(500).json({ error })+ }+}diff --git a/studio/lib/api/auth0.ts b/studio/lib/api/auth0.tsnew file mode 100644index 00000000000..b9b3ba874c1--- /dev/null+++ b/studio/lib/api/auth0.ts@@ -0,0 +1,32 @@+import { initAuth0 } from '@auth0/nextjs-auth0'+import { IS_PLATFORM } from '../constants'++let auth0: any++if (IS_PLATFORM) {+ auth0 = initAuth0({+ baseURL: process.env.NEXT_PUBLIC_API_DOMAIN,+ issuerBaseURL: `https://${process.env.AUTH0_DOMAIN}`,+ clientID: process.env.AUTH0_CLIENT_ID,+ clientSecret: process.env.AUTH0_CLIENT_SECRET,+ secret: process.env.SESSION_COOKIE_SECRET,+ authorizationParams: {+ scope: 'openid profile email offline_access',+ audience: process.env.AUTH0_AUDIENCE,+ },+ routes: {+ callback: `/platform/auth0-callback`,+ postLogoutRedirect: '/',+ },+ session: {+ rollingDuration: 60 * 60 * 24,+ absoluteDuration: 60 * 60 * 24 * 7,+ cookie: {+ sameSite: 'lax',+ domain: process.env.COOKIE_DOMAIN || 'localhost',+ },+ },+ })+}++export { auth0 }diff --git a/studio/lib/api/middlewareWrapper.ts b/studio/lib/api/middlewareWrapper.tsnew file mode 100644index 00000000000..3d1af509008--- /dev/null+++ b/studio/lib/api/middlewareWrapper.ts@@ -0,0 +1,15 @@+import { NextApiRequest, NextApiResponse } from 'next'++// Helper method to wait for a middleware to execute before continuing+// And to throw an error when an error happens in a middleware+export default function runMiddleware(req: NextApiRequest, res: NextApiResponse, fn: any) {+ return new Promise((resolve, reject) => {+ fn(req, res, (result: any) => {+ if (result instanceof Error) {+ return reject(result)+ }++ return resolve(result)+ })+ })+}diff --git a/studio/lib/api/supabaseClient.ts b/studio/lib/api/supabaseClient.tsnew file mode 100644index 00000000000..16d1ddbd092--- /dev/null+++ b/studio/lib/api/supabaseClient.ts@@ -0,0 +1,26 @@+import { createClient } from '@supabase/supabase-js'+import { IS_PLATFORM } from '../constants'++let readOnly: any++if (IS_PLATFORM) {+ readOnly = createClient(process.env.READ_ONLY_URL ?? '', process.env.READ_ONLY_API_KEY ?? '')+ const readOnlyErrMessage = Error('This client is for read-only actions. Use readWrite instead.')++ // overwrites function calls+ // for readOnly+ readOnly.from('').insert = () => {+ throw readOnlyErrMessage+ }+ readOnly.from('').delete = () => {+ throw readOnlyErrMessage+ }+ readOnly.from('').update = () => {+ throw readOnlyErrMessage+ }+ readOnly.rpc = () => {+ throw readOnlyErrMessage+ }+}++export { readOnly }diff --git a/studio/lib/base64.ts b/studio/lib/base64.tsnew file mode 100644index 00000000000..8455b6f71b8--- /dev/null+++ b/studio/lib/base64.ts@@ -0,0 +1,124 @@+const Base64 = {+ // private property+ _keyStr: 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=',++ // public method for encoding+ encode: function (input: string) {+ var output = ''+ var chr1, chr2, chr3, enc1, enc2, enc3, enc4+ var i = 0++ input = Base64._utf8_encode(input)++ while (i < input.length) {+ chr1 = input.charCodeAt(i++)+ chr2 = input.charCodeAt(i++)+ chr3 = input.charCodeAt(i++)++ enc1 = chr1 >> 2+ enc2 = ((chr1 & 3) << 4) | (chr2 >> 4)+ enc3 = ((chr2 & 15) << 2) | (chr3 >> 6)+ enc4 = chr3 & 63++ if (isNaN(chr2)) {+ enc3 = enc4 = 64+ } else if (isNaN(chr3)) {+ enc4 = 64+ }++ output =+ output ++ Base64._keyStr.charAt(enc1) ++ Base64._keyStr.charAt(enc2) ++ Base64._keyStr.charAt(enc3) ++ Base64._keyStr.charAt(enc4)+ }++ return output+ },++ // public method for decoding+ decode: function (input: string) {+ var output = ''+ var chr1, chr2, chr3+ var enc1, enc2, enc3, enc4+ var i = 0++ input = input.replace(/[^A-Za-z0-9\+\/\=]/g, '')++ while (i < input.length) {+ enc1 = Base64._keyStr.indexOf(input.charAt(i++))+ enc2 = Base64._keyStr.indexOf(input.charAt(i++))+ enc3 = Base64._keyStr.indexOf(input.charAt(i++))+ enc4 = Base64._keyStr.indexOf(input.charAt(i++))++ chr1 = (enc1 << 2) | (enc2 >> 4)+ chr2 = ((enc2 & 15) << 4) | (enc3 >> 2)+ chr3 = ((enc3 & 3) << 6) | enc4++ output = output + String.fromCharCode(chr1)++ if (enc3 != 64) {+ output = output + String.fromCharCode(chr2)+ }+ if (enc4 != 64) {+ output = output + String.fromCharCode(chr3)+ }+ }++ output = Base64._utf8_decode(output)++ return output+ },++ // private method for UTF-8 encoding+ _utf8_encode: function (string: string) {+ string = string.replace(/\r\n/g, '\n')+ var utftext = ''++ for (var n = 0; n < string.length; n++) {+ var c = string.charCodeAt(n)++ if (c < 128) {+ utftext += String.fromCharCode(c)+ } else if (c > 127 && c < 2048) {+ utftext += String.fromCharCode((c >> 6) | 192)+ utftext += String.fromCharCode((c & 63) | 128)+ } else {+ utftext += String.fromCharCode((c >> 12) | 224)+ utftext += String.fromCharCode(((c >> 6) & 63) | 128)+ utftext += String.fromCharCode((c & 63) | 128)+ }+ }+ return utftext+ },++ // private method for UTF-8 decoding+ _utf8_decode: function (utftext: string) {+ var string = ''+ var i = 0+ var c = 0,+ c1 = 0,+ c2 = 0++ while (i < utftext.length) {+ c = utftext.charCodeAt(i)++ if (c < 128) {+ string += String.fromCharCode(c)+ i+++ } else if (c > 191 && c < 224) {+ c1 = utftext.charCodeAt(i + 1)+ string += String.fromCharCode(((c & 31) << 6) | (c1 & 63))+ i += 2+ } else {+ c1 = utftext.charCodeAt(i + 1)+ c2 = utftext.charCodeAt(i + 2)+ string += String.fromCharCode(((c & 15) << 12) | ((c1 & 63) << 6) | (c2 & 63))+ i += 3+ }+ }+ return string+ },+}+export default Base64diff --git a/studio/lib/common/fetch/base.ts b/studio/lib/common/fetch/base.tsnew file mode 100644index 00000000000..63eec4a3664--- /dev/null+++ b/studio/lib/common/fetch/base.ts@@ -0,0 +1,64 @@+import { SupaResponse } from 'types/base'++export function handleError<T>(e: any, requestId: string): SupaResponse<T> {+ const message = e?.message ? `An error has occured: ${e.message}` : 'An error has occured'+ const error = { code: 500, message, requestId }+ return { error } as unknown as SupaResponse<T>+}++export async function handleResponse<T>(+ response: Response,+ requestId: string+): Promise<SupaResponse<T>> {+ try {+ const resTxt = await response.text()+ try {+ // try to parse response text as json+ return JSON.parse(resTxt)+ } catch (err) {+ // return as text plain+ return resTxt as any+ }+ } catch (e) {+ return handleError(response, requestId) as SupaResponse<T>+ }+}++export async function handleResponseError<T = unknown>(+ response: Response,+ requestId: string+): Promise<SupaResponse<T>> {+ let resJson: { [prop: string]: any }+ try {+ resJson = await response.json()+ } catch (_) {+ resJson = {}+ }++ if (resJson.error && typeof resJson.error === 'string') {+ if (resJson.error_description) {+ const error = {+ code: response.status,+ message: resJson.error,+ description: resJson.error_description,+ requestId,+ }+ return { error } as unknown as SupaResponse<T>+ } else {+ const error = { code: response.status, message: resJson.error, requestId }+ return { error } as unknown as SupaResponse<T>+ }+ } else if (resJson.msg) {+ const error = { code: response.status, message: resJson.msg, requestId }+ return { error } as unknown as SupaResponse<T>+ } else if (resJson.error && resJson.error.message) {+ return { error: { code: response.status, ...resJson.error } } as unknown as SupaResponse<T>+ } else if (response.statusText) {+ const error = { code: response.status, message: response.statusText, requestId }+ return { error } as unknown as SupaResponse<T>+ } else {+ const message = `An error has occured: ${response.status}`+ const error = { code: response.status, message, requestId }+ return { error } as unknown as SupaResponse<T>+ }+}diff --git a/studio/lib/common/fetch/delete.ts b/studio/lib/common/fetch/delete.tsnew file mode 100644index 00000000000..be40673d20e--- /dev/null+++ b/studio/lib/common/fetch/delete.ts@@ -0,0 +1,32 @@+import { handleError, handleResponse, handleResponseError } from './base'+import { uuidv4 } from '../../helpers'+import { SupaResponse } from 'types/base'++export async function delete_<T = any>(+ url: string,+ data?: { [prop: string]: any },+ options?: { [prop: string]: any }+): Promise<SupaResponse<T>> {+ const requestId = uuidv4()+ const { headers, ...otherOptions } = options ?? {}+ try {+ const response = await fetch(url, {+ method: 'DELETE',+ body: JSON.stringify(data),+ credentials: 'include',+ referrerPolicy: 'no-referrer-when-downgrade',+ headers: {+ 'Content-Type': 'application/json',+ Accept: 'application/json',+ 'X-Request-Id': requestId,+ ...headers,+ },+ ...otherOptions,+ })++ if (!response.ok) return handleResponseError(response, requestId)+ return handleResponse(response, requestId)+ } catch (error) {+ return handleError(error, requestId)+ }+}diff --git a/studio/lib/common/fetch/get.ts b/studio/lib/common/fetch/get.tsnew file mode 100644index 00000000000..393fcd6989c--- /dev/null+++ b/studio/lib/common/fetch/get.ts@@ -0,0 +1,29 @@+import { handleError, handleResponse, handleResponseError } from './base'+import { uuidv4 } from '../../helpers'+import { SupaResponse } from 'types/base'++export async function get<T = any>(+ url: string,+ options?: { [prop: string]: any }+): Promise<SupaResponse<T>> {+ const requestId = uuidv4()+ try {+ const { headers, ...otherOptions } = options ?? {}+ const response = await fetch(url, {+ method: 'GET',+ credentials: 'include',+ referrerPolicy: 'no-referrer-when-downgrade',+ headers: {+ 'Content-Type': 'application/json',+ Accept: 'application/json',+ 'X-Request-Id': requestId,+ ...headers,+ },+ ...otherOptions,+ })+ if (!response.ok) return handleResponseError(response, requestId)+ return handleResponse(response, requestId)+ } catch (error) {+ return handleError(error, requestId)+ }+}diff --git a/studio/lib/common/fetch/index.ts b/studio/lib/common/fetch/index.tsnew file mode 100644index 00000000000..3e66045b405--- /dev/null+++ b/studio/lib/common/fetch/index.ts@@ -0,0 +1,8 @@+export * from './base'+export * from './delete'+export * from './get'+export * from './patch'+export * from './post'++// remove this as soon we can+export * as swr from './swr'diff --git a/studio/lib/common/fetch/patch.ts b/studio/lib/common/fetch/patch.tsnew file mode 100644index 00000000000..e64f5f9ebf4--- /dev/null+++ b/studio/lib/common/fetch/patch.ts@@ -0,0 +1,32 @@+import { handleError, handleResponse, handleResponseError } from './base'+import { uuidv4 } from '../../helpers'+import { SupaResponse } from 'types/base'++export async function patch<T = any>(+ url: string,+ data: { [prop: string]: any },+ options?: { [prop: string]: any }+): Promise<SupaResponse<T>> {+ const requestId = uuidv4()+ try {+ const { headers, ...otherOptions } = options ?? {}+ const response = await fetch(url, {+ method: 'PATCH',+ body: JSON.stringify(data),+ credentials: 'include',+ referrerPolicy: 'no-referrer-when-downgrade',+ headers: {+ 'Content-Type': 'application/json',+ Accept: 'application/json',+ 'X-Request-Id': requestId,+ ...headers,+ },+ ...otherOptions,+ })++ if (!response.ok) return handleResponseError(response, requestId)+ return handleResponse(response, requestId)+ } catch (error) {+ return handleError(error, requestId)+ }+}diff --git a/studio/lib/common/fetch/post.ts b/studio/lib/common/fetch/post.tsnew file mode 100644index 00000000000..a58d3164aa9--- /dev/null+++ b/studio/lib/common/fetch/post.ts@@ -0,0 +1,31 @@+import { handleError, handleResponse, handleResponseError } from './base'+import { uuidv4 } from 'lib/helpers'+import { SupaResponse } from 'types/base'++export async function post<T = any>(+ url: string,+ data: { [prop: string]: any },+ options?: { [prop: string]: any }+): Promise<SupaResponse<T>> {+ const requestId = uuidv4()+ try {+ const { headers, ...otherOptions } = options ?? {}+ const response = await fetch(url, {+ method: 'POST',+ body: JSON.stringify(data),+ credentials: 'include',+ referrerPolicy: 'no-referrer-when-downgrade',+ headers: {+ 'Content-Type': 'application/json',+ Accept: 'application/json',+ 'X-Request-Id': requestId,+ ...headers,+ },+ ...otherOptions,+ })+ if (!response.ok) return handleResponseError(response, requestId)+ return handleResponse(response, requestId)+ } catch (error) {+ return handleError(error, requestId)+ }+}diff --git a/studio/lib/common/fetch/swr.js b/studio/lib/common/fetch/swr.jsnew file mode 100644index 00000000000..99ffbc89140--- /dev/null+++ b/studio/lib/common/fetch/swr.js@@ -0,0 +1,5 @@+export default async function Fetch(...args) {+ const res = await fetch(...args)+ const body = await res.json()+ return body+}diff --git a/studio/lib/constants.js b/studio/lib/constants.jsnew file mode 100644index 00000000000..99549324a8a--- /dev/null+++ b/studio/lib/constants.js@@ -0,0 +1,802 @@+import { IconArchive, IconDatabase, IconHeart, IconKey } from '@supabase/ui'+import { concat, sortBy } from 'lodash'++// Ideally we'd split this into smaller, more scoped and easily readable files+// And shift them under common/constants/xxx.ts++export const IS_PLATFORM = process.env.NEXT_PUBLIC_IS_PLATFORM === 'true'+export const API_URL = IS_PLATFORM ? process.env.NEXT_PUBLIC_API_URL : '/api'+export const PG_META_URL = IS_PLATFORM+ ? process.env.PLATFORM_PG_META_URL+ : process.env.STUDIO_PG_META_URL++export const POSTGRES_SUPER_ADMIN = 'supabase_admin'+export const POSTGRES_AUTH_ADMIN = 'supabase_auth_admin'+export const POSTGRES_STORAGE_ADMIN = 'supabase_storage_admin'+export const POSTGRES_POSTGREST = 'authenticator'+export const POSTGRES_PGBOUNCER = 'pgbouncer'++export const DATE_FORMAT = 'YYYY-MM-DDTHH:mm:ssZ'++export const QUEUES = {+ // All infra tasks+ INFRA: {+ id: 'infra',+ tasks: {+ CREATE: 'create', // initialises a new server+ DELETE: 'delete', // destroys a server+ UPDATE: 'update', // updates the server's config+ REPLACE: 'replace', // replace the server+ },+ },+ DB: {+ id: 'database',+ tasks: {+ CREATE: 'create', // initialises a new server+ DELETE: 'delete', // destroys a server+ UPDATE: 'update', // updates the server's config+ RESTORE: 'restore', // restore a db with a given backup file+ },+ },+ DUMP: {+ id: 'dump',+ tasks: {+ BULK_PREPARE: 'bulk_prepare',+ DUMP: 'dump',+ PREPARE: 'prepare',+ },+ },+ RESTORE: {+ id: 'restore',+ tasks: {+ PREPARE: 'prepare',+ RESTORE: 'restore',+ },+ },+ EVENTS: {+ id: 'events',+ tasks: {+ organization_created: 'organization.created',+ organization_updated: 'organization.updated',+ organization_deleted: 'organization.deleted',+ project_created: 'project.created',+ project_updated: 'project.updated',+ project_deleted: 'project.deleted',+ },+ },+}++// alias regions remain as the starting point for project creation+// they are immediately translated to their respective cloud regions+// and are afterward never referred to+export const REGIONS = {+ WEST_US: 'West US (North California)',+ EAST_US: 'East US (North Virginia)',+ CENTRAL_CANADA: 'Canada (Central)',+ WEST_EU: 'West EU (Ireland)',+ WEST_EU_2: 'West EU (London)',+ // 'North EU': 'North EU',+ CENTRAL_EU: 'Central EU (Frankfurt)',+ SOUTH_ASIA: 'South Asia (Mumbai)',+ SOUTHEAST_ASIA: 'Southeast Asia (Singapore)',+ NORTHEAST_ASIA: 'Northeast Asia (Tokyo)',+ NORTHEAST_ASIA_2: 'Northeast Asia (Seoul)',+ OCEANIA: 'Oceania (Sydney)',+ SOUTH_AMERICA: 'South America (São Paulo)',+ // SOUTH_AFRICA: 'South Africa (Cape Town)',+}++export const REGIONS_DEFAULT = REGIONS.EAST_US++export const PROVIDERS = {+ // Digital Ocean+ DO: {+ id: 'DO',+ name: 'digitalocean',+ DEFAULT_SSH_KEY: '26347828',+ regions: {+ EAST_US: 'nyc1', // New York City, United States+ // 'North EU': 'ams3', //Amsterdam, the Netherlands+ WEST_US: 'sfo2', // San Francisco, United States+ SOUTHEAST_ASIA: 'sgp1', // Singapore+ WEST_US: 'lon1', // London+ CENTRAL_EU: 'fra1', // Frankfurt+ CENTRAL_CANADA: 'tor1', // Toronto+ SOUTH_ASIA: 'blr1', // Bangalore+ },+ sizes: {+ 512: '512mb', // Don't use - https://developers.digitalocean.com/documentation/changelog/api-v2/new-size-slugs-for-droplet-plan-changes/+ 's-1vcpu-1gb': {+ id: 's-1vcpu-1gb',+ description: '',+ },+ },+ },+ AWS: {+ id: 'AWS',+ name: 'aws',+ DEFAULT_SSH_KEY: 'supabase-app-instance',+ regions: {+ EAST_US: 'us-east-1', // North Virginia+ // 'North EU': 'eu-north-1', // Stockholm+ WEST_US: 'us-west-1', // North California+ SOUTHEAST_ASIA: 'ap-southeast-1', // Singapore+ NORTHEAST_ASIA: 'ap-northeast-1', // Tokyo+ NORTHEAST_ASIA_2: 'ap-northeast-2', //Seoul+ OCEANIA: 'ap-southeast-2', // Sydney+ WEST_EU: 'eu-west-1', // Ireland+ WEST_EU_2: 'eu-west-2', // London+ CENTRAL_EU: 'eu-central-1', // Frankfurt+ CENTRAL_CANADA: 'ca-central-1', // Central Canada+ SOUTH_ASIA: 'ap-south-1', // Mumbai+ SOUTH_AMERICA: 'sa-east-1', // Sao Paulo+ // SOUTH_AFRICA: 'af-south-1', // Cape Town+ },+ sizes: {+ nano: {+ x86_64: 't3.nano',+ arm64: 't4g.nano',+ description: '512mb RAM',+ },+ micro: {+ x86_64: 't3.micro',+ arm64: 't4g.micro',+ description: '1gb RAM',+ },+ medium: {+ x86_64: 'm5a.large',+ arm64: 'm6g.medium',+ description: '4gb RAM',+ },+ },+ },+}++// @todo ini update for prod+export const AWS_SUPPORTED_AZ = {+ EAST_US: ['us-east-1a', 'us-east-1b', 'us-east-1c', 'us-east-1d', 'us-east-1e', 'us-east-1f'],+ SOUTHEAST_ASIA: ['ap-southeast-1a', 'ap-southeast-1b', 'ap-southeast-1c'],+ WEST_EU: ['eu-west-1a', 'eu-west-1b', 'eu-west-1c'],+}++export const SERVICE_STATUS = {+ INACTIVE: 'INACTIVE',+ ACTIVE_HEALTHY: 'ACTIVE_HEALTHY',+ ACTIVE_UNHEALTHY: 'ACTIVE_UNHEALTHY',+ COMING_UP: 'COMING_UP',+ UNKNOWN: 'UNKNOWN',+ GOING_DOWN: 'GOING_DOWN',+ INIT_FAILED: 'INIT_FAILED',+ REMOVED: 'REMOVED',+}++export const PROJECT_STATUS = {+ INACTIVE: 'INACTIVE',+ ACTIVE_HEALTHY: 'ACTIVE_HEALTHY',+ ACTIVE_UNHEALTHY: 'ACTIVE_UNHEALTHY',+ COMING_UP: 'COMING_UP',+ UNKNOWN: 'UNKNOWN',+ GOING_DOWN: 'GOING_DOWN',+ INIT_FAILED: 'INIT_FAILED',+ REMOVED: 'REMOVED',+ RESTORING: 'RESTORING',+}++// Not used anywhere but referenced in a comment in interfaces.js (L12)+export const APPS = {+ AUTO_API: {+ id: 'AUTO_API',+ name: 'Auto API',+ },+}++export const SIDE_PANEL_KEYS = {+ ROW: 'ROW',+ TABLE: 'TABLE',+ COLUMN: 'COLUMN',+}++export const FILTER_CONDITIONS = {+ EQ: {+ name: 'EQ',+ tooltip: 'Equals to',+ },+ NEQ: {+ name: 'NEQ',+ tooltip: 'Not equals to',+ },+ GT: {+ name: 'GT',+ tooltip: 'Greater than',+ },+ LT: {+ name: 'LT',+ tooltip: 'Less than',+ },+ GTE: {+ name: 'GTE',+ tooltip: 'Greater than or equals to',+ },+ LTE: {+ name: 'LTE',+ tooltip: 'Less than or equals to',+ },+ LIKE: {+ name: 'LIKE',+ tooltip: 'Pattern matching with %',+ },+ ILIKE: {+ name: 'ILIKE',+ tooltip: 'Case sensitive matching',+ },+ IS: {+ name: 'IS',+ tooltip: 'Checks for exact quality',+ },+ IN: {+ name: 'IN',+ tooltip: 'Checks if value in list',+ },+}++// Data types primarily for mapping icon in editor++export const NUMERICAL_TYPES = ['int2', 'int4', 'int8', 'float4', 'float8']+export const JSON_TYPES = ['json', 'jsonb']+export const TEXT_TYPES = ['text', 'varchar']+export const TIMESTAMP_TYPES = ['date', 'time', 'timestamp', 'timetz', 'timestamptz']+export const OTHER_DATA_TYPES = ['uuid', 'bool']+export const POSTGRES_DATA_TYPES = sortBy(+ concat(NUMERICAL_TYPES, JSON_TYPES, TEXT_TYPES, TIMESTAMP_TYPES, OTHER_DATA_TYPES)+)++// Keyboard Shortcuts Related+export const SHORTCUT_KEYS = {+ VIEW_ALL_SHORTCUTS: 'VIEW_ALL_SHORTCUTS',+ TOGGLE_FILTER_MENU: 'TOGGLE_FILTER_MENU',+ TOGGLE_SORT_MENU: 'TOGGLE_SORT_MENU',+ CLOSE_SIDE_PANEL: 'CLOSE_SIDE_PANEL',+ EDIT_CELL: 'EDIT_CELL',+ COPY_CELL: 'COPY_CELL',+ PASTE_CELL: 'PASTE_CELL',+ CREATE_ROW: 'CREATE_ROW',+ EDIT_ROW: 'EDIT_ROW',+ DELETE_ROW: 'DELETE_ROW',+ SCROLL_EDGES: 'SCROLL_EDGES',+}++export const GENERAL_SHORTCUTS = [+ {+ key: SHORTCUT_KEYS.VIEW_ALL_SHORTCUTS,+ name: 'View all shortcuts',+ keys: ['Shift+/'],+ },+ {+ key: SHORTCUT_KEYS.CLOSE_SIDE_PANEL,+ name: 'Close side panel',+ keys: ['Esc'],+ },+]++export const generateEditorShortcuts = (clientOS) => {+ let metaKey = '⌘'+ if (clientOS === 'windows') metaKey = 'Ctrl'+ return [+ {+ key: SHORTCUT_KEYS.EDIT_CELL,+ name: 'Edit current cell',+ keys: ['Enter'],+ },+ {+ key: SHORTCUT_KEYS.COPY_CELL,+ name: 'Copy value of current cell',+ keys: [`${metaKey}+C`],+ },+ {+ key: SHORTCUT_KEYS.PASTE_CELL,+ name: 'Paste value into current cell',+ keys: [`${metaKey}+V`],+ },+ {+ key: SHORTCUT_KEYS.CREATE_ROW,+ name: 'Create a new row',+ keys: ['Shift+Enter'],+ },+ {+ key: SHORTCUT_KEYS.SCROLL_EDGES,+ name: 'Scroll to edges of the table',+ keys: [`${metaKey}+↑`, `${metaKey}+→`, `${metaKey}+↓`, `${metaKey}+←`],+ },+ ]+}++export const EDITOR_STATUS = {+ SAVING: 'SAVING',+ READY: 'READY',+}++export const POLICY_MODAL_VIEWS = {+ SELECTION: 'SELECTION',+ TEMPLATES: 'TEMPLATES',+ EDITOR: 'EDITOR',+ REVIEW: 'REVIEW',+}++export const STRIPE_PRODUCT_IDS = {+ PAYG: process?.env?.NEXT_PUBLIC_STRIPE_PAYG_TIER_ID,+ PRO: process?.env?.NEXT_PUBLIC_STRIPE_PRO_TIER_ID,+ FREE: process?.env?.NEXT_PUBLIC_STRIPE_FREE_TIER_ID,+}++export const TIER_NAMES = {+ PAYG: 'Pay as you go',+ PRO: 'Pro',+ FREE: 'Free',+}++export const DEFAULT_PRODUCTS = [+ {+ // Free tier+ price: process?.env?.NEXT_PUBLIC_STRIPE_PRODUCT_FREE_TIER_PRICE_FREE,+ },+]++export const PGBOUNCER_CONFIG = {+ pool_mode: 'transaction',+ default_pool_size: 15,+ ignore_startup_parameters: 'extra_float_digits',+}++export const DEFAULT_ORG_PROJECTS_LIMIT = 3+export const DEFAULT_MINIMUM_PASSWORD_STRENGTH = 4++const METRIC_CATEGORIES_ICON_SIZE = 16++export const METRIC_CATEGORIES = {+ // API: {+ // label: 'All API usage',+ // icon: <IconActivity />,+ // key: 'api',+ // },+ API_DATABASE: {+ label: 'Database API',+ icon: <IconDatabase size={METRIC_CATEGORIES_ICON_SIZE} />,+ key: 'api_database',+ },+ API_AUTH: {+ label: 'Auth API',+ icon: <IconKey size={METRIC_CATEGORIES_ICON_SIZE} />,+ key: 'api_auth',+ },+ API_STORAGE: {+ label: 'Storage API',+ icon: <IconArchive size={METRIC_CATEGORIES_ICON_SIZE} />,+ key: 'api_storage',+ },+ // API_REALTIME: {+ // label: 'Realtime API',+ // icon: '',+ // key: 'api_realtime',+ // },+ INSTANCE: {+ label: 'Instance health',+ icon: <IconHeart size={METRIC_CATEGORIES_ICON_SIZE} />,+ key: 'instance',+ },+ // POSTGRES: {+ // label: 'Postgres usage',+ // icon: '',+ // key: 'postgres',+ // },+}++export const METRICS = [+ {+ key: 'cpu_usage',+ label: 'CPU % usage',+ provider: 'infra-monitoring',+ category: METRIC_CATEGORIES.INSTANCE,+ },+ {+ key: 'ram_usage',+ label: 'Memory % usage',+ provider: 'infra-monitoring',+ category: METRIC_CATEGORIES.INSTANCE,+ },+ {+ key: 'total_realtime_egress',+ label: 'Realtime Connection Egress',+ provider: 'daily-stats',+ category: METRIC_CATEGORIES.API,+ },+ {+ key: 'total_realtime_get_requests',+ label: 'Realtime Connection Requests',+ provider: 'daily-stats',+ category: METRIC_CATEGORIES.API_REALTIME,+ },+ {+ key: 'total_realtime_ingress',+ label: 'Realtime Connection Ingress',+ provider: 'daily-stats',+ category: METRIC_CATEGORIES.API_REALTIME,+ },+ // {+ // key: 'total_realtime_post_requests',+ // label: 'total_realtime_post_requests',+ // provider: 'daily-stats',+ // category: METRIC_CATEGORIES.API_REALTIME,+ // },+ {+ key: 'total_realtime_requests',+ label: 'Connection Requests',+ provider: 'daily-stats',+ category: METRIC_CATEGORIES.API_REALTIME,+ },++ /**+ * API+ */+ {+ key: 'total_rest_ingress',+ label: 'API Ingress',+ provider: 'daily-stats',+ category: METRIC_CATEGORIES.API_DATABASE,+ },+ {+ key: 'total_rest_egress',+ label: 'API Egress',+ provider: 'daily-stats',+ category: METRIC_CATEGORIES.API_DATABASE,+ },+ {+ key: 'total_rest_requests',+ label: 'API Requests',+ provider: 'daily-stats',+ category: METRIC_CATEGORIES.API_DATABASE,+ },+ {+ key: 'total_rest_get_requests',+ label: 'API GET Requests',+ provider: 'daily-stats',+ category: METRIC_CATEGORIES.API_DATABASE,+ },+ {+ key: 'total_rest_post_requests',+ label: 'API POST Requests',+ provider: 'daily-stats',+ category: METRIC_CATEGORIES.API_DATABASE,+ },+ {+ key: 'total_rest_patch_requests',+ label: 'API PATCH Requests',+ provider: 'daily-stats',+ category: METRIC_CATEGORIES.API_DATABASE,+ },+ {+ key: 'total_rest_delete_requests',+ label: 'API DELETE Requests',+ provider: 'daily-stats',+ category: METRIC_CATEGORIES.API_DATABASE,+ },+ {+ key: 'total_rest_options_requests',+ label: 'API OPTIONS Requests',+ provider: 'daily-stats',+ category: METRIC_CATEGORIES.API_DATABASE,+ },++ /**+ * Auth+ */++ // {+ // key: 'total_auth_users',+ // label: 'Total Auth Users',+ // provider: 'daily-stats',+ // category: METRIC_CATEGORIES.API_AUTH,+ // },+ {+ key: 'total_auth_ingress',+ label: 'Auth Ingress',+ provider: 'daily-stats',+ category: METRIC_CATEGORIES.API_AUTH,+ },+ {+ key: 'total_auth_egress',+ label: 'Auth Egress',+ provider: 'daily-stats',+ category: METRIC_CATEGORIES.API_AUTH,+ },+ {+ key: 'total_auth_requests',+ label: 'Auth Requests',+ provider: 'daily-stats',+ category: METRIC_CATEGORIES.API_AUTH,+ },+ {+ key: 'total_auth_get_requests',+ label: 'Auth GET Requests',+ provider: 'daily-stats',+ category: METRIC_CATEGORIES.API_AUTH,+ },+ {+ key: 'total_auth_post_requests',+ label: 'Auth POST Requests',+ provider: 'daily-stats',+ category: METRIC_CATEGORIES.API_AUTH,+ },+ {+ key: 'total_auth_patch_requests',+ label: 'Auth PATCH requests',+ provider: 'daily-stats',+ category: METRIC_CATEGORIES.API_AUTH,+ },+ {+ key: 'total_auth_options_requests',+ label: 'Auth OPTIONS requests',+ provider: 'daily-stats',+ category: METRIC_CATEGORIES.API_AUTH,+ },++ /**+ * Storage+ */+ {+ key: 'total_storage_ingress',+ label: 'Storage Ingress',+ provider: 'daily-stats',+ category: METRIC_CATEGORIES.API_STORAGE,+ },+ {+ key: 'total_storage_egress',+ label: 'Storage Egress',+ provider: 'daily-stats',+ category: METRIC_CATEGORIES.API_STORAGE,+ },+ {+ key: 'total_storage_requests',+ label: 'Storage Requests',+ provider: 'daily-stats',+ category: METRIC_CATEGORIES.API_STORAGE,+ },+ {+ key: 'total_storage_get_requests',+ label: 'Storage GET Requests',+ provider: 'daily-stats',+ category: METRIC_CATEGORIES.API_STORAGE,+ },+ {+ key: 'total_storage_post_requests',+ label: 'Storage POST Requests',+ provider: 'daily-stats',+ category: METRIC_CATEGORIES.API_STORAGE,+ },+ {+ key: 'total_storage_delete_requests',+ label: 'Storage DELETE Requests',+ provider: 'daily-stats',+ category: METRIC_CATEGORIES.API_STORAGE,+ },+ {+ key: 'total_storage_options_requests',+ label: 'Storage OPTIONS Requests',+ provider: 'daily-stats',+ category: METRIC_CATEGORIES.API_STORAGE,+ },+ {+ key: 'total_auth_delete_requests',+ label: 'Auth DELETE Requests',+ provider: 'daily-stats',+ category: METRIC_CATEGORIES.API_AUTH,+ },++ {+ key: 'total_egress',+ label: 'All Egress',+ provider: 'daily-stats',+ category: METRIC_CATEGORIES.API,+ },+ // {+ // key: 'total_auth_emails',+ // name: 'total_auth_emails',+ // provider: 'daily-stats',+ // category: METRIC_CATEGORIES.API,+ // },+ // {+ // key: 'total_auth_texts',+ // name: 'total_auth_texts',+ // provider: 'daily-stats',+ // category: METRIC_CATEGORIES.API,+ // },++ {+ key: 'total_get_requests',+ label: 'All GET Requests',+ provider: 'daily-stats',+ category: METRIC_CATEGORIES.API,+ },+ // {+ // key: 'total_db_size_bytes',+ // name: 'total_db_size_bytes',+ // provider: 'daily-stats',+ // category: METRIC_CATEGORIES.API,+ // },+ // {+ // key: 'total_storage_size_bytes',+ // name: 'total_storage_size_bytes',+ // provider: 'daily-stats',+ // category: METRIC_CATEGORIES.API,+ // },+ // {+ // key: 'total_realtime_delete_requests',+ // label: 'total_realtime_delete_requests',+ // provider: 'daily-stats',+ // category: METRIC_CATEGORIES.API_REALTIME,+ // },+ {+ key: 'total_storage_patch_requests',+ label: 'Storage PATCH Requests',+ provider: 'daily-stats',+ category: METRIC_CATEGORIES.API_STORAGE,+ },+ {+ key: 'total_requests',+ label: 'All Requests',+ provider: 'daily-stats',+ category: METRIC_CATEGORIES.API,+ },+ // {+ // key: 'total_realtime_options_requests',+ // label: 'total_realtime_options_requests',+ // provider: 'daily-stats',+ // category: METRIC_CATEGORIES.API_REALTIME,+ // },++ {+ key: 'total_patch_requests',+ label: 'All PATCH Requests',+ provider: 'daily-stats',+ category: METRIC_CATEGORIES.API,+ },+ {+ key: 'total_post_requests',+ label: 'All POST Requests',+ provider: 'daily-stats',+ category: METRIC_CATEGORIES.API,+ },++ {+ key: 'total_ingress',+ label: 'All Ingress',+ provider: 'daily-stats',+ category: METRIC_CATEGORIES.API,+ },+ // {+ // key: 'total_realtime_patch_requests',+ // label: 'total_realtime_patch_requests',+ // provider: 'daily-stats',+ // category: METRIC_CATEGORIES.API_REALTIME,+ // },+ {+ key: 'total_delete_requests',+ label: 'All DELETE Requests',+ provider: 'daily-stats',+ category: METRIC_CATEGORIES.API,+ },+ {+ key: 'total_options_requests',+ label: 'All OPTIONS Requests',+ provider: 'daily-stats',+ category: METRIC_CATEGORIES.API,+ },+ // {+ // key: 'total_db_egress_bytes',+ // name: 'total_db_egress_bytes',+ // provider: 'daily-stats',+ // category: METRIC_CATEGORIES.API,+ // },+]++export const TIME_PERIODS_BILLING = [+ {+ key: 'currentBillingCycle',+ label: 'Current billing cycle',+ interval: '1d',+ },+ {+ key: 'previousBillingCycle',+ label: 'Previous billing cycle',+ interval: '1d',+ },+]++export const TIME_PERIODS_REPORTS = [+ {+ key: '7d',+ label: 'Last 7 days',+ interval: '1d',+ },+ {+ key: '30d',+ label: 'Last 30 days',+ interval: '1d',+ },+ // {+ // key: '60d',+ // label: 'Last 60 days',+ // interval: '1d',+ // },+ // {+ // key: '120d',+ // label: 'Last 120 days',+ // interval: '1d',+ // },+ {+ key: 'startMonth',+ label: 'This month',+ interval: '1d',+ },+]++export const TIME_PERIODS_INFRA = [+ {+ key: '1h',+ label: 'Last hour',+ interval: '1m',+ },+ {+ key: '3h',+ label: 'Last 3 hours',+ interval: '5m',+ },+ {+ key: '1d',+ label: 'Last 24 hours',+ interval: '30m',+ },+]++export const NEW_REPORT_SKELETON = {+ name: 'new report',+ description: '',+ type: 'report',+ visibility: 'project',+ content: {+ schema_version: 1,+ period_start: {+ time_period: '7d',+ date: '',+ },+ period_end: {+ time_period: 'today',+ date: '',+ },+ interval: '1d',+ layout: [],+ },+}++export const PASSWORD_STRENGTH = {+ 0: 'This password is not acceptable.',+ 1: 'This password is not secure enough.',+ 2: 'This password is not secure enough.',+ 3: 'Not bad, but your password must be harder to guess.',+ 4: 'This password is strong.',+}++export const PASSWORD_STRENGTH_COLOR = {+ 0: 'bg-red-500',+ 1: 'bg-red-400',+ 2: 'bg-yellow-500',+ 3: 'bg-yellow-500',+ 4: 'bg-green-500',+}++export const PASSWORD_STRENGTH_PERCENTAGE = {+ 0: '10%',+ 1: '30%',+ 2: '50%',+ 3: '80%',+ 4: '100%',+}diff --git a/studio/lib/helpers.ts b/studio/lib/helpers.tsnew file mode 100644index 00000000000..2e9a9a90de3--- /dev/null+++ b/studio/lib/helpers.ts@@ -0,0 +1,154 @@+export const tryParseJson = (jsonString: any) => {+ try {+ let parsed = JSON.parse(jsonString)+ return parsed+ } catch (error) {+ return undefined+ }+}++export const minifyJSON = (prettifiedJSON: string) => {+ try {+ return JSON.stringify(JSON.parse(prettifiedJSON))+ } catch (err) {+ throw err+ }+}++export const prettifyJSON = (minifiedJSON: string) => {+ try {+ if (minifiedJSON && minifiedJSON.length > 0) {+ return JSON.stringify(JSON.parse(minifiedJSON), undefined, 2)+ } else {+ return minifiedJSON+ }+ } catch (err) {+ // dont need to throw error, just return text value+ // Users have to fix format if they want to save+ return minifiedJSON+ }+}++// https://stackoverflow.com/a/2117523+// a "good enough" unique ID that typescript is happy with, and doesn't have external dependencies+export const uuidv4 = () => {+ return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {+ var r = (Math.random() * 16) | 0,+ v = c == 'x' ? r : (r & 0x3) | 0x8+ return v.toString(16)+ })+}++export const timeout = (ms: number) => {+ return new Promise((resolve) => setTimeout(resolve, ms))+}++export const getURL = () => {+ const url =+ process?.env?.SITE_URL && process.env.SITE_URL !== ''+ ? process.env.SITE_URL+ : process?.env?.VERCEL_URL && process.env.VERCEL_URL !== ''+ ? process.env.VERCEL_URL+ : 'https://app.supabase.io'+ return url.includes('http') ? url : `https://${url}`+}++/**+ * Gnerates a random string using alpha characters+ */+export const makeRandomString = (length: number) => {+ var result = ''+ var characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'+ var charactersLength = characters.length+ for (var i = 0; i < length; i++) {+ result += characters.charAt(Math.floor(Math.random() * charactersLength))+ }+ return result.toString()+}++/**+ * Get a subset of fields from an object+ * @param {object} model+ * @param {array} fields a list of properties to pluck. eg: ['first_name', 'last_name']+ */+export const pluckObjectFields = (model: any, fields: any[]) => {+ let o: any = {}+ fields.forEach((field) => {+ o[field] = model[field]+ })+ return o+}++/**+ * Trims down a JSON Schema only to the fields that a user wants.+ * @param {object} jsonSchema+ * @param {array} fields a list of properties to pluck. eg: ['first_name', 'last_name']+ */+export const pluckJsonSchemaFields = (jsonSchema: any, fields: any) => {+ let schema: any = {+ type: 'object',+ required: [],+ properties: {},+ }+ fields.forEach((field: any) => {+ if (jsonSchema.properties[field]) {+ schema.properties[field] = jsonSchema.properties[field]+ if (jsonSchema.required.includes(field)) schema.required.push(field)+ }+ })+ return schema+}++/**+ * before return to frontend, we should filter sensitive project props+ */+export const filterSensitiveProjectProps = (project: any) => {+ project.db_user_supabase = undefined+ project.db_pass_supabase = undefined++ return project+}++/**+ * Returns undefine if the string isn't parse-able+ */+export const tryParseInt = (str: string) => {+ try {+ return parseInt(str, 10)+ } catch (error) {+ return undefined+ }+}++// Used as checker for memoised components+export const propsAreEqual = (prevProps: any, nextProps: any) => {+ try {+ Object.keys(prevProps).forEach((key) => {+ if (typeof prevProps[key] !== 'function') {+ if (prevProps[key] !== nextProps[key]) {+ throw new Error()+ }+ }+ })+ return true+ } catch (e) {+ return false+ }+}++export const formatBytes = (bytes: any, decimals = 2) => {+ if (bytes === 0) return '0 bytes'++ const k = 1000+ const dm = decimals < 0 ? 0 : decimals+ const sizes = ['bytes', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB']++ const i = Math.floor(Math.log(bytes) / Math.log(k))++ return parseFloat((bytes / Math.pow(k, i)).toFixed(dm)) + ' ' + sizes[i]+}++export const snakeToCamel = (str: string) =>+ str.replace(/([-_][a-z])/g, (group: string) =>+ group.toUpperCase().replace('-', '').replace('_', '')+ )diff --git a/studio/lib/telemetry.ts b/studio/lib/telemetry.tsnew file mode 100644index 00000000000..488c9a6d998--- /dev/null+++ b/studio/lib/telemetry.ts@@ -0,0 +1,25 @@+import { post } from 'lib/common/fetch'+import { API_URL, IS_PLATFORM } from 'lib/constants'+import { User } from 'types'++const sendEvent = (category: string, action: string, label: string, value?: string) => {+ if (!IS_PLATFORM) return++ return post(`${API_URL}/telemetry/event`, {+ action: action,+ category: category,+ label: label,+ value: value,+ })+}++const sendIdentify = (user: User) => {+ if (!IS_PLATFORM) return++ return post(`${API_URL}/telemetry/identify`, { user })+}++export default {+ sendEvent,+ sendIdentify,+}diff --git a/studio/lib/vercelConfigs.js b/studio/lib/vercelConfigs.jsnew file mode 100644index 00000000000..2e484ec513c--- /dev/null+++ b/studio/lib/vercelConfigs.js@@ -0,0 +1,509 @@+import { SQL_TEMPLATES } from 'components/interfaces/SQLEditor/SQLEditor.constants'++const QuickStart = SQL_TEMPLATES.filter((template) => template.type === 'quickstart')++export const INTEGRATION_ENVS_ALIAS = {+ ENDPOINT: 'SUPABASE_ENDPOINT',+ ANONKEY: 'SUPABASE_ANON_KEY',+ SERVICEKEY: 'SUPABASE_SERVICE_KEY',+}+export const VERCEL_DEFAULT_EXTERNAL_ID = 'nextjs-initial-project'+/*+These values have to match our integrations setup (per project)+under https://vercel.com/dashboard/supabase/integrations/console++'id' needs to be the same as deploy button External ID+https://vercel.com/docs/more/deploy-button#external-id+*/+export const VERCEL_INTEGRATION_CONFIGS = [+ {+ id: 'supabase_realtime_map',+ name: 'Realtime Map Database',+ template: {+ sql: `CREATE TABLE locations (+ id bigint GENERATED BY DEFAULT AS IDENTITY PRIMARY KEY,+ latitude numeric NOT NULL,+ longitude numeric NOT NULL,+ ref VARCHAR(40)+ );`,+ },+ envs: [+ {+ key: 'NEXT_PUBLIC_SUPABASE_ENDPOINT',+ alias: INTEGRATION_ENVS_ALIAS.ENDPOINT,+ type: 'encrypted',+ },+ {+ key: 'NEXT_PUBLIC_SUPABASE_APIKEY',+ alias: INTEGRATION_ENVS_ALIAS.ANONKEY,+ type: 'encrypted',+ },+ ],+ },+ {+ id: 'nextjs-subscription-payments',+ name: 'Next.js Subscription Payments Starter',+ template: QuickStart.find((x) => x.title == 'Stripe Subscriptions'),+ envs: [+ {+ key: 'NEXT_PUBLIC_SUPABASE_URL',+ alias: INTEGRATION_ENVS_ALIAS.ENDPOINT,+ type: 'encrypted',+ },+ {+ key: 'NEXT_PUBLIC_SUPABASE_ANON_KEY',+ alias: INTEGRATION_ENVS_ALIAS.ANONKEY,+ type: 'encrypted',+ },+ {+ key: 'SUPABASE_SERVICE_ROLE_KEY',+ alias: INTEGRATION_ENVS_ALIAS.SERVICEKEY,+ type: 'encrypted',+ },+ ],+ },+ {+ id: 'supabase-todo-list',+ name: 'Todo List Database',+ template: QuickStart.find((x) => x.title == 'Todo List'),+ envs: [+ {+ key: 'NEXT_PUBLIC_SUPABASE_URL',+ alias: INTEGRATION_ENVS_ALIAS.ENDPOINT,+ type: 'encrypted',+ },+ {+ key: 'NEXT_PUBLIC_SUPABASE_ANON_KEY',+ alias: INTEGRATION_ENVS_ALIAS.ANONKEY,+ type: 'encrypted',+ },+ ],+ },+ {+ id: 'nextjs-initial-project',+ name: 'New Empty Database',+ template: {+ sql: '',+ },+ envs: [+ {+ key: 'NEXT_PUBLIC_SUPABASE_URL',+ alias: INTEGRATION_ENVS_ALIAS.ENDPOINT,+ type: 'encrypted',+ },+ {+ key: 'NEXT_PUBLIC_SUPABASE_ANON_KEY',+ alias: INTEGRATION_ENVS_ALIAS.ANONKEY,+ type: 'encrypted',+ },+ {+ key: 'SUPABASE_SERVICE_ROLE_KEY',+ alias: INTEGRATION_ENVS_ALIAS.SERVICEKEY,+ type: 'encrypted',+ },+ ],+ },+ {+ id: 'nextjs-user-management',+ name: 'User Management Starter',+ template: QuickStart.find((x) => x.title == 'User Management Starter'),+ envs: [+ {+ key: 'NEXT_PUBLIC_SUPABASE_URL',+ alias: INTEGRATION_ENVS_ALIAS.ENDPOINT,+ type: 'encrypted',+ },+ {+ key: 'NEXT_PUBLIC_SUPABASE_ANON_KEY',+ alias: INTEGRATION_ENVS_ALIAS.ANONKEY,+ type: 'encrypted',+ },+ {+ key: 'SUPABASE_SERVICE_ROLE_KEY',+ alias: INTEGRATION_ENVS_ALIAS.SERVICEKEY,+ type: 'encrypted',+ },+ ],+ },+ {+ id: 'threaded-comments',+ name: 'Threaded Comments',+ template: {+ sql: `+-- Create a table for Public Profiles+create table profiles (+ id uuid references auth.users not null,+ updated_at timestamp with time zone,+ username text unique,+ full_name text,+ avatar_url text,+ website text,++ primary key (id),+ unique (username),+ constraint username_length check (char_length(username) >= 3)+);++alter table profiles enable row level security;++create policy "Public profiles are viewable by everyone."+ on profiles for select+ using ( true );++create policy "Users can insert their own profile."+ on profiles for insert+ with check ( auth.uid() = id );++create policy "Users can update own profile."+ on profiles for update+ using ( auth.uid() = id );++-- Create a trigger to sync profiles and auth.users+create function public.handle_new_user()+returns trigger as $$+begin+ insert into public.profiles (id, full_name, avatar_url)+ values (new.id, new.raw_user_meta_data->>'full_name', new.raw_user_meta_data->>'avatar_url');+ return new;+end;+$$ language plpgsql security definer;++create trigger on_auth_user_created+ after insert on auth.users+ for each row execute procedure public.handle_new_user();+++-- Create a table for posts+create table posts (+ id bigserial not null,+ slug text not null unique,+ "createdAt" timestamp with time zone default now() not null,+ "updatedAt" timestamp with time zone default now() null,+ title text null,+ content text null,+ "isPublished" boolean default false not null,+ "authorId" uuid not null references profiles (id),+ "parentId" bigint null references posts (id),+ live boolean default true null,+ "siteId" bigint default '1' ::bigint not null,+ "isPinned" boolean default false not null,+ "isDeleted" boolean default false not null,+ "isApproved" boolean default false not null,++ primary key (id),+ unique (slug)+);++alter table posts enable row level security;++-- Create root user and initial post. Triggers update in profiles.+insert into auth.users (id) values ('00000000-0000-0000-0000-000000000000'::uuid);++update profiles+set+ full_name = 'Admin',+ avatar_url = 'https://assets3.thrillist.com/v1/image/1875552/414x310/crop;jpeg_quality=65.jpg'+where+ id = '00000000-0000-0000-0000-000000000000'::uuid;++insert into posts (slug, title, content, "authorId") values ('root', 'Root post', 'root post', '00000000-0000-0000-0000-000000000000'::uuid);+insert into posts (slug, title, content, "authorId", "parentId") values ('threaded-comments-123', 'threaded-comments', 'Threaded comments, built on top of Supabase and Next.js. Visit GitHub to deploy your own: https://github.com/lawrencecchen/threaded-comments', '00000000-0000-0000-0000-000000000000'::uuid, 1);++create policy "Posts are viewable by everyone."+ on posts for select+ using ( true );++create policy "Users can post as themselves."+ on posts for insert+ with check ( auth.uid() = "authorId" );++-- Create a table for sites+create table sites (+ id bigserial not null,+ "siteDomain" text not null,+ "ownerId" uuid not null,+ "name" text not null,++ primary key (id)+);++alter table sites enable row level security;++create policy "Sites are viewable by everyone."+ on sites for select+ using ( true );++create policy "Users can create their own sites."+ on sites for insert+ with check ( auth.uid() = "ownerId" );++-- Create a table for votes+create table votes (+ "postId" bigint not null references posts (id),+ "userId" uuid not null references profiles (id),+ "value" int not null,++ primary key ("postId", "userId"),+ constraint vote_quantity check (value <= 1 and value >= -1)+);++alter table votes enable row level security;++create policy "Votes are viewable by everyone"+ on votes for select+ using ( true );++create policy "Users can vote as themselves"+ on votes for insert+ with check (auth.uid() = "userId");++create policy "Users can update their own votes"+ on votes for update+ using ( auth.uid() = "userId" );+++-- Set up Realtime!+begin;+ drop publication if exists supabase_realtime;+ create publication supabase_realtime;+commit;+alter publication supabase_realtime add table posts, sites, votes, profiles;++-- Set up Storage!+insert into storage.buckets (id, name)+values ('avatars', 'avatars');++create policy "Avatar images are publicly accessible."+ on storage.objects for select+ using ( bucket_id = 'avatars' );++create policy "Anyone can upload an avatar."+ on storage.objects for insert+ with check ( bucket_id = 'avatars' );++drop view if exists comments_thread_with_user_vote;+drop view if exists comments_thread;+drop view if exists comments_with_author_votes;+drop view if exists comments_linear_view;+drop view if exists comment_with_author;++create view comment_with_author as+ select+ p.id,+ p.slug,+ p."createdAt",+ p."updatedAt",+ p.title,+ p.content,+ p."isPublished",+ p."authorId",+ p."parentId",+ p.live,+ p."siteId",+ p."isPinned",+ p."isDeleted",+ p."isApproved",+ to_jsonb(u) as author+ from+ posts p+ inner join profiles u on p."authorId" = u.id;++create view comments_linear_view as+ select+ root_c.*,+ to_jsonb(parent_c) as parent,+ coalesce(json_agg(children_c) filter (where children_c.id is not null), '[]') as responses+ from+ comment_with_author root_c+ inner join comment_with_author parent_c on root_c."parentId" = parent_c.id+ inner join sites s1 on s1.id = root_c."siteId"+ left join comment_with_author children_c on children_c."parentId" = root_c.id+ group by+ root_c.id,+ root_c.slug,+ root_c."createdAt",+ root_c."updatedAt",+ root_c.title,+ root_c.content,+ root_c."isPublished",+ root_c."authorId",+ root_c."parentId",+ root_c.live,+ root_c."siteId",+ root_c."isPinned",+ root_c."isDeleted",+ root_c."isApproved",+ root_c.author,+ parent_c.*;++create or replace view comments_with_author_votes as+ select+ p.id,+ p.slug,+ p."createdAt",+ p."updatedAt",+ p.title,+ p.content,+ p."isPublished",+ p."authorId",+ p."parentId",+ p.live,+ p."siteId",+ p."isPinned",+ p."isDeleted",+ p."isApproved",+ p."author",+ coalesce (+ sum (v.value) over w,+ 0+ ) as "votes",+ sum (case when v.value > 0 then 1 else 0 end) over w as "upvotes",+ sum (case when v.value < 0 then 1 else 0 end) over w as "downvotes"+ -- (select case when auth.uid() = v."userId" then v.value else 0 end) as "userVoteValue"+ from+ comment_with_author p+ left join votes v on p.id = v."postId"+ window w as (+ partition by v."postId"+ );++create recursive view comments_thread (+ id,+ slug,+ "createdAt",+ "updatedAt",+ title,+ content,+ "isPublished",+ "authorId",+ "parentId",+ live,+ "siteId",+ "isPinned",+ "isDeleted",+ "isApproved",+ "author",+ "votes",+ "upvotes",+ "downvotes",+ "depth",+ "path",+ "pathVotesRecent",+ "pathLeastRecent",+ "pathMostRecent"+) as+ select+ id,+ slug,+ "createdAt",+ "updatedAt",+ title,+ content,+ "isPublished",+ "authorId",+ "parentId",+ live,+ "siteId",+ "isPinned",+ "isDeleted",+ "isApproved",+ "author",+ "votes",+ "upvotes",+ "downvotes",+ 0 as depth,+ array[id] as "path",+ array[id] as "pathVotesRecent",+ array[id] as "pathLeastRecent",+ array[id] as "pathMostRecent"+ from+ comments_with_author_votes+ where+ "parentId" is null+ union all+ select+ p1.id,+ p1.slug,+ p1."createdAt",+ p1."updatedAt",+ p1.title,+ p1.content,+ p1."isPublished",+ p1."authorId",+ p1."parentId",+ p1.live,+ p1."siteId",+ p1."isPinned",+ p1."isDeleted",+ p1."isApproved",+ p1."author",+ p1."votes",+ p1."upvotes",+ p1."downvotes",+ p2.depth + 1 as depth,+ p2."path" || p1.id::bigint as "path",+ p2."pathVotesRecent" || -p1."votes"::bigint || -extract(epoch from p1."createdAt")::bigint || p1.id as "pathVotesRecent",+ p2."pathLeastRecent" || extract(epoch from p1."createdAt")::bigint || p1.id as "pathLeastRecent",+ p2."pathMostRecent" || -extract(epoch from p1."createdAt")::bigint || p1.id as "pathMostRecent"+ from+ comments_with_author_votes p1+ join comments_thread p2 on p1."parentId" = p2.id;++create or replace view comments_thread_with_user_vote as+ select distinct on (id)+ id,+ slug,+ "createdAt",+ "updatedAt",+ title,+ content,+ "isPublished",+ "authorId",+ "parentId",+ live,+ "siteId",+ "isPinned",+ "isDeleted",+ "isApproved",+ "author",+ "votes",+ "upvotes",+ "downvotes",+ "depth",+ "path",+ "pathVotesRecent",+ "pathLeastRecent",+ "pathMostRecent",+ coalesce(+ (+ select+ v."value"+ from+ votes v+ where+ auth.uid() = v."userId" and v."postId" = id+ ),+ 0+ ) as "userVoteValue"+ from comments_thread;+ `,+ },+ envs: [+ {+ key: 'NEXT_PUBLIC_SUPABASE_URL',+ alias: INTEGRATION_ENVS_ALIAS.ENDPOINT,+ type: 'encrypted',+ },+ {+ key: 'NEXT_PUBLIC_SUPABASE_ANON_KEY',+ alias: INTEGRATION_ENVS_ALIAS.ANONKEY,+ type: 'encrypted',+ },+ {+ key: 'SUPABASE_SERVICE_ROLE_KEY',+ alias: INTEGRATION_ENVS_ALIAS.SERVICEKEY,+ type: 'encrypted',+ },+ ],+ },+]diff --git a/studio/localStores/README.md b/studio/localStores/README.mdnew file mode 100644index 00000000000..a2f5b09c2cc--- /dev/null+++ b/studio/localStores/README.md@@ -0,0 +1,3 @@+# Local stores++Note: We are looking to deprecate this folder. Do not add any files herediff --git a/studio/localStores/sqlEditor/Favorite.js b/studio/localStores/sqlEditor/Favorite.jsnew file mode 100644index 00000000000..c4a981669b5--- /dev/null+++ b/studio/localStores/sqlEditor/Favorite.js@@ -0,0 +1,27 @@+import { makeAutoObservable } from 'mobx'++class Favorite {+ key+ name+ desc+ query++ constructor(key, query, name, desc) {+ makeAutoObservable(this)++ this.key = key+ this.query = query+ this.name = name+ this.desc = desc+ }++ get renameModel() {+ return { name: this.name, desc: this.desc }+ }++ rename(model) {+ this.name = model.name+ this.desc = model.desc+ }+}+export default Favoritediff --git a/studio/localStores/sqlEditor/QueryTab.js b/studio/localStores/sqlEditor/QueryTab.jsnew file mode 100644index 00000000000..343302bd27b--- /dev/null+++ b/studio/localStores/sqlEditor/QueryTab.js@@ -0,0 +1,142 @@+import { makeObservable, observable, action, computed } from 'mobx'+import { compact } from 'lodash'+import { UTILITY_TAB_TYPES } from './SqlEditorStore'+import MarkdownTable from 'markdown-table'++import { API_URL } from 'lib/constants'+import { post } from 'lib/common/fetch'+import Tab from './Tab'++const DEFAULT_PANEL_SIZES = [50, 50]++class QueryTab extends Tab {+ query = ''+ results+ errorResult++ isExecuting+ activeUtilityTab+ utilityTabHeight+ splitSizes+ sqlQueryError++ constructor(meta, name, type, desc, favorite) {+ super(name, type, desc, favorite)++ makeObservable(this, {+ query: observable,+ results: observable,+ isExecuting: observable,+ activeUtilityTab: observable,+ utilityTabHeight: observable,+ splitSizes: observable,+ sqlQueryError: observable,+ hasNoResult: computed,+ setActiveTab: action,+ setQuery: action,+ setResults: action,+ setSplitSizes: action,+ startExecuting: action,+ finishExecuting: action,+ resizeUtilityTab: action,+ collapseUtilityTab: action,+ })++ this.meta = meta+ this.activeUtilityTab = UTILITY_TAB_TYPES.RESULTS+ this.splitSizes = DEFAULT_PANEL_SIZES+ }++ get hasNoResult() {+ return !this.results+ }++ get csvData() {+ return compact(Array.from(this.results || []))+ }++ get markdownData() {+ if (!this.results) return 'results is empty'+ if (this.results.constructor !== Array && !!this.results.error) return this.results.error+ if (this.results.length == 0) return 'results is empty'++ const columns = Object.keys(this.results[0])+ const rows = this.results.map((x) => {+ const temp = []+ columns.forEach((col) => temp.push(x[col]))+ return temp+ })+ const table = [columns].concat(rows)+ return MarkdownTable(table)+ }++ setActiveTab(value) {+ this.activeUtilityTab = value+ }++ setQuery(query) {+ this.query = query || ''+ }++ setResults(results) {+ this.results = results+ }++ setSplitSizes(sizes) {+ this.splitSizes = sizes+ }++ async startExecuting(query) {+ this.isExecuting = true+ this.errorResult = null++ const validateQueryResponse = await this.meta.validateQuery(query || this.query)+ if (!validateQueryResponse.valid) {+ this.finishExecuting(undefined, validateQueryResponse.error)+ return+ } else {+ this.clearError()+ }++ const response = await this.meta.query(query || this.query)+ if (response.error) {+ this.finishExecuting(undefined, response.error)+ } else {+ this.finishExecuting(response)+ post(`${API_URL}/telemetry/event`, { category: 'sql_editor', action: 'sql_query_run' })+ }+ }++ finishExecuting(results, error = null) {+ this.results = results+ this.isExecuting = false+ this.activeUtilityTab = UTILITY_TAB_TYPES.RESULTS++ if (error) {+ this.sqlQueryError = error+ this.errorResult = error.message+ }++ if (this.utilityTabHeight == 0) {+ this.restorePanelSize()+ }+ }++ resizeUtilityTab(height) {+ this.utilityTabHeight = height+ }++ collapseUtilityTab() {+ this.utilityTabHeight = 0+ }++ restorePanelSize() {+ const random = parseInt(Math.random() * 100) / 100+ this.splitSizes = [DEFAULT_PANEL_SIZES[0] - random, DEFAULT_PANEL_SIZES[1] + random]+ }++ clearError() {+ this.sqlQueryError = undefined+ }+}+export default QueryTabdiff --git a/studio/localStores/sqlEditor/SqlEditorStore.js b/studio/localStores/sqlEditor/SqlEditorStore.jsnew file mode 100644index 00000000000..7f0314fe2e6--- /dev/null+++ b/studio/localStores/sqlEditor/SqlEditorStore.js@@ -0,0 +1,331 @@+import { createContext, useContext } from 'react'+import { makeAutoObservable, toJS } from 'mobx'++import { IS_PLATFORM } from 'lib/constants'+import Tab from './Tab'+import QueryTab from './QueryTab'+import Favorite from './Favorite'+// import { useStore } from 'hooks'+import { SchemasQuery, TableColumnsQuery, AllFunctionsQuery } from './queries'++let store = null+let projectRef = null+export function useSqlEditorStore(ref, meta) {+ if (store === null || ref !== projectRef) {+ projectRef = ref+ store = new SqlEditorStore(ref, meta)+ }+ return store+}++export const TAB_TYPES = {+ WELCOME: 'WELCOME',+ SQL_QUERY: 'SQL_QUERY',+}++export const UTILITY_TAB_TYPES = {+ RESULTS: 'RESULTS',+}++export const SqlEditorContext = createContext(null)++export const useSqlStore = () => {+ return useContext(SqlEditorContext)+}++class SqlEditorStore {+ meta+ projectRef+ tabs = []+ favorites = []+ selectedTabId++ keywordCache = []+ schemaCache = []+ tableCache = []+ functionCache = []++ constructor(projectRef, meta) {+ makeAutoObservable(this, {+ keywordsCache: false,+ schemaCache: false,+ tableCache: false,+ functionCache: false,+ })++ this.meta = meta+ this.projectRef = projectRef++ this.loadKeywords()+ this.loadSchemas()+ this.loadTablesAndColumns()+ this.loadAllFunctions()+ }++ get LOCALSTORAGE_SAVED_KEY() {+ return `supabase-queries-state-${this.projectRef}`+ }++ get activeTab() {+ const found = this.tabs.find((x) => x.id === this.selectedTabId)+ return found+ }++ get nextQueryTabName() {+ for (var i = 1; i < 20; i++) {+ const name = `Query-${i}`+ const found = this.tabs.find((x) => x.name.includes(name))+ if (found == undefined) return name+ }+ return `Query`+ }++ get isActiveQueyTabFavorited() {+ if (this.activeTab.type != TAB_TYPES.SQL_QUERY) return false+ return this.favorites.find((x) => x.key === this.activeTab.id) !== undefined+ }++ get tabsJson() {+ const json = this.tabs.map((x) => {+ switch (x.type) {+ case TAB_TYPES.WELCOME:+ return { name: x.name, type: x.type }+ case TAB_TYPES.SQL_QUERY:+ return { id: x.id, name: x.name, desc: x.desc, type: x.type, query: x.query }+ default:+ return undefined+ }+ })+ return json+ }++ get favoriteCards() {+ return this.favorites.filter((x) => !!x.name)+ }++ get isExecuting() {+ const tab = this.activeTab+ if (tab.type != TAB_TYPES.SQL_QUERY) return false+ else return tab.isExecuting+ }++ /*+ * ! Temporary solution !+ *+ * New action for retriving data from main db user_content+ * You need to pass the contentStore into this+ */+ async loadRemotePersistentData(contentStore, user_id) {+ await contentStore.load()+ const sqlSnippets = contentStore.sqlSnippets((x) => x.owner_id === user_id)+ const snippets = toJS(sqlSnippets)++ // add the welcome tab+ let tabs = IS_PLATFORM ? [new Tab('Welcome', TAB_TYPES.WELCOME)] : []++ // add the tabs to array, but with structure the localStore expects+ snippets.map((snippet) => {+ const data = {+ desc: snippet.description,+ id: snippet.id,+ name: snippet.name,+ query: snippet.content.sql,+ type: 'SQL_QUERY',+ favorite: snippet.content.favorite,+ }+ tabs.push(data)+ })++ /*+ * Reshape snippet content to fit the SqlEditorStore shape+ */+ const payload = {+ version: '1.0',+ tabs: [...tabs],+ favorites: [],+ }++ /*+ * Run loadPersistentData() as normal, although now with remote data+ */+ this.loadPersistentData(payload)+ }++ loadPersistentData(json) {+ if (!json) {+ this.loadInitialData()+ return+ }++ if ('version' in json) {+ this.loadTabs(json.tabs || [])+ } else if ('results' in json) {+ // legacy saved data+ this.loadLegacyTabs(json.results || [])+ }++ this.loadFavorites(json.favorites || [])+ }++ loadInitialData() {+ this.tabs = [+ new Tab('Welcome', TAB_TYPES.WELCOME),+ // new Tab('scripts', TAB_TYPES.WELCOME),+ // new Tab('quickstarts', TAB_TYPES.WELCOME),+ new QueryTab(this.nextQueryTabName, TAB_TYPES.SQL_QUERY),+ ]+ this.selectedTabId = this.tabs[0].id+ }++ // for previous sql editor saved data+ loadLegacyTabs(values) {+ let tabs = [new Tab('Welcome', TAB_TYPES.WELCOME)]+ tabs = tabs.concat(+ values.map((x, index) => {+ const tab = new QueryTab(this.meta, `Query-${index + 1}`, TAB_TYPES.SQL_QUERY)+ tab.id = x.key+ tab.query = x.query+ return tab+ })+ )+ this.tabs = tabs+ this.selectedTabId = this.tabs.length ? this.tabs[0].id : undefined+ }++ loadTabs(values) {+ const tabs = values.map((x) => {+ switch (x.type) {+ case TAB_TYPES.WELCOME:+ return new Tab(x.name, x.type)+ case TAB_TYPES.SQL_QUERY:+ const tab = new QueryTab(this.meta, x.name, x.type, x.desc, x.favorite || false)+ tab.id = x.id+ tab.query = x.query+ return tab+ default:+ return undefined+ }+ })++ this.tabs = tabs.filter((x) => x !== undefined)+ this.selectedTabId = this.tabs.length ? this.tabs[0].id : undefined+ }++ loadFavorites(values) {+ this.favorites = values.map((x) => new Favorite(x.key, x.query, x.name, x.desc))+ }++ async loadKeywords() {+ const query = 'select * from pg_get_keywords();'+ const response = await this.meta.query(query)+ if (!response.error) {+ this.keywordCache = response.map((x) => x.word.toLocaleLowerCase())+ }+ }++ async loadSchemas() {+ const response = await this.meta.query(SchemasQuery)+ if (!response.error) {+ this.schemaCache = response+ }+ }++ async loadTablesAndColumns() {+ const response = await this.meta.query(TableColumnsQuery)+ if (!response.error) {+ this.tableCache = response+ }+ }++ async loadAllFunctions() {+ const response = await this.meta.query(AllFunctionsQuery)+ if (!response.error) {+ this.functionCache = response.map((x) => {+ const args = x.argument_types+ .split(',')+ .filter((a) => a)+ .map((a) => a.trim())+ return { ...x, args }+ })+ }+ }++ selectTab(id) {+ // reset new selected query tab+ const found = this.tabs.find((x) => x.id === this.selectedTabId)+ if (found && found.type == TAB_TYPES.SQL_QUERY) {+ found.isExecuting = false+ }++ this.selectedTabId = id+ }++ closeTab(id) {+ this.tabs = this.tabs.filter((x) => x.id !== id)+ // if user close selectedTab, select the last tab if available+ if (this.tabs.length && this.selectedTabId === id)+ this.selectedTabId = this.tabs[this.tabs.length - 1].id+ }++ createQueryTab(query, name) {+ const newTab = new QueryTab(this.meta, name ? name : this.nextQueryTabName, TAB_TYPES.SQL_QUERY)+ newTab.setQuery(query)++ this.tabs.push(newTab)+ this.selectedTabId = newTab.id+ }++ createQueryTabFromFavorite(key) {+ const foundTab = this.tabs.find((x) => x.id == key)+ if (foundTab) {+ this.selectedTabId = foundTab.id+ return+ }++ const foundFav = this.favorites.find((x) => x.key == key)+ if (foundFav) {+ const newTab = new QueryTab(this.meta, foundFav.name, TAB_TYPES.SQL_QUERY, foundFav.desc)+ newTab.id = foundFav.key+ newTab.query = foundFav.query++ this.tabs.push(newTab)+ this.selectedTabId = newTab.id+ }+ }++ reorderTabs(startIndex, endIndex) {+ const result = Array.from(this.tabs)+ const [removed] = result.splice(startIndex, 1)+ result.splice(endIndex, 0, removed)+ this.tabs = result+ }++ addToFavorite(key, query, name, desc) {+ const found = this.favorites.find((x) => x.key === key)+ if (!found) {+ const newFav = new Favorite(key, query, name, desc)+ this.favorites = [newFav, ...this.favorites]+ }+ }++ unFavorite(key) {+ this.favorites = this.favorites.filter((x) => x.key != key)+ }++ renameQuery(id, model) {+ const found = this.tabs.find((x) => x.id == id)+ found?.rename(model)++ const favorite = this.favorites.find((x) => x.key == id)+ favorite?.rename(model)+ }++ async startExecuting(query) {+ const tab = this.activeTab+ if (!tab || tab.type != TAB_TYPES.SQL_QUERY) return++ await tab.startExecuting(query)+ }+}++export default SqlEditorStorediff --git a/studio/localStores/sqlEditor/Tab.js b/studio/localStores/sqlEditor/Tab.jsnew file mode 100644index 00000000000..6bb98e6c1e3--- /dev/null+++ b/studio/localStores/sqlEditor/Tab.js@@ -0,0 +1,38 @@+import { makeObservable, action, observable, computed } from 'mobx'+import { makeRandomString } from 'lib/helpers'++class Tab {+ id+ name+ desc+ type+ favorite++ constructor(name, type, desc = '', favorite = false) {+ makeObservable(this, {+ id: observable,+ name: observable,+ desc: observable,+ type: observable,+ favorite: observable,+ renameModel: computed,+ rename: action,+ })++ this.id = `${makeRandomString(4)}-${Date.now()}`+ this.name = name+ this.type = type+ this.desc = desc+ this.favorite = favorite+ }++ get renameModel() {+ return { name: this.name, desc: this.desc }+ }++ rename(model) {+ this.name = model.name+ this.desc = model.desc+ }+}+export default Tabdiff --git a/studio/localStores/sqlEditor/queries.js b/studio/localStores/sqlEditor/queries.jsnew file mode 100644index 00000000000..a969ee9203e--- /dev/null+++ b/studio/localStores/sqlEditor/queries.js@@ -0,0 +1,90 @@+const SchemasQuery = `+ SELECT nspname as name+ FROM pg_namespace+ WHERE+ nspname not in ('information_schema', 'pg_catalog', 'pg_toast')+ AND nspname not like 'pg_temp_%'+ AND nspname not like 'pg_toast_temp_%'+ AND has_schema_privilege(oid, 'CREATE, USAGE')+ ORDER BY nspname;+`++const TableColumnsQuery = `+ SELECT+ tbl.schemaname,+ tbl.tablename,+ tbl.quoted_name,+ tbl.is_table,+ json_agg(a) as columns+ FROM+ (+ SELECT+ n.nspname as schemaname,+ c.relname as tablename,+ (quote_ident(n.nspname) || '.' || quote_ident(c.relname)) as quoted_name,+ true as is_table+ FROM+ pg_catalog.pg_class c+ JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace+ WHERE+ c.relkind = 'r'+ AND n.nspname not in ('information_schema', 'pg_catalog', 'pg_toast')+ AND n.nspname not like 'pg_temp_%'+ AND n.nspname not like 'pg_toast_temp_%'+ AND has_schema_privilege(n.oid, 'USAGE') = true+ AND has_table_privilege(quote_ident(n.nspname) || '.' || quote_ident(c.relname), 'SELECT, INSERT, UPDATE, DELETE, TRUNCATE, REFERENCES, TRIGGER') = true+ union all+ SELECT+ n.nspname as schemaname,+ c.relname as tablename,+ (quote_ident(n.nspname) || '.' || quote_ident(c.relname)) as quoted_name,+ false as is_table+ FROM+ pg_catalog.pg_class c+ JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace+ WHERE+ c.relkind in ('v', 'm')+ AND n.nspname not in ('information_schema', 'pg_catalog', 'pg_toast')+ AND n.nspname not like 'pg_temp_%'+ AND n.nspname not like 'pg_toast_temp_%'+ AND has_schema_privilege(n.oid, 'USAGE') = true+ AND has_table_privilege(quote_ident(n.nspname) || '.' || quote_ident(c.relname), 'SELECT, INSERT, UPDATE, DELETE, TRUNCATE, REFERENCES, TRIGGER') = true+ ) as tbl+ LEFT JOIN (+ SELECT+ attrelid,+ attname,+ format_type(atttypid, atttypmod) as data_type,+ attnum,+ attisdropped+ FROM+ pg_attribute+ ) as a ON (+ a.attrelid = tbl.quoted_name::regclass+ AND a.attnum > 0+ AND NOT a.attisdropped+ AND has_column_privilege(tbl.quoted_name, a.attname, 'SELECT, INSERT, UPDATE, REFERENCES')+ )+ GROUP BY schemaname, tablename, quoted_name, is_table;+`++const AllFunctionsQuery = `+ SELECT n.nspname as "schema",+ p.proname as "name",+ d.description,+ pg_catalog.pg_get_function_result(p.oid) as "result_type",+ pg_catalog.pg_get_function_arguments(p.oid) as "argument_types",+ CASE+ WHEN p.prokind = 'a' THEN 'agg'+ WHEN p.prokind = 'w' THEN 'window'+ WHEN p.prorettype = 'pg_catalog.trigger'::pg_catalog.regtype THEN 'trigger'+ ELSE 'normal'+ END as "type"+ FROM pg_catalog.pg_proc p+ LEFT JOIN pg_catalog.pg_namespace n ON n.oid = p.pronamespace+ LEFT JOIN pg_catalog.pg_description d ON p.oid = d.objoid+ WHERE n.nspname = 'public'+ ORDER BY 1, 2, 4;+`++export { SchemasQuery, TableColumnsQuery, AllFunctionsQuery }diff --git a/studio/localStores/storageExplorer/StorageExplorerStore.js b/studio/localStores/storageExplorer/StorageExplorerStore.jsnew file mode 100644index 00000000000..a5228fa7ea0--- /dev/null+++ b/studio/localStores/storageExplorer/StorageExplorerStore.js@@ -0,0 +1,1242 @@+import { createContext, useContext } from 'react'+import { makeAutoObservable } from 'mobx'+import {+ find,+ findIndex,+ compact,+ isEqual,+ isNull,+ has,+ isUndefined,+ some,+ chunk,+ get,+} from 'lodash'+import toast from 'react-hot-toast'+import { createClient } from '@supabase/supabase-js'++import {+ STORAGE_VIEWS,+ STORAGE_ROW_TYPES,+ STORAGE_ROW_STATUS,+ STORAGE_SORT_BY,+} from 'components/to-be-cleaned/Storage/Storage.constants.ts'+import { timeout } from 'lib/helpers'++/**+ * This is a preferred method rather than React Context and useStorageExplorerStore().+ * If we can switch to this method, we can remove the implementation below, and we don't need compose() within the react components+ */+let store = null+export function useStorageStore() {+ if (store === null) store = new StorageExplorerStore(null)+ return store+}++/**+ * Deprecated - it's preferable to use the useStorageStore() function above+ */+export const StorageExplorerContext = createContext(null)+export const useStorageExplorerStore = () => {+ return useContext(StorageExplorerContext)+}++const LIMIT = 100000+const OFFSET = 0+const DEFAULT_EXPIRY = 10 * 365 * 24 * 60 * 60 // in seconds, default to 1 year+const PREVIEW_SIZE_LIMIT = 10000000 // 10MB+const BATCH_SIZE = 100+const EMPTY_FOLDER_PLACEHOLDER_FILE_NAME = '.emptyFolderPlaceholder'++class StorageExplorerStore {+ projectRef = ''+ loaded = false+ view = STORAGE_VIEWS.COLUMNS+ sortBy = STORAGE_SORT_BY.NAME+ buckets = []+ selectedBucket = {}+ selectedBucketToEdit = {}+ columns = []+ openedFolders = []+ selectedItems = []+ selectedItemsToDelete = []+ selectedItemsToMove = []+ selectedFilePreview = {}++ /* Supabase client */+ supabaseClient = null++ /* FE to toggle page level modals */+ showCreateBucketModal = false+ showDeleteBucketModal = false+ showToggleBucketPublicModal = false++ /* FE Cacheing for file previews */+ filePreviewCache = []++ /* For file uploads, from 0 to 1 */+ uploadProgress = 0++ /* Controllers to abort API calls */+ abortController = null++ constructor(projectRef) {+ makeAutoObservable(this, { supabaseClient: false })+ this.projectRef = projectRef+ this.abortController = new AbortController()+ }++ initStore(projectRef, url, serviceKey) {+ this.projectRef = projectRef+ this.initializeSupabaseClient(serviceKey, url)+ }++ /* Methods which are commonly used + For better readability */++ normalizeSupabaseURL(url) {+ return url.replace(+ process.env.NEXT_PUBLIC_CUSTOMER_DOMAIN,+ process.env.NEXT_PUBLIC_ALT_CUSTOMER_DOMAIN+ )+ }++ initializeSupabaseClient = (serviceKey, serviceEndpoint) => {+ this.supabaseClient = createClient(+ this.normalizeSupabaseURL(`https://${serviceEndpoint}`),+ serviceKey+ )+ }++ updateFileInPreviewCache = (fileCache) => {+ const updatedFilePreviewCache = this.filePreviewCache.map((file) => {+ if (file.id === fileCache.id) return fileCache+ return file+ })+ this.filePreviewCache = updatedFilePreviewCache+ }++ addFileToPreviewCache = (fileCache) => {+ const updatedFilePreviewCache = this.filePreviewCache.concat([fileCache])+ this.filePreviewCache = updatedFilePreviewCache+ }++ clearFilePreviewCache = () => {+ this.filePreviewCache = []+ }++ getLocalStorageKey = () => {+ return `supabase-storage-${this.projectRef}`+ }++ getLatestColumnIndex = () => {+ return this.columns.length - 1+ }++ getCurrentlySelectedBucket = () => {+ return this.columns.length > 1 ? this.columns[1] : null+ }++ // Probably refactor this to ignore bucket by default+ getPathAlongOpenedFolders = (includeBucket = true) => {+ if (includeBucket) {+ return this.openedFolders.length > 0+ ? `${this.selectedBucket.name}/${this.openedFolders.map((folder) => folder.name).join('/')}`+ : this.selectedBucket.name+ }+ return this.openedFolders.map((folder) => folder.name).join('/')+ }++ abortApiCalls = () => {+ this.abortController.abort()+ this.abortController = new AbortController()+ }++ get currentBucketName() {+ return this.selectedBucket.name+ }++ /* UI specific methods */++ setLoaded = (val) => {+ this.loaded = val+ }++ openCreateBucketModal = () => {+ this.showCreateBucketModal = true+ }++ closeCreateBucketModal = () => {+ this.showCreateBucketModal = false+ }++ openDeleteBucketModal = (bucket) => {+ this.selectedBucketToEdit = bucket+ this.showDeleteBucketModal = true+ }++ closeDeleteBucketModal = () => {+ this.showDeleteBucketModal = false+ }++ openToggleBucketPublicModal = (bucket) => {+ this.selectedBucketToEdit = bucket+ this.showToggleBucketPublicModal = true+ }++ closeToggleBucketPublicModal = () => {+ this.showToggleBucketPublicModal = false+ }++ setSelectedBucket = (bucket) => {+ this.selectedBucket = bucket+ this.clearOpenedFolders()+ this.closeFilePreview()+ this.clearSelectedItems()+ }++ setView = (view) => {+ this.view = view+ this.closeFilePreview()+ this.updateExplorerPreferences()+ }++ setSortBy = async (sortBy) => {+ this.sortBy = sortBy+ this.closeFilePreview()+ this.updateExplorerPreferences()+ await this.refetchAllOpenedFolders()+ }++ clearColumns = () => {+ this.columns = []+ }++ pushColumnAtIndex = (column, index) => {+ this.columns = this.columns.slice(0, index + 1).concat([column])+ }++ popColumn = () => {+ this.abortApiCalls()+ this.columns = this.columns.slice(0, this.getLatestColumnIndex())+ }++ popColumnAtIndex = (index) => {+ this.columns = this.columns.slice(0, index + 1)+ }++ pushOpenedFolderAtIndex = (folder, index) => {+ this.openedFolders = this.openedFolders.slice(0, index).concat(folder)+ }++ popOpenedFolders = () => {+ this.openedFolders = this.openedFolders.slice(0, this.openedFolders.length - 1)+ }++ popOpenedFoldersAtIndex = (index) => {+ this.openedFolders = this.openedFolders.slice(0, index + 1)+ }++ clearOpenedFolders = () => {+ this.openedFolders = []+ }++ setSelectedItems = (items) => {+ this.selectedItems = items+ }++ clearSelectedItems = () => {+ this.selectedItems = []+ }++ setSelectedItemsToDelete = (items) => {+ this.selectedItemsToDelete = items+ }++ clearSelectedItemsToDelete = () => {+ this.selectedItemsToDelete = []+ }++ setSelectedItemsToMove = (items) => {+ this.selectedItemsToMove = items+ }++ clearSelectedItemsToMove = () => {+ this.selectedItemsToMove = []+ }++ addNewFolderPlaceholder = (columnIndex) => {+ const folderName = 'Untitled folder'+ const folderType = STORAGE_ROW_TYPES.FOLDER+ const columnIdx = columnIndex === -1 ? this.getLatestColumnIndex() : columnIndex+ this.addTempRow(folderType, folderName, STORAGE_ROW_STATUS.EDITING, columnIdx)+ }++ addNewFolder = async (folderName, columnIndex) => {+ const autofix = false+ const formattedName = this.sanitizeNameForDuplicateInColumn(folderName, autofix, columnIndex)+ if (isNull(formattedName)) {+ return+ }+ if (formattedName.length === 0) {+ return this.removeTempRows(columnIndex)+ }++ const emptyPlaceholderFile = `${formattedName}/${EMPTY_FOLDER_PLACEHOLDER_FILE_NAME}`+ const pathToFolder = this.openedFolders+ .slice(0, columnIndex)+ .map((folder) => folder.name)+ .join('/')+ const formattedPathToEmptyPlaceholderFile =+ pathToFolder.length > 0 ? `${pathToFolder}/${emptyPlaceholderFile}` : emptyPlaceholderFile++ await this.supabaseClient.storage+ .from(this.selectedBucket.name)+ .upload(formattedPathToEmptyPlaceholderFile, new File([], EMPTY_FOLDER_PLACEHOLDER_FILE_NAME))+ if (pathToFolder.length > 0) {+ await this.supabaseClient.storage+ .from(this.selectedBucket.name)+ .remove([`${pathToFolder}/${EMPTY_FOLDER_PLACEHOLDER_FILE_NAME}`])+ }++ this.updateFolderAfterEdit(formattedName, columnIndex)+ }++ setFilePreview = async (file) => {+ const size = file.metadata?.size+ const mimeType = file.metadata?.mimetype+ if (mimeType && size && this.selectedFilePreview.id !== file.id) {+ // Skip fetching of file preview if file is too big+ if (size > PREVIEW_SIZE_LIMIT) {+ this.selectedFilePreview = { ...file, previewUrl: 'skipped' }+ return+ }++ // Either retrieve file preview from FE cache or retrieve signed url+ this.selectedFilePreview = { ...file, previewUrl: 'loading' }+ const cachedPreview = find(this.filePreviewCache, { id: file.id })++ const fetchedAt = get(cachedPreview, ['fetchedAt'], null)+ const expiresIn = get(cachedPreview, ['expiresIn'], null)+ const existsInCache = !isNull(fetchedAt) && !isNull(expiresIn)+ const isExpired = existsInCache ? fetchedAt + expiresIn * 1000 < Date.now() : true++ if (!isExpired) {+ this.selectedFilePreview = { ...file, previewUrl: cachedPreview.url }+ } else {+ const previewUrl = await this.fetchFilePreview(file.name)++ const formattedPreviewUrl = this.selectedBucket.public+ ? `${previewUrl}?t=${new Date().toISOString()}`+ : previewUrl+ this.selectedFilePreview = { ...file, previewUrl: formattedPreviewUrl }++ const fileCache = {+ id: file.id,+ url: previewUrl,+ expiresIn: DEFAULT_EXPIRY,+ fetchedAt: Date.now(),+ }+ if (!existsInCache) {+ this.addFileToPreviewCache(fileCache)+ } else {+ this.updateFileInPreviewCache(fileCache)+ }+ }+ } else {+ this.selectedFilePreview = { ...file, previewUrl: null }+ }+ }++ closeFilePreview = () => {+ this.selectedFilePreview = {}+ }++ copyFileURLToClipboard = async (file) => {+ const filePreview = find(this.filePreviewCache, { id: file.id })+ if (filePreview) {+ // Already generated signed URL+ window.navigator?.clipboard?.writeText(filePreview.url)+ } else {+ // Need to generate signed URL, and might as well save it to cache as well+ const signedUrl = await this.fetchFilePreview(file.name)+ window.navigator?.clipboard?.writeText(signedUrl)++ const fileCache = {+ id: file.id,+ url: signedUrl,+ expiresIn: DEFAULT_EXPIRY,+ fetchedAt: Date.now(),+ }+ this.addFileToPreviewCache(fileCache)+ }+ toast(`Copied URL for ${file.name} to clipboard.`)+ }++ /* Methods that involve the storage client library */+ /* Bucket CRUD */++ createBucket = async (bucketName, isPublic = false) => {+ const { error } = await this.supabaseClient.storage.createBucket(bucketName, {+ public: isPublic,+ })+ if (error) {+ toast(error.message)+ return this.closeCreateBucketModal()+ }++ await this.fetchBuckets()+ this.closeCreateBucketModal()+ }++ openBucket = async (bucket) => {+ const { id, name } = bucket+ const columnIndex = -1+ if (!isEqual(this.selectedBucket, bucket)) {+ this.setSelectedBucket(bucket)+ await this.fetchFolderContents(id, name, columnIndex)+ }+ }++ fetchBuckets = async () => {+ const { data: buckets, error } = await this.supabaseClient.storage.listBuckets()+ if (error) return toast(error.message)++ const formattedBuckets = buckets.map((bucket) => {+ return { ...bucket, type: STORAGE_ROW_TYPES.BUCKET, status: STORAGE_ROW_STATUS.READY }+ })+ this.buckets = formattedBuckets+ return formattedBuckets+ }++ deleteBucket = async (bucket) => {+ // Deleting a bucket requires the bucket to be empty first+ // hence delete bucket and empty bucket are coupled tightly here+ const { id, name: bucketName } = bucket+ const bucketIndex = findIndex(this.buckets, { id })++ const { error: emptyBucketError } = await this.supabaseClient.storage.emptyBucket(id)+ if (emptyBucketError) toast(emptyBucketError.message)++ const { error: deleteBucketError } = await this.supabaseClient.storage.deleteBucket(id)+ if (deleteBucketError) toast(deleteBucketError.message)++ await this.fetchBuckets()+ if (bucketName === this.selectedBucket.name) {+ this.setSelectedBucket({})+ this.clearColumns()+ this.clearOpenedFolders()+ }+ this.clearSelectedItemsToDelete()+ this.closeDeleteBucketModal()+ }++ toggleBucketPublic = async (bucket) => {+ const { name: bucketName } = bucket++ const { data, error } = await this.supabaseClient.storage.updateBucket(bucketName, {+ public: !bucket.public,+ })+ if (error) {+ toast(error.message)+ return this.closeToggleBucketPublicModal()+ }++ await this.fetchBuckets()+ this.clearFilePreviewCache()+ this.closeToggleBucketPublicModal()++ await this.openBucket({ ...bucket, public: !bucket.public })+ }++ /* Files CRUD */++ getFile = async (fileEntry) => {+ try {+ return await new Promise((resolve, reject) => fileEntry.file(resolve, reject))+ } catch (err) {+ console.error('getFile error:', err)+ }+ }++ // https://stackoverflow.com/a/53058574+ getFilesDataTransferItems = async (items) => {+ const toastId = toast.loading('Retrieving items to upload...')+ const files = []+ const queue = []+ for (const item of items) {+ queue.push(item.webkitGetAsEntry())+ }+ while (queue.length > 0) {+ const entry = queue.shift() || {}+ if (entry.isFile) {+ const file = await this.getFile(entry)+ file.path = entry.fullPath.slice(1)+ files.push(file)+ } else if (entry.isDirectory) {+ queue.push(...(await this.readAllDirectoryEntries(entry.createReader())))+ }+ }+ toast.dismiss(toastId)+ return files+ }++ // Get all the entries (files or sub-directories) in a directory+ // by calling readEntries until it returns empty array+ readAllDirectoryEntries = async (directoryReader) => {+ const entries = []+ let readEntries = await this.readEntriesPromise(directoryReader)+ while (readEntries.length > 0) {+ entries.push(...readEntries)+ readEntries = await this.readEntriesPromise(directoryReader)+ }+ return entries+ }++ // Wrap readEntries in a promise to make working with readEntries easier+ // readEntries will return only some of the entries in a directory+ // e.g. Chrome returns at most 100 entries at a time+ readEntriesPromise = async (directoryReader) => {+ try {+ return await new Promise((resolve, reject) => {+ directoryReader.readEntries(resolve, reject)+ })+ } catch (err) {+ console.error('readEntriesPromise error:', err)+ }+ }++ uploadFiles = async (files, columnIndex, isDrop = false) => {+ const t1 = new Date()++ const autofix = true+ // We filter out any folders which are just '#' until we can properly encode such characters in the URL+ const filesToUpload = isDrop+ ? (await this.getFilesDataTransferItems(files)).filter((file) => !file.path.includes('#/'))+ : Array.from(files)+ const derivedColumnIndex = columnIndex === -1 ? this.getLatestColumnIndex() : columnIndex++ // If we're uploading a folder which name already exists in the same folder that we're uploading to+ // We sanitize the folder name and let all file uploads through. (This is only via drag drop)+ const topLevelFolders = get(this.columns, [derivedColumnIndex, 'items'], [])+ .filter((item) => !item.id)+ .map((item) => item.name)+ const formattedFilesToUpload = filesToUpload.map((file) => {+ // If the files are from clicking "Upload button", just take them as they are since users cannot+ // upload folders from clicking that button, only via drag drop+ if (!file.path) return file++ const path = file.path.split('/')+ const topLevelFolder = path.length > 1 ? path[0] : null+ if (topLevelFolders.includes(topLevelFolder)) {+ const newTopLevelFolder = this.sanitizeNameForDuplicateInColumn(+ topLevelFolder,+ autofix,+ columnIndex+ )+ path[0] = newTopLevelFolder+ file.path = path.join('/')+ }+ return file+ })++ const uploadedTopLevelFolders = []+ this.uploadProgress = 0+ let numberOfFilesToUpload = formattedFilesToUpload.length+ let numberOfFilesUploadedSuccess = 0+ let numberOfFilesUploadedFail = 0++ const pathToFile = this.openedFolders+ .slice(0, derivedColumnIndex)+ .map((folder) => folder.name)+ .join('/')++ const toastId = toast.loading(+ `Uploading ${formattedFilesToUpload.length} file${+ formattedFilesToUpload.length > 1 ? 's' : ''+ }...`+ )++ // Upload files in batches+ const promises = formattedFilesToUpload.map((file) => {+ const fileOptions = { cacheControl: 3600 }+ const metadata = { mimetype: file.type, size: file.size }++ const isWithinFolder = get(file, ['path'], '').split('/').length > 1+ const fileName = !isWithinFolder+ ? this.sanitizeNameForDuplicateInColumn(file.name, autofix)+ : file.name+ const formattedFileName = has(file, ['path']) && isWithinFolder ? file.path : fileName+ const formattedPathToFile =+ pathToFile.length > 0 ? `${pathToFile}/${formattedFileName}` : formattedFileName++ if (isWithinFolder) {+ const topLevelFolder = file.path.split('/')[0]+ if (!uploadedTopLevelFolders.includes(topLevelFolder)) {+ this.addTempRow(+ STORAGE_ROW_TYPES.FOLDER,+ topLevelFolder,+ STORAGE_ROW_STATUS.LOADING,+ derivedColumnIndex,+ metadata+ )+ uploadedTopLevelFolders.push(topLevelFolder)+ }+ } else {+ this.addTempRow(+ STORAGE_ROW_TYPES.FILE,+ fileName,+ STORAGE_ROW_STATUS.LOADING,+ derivedColumnIndex,+ metadata+ )+ }++ return () => {+ return Promise.race([+ new Promise(async (resolve) => {+ const { error } = await this.supabaseClient.storage+ .from(this.selectedBucket.name)+ .upload(formattedPathToFile, file, fileOptions)++ this.uploadProgress = this.uploadProgress + 1 / formattedFilesToUpload.length++ if (error) {+ numberOfFilesUploadedFail += 1+ toast.error(`Failed to upload ${file.name}: ${error.message}`)+ resolve()+ } else {+ numberOfFilesUploadedSuccess += 1+ resolve()+ }+ }),+ timeout(30000),+ ])+ }+ })++ // For file uploads specifically, we have to lower the batch size for now as the client side+ // is just unable to handle such volumes of transfer+ // [Joshen] I realised this can be simplified with just a vanilla for loop, no need for reduce+ // Just take note, but if it's working fine, then it's okay+ const batchedPromises = chunk(promises, 10)+ try {+ await batchedPromises.reduce(async (previousPromise, nextBatch) => {+ await previousPromise+ await Promise.allSettled(nextBatch.map((batch) => batch()))+ toast.loading(+ `Uploading ${formattedFilesToUpload.length} file${+ formattedFilesToUpload.length > 1 ? 's' : ''+ }... (${(this.uploadProgress * 100).toFixed(2)}%)`,+ { id: toastId }+ )+ }, Promise.resolve())++ if (numberOfFilesUploadedSuccess > 0) {+ await this.supabaseClient.storage+ .from(this.selectedBucket.name)+ .remove([`${pathToFile}/${EMPTY_FOLDER_PLACEHOLDER_FILE_NAME}`])+ }++ await this.refetchAllOpenedFolders()++ if (numberOfFilesToUpload === 0) {+ toast.dismiss(toastId)+ } else if (numberOfFilesUploadedFail === numberOfFilesToUpload) {+ toast.error(+ `Failed to upload ${numberOfFilesToUpload} file${numberOfFilesToUpload > 1 ? 's' : ''}!`,+ { id: toastId }+ )+ } else if (numberOfFilesUploadedSuccess === numberOfFilesToUpload) {+ toast.success(+ `Successfully uploaded ${numberOfFilesToUpload} file${+ numberOfFilesToUpload > 1 ? 's' : ''+ }!`,+ { id: toastId }+ )+ } else {+ toast.success(+ `Successfully uploaded ${numberOfFilesUploadedSuccess} out of ${numberOfFilesToUpload} file${+ numberOfFilesToUpload > 1 ? 's' : ''+ }!`,+ { id: toastId }+ )+ }+ } catch (e) {+ console.error(e)+ toast.error(`Failed to upload files`)+ }+ const t2 = new Date()++ console.log(+ `Total time taken for ${formattedFilesToUpload.length} files: ${(t2 - t1) / 1000} seconds`+ )+ }++ moveFiles = async (newPathToFile) => {+ const newPaths = compact(newPathToFile.split('/'))+ const formattedNewPathToFile = newPaths.join('/')+ let numberOfFilesMovedFail = 0+ this.clearSelectedItems()++ await Promise.all(+ this.selectedItemsToMove.map(async (item) => {+ const pathToFile = this.openedFolders+ .slice(0, item.columnIndex)+ .map((folder) => folder.name)+ .join('/')++ const fromPath = pathToFile.length > 0 ? `${pathToFile}/${item.name}` : item.name+ const toPath =+ newPathToFile.length > 0 ? `${formattedNewPathToFile}/${item.name}` : item.name++ const { error } = await this.supabaseClient.storage+ .from(this.selectedBucket.name)+ .move(fromPath, toPath)++ if (error) {+ numberOfFilesMovedFail += 1+ toast.error(error.message)+ }+ })+ )++ if (numberOfFilesMovedFail === this.selectedItemsToMove.length) {+ toast.error(`Failed to move files`)+ } else {+ toast.success(+ `Successfully moved ${+ this.selectedItemsToMove.length - numberOfFilesMovedFail+ } to ${formattedNewPathToFile}`+ )+ }++ // Clear file preview cache if moved files exist in cache+ const idsOfItemsToMove = this.selectedItemsToMove.map((item) => item.id)+ const updatedFilePreviewCache = this.filePreviewCache.filter(+ (file) => !idsOfItemsToMove.includes(file.id)+ )+ this.filePreviewCache = updatedFilePreviewCache++ await this.refetchAllOpenedFolders()+ this.clearSelectedItemsToMove()+ }++ fetchFilePreview = async (fileName) => {+ const includeBucket = false+ const pathToFile = this.getPathAlongOpenedFolders(includeBucket)+ const formattedPathToFile = pathToFile.length > 0 ? `${pathToFile}/${fileName}` : fileName++ if (this.selectedBucket.public) {+ const { data, error } = await this.supabaseClient.storage+ .from(this.selectedBucket.name)+ .getPublicUrl(formattedPathToFile)++ if (!error) {+ return data.publicURL+ }+ }++ const { data, error } = await this.supabaseClient.storage+ .from(this.selectedBucket.name)+ .createSignedUrl(formattedPathToFile, DEFAULT_EXPIRY)++ if (!error) {+ return data.signedURL+ }++ return null+ }++ deleteFiles = async (files, showToast = true) => {+ this.closeFilePreview()++ // If every file has the 'prefix' property, then just construct the prefix+ // directly (from delete folder). Otherwise go by the opened folders.+ const prefixes = !some(files, 'prefix')+ ? files.map((file) => {+ const { name, columnIndex } = file+ const pathToFile = this.openedFolders+ .slice(0, columnIndex)+ .map((folder) => folder.name)+ .join('/')+ this.updateRowStatus(name, STORAGE_ROW_STATUS.LOADING, columnIndex)+ return pathToFile.length > 0 ? `${pathToFile}/${name}` : name+ })+ : files.map((file) => `${file.prefix}/${file.name}`)++ this.clearSelectedItems()++ const batches = chunk(prefixes, BATCH_SIZE)+ await Promise.all(+ batches.map(+ async (batchedPrefixes) =>+ await this.supabaseClient.storage.from(this.selectedBucket.name).remove(batchedPrefixes)+ )+ )++ // Clear file preview cache if deleted files exist in cache+ const idsOfFilesDeleted = files.map((file) => file.id)+ const updatedFilePreviewCache = this.filePreviewCache.filter(+ (file) => !idsOfFilesDeleted.includes(file.id)+ )+ this.filePreviewCache = updatedFilePreviewCache++ if (showToast) {+ toast.success(`Successfully deleted ${prefixes.length} file(s)`)+ }++ await this.refetchAllOpenedFolders()+ this.clearSelectedItemsToDelete()+ }++ downloadSelectedFiles = async () => {+ const showIndividualToast = false+ const toastId = toast(`Retrieving ${this.selectedItems.length} files...`, {+ autoClose: false,+ hideProgressBar: true,+ })++ const res = await Promise.all(+ this.selectedItems.map(async (item) => await this.downloadFile(item, showIndividualToast))+ )++ const numberOfSuccessfullyDownloadedFiles = res.filter((x) => x === true).length+ toast.success(`Downloaded ${numberOfSuccessfullyDownloadedFiles} files`, {+ id: toastId,+ })+ }++ downloadFile = async (file, showToast = true) => {+ let toastId+ const fileName = file.name+ const fileMimeType = get(file, ['metadata', 'mimetype'], null)++ if (showToast) {+ toastId = toast.loading(`Retrieving ${fileName}...`, {+ autoClose: false,+ })+ }++ const pathToFile = this.openedFolders+ .slice(0, file.columnIndex)+ .map((folder) => folder.name)+ .join('/')+ const formattedPathToFile = pathToFile.length > 0 ? `${pathToFile}/${fileName}` : fileName++ const { data, error } = await this.supabaseClient.storage+ .from(this.selectedBucket.name)+ .download(formattedPathToFile)++ if (!error) {+ const blob = data+ const newBlob = new Blob([blob], { type: fileMimeType })+ const blobUrl = window.URL.createObjectURL(newBlob)++ const link = document.createElement('a')+ link.href = blobUrl+ link.setAttribute('download', `${fileName}`)+ document.body.appendChild(link)+ link.click()+ link.parentNode.removeChild(link)+ window.URL.revokeObjectURL(blob)+ if (toastId) {+ toast.success(`Downloading ${fileName}`, {+ id: toastId,+ })+ }+ return true+ } else {+ console.error('Failed to download:', fileName)+ if (toastId) {+ toast.error(`Failed to download ${fileName}`, {+ id: toastId,+ })+ }+ return false+ }+ }++ renameFile = async (file, newName, columnIndex) => {+ const originalName = file.name+ if (originalName === newName) {+ this.updateRowStatus(originalName, STORAGE_ROW_STATUS.READY, columnIndex)+ } else {+ this.updateRowStatus(originalName, STORAGE_ROW_STATUS.LOADING, columnIndex, newName)+ const includeBucket = false+ const pathToFile = this.getPathAlongOpenedFolders(includeBucket)++ const fromPath = pathToFile.length > 0 ? `${pathToFile}/${originalName}` : originalName+ const toPath = pathToFile.length > 0 ? `${pathToFile}/${newName}` : newName+ const { error } = await this.supabaseClient.storage+ .from(this.selectedBucket.name)+ .move(fromPath, toPath)++ if (error) {+ toast.error(error.message)+ }+ await this.refetchAllOpenedFolders()++ // Clear file preview cache if the renamed file exists in the cache+ const updatedFilePreviewCache = this.filePreviewCache.filter(+ (fileCache) => fileCache.id !== file.id+ )+ this.filePreviewCache = updatedFilePreviewCache+ }+ }++ /* Folders CRUD */++ fetchFolderContents = async (folderId, folderName, index, showLoading = true) => {+ this.abortApiCalls()++ if (showLoading) {+ this.updateRowStatus(folderName, STORAGE_ROW_STATUS.LOADING, index)+ this.pushColumnAtIndex(+ { id: folderId, name: folderName, status: STORAGE_ROW_STATUS.LOADING, items: [] },+ index+ )+ }++ const prefix = this.openedFolders.map((folder) => folder.name).join('/')+ const options = { limit: LIMIT, offset: OFFSET, sortBy: { column: this.sortBy, order: 'asc' } }+ const parameters = { signal: this.abortController.signal }++ const { data: items, error } = await this.supabaseClient.storage+ .from(this.selectedBucket.name)+ .list(prefix, options, parameters)++ if (showLoading) {+ this.updateRowStatus(folderName, STORAGE_ROW_STATUS.READY, index)+ }++ if (!error) {+ const formattedItems = this.formatFolderItems(items)+ this.pushColumnAtIndex(+ { id: folderId || folderName, name: folderName, items: formattedItems },+ index+ )+ }+ }++ refetchAllOpenedFolders = async () => {+ const paths = this.openedFolders.map((folder) => folder.name)+ await this.fetchFoldersByPath(paths)+ }++ fetchFoldersByPath = async (paths) => {+ const pathsWithEmptyPrefix = [''].concat(paths)++ const foldersItems = await Promise.all(+ pathsWithEmptyPrefix.map(async (path, idx) => {+ const prefix = paths.slice(0, idx).join('/')+ const options = {+ limit: LIMIT,+ offset: OFFSET,+ sortBy: { column: this.sortBy, order: 'asc' },+ }++ const { data: items, error } = await this.supabaseClient.storage+ .from(this.selectedBucket.name)+ .list(prefix, options)++ if (error) {+ console.error('Error at fetchFoldersByPath:', error)+ }++ return items+ })+ )++ const formattedFolders = foldersItems.map((folderItems, idx) => {+ const formattedItems = this.formatFolderItems(folderItems)+ return {+ id: null,+ name: idx === 0 ? this.selectedBucket.name : pathsWithEmptyPrefix[idx],+ items: formattedItems,+ }+ })++ // Package into columns and update this.columns+ this.columns = formattedFolders++ // Update openedFolders as well+ const updatedOpenedFolders = paths.map((path, idx) => {+ const folderInfo = find(formattedFolders[idx].items, { name: path })+ // Folder doesnt exist, FE just scaffolds a "fake" folder+ if (!folderInfo) {+ return {+ id: null,+ name: path,+ type: STORAGE_ROW_TYPES.FOLDER,+ status: STORAGE_ROW_STATUS.READY,+ }+ }+ return folderInfo+ })+ this.openedFolders = updatedOpenedFolders+ }++ deleteFolder = async (folder) => {+ const files = await this.getAllItemsAlongFolder(folder)+ const showFilesDeleteToast = false++ await this.deleteFiles(files, showFilesDeleteToast)+ toast.success(`Successfully deleted ${folder.name}`)+ }++ renameFolder = async (folder, newName, columnIndex) => {+ const originalName = folder.name+ if (originalName === newName) {+ this.updateRowStatus(originalName, STORAGE_ROW_STATUS.READY, columnIndex)+ } else {+ this.updateRowStatus(originalName, STORAGE_ROW_STATUS.LOADING, columnIndex, newName)+ const files = await this.getAllItemsAlongFolder(folder)+ // Make this batched promises into a reusable function for storage, i think this will be super helpful+ const promises = files.map((file) => {+ const fromPath = `${file.prefix}/${file.name}`+ const pathSegments = fromPath.split('/')+ const toPath = pathSegments+ .slice(0, columnIndex)+ .concat(newName)+ .concat(pathSegments.slice(columnIndex + 1))+ .join('/')+ return () => {+ return new Promise(async (resolve, reject) => {+ const { error } = await this.supabaseClient.storage+ .from(this.selectedBucket.name)+ .move(fromPath, toPath)+ if (error) reject()+ resolve()+ })+ }+ })++ const batchedPromises = chunk(promises, BATCH_SIZE)+ // [Joshen] I realised this can be simplified with just a vanilla for loop, no need for reduce+ // Just take note, but if it's working fine, then it's okay+ try {+ await batchedPromises.reduce(async (previousPromise, nextBatch) => {+ await previousPromise+ await Promise.all(nextBatch.map((batch) => batch()))+ }, Promise.resolve())++ toast.success(`Successfully renamed folder to ${newName}`)+ await this.refetchAllOpenedFolders()++ // Clear file preview cache if the moved file exists in the cache+ const fileIds = files.map((file) => file.id)+ const updatedFilePreviewCache = this.filePreviewCache.filter(+ (fileCache) => !fileIds.includes(fileCache.id)+ )+ this.filePreviewCache = updatedFilePreviewCache+ } catch (e) {+ toast.error(`Failed to rename folder to ${newName}`)+ }+ }+ }++ /*+ Recursively returns a list of items along every directory within the specified base folder+ Each item has an extra property 'prefix' which has the prefix that leads to the item+ Used specifically for any operation that deals with every file along the folder+ e.g Delete folder, rename folder+ */+ getAllItemsAlongFolder = async (folder) => {+ const items = []++ let formattedPathToFolder = ''+ const { name, columnIndex, prefix } = folder++ if (isUndefined(prefix)) {+ const pathToFolder = this.openedFolders+ .slice(0, columnIndex)+ .map((folder) => folder.name)+ .join('/')+ formattedPathToFolder = pathToFolder.length > 0 ? `${pathToFolder}/${name}` : name+ } else {+ formattedPathToFolder = `${prefix}/${name}`+ }++ const options = { limit: LIMIT, offset: OFFSET, sortBy: { column: this.sortBy, order: 'asc' } }+ const { data: folderContents } = await this.supabaseClient.storage+ .from(this.selectedBucket.name)+ .list(formattedPathToFolder, options)++ const subfolders = folderContents?.filter((item) => isNull(item.id)) ?? []+ const folderItems = folderContents?.filter((item) => !isNull(item.id)) ?? []++ folderItems.forEach((item) => items.push({ ...item, prefix: formattedPathToFolder }))++ const subFolderContents = await Promise.all(+ subfolders.map((folder) =>+ this.getAllItemsAlongFolder({ ...folder, prefix: formattedPathToFolder })+ )+ )+ subFolderContents.map((subfolderContent) => {+ subfolderContent.map((item) => items.push(item))+ })++ return items+ }++ /* UI Helper functions */++ sanitizeNameForDuplicateInColumn = (+ name,+ autofix = false,+ columnIndex = this.getLatestColumnIndex()+ ) => {+ const currentColumn = this.columns[columnIndex]+ const currentColumnItems = currentColumn.items.filter(+ (item) => item.status !== STORAGE_ROW_STATUS.EDITING+ )+ const hasSameNameInColumn = currentColumnItems.filter((item) => item.name === name).length > 0++ if (hasSameNameInColumn) {+ if (autofix) {+ const [fileName, fileExt] = name.split('.')+ const dupeNameRegex = new RegExp(+ `${fileName} \\([-0-9]+\\)${fileExt ? '.' + fileExt : ''}$`+ )+ const itemsWithSameNameInColumn = currentColumnItems.filter((item) =>+ item.name.match(dupeNameRegex)+ )++ const updatedFileName = fileName + ` (${itemsWithSameNameInColumn.length + 1})`+ return fileExt ? `${updatedFileName}.${fileExt}` : updatedFileName+ } else {+ toast(+ `The name ${name} already exists in the current directory. Please use a different name.`+ )+ return null+ }+ }++ return name+ }++ formatFolderItems = (items = []) => {+ const formattedItems =+ items+ ?.filter((item) => item.name !== EMPTY_FOLDER_PLACEHOLDER_FILE_NAME)+ .map((item) => {+ const itemObj = {+ ...item,+ type: item.id ? STORAGE_ROW_TYPES.FILE : STORAGE_ROW_TYPES.FOLDER,+ status: STORAGE_ROW_STATUS.READY,+ }+ return itemObj+ }) ?? []+ return formattedItems+ }++ addTempRow = (type, name, status, columnIndex, metadata = {}) => {+ const updatedColumns = this.columns.map((column, idx) => {+ if (idx === columnIndex) {+ const tempRow = { type, name, status, metadata }+ const updatedItems = column.items.concat([tempRow])+ return { ...column, items: updatedItems }+ }+ return column+ })+ this.columns = updatedColumns+ }++ removeTempRows = (columnIndex) => {+ const updatedColumns = this.columns.map((column, idx) => {+ if (idx === columnIndex) {+ const updatedItems = column.items.filter((item) => has(item, 'id'))+ return { ...column, items: updatedItems }+ }+ return column+ })+ this.columns = updatedColumns+ }++ setSelectedItemToRename = (file) => {+ this.updateRowStatus(file.name, STORAGE_ROW_STATUS.EDITING, file.columnIndex)+ }++ updateRowStatus = (+ name,+ status,+ columnIndex = this.getLatestColumnIndex(),+ updatedName = null+ ) => {+ const updatedColumns = this.columns.map((column, idx) => {+ if (idx === columnIndex) {+ const updatedColumnItems = column.items.map((item) => {+ if (item.name === name) {+ return {+ ...item,+ status,+ ...(updatedName && { name: updatedName }),+ }+ }+ return item+ })+ return { ...column, items: updatedColumnItems }+ }+ return column+ })+ this.columns = updatedColumns+ }++ updateFolderAfterEdit = (+ folderName,+ columnIndex = this.getLatestColumnIndex(),+ status = STORAGE_ROW_STATUS.READY+ ) => {+ const updatedColumns = this.columns.map((column, idx) => {+ if (idx === columnIndex) {+ const updatedItems = column.items.map((item) => {+ if (item.status === STORAGE_ROW_STATUS.EDITING) {+ const currentTime = new Date().toISOString()+ return {+ ...item,+ status,+ name: folderName,+ createdAt: currentTime,+ lastAccessedAt: currentTime,+ updatedAt: currentTime,+ metadata: null,+ id: null,+ }+ }+ return item+ })+ return { ...column, items: updatedItems }+ }+ return column+ })+ this.columns = updatedColumns+ }++ /* User Preferences */++ updateExplorerPreferences = () => {+ const localStorageKey = this.getLocalStorageKey()+ const preferences = {+ view: this.view,+ sortBy: this.sortBy,+ }+ localStorage.setItem(localStorageKey, JSON.stringify(preferences))+ return preferences+ }++ loadExplorerPreferences = () => {+ const localStorageKey = this.getLocalStorageKey()+ const preferences = localStorage.getItem(localStorageKey)+ if (preferences) {+ const { view, sortBy } = JSON.parse(preferences)+ this.view = view+ this.sortBy = sortBy+ } else {+ const { view, sortBy } = this.updateExplorerPreferences()+ this.view = view+ this.sortBy = sortBy+ }+ }+}++export default StorageExplorerStorediff --git a/studio/next-env.d.ts b/studio/next-env.d.tsnew file mode 100644index 00000000000..c6643fda12f--- /dev/null+++ b/studio/next-env.d.ts@@ -0,0 +1,3 @@+/// <reference types="next" />+/// <reference types="next/types/global" />+/// <reference types="next/image-types/global" />diff --git a/studio/next.config.js b/studio/next.config.jsnew file mode 100644index 00000000000..9b42e56e782--- /dev/null+++ b/studio/next.config.js@@ -0,0 +1,58 @@+const { withSentryConfig } = require('@sentry/nextjs')+const withPlugins = require('next-compose-plugins')+const withBundleAnalyzer = require('@next/bundle-analyzer')({+ enabled: process.env.ANALYZE === 'true',+})++// This file sets a custom webpack configuration to use your Next.js app+// with Sentry.+// https://nextjs.org/docs/api-reference/next.config.js/introduction+// https://docs.sentry.io/platforms/javascript/guides/nextjs/++const nextConfig = {+ async headers() {+ return [+ {+ source: '/(.*?)',+ headers: [+ {+ key: 'X-Frame-Options',+ value: 'DENY',+ },+ {+ key: 'Referrer-Policy',+ value: 'strict-origin-when-cross-origin',+ },+ ],+ },+ {+ source: '/img/:slug*',+ headers: [{ key: 'cache-control', value: 'max-age=2592000' }],+ },+ {+ source: '/fonts/:slug*',+ headers: [{ key: 'cache-control', value: 'max-age=2592000' }],+ },+ ]+ },+}++// Export all config+const moduleExports = withPlugins([[withBundleAnalyzer({})]], nextConfig)++const sentryWebpackPluginOptions = {+ // Additional config options for the Sentry Webpack plugin. Keep in mind that+ // the following options are set automatically, and overriding them is not+ // recommended:+ // release, url, org, project, authToken, configFile, stripPrefix,+ // urlPrefix, include, ignore++ silent: true, // Suppresses all logs++ // For all available options, see:+ // https://github.com/getsentry/sentry-webpack-plugin#options.+}++// Make sure adding Sentry options is the last code to run before exporting, to+// ensure that your source maps include changes from all other Webpack plugins+module.exports = withSentryConfig(moduleExports, sentryWebpackPluginOptions)diff --git a/studio/package-lock.json b/studio/package-lock.jsonnew file mode 100644index 00000000000..586c7a00a3d--- /dev/null+++ b/studio/package-lock.json@@ -0,0 +1,13739 @@+{+ "name": "studio",+ "version": "0.0.1",+ "lockfileVersion": 2,+ "requires": true,+ "packages": {+ "": {+ "version": "0.0.1",+ "dependencies": {+ "@auth0/nextjs-auth0": "^1.6.1",+ "@headlessui/react": "^1.4.1",+ "@monaco-editor/react": "^4.3.1",+ "@radix-ui/react-portal": "^0.1.1",+ "@sentry/browser": "^6.15.0",+ "@sentry/nextjs": "^6.15.0",+ "@supabase/grid": "^2.3.5",+ "@supabase/postgres-meta": "^0.26.1",+ "@supabase/react-data-grid": "^7.1.0-beta.7",+ "@supabase/supabase-js": "^1.27.0",+ "@supabase/ui": "^0.35.0",+ "ajv": "^8.6.3",+ "analytics-node": "^3.5.0",+ "clipboard": "^2.0.8",+ "configcat-js": "^5.6.0",+ "crypto-js": "^4.1.1",+ "dayjs": "^1.10.7",+ "lodash": "^4.17.21",+ "lottie-react": "^2.1.0",+ "markdown-table": "=2.0.0",+ "mobx": "^6.3.2",+ "mobx-react-lite": "^3.2.0",+ "next": "11.0.1",+ "next-compose-plugins": "^2.2.1",+ "openapi-types": "^9.1.0",+ "papaparse": "^5.3.1",+ "parse-numeric-range": "^1.3.0",+ "path-to-regexp": "^6.2.0",+ "prism-react-renderer": "^1.2.1",+ "react": "^17.0.2",+ "react-beautiful-dnd": "^13.1.0",+ "react-csv": "^2.0.3",+ "react-dom": "^17.0.2",+ "react-grid-layout": "^1.3.0",+ "react-hot-toast": "^2.1.1",+ "react-inlinesvg": "^2.3.0",+ "react-split": "^2.0.13",+ "react-virtualized-auto-sizer": "^1.0.6",+ "react-window": "^1.8.6",+ "react-window-infinite-loader": "^1.0.7",+ "recharts": "^2.1.6",+ "sass": "^1.43.4",+ "semver": "^6.3.0",+ "sqlstring": "^2.3.2",+ "swr": "^1.0.1",+ "uniforms-bootstrap4": "^3.6.2",+ "uniforms-bridge-json-schema": "^3.6.2",+ "zxcvbn": "^4.4.2"+ },+ "devDependencies": {+ "@next/bundle-analyzer": "^12.0.4",+ "@types/crypto-js": "^4.0.2",+ "@types/lodash": "^4.14.172",+ "@types/markdown-table": "^3.0.0",+ "@types/papaparse": "^5.3.1",+ "@types/react": "17.0.11",+ "@types/react-beautiful-dnd": "^13.1.2",+ "@types/react-csv": "^1.1.2",+ "@types/react-grid-layout": "^1.3.0",+ "@types/react-virtualized-auto-sizer": "^1.0.1",+ "@types/react-window": "^1.8.5",+ "@types/react-window-infinite-loader": "^1.0.5",+ "@types/semver": "^7.3.9",+ "@types/sqlstring": "^2.3.0",+ "@types/zxcvbn": "^4.4.1",+ "autoprefixer": "^10.2.6",+ "postcss": "^8.3.5",+ "tailwindcss": "^2.2.4",+ "typescript": "4.3.4"+ }+ },+ "node_modules/@auth0/nextjs-auth0": {+ "version": "1.6.1",+ "resolved": "https://registry.npmjs.org/@auth0/nextjs-auth0/-/nextjs-auth0-1.6.1.tgz",+ "integrity": "sha512-xecYNjI1KvFerzarMUS6p7coWWAI7/JeJ9iMxj+ztIo+VJfR9CkYV2b/Fu3A2iy+UYbIoG78YV2plOynAIUOwQ==",+ "dependencies": {+ "base64url": "^3.0.1",+ "cookie": "^0.4.1",+ "debug": "^4.3.2",+ "futoin-hkdf": "^1.4.2",+ "http-errors": "^1.8.0",+ "joi": "^17.4.1",+ "jose": "^2.0.5",+ "on-headers": "^1.0.2",+ "openid-client": "^4.9.0",+ "tslib": "^2.3.1",+ "url-join": "^4.0.1"+ },+ "engines": {+ "node": "^10.13.0 || >=12.0.0"+ },+ "peerDependencies": {+ "next": ">=10"+ }+ },+ "node_modules/@auth0/nextjs-auth0/node_modules/debug": {+ "version": "4.3.2",+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz",+ "integrity": "sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==",+ "dependencies": {+ "ms": "2.1.2"+ },+ "engines": {+ "node": ">=6.0"+ },+ "peerDependenciesMeta": {+ "supports-color": {+ "optional": true+ }+ }+ },+ "node_modules/@auth0/nextjs-auth0/node_modules/http-errors": {+ "version": "1.8.1",+ "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.8.1.tgz",+ "integrity": "sha512-Kpk9Sm7NmI+RHhnj6OIWDI1d6fIoFAtFt9RLaTMRlg/8w49juAStsrBgp0Dp4OdxdVbRIeKhtCUvoi/RuAhO4g==",+ "dependencies": {+ "depd": "~1.1.2",+ "inherits": "2.0.4",+ "setprototypeof": "1.2.0",+ "statuses": ">= 1.5.0 < 2",+ "toidentifier": "1.0.1"+ },+ "engines": {+ "node": ">= 0.6"+ }+ },+ "node_modules/@auth0/nextjs-auth0/node_modules/ms": {+ "version": "2.1.2",+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",+ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="+ },+ "node_modules/@auth0/nextjs-auth0/node_modules/setprototypeof": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz",+ "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw=="+ },+ "node_modules/@auth0/nextjs-auth0/node_modules/toidentifier": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz",+ "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==",+ "engines": {+ "node": ">=0.6"+ }+ },+ "node_modules/@babel/code-frame": {+ "version": "7.12.11",+ "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.12.11.tgz",+ "integrity": "sha512-Zt1yodBx1UcyiePMSkWnU4hPqhwq7hGi2nFL1LeA3EUl+q2LQx16MISgJ0+z7dnmgvP9QtIleuETGOiOH1RcIw==",+ "dependencies": {+ "@babel/highlight": "^7.10.4"+ }+ },+ "node_modules/@babel/helper-validator-identifier": {+ "version": "7.15.7",+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.15.7.tgz",+ "integrity": "sha512-K4JvCtQqad9OY2+yTU8w+E82ywk/fe+ELNlt1G8z3bVGlZfn/hOcQQsUhGhW/N+tb3fxK800wLtKOE/aM0m72w==",+ "engines": {+ "node": ">=6.9.0"+ }+ },+ "node_modules/@babel/highlight": {+ "version": "7.16.0",+ "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.16.0.tgz",+ "integrity": "sha512-t8MH41kUQylBtu2+4IQA3atqevA2lRgqA2wyVB/YiWmsDSuylZZuXOUy9ric30hfzauEFfdsuk/eXTRrGrfd0g==",+ "dependencies": {+ "@babel/helper-validator-identifier": "^7.15.7",+ "chalk": "^2.0.0",+ "js-tokens": "^4.0.0"+ },+ "engines": {+ "node": ">=6.9.0"+ }+ },+ "node_modules/@babel/runtime": {+ "version": "7.15.4",+ "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.15.4.tgz",+ "integrity": "sha512-99catp6bHCaxr4sJ/DbTGgHS4+Rs2RVd2g7iOap6SLGPDknRK9ztKNsE/Fg6QhSeh1FGE5f6gHGQmvvn3I3xhw==",+ "dependencies": {+ "regenerator-runtime": "^0.13.4"+ },+ "engines": {+ "node": ">=6.9.0"+ }+ },+ "node_modules/@babel/types": {+ "version": "7.8.3",+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.8.3.tgz",+ "integrity": "sha512-jBD+G8+LWpMBBWvVcdr4QysjUE4mU/syrhN17o1u3gx0/WzJB1kwiVZAXRtWbsIPOwW8pF/YJV5+nmetPzepXg==",+ "dependencies": {+ "esutils": "^2.0.2",+ "lodash": "^4.17.13",+ "to-fast-properties": "^2.0.0"+ }+ },+ "node_modules/@hapi/accept": {+ "version": "5.0.2",+ "resolved": "https://registry.npmjs.org/@hapi/accept/-/accept-5.0.2.tgz",+ "integrity": "sha512-CmzBx/bXUR8451fnZRuZAJRlzgm0Jgu5dltTX/bszmR2lheb9BpyN47Q1RbaGTsvFzn0PXAEs+lXDKfshccYZw==",+ "dependencies": {+ "@hapi/boom": "9.x.x",+ "@hapi/hoek": "9.x.x"+ }+ },+ "node_modules/@hapi/boom": {+ "version": "9.1.4",+ "resolved": "https://registry.npmjs.org/@hapi/boom/-/boom-9.1.4.tgz",+ "integrity": "sha512-Ls1oH8jaN1vNsqcaHVYJrKmgMcKsC1wcp8bujvXrHaAqD2iDYq3HoOwsxwo09Cuda5R5nC0o0IxlrlTuvPuzSw==",+ "dependencies": {+ "@hapi/hoek": "9.x.x"+ }+ },+ "node_modules/@hapi/hoek": {+ "version": "9.2.0",+ "resolved": "https://registry.npmjs.org/@hapi/hoek/-/hoek-9.2.0.tgz",+ "integrity": "sha512-sqKVVVOe5ivCaXDWivIJYVSaEgdQK9ul7a4Kity5Iw7u9+wBAPbX1RMSnLLmp7O4Vzj0WOWwMAJsTL00xwaNug=="+ },+ "node_modules/@hapi/topo": {+ "version": "5.1.0",+ "resolved": "https://registry.npmjs.org/@hapi/topo/-/topo-5.1.0.tgz",+ "integrity": "sha512-foQZKJig7Ob0BMAYBfcJk8d77QtOe7Wo4ox7ff1lQYoNNAb6jwcY1ncdoy2e9wQZzvNy7ODZCYJkK8kzmcAnAg==",+ "dependencies": {+ "@hapi/hoek": "^9.0.0"+ }+ },+ "node_modules/@headlessui/react": {+ "version": "1.4.1",+ "resolved": "https://registry.npmjs.org/@headlessui/react/-/react-1.4.1.tgz",+ "integrity": "sha512-gL6Ns5xQM57cZBzX6IVv6L7nsam8rDEpRhs5fg28SN64ikfmuuMgunc+Rw5C1cMScnvFM+cz32ueVrlSFEVlSg==",+ "engines": {+ "node": ">=10"+ },+ "peerDependencies": {+ "react": "^16 || ^17 || ^18",+ "react-dom": "^16 || ^17 || ^18"+ }+ },+ "node_modules/@monaco-editor/loader": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/@monaco-editor/loader/-/loader-1.2.0.tgz",+ "integrity": "sha512-cJVCG/T/KxXgzYnjKqyAgsKDbH9mGLjcXxN6AmwumBwa2rVFkwvGcUj1RJtD0ko4XqLqJxwqsN/Z/KURB5f1OQ==",+ "dependencies": {+ "state-local": "^1.0.6"+ },+ "peerDependencies": {+ "monaco-editor": ">= 0.21.0 < 1"+ }+ },+ "node_modules/@monaco-editor/react": {+ "version": "4.3.1",+ "resolved": "https://registry.npmjs.org/@monaco-editor/react/-/react-4.3.1.tgz",+ "integrity": "sha512-f+0BK1PP/W5I50hHHmwf11+Ea92E5H1VZXs+wvKplWUWOfyMa1VVwqkJrXjRvbcqHL+XdIGYWhWNdi4McEvnZg==",+ "dependencies": {+ "@monaco-editor/loader": "^1.2.0",+ "prop-types": "^15.7.2"+ },+ "peerDependencies": {+ "monaco-editor": ">= 0.25.0 < 1",+ "react": "^16.8.0 || ^17.0.0",+ "react-dom": "^16.8.0 || ^17.0.0"+ }+ },+ "node_modules/@next/bundle-analyzer": {+ "version": "12.0.4",+ "resolved": "https://registry.npmjs.org/@next/bundle-analyzer/-/bundle-analyzer-12.0.4.tgz",+ "integrity": "sha512-hl9SmruSHMMMjmcUXJYdP12HbencBOpuy4gHPpQLbRmfErUsY7ia+eF5Xt9vAkim7s6HKByoDg7cu6HJQzfpfg==",+ "dev": true,+ "dependencies": {+ "webpack-bundle-analyzer": "4.3.0"+ }+ },+ "node_modules/@next/env": {+ "version": "11.0.1",+ "resolved": "https://registry.npmjs.org/@next/env/-/env-11.0.1.tgz",+ "integrity": "sha512-yZfKh2U6R9tEYyNUrs2V3SBvCMufkJ07xMH5uWy8wqcl5gAXoEw6A/1LDqwX3j7pUutF9d1ZxpdGDA3Uag+aQQ=="+ },+ "node_modules/@next/polyfill-module": {+ "version": "11.0.1",+ "resolved": "https://registry.npmjs.org/@next/polyfill-module/-/polyfill-module-11.0.1.tgz",+ "integrity": "sha512-Cjs7rrKCg4CF4Jhri8PCKlBXhszTfOQNl9AjzdNy4K5jXFyxyoSzuX2rK4IuoyE+yGp5A3XJCBEmOQ4xbUp9Mg=="+ },+ "node_modules/@next/react-dev-overlay": {+ "version": "11.0.1",+ "resolved": "https://registry.npmjs.org/@next/react-dev-overlay/-/react-dev-overlay-11.0.1.tgz",+ "integrity": "sha512-lvUjMVpLsgzADs9Q8wtC5LNqvfdN+M0BDMSrqr04EDWAyyX0vURHC9hkvLbyEYWyh+WW32pwjKBXdkMnJhoqMg==",+ "dependencies": {+ "@babel/code-frame": "7.12.11",+ "anser": "1.4.9",+ "chalk": "4.0.0",+ "classnames": "2.2.6",+ "css.escape": "1.5.1",+ "data-uri-to-buffer": "3.0.1",+ "platform": "1.3.6",+ "shell-quote": "1.7.2",+ "source-map": "0.8.0-beta.0",+ "stacktrace-parser": "0.1.10",+ "strip-ansi": "6.0.0"+ },+ "peerDependencies": {+ "react": "^17.0.2",+ "react-dom": "^17.0.2"+ }+ },+ "node_modules/@next/react-dev-overlay/node_modules/ansi-styles": {+ "version": "4.3.0",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",+ "dependencies": {+ "color-convert": "^2.0.1"+ },+ "engines": {+ "node": ">=8"+ },+ "funding": {+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"+ }+ },+ "node_modules/@next/react-dev-overlay/node_modules/chalk": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.0.0.tgz",+ "integrity": "sha512-N9oWFcegS0sFr9oh1oz2d7Npos6vNoWW9HvtCg5N1KRFpUhaAhvTv5Y58g880fZaEYSNm3qDz8SU1UrGvp+n7A==",+ "dependencies": {+ "ansi-styles": "^4.1.0",+ "supports-color": "^7.1.0"+ },+ "engines": {+ "node": ">=10"+ },+ "funding": {+ "url": "https://github.com/chalk/chalk?sponsor=1"+ }+ },+ "node_modules/@next/react-dev-overlay/node_modules/color-convert": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",+ "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",+ "dependencies": {+ "color-name": "~1.1.4"+ },+ "engines": {+ "node": ">=7.0.0"+ }+ },+ "node_modules/@next/react-dev-overlay/node_modules/color-name": {+ "version": "1.1.4",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",+ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="+ },+ "node_modules/@next/react-dev-overlay/node_modules/has-flag": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",+ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/@next/react-dev-overlay/node_modules/supports-color": {+ "version": "7.2.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",+ "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",+ "dependencies": {+ "has-flag": "^4.0.0"+ },+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/@next/react-refresh-utils": {+ "version": "11.0.1",+ "resolved": "https://registry.npmjs.org/@next/react-refresh-utils/-/react-refresh-utils-11.0.1.tgz",+ "integrity": "sha512-K347DM6Z7gBSE+TfUaTTceWvbj0B6iNAsFZXbFZOlfg3uyz2sbKpzPYYFocCc27yjLaS8OfR8DEdS2mZXi8Saw==",+ "peerDependencies": {+ "react-refresh": "0.8.3",+ "webpack": "^4 || ^5"+ },+ "peerDependenciesMeta": {+ "webpack": {+ "optional": true+ }+ }+ },+ "node_modules/@nodelib/fs.scandir": {+ "version": "2.1.5",+ "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",+ "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==",+ "dev": true,+ "dependencies": {+ "@nodelib/fs.stat": "2.0.5",+ "run-parallel": "^1.1.9"+ },+ "engines": {+ "node": ">= 8"+ }+ },+ "node_modules/@nodelib/fs.stat": {+ "version": "2.0.5",+ "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz",+ "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==",+ "dev": true,+ "engines": {+ "node": ">= 8"+ }+ },+ "node_modules/@nodelib/fs.walk": {+ "version": "1.2.8",+ "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz",+ "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==",+ "dev": true,+ "dependencies": {+ "@nodelib/fs.scandir": "2.1.5",+ "fastq": "^1.6.0"+ },+ "engines": {+ "node": ">= 8"+ }+ },+ "node_modules/@panva/asn1.js": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/@panva/asn1.js/-/asn1.js-1.0.0.tgz",+ "integrity": "sha512-UdkG3mLEqXgnlKsWanWcgb6dOjUzJ+XC5f+aWw30qrtjxeNUSfKX1cd5FBzOaXQumoe9nIqeZUvrRJS03HCCtw==",+ "engines": {+ "node": ">=10.13.0"+ }+ },+ "node_modules/@polka/url": {+ "version": "1.0.0-next.21",+ "resolved": "https://registry.npmjs.org/@polka/url/-/url-1.0.0-next.21.tgz",+ "integrity": "sha512-a5Sab1C4/icpTZVzZc5Ghpz88yQtGOyNqYXcZgOssB2uuAr+wF/MvN6bgtW32q7HHrvBki+BsZ0OuNv6EV3K9g==",+ "dev": true+ },+ "node_modules/@radix-ui/react-compose-refs": {+ "version": "0.1.0",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-0.1.0.tgz",+ "integrity": "sha512-eyclbh+b77k+69Dk72q3694OHrn9B3QsoIRx7ywX341U9RK1ThgQjMFZoPtmZNQTksXHLNEiefR8hGVeFyInGg==",+ "dependencies": {+ "@babel/runtime": "^7.13.10"+ },+ "peerDependencies": {+ "react": "^16.8 || ^17.0"+ }+ },+ "node_modules/@radix-ui/react-portal": {+ "version": "0.1.1",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-portal/-/react-portal-0.1.1.tgz",+ "integrity": "sha512-ZJFgUBsaFS4cryONfRZXuYxtv87ziRGqFu+wP91rVKF8TpkeQgvPP2QBLIfIGzotr3G1n8t7gHaNJkZtKVeXvw==",+ "dependencies": {+ "@babel/runtime": "^7.13.10",+ "@radix-ui/react-primitive": "0.1.1",+ "@radix-ui/react-use-layout-effect": "0.1.0"+ },+ "peerDependencies": {+ "react": "^16.8 || ^17.0",+ "react-dom": "^16.8 || ^17.0"+ }+ },+ "node_modules/@radix-ui/react-primitive": {+ "version": "0.1.1",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-0.1.1.tgz",+ "integrity": "sha512-65GCHeDV/ikicXKR2rLSO6w+dyUQwSG2J1JD2qm4suK1259nTuRvPsPBrbhZpoXWQKj2drMZfhhclXVfzwW1Kw==",+ "dependencies": {+ "@babel/runtime": "^7.13.10",+ "@radix-ui/react-slot": "0.1.1"+ },+ "peerDependencies": {+ "react": "^16.8 || ^17.0"+ }+ },+ "node_modules/@radix-ui/react-slot": {+ "version": "0.1.1",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-0.1.1.tgz",+ "integrity": "sha512-deq3K7cCXQ+tWMZF2GKl3zGMcwVbyQDiMY/UcPI0Q1DDudRG2dWrEwcYbYajEelc07oOxzNyKpaXZLOpNxquuA==",+ "dependencies": {+ "@babel/runtime": "^7.13.10",+ "@radix-ui/react-compose-refs": "0.1.0"+ },+ "peerDependencies": {+ "react": "^16.8 || ^17.0"+ }+ },+ "node_modules/@radix-ui/react-use-layout-effect": {+ "version": "0.1.0",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-layout-effect/-/react-use-layout-effect-0.1.0.tgz",+ "integrity": "sha512-+wdeS51Y+E1q1Wmd+1xSSbesZkpVj4jsg0BojCbopWvgq5iBvixw5vgemscdh58ep98BwUbsFYnrywFhV9yrVg==",+ "dependencies": {+ "@babel/runtime": "^7.13.10"+ },+ "peerDependencies": {+ "react": "^16.8 || ^17.0"+ }+ },+ "node_modules/@react-dnd/asap": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/@react-dnd/asap/-/asap-4.0.0.tgz",+ "integrity": "sha512-0XhqJSc6pPoNnf8DhdsPHtUhRzZALVzYMTzRwV4VI6DJNJ/5xxfL9OQUwb8IH5/2x7lSf7nAZrnzUD+16VyOVQ=="+ },+ "node_modules/@react-dnd/invariant": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/@react-dnd/invariant/-/invariant-2.0.0.tgz",+ "integrity": "sha512-xL4RCQBCBDJ+GRwKTFhGUW8GXa4yoDfJrPbLblc3U09ciS+9ZJXJ3Qrcs/x2IODOdIE5kQxvMmE2UKyqUictUw=="+ },+ "node_modules/@react-dnd/shallowequal": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/@react-dnd/shallowequal/-/shallowequal-2.0.0.tgz",+ "integrity": "sha512-Pc/AFTdwZwEKJxFJvlxrSmGe/di+aAOBn60sremrpLo6VI/6cmiUYNNwlI5KNYttg7uypzA3ILPMPgxB2GYZEg=="+ },+ "node_modules/@scaleleap/pg-format": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/@scaleleap/pg-format/-/pg-format-1.0.0.tgz",+ "integrity": "sha512-gFkcYMnpeylF2OJ30FsDBjwICB9JTiZ5i3guPwdiBDrJFwIKr+Zk6jwI8Mg22a4FwXn5ezd5cHEFMKqBqBz4RQ=="+ },+ "node_modules/@segment/loosely-validate-event": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/@segment/loosely-validate-event/-/loosely-validate-event-2.0.0.tgz",+ "integrity": "sha512-ZMCSfztDBqwotkl848ODgVcAmN4OItEWDCkshcKz0/W6gGSQayuuCtWV/MlodFivAZD793d6UgANd6wCXUfrIw==",+ "dependencies": {+ "component-type": "^1.2.1",+ "join-component": "^1.1.0"+ }+ },+ "node_modules/@sentry/browser": {+ "version": "6.15.0",+ "resolved": "https://registry.npmjs.org/@sentry/browser/-/browser-6.15.0.tgz",+ "integrity": "sha512-ZiqfHK5DMVgDsgMTuSwxilWIqEnZzy4yuJ9Sr6Iap1yZddPSiKHYjbBieSHn57UsWHViRB3ojbwu44LfvXKJdQ==",+ "dependencies": {+ "@sentry/core": "6.15.0",+ "@sentry/types": "6.15.0",+ "@sentry/utils": "6.15.0",+ "tslib": "^1.9.3"+ },+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/@sentry/browser/node_modules/tslib": {+ "version": "1.14.1",+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz",+ "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg=="+ },+ "node_modules/@sentry/cli": {+ "version": "1.71.0",+ "resolved": "https://registry.npmjs.org/@sentry/cli/-/cli-1.71.0.tgz",+ "integrity": "sha512-Z8TzH7PkiRfjWSzjXOfPWWp6wxjr+n39Jdrt26OcInVQZM1sx/gZULrDiQZ1L2dy9Fe9AR4SF4nt2/7h2GmLQQ==",+ "hasInstallScript": true,+ "dependencies": {+ "https-proxy-agent": "^5.0.0",+ "mkdirp": "^0.5.5",+ "node-fetch": "^2.6.0",+ "npmlog": "^4.1.2",+ "progress": "^2.0.3",+ "proxy-from-env": "^1.1.0"+ },+ "bin": {+ "sentry-cli": "bin/sentry-cli"+ },+ "engines": {+ "node": ">= 8"+ }+ },+ "node_modules/@sentry/cli/node_modules/mkdirp": {+ "version": "0.5.5",+ "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz",+ "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==",+ "dependencies": {+ "minimist": "^1.2.5"+ },+ "bin": {+ "mkdirp": "bin/cmd.js"+ }+ },+ "node_modules/@sentry/core": {+ "version": "6.15.0",+ "resolved": "https://registry.npmjs.org/@sentry/core/-/core-6.15.0.tgz",+ "integrity": "sha512-mCbKyqvD1G3Re6gv6N8tRkBz84gvVWDfLtC6d1WBArIopzter6ktEbvq0cMT6EOvGI2OLXuJ6mtHA93/Q0gGpw==",+ "dependencies": {+ "@sentry/hub": "6.15.0",+ "@sentry/minimal": "6.15.0",+ "@sentry/types": "6.15.0",+ "@sentry/utils": "6.15.0",+ "tslib": "^1.9.3"+ },+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/@sentry/core/node_modules/tslib": {+ "version": "1.14.1",+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz",+ "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg=="+ },+ "node_modules/@sentry/hub": {+ "version": "6.15.0",+ "resolved": "https://registry.npmjs.org/@sentry/hub/-/hub-6.15.0.tgz",+ "integrity": "sha512-cUbHPeG6kKpGBaEMgbTWeU03Y1Up5T3urGF+cgtrn80PmPYYSUPvVvWlZQWPb8CJZ1yQ0gySWo5RUTatBFrEHA==",+ "dependencies": {+ "@sentry/types": "6.15.0",+ "@sentry/utils": "6.15.0",+ "tslib": "^1.9.3"+ },+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/@sentry/hub/node_modules/tslib": {+ "version": "1.14.1",+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz",+ "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg=="+ },+ "node_modules/@sentry/integrations": {+ "version": "6.15.0",+ "resolved": "https://registry.npmjs.org/@sentry/integrations/-/integrations-6.15.0.tgz",+ "integrity": "sha512-fSBAipas6zwyYo4U91pyQOnaTcRCfwvH6ZFwu0Fqmkm64nU9rYpbTNiKkwOWbbiXXT6+LEF6RzBpsyhm4QvgmQ==",+ "dependencies": {+ "@sentry/types": "6.15.0",+ "@sentry/utils": "6.15.0",+ "localforage": "^1.8.1",+ "tslib": "^1.9.3"+ },+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/@sentry/integrations/node_modules/tslib": {+ "version": "1.14.1",+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz",+ "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg=="+ },+ "node_modules/@sentry/minimal": {+ "version": "6.15.0",+ "resolved": "https://registry.npmjs.org/@sentry/minimal/-/minimal-6.15.0.tgz",+ "integrity": "sha512-7RJIvZsjBa1qFUfMrAzQsWdfZT6Gm4t6ZTYfkpsXPBA35hkzglKbBrhhsUvkxGIhUGw/PiCUqxBUjcmzQP0vfg==",+ "dependencies": {+ "@sentry/hub": "6.15.0",+ "@sentry/types": "6.15.0",+ "tslib": "^1.9.3"+ },+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/@sentry/minimal/node_modules/tslib": {+ "version": "1.14.1",+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz",+ "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg=="+ },+ "node_modules/@sentry/nextjs": {+ "version": "6.15.0",+ "resolved": "https://registry.npmjs.org/@sentry/nextjs/-/nextjs-6.15.0.tgz",+ "integrity": "sha512-6QpU9YFW+flO/iOepFBGliaPeUOGaQn4SmKwRnB5P0iuQc+jEm8ZB6ORi4QYqGahrXqN++sOSYNzT/KaectlAA==",+ "dependencies": {+ "@sentry/core": "6.15.0",+ "@sentry/hub": "6.15.0",+ "@sentry/integrations": "6.15.0",+ "@sentry/node": "6.15.0",+ "@sentry/react": "6.15.0",+ "@sentry/tracing": "6.15.0",+ "@sentry/utils": "6.15.0",+ "@sentry/webpack-plugin": "1.18.3",+ "tslib": "^1.9.3"+ },+ "engines": {+ "node": ">=6"+ },+ "peerDependencies": {+ "next": "^10.0.8 || ^11.0",+ "react": "15.x || 16.x || 17.x",+ "webpack": ">= 4.0.0"+ }+ },+ "node_modules/@sentry/nextjs/node_modules/tslib": {+ "version": "1.14.1",+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz",+ "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg=="+ },+ "node_modules/@sentry/node": {+ "version": "6.15.0",+ "resolved": "https://registry.npmjs.org/@sentry/node/-/node-6.15.0.tgz",+ "integrity": "sha512-V1GeupWi9ClmoMy5eBWdVTv3k+Yx/JpddT4zCzzYY9QfjYtEvQI7R3SWFtlgXuaQQaZNU0WUoE2UgJV2N/vS8g==",+ "dependencies": {+ "@sentry/core": "6.15.0",+ "@sentry/hub": "6.15.0",+ "@sentry/tracing": "6.15.0",+ "@sentry/types": "6.15.0",+ "@sentry/utils": "6.15.0",+ "cookie": "^0.4.1",+ "https-proxy-agent": "^5.0.0",+ "lru_map": "^0.3.3",+ "tslib": "^1.9.3"+ },+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/@sentry/node/node_modules/tslib": {+ "version": "1.14.1",+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz",+ "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg=="+ },+ "node_modules/@sentry/react": {+ "version": "6.15.0",+ "resolved": "https://registry.npmjs.org/@sentry/react/-/react-6.15.0.tgz",+ "integrity": "sha512-vrrFF/KtPJQ41tmDCWpaR+bN+/TqPwqncsGLfbClE2irY3x3eCJjT2qPstlB7NQ6rTYtScyekbB0fOoNkq9FFg==",+ "dependencies": {+ "@sentry/browser": "6.15.0",+ "@sentry/minimal": "6.15.0",+ "@sentry/types": "6.15.0",+ "@sentry/utils": "6.15.0",+ "hoist-non-react-statics": "^3.3.2",+ "tslib": "^1.9.3"+ },+ "engines": {+ "node": ">=6"+ },+ "peerDependencies": {+ "react": "15.x || 16.x || 17.x"+ }+ },+ "node_modules/@sentry/react/node_modules/tslib": {+ "version": "1.14.1",+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz",+ "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg=="+ },+ "node_modules/@sentry/tracing": {+ "version": "6.15.0",+ "resolved": "https://registry.npmjs.org/@sentry/tracing/-/tracing-6.15.0.tgz",+ "integrity": "sha512-V5unvX8qNEfdawX+m2n0jKgmH/YR2ItWZLH+3UevBTptO+xyfvRtpgGXYWUCo3iGvFgWb1C+iIC7LViR9rTvBg==",+ "dependencies": {+ "@sentry/hub": "6.15.0",+ "@sentry/minimal": "6.15.0",+ "@sentry/types": "6.15.0",+ "@sentry/utils": "6.15.0",+ "tslib": "^1.9.3"+ },+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/@sentry/tracing/node_modules/tslib": {+ "version": "1.14.1",+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz",+ "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg=="+ },+ "node_modules/@sentry/types": {+ "version": "6.15.0",+ "resolved": "https://registry.npmjs.org/@sentry/types/-/types-6.15.0.tgz",+ "integrity": "sha512-zBw5gPUsofXUSpS3ZAXqRNedLRBvirl3sqkj2Lez7X2EkKRgn5D8m9fQIrig/X3TsKcXUpijDW5Buk5zeCVzJA==",+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/@sentry/utils": {+ "version": "6.15.0",+ "resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-6.15.0.tgz",+ "integrity": "sha512-gnhKKyFtnNmKWjDizo7VKD0/Vx8cgW1lCusM6WI7jy2jlO3bQA0+Dzgmr4mIReZ74mq4VpOd2Vfrx7ZldW1DMw==",+ "dependencies": {+ "@sentry/types": "6.15.0",+ "tslib": "^1.9.3"+ },+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/@sentry/utils/node_modules/tslib": {+ "version": "1.14.1",+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz",+ "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg=="+ },+ "node_modules/@sentry/webpack-plugin": {+ "version": "1.18.3",+ "resolved": "https://registry.npmjs.org/@sentry/webpack-plugin/-/webpack-plugin-1.18.3.tgz",+ "integrity": "sha512-Qk3Jevislc5DZK0X/WwRVcOtO7iatnWARsEgTV/TuXvDN+fUDDpD/2MytAWAbpLaLy3xEB/cXGeLsbv6d1XNkQ==",+ "dependencies": {+ "@sentry/cli": "^1.70.1"+ },+ "engines": {+ "node": ">= 8"+ }+ },+ "node_modules/@sideway/address": {+ "version": "4.1.2",+ "resolved": "https://registry.npmjs.org/@sideway/address/-/address-4.1.2.tgz",+ "integrity": "sha512-idTz8ibqWFrPU8kMirL0CoPH/A29XOzzAzpyN3zQ4kAWnzmNfFmRaoMNN6VI8ske5M73HZyhIaW4OuSFIdM4oA==",+ "dependencies": {+ "@hapi/hoek": "^9.0.0"+ }+ },+ "node_modules/@sideway/formula": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/@sideway/formula/-/formula-3.0.0.tgz",+ "integrity": "sha512-vHe7wZ4NOXVfkoRb8T5otiENVlT7a3IAiw7H5M2+GO+9CDgcVUUsX1zalAztCmwyOr2RUTGJdgB+ZvSVqmdHmg=="+ },+ "node_modules/@sideway/pinpoint": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/@sideway/pinpoint/-/pinpoint-2.0.0.tgz",+ "integrity": "sha512-RNiOoTPkptFtSVzQevY/yWtZwf/RxyVnPy/OcA9HBM3MlGDnBEYL5B41H0MTn0Uec8Hi+2qUtTfG2WWZBmMejQ=="+ },+ "node_modules/@sinclair/typebox": {+ "version": "0.19.2",+ "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.19.2.tgz",+ "integrity": "sha512-0U/RVPZQw1QxhrbKV0o281ZWI1Ve3osJnyEYnwOp3slydIQHyXumbJANJeNv9BqABDiHWlmzsxSVopPHMvt3Aw=="+ },+ "node_modules/@sindresorhus/is": {+ "version": "4.2.0",+ "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-4.2.0.tgz",+ "integrity": "sha512-VkE3KLBmJwcCaVARtQpfuKcKv8gcBmUubrfHGF84dXuuW6jgsRYxPtzcIhPyK9WAPpRt2/xY6zkD9MnRaJzSyw==",+ "engines": {+ "node": ">=10"+ },+ "funding": {+ "url": "https://github.com/sindresorhus/is?sponsor=1"+ }+ },+ "node_modules/@supabase/gotrue-js": {+ "version": "1.20.0",+ "resolved": "https://registry.npmjs.org/@supabase/gotrue-js/-/gotrue-js-1.20.0.tgz",+ "integrity": "sha512-udv6o44JPqQWc8dh9bJnvvUpPKFtzVpSpsTKiS541gjR9kNCgdxkMMYBh5653W9gKfcmqN5mYf9/hYzDOoB6ww==",+ "dependencies": {+ "cross-fetch": "^3.0.6"+ }+ },+ "node_modules/@supabase/grid": {+ "version": "2.3.5",+ "resolved": "https://registry.npmjs.org/@supabase/grid/-/grid-2.3.5.tgz",+ "integrity": "sha512-ABh4Hm3m9WJEg7VEB3KG2GRCgnvLnl+qF+GEDEUe41ESSW1CaD4qhpcFDBXp5s4MrCm1Qkunr54fVhuNhtH73g==",+ "dependencies": {+ "@monaco-editor/react": "^4.3.1",+ "@scaleleap/pg-format": "^1.0.0",+ "awesome-debounce-promise": "^2.1.0",+ "dayjs": "^1.10.4",+ "file-saver": "^2.0.5",+ "immutability-helper": "^3.1.1",+ "p-queue": "6.6.2",+ "react-contexify": "^5.0.0",+ "react-dnd": "^14.0.3",+ "react-dnd-html5-backend": "^14.0.1",+ "react-tiny-popover": "^6.0.5",+ "react-tracked": "^1.7.4",+ "scheduler": "^0.20.2"+ },+ "peerDependencies": {+ "@supabase/react-data-grid": "^7.1.0-beta.7",+ "@supabase/ui": "^0.35.0",+ "react": "^16.14 || ^17.0.0",+ "react-dom": "^16.14 || ^17.0.0"+ }+ },+ "node_modules/@supabase/postgres-meta": {+ "version": "0.26.1",+ "resolved": "https://registry.npmjs.org/@supabase/postgres-meta/-/postgres-meta-0.26.1.tgz",+ "integrity": "sha512-z4ws1fD+sPwb+J2PRMe2/Oe4HuVwGjPESjFqCR8uiWauTlfbtYR0bXFPMxPA6SkJFqOq/86uJPwzHgHURWZDiA==",+ "dependencies": {+ "@sinclair/typebox": "^0.19.2",+ "pg": "^8.7.1",+ "pg-format": "^1.0.4"+ },+ "engines": {+ "node": ">=14 <15",+ "npm": ">=7"+ }+ },+ "node_modules/@supabase/postgrest-js": {+ "version": "0.35.0",+ "resolved": "https://registry.npmjs.org/@supabase/postgrest-js/-/postgrest-js-0.35.0.tgz",+ "integrity": "sha512-z+XKJ2oXuGEAEBVXseeQUXaM3ekQZK4XF0Kc399Glyg+rZaBTwNeJtY+Q/23NcIE5uNMYbTnEXm80jZbLBnWdw==",+ "dependencies": {+ "cross-fetch": "^3.0.6"+ }+ },+ "node_modules/@supabase/react-data-grid": {+ "version": "7.1.0-beta.7",+ "resolved": "https://registry.npmjs.org/@supabase/react-data-grid/-/react-data-grid-7.1.0-beta.7.tgz",+ "integrity": "sha512-6Kjdk9Z3N2mycq63L22VFM4zY0w9HNdpB0HgaUcM3nIMtMxA3cldLnHDVMD2R0zNV7+1wlOr8hz3vsbS+zlOXQ==",+ "dependencies": {+ "clsx": "^1.1.1"+ },+ "peerDependencies": {+ "react": "^16.14 || ^17.0.0",+ "react-dom": "^16.14 || ^17.0.0"+ }+ },+ "node_modules/@supabase/realtime-js": {+ "version": "1.2.1",+ "resolved": "https://registry.npmjs.org/@supabase/realtime-js/-/realtime-js-1.2.1.tgz",+ "integrity": "sha512-nhwSvizonT8hiMoQHOqs+2MZNV8qkhKn552g7NIJktVmqpz//O1dGjdcXyjhbAurW18z0Y7Qa9G7UXfEYJKRPQ==",+ "dependencies": {+ "@types/websocket": "^1.0.3",+ "websocket": "^1.0.34"+ }+ },+ "node_modules/@supabase/storage-js": {+ "version": "1.5.0",+ "resolved": "https://registry.npmjs.org/@supabase/storage-js/-/storage-js-1.5.0.tgz",+ "integrity": "sha512-ki2HT9FrCYRN3yoqWqX+u47TUHQ8lgSStAqV/97kMov1z2d+iIlqGBGVcaGDqq4NvK8CipG8IJARYM72oX+afA==",+ "dependencies": {+ "cross-fetch": "^3.1.0"+ }+ },+ "node_modules/@supabase/supabase-js": {+ "version": "1.27.0",+ "resolved": "https://registry.npmjs.org/@supabase/supabase-js/-/supabase-js-1.27.0.tgz",+ "integrity": "sha512-oAm111Y1t7X+S5GeJWw9NdzAn1A1Cz5WAB/evYjM4ut7ZVWpeaEAlQ2p34MAjDrRVAcCfEr75rQwLTCqPcmMMQ==",+ "dependencies": {+ "@supabase/gotrue-js": "^1.20.0",+ "@supabase/postgrest-js": "^0.35.0",+ "@supabase/realtime-js": "^1.2.1",+ "@supabase/storage-js": "^1.5.0"+ }+ },+ "node_modules/@supabase/ui": {+ "version": "0.35.0",+ "resolved": "https://registry.npmjs.org/@supabase/ui/-/ui-0.35.0.tgz",+ "integrity": "sha512-bftQoDcX2Vl6Gcu6IYUjteN7ZKNs5YhvhOz3c/8kTYU6DuD33VKOYCMQBKwU4IuBbEsNXVRlJxHK4RjXIiS4ww==",+ "dependencies": {+ "lodash": "^4.17.20",+ "prop-types": "^15.7.2"+ },+ "optionalDependencies": {+ "fsevents": "^2.3.2"+ },+ "peerDependencies": {+ "react": "^16.13.1 || ^17.0.1",+ "react-dom": "^16.13.1 || ^17.0.1"+ }+ },+ "node_modules/@szmarczak/http-timer": {+ "version": "4.0.6",+ "resolved": "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-4.0.6.tgz",+ "integrity": "sha512-4BAffykYOgO+5nzBWYwE3W90sBgLJoUPRWWcL8wlyiM8IB8ipJz3UMJ9KXQd1RKQXpKp8Tutn80HZtWsu2u76w==",+ "dependencies": {+ "defer-to-connect": "^2.0.0"+ },+ "engines": {+ "node": ">=10"+ }+ },+ "node_modules/@types/cacheable-request": {+ "version": "6.0.2",+ "resolved": "https://registry.npmjs.org/@types/cacheable-request/-/cacheable-request-6.0.2.tgz",+ "integrity": "sha512-B3xVo+dlKM6nnKTcmm5ZtY/OL8bOAOd2Olee9M1zft65ox50OzjEHW91sDiU9j6cvW8Ejg1/Qkf4xd2kugApUA==",+ "dependencies": {+ "@types/http-cache-semantics": "*",+ "@types/keyv": "*",+ "@types/node": "*",+ "@types/responselike": "*"+ }+ },+ "node_modules/@types/crypto-js": {+ "version": "4.0.2",+ "resolved": "https://registry.npmjs.org/@types/crypto-js/-/crypto-js-4.0.2.tgz",+ "integrity": "sha512-sCVniU+h3GcGqxOmng11BRvf9TfN9yIs8KKjB8C8d75W69cpTfZG80gau9yTx5SxF3gvHGbJhdESzzvnjtf3Og==",+ "dev": true+ },+ "node_modules/@types/d3-color": {+ "version": "2.0.3",+ "resolved": "https://registry.npmjs.org/@types/d3-color/-/d3-color-2.0.3.tgz",+ "integrity": "sha512-+0EtEjBfKEDtH9Rk3u3kLOUXM5F+iZK+WvASPb0MhIZl8J8NUvGeZRwKCXl+P3HkYx5TdU4YtcibpqHkSR9n7w=="+ },+ "node_modules/@types/d3-interpolate": {+ "version": "2.0.2",+ "resolved": "https://registry.npmjs.org/@types/d3-interpolate/-/d3-interpolate-2.0.2.tgz",+ "integrity": "sha512-lElyqlUfIPyWG/cD475vl6msPL4aMU7eJvx1//Q177L8mdXoVPFl1djIESF2FKnc0NyaHvQlJpWwKJYwAhUoCw==",+ "dependencies": {+ "@types/d3-color": "^2"+ }+ },+ "node_modules/@types/d3-path": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/@types/d3-path/-/d3-path-2.0.1.tgz",+ "integrity": "sha512-6K8LaFlztlhZO7mwsZg7ClRsdLg3FJRzIIi6SZXDWmmSJc2x8dd2VkESbLXdk3p8cuvz71f36S0y8Zv2AxqvQw=="+ },+ "node_modules/@types/d3-scale": {+ "version": "3.3.2",+ "resolved": "https://registry.npmjs.org/@types/d3-scale/-/d3-scale-3.3.2.tgz",+ "integrity": "sha512-gGqr7x1ost9px3FvIfUMi5XA/F/yAf4UkUDtdQhpH92XCT0Oa7zkkRzY61gPVJq+DxpHn/btouw5ohWkbBsCzQ==",+ "dependencies": {+ "@types/d3-time": "^2"+ }+ },+ "node_modules/@types/d3-shape": {+ "version": "2.1.3",+ "resolved": "https://registry.npmjs.org/@types/d3-shape/-/d3-shape-2.1.3.tgz",+ "integrity": "sha512-HAhCel3wP93kh4/rq+7atLdybcESZ5bRHDEZUojClyZWsRuEMo3A52NGYJSh48SxfxEU6RZIVbZL2YFZ2OAlzQ==",+ "dependencies": {+ "@types/d3-path": "^2"+ }+ },+ "node_modules/@types/d3-time": {+ "version": "2.1.1",+ "resolved": "https://registry.npmjs.org/@types/d3-time/-/d3-time-2.1.1.tgz",+ "integrity": "sha512-9MVYlmIgmRR31C5b4FVSWtuMmBHh2mOWQYfl7XAYOa8dsnb7iEmUmRSWSFgXFtkjxO65d7hTUHQC+RhR/9IWFg=="+ },+ "node_modules/@types/debounce-promise": {+ "version": "3.1.4",+ "resolved": "https://registry.npmjs.org/@types/debounce-promise/-/debounce-promise-3.1.4.tgz",+ "integrity": "sha512-9SEVY3nsz+uMN2DwDocftB5TAgZe7D0cOzxxRhpotWs6T4QFqRaTXpXbOSzbk31/7iYcfCkJJPwWGzTxyuGhCg=="+ },+ "node_modules/@types/eslint": {+ "version": "7.29.0",+ "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-7.29.0.tgz",+ "integrity": "sha512-VNcvioYDH8/FxaeTKkM4/TiTwt6pBV9E3OfGmvaw8tPl0rrHCJ4Ll15HRT+pMiFAf/MLQvAzC+6RzUMEL9Ceng==",+ "peer": true,+ "dependencies": {+ "@types/estree": "*",+ "@types/json-schema": "*"+ }+ },+ "node_modules/@types/eslint-scope": {+ "version": "3.7.1",+ "resolved": "https://registry.npmjs.org/@types/eslint-scope/-/eslint-scope-3.7.1.tgz",+ "integrity": "sha512-SCFeogqiptms4Fg29WpOTk5nHIzfpKCemSN63ksBQYKTcXoJEmJagV+DhVmbapZzY4/5YaOV1nZwrsU79fFm1g==",+ "peer": true,+ "dependencies": {+ "@types/eslint": "*",+ "@types/estree": "*"+ }+ },+ "node_modules/@types/estree": {+ "version": "0.0.50",+ "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.50.tgz",+ "integrity": "sha512-C6N5s2ZFtuZRj54k2/zyRhNDjJwwcViAM3Nbm8zjBpbqAdZ00mr0CFxvSKeO8Y/e03WVFLpQMdHYVfUd6SB+Hw==",+ "peer": true+ },+ "node_modules/@types/hoist-non-react-statics": {+ "version": "3.3.1",+ "resolved": "https://registry.npmjs.org/@types/hoist-non-react-statics/-/hoist-non-react-statics-3.3.1.tgz",+ "integrity": "sha512-iMIqiko6ooLrTh1joXodJK5X9xeEALT1kM5G3ZLhD3hszxBdIEd5C75U834D9mLcINgD4OyZf5uQXjkuYydWvA==",+ "dependencies": {+ "@types/react": "*",+ "hoist-non-react-statics": "^3.3.0"+ }+ },+ "node_modules/@types/http-cache-semantics": {+ "version": "4.0.1",+ "resolved": "https://registry.npmjs.org/@types/http-cache-semantics/-/http-cache-semantics-4.0.1.tgz",+ "integrity": "sha512-SZs7ekbP8CN0txVG2xVRH6EgKmEm31BOxA07vkFaETzZz1xh+cbt8BcI0slpymvwhx5dlFnQG2rTlPVQn+iRPQ=="+ },+ "node_modules/@types/json-schema": {+ "version": "7.0.9",+ "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.9.tgz",+ "integrity": "sha512-qcUXuemtEu+E5wZSJHNxUXeCZhAfXKQ41D+duX+VYPde7xyEVZci+/oXKJL13tnRs9lR2pr4fod59GT6/X1/yQ==",+ "peer": true+ },+ "node_modules/@types/keyv": {+ "version": "3.1.3",+ "resolved": "https://registry.npmjs.org/@types/keyv/-/keyv-3.1.3.tgz",+ "integrity": "sha512-FXCJgyyN3ivVgRoml4h94G/p3kY+u/B86La+QptcqJaWtBWtmc6TtkNfS40n9bIvyLteHh7zXOtgbobORKPbDg==",+ "dependencies": {+ "@types/node": "*"+ }+ },+ "node_modules/@types/lodash": {+ "version": "4.14.173",+ "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.173.tgz",+ "integrity": "sha512-vv0CAYoaEjCw/mLy96GBTnRoZrSxkGE0BKzKimdR8P3OzrNYNvBgtW7p055A+E8C31vXNUhWKoFCbhq7gbyhFg==",+ "dev": true+ },+ "node_modules/@types/markdown-table": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/@types/markdown-table/-/markdown-table-3.0.0.tgz",+ "integrity": "sha512-vX5zya26rnLLHdAKA3E9ZOT07CJslYp2gZfAZiXKUY5vd2RRiJyOQKrSlmUjyJ+eNoDAPkHflebG3PsfqC32aA==",+ "deprecated": "This is a stub types definition. markdown-table provides its own type definitions, so you do not need this installed.",+ "dev": true,+ "dependencies": {+ "markdown-table": "*"+ }+ },+ "node_modules/@types/node": {+ "version": "16.9.4",+ "resolved": "https://registry.npmjs.org/@types/node/-/node-16.9.4.tgz",+ "integrity": "sha512-KDazLNYAGIuJugdbULwFZULF9qQ13yNWEBFnfVpqlpgAAo6H/qnM9RjBgh0A0kmHf3XxAKLdN5mTIng9iUvVLA=="+ },+ "node_modules/@types/papaparse": {+ "version": "5.3.1",+ "resolved": "https://registry.npmjs.org/@types/papaparse/-/papaparse-5.3.1.tgz",+ "integrity": "sha512-1lbngk9wty2kCyQB42LjqSa12SEop3t9wcEC7/xYr3ujTSTmv7HWKjKYXly0GkMfQ42PRb2lFPFEibDOiMXS0g==",+ "dev": true,+ "dependencies": {+ "@types/node": "*"+ }+ },+ "node_modules/@types/parse-json": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz",+ "integrity": "sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==",+ "dev": true+ },+ "node_modules/@types/prop-types": {+ "version": "15.7.4",+ "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.4.tgz",+ "integrity": "sha512-rZ5drC/jWjrArrS8BR6SIr4cWpW09RNTYt9AMZo3Jwwif+iacXAqgVjm0B0Bv/S1jhDXKHqRVNCbACkJ89RAnQ=="+ },+ "node_modules/@types/react": {+ "version": "17.0.11",+ "resolved": "https://registry.npmjs.org/@types/react/-/react-17.0.11.tgz",+ "integrity": "sha512-yFRQbD+whVonItSk7ZzP/L+gPTJVBkL/7shLEF+i9GC/1cV3JmUxEQz6+9ylhUpWSDuqo1N9qEvqS6vTj4USUA==",+ "dependencies": {+ "@types/prop-types": "*",+ "@types/scheduler": "*",+ "csstype": "^3.0.2"+ }+ },+ "node_modules/@types/react-beautiful-dnd": {+ "version": "13.1.2",+ "resolved": "https://registry.npmjs.org/@types/react-beautiful-dnd/-/react-beautiful-dnd-13.1.2.tgz",+ "integrity": "sha512-+OvPkB8CdE/bGdXKyIhc/Lm2U7UAYCCJgsqmopFmh9gbAudmslkI8eOrPDjg4JhwSE6wytz4a3/wRjKtovHVJg==",+ "dev": true,+ "dependencies": {+ "@types/react": "*"+ }+ },+ "node_modules/@types/react-csv": {+ "version": "1.1.2",+ "resolved": "https://registry.npmjs.org/@types/react-csv/-/react-csv-1.1.2.tgz",+ "integrity": "sha512-hCtZyXAubxBtn3Oi3I9kNAx2liRTaMtl1eWpO2M98aYkHuoSTbYO8OcZEjyr9aJJ30Xnoxj+uES3G6L6O1qgtg==",+ "dev": true,+ "dependencies": {+ "@types/react": "*"+ }+ },+ "node_modules/@types/react-grid-layout": {+ "version": "1.3.0",+ "resolved": "https://registry.npmjs.org/@types/react-grid-layout/-/react-grid-layout-1.3.0.tgz",+ "integrity": "sha512-Pytm7lvm4h91yN9CpdjV8IpU/hgVRHrUhDEIX593e4Mx9V14Pr3gWtj21WHzy5bDqU//jnGGVVSYJ3QVuI1NaQ==",+ "dev": true,+ "dependencies": {+ "@types/react": "*"+ }+ },+ "node_modules/@types/react-redux": {+ "version": "7.1.20",+ "resolved": "https://registry.npmjs.org/@types/react-redux/-/react-redux-7.1.20.tgz",+ "integrity": "sha512-q42es4c8iIeTgcnB+yJgRTTzftv3eYYvCZOh1Ckn2eX/3o5TdsQYKUWpLoLuGlcY/p+VAhV9IOEZJcWk/vfkXw==",+ "dependencies": {+ "@types/hoist-non-react-statics": "^3.3.0",+ "@types/react": "*",+ "hoist-non-react-statics": "^3.3.0",+ "redux": "^4.0.0"+ }+ },+ "node_modules/@types/react-virtualized-auto-sizer": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/@types/react-virtualized-auto-sizer/-/react-virtualized-auto-sizer-1.0.1.tgz",+ "integrity": "sha512-GH8sAnBEM5GV9LTeiz56r4ZhMOUSrP43tAQNSRVxNexDjcNKLCEtnxusAItg1owFUFE6k0NslV26gqVClVvong==",+ "dev": true,+ "dependencies": {+ "@types/react": "*"+ }+ },+ "node_modules/@types/react-window": {+ "version": "1.8.5",+ "resolved": "https://registry.npmjs.org/@types/react-window/-/react-window-1.8.5.tgz",+ "integrity": "sha512-V9q3CvhC9Jk9bWBOysPGaWy/Z0lxYcTXLtLipkt2cnRj1JOSFNF7wqGpkScSXMgBwC+fnVRg/7shwgddBG5ICw==",+ "dev": true,+ "dependencies": {+ "@types/react": "*"+ }+ },+ "node_modules/@types/react-window-infinite-loader": {+ "version": "1.0.5",+ "resolved": "https://registry.npmjs.org/@types/react-window-infinite-loader/-/react-window-infinite-loader-1.0.5.tgz",+ "integrity": "sha512-3v45+4oBNJpSroULtb2EgTJyyK4pCjOMCg+RT/HnA3or5zY4jYufv6uH9NWPyLv0nx8dqt1s4nJqHilfthwKSw==",+ "dev": true,+ "dependencies": {+ "@types/react": "*",+ "@types/react-window": "*"+ }+ },+ "node_modules/@types/resize-observer-browser": {+ "version": "0.1.6",+ "resolved": "https://registry.npmjs.org/@types/resize-observer-browser/-/resize-observer-browser-0.1.6.tgz",+ "integrity": "sha512-61IfTac0s9jvNtBCpyo86QeaN8qqpMGHdK0uGKCCIy2dt5/Yk84VduHIdWAcmkC5QvdkPL0p5eWYgUZtHKKUVg=="+ },+ "node_modules/@types/responselike": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/@types/responselike/-/responselike-1.0.0.tgz",+ "integrity": "sha512-85Y2BjiufFzaMIlvJDvTTB8Fxl2xfLo4HgmHzVBz08w4wDePCTjYw66PdrolO0kzli3yam/YCgRufyo1DdQVTA==",+ "dependencies": {+ "@types/node": "*"+ }+ },+ "node_modules/@types/scheduler": {+ "version": "0.16.2",+ "resolved": "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.2.tgz",+ "integrity": "sha512-hppQEBDmlwhFAXKJX2KnWLYu5yMfi91yazPb2l+lbJiwW+wdo1gNeRA+3RgNSO39WYX2euey41KEwnqesU2Jew=="+ },+ "node_modules/@types/semver": {+ "version": "7.3.9",+ "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.3.9.tgz",+ "integrity": "sha512-L/TMpyURfBkf+o/526Zb6kd/tchUP3iBDEPjqjb+U2MAJhVRxxrmr2fwpe08E7QsV7YLcpq0tUaQ9O9x97ZIxQ==",+ "dev": true+ },+ "node_modules/@types/sqlstring": {+ "version": "2.3.0",+ "resolved": "https://registry.npmjs.org/@types/sqlstring/-/sqlstring-2.3.0.tgz",+ "integrity": "sha512-kMFecDYYFk/f5fljO0UFrSPwU1JxY4mIjX6ic7MHv5nD6sEd3NYLoWcOV/3s6Drs7RHdCwTQdD5NdgVl0I2zzg==",+ "dev": true+ },+ "node_modules/@types/websocket": {+ "version": "1.0.4",+ "resolved": "https://registry.npmjs.org/@types/websocket/-/websocket-1.0.4.tgz",+ "integrity": "sha512-qn1LkcFEKK8RPp459jkjzsfpbsx36BBt3oC3pITYtkoBw/aVX+EZFa5j3ThCRTNpLFvIMr5dSTD4RaMdilIOpA==",+ "dependencies": {+ "@types/node": "*"+ }+ },+ "node_modules/@types/zxcvbn": {+ "version": "4.4.1",+ "resolved": "https://registry.npmjs.org/@types/zxcvbn/-/zxcvbn-4.4.1.tgz",+ "integrity": "sha512-3NoqvZC2W5gAC5DZbTpCeJ251vGQmgcWIHQJGq2J240HY6ErQ9aWKkwfoKJlHLx+A83WPNTZ9+3cd2ILxbvr1w==",+ "dev": true+ },+ "node_modules/@webassemblyjs/ast": {+ "version": "1.11.1",+ "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.11.1.tgz",+ "integrity": "sha512-ukBh14qFLjxTQNTXocdyksN5QdM28S1CxHt2rdskFyL+xFV7VremuBLVbmCePj+URalXBENx/9Lm7lnhihtCSw==",+ "peer": true,+ "dependencies": {+ "@webassemblyjs/helper-numbers": "1.11.1",+ "@webassemblyjs/helper-wasm-bytecode": "1.11.1"+ }+ },+ "node_modules/@webassemblyjs/floating-point-hex-parser": {+ "version": "1.11.1",+ "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.11.1.tgz",+ "integrity": "sha512-iGRfyc5Bq+NnNuX8b5hwBrRjzf0ocrJPI6GWFodBFzmFnyvrQ83SHKhmilCU/8Jv67i4GJZBMhEzltxzcNagtQ==",+ "peer": true+ },+ "node_modules/@webassemblyjs/helper-api-error": {+ "version": "1.11.1",+ "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.1.tgz",+ "integrity": "sha512-RlhS8CBCXfRUR/cwo2ho9bkheSXG0+NwooXcc3PAILALf2QLdFyj7KGsKRbVc95hZnhnERon4kW/D3SZpp6Tcg==",+ "peer": true+ },+ "node_modules/@webassemblyjs/helper-buffer": {+ "version": "1.11.1",+ "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.11.1.tgz",+ "integrity": "sha512-gwikF65aDNeeXa8JxXa2BAk+REjSyhrNC9ZwdT0f8jc4dQQeDQ7G4m0f2QCLPJiMTTO6wfDmRmj/pW0PsUvIcA==",+ "peer": true+ },+ "node_modules/@webassemblyjs/helper-numbers": {+ "version": "1.11.1",+ "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-numbers/-/helper-numbers-1.11.1.tgz",+ "integrity": "sha512-vDkbxiB8zfnPdNK9Rajcey5C0w+QJugEglN0of+kmO8l7lDb77AnlKYQF7aarZuCrv+l0UvqL+68gSDr3k9LPQ==",+ "peer": true,+ "dependencies": {+ "@webassemblyjs/floating-point-hex-parser": "1.11.1",+ "@webassemblyjs/helper-api-error": "1.11.1",+ "@xtuc/long": "4.2.2"+ }+ },+ "node_modules/@webassemblyjs/helper-wasm-bytecode": {+ "version": "1.11.1",+ "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.11.1.tgz",+ "integrity": "sha512-PvpoOGiJwXeTrSf/qfudJhwlvDQxFgelbMqtq52WWiXC6Xgg1IREdngmPN3bs4RoO83PnL/nFrxucXj1+BX62Q==",+ "peer": true+ },+ "node_modules/@webassemblyjs/helper-wasm-section": {+ "version": "1.11.1",+ "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.11.1.tgz",+ "integrity": "sha512-10P9No29rYX1j7F3EVPX3JvGPQPae+AomuSTPiF9eBQeChHI6iqjMIwR9JmOJXwpnn/oVGDk7I5IlskuMwU/pg==",+ "peer": true,+ "dependencies": {+ "@webassemblyjs/ast": "1.11.1",+ "@webassemblyjs/helper-buffer": "1.11.1",+ "@webassemblyjs/helper-wasm-bytecode": "1.11.1",+ "@webassemblyjs/wasm-gen": "1.11.1"+ }+ },+ "node_modules/@webassemblyjs/ieee754": {+ "version": "1.11.1",+ "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.11.1.tgz",+ "integrity": "sha512-hJ87QIPtAMKbFq6CGTkZYJivEwZDbQUgYd3qKSadTNOhVY7p+gfP6Sr0lLRVTaG1JjFj+r3YchoqRYxNH3M0GQ==",+ "peer": true,+ "dependencies": {+ "@xtuc/ieee754": "^1.2.0"+ }+ },+ "node_modules/@webassemblyjs/leb128": {+ "version": "1.11.1",+ "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.11.1.tgz",+ "integrity": "sha512-BJ2P0hNZ0u+Th1YZXJpzW6miwqQUGcIHT1G/sf72gLVD9DZ5AdYTqPNbHZh6K1M5VmKvFXwGSWZADz+qBWxeRw==",+ "peer": true,+ "dependencies": {+ "@xtuc/long": "4.2.2"+ }+ },+ "node_modules/@webassemblyjs/utf8": {+ "version": "1.11.1",+ "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.11.1.tgz",+ "integrity": "sha512-9kqcxAEdMhiwQkHpkNiorZzqpGrodQQ2IGrHHxCy+Ozng0ofyMA0lTqiLkVs1uzTRejX+/O0EOT7KxqVPuXosQ==",+ "peer": true+ },+ "node_modules/@webassemblyjs/wasm-edit": {+ "version": "1.11.1",+ "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.11.1.tgz",+ "integrity": "sha512-g+RsupUC1aTHfR8CDgnsVRVZFJqdkFHpsHMfJuWQzWU3tvnLC07UqHICfP+4XyL2tnr1amvl1Sdp06TnYCmVkA==",+ "peer": true,+ "dependencies": {+ "@webassemblyjs/ast": "1.11.1",+ "@webassemblyjs/helper-buffer": "1.11.1",+ "@webassemblyjs/helper-wasm-bytecode": "1.11.1",+ "@webassemblyjs/helper-wasm-section": "1.11.1",+ "@webassemblyjs/wasm-gen": "1.11.1",+ "@webassemblyjs/wasm-opt": "1.11.1",+ "@webassemblyjs/wasm-parser": "1.11.1",+ "@webassemblyjs/wast-printer": "1.11.1"+ }+ },+ "node_modules/@webassemblyjs/wasm-gen": {+ "version": "1.11.1",+ "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.11.1.tgz",+ "integrity": "sha512-F7QqKXwwNlMmsulj6+O7r4mmtAlCWfO/0HdgOxSklZfQcDu0TpLiD1mRt/zF25Bk59FIjEuGAIyn5ei4yMfLhA==",+ "peer": true,+ "dependencies": {+ "@webassemblyjs/ast": "1.11.1",+ "@webassemblyjs/helper-wasm-bytecode": "1.11.1",+ "@webassemblyjs/ieee754": "1.11.1",+ "@webassemblyjs/leb128": "1.11.1",+ "@webassemblyjs/utf8": "1.11.1"+ }+ },+ "node_modules/@webassemblyjs/wasm-opt": {+ "version": "1.11.1",+ "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.11.1.tgz",+ "integrity": "sha512-VqnkNqnZlU5EB64pp1l7hdm3hmQw7Vgqa0KF/KCNO9sIpI6Fk6brDEiX+iCOYrvMuBWDws0NkTOxYEb85XQHHw==",+ "peer": true,+ "dependencies": {+ "@webassemblyjs/ast": "1.11.1",+ "@webassemblyjs/helper-buffer": "1.11.1",+ "@webassemblyjs/wasm-gen": "1.11.1",+ "@webassemblyjs/wasm-parser": "1.11.1"+ }+ },+ "node_modules/@webassemblyjs/wasm-parser": {+ "version": "1.11.1",+ "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.11.1.tgz",+ "integrity": "sha512-rrBujw+dJu32gYB7/Lup6UhdkPx9S9SnobZzRVL7VcBH9Bt9bCBLEuX/YXOOtBsOZ4NQrRykKhffRWHvigQvOA==",+ "peer": true,+ "dependencies": {+ "@webassemblyjs/ast": "1.11.1",+ "@webassemblyjs/helper-api-error": "1.11.1",+ "@webassemblyjs/helper-wasm-bytecode": "1.11.1",+ "@webassemblyjs/ieee754": "1.11.1",+ "@webassemblyjs/leb128": "1.11.1",+ "@webassemblyjs/utf8": "1.11.1"+ }+ },+ "node_modules/@webassemblyjs/wast-printer": {+ "version": "1.11.1",+ "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.11.1.tgz",+ "integrity": "sha512-IQboUWM4eKzWW+N/jij2sRatKMh99QEelo3Eb2q0qXkvPRISAj8Qxtmw5itwqK+TTkBuUIE45AxYPToqPtL5gg==",+ "peer": true,+ "dependencies": {+ "@webassemblyjs/ast": "1.11.1",+ "@xtuc/long": "4.2.2"+ }+ },+ "node_modules/@xtuc/ieee754": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz",+ "integrity": "sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==",+ "peer": true+ },+ "node_modules/@xtuc/long": {+ "version": "4.2.2",+ "resolved": "https://registry.npmjs.org/@xtuc/long/-/long-4.2.2.tgz",+ "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==",+ "peer": true+ },+ "node_modules/acorn": {+ "version": "7.4.1",+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz",+ "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==",+ "dev": true,+ "bin": {+ "acorn": "bin/acorn"+ },+ "engines": {+ "node": ">=0.4.0"+ }+ },+ "node_modules/acorn-node": {+ "version": "1.8.2",+ "resolved": "https://registry.npmjs.org/acorn-node/-/acorn-node-1.8.2.tgz",+ "integrity": "sha512-8mt+fslDufLYntIoPAaIMUe/lrbrehIiwmR3t2k9LljIzoigEPF27eLk2hy8zSGzmR/ogr7zbRKINMo1u0yh5A==",+ "dev": true,+ "dependencies": {+ "acorn": "^7.0.0",+ "acorn-walk": "^7.0.0",+ "xtend": "^4.0.2"+ }+ },+ "node_modules/acorn-walk": {+ "version": "7.2.0",+ "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-7.2.0.tgz",+ "integrity": "sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA==",+ "dev": true,+ "engines": {+ "node": ">=0.4.0"+ }+ },+ "node_modules/agent-base": {+ "version": "6.0.2",+ "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz",+ "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==",+ "dependencies": {+ "debug": "4"+ },+ "engines": {+ "node": ">= 6.0.0"+ }+ },+ "node_modules/agent-base/node_modules/debug": {+ "version": "4.3.2",+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz",+ "integrity": "sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==",+ "dependencies": {+ "ms": "2.1.2"+ },+ "engines": {+ "node": ">=6.0"+ },+ "peerDependenciesMeta": {+ "supports-color": {+ "optional": true+ }+ }+ },+ "node_modules/agent-base/node_modules/ms": {+ "version": "2.1.2",+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",+ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="+ },+ "node_modules/aggregate-error": {+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz",+ "integrity": "sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==",+ "dependencies": {+ "clean-stack": "^2.0.0",+ "indent-string": "^4.0.0"+ },+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/ajv": {+ "version": "8.6.3",+ "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.6.3.tgz",+ "integrity": "sha512-SMJOdDP6LqTkD0Uq8qLi+gMwSt0imXLSV080qFVwJCpH9U6Mb+SUGHAXM0KNbcBPguytWyvFxcHgMLe2D2XSpw==",+ "dependencies": {+ "fast-deep-equal": "^3.1.1",+ "json-schema-traverse": "^1.0.0",+ "require-from-string": "^2.0.2",+ "uri-js": "^4.2.2"+ },+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/epoberezkin"+ }+ },+ "node_modules/analytics-node": {+ "version": "3.5.0",+ "resolved": "https://registry.npmjs.org/analytics-node/-/analytics-node-3.5.0.tgz",+ "integrity": "sha512-XgQq6ejZHCehUSnZS4V7QJPLIP7S9OAWwQDYl4WTLtsRvc5fCxIwzK/yihzmIW51v9PnyBmrl9dMcqvwfOE8WA==",+ "dependencies": {+ "@segment/loosely-validate-event": "^2.0.0",+ "axios": "^0.21.1",+ "axios-retry": "^3.0.2",+ "lodash.isstring": "^4.0.1",+ "md5": "^2.2.1",+ "ms": "^2.0.0",+ "remove-trailing-slash": "^0.1.0",+ "uuid": "^3.2.1"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/anser": {+ "version": "1.4.9",+ "resolved": "https://registry.npmjs.org/anser/-/anser-1.4.9.tgz",+ "integrity": "sha512-AI+BjTeGt2+WFk4eWcqbQ7snZpDBt8SaLlj0RT2h5xfdWaiy51OjYvqwMrNzJLGy8iOAL6nKDITWO+rd4MkYEA=="+ },+ "node_modules/ansi-regex": {+ "version": "5.0.1",+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",+ "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",+ "dependencies": {+ "color-convert": "^1.9.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/anymatch": {+ "version": "3.1.2",+ "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz",+ "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==",+ "dependencies": {+ "normalize-path": "^3.0.0",+ "picomatch": "^2.0.4"+ },+ "engines": {+ "node": ">= 8"+ }+ },+ "node_modules/aproba": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz",+ "integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw=="+ },+ "node_modules/are-we-there-yet": {+ "version": "1.1.7",+ "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.7.tgz",+ "integrity": "sha512-nxwy40TuMiUGqMyRHgCSWZ9FM4VAoRP4xUYSTv5ImRog+h9yISPbVH7H8fASCIzYn9wlEv4zvFL7uKDMCFQm3g==",+ "dependencies": {+ "delegates": "^1.0.0",+ "readable-stream": "^2.0.6"+ }+ },+ "node_modules/are-we-there-yet/node_modules/readable-stream": {+ "version": "2.3.7",+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz",+ "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==",+ "dependencies": {+ "core-util-is": "~1.0.0",+ "inherits": "~2.0.3",+ "isarray": "~1.0.0",+ "process-nextick-args": "~2.0.0",+ "safe-buffer": "~5.1.1",+ "string_decoder": "~1.1.1",+ "util-deprecate": "~1.0.1"+ }+ },+ "node_modules/are-we-there-yet/node_modules/safe-buffer": {+ "version": "5.1.2",+ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",+ "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="+ },+ "node_modules/are-we-there-yet/node_modules/string_decoder": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",+ "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==",+ "dependencies": {+ "safe-buffer": "~5.1.0"+ }+ },+ "node_modules/arg": {+ "version": "5.0.1",+ "resolved": "https://registry.npmjs.org/arg/-/arg-5.0.1.tgz",+ "integrity": "sha512-e0hDa9H2Z9AwFkk2qDlwhoMYE4eToKarchkQHovNdLTCYMHZHeRjI71crOh+dio4K6u1IcwubQqo79Ga4CyAQA==",+ "dev": true+ },+ "node_modules/asn1.js": {+ "version": "5.4.1",+ "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-5.4.1.tgz",+ "integrity": "sha512-+I//4cYPccV8LdmBLiX8CYvf9Sp3vQsrqu2QNXRcrbiWvcx/UdlFiqUJJzxRQxgsZmvhXhn4cSKeSmoFjVdupA==",+ "dependencies": {+ "bn.js": "^4.0.0",+ "inherits": "^2.0.1",+ "minimalistic-assert": "^1.0.0",+ "safer-buffer": "^2.1.0"+ }+ },+ "node_modules/asn1.js/node_modules/bn.js": {+ "version": "4.12.0",+ "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz",+ "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA=="+ },+ "node_modules/assert": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/assert/-/assert-2.0.0.tgz",+ "integrity": "sha512-se5Cd+js9dXJnu6Ag2JFc00t+HmHOen+8Q+L7O9zI0PqQXr20uk2J0XQqMxZEeo5U50o8Nvmmx7dZrl+Ufr35A==",+ "dependencies": {+ "es6-object-assign": "^1.1.0",+ "is-nan": "^1.2.1",+ "object-is": "^1.0.1",+ "util": "^0.12.0"+ }+ },+ "node_modules/ast-types": {+ "version": "0.13.2",+ "resolved": "https://registry.npmjs.org/ast-types/-/ast-types-0.13.2.tgz",+ "integrity": "sha512-uWMHxJxtfj/1oZClOxDEV1sQ1HCDkA4MG8Gr69KKeBjEVH0R84WlejZ0y2DcwyBlpAEMltmVYkVgqfLFb2oyiA==",+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/autoprefixer": {+ "version": "10.3.4",+ "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.3.4.tgz",+ "integrity": "sha512-EKjKDXOq7ug+jagLzmnoTRpTT0q1KVzEJqrJd0hCBa7FiG0WbFOBCcJCy2QkW1OckpO3qgttA1aWjVbeIPAecw==",+ "dev": true,+ "dependencies": {+ "browserslist": "^4.16.8",+ "caniuse-lite": "^1.0.30001252",+ "colorette": "^1.3.0",+ "fraction.js": "^4.1.1",+ "normalize-range": "^0.1.2",+ "postcss-value-parser": "^4.1.0"+ },+ "bin": {+ "autoprefixer": "bin/autoprefixer"+ },+ "engines": {+ "node": "^10 || ^12 || >=14"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/postcss/"+ },+ "peerDependencies": {+ "postcss": "^8.1.0"+ }+ },+ "node_modules/available-typed-arrays": {+ "version": "1.0.5",+ "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz",+ "integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==",+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/awesome-debounce-promise": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/awesome-debounce-promise/-/awesome-debounce-promise-2.1.0.tgz",+ "integrity": "sha512-0Dv4j2wKk5BrNZh4jgV2HUdznaeVgEK/WTvcHhZWUElhmQ1RR+iURRoLEwICFyR0S/5VtxfcvY6gR+qSe95jNg==",+ "dependencies": {+ "@types/debounce-promise": "^3.1.1",+ "awesome-imperative-promise": "^1.0.1",+ "awesome-only-resolves-last-promise": "^1.0.3",+ "debounce-promise": "^3.1.0"+ },+ "engines": {+ "node": ">=8",+ "npm": ">=5"+ }+ },+ "node_modules/awesome-imperative-promise": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/awesome-imperative-promise/-/awesome-imperative-promise-1.0.1.tgz",+ "integrity": "sha512-EmPr3FqbQGqlNh+WxMNcF9pO9uDQJnOC4/3rLBQNH9m4E9qI+8lbfHCmHpVAsmGqPJPKhCjJLHUQzQW/RBHRdQ==",+ "engines": {+ "node": ">=8",+ "npm": ">=5"+ }+ },+ "node_modules/awesome-only-resolves-last-promise": {+ "version": "1.0.3",+ "resolved": "https://registry.npmjs.org/awesome-only-resolves-last-promise/-/awesome-only-resolves-last-promise-1.0.3.tgz",+ "integrity": "sha512-7q4WPsYiD8Omvi/yHL314DkvsD/lM//Z2/KcU1vWk0xJotiV0GMJTgHTpWl3n90HJqpXKg7qX+VVNs5YbQyPRQ==",+ "dependencies": {+ "awesome-imperative-promise": "^1.0.1"+ },+ "engines": {+ "node": ">=8",+ "npm": ">=5"+ }+ },+ "node_modules/axios": {+ "version": "0.21.4",+ "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz",+ "integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==",+ "dependencies": {+ "follow-redirects": "^1.14.0"+ }+ },+ "node_modules/axios-retry": {+ "version": "3.2.4",+ "resolved": "https://registry.npmjs.org/axios-retry/-/axios-retry-3.2.4.tgz",+ "integrity": "sha512-Co3UXiv4npi6lM963mfnuH90/YFLKWWDmoBYfxkHT5xtkSSWNqK9zdG3fw5/CP/dsoKB5aMMJCsgab+tp1OxLQ==",+ "dependencies": {+ "@babel/runtime": "^7.15.4",+ "is-retry-allowed": "^2.2.0"+ }+ },+ "node_modules/babel-plugin-syntax-jsx": {+ "version": "6.18.0",+ "resolved": "https://registry.npmjs.org/babel-plugin-syntax-jsx/-/babel-plugin-syntax-jsx-6.18.0.tgz",+ "integrity": "sha1-CvMqmm4Tyno/1QaeYtew9Y0NiUY="+ },+ "node_modules/balanced-match": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",+ "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==",+ "dev": true+ },+ "node_modules/base64-js": {+ "version": "1.5.1",+ "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz",+ "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==",+ "funding": [+ {+ "type": "github",+ "url": "https://github.com/sponsors/feross"+ },+ {+ "type": "patreon",+ "url": "https://www.patreon.com/feross"+ },+ {+ "type": "consulting",+ "url": "https://feross.org/support"+ }+ ]+ },+ "node_modules/base64url": {+ "version": "3.0.1",+ "resolved": "https://registry.npmjs.org/base64url/-/base64url-3.0.1.tgz",+ "integrity": "sha512-ir1UPr3dkwexU7FdV8qBBbNDRUhMmIekYMFZfi+C/sLNnRESKPl23nB9b2pltqfOQNnGzsDdId90AEtG5tCx4A==",+ "engines": {+ "node": ">=6.0.0"+ }+ },+ "node_modules/big.js": {+ "version": "5.2.2",+ "resolved": "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz",+ "integrity": "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==",+ "engines": {+ "node": "*"+ }+ },+ "node_modules/binary-extensions": {+ "version": "2.2.0",+ "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz",+ "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==",+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/bn.js": {+ "version": "5.2.0",+ "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.0.tgz",+ "integrity": "sha512-D7iWRBvnZE8ecXiLj/9wbxH7Tk79fAh8IHaTNq1RWRixsS02W+5qS+iE9yq6RYl0asXx5tw0bLhmT5pIfbSquw=="+ },+ "node_modules/brace-expansion": {+ "version": "1.1.11",+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",+ "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",+ "dev": true,+ "dependencies": {+ "balanced-match": "^1.0.0",+ "concat-map": "0.0.1"+ }+ },+ "node_modules/braces": {+ "version": "3.0.2",+ "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",+ "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==",+ "dependencies": {+ "fill-range": "^7.0.1"+ },+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/brorand": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz",+ "integrity": "sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8="+ },+ "node_modules/browserify-aes": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz",+ "integrity": "sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==",+ "dependencies": {+ "buffer-xor": "^1.0.3",+ "cipher-base": "^1.0.0",+ "create-hash": "^1.1.0",+ "evp_bytestokey": "^1.0.3",+ "inherits": "^2.0.1",+ "safe-buffer": "^5.0.1"+ }+ },+ "node_modules/browserify-cipher": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/browserify-cipher/-/browserify-cipher-1.0.1.tgz",+ "integrity": "sha512-sPhkz0ARKbf4rRQt2hTpAHqn47X3llLkUGn+xEJzLjwY8LRs2p0v7ljvI5EyoRO/mexrNunNECisZs+gw2zz1w==",+ "dependencies": {+ "browserify-aes": "^1.0.4",+ "browserify-des": "^1.0.0",+ "evp_bytestokey": "^1.0.0"+ }+ },+ "node_modules/browserify-des": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/browserify-des/-/browserify-des-1.0.2.tgz",+ "integrity": "sha512-BioO1xf3hFwz4kc6iBhI3ieDFompMhrMlnDFC4/0/vd5MokpuAc3R+LYbwTA9A5Yc9pq9UYPqffKpW2ObuwX5A==",+ "dependencies": {+ "cipher-base": "^1.0.1",+ "des.js": "^1.0.0",+ "inherits": "^2.0.1",+ "safe-buffer": "^5.1.2"+ }+ },+ "node_modules/browserify-rsa": {+ "version": "4.1.0",+ "resolved": "https://registry.npmjs.org/browserify-rsa/-/browserify-rsa-4.1.0.tgz",+ "integrity": "sha512-AdEER0Hkspgno2aR97SAf6vi0y0k8NuOpGnVH3O99rcA5Q6sh8QxcngtHuJ6uXwnfAXNM4Gn1Gb7/MV1+Ymbog==",+ "dependencies": {+ "bn.js": "^5.0.0",+ "randombytes": "^2.0.1"+ }+ },+ "node_modules/browserify-sign": {+ "version": "4.2.1",+ "resolved": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.2.1.tgz",+ "integrity": "sha512-/vrA5fguVAKKAVTNJjgSm1tRQDHUU6DbwO9IROu/0WAzC8PKhucDSh18J0RMvVeHAn5puMd+QHC2erPRNf8lmg==",+ "dependencies": {+ "bn.js": "^5.1.1",+ "browserify-rsa": "^4.0.1",+ "create-hash": "^1.2.0",+ "create-hmac": "^1.1.7",+ "elliptic": "^6.5.3",+ "inherits": "^2.0.4",+ "parse-asn1": "^5.1.5",+ "readable-stream": "^3.6.0",+ "safe-buffer": "^5.2.0"+ }+ },+ "node_modules/browserify-zlib": {+ "version": "0.2.0",+ "resolved": "https://registry.npmjs.org/browserify-zlib/-/browserify-zlib-0.2.0.tgz",+ "integrity": "sha512-Z942RysHXmJrhqk88FmKBVq/v5tqmSkDz7p54G/MGyjMnCFFnC79XWNbg+Vta8W6Wb2qtSZTSxIGkJrRpCFEiA==",+ "dependencies": {+ "pako": "~1.0.5"+ }+ },+ "node_modules/browserslist": {+ "version": "4.17.6",+ "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.17.6.tgz",+ "integrity": "sha512-uPgz3vyRTlEiCv4ee9KlsKgo2V6qPk7Jsn0KAn2OBqbqKo3iNcPEC1Ti6J4dwnz+aIRfEEEuOzC9IBk8tXUomw==",+ "dependencies": {+ "caniuse-lite": "^1.0.30001274",+ "electron-to-chromium": "^1.3.886",+ "escalade": "^3.1.1",+ "node-releases": "^2.0.1",+ "picocolors": "^1.0.0"+ },+ "bin": {+ "browserslist": "cli.js"+ },+ "engines": {+ "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/browserslist"+ }+ },+ "node_modules/browserslist/node_modules/node-releases": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.1.tgz",+ "integrity": "sha512-CqyzN6z7Q6aMeF/ktcMVTzhAHCEpf8SOarwpzpf8pNBY2k5/oM34UHldUwp8VKI7uxct2HxSRdJjBaZeESzcxA=="+ },+ "node_modules/buffer": {+ "version": "5.6.0",+ "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.6.0.tgz",+ "integrity": "sha512-/gDYp/UtU0eA1ys8bOs9J6a+E/KWIY+DZ+Q2WESNUA0jFRsJOc0SNUO6xJ5SGA1xueg3NL65W6s+NY5l9cunuw==",+ "dependencies": {+ "base64-js": "^1.0.2",+ "ieee754": "^1.1.4"+ }+ },+ "node_modules/buffer-from": {+ "version": "1.1.2",+ "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz",+ "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==",+ "peer": true+ },+ "node_modules/buffer-writer": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/buffer-writer/-/buffer-writer-2.0.0.tgz",+ "integrity": "sha512-a7ZpuTZU1TRtnwyCNW3I5dc0wWNC3VR9S++Ewyk2HHZdrO3CQJqSpd+95Us590V6AL7JqUAH2IwZ/398PmNFgw==",+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/buffer-xor": {+ "version": "1.0.3",+ "resolved": "https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz",+ "integrity": "sha1-JuYe0UIvtw3ULm42cp7VHYVf6Nk="+ },+ "node_modules/bufferutil": {+ "version": "4.0.5",+ "resolved": "https://registry.npmjs.org/bufferutil/-/bufferutil-4.0.5.tgz",+ "integrity": "sha512-HTm14iMQKK2FjFLRTM5lAVcyaUzOnqbPtesFIvREgXpJHdQm8bWS+GkQgIkfaBYRHuCnea7w8UVNfwiAQhlr9A==",+ "hasInstallScript": true,+ "dependencies": {+ "node-gyp-build": "^4.3.0"+ },+ "engines": {+ "node": ">=6.14.2"+ }+ },+ "node_modules/builtin-status-codes": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz",+ "integrity": "sha1-hZgoeOIbmOHGZCXgPQF0eI9Wnug="+ },+ "node_modules/bytes": {+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz",+ "integrity": "sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg==",+ "engines": {+ "node": ">= 0.8"+ }+ },+ "node_modules/cacheable-lookup": {+ "version": "5.0.4",+ "resolved": "https://registry.npmjs.org/cacheable-lookup/-/cacheable-lookup-5.0.4.tgz",+ "integrity": "sha512-2/kNscPhpcxrOigMZzbiWF7dz8ilhb/nIHU3EyZiXWXpeq/au8qJ8VhdftMkty3n7Gj6HIGalQG8oiBNB3AJgA==",+ "engines": {+ "node": ">=10.6.0"+ }+ },+ "node_modules/cacheable-request": {+ "version": "7.0.2",+ "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-7.0.2.tgz",+ "integrity": "sha512-pouW8/FmiPQbuGpkXQ9BAPv/Mo5xDGANgSNXzTzJ8DrKGuXOssM4wIQRjfanNRh3Yu5cfYPvcorqbhg2KIJtew==",+ "dependencies": {+ "clone-response": "^1.0.2",+ "get-stream": "^5.1.0",+ "http-cache-semantics": "^4.0.0",+ "keyv": "^4.0.0",+ "lowercase-keys": "^2.0.0",+ "normalize-url": "^6.0.1",+ "responselike": "^2.0.0"+ },+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/call-bind": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz",+ "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==",+ "dependencies": {+ "function-bind": "^1.1.1",+ "get-intrinsic": "^1.0.2"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/callsites": {+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",+ "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==",+ "dev": true,+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/camelcase-css": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/camelcase-css/-/camelcase-css-2.0.1.tgz",+ "integrity": "sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==",+ "dev": true,+ "engines": {+ "node": ">= 6"+ }+ },+ "node_modules/caniuse-lite": {+ "version": "1.0.30001279",+ "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001279.tgz",+ "integrity": "sha512-VfEHpzHEXj6/CxggTwSFoZBBYGQfQv9Cf42KPlO79sWXCD1QNKWKsKzFeWL7QpZHJQYAvocqV6Rty1yJMkqWLQ==",+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/browserslist"+ }+ },+ "node_modules/chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "dependencies": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/charenc": {+ "version": "0.0.2",+ "resolved": "https://registry.npmjs.org/charenc/-/charenc-0.0.2.tgz",+ "integrity": "sha1-wKHS86cJLgN3S/qD8UwPxXkKhmc=",+ "engines": {+ "node": "*"+ }+ },+ "node_modules/chokidar": {+ "version": "3.5.1",+ "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.1.tgz",+ "integrity": "sha512-9+s+Od+W0VJJzawDma/gvBNQqkTiqYTWLuZoyAsivsI4AaWTCzHG06/TMjsf1cYe9Cb97UCEhjz7HvnPk2p/tw==",+ "dependencies": {+ "anymatch": "~3.1.1",+ "braces": "~3.0.2",+ "glob-parent": "~5.1.0",+ "is-binary-path": "~2.1.0",+ "is-glob": "~4.0.1",+ "normalize-path": "~3.0.0",+ "readdirp": "~3.5.0"+ },+ "engines": {+ "node": ">= 8.10.0"+ },+ "optionalDependencies": {+ "fsevents": "~2.3.1"+ }+ },+ "node_modules/chrome-trace-event": {+ "version": "1.0.3",+ "resolved": "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.3.tgz",+ "integrity": "sha512-p3KULyQg4S7NIHixdwbGX+nFHkoBiA4YQmyWtjb8XngSKV124nJmRysgAeujbUVb15vh+RvFUfCPqU7rXk+hZg==",+ "peer": true,+ "engines": {+ "node": ">=6.0"+ }+ },+ "node_modules/cipher-base": {+ "version": "1.0.4",+ "resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz",+ "integrity": "sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==",+ "dependencies": {+ "inherits": "^2.0.1",+ "safe-buffer": "^5.0.1"+ }+ },+ "node_modules/classnames": {+ "version": "2.2.6",+ "resolved": "https://registry.npmjs.org/classnames/-/classnames-2.2.6.tgz",+ "integrity": "sha512-JR/iSQOSt+LQIWwrwEzJ9uk0xfN3mTVYMwt1Ir5mUcSN6pU+V4zQFFaJsclJbPuAUQH+yfWef6tm7l1quW3C8Q=="+ },+ "node_modules/clean-stack": {+ "version": "2.2.0",+ "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz",+ "integrity": "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==",+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/clipboard": {+ "version": "2.0.8",+ "resolved": "https://registry.npmjs.org/clipboard/-/clipboard-2.0.8.tgz",+ "integrity": "sha512-Y6WO0unAIQp5bLmk1zdThRhgJt/x3ks6f30s3oE3H1mgIEU33XyQjEf8gsf6DxC7NPX8Y1SsNWjUjL/ywLnnbQ==",+ "dependencies": {+ "good-listener": "^1.2.2",+ "select": "^1.1.2",+ "tiny-emitter": "^2.0.0"+ }+ },+ "node_modules/clone-response": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/clone-response/-/clone-response-1.0.2.tgz",+ "integrity": "sha1-0dyXOSAxTfZ/vrlCI7TuNQI56Ws=",+ "dependencies": {+ "mimic-response": "^1.0.0"+ }+ },+ "node_modules/clsx": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/clsx/-/clsx-1.1.1.tgz",+ "integrity": "sha512-6/bPho624p3S2pMyvP5kKBPXnI3ufHLObBFCfgx+LkeR5lg2XYy2hqZqUf45ypD8COn2bhgGJSUE+l5dhNBieA==",+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/code-point-at": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz",+ "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=",+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/color": {+ "version": "4.0.1",+ "resolved": "https://registry.npmjs.org/color/-/color-4.0.1.tgz",+ "integrity": "sha512-rpZjOKN5O7naJxkH2Rx1sZzzBgaiWECc6BYXjeCE6kF0kcASJYbUq02u7JqIHwCb/j3NhV+QhRL2683aICeGZA==",+ "dev": true,+ "dependencies": {+ "color-convert": "^2.0.1",+ "color-string": "^1.6.0"+ }+ },+ "node_modules/color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",+ "dependencies": {+ "color-name": "1.1.3"+ }+ },+ "node_modules/color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU="+ },+ "node_modules/color-string": {+ "version": "1.6.0",+ "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.6.0.tgz",+ "integrity": "sha512-c/hGS+kRWJutUBEngKKmk4iH3sD59MBkoxVapS/0wgpCz2u7XsNloxknyvBhzwEs1IbV36D9PwqLPJ2DTu3vMA==",+ "dev": true,+ "dependencies": {+ "color-name": "^1.0.0",+ "simple-swizzle": "^0.2.2"+ }+ },+ "node_modules/color/node_modules/color-convert": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",+ "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",+ "dev": true,+ "dependencies": {+ "color-name": "~1.1.4"+ },+ "engines": {+ "node": ">=7.0.0"+ }+ },+ "node_modules/color/node_modules/color-name": {+ "version": "1.1.4",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",+ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",+ "dev": true+ },+ "node_modules/colorette": {+ "version": "1.4.0",+ "resolved": "https://registry.npmjs.org/colorette/-/colorette-1.4.0.tgz",+ "integrity": "sha512-Y2oEozpomLn7Q3HFP7dpww7AtMJplbM9lGZP6RDfHqmbeRjiwRg4n6VM6j4KLmRke85uWEI7JqF17f3pqdRA0g=="+ },+ "node_modules/commander": {+ "version": "6.2.1",+ "resolved": "https://registry.npmjs.org/commander/-/commander-6.2.1.tgz",+ "integrity": "sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA==",+ "dev": true,+ "engines": {+ "node": ">= 6"+ }+ },+ "node_modules/commondir": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz",+ "integrity": "sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs="+ },+ "node_modules/component-type": {+ "version": "1.2.1",+ "resolved": "https://registry.npmjs.org/component-type/-/component-type-1.2.1.tgz",+ "integrity": "sha1-ikeQFwAjjk/DIml3EjAibyS0Fak="+ },+ "node_modules/concat-map": {+ "version": "0.0.1",+ "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",+ "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=",+ "dev": true+ },+ "node_modules/configcat-common": {+ "version": "4.5.0",+ "resolved": "https://registry.npmjs.org/configcat-common/-/configcat-common-4.5.0.tgz",+ "integrity": "sha512-RZA0C1BVRlXJaavehPXk8q2YpmZyLovUFz0SHHdfePteDJjZ2iL7USahQi0SwpPK+BA5PKUvHZMkchMV2UGuPA=="+ },+ "node_modules/configcat-js": {+ "version": "5.6.0",+ "resolved": "https://registry.npmjs.org/configcat-js/-/configcat-js-5.6.0.tgz",+ "integrity": "sha512-lMNdspGPCTSoIqtNQojXCKi4wjX1hl0vnTN3FMUKJQjCY32A6b9kBlbEocsVgzXEoArktRuMzOaXOVmY9+J8Tg==",+ "dependencies": {+ "configcat-common": "^4.5.0"+ }+ },+ "node_modules/console-browserify": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/console-browserify/-/console-browserify-1.2.0.tgz",+ "integrity": "sha512-ZMkYO/LkF17QvCPqM0gxw8yUzigAOZOSWSHg91FH6orS7vcEj5dVZTidN2fQ14yBSdg97RqhSNwLUXInd52OTA=="+ },+ "node_modules/console-control-strings": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz",+ "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4="+ },+ "node_modules/constants-browserify": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/constants-browserify/-/constants-browserify-1.0.0.tgz",+ "integrity": "sha1-wguW2MYXdIqvHBYCF2DNJ/y4y3U="+ },+ "node_modules/convert-source-map": {+ "version": "1.7.0",+ "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.7.0.tgz",+ "integrity": "sha512-4FJkXzKXEDB1snCFZlLP4gpC3JILicCpGbzG9f9G7tGqGCzETQ2hWPrcinA9oU4wtf2biUaEH5065UnMeR33oA==",+ "dependencies": {+ "safe-buffer": "~5.1.1"+ }+ },+ "node_modules/convert-source-map/node_modules/safe-buffer": {+ "version": "5.1.2",+ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",+ "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="+ },+ "node_modules/cookie": {+ "version": "0.4.1",+ "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.1.tgz",+ "integrity": "sha512-ZwrFkGJxUR3EIoXtO+yVE69Eb7KlixbaeAWfBQB9vVsNn/o+Yw69gBWSSDK825hQNdN+wF8zELf3dFNl/kxkUA==",+ "engines": {+ "node": ">= 0.6"+ }+ },+ "node_modules/core-util-is": {+ "version": "1.0.3",+ "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz",+ "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ=="+ },+ "node_modules/cosmiconfig": {+ "version": "7.0.1",+ "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.0.1.tgz",+ "integrity": "sha512-a1YWNUV2HwGimB7dU2s1wUMurNKjpx60HxBB6xUM8Re+2s1g1IIfJvFR0/iCF+XHdE0GMTKTuLR32UQff4TEyQ==",+ "dev": true,+ "dependencies": {+ "@types/parse-json": "^4.0.0",+ "import-fresh": "^3.2.1",+ "parse-json": "^5.0.0",+ "path-type": "^4.0.0",+ "yaml": "^1.10.0"+ },+ "engines": {+ "node": ">=10"+ }+ },+ "node_modules/create-ecdh": {+ "version": "4.0.4",+ "resolved": "https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.4.tgz",+ "integrity": "sha512-mf+TCx8wWc9VpuxfP2ht0iSISLZnt0JgWlrOKZiNqyUZWnjIaCIVNQArMHnCZKfEYRg6IM7A+NeJoN8gf/Ws0A==",+ "dependencies": {+ "bn.js": "^4.1.0",+ "elliptic": "^6.5.3"+ }+ },+ "node_modules/create-ecdh/node_modules/bn.js": {+ "version": "4.12.0",+ "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz",+ "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA=="+ },+ "node_modules/create-hash": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz",+ "integrity": "sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==",+ "dependencies": {+ "cipher-base": "^1.0.1",+ "inherits": "^2.0.1",+ "md5.js": "^1.3.4",+ "ripemd160": "^2.0.1",+ "sha.js": "^2.4.0"+ }+ },+ "node_modules/create-hmac": {+ "version": "1.1.7",+ "resolved": "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz",+ "integrity": "sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg==",+ "dependencies": {+ "cipher-base": "^1.0.3",+ "create-hash": "^1.1.0",+ "inherits": "^2.0.1",+ "ripemd160": "^2.0.0",+ "safe-buffer": "^5.0.1",+ "sha.js": "^2.4.8"+ }+ },+ "node_modules/cross-fetch": {+ "version": "3.1.4",+ "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.4.tgz",+ "integrity": "sha512-1eAtFWdIubi6T4XPy6ei9iUFoKpUkIF971QLN8lIvvvwueI65+Nw5haMNKUwfJxabqlIIDODJKGrQ66gxC0PbQ==",+ "dependencies": {+ "node-fetch": "2.6.1"+ }+ },+ "node_modules/crypt": {+ "version": "0.0.2",+ "resolved": "https://registry.npmjs.org/crypt/-/crypt-0.0.2.tgz",+ "integrity": "sha1-iNf/fsDfuG9xPch7u0LQRNPmxBs=",+ "engines": {+ "node": "*"+ }+ },+ "node_modules/crypto-browserify": {+ "version": "3.12.0",+ "resolved": "https://registry.npmjs.org/crypto-browserify/-/crypto-browserify-3.12.0.tgz",+ "integrity": "sha512-fz4spIh+znjO2VjL+IdhEpRJ3YN6sMzITSBijk6FK2UvTqruSQW+/cCZTSNsMiZNvUeq0CqurF+dAbyiGOY6Wg==",+ "dependencies": {+ "browserify-cipher": "^1.0.0",+ "browserify-sign": "^4.0.0",+ "create-ecdh": "^4.0.0",+ "create-hash": "^1.1.0",+ "create-hmac": "^1.1.0",+ "diffie-hellman": "^5.0.0",+ "inherits": "^2.0.1",+ "pbkdf2": "^3.0.3",+ "public-encrypt": "^4.0.0",+ "randombytes": "^2.0.0",+ "randomfill": "^1.0.3"+ },+ "engines": {+ "node": "*"+ }+ },+ "node_modules/crypto-js": {+ "version": "4.1.1",+ "resolved": "https://registry.npmjs.org/crypto-js/-/crypto-js-4.1.1.tgz",+ "integrity": "sha512-o2JlM7ydqd3Qk9CA0L4NL6mTzU2sdx96a+oOfPu8Mkl/PK51vSyoi8/rQ8NknZtk44vq15lmhAj9CIAGwgeWKw=="+ },+ "node_modules/css-box-model": {+ "version": "1.2.1",+ "resolved": "https://registry.npmjs.org/css-box-model/-/css-box-model-1.2.1.tgz",+ "integrity": "sha512-a7Vr4Q/kd/aw96bnJG332W9V9LkJO69JRcaCYDUqjp6/z0w6VcZjgAcTbgFxEPfBgdnAwlh3iwu+hLopa+flJw==",+ "dependencies": {+ "tiny-invariant": "^1.0.6"+ }+ },+ "node_modules/css-color-names": {+ "version": "0.0.4",+ "resolved": "https://registry.npmjs.org/css-color-names/-/css-color-names-0.0.4.tgz",+ "integrity": "sha1-gIrcLnnPhHOAabZGyyDsJ762KeA=",+ "dev": true,+ "engines": {+ "node": "*"+ }+ },+ "node_modules/css-unit-converter": {+ "version": "1.1.2",+ "resolved": "https://registry.npmjs.org/css-unit-converter/-/css-unit-converter-1.1.2.tgz",+ "integrity": "sha512-IiJwMC8rdZE0+xiEZHeru6YoONC4rfPMqGm2W85jMIbkFvv5nFTwJVFHam2eFrN6txmoUYFAFXiv8ICVeTO0MA=="+ },+ "node_modules/css.escape": {+ "version": "1.5.1",+ "resolved": "https://registry.npmjs.org/css.escape/-/css.escape-1.5.1.tgz",+ "integrity": "sha1-QuJ9T6BK4y+TGktNQZH6nN3ul8s="+ },+ "node_modules/cssesc": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz",+ "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==",+ "dev": true,+ "bin": {+ "cssesc": "bin/cssesc"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/cssnano-preset-simple": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/cssnano-preset-simple/-/cssnano-preset-simple-2.0.0.tgz",+ "integrity": "sha512-HkufSLkaBJbKBFx/7aj5HmCK9Ni/JedRQm0mT2qBzMG/dEuJOLnMt2lK6K1rwOOyV4j9aSY+knbW9WoS7BYpzg==",+ "dependencies": {+ "caniuse-lite": "^1.0.30001202"+ },+ "peerDependencies": {+ "postcss": "^8.2.1"+ }+ },+ "node_modules/cssnano-simple": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/cssnano-simple/-/cssnano-simple-2.0.0.tgz",+ "integrity": "sha512-0G3TXaFxlh/szPEG/o3VcmCwl0N3E60XNb9YZZijew5eIs6fLjJuOPxQd9yEBaX2p/YfJtt49i4vYi38iH6/6w==",+ "dependencies": {+ "cssnano-preset-simple": "^2.0.0"+ },+ "peerDependencies": {+ "postcss": "^8.2.2"+ }+ },+ "node_modules/csstype": {+ "version": "3.0.9",+ "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.0.9.tgz",+ "integrity": "sha512-rpw6JPxK6Rfg1zLOYCSwle2GFOOsnjmDYDaBwEcwoOg4qlsIVCN789VkBZDJAGi4T07gI4YSutR43t9Zz4Lzuw=="+ },+ "node_modules/d": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/d/-/d-1.0.1.tgz",+ "integrity": "sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA==",+ "dependencies": {+ "es5-ext": "^0.10.50",+ "type": "^1.0.1"+ }+ },+ "node_modules/d3-array": {+ "version": "2.12.1",+ "resolved": "https://registry.npmjs.org/d3-array/-/d3-array-2.12.1.tgz",+ "integrity": "sha512-B0ErZK/66mHtEsR1TkPEEkwdy+WDesimkM5gpZr5Dsg54BiTA5RXtYW5qTLIAcekaS9xfZrzBLF/OAkB3Qn1YQ==",+ "dependencies": {+ "internmap": "^1.0.0"+ }+ },+ "node_modules/d3-color": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/d3-color/-/d3-color-2.0.0.tgz",+ "integrity": "sha512-SPXi0TSKPD4g9tw0NMZFnR95XVgUZiBH+uUTqQuDu1OsE2zomHU7ho0FISciaPvosimixwHFl3WHLGabv6dDgQ=="+ },+ "node_modules/d3-format": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/d3-format/-/d3-format-2.0.0.tgz",+ "integrity": "sha512-Ab3S6XuE/Q+flY96HXT0jOXcM4EAClYFnRGY5zsjRGNy6qCYrQsMffs7cV5Q9xejb35zxW5hf/guKw34kvIKsA=="+ },+ "node_modules/d3-interpolate": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/d3-interpolate/-/d3-interpolate-2.0.1.tgz",+ "integrity": "sha512-c5UhwwTs/yybcmTpAVqwSFl6vrQ8JZJoT5F7xNFK9pymv5C0Ymcc9/LIJHtYIggg/yS9YHw8i8O8tgb9pupjeQ==",+ "dependencies": {+ "d3-color": "1 - 2"+ }+ },+ "node_modules/d3-path": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/d3-path/-/d3-path-2.0.0.tgz",+ "integrity": "sha512-ZwZQxKhBnv9yHaiWd6ZU4x5BtCQ7pXszEV9CU6kRgwIQVQGLMv1oiL4M+MK/n79sYzsj+gcgpPQSctJUsLN7fA=="+ },+ "node_modules/d3-scale": {+ "version": "3.3.0",+ "resolved": "https://registry.npmjs.org/d3-scale/-/d3-scale-3.3.0.tgz",+ "integrity": "sha512-1JGp44NQCt5d1g+Yy+GeOnZP7xHo0ii8zsQp6PGzd+C1/dl0KGsp9A7Mxwp+1D1o4unbTTxVdU/ZOIEBoeZPbQ==",+ "dependencies": {+ "d3-array": "^2.3.0",+ "d3-format": "1 - 2",+ "d3-interpolate": "1.2.0 - 2",+ "d3-time": "^2.1.1",+ "d3-time-format": "2 - 3"+ }+ },+ "node_modules/d3-shape": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/d3-shape/-/d3-shape-2.1.0.tgz",+ "integrity": "sha512-PnjUqfM2PpskbSLTJvAzp2Wv4CZsnAgTfcVRTwW03QR3MkXF8Uo7B1y/lWkAsmbKwuecto++4NlsYcvYpXpTHA==",+ "dependencies": {+ "d3-path": "1 - 2"+ }+ },+ "node_modules/d3-time": {+ "version": "2.1.1",+ "resolved": "https://registry.npmjs.org/d3-time/-/d3-time-2.1.1.tgz",+ "integrity": "sha512-/eIQe/eR4kCQwq7yxi7z4c6qEXf2IYGcjoWB5OOQy4Tq9Uv39/947qlDcN2TLkiTzQWzvnsuYPB9TrWaNfipKQ==",+ "dependencies": {+ "d3-array": "2"+ }+ },+ "node_modules/d3-time-format": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/d3-time-format/-/d3-time-format-3.0.0.tgz",+ "integrity": "sha512-UXJh6EKsHBTjopVqZBhFysQcoXSv/5yLONZvkQ5Kk3qbwiUYkdX17Xa1PT6U1ZWXGGfB1ey5L8dKMlFq2DO0Ag==",+ "dependencies": {+ "d3-time": "1 - 2"+ }+ },+ "node_modules/data-uri-to-buffer": {+ "version": "3.0.1",+ "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-3.0.1.tgz",+ "integrity": "sha512-WboRycPNsVw3B3TL559F7kuBUM4d8CgMEvk6xEJlOp7OBPjt6G7z8WMWlD2rOFZLk6OYfFIUGsCOWzcQH9K2og==",+ "engines": {+ "node": ">= 6"+ }+ },+ "node_modules/dayjs": {+ "version": "1.10.7",+ "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.10.7.tgz",+ "integrity": "sha512-P6twpd70BcPK34K26uJ1KT3wlhpuOAPoMwJzpsIWUxHZ7wpmbdZL/hQqBDfz7hGurYSa5PhzdhDHtt319hL3ig=="+ },+ "node_modules/debounce-promise": {+ "version": "3.1.2",+ "resolved": "https://registry.npmjs.org/debounce-promise/-/debounce-promise-3.1.2.tgz",+ "integrity": "sha512-rZHcgBkbYavBeD9ej6sP56XfG53d51CD4dnaw989YX/nZ/ZJfgRx/9ePKmTNiUiyQvh4mtrMoS3OAWW+yoYtpg=="+ },+ "node_modules/debug": {+ "version": "2.6.9",+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",+ "dependencies": {+ "ms": "2.0.0"+ }+ },+ "node_modules/decimal.js-light": {+ "version": "2.5.1",+ "resolved": "https://registry.npmjs.org/decimal.js-light/-/decimal.js-light-2.5.1.tgz",+ "integrity": "sha512-qIMFpTMZmny+MMIitAB6D7iVPEorVw6YQRWkvarTkT4tBeSLLiHzcwj6q0MmYSFCiVpiqPJTJEYIrpcPzVEIvg=="+ },+ "node_modules/decompress-response": {+ "version": "6.0.0",+ "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-6.0.0.tgz",+ "integrity": "sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ==",+ "dependencies": {+ "mimic-response": "^3.1.0"+ },+ "engines": {+ "node": ">=10"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/decompress-response/node_modules/mimic-response": {+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-3.1.0.tgz",+ "integrity": "sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ==",+ "engines": {+ "node": ">=10"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/defer-to-connect": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-2.0.1.tgz",+ "integrity": "sha512-4tvttepXG1VaYGrRibk5EwJd1t4udunSOVMdLSAL6mId1ix438oPwPZMALY41FCijukO1L0twNcGsdzS7dHgDg==",+ "engines": {+ "node": ">=10"+ }+ },+ "node_modules/define-properties": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz",+ "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==",+ "dependencies": {+ "object-keys": "^1.0.12"+ },+ "engines": {+ "node": ">= 0.4"+ }+ },+ "node_modules/defined": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/defined/-/defined-1.0.0.tgz",+ "integrity": "sha1-yY2bzvdWdBiOEQlpFRGZ45sfppM=",+ "dev": true+ },+ "node_modules/delegate": {+ "version": "3.2.0",+ "resolved": "https://registry.npmjs.org/delegate/-/delegate-3.2.0.tgz",+ "integrity": "sha512-IofjkYBZaZivn0V8nnsMJGBr4jVLxHDheKSW88PyxS5QC4Vo9ZbZVvhzlSxY87fVq3STR6r+4cGepyHkcWOQSw=="+ },+ "node_modules/delegates": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz",+ "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o="+ },+ "node_modules/depd": {+ "version": "1.1.2",+ "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz",+ "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=",+ "engines": {+ "node": ">= 0.6"+ }+ },+ "node_modules/dequal": {+ "version": "2.0.2",+ "resolved": "https://registry.npmjs.org/dequal/-/dequal-2.0.2.tgz",+ "integrity": "sha512-q9K8BlJVxK7hQYqa6XISGmBZbtQQWVXSrRrWreHC94rMt1QL/Impruc+7p2CYSYuVIUr+YCt6hjrs1kkdJRTug==",+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/des.js": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/des.js/-/des.js-1.0.1.tgz",+ "integrity": "sha512-Q0I4pfFrv2VPd34/vfLrFOoRmlYj3OV50i7fskps1jZWK1kApMWWT9G6RRUeYedLcBDIhnSDaUvJMb3AhUlaEA==",+ "dependencies": {+ "inherits": "^2.0.1",+ "minimalistic-assert": "^1.0.0"+ }+ },+ "node_modules/detective": {+ "version": "5.2.0",+ "resolved": "https://registry.npmjs.org/detective/-/detective-5.2.0.tgz",+ "integrity": "sha512-6SsIx+nUUbuK0EthKjv0zrdnajCCXVYGmbYYiYjFVpzcjwEs/JMDZ8tPRG29J/HhN56t3GJp2cGSWDRjjot8Pg==",+ "dev": true,+ "dependencies": {+ "acorn-node": "^1.6.1",+ "defined": "^1.0.0",+ "minimist": "^1.1.1"+ },+ "bin": {+ "detective": "bin/detective.js"+ },+ "engines": {+ "node": ">=0.8.0"+ }+ },+ "node_modules/didyoumean": {+ "version": "1.2.2",+ "resolved": "https://registry.npmjs.org/didyoumean/-/didyoumean-1.2.2.tgz",+ "integrity": "sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==",+ "dev": true+ },+ "node_modules/diffie-hellman": {+ "version": "5.0.3",+ "resolved": "https://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.3.tgz",+ "integrity": "sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg==",+ "dependencies": {+ "bn.js": "^4.1.0",+ "miller-rabin": "^4.0.0",+ "randombytes": "^2.0.0"+ }+ },+ "node_modules/diffie-hellman/node_modules/bn.js": {+ "version": "4.12.0",+ "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz",+ "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA=="+ },+ "node_modules/dlv": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/dlv/-/dlv-1.1.3.tgz",+ "integrity": "sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==",+ "dev": true+ },+ "node_modules/dnd-core": {+ "version": "14.0.0",+ "resolved": "https://registry.npmjs.org/dnd-core/-/dnd-core-14.0.0.tgz",+ "integrity": "sha512-wTDYKyjSqWuYw3ZG0GJ7k+UIfzxTNoZLjDrut37PbcPGNfwhlKYlPUqjAKUjOOv80izshUiqusaKgJPItXSevA==",+ "dependencies": {+ "@react-dnd/asap": "^4.0.0",+ "@react-dnd/invariant": "^2.0.0",+ "redux": "^4.0.5"+ }+ },+ "node_modules/dom-helpers": {+ "version": "3.4.0",+ "resolved": "https://registry.npmjs.org/dom-helpers/-/dom-helpers-3.4.0.tgz",+ "integrity": "sha512-LnuPJ+dwqKDIyotW1VzmOZ5TONUN7CwkCR5hrgawTUbkBGYdeoNLZo6nNfGkCrjtE1nXXaj7iMMpDa8/d9WoIA==",+ "dependencies": {+ "@babel/runtime": "^7.1.2"+ }+ },+ "node_modules/domain-browser": {+ "version": "4.19.0",+ "resolved": "https://registry.npmjs.org/domain-browser/-/domain-browser-4.19.0.tgz",+ "integrity": "sha512-fRA+BaAWOR/yr/t7T9E9GJztHPeFjj8U35ajyAjCDtAAnTn1Rc1f6W6VGPJrO1tkQv9zWu+JRof7z6oQtiYVFQ==",+ "engines": {+ "node": ">=10"+ },+ "funding": {+ "url": "https://bevry.me/fund"+ }+ },+ "node_modules/duplexer": {+ "version": "0.1.2",+ "resolved": "https://registry.npmjs.org/duplexer/-/duplexer-0.1.2.tgz",+ "integrity": "sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg==",+ "dev": true+ },+ "node_modules/electron-to-chromium": {+ "version": "1.3.893",+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.893.tgz",+ "integrity": "sha512-ChtwF7qB03INq1SyMpue08wc6cve+ktj2UC/Y7se9vB+JryfzziJeYwsgb8jLaCA5GMkHCdn5M62PfSMWhifZg=="+ },+ "node_modules/elliptic": {+ "version": "6.5.4",+ "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz",+ "integrity": "sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==",+ "dependencies": {+ "bn.js": "^4.11.9",+ "brorand": "^1.1.0",+ "hash.js": "^1.0.0",+ "hmac-drbg": "^1.0.1",+ "inherits": "^2.0.4",+ "minimalistic-assert": "^1.0.1",+ "minimalistic-crypto-utils": "^1.0.1"+ }+ },+ "node_modules/elliptic/node_modules/bn.js": {+ "version": "4.12.0",+ "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz",+ "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA=="+ },+ "node_modules/emojis-list": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/emojis-list/-/emojis-list-2.1.0.tgz",+ "integrity": "sha1-TapNnbAPmBmIDHn6RXrlsJof04k=",+ "engines": {+ "node": ">= 0.10"+ }+ },+ "node_modules/encoding": {+ "version": "0.1.13",+ "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz",+ "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==",+ "dependencies": {+ "iconv-lite": "^0.6.2"+ }+ },+ "node_modules/end-of-stream": {+ "version": "1.4.4",+ "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz",+ "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==",+ "dependencies": {+ "once": "^1.4.0"+ }+ },+ "node_modules/enhanced-resolve": {+ "version": "5.8.3",+ "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.8.3.tgz",+ "integrity": "sha512-EGAbGvH7j7Xt2nc0E7D99La1OiEs8LnyimkRgwExpUMScN6O+3x9tIWs7PLQZVNx4YD+00skHXPXi1yQHpAmZA==",+ "peer": true,+ "dependencies": {+ "graceful-fs": "^4.2.4",+ "tapable": "^2.2.0"+ },+ "engines": {+ "node": ">=10.13.0"+ }+ },+ "node_modules/error-ex": {+ "version": "1.3.2",+ "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz",+ "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==",+ "dev": true,+ "dependencies": {+ "is-arrayish": "^0.2.1"+ }+ },+ "node_modules/es-abstract": {+ "version": "1.18.6",+ "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.18.6.tgz",+ "integrity": "sha512-kAeIT4cku5eNLNuUKhlmtuk1/TRZvQoYccn6TO0cSVdf1kzB0T7+dYuVK9MWM7l+/53W2Q8M7N2c6MQvhXFcUQ==",+ "dependencies": {+ "call-bind": "^1.0.2",+ "es-to-primitive": "^1.2.1",+ "function-bind": "^1.1.1",+ "get-intrinsic": "^1.1.1",+ "get-symbol-description": "^1.0.0",+ "has": "^1.0.3",+ "has-symbols": "^1.0.2",+ "internal-slot": "^1.0.3",+ "is-callable": "^1.2.4",+ "is-negative-zero": "^2.0.1",+ "is-regex": "^1.1.4",+ "is-string": "^1.0.7",+ "object-inspect": "^1.11.0",+ "object-keys": "^1.1.1",+ "object.assign": "^4.1.2",+ "string.prototype.trimend": "^1.0.4",+ "string.prototype.trimstart": "^1.0.4",+ "unbox-primitive": "^1.0.1"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/es-module-lexer": {+ "version": "0.9.3",+ "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-0.9.3.tgz",+ "integrity": "sha512-1HQ2M2sPtxwnvOvT1ZClHyQDiggdNjURWpY2we6aMKCQiUVxTmVs2UYPLIrD84sS+kMdUwfBSylbJPwNnBrnHQ==",+ "peer": true+ },+ "node_modules/es-to-primitive": {+ "version": "1.2.1",+ "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz",+ "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==",+ "dependencies": {+ "is-callable": "^1.1.4",+ "is-date-object": "^1.0.1",+ "is-symbol": "^1.0.2"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/es5-ext": {+ "version": "0.10.53",+ "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.53.tgz",+ "integrity": "sha512-Xs2Stw6NiNHWypzRTY1MtaG/uJlwCk8kH81920ma8mvN8Xq1gsfhZvpkImLQArw8AHnv8MT2I45J3c0R8slE+Q==",+ "dependencies": {+ "es6-iterator": "~2.0.3",+ "es6-symbol": "~3.1.3",+ "next-tick": "~1.0.0"+ }+ },+ "node_modules/es6-iterator": {+ "version": "2.0.3",+ "resolved": "https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.3.tgz",+ "integrity": "sha1-p96IkUGgWpSwhUQDstCg+/qY87c=",+ "dependencies": {+ "d": "1",+ "es5-ext": "^0.10.35",+ "es6-symbol": "^3.1.1"+ }+ },+ "node_modules/es6-object-assign": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/es6-object-assign/-/es6-object-assign-1.1.0.tgz",+ "integrity": "sha1-wsNYJlYkfDnqEHyx5mUrb58kUjw="+ },+ "node_modules/es6-symbol": {+ "version": "3.1.3",+ "resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.3.tgz",+ "integrity": "sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA==",+ "dependencies": {+ "d": "^1.0.1",+ "ext": "^1.1.2"+ }+ },+ "node_modules/escalade": {+ "version": "3.1.1",+ "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz",+ "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==",+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/escape-string-regexp": {+ "version": "1.0.5",+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",+ "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=",+ "engines": {+ "node": ">=0.8.0"+ }+ },+ "node_modules/eslint-scope": {+ "version": "5.1.1",+ "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz",+ "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==",+ "peer": true,+ "dependencies": {+ "esrecurse": "^4.3.0",+ "estraverse": "^4.1.1"+ },+ "engines": {+ "node": ">=8.0.0"+ }+ },+ "node_modules/esrecurse": {+ "version": "4.3.0",+ "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz",+ "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==",+ "peer": true,+ "dependencies": {+ "estraverse": "^5.2.0"+ },+ "engines": {+ "node": ">=4.0"+ }+ },+ "node_modules/esrecurse/node_modules/estraverse": {+ "version": "5.3.0",+ "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz",+ "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==",+ "peer": true,+ "engines": {+ "node": ">=4.0"+ }+ },+ "node_modules/estraverse": {+ "version": "4.3.0",+ "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz",+ "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==",+ "peer": true,+ "engines": {+ "node": ">=4.0"+ }+ },+ "node_modules/esutils": {+ "version": "2.0.3",+ "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz",+ "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==",+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/etag": {+ "version": "1.8.1",+ "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz",+ "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=",+ "engines": {+ "node": ">= 0.6"+ }+ },+ "node_modules/eventemitter3": {+ "version": "4.0.7",+ "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz",+ "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw=="+ },+ "node_modules/events": {+ "version": "3.3.0",+ "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz",+ "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==",+ "engines": {+ "node": ">=0.8.x"+ }+ },+ "node_modules/evp_bytestokey": {+ "version": "1.0.3",+ "resolved": "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz",+ "integrity": "sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==",+ "dependencies": {+ "md5.js": "^1.3.4",+ "safe-buffer": "^5.1.1"+ }+ },+ "node_modules/exenv": {+ "version": "1.2.2",+ "resolved": "https://registry.npmjs.org/exenv/-/exenv-1.2.2.tgz",+ "integrity": "sha1-KueOhdmJQVhnCwPUe+wfA72Ru50="+ },+ "node_modules/ext": {+ "version": "1.6.0",+ "resolved": "https://registry.npmjs.org/ext/-/ext-1.6.0.tgz",+ "integrity": "sha512-sdBImtzkq2HpkdRLtlLWDa6w4DX22ijZLKx8BMPUuKe1c5lbN6xwQDQCxSfxBQnHZ13ls/FH0MQZx/q/gr6FQg==",+ "dependencies": {+ "type": "^2.5.0"+ }+ },+ "node_modules/ext/node_modules/type": {+ "version": "2.5.0",+ "resolved": "https://registry.npmjs.org/type/-/type-2.5.0.tgz",+ "integrity": "sha512-180WMDQaIMm3+7hGXWf12GtdniDEy7nYcyFMKJn/eZz/6tSLXrUN9V0wKSbMjej0I1WHWbpREDEKHtqPQa9NNw=="+ },+ "node_modules/fast-deep-equal": {+ "version": "3.1.3",+ "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",+ "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q=="+ },+ "node_modules/fast-equals": {+ "version": "2.0.3",+ "resolved": "https://registry.npmjs.org/fast-equals/-/fast-equals-2.0.3.tgz",+ "integrity": "sha512-0EMw4TTUxsMDpDkCg0rXor2gsg+npVrMIHbEhvD0HZyIhUX6AktC/yasm+qKwfyswd06Qy95ZKk8p2crTo0iPA=="+ },+ "node_modules/fast-glob": {+ "version": "3.2.7",+ "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.7.tgz",+ "integrity": "sha512-rYGMRwip6lUMvYD3BTScMwT1HtAs2d71SMv66Vrxs0IekGZEjhM0pcMfjQPnknBt2zeCwQMEupiN02ZP4DiT1Q==",+ "dev": true,+ "dependencies": {+ "@nodelib/fs.stat": "^2.0.2",+ "@nodelib/fs.walk": "^1.2.3",+ "glob-parent": "^5.1.2",+ "merge2": "^1.3.0",+ "micromatch": "^4.0.4"+ },+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/fast-json-stable-stringify": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz",+ "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==",+ "peer": true+ },+ "node_modules/fastq": {+ "version": "1.13.0",+ "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.13.0.tgz",+ "integrity": "sha512-YpkpUnK8od0o1hmeSc7UUs/eB/vIPWJYjKck2QKIzAf71Vm1AAQ3EbuZB3g2JIy+pg+ERD0vqI79KyZiB2e2Nw==",+ "dev": true,+ "dependencies": {+ "reusify": "^1.0.4"+ }+ },+ "node_modules/file-saver": {+ "version": "2.0.5",+ "resolved": "https://registry.npmjs.org/file-saver/-/file-saver-2.0.5.tgz",+ "integrity": "sha512-P9bmyZ3h/PRG+Nzga+rbdI4OEpNDzAVyy74uVO9ATgzLK6VtAsYybF/+TOCvrc0MO793d6+42lLyZTw7/ArVzA=="+ },+ "node_modules/fill-range": {+ "version": "7.0.1",+ "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz",+ "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==",+ "dependencies": {+ "to-regex-range": "^5.0.1"+ },+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/find-cache-dir": {+ "version": "3.3.1",+ "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-3.3.1.tgz",+ "integrity": "sha512-t2GDMt3oGC/v+BMwzmllWDuJF/xcDtE5j/fCGbqDD7OLuJkj0cfh1YSA5VKPvwMeLFLNDBkwOKZ2X85jGLVftQ==",+ "dependencies": {+ "commondir": "^1.0.1",+ "make-dir": "^3.0.2",+ "pkg-dir": "^4.1.0"+ },+ "engines": {+ "node": ">=8"+ },+ "funding": {+ "url": "https://github.com/avajs/find-cache-dir?sponsor=1"+ }+ },+ "node_modules/find-up": {+ "version": "4.1.0",+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz",+ "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==",+ "dependencies": {+ "locate-path": "^5.0.0",+ "path-exists": "^4.0.0"+ },+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/follow-redirects": {+ "version": "1.14.5",+ "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.5.tgz",+ "integrity": "sha512-wtphSXy7d4/OR+MvIFbCVBDzZ5520qV8XfPklSN5QtxuMUJZ+b0Wnst1e1lCDocfzuCkHqj8k0FpZqO+UIaKNA==",+ "funding": [+ {+ "type": "individual",+ "url": "https://github.com/sponsors/RubenVerborgh"+ }+ ],+ "engines": {+ "node": ">=4.0"+ },+ "peerDependenciesMeta": {+ "debug": {+ "optional": true+ }+ }+ },+ "node_modules/foreach": {+ "version": "2.0.5",+ "resolved": "https://registry.npmjs.org/foreach/-/foreach-2.0.5.tgz",+ "integrity": "sha1-C+4AUBiusmDQo6865ljdATbsG5k="+ },+ "node_modules/fraction.js": {+ "version": "4.1.1",+ "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.1.1.tgz",+ "integrity": "sha512-MHOhvvxHTfRFpF1geTK9czMIZ6xclsEor2wkIGYYq+PxcQqT7vStJqjhe6S1TenZrMZzo+wlqOufBDVepUEgPg==",+ "dev": true,+ "engines": {+ "node": "*"+ },+ "funding": {+ "type": "patreon",+ "url": "https://www.patreon.com/infusion"+ }+ },+ "node_modules/fs-extra": {+ "version": "10.0.0",+ "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.0.0.tgz",+ "integrity": "sha512-C5owb14u9eJwizKGdchcDUQeFtlSHHthBk8pbX9Vc1PFZrLombudjDnNns88aYslCyF6IY5SUw3Roz6xShcEIQ==",+ "dev": true,+ "dependencies": {+ "graceful-fs": "^4.2.0",+ "jsonfile": "^6.0.1",+ "universalify": "^2.0.0"+ },+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/fs.realpath": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",+ "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=",+ "dev": true+ },+ "node_modules/fsevents": {+ "version": "2.3.2",+ "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz",+ "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==",+ "hasInstallScript": true,+ "optional": true,+ "os": [+ "darwin"+ ],+ "engines": {+ "node": "^8.16.0 || ^10.6.0 || >=11.0.0"+ }+ },+ "node_modules/function-bind": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",+ "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A=="+ },+ "node_modules/futoin-hkdf": {+ "version": "1.4.2",+ "resolved": "https://registry.npmjs.org/futoin-hkdf/-/futoin-hkdf-1.4.2.tgz",+ "integrity": "sha512-2BggwLEJOTfXzKq4Tl2bIT37p0IqqKkblH4e0cMp2sXTdmwg/ADBKMxvxaEytYYcgdxgng8+acsi3WgMVUl6CQ==",+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/gauge": {+ "version": "2.7.4",+ "resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz",+ "integrity": "sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=",+ "dependencies": {+ "aproba": "^1.0.3",+ "console-control-strings": "^1.0.0",+ "has-unicode": "^2.0.0",+ "object-assign": "^4.1.0",+ "signal-exit": "^3.0.0",+ "string-width": "^1.0.1",+ "strip-ansi": "^3.0.1",+ "wide-align": "^1.1.0"+ }+ },+ "node_modules/gauge/node_modules/ansi-regex": {+ "version": "2.1.1",+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz",+ "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=",+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/gauge/node_modules/strip-ansi": {+ "version": "3.0.1",+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz",+ "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=",+ "dependencies": {+ "ansi-regex": "^2.0.0"+ },+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/get-intrinsic": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.1.tgz",+ "integrity": "sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q==",+ "dependencies": {+ "function-bind": "^1.1.1",+ "has": "^1.0.3",+ "has-symbols": "^1.0.1"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/get-orientation": {+ "version": "1.1.2",+ "resolved": "https://registry.npmjs.org/get-orientation/-/get-orientation-1.1.2.tgz",+ "integrity": "sha512-/pViTfifW+gBbh/RnlFYHINvELT9Znt+SYyDKAUL6uV6By019AK/s+i9XP4jSwq7lwP38Fd8HVeTxym3+hkwmQ==",+ "dependencies": {+ "stream-parser": "^0.3.1"+ }+ },+ "node_modules/get-stream": {+ "version": "5.2.0",+ "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz",+ "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==",+ "dependencies": {+ "pump": "^3.0.0"+ },+ "engines": {+ "node": ">=8"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/get-symbol-description": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.0.tgz",+ "integrity": "sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==",+ "dependencies": {+ "call-bind": "^1.0.2",+ "get-intrinsic": "^1.1.1"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/glob": {+ "version": "7.1.7",+ "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.7.tgz",+ "integrity": "sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ==",+ "dev": true,+ "dependencies": {+ "fs.realpath": "^1.0.0",+ "inflight": "^1.0.4",+ "inherits": "2",+ "minimatch": "^3.0.4",+ "once": "^1.3.0",+ "path-is-absolute": "^1.0.0"+ },+ "engines": {+ "node": "*"+ },+ "funding": {+ "url": "https://github.com/sponsors/isaacs"+ }+ },+ "node_modules/glob-parent": {+ "version": "5.1.2",+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",+ "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",+ "dependencies": {+ "is-glob": "^4.0.1"+ },+ "engines": {+ "node": ">= 6"+ }+ },+ "node_modules/glob-to-regexp": {+ "version": "0.4.1",+ "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz",+ "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw=="+ },+ "node_modules/good-listener": {+ "version": "1.2.2",+ "resolved": "https://registry.npmjs.org/good-listener/-/good-listener-1.2.2.tgz",+ "integrity": "sha1-1TswzfkxPf+33JoNR3CWqm0UXFA=",+ "dependencies": {+ "delegate": "^3.1.2"+ }+ },+ "node_modules/got": {+ "version": "11.8.2",+ "resolved": "https://registry.npmjs.org/got/-/got-11.8.2.tgz",+ "integrity": "sha512-D0QywKgIe30ODs+fm8wMZiAcZjypcCodPNuMz5H9Mny7RJ+IjJ10BdmGW7OM7fHXP+O7r6ZwapQ/YQmMSvB0UQ==",+ "dependencies": {+ "@sindresorhus/is": "^4.0.0",+ "@szmarczak/http-timer": "^4.0.5",+ "@types/cacheable-request": "^6.0.1",+ "@types/responselike": "^1.0.0",+ "cacheable-lookup": "^5.0.3",+ "cacheable-request": "^7.0.1",+ "decompress-response": "^6.0.0",+ "http2-wrapper": "^1.0.0-beta.5.2",+ "lowercase-keys": "^2.0.0",+ "p-cancelable": "^2.0.0",+ "responselike": "^2.0.0"+ },+ "engines": {+ "node": ">=10.19.0"+ },+ "funding": {+ "url": "https://github.com/sindresorhus/got?sponsor=1"+ }+ },+ "node_modules/graceful-fs": {+ "version": "4.2.8",+ "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.8.tgz",+ "integrity": "sha512-qkIilPUYcNhJpd33n0GBXTB1MMPp14TxEsEs0pTrsSVucApsYzW5V+Q8Qxhik6KU3evy+qkAAowTByymK0avdg=="+ },+ "node_modules/gzip-size": {+ "version": "6.0.0",+ "resolved": "https://registry.npmjs.org/gzip-size/-/gzip-size-6.0.0.tgz",+ "integrity": "sha512-ax7ZYomf6jqPTQ4+XCpUGyXKHk5WweS+e05MBO4/y3WJ5RkmPXNKvX+bx1behVILVwr6JSQvZAku021CHPXG3Q==",+ "dev": true,+ "dependencies": {+ "duplexer": "^0.1.2"+ },+ "engines": {+ "node": ">=10"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/has": {+ "version": "1.0.3",+ "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",+ "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==",+ "dependencies": {+ "function-bind": "^1.1.1"+ },+ "engines": {+ "node": ">= 0.4.0"+ }+ },+ "node_modules/has-bigints": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.1.tgz",+ "integrity": "sha512-LSBS2LjbNBTf6287JEbEzvJgftkF5qFkmCo9hDRpAzKhUOlJ+hx8dd4USs00SgsUNwc4617J9ki5YtEClM2ffA==",+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/has-symbols": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.2.tgz",+ "integrity": "sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw==",+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/has-tostringtag": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz",+ "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==",+ "dependencies": {+ "has-symbols": "^1.0.2"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/has-unicode": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz",+ "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk="+ },+ "node_modules/hash-base": {+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/hash-base/-/hash-base-3.1.0.tgz",+ "integrity": "sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA==",+ "dependencies": {+ "inherits": "^2.0.4",+ "readable-stream": "^3.6.0",+ "safe-buffer": "^5.2.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/hash.js": {+ "version": "1.1.7",+ "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz",+ "integrity": "sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==",+ "dependencies": {+ "inherits": "^2.0.3",+ "minimalistic-assert": "^1.0.1"+ }+ },+ "node_modules/he": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz",+ "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==",+ "bin": {+ "he": "bin/he"+ }+ },+ "node_modules/hex-color-regex": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/hex-color-regex/-/hex-color-regex-1.1.0.tgz",+ "integrity": "sha512-l9sfDFsuqtOqKDsQdqrMRk0U85RZc0RtOR9yPI7mRVOa4FsR/BVnZ0shmQRM96Ji99kYZP/7hn1cedc1+ApsTQ==",+ "dev": true+ },+ "node_modules/hmac-drbg": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz",+ "integrity": "sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=",+ "dependencies": {+ "hash.js": "^1.0.3",+ "minimalistic-assert": "^1.0.0",+ "minimalistic-crypto-utils": "^1.0.1"+ }+ },+ "node_modules/hoist-non-react-statics": {+ "version": "3.3.2",+ "resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz",+ "integrity": "sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==",+ "dependencies": {+ "react-is": "^16.7.0"+ }+ },+ "node_modules/hoist-non-react-statics/node_modules/react-is": {+ "version": "16.13.1",+ "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz",+ "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ=="+ },+ "node_modules/hsl-regex": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/hsl-regex/-/hsl-regex-1.0.0.tgz",+ "integrity": "sha1-1JMwx4ntgZ4nakwNJy3/owsY/m4=",+ "dev": true+ },+ "node_modules/hsla-regex": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/hsla-regex/-/hsla-regex-1.0.0.tgz",+ "integrity": "sha1-wc56MWjIxmFAM6S194d/OyJfnDg=",+ "dev": true+ },+ "node_modules/html-tags": {+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/html-tags/-/html-tags-3.1.0.tgz",+ "integrity": "sha512-1qYz89hW3lFDEazhjW0yVAV87lw8lVkrJocr72XmBkMKsoSVJCQx3W8BXsC7hO2qAt8BoVjYjtAcZ9perqGnNg==",+ "dev": true,+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/http-cache-semantics": {+ "version": "4.1.0",+ "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz",+ "integrity": "sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ=="+ },+ "node_modules/http-errors": {+ "version": "1.7.3",+ "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.3.tgz",+ "integrity": "sha512-ZTTX0MWrsQ2ZAhA1cejAwDLycFsd7I7nVtnkT3Ol0aqodaKW+0CTZDQ1uBv5whptCnc8e8HeRRJxRs0kmm/Qfw==",+ "dependencies": {+ "depd": "~1.1.2",+ "inherits": "2.0.4",+ "setprototypeof": "1.1.1",+ "statuses": ">= 1.5.0 < 2",+ "toidentifier": "1.0.0"+ },+ "engines": {+ "node": ">= 0.6"+ }+ },+ "node_modules/http2-wrapper": {+ "version": "1.0.3",+ "resolved": "https://registry.npmjs.org/http2-wrapper/-/http2-wrapper-1.0.3.tgz",+ "integrity": "sha512-V+23sDMr12Wnz7iTcDeJr3O6AIxlnvT/bmaAAAP/Xda35C90p9599p0F1eHR/N1KILWSoWVAiOMFjBBXaXSMxg==",+ "dependencies": {+ "quick-lru": "^5.1.1",+ "resolve-alpn": "^1.0.0"+ },+ "engines": {+ "node": ">=10.19.0"+ }+ },+ "node_modules/https-browserify": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/https-browserify/-/https-browserify-1.0.0.tgz",+ "integrity": "sha1-7AbBDgo0wPL68Zn3/X/Hj//QPHM="+ },+ "node_modules/https-proxy-agent": {+ "version": "5.0.0",+ "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.0.tgz",+ "integrity": "sha512-EkYm5BcKUGiduxzSt3Eppko+PiNWNEpa4ySk9vTC6wDsQJW9rHSa+UhGNJoRYp7bz6Ht1eaRIa6QaJqO5rCFbA==",+ "dependencies": {+ "agent-base": "6",+ "debug": "4"+ },+ "engines": {+ "node": ">= 6"+ }+ },+ "node_modules/https-proxy-agent/node_modules/debug": {+ "version": "4.3.2",+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz",+ "integrity": "sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==",+ "dependencies": {+ "ms": "2.1.2"+ },+ "engines": {+ "node": ">=6.0"+ },+ "peerDependenciesMeta": {+ "supports-color": {+ "optional": true+ }+ }+ },+ "node_modules/https-proxy-agent/node_modules/ms": {+ "version": "2.1.2",+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",+ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="+ },+ "node_modules/iconv-lite": {+ "version": "0.6.3",+ "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz",+ "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==",+ "dependencies": {+ "safer-buffer": ">= 2.1.2 < 3.0.0"+ },+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/ieee754": {+ "version": "1.2.1",+ "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz",+ "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==",+ "funding": [+ {+ "type": "github",+ "url": "https://github.com/sponsors/feross"+ },+ {+ "type": "patreon",+ "url": "https://www.patreon.com/feross"+ },+ {+ "type": "consulting",+ "url": "https://feross.org/support"+ }+ ]+ },+ "node_modules/image-size": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/image-size/-/image-size-1.0.0.tgz",+ "integrity": "sha512-JLJ6OwBfO1KcA+TvJT+v8gbE6iWbj24LyDNFgFEN0lzegn6cC6a/p3NIDaepMsJjQjlUWqIC7wJv8lBFxPNjcw==",+ "dependencies": {+ "queue": "6.0.2"+ },+ "bin": {+ "image-size": "bin/image-size.js"+ },+ "engines": {+ "node": ">=12.0.0"+ }+ },+ "node_modules/immediate": {+ "version": "3.0.6",+ "resolved": "https://registry.npmjs.org/immediate/-/immediate-3.0.6.tgz",+ "integrity": "sha1-nbHb0Pr43m++D13V5Wu2BigN5ps="+ },+ "node_modules/immutability-helper": {+ "version": "3.1.1",+ "resolved": "https://registry.npmjs.org/immutability-helper/-/immutability-helper-3.1.1.tgz",+ "integrity": "sha512-Q0QaXjPjwIju/28TsugCHNEASwoCcJSyJV3uO1sOIQGI0jKgm9f41Lvz0DZj3n46cNCyAZTsEYoY4C2bVRUzyQ=="+ },+ "node_modules/import-cwd": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/import-cwd/-/import-cwd-3.0.0.tgz",+ "integrity": "sha512-4pnzH16plW+hgvRECbDWpQl3cqtvSofHWh44met7ESfZ8UZOWWddm8hEyDTqREJ9RbYHY8gi8DqmaelApoOGMg==",+ "dev": true,+ "dependencies": {+ "import-from": "^3.0.0"+ },+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/import-fresh": {+ "version": "3.3.0",+ "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz",+ "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==",+ "dev": true,+ "dependencies": {+ "parent-module": "^1.0.0",+ "resolve-from": "^4.0.0"+ },+ "engines": {+ "node": ">=6"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/import-from": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/import-from/-/import-from-3.0.0.tgz",+ "integrity": "sha512-CiuXOFFSzkU5x/CR0+z7T91Iht4CXgfCxVOFRhh2Zyhg5wOpWvvDLQUsWl+gcN+QscYBjez8hDCt85O7RLDttQ==",+ "dev": true,+ "dependencies": {+ "resolve-from": "^5.0.0"+ },+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/import-from/node_modules/resolve-from": {+ "version": "5.0.0",+ "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz",+ "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==",+ "dev": true,+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/indent-string": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz",+ "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==",+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/inflight": {+ "version": "1.0.6",+ "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",+ "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=",+ "dev": true,+ "dependencies": {+ "once": "^1.3.0",+ "wrappy": "1"+ }+ },+ "node_modules/inherits": {+ "version": "2.0.4",+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="+ },+ "node_modules/internal-slot": {+ "version": "1.0.3",+ "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.3.tgz",+ "integrity": "sha512-O0DB1JC/sPyZl7cIo78n5dR7eUSwwpYPiXRhTzNxZVAMUuB8vlnRFyLxdrVToks6XPLVnFfbzaVd5WLjhgg+vA==",+ "dependencies": {+ "get-intrinsic": "^1.1.0",+ "has": "^1.0.3",+ "side-channel": "^1.0.4"+ },+ "engines": {+ "node": ">= 0.4"+ }+ },+ "node_modules/internmap": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/internmap/-/internmap-1.0.1.tgz",+ "integrity": "sha512-lDB5YccMydFBtasVtxnZ3MRBHuaoE8GKsppq+EchKL2U4nK/DmEpPHNH8MZe5HkMtpSiTSOZwfN0tzYjO/lJEw=="+ },+ "node_modules/invariant": {+ "version": "2.2.4",+ "resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz",+ "integrity": "sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==",+ "dependencies": {+ "loose-envify": "^1.0.0"+ }+ },+ "node_modules/is-arguments": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz",+ "integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==",+ "dependencies": {+ "call-bind": "^1.0.2",+ "has-tostringtag": "^1.0.0"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/is-arrayish": {+ "version": "0.2.1",+ "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz",+ "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=",+ "dev": true+ },+ "node_modules/is-bigint": {+ "version": "1.0.4",+ "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz",+ "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==",+ "dependencies": {+ "has-bigints": "^1.0.1"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/is-binary-path": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz",+ "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==",+ "dependencies": {+ "binary-extensions": "^2.0.0"+ },+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/is-boolean-object": {+ "version": "1.1.2",+ "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz",+ "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==",+ "dependencies": {+ "call-bind": "^1.0.2",+ "has-tostringtag": "^1.0.0"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/is-buffer": {+ "version": "1.1.6",+ "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz",+ "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w=="+ },+ "node_modules/is-callable": {+ "version": "1.2.4",+ "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.4.tgz",+ "integrity": "sha512-nsuwtxZfMX67Oryl9LCQ+upnC0Z0BgpwntpS89m1H/TLF0zNfzfLMV/9Wa/6MZsj0acpEjAO0KF1xT6ZdLl95w==",+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/is-color-stop": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/is-color-stop/-/is-color-stop-1.1.0.tgz",+ "integrity": "sha1-z/9HGu5N1cnhWFmPvhKWe1za00U=",+ "dev": true,+ "dependencies": {+ "css-color-names": "^0.0.4",+ "hex-color-regex": "^1.1.0",+ "hsl-regex": "^1.0.0",+ "hsla-regex": "^1.0.0",+ "rgb-regex": "^1.0.1",+ "rgba-regex": "^1.0.0"+ }+ },+ "node_modules/is-core-module": {+ "version": "2.6.0",+ "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.6.0.tgz",+ "integrity": "sha512-wShG8vs60jKfPWpF2KZRaAtvt3a20OAn7+IJ6hLPECpSABLcKtFKTTI4ZtH5QcBruBHlq+WsdHWyz0BCZW7svQ==",+ "dev": true,+ "dependencies": {+ "has": "^1.0.3"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/is-date-object": {+ "version": "1.0.5",+ "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz",+ "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==",+ "dependencies": {+ "has-tostringtag": "^1.0.0"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/is-extglob": {+ "version": "2.1.1",+ "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",+ "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=",+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/is-fullwidth-code-point": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz",+ "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=",+ "dependencies": {+ "number-is-nan": "^1.0.0"+ },+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/is-generator-function": {+ "version": "1.0.10",+ "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.10.tgz",+ "integrity": "sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==",+ "dependencies": {+ "has-tostringtag": "^1.0.0"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/is-glob": {+ "version": "4.0.1",+ "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz",+ "integrity": "sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==",+ "dependencies": {+ "is-extglob": "^2.1.1"+ },+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/is-nan": {+ "version": "1.3.2",+ "resolved": "https://registry.npmjs.org/is-nan/-/is-nan-1.3.2.tgz",+ "integrity": "sha512-E+zBKpQ2t6MEo1VsonYmluk9NxGrbzpeeLC2xIViuO2EjU2xsXsBPwTr3Ykv9l08UYEVEdWeRZNouaZqF6RN0w==",+ "dependencies": {+ "call-bind": "^1.0.0",+ "define-properties": "^1.1.3"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/is-negative-zero": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.1.tgz",+ "integrity": "sha512-2z6JzQvZRa9A2Y7xC6dQQm4FSTSTNWjKIYYTt4246eMTJmIo0Q+ZyOsU66X8lxK1AbB92dFeglPLrhwpeRKO6w==",+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/is-number": {+ "version": "7.0.0",+ "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",+ "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",+ "engines": {+ "node": ">=0.12.0"+ }+ },+ "node_modules/is-number-object": {+ "version": "1.0.6",+ "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.6.tgz",+ "integrity": "sha512-bEVOqiRcvo3zO1+G2lVMy+gkkEm9Yh7cDMRusKKu5ZJKPUYSJwICTKZrNKHA2EbSP0Tu0+6B/emsYNHZyn6K8g==",+ "dependencies": {+ "has-tostringtag": "^1.0.0"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/is-regex": {+ "version": "1.1.4",+ "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz",+ "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==",+ "dependencies": {+ "call-bind": "^1.0.2",+ "has-tostringtag": "^1.0.0"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/is-retry-allowed": {+ "version": "2.2.0",+ "resolved": "https://registry.npmjs.org/is-retry-allowed/-/is-retry-allowed-2.2.0.tgz",+ "integrity": "sha512-XVm7LOeLpTW4jV19QSH38vkswxoLud8sQ57YwJVTPWdiaI9I8keEhGFpBlslyVsgdQy4Opg8QOLb8YRgsyZiQg==",+ "engines": {+ "node": ">=10"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/is-string": {+ "version": "1.0.7",+ "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz",+ "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==",+ "dependencies": {+ "has-tostringtag": "^1.0.0"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/is-symbol": {+ "version": "1.0.4",+ "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz",+ "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==",+ "dependencies": {+ "has-symbols": "^1.0.2"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/is-typed-array": {+ "version": "1.1.8",+ "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.8.tgz",+ "integrity": "sha512-HqH41TNZq2fgtGT8WHVFVJhBVGuY3AnP3Q36K8JKXUxSxRgk/d+7NjmwG2vo2mYmXK8UYZKu0qH8bVP5gEisjA==",+ "dependencies": {+ "available-typed-arrays": "^1.0.5",+ "call-bind": "^1.0.2",+ "es-abstract": "^1.18.5",+ "foreach": "^2.0.5",+ "has-tostringtag": "^1.0.0"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/is-typedarray": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz",+ "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo="+ },+ "node_modules/isarray": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",+ "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE="+ },+ "node_modules/jest-worker": {+ "version": "27.0.0-next.5",+ "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-27.0.0-next.5.tgz",+ "integrity": "sha512-mk0umAQ5lT+CaOJ+Qp01N6kz48sJG2kr2n1rX0koqKf6FIygQV0qLOdN9SCYID4IVeSigDOcPeGLozdMLYfb5g==",+ "dependencies": {+ "@types/node": "*",+ "merge-stream": "^2.0.0",+ "supports-color": "^8.0.0"+ },+ "engines": {+ "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"+ }+ },+ "node_modules/jest-worker/node_modules/has-flag": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",+ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/jest-worker/node_modules/supports-color": {+ "version": "8.1.1",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz",+ "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==",+ "dependencies": {+ "has-flag": "^4.0.0"+ },+ "engines": {+ "node": ">=10"+ },+ "funding": {+ "url": "https://github.com/chalk/supports-color?sponsor=1"+ }+ },+ "node_modules/joi": {+ "version": "17.4.2",+ "resolved": "https://registry.npmjs.org/joi/-/joi-17.4.2.tgz",+ "integrity": "sha512-Lm56PP+n0+Z2A2rfRvsfWVDXGEWjXxatPopkQ8qQ5mxCEhwHG+Ettgg5o98FFaxilOxozoa14cFhrE/hOzh/Nw==",+ "dependencies": {+ "@hapi/hoek": "^9.0.0",+ "@hapi/topo": "^5.0.0",+ "@sideway/address": "^4.1.0",+ "@sideway/formula": "^3.0.0",+ "@sideway/pinpoint": "^2.0.0"+ }+ },+ "node_modules/join-component": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/join-component/-/join-component-1.1.0.tgz",+ "integrity": "sha1-uEF7dQZho5K+4sJTfGiyqdSXfNU="+ },+ "node_modules/jose": {+ "version": "2.0.5",+ "resolved": "https://registry.npmjs.org/jose/-/jose-2.0.5.tgz",+ "integrity": "sha512-BAiDNeDKTMgk4tvD0BbxJ8xHEHBZgpeRZ1zGPPsitSyMgjoMWiLGYAE7H7NpP5h0lPppQajQs871E8NHUrzVPA==",+ "dependencies": {+ "@panva/asn1.js": "^1.0.0"+ },+ "engines": {+ "node": ">=10.13.0 < 13 || >=13.7.0"+ },+ "funding": {+ "url": "https://github.com/sponsors/panva"+ }+ },+ "node_modules/js-tokens": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",+ "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ=="+ },+ "node_modules/json-buffer": {+ "version": "3.0.1",+ "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz",+ "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ=="+ },+ "node_modules/json-parse-better-errors": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz",+ "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==",+ "peer": true+ },+ "node_modules/json-parse-even-better-errors": {+ "version": "2.3.1",+ "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz",+ "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==",+ "dev": true+ },+ "node_modules/json-schema-traverse": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz",+ "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug=="+ },+ "node_modules/json5": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz",+ "integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==",+ "dependencies": {+ "minimist": "^1.2.0"+ },+ "bin": {+ "json5": "lib/cli.js"+ }+ },+ "node_modules/jsonfile": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz",+ "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==",+ "dev": true,+ "dependencies": {+ "universalify": "^2.0.0"+ },+ "optionalDependencies": {+ "graceful-fs": "^4.1.6"+ }+ },+ "node_modules/keyv": {+ "version": "4.0.4",+ "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.0.4.tgz",+ "integrity": "sha512-vqNHbAc8BBsxk+7QBYLW0Y219rWcClspR6WSeoHYKG5mnsSoOH+BL1pWq02DDCVdvvuUny5rkBlzMRzoqc+GIg==",+ "dependencies": {+ "json-buffer": "3.0.1"+ }+ },+ "node_modules/lie": {+ "version": "3.1.1",+ "resolved": "https://registry.npmjs.org/lie/-/lie-3.1.1.tgz",+ "integrity": "sha1-mkNrLMd0bKWd56QfpGmz77dr2H4=",+ "dependencies": {+ "immediate": "~3.0.5"+ }+ },+ "node_modules/lilconfig": {+ "version": "2.0.3",+ "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-2.0.3.tgz",+ "integrity": "sha512-EHKqr/+ZvdKCifpNrJCKxBTgk5XupZA3y/aCPY9mxfgBzmgh93Mt/WqjjQ38oMxXuvDokaKiM3lAgvSH2sjtHg==",+ "dev": true,+ "engines": {+ "node": ">=10"+ }+ },+ "node_modules/lines-and-columns": {+ "version": "1.1.6",+ "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.1.6.tgz",+ "integrity": "sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA=",+ "dev": true+ },+ "node_modules/loader-runner": {+ "version": "4.2.0",+ "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-4.2.0.tgz",+ "integrity": "sha512-92+huvxMvYlMzMt0iIOukcwYBFpkYJdpl2xsZ7LrlayO7E8SOv+JJUEK17B/dJIHAOLMfh2dZZ/Y18WgmGtYNw==",+ "peer": true,+ "engines": {+ "node": ">=6.11.5"+ }+ },+ "node_modules/loader-utils": {+ "version": "1.2.3",+ "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.2.3.tgz",+ "integrity": "sha512-fkpz8ejdnEMG3s37wGL07iSBDg99O9D5yflE9RGNH3hRdx9SOwYfnGYdZOUIZitN8E+E2vkq3MUMYMvPYl5ZZA==",+ "dependencies": {+ "big.js": "^5.2.2",+ "emojis-list": "^2.0.0",+ "json5": "^1.0.1"+ },+ "engines": {+ "node": ">=4.0.0"+ }+ },+ "node_modules/localforage": {+ "version": "1.10.0",+ "resolved": "https://registry.npmjs.org/localforage/-/localforage-1.10.0.tgz",+ "integrity": "sha512-14/H1aX7hzBBmmh7sGPd+AOMkkIrHM3Z1PAyGgZigA1H1p5O5ANnMyWzvpAETtG68/dC4pC0ncy3+PPGzXZHPg==",+ "dependencies": {+ "lie": "3.1.1"+ }+ },+ "node_modules/locate-path": {+ "version": "5.0.0",+ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz",+ "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==",+ "dependencies": {+ "p-locate": "^4.1.0"+ },+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/lodash": {+ "version": "4.17.21",+ "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",+ "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg=="+ },+ "node_modules/lodash.debounce": {+ "version": "4.0.8",+ "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz",+ "integrity": "sha1-gteb/zCmfEAF/9XiUVMArZyk168="+ },+ "node_modules/lodash.isequal": {+ "version": "4.5.0",+ "resolved": "https://registry.npmjs.org/lodash.isequal/-/lodash.isequal-4.5.0.tgz",+ "integrity": "sha1-QVxEePK8wwEgwizhDtMib30+GOA="+ },+ "node_modules/lodash.isstring": {+ "version": "4.0.1",+ "resolved": "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz",+ "integrity": "sha1-1SfftUVuynzJu5XV2ur4i6VKVFE="+ },+ "node_modules/lodash.sortby": {+ "version": "4.7.0",+ "resolved": "https://registry.npmjs.org/lodash.sortby/-/lodash.sortby-4.7.0.tgz",+ "integrity": "sha1-7dFMgk4sycHgsKG0K7UhBRakJDg="+ },+ "node_modules/lodash.throttle": {+ "version": "4.1.1",+ "resolved": "https://registry.npmjs.org/lodash.throttle/-/lodash.throttle-4.1.1.tgz",+ "integrity": "sha1-wj6RtxAkKscMN/HhzaknTMOb8vQ="+ },+ "node_modules/lodash.topath": {+ "version": "4.5.2",+ "resolved": "https://registry.npmjs.org/lodash.topath/-/lodash.topath-4.5.2.tgz",+ "integrity": "sha1-NhY1Hzu6YZlKCTGYlmC9AyVP0Ak=",+ "dev": true+ },+ "node_modules/loose-envify": {+ "version": "1.4.0",+ "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz",+ "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==",+ "dependencies": {+ "js-tokens": "^3.0.0 || ^4.0.0"+ },+ "bin": {+ "loose-envify": "cli.js"+ }+ },+ "node_modules/lottie-react": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/lottie-react/-/lottie-react-2.1.0.tgz",+ "integrity": "sha512-sHDJb5aeh1letUIWqwidHoHZj07ZOZQoLuUgy0gqt9FB/XiCtAZ2+421Cn+ZkHR7anVvWljKhGgctQCtgFloUA==",+ "dependencies": {+ "lottie-web": "^5.7.3"+ },+ "peerDependencies": {+ "prop-types": "^15.5.7",+ "react": "^16.8.0",+ "react-dom": "^16.8.0"+ }+ },+ "node_modules/lottie-web": {+ "version": "5.7.14",+ "resolved": "https://registry.npmjs.org/lottie-web/-/lottie-web-5.7.14.tgz",+ "integrity": "sha512-J+QEPse7Rws0XvTqRJNtcE8cszb5FWYFHubEK6bgDJtw64/AQJ40aazbWXsWGBM4sm/PgLBLgmmhDU4QpLiieg=="+ },+ "node_modules/lowercase-keys": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-2.0.0.tgz",+ "integrity": "sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA==",+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/lru_map": {+ "version": "0.3.3",+ "resolved": "https://registry.npmjs.org/lru_map/-/lru_map-0.3.3.tgz",+ "integrity": "sha1-tcg1G5Rky9dQM1p5ZQoOwOVhGN0="+ },+ "node_modules/lru-cache": {+ "version": "6.0.0",+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",+ "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==",+ "dependencies": {+ "yallist": "^4.0.0"+ },+ "engines": {+ "node": ">=10"+ }+ },+ "node_modules/make-dir": {+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz",+ "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==",+ "dependencies": {+ "semver": "^6.0.0"+ },+ "engines": {+ "node": ">=8"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/make-error": {+ "version": "1.3.6",+ "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz",+ "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw=="+ },+ "node_modules/markdown-table": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/markdown-table/-/markdown-table-2.0.0.tgz",+ "integrity": "sha512-Ezda85ToJUBhM6WGaG6veasyym+Tbs3cMAw/ZhOPqXiYsr0jgocBV3j3nx+4lk47plLlIqjwuTm/ywVI+zjJ/A==",+ "dependencies": {+ "repeat-string": "^1.0.0"+ },+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }+ },+ "node_modules/md5": {+ "version": "2.3.0",+ "resolved": "https://registry.npmjs.org/md5/-/md5-2.3.0.tgz",+ "integrity": "sha512-T1GITYmFaKuO91vxyoQMFETst+O71VUPEU3ze5GNzDm0OWdP8v1ziTaAEPUr/3kLsY3Sftgz242A1SetQiDL7g==",+ "dependencies": {+ "charenc": "0.0.2",+ "crypt": "0.0.2",+ "is-buffer": "~1.1.6"+ }+ },+ "node_modules/md5.js": {+ "version": "1.3.5",+ "resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz",+ "integrity": "sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==",+ "dependencies": {+ "hash-base": "^3.0.0",+ "inherits": "^2.0.1",+ "safe-buffer": "^5.1.2"+ }+ },+ "node_modules/memoize-one": {+ "version": "5.2.1",+ "resolved": "https://registry.npmjs.org/memoize-one/-/memoize-one-5.2.1.tgz",+ "integrity": "sha512-zYiwtZUcYyXKo/np96AGZAckk+FWWsUdJ3cHGGmld7+AhvcWmQyGCYUh1hc4Q/pkOhb65dQR/pqCyK0cOaHz4Q=="+ },+ "node_modules/merge-stream": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz",+ "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w=="+ },+ "node_modules/merge2": {+ "version": "1.4.1",+ "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz",+ "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==",+ "dev": true,+ "engines": {+ "node": ">= 8"+ }+ },+ "node_modules/micromatch": {+ "version": "4.0.4",+ "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.4.tgz",+ "integrity": "sha512-pRmzw/XUcwXGpD9aI9q/0XOwLNygjETJ8y0ao0wdqprrzDa4YnxLcz7fQRZr8voh8V10kGhABbNcHVk5wHgWwg==",+ "dev": true,+ "dependencies": {+ "braces": "^3.0.1",+ "picomatch": "^2.2.3"+ },+ "engines": {+ "node": ">=8.6"+ }+ },+ "node_modules/miller-rabin": {+ "version": "4.0.1",+ "resolved": "https://registry.npmjs.org/miller-rabin/-/miller-rabin-4.0.1.tgz",+ "integrity": "sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA==",+ "dependencies": {+ "bn.js": "^4.0.0",+ "brorand": "^1.0.1"+ },+ "bin": {+ "miller-rabin": "bin/miller-rabin"+ }+ },+ "node_modules/miller-rabin/node_modules/bn.js": {+ "version": "4.12.0",+ "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz",+ "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA=="+ },+ "node_modules/mime": {+ "version": "2.6.0",+ "resolved": "https://registry.npmjs.org/mime/-/mime-2.6.0.tgz",+ "integrity": "sha512-USPkMeET31rOMiarsBNIHZKLGgvKc/LrjofAnBlOttf5ajRvqiRA8QsenbcooctK6d6Ts6aqZXBA+XbkKthiQg==",+ "dev": true,+ "bin": {+ "mime": "cli.js"+ },+ "engines": {+ "node": ">=4.0.0"+ }+ },+ "node_modules/mime-db": {+ "version": "1.51.0",+ "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.51.0.tgz",+ "integrity": "sha512-5y8A56jg7XVQx2mbv1lu49NR4dokRnhZYTtL+KGfaa27uq4pSTXkwQkFJl4pkRMyNFz/EtYDSkiiEHx3F7UN6g==",+ "peer": true,+ "engines": {+ "node": ">= 0.6"+ }+ },+ "node_modules/mime-types": {+ "version": "2.1.34",+ "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.34.tgz",+ "integrity": "sha512-6cP692WwGIs9XXdOO4++N+7qjqv0rqxxVvJ3VHPh/Sc9mVZcQP+ZGhkKiTvWMQRr2tbHkJP/Yn7Y0npb3ZBs4A==",+ "peer": true,+ "dependencies": {+ "mime-db": "1.51.0"+ },+ "engines": {+ "node": ">= 0.6"+ }+ },+ "node_modules/mimic-response": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-1.0.1.tgz",+ "integrity": "sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==",+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/minimalistic-assert": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz",+ "integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A=="+ },+ "node_modules/minimalistic-crypto-utils": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz",+ "integrity": "sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo="+ },+ "node_modules/minimatch": {+ "version": "3.0.4",+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz",+ "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==",+ "dev": true,+ "dependencies": {+ "brace-expansion": "^1.1.7"+ },+ "engines": {+ "node": "*"+ }+ },+ "node_modules/minimist": {+ "version": "1.2.5",+ "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz",+ "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw=="+ },+ "node_modules/mobx": {+ "version": "6.3.3",+ "resolved": "https://registry.npmjs.org/mobx/-/mobx-6.3.3.tgz",+ "integrity": "sha512-JoNU50rO6d1wHwKPJqKq4rmUMbYnI9CsJmBo+Cu4exBYenFvIN77LWrZENpzW6reZPADtXMmB1DicbDSfy8Clw==",+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/mobx"+ }+ },+ "node_modules/mobx-react-lite": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/mobx-react-lite/-/mobx-react-lite-3.2.1.tgz",+ "integrity": "sha512-hwURgfmP2apX3HQrB55V9DN47kuN3C6KlQvI5UIfJRibXma72C/JudcNt2r9dWjAdFMrcZoz1ivvtXMCkJ2aQA==",+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/mobx"+ },+ "peerDependencies": {+ "mobx": "^6.1.0",+ "react": "^16.8.0 || ^17"+ },+ "peerDependenciesMeta": {+ "react-dom": {+ "optional": true+ },+ "react-native": {+ "optional": true+ }+ }+ },+ "node_modules/modern-normalize": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/modern-normalize/-/modern-normalize-1.1.0.tgz",+ "integrity": "sha512-2lMlY1Yc1+CUy0gw4H95uNN7vjbpoED7NNRSBHE25nWfLBdmMzFCsPshlzbxHz+gYMcBEUN8V4pU16prcdPSgA==",+ "dev": true,+ "engines": {+ "node": ">=6"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/monaco-editor": {+ "version": "0.29.1",+ "resolved": "https://registry.npmjs.org/monaco-editor/-/monaco-editor-0.29.1.tgz",+ "integrity": "sha512-rguaEG/zrPQSaKzQB7IfX/PpNa0qxF1FY8ZXRkN4WIl8qZdTQRSRJCtRto7IMcSgrU6H53RXI+fTcywOBC4aVw==",+ "peer": true+ },+ "node_modules/ms": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",+ "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g="+ },+ "node_modules/nanoid": {+ "version": "3.1.25",+ "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.1.25.tgz",+ "integrity": "sha512-rdwtIXaXCLFAQbnfqDRnI6jaRHp9fTcYBjtFKE8eezcZ7LuLjhUaQGNeMXf1HmRoCH32CLz6XwX0TtxEOS/A3Q==",+ "bin": {+ "nanoid": "bin/nanoid.cjs"+ },+ "engines": {+ "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"+ }+ },+ "node_modules/native-url": {+ "version": "0.3.4",+ "resolved": "https://registry.npmjs.org/native-url/-/native-url-0.3.4.tgz",+ "integrity": "sha512-6iM8R99ze45ivyH8vybJ7X0yekIcPf5GgLV5K0ENCbmRcaRIDoj37BC8iLEmaaBfqqb8enuZ5p0uhY+lVAbAcA==",+ "dependencies": {+ "querystring": "^0.2.0"+ }+ },+ "node_modules/neo-async": {+ "version": "2.6.2",+ "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz",+ "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==",+ "peer": true+ },+ "node_modules/next": {+ "version": "11.0.1",+ "resolved": "https://registry.npmjs.org/next/-/next-11.0.1.tgz",+ "integrity": "sha512-yR7be7asNbvpVNpi6xxEg28wZ7Gqmj1nOt0sABH9qORmF3+pms2KZ7Cng33oK5nqPIzEEFJD0pp2PCe3/ueMIg==",+ "dependencies": {+ "@babel/runtime": "7.12.5",+ "@hapi/accept": "5.0.2",+ "@next/env": "11.0.1",+ "@next/polyfill-module": "11.0.1",+ "@next/react-dev-overlay": "11.0.1",+ "@next/react-refresh-utils": "11.0.1",+ "assert": "2.0.0",+ "ast-types": "0.13.2",+ "browserify-zlib": "0.2.0",+ "browserslist": "4.16.6",+ "buffer": "5.6.0",+ "caniuse-lite": "^1.0.30001228",+ "chalk": "2.4.2",+ "chokidar": "3.5.1",+ "constants-browserify": "1.0.0",+ "crypto-browserify": "3.12.0",+ "cssnano-simple": "2.0.0",+ "domain-browser": "4.19.0",+ "encoding": "0.1.13",+ "etag": "1.8.1",+ "find-cache-dir": "3.3.1",+ "get-orientation": "1.1.2",+ "https-browserify": "1.0.0",+ "image-size": "1.0.0",+ "jest-worker": "27.0.0-next.5",+ "native-url": "0.3.4",+ "node-fetch": "2.6.1",+ "node-html-parser": "1.4.9",+ "node-libs-browser": "^2.2.1",+ "os-browserify": "0.3.0",+ "p-limit": "3.1.0",+ "path-browserify": "1.0.1",+ "pnp-webpack-plugin": "1.6.4",+ "postcss": "8.2.13",+ "process": "0.11.10",+ "prop-types": "15.7.2",+ "querystring-es3": "0.2.1",+ "raw-body": "2.4.1",+ "react-is": "17.0.2",+ "react-refresh": "0.8.3",+ "stream-browserify": "3.0.0",+ "stream-http": "3.1.1",+ "string_decoder": "1.3.0",+ "styled-jsx": "3.3.2",+ "timers-browserify": "2.0.12",+ "tty-browserify": "0.0.1",+ "use-subscription": "1.5.1",+ "util": "0.12.3",+ "vm-browserify": "1.1.2",+ "watchpack": "2.1.1"+ },+ "bin": {+ "next": "dist/bin/next"+ },+ "engines": {+ "node": ">=12.0.0"+ },+ "peerDependencies": {+ "fibers": ">= 3.1.0",+ "node-sass": "^4.0.0 || ^5.0.0",+ "react": "^17.0.2",+ "react-dom": "^17.0.2",+ "sass": "^1.3.0"+ },+ "peerDependenciesMeta": {+ "fibers": {+ "optional": true+ },+ "node-sass": {+ "optional": true+ },+ "sass": {+ "optional": true+ }+ }+ },+ "node_modules/next-compose-plugins": {+ "version": "2.2.1",+ "resolved": "https://registry.npmjs.org/next-compose-plugins/-/next-compose-plugins-2.2.1.tgz",+ "integrity": "sha512-OjJ+fV15FXO2uQXQagLD4C0abYErBjyjE0I0FHpOEIB8upw0hg1ldFP6cqHTJBH1cZqy96OeR3u1dJ+Ez2D4Bg=="+ },+ "node_modules/next-tick": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/next-tick/-/next-tick-1.0.0.tgz",+ "integrity": "sha1-yobR/ogoFpsBICCOPchCS524NCw="+ },+ "node_modules/next/node_modules/@babel/runtime": {+ "version": "7.12.5",+ "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.12.5.tgz",+ "integrity": "sha512-plcc+hbExy3McchJCEQG3knOsuh3HH+Prx1P6cLIkET/0dLuQDEnrT+s27Axgc9bqfsmNUNHfscgMUdBpC9xfg==",+ "dependencies": {+ "regenerator-runtime": "^0.13.4"+ }+ },+ "node_modules/next/node_modules/browserslist": {+ "version": "4.16.6",+ "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.16.6.tgz",+ "integrity": "sha512-Wspk/PqO+4W9qp5iUTJsa1B/QrYn1keNCcEP5OvP7WBwT4KaDly0uONYmC6Xa3Z5IqnUgS0KcgLYu1l74x0ZXQ==",+ "dependencies": {+ "caniuse-lite": "^1.0.30001219",+ "colorette": "^1.2.2",+ "electron-to-chromium": "^1.3.723",+ "escalade": "^3.1.1",+ "node-releases": "^1.1.71"+ },+ "bin": {+ "browserslist": "cli.js"+ },+ "engines": {+ "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/browserslist"+ }+ },+ "node_modules/next/node_modules/postcss": {+ "version": "8.2.13",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.2.13.tgz",+ "integrity": "sha512-FCE5xLH+hjbzRdpbRb1IMCvPv9yZx2QnDarBEYSN0N0HYk+TcXsEhwdFcFb+SRWOKzKGErhIEbBK2ogyLdTtfQ==",+ "dependencies": {+ "colorette": "^1.2.2",+ "nanoid": "^3.1.22",+ "source-map": "^0.6.1"+ },+ "engines": {+ "node": "^10 || ^12 || >=14"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/postcss/"+ }+ },+ "node_modules/next/node_modules/source-map": {+ "version": "0.6.1",+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",+ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/next/node_modules/util": {+ "version": "0.12.3",+ "resolved": "https://registry.npmjs.org/util/-/util-0.12.3.tgz",+ "integrity": "sha512-I8XkoQwE+fPQEhy9v012V+TSdH2kp9ts29i20TaaDUXsg7x/onePbhFJUExBfv/2ay1ZOp/Vsm3nDlmnFGSAog==",+ "dependencies": {+ "inherits": "^2.0.3",+ "is-arguments": "^1.0.4",+ "is-generator-function": "^1.0.7",+ "is-typed-array": "^1.1.3",+ "safe-buffer": "^5.1.2",+ "which-typed-array": "^1.1.2"+ }+ },+ "node_modules/node-emoji": {+ "version": "1.11.0",+ "resolved": "https://registry.npmjs.org/node-emoji/-/node-emoji-1.11.0.tgz",+ "integrity": "sha512-wo2DpQkQp7Sjm2A0cq+sN7EHKO6Sl0ctXeBdFZrL9T9+UywORbufTcTZxom8YqpLQt/FqNMUkOpkZrJVYSKD3A==",+ "dev": true,+ "dependencies": {+ "lodash": "^4.17.21"+ }+ },+ "node_modules/node-fetch": {+ "version": "2.6.1",+ "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz",+ "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==",+ "engines": {+ "node": "4.x || >=6.0.0"+ }+ },+ "node_modules/node-gyp-build": {+ "version": "4.3.0",+ "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.3.0.tgz",+ "integrity": "sha512-iWjXZvmboq0ja1pUGULQBexmxq8CV4xBhX7VDOTbL7ZR4FOowwY/VOtRxBN/yKxmdGoIp4j5ysNT4u3S2pDQ3Q==",+ "bin": {+ "node-gyp-build": "bin.js",+ "node-gyp-build-optional": "optional.js",+ "node-gyp-build-test": "build-test.js"+ }+ },+ "node_modules/node-html-parser": {+ "version": "1.4.9",+ "resolved": "https://registry.npmjs.org/node-html-parser/-/node-html-parser-1.4.9.tgz",+ "integrity": "sha512-UVcirFD1Bn0O+TSmloHeHqZZCxHjvtIeGdVdGMhyZ8/PWlEiZaZ5iJzR189yKZr8p0FXN58BUeC7RHRkf/KYGw==",+ "dependencies": {+ "he": "1.2.0"+ }+ },+ "node_modules/node-libs-browser": {+ "version": "2.2.1",+ "resolved": "https://registry.npmjs.org/node-libs-browser/-/node-libs-browser-2.2.1.tgz",+ "integrity": "sha512-h/zcD8H9kaDZ9ALUWwlBUDo6TKF8a7qBSCSEGfjTVIYeqsioSKaAX+BN7NgiMGp6iSIXZ3PxgCu8KS3b71YK5Q==",+ "dependencies": {+ "assert": "^1.1.1",+ "browserify-zlib": "^0.2.0",+ "buffer": "^4.3.0",+ "console-browserify": "^1.1.0",+ "constants-browserify": "^1.0.0",+ "crypto-browserify": "^3.11.0",+ "domain-browser": "^1.1.1",+ "events": "^3.0.0",+ "https-browserify": "^1.0.0",+ "os-browserify": "^0.3.0",+ "path-browserify": "0.0.1",+ "process": "^0.11.10",+ "punycode": "^1.2.4",+ "querystring-es3": "^0.2.0",+ "readable-stream": "^2.3.3",+ "stream-browserify": "^2.0.1",+ "stream-http": "^2.7.2",+ "string_decoder": "^1.0.0",+ "timers-browserify": "^2.0.4",+ "tty-browserify": "0.0.0",+ "url": "^0.11.0",+ "util": "^0.11.0",+ "vm-browserify": "^1.0.1"+ }+ },+ "node_modules/node-libs-browser/node_modules/assert": {+ "version": "1.5.0",+ "resolved": "https://registry.npmjs.org/assert/-/assert-1.5.0.tgz",+ "integrity": "sha512-EDsgawzwoun2CZkCgtxJbv392v4nbk9XDD06zI+kQYoBM/3RBWLlEyJARDOmhAAosBjWACEkKL6S+lIZtcAubA==",+ "dependencies": {+ "object-assign": "^4.1.1",+ "util": "0.10.3"+ }+ },+ "node_modules/node-libs-browser/node_modules/assert/node_modules/inherits": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz",+ "integrity": "sha1-sX0I0ya0Qj5Wjv9xn5GwscvfafE="+ },+ "node_modules/node-libs-browser/node_modules/assert/node_modules/util": {+ "version": "0.10.3",+ "resolved": "https://registry.npmjs.org/util/-/util-0.10.3.tgz",+ "integrity": "sha1-evsa/lCAUkZInj23/g7TeTNqwPk=",+ "dependencies": {+ "inherits": "2.0.1"+ }+ },+ "node_modules/node-libs-browser/node_modules/buffer": {+ "version": "4.9.2",+ "resolved": "https://registry.npmjs.org/buffer/-/buffer-4.9.2.tgz",+ "integrity": "sha512-xq+q3SRMOxGivLhBNaUdC64hDTQwejJ+H0T/NB1XMtTVEwNTrfFF3gAxiyW0Bu/xWEGhjVKgUcMhCrUy2+uCWg==",+ "dependencies": {+ "base64-js": "^1.0.2",+ "ieee754": "^1.1.4",+ "isarray": "^1.0.0"+ }+ },+ "node_modules/node-libs-browser/node_modules/domain-browser": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/domain-browser/-/domain-browser-1.2.0.tgz",+ "integrity": "sha512-jnjyiM6eRyZl2H+W8Q/zLMA481hzi0eszAaBUzIVnmYVDBbnLxVNnfu1HgEBvCbL+71FrxMl3E6lpKH7Ge3OXA==",+ "engines": {+ "node": ">=0.4",+ "npm": ">=1.2"+ }+ },+ "node_modules/node-libs-browser/node_modules/inherits": {+ "version": "2.0.3",+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz",+ "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4="+ },+ "node_modules/node-libs-browser/node_modules/path-browserify": {+ "version": "0.0.1",+ "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-0.0.1.tgz",+ "integrity": "sha512-BapA40NHICOS+USX9SN4tyhq+A2RrN/Ws5F0Z5aMHDp98Fl86lX8Oti8B7uN93L4Ifv4fHOEA+pQw87gmMO/lQ=="+ },+ "node_modules/node-libs-browser/node_modules/punycode": {+ "version": "1.4.1",+ "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz",+ "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4="+ },+ "node_modules/node-libs-browser/node_modules/readable-stream": {+ "version": "2.3.7",+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz",+ "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==",+ "dependencies": {+ "core-util-is": "~1.0.0",+ "inherits": "~2.0.3",+ "isarray": "~1.0.0",+ "process-nextick-args": "~2.0.0",+ "safe-buffer": "~5.1.1",+ "string_decoder": "~1.1.1",+ "util-deprecate": "~1.0.1"+ }+ },+ "node_modules/node-libs-browser/node_modules/safe-buffer": {+ "version": "5.1.2",+ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",+ "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="+ },+ "node_modules/node-libs-browser/node_modules/stream-browserify": {+ "version": "2.0.2",+ "resolved": "https://registry.npmjs.org/stream-browserify/-/stream-browserify-2.0.2.tgz",+ "integrity": "sha512-nX6hmklHs/gr2FuxYDltq8fJA1GDlxKQCz8O/IM4atRqBH8OORmBNgfvW5gG10GT/qQ9u0CzIvr2X5Pkt6ntqg==",+ "dependencies": {+ "inherits": "~2.0.1",+ "readable-stream": "^2.0.2"+ }+ },+ "node_modules/node-libs-browser/node_modules/stream-http": {+ "version": "2.8.3",+ "resolved": "https://registry.npmjs.org/stream-http/-/stream-http-2.8.3.tgz",+ "integrity": "sha512-+TSkfINHDo4J+ZobQLWiMouQYB+UVYFttRA94FpEzzJ7ZdqcL4uUUQ7WkdkI4DSozGmgBUE/a47L+38PenXhUw==",+ "dependencies": {+ "builtin-status-codes": "^3.0.0",+ "inherits": "^2.0.1",+ "readable-stream": "^2.3.6",+ "to-arraybuffer": "^1.0.0",+ "xtend": "^4.0.0"+ }+ },+ "node_modules/node-libs-browser/node_modules/string_decoder": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",+ "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==",+ "dependencies": {+ "safe-buffer": "~5.1.0"+ }+ },+ "node_modules/node-libs-browser/node_modules/tty-browserify": {+ "version": "0.0.0",+ "resolved": "https://registry.npmjs.org/tty-browserify/-/tty-browserify-0.0.0.tgz",+ "integrity": "sha1-oVe6QC2iTpv5V/mqadUk7tQpAaY="+ },+ "node_modules/node-libs-browser/node_modules/util": {+ "version": "0.11.1",+ "resolved": "https://registry.npmjs.org/util/-/util-0.11.1.tgz",+ "integrity": "sha512-HShAsny+zS2TZfaXxD9tYj4HQGlBezXZMZuM/S5PKLLoZkShZiGk9o5CzukI1LVHZvjdvZ2Sj1aW/Ndn2NB/HQ==",+ "dependencies": {+ "inherits": "2.0.3"+ }+ },+ "node_modules/node-releases": {+ "version": "1.1.76",+ "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.76.tgz",+ "integrity": "sha512-9/IECtNr8dXNmPWmFXepT0/7o5eolGesHUa3mtr0KlgnCvnZxwh2qensKL42JJY2vQKC3nIBXetFAqR+PW1CmA=="+ },+ "node_modules/normalize-path": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",+ "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==",+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/normalize-range": {+ "version": "0.1.2",+ "resolved": "https://registry.npmjs.org/normalize-range/-/normalize-range-0.1.2.tgz",+ "integrity": "sha1-LRDAa9/TEuqXd2laTShDlFa3WUI=",+ "dev": true,+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/normalize-url": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-6.1.0.tgz",+ "integrity": "sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A==",+ "engines": {+ "node": ">=10"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/npmlog": {+ "version": "4.1.2",+ "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz",+ "integrity": "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==",+ "dependencies": {+ "are-we-there-yet": "~1.1.2",+ "console-control-strings": "~1.1.0",+ "gauge": "~2.7.3",+ "set-blocking": "~2.0.0"+ }+ },+ "node_modules/number-is-nan": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz",+ "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=",+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/object-assign": {+ "version": "4.1.1",+ "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",+ "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=",+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/object-hash": {+ "version": "2.2.0",+ "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-2.2.0.tgz",+ "integrity": "sha512-gScRMn0bS5fH+IuwyIFgnh9zBdo4DV+6GhygmWM9HyNJSgS0hScp1f5vjtm7oIIOiT9trXrShAkLFSc2IqKNgw==",+ "engines": {+ "node": ">= 6"+ }+ },+ "node_modules/object-inspect": {+ "version": "1.11.0",+ "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.11.0.tgz",+ "integrity": "sha512-jp7ikS6Sd3GxQfZJPyH3cjcbJF6GZPClgdV+EFygjFLQ5FmW/dRUnTd9PQ9k0JhoNDabWFbpF1yCdSWCC6gexg==",+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/object-is": {+ "version": "1.1.5",+ "resolved": "https://registry.npmjs.org/object-is/-/object-is-1.1.5.tgz",+ "integrity": "sha512-3cyDsyHgtmi7I7DfSSI2LDp6SK2lwvtbg0p0R1e0RvTqF5ceGx+K2dfSjm1bKDMVCFEDAQvy+o8c6a7VujOddw==",+ "dependencies": {+ "call-bind": "^1.0.2",+ "define-properties": "^1.1.3"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/object-keys": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz",+ "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==",+ "engines": {+ "node": ">= 0.4"+ }+ },+ "node_modules/object.assign": {+ "version": "4.1.2",+ "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.2.tgz",+ "integrity": "sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==",+ "dependencies": {+ "call-bind": "^1.0.0",+ "define-properties": "^1.1.3",+ "has-symbols": "^1.0.1",+ "object-keys": "^1.1.1"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/oidc-token-hash": {+ "version": "5.0.1",+ "resolved": "https://registry.npmjs.org/oidc-token-hash/-/oidc-token-hash-5.0.1.tgz",+ "integrity": "sha512-EvoOtz6FIEBzE+9q253HsLCVRiK/0doEJ2HCvvqMQb3dHZrP3WlJKYtJ55CRTw4jmYomzH4wkPuCj/I3ZvpKxQ==",+ "engines": {+ "node": "^10.13.0 || >=12.0.0"+ }+ },+ "node_modules/on-headers": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/on-headers/-/on-headers-1.0.2.tgz",+ "integrity": "sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA==",+ "engines": {+ "node": ">= 0.8"+ }+ },+ "node_modules/once": {+ "version": "1.4.0",+ "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",+ "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=",+ "dependencies": {+ "wrappy": "1"+ }+ },+ "node_modules/openapi-types": {+ "version": "9.3.0",+ "resolved": "https://registry.npmjs.org/openapi-types/-/openapi-types-9.3.0.tgz",+ "integrity": "sha512-sR23YjmuwDSMsQVZDHbV9mPgi0RyniQlqR0AQxTC2/F3cpSjRFMH3CFPjoWvNqhC4OxPkDYNb2l8Mc1Me6D/KQ=="+ },+ "node_modules/opener": {+ "version": "1.5.2",+ "resolved": "https://registry.npmjs.org/opener/-/opener-1.5.2.tgz",+ "integrity": "sha512-ur5UIdyw5Y7yEj9wLzhqXiy6GZ3Mwx0yGI+5sMn2r0N0v3cKJvUmFH5yPP+WXh9e0xfyzyJX95D8l088DNFj7A==",+ "dev": true,+ "bin": {+ "opener": "bin/opener-bin.js"+ }+ },+ "node_modules/openid-client": {+ "version": "4.9.1",+ "resolved": "https://registry.npmjs.org/openid-client/-/openid-client-4.9.1.tgz",+ "integrity": "sha512-DYUF07AHjI3QDKqKbn2F7RqozT4hyi4JvmpodLrq0HHoNP7t/AjeG/uqiBK1/N2PZSAQEThVjDLHSmJN4iqu/w==",+ "dependencies": {+ "aggregate-error": "^3.1.0",+ "got": "^11.8.0",+ "jose": "^2.0.5",+ "lru-cache": "^6.0.0",+ "make-error": "^1.3.6",+ "object-hash": "^2.0.1",+ "oidc-token-hash": "^5.0.1"+ },+ "engines": {+ "node": "^10.19.0 || >=12.0.0 < 13 || >=13.7.0 < 14 || >= 14.2.0"+ },+ "funding": {+ "url": "https://github.com/sponsors/panva"+ }+ },+ "node_modules/os-browserify": {+ "version": "0.3.0",+ "resolved": "https://registry.npmjs.org/os-browserify/-/os-browserify-0.3.0.tgz",+ "integrity": "sha1-hUNzx/XCMVkU/Jv8a9gjj92h7Cc="+ },+ "node_modules/p-cancelable": {+ "version": "2.1.1",+ "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-2.1.1.tgz",+ "integrity": "sha512-BZOr3nRQHOntUjTrH8+Lh54smKHoHyur8We1V8DSMVrl5A2malOOwuJRnKRDjSnkoeBh4at6BwEnb5I7Jl31wg==",+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/p-finally": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz",+ "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=",+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/p-limit": {+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz",+ "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==",+ "dependencies": {+ "yocto-queue": "^0.1.0"+ },+ "engines": {+ "node": ">=10"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/p-locate": {+ "version": "4.1.0",+ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz",+ "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==",+ "dependencies": {+ "p-limit": "^2.2.0"+ },+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/p-locate/node_modules/p-limit": {+ "version": "2.3.0",+ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz",+ "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==",+ "dependencies": {+ "p-try": "^2.0.0"+ },+ "engines": {+ "node": ">=6"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/p-queue": {+ "version": "6.6.2",+ "resolved": "https://registry.npmjs.org/p-queue/-/p-queue-6.6.2.tgz",+ "integrity": "sha512-RwFpb72c/BhQLEXIZ5K2e+AhgNVmIejGlTgiB9MzZ0e93GRvqZ7uSi0dvRF7/XIXDeNkra2fNHBxTyPDGySpjQ==",+ "dependencies": {+ "eventemitter3": "^4.0.4",+ "p-timeout": "^3.2.0"+ },+ "engines": {+ "node": ">=8"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/p-timeout": {+ "version": "3.2.0",+ "resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-3.2.0.tgz",+ "integrity": "sha512-rhIwUycgwwKcP9yTOOFK/AKsAopjjCakVqLHePO3CC6Mir1Z99xT+R63jZxAT5lFZLa2inS5h+ZS2GvR99/FBg==",+ "dependencies": {+ "p-finally": "^1.0.0"+ },+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/p-try": {+ "version": "2.2.0",+ "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",+ "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==",+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/packet-reader": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/packet-reader/-/packet-reader-1.0.0.tgz",+ "integrity": "sha512-HAKu/fG3HpHFO0AA8WE8q2g+gBJaZ9MG7fcKk+IJPLTGAD6Psw4443l+9DGRbOIh3/aXr7Phy0TjilYivJo5XQ=="+ },+ "node_modules/pako": {+ "version": "1.0.11",+ "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz",+ "integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw=="+ },+ "node_modules/papaparse": {+ "version": "5.3.1",+ "resolved": "https://registry.npmjs.org/papaparse/-/papaparse-5.3.1.tgz",+ "integrity": "sha512-Dbt2yjLJrCwH2sRqKFFJaN5XgIASO9YOFeFP8rIBRG2Ain8mqk5r1M6DkfvqEVozVcz3r3HaUGw253hA1nLIcA=="+ },+ "node_modules/parent-module": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",+ "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==",+ "dev": true,+ "dependencies": {+ "callsites": "^3.0.0"+ },+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/parse-asn1": {+ "version": "5.1.6",+ "resolved": "https://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.6.tgz",+ "integrity": "sha512-RnZRo1EPU6JBnra2vGHj0yhp6ebyjBZpmUCLHWiFhxlzvBCCpAuZ7elsBp1PVAbQN0/04VD/19rfzlBSwLstMw==",+ "dependencies": {+ "asn1.js": "^5.2.0",+ "browserify-aes": "^1.0.0",+ "evp_bytestokey": "^1.0.0",+ "pbkdf2": "^3.0.3",+ "safe-buffer": "^5.1.1"+ }+ },+ "node_modules/parse-json": {+ "version": "5.2.0",+ "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz",+ "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==",+ "dev": true,+ "dependencies": {+ "@babel/code-frame": "^7.0.0",+ "error-ex": "^1.3.1",+ "json-parse-even-better-errors": "^2.3.0",+ "lines-and-columns": "^1.1.6"+ },+ "engines": {+ "node": ">=8"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/parse-numeric-range": {+ "version": "1.3.0",+ "resolved": "https://registry.npmjs.org/parse-numeric-range/-/parse-numeric-range-1.3.0.tgz",+ "integrity": "sha512-twN+njEipszzlMJd4ONUYgSfZPDxgHhT9Ahed5uTigpQn90FggW4SA/AIPq/6a149fTbE9qBEcSwE3FAEp6wQQ=="+ },+ "node_modules/path-browserify": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-1.0.1.tgz",+ "integrity": "sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g=="+ },+ "node_modules/path-exists": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",+ "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==",+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/path-is-absolute": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",+ "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=",+ "dev": true,+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/path-parse": {+ "version": "1.0.7",+ "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz",+ "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==",+ "dev": true+ },+ "node_modules/path-to-regexp": {+ "version": "6.2.0",+ "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-6.2.0.tgz",+ "integrity": "sha512-f66KywYG6+43afgE/8j/GoiNyygk/bnoCbps++3ErRKsIYkGGupyv07R2Ok5m9i67Iqc+T2g1eAUGUPzWhYTyg=="+ },+ "node_modules/path-type": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz",+ "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==",+ "dev": true,+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/pbkdf2": {+ "version": "3.1.2",+ "resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.1.2.tgz",+ "integrity": "sha512-iuh7L6jA7JEGu2WxDwtQP1ddOpaJNC4KlDEFfdQajSGgGPNi4OyDc2R7QnbY2bR9QjBVGwgvTdNJZoE7RaxUMA==",+ "dependencies": {+ "create-hash": "^1.1.2",+ "create-hmac": "^1.1.4",+ "ripemd160": "^2.0.1",+ "safe-buffer": "^5.0.1",+ "sha.js": "^2.4.8"+ },+ "engines": {+ "node": ">=0.12"+ }+ },+ "node_modules/performance-now": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz",+ "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns="+ },+ "node_modules/pg": {+ "version": "8.7.1",+ "resolved": "https://registry.npmjs.org/pg/-/pg-8.7.1.tgz",+ "integrity": "sha512-7bdYcv7V6U3KAtWjpQJJBww0UEsWuh4yQ/EjNf2HeO/NnvKjpvhEIe/A/TleP6wtmSKnUnghs5A9jUoK6iDdkA==",+ "dependencies": {+ "buffer-writer": "2.0.0",+ "packet-reader": "1.0.0",+ "pg-connection-string": "^2.5.0",+ "pg-pool": "^3.4.1",+ "pg-protocol": "^1.5.0",+ "pg-types": "^2.1.0",+ "pgpass": "1.x"+ },+ "engines": {+ "node": ">= 8.0.0"+ },+ "peerDependencies": {+ "pg-native": ">=2.0.0"+ },+ "peerDependenciesMeta": {+ "pg-native": {+ "optional": true+ }+ }+ },+ "node_modules/pg-connection-string": {+ "version": "2.5.0",+ "resolved": "https://registry.npmjs.org/pg-connection-string/-/pg-connection-string-2.5.0.tgz",+ "integrity": "sha512-r5o/V/ORTA6TmUnyWZR9nCj1klXCO2CEKNRlVuJptZe85QuhFayC7WeMic7ndayT5IRIR0S0xFxFi2ousartlQ=="+ },+ "node_modules/pg-format": {+ "version": "1.0.4",+ "resolved": "https://registry.npmjs.org/pg-format/-/pg-format-1.0.4.tgz",+ "integrity": "sha1-J3NCNsKtP05QZJFaWTNOIAQKgo4=",+ "engines": {+ "node": ">=4.0"+ }+ },+ "node_modules/pg-int8": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/pg-int8/-/pg-int8-1.0.1.tgz",+ "integrity": "sha512-WCtabS6t3c8SkpDBUlb1kjOs7l66xsGdKpIPZsg4wR+B3+u9UAum2odSsF9tnvxg80h4ZxLWMy4pRjOsFIqQpw==",+ "engines": {+ "node": ">=4.0.0"+ }+ },+ "node_modules/pg-pool": {+ "version": "3.4.1",+ "resolved": "https://registry.npmjs.org/pg-pool/-/pg-pool-3.4.1.tgz",+ "integrity": "sha512-TVHxR/gf3MeJRvchgNHxsYsTCHQ+4wm3VIHSS19z8NC0+gioEhq1okDY1sm/TYbfoP6JLFx01s0ShvZ3puP/iQ==",+ "peerDependencies": {+ "pg": ">=8.0"+ }+ },+ "node_modules/pg-protocol": {+ "version": "1.5.0",+ "resolved": "https://registry.npmjs.org/pg-protocol/-/pg-protocol-1.5.0.tgz",+ "integrity": "sha512-muRttij7H8TqRNu/DxrAJQITO4Ac7RmX3Klyr/9mJEOBeIpgnF8f9jAfRz5d3XwQZl5qBjF9gLsUtMPJE0vezQ=="+ },+ "node_modules/pg-types": {+ "version": "2.2.0",+ "resolved": "https://registry.npmjs.org/pg-types/-/pg-types-2.2.0.tgz",+ "integrity": "sha512-qTAAlrEsl8s4OiEQY69wDvcMIdQN6wdz5ojQiOy6YRMuynxenON0O5oCpJI6lshc6scgAY8qvJ2On/p+CXY0GA==",+ "dependencies": {+ "pg-int8": "1.0.1",+ "postgres-array": "~2.0.0",+ "postgres-bytea": "~1.0.0",+ "postgres-date": "~1.0.4",+ "postgres-interval": "^1.1.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/pgpass": {+ "version": "1.0.4",+ "resolved": "https://registry.npmjs.org/pgpass/-/pgpass-1.0.4.tgz",+ "integrity": "sha512-YmuA56alyBq7M59vxVBfPJrGSozru8QAdoNlWuW3cz8l+UX3cWge0vTvjKhsSHSJpo3Bom8/Mm6hf0TR5GY0+w==",+ "dependencies": {+ "split2": "^3.1.1"+ }+ },+ "node_modules/picocolors": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz",+ "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ=="+ },+ "node_modules/picomatch": {+ "version": "2.3.0",+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.0.tgz",+ "integrity": "sha512-lY1Q/PiJGC2zOv/z391WOTD+Z02bCgsFfvxoXXf6h7kv9o+WmsmzYqrAwY63sNgOxE4xEdq0WyUnXfKeBrSvYw==",+ "engines": {+ "node": ">=8.6"+ },+ "funding": {+ "url": "https://github.com/sponsors/jonschlinkert"+ }+ },+ "node_modules/pkg-dir": {+ "version": "4.2.0",+ "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz",+ "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==",+ "dependencies": {+ "find-up": "^4.0.0"+ },+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/platform": {+ "version": "1.3.6",+ "resolved": "https://registry.npmjs.org/platform/-/platform-1.3.6.tgz",+ "integrity": "sha512-fnWVljUchTro6RiCFvCXBbNhJc2NijN7oIQxbwsyL0buWJPG85v81ehlHI9fXrJsMNgTofEoWIQeClKpgxFLrg=="+ },+ "node_modules/pnp-webpack-plugin": {+ "version": "1.6.4",+ "resolved": "https://registry.npmjs.org/pnp-webpack-plugin/-/pnp-webpack-plugin-1.6.4.tgz",+ "integrity": "sha512-7Wjy+9E3WwLOEL30D+m8TSTF7qJJUJLONBnwQp0518siuMxUQUbgZwssaFX+QKlZkjHZcw/IpZCt/H0srrntSg==",+ "dependencies": {+ "ts-pnp": "^1.1.6"+ },+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/postcss": {+ "version": "8.3.6",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.3.6.tgz",+ "integrity": "sha512-wG1cc/JhRgdqB6WHEuyLTedf3KIRuD0hG6ldkFEZNCjRxiC+3i6kkWUUbiJQayP28iwG35cEmAbe98585BYV0A==",+ "dependencies": {+ "colorette": "^1.2.2",+ "nanoid": "^3.1.23",+ "source-map-js": "^0.6.2"+ },+ "engines": {+ "node": "^10 || ^12 || >=14"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/postcss/"+ }+ },+ "node_modules/postcss-js": {+ "version": "3.0.3",+ "resolved": "https://registry.npmjs.org/postcss-js/-/postcss-js-3.0.3.tgz",+ "integrity": "sha512-gWnoWQXKFw65Hk/mi2+WTQTHdPD5UJdDXZmX073EY/B3BWnYjO4F4t0VneTCnCGQ5E5GsCdMkzPaTXwl3r5dJw==",+ "dev": true,+ "dependencies": {+ "camelcase-css": "^2.0.1",+ "postcss": "^8.1.6"+ },+ "engines": {+ "node": ">=10.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/postcss/"+ }+ },+ "node_modules/postcss-load-config": {+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-3.1.0.tgz",+ "integrity": "sha512-ipM8Ds01ZUophjDTQYSVP70slFSYg3T0/zyfII5vzhN6V57YSxMgG5syXuwi5VtS8wSf3iL30v0uBdoIVx4Q0g==",+ "dev": true,+ "dependencies": {+ "import-cwd": "^3.0.0",+ "lilconfig": "^2.0.3",+ "yaml": "^1.10.2"+ },+ "engines": {+ "node": ">= 10"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/postcss/"+ },+ "peerDependencies": {+ "ts-node": ">=9.0.0"+ },+ "peerDependenciesMeta": {+ "ts-node": {+ "optional": true+ }+ }+ },+ "node_modules/postcss-nested": {+ "version": "5.0.6",+ "resolved": "https://registry.npmjs.org/postcss-nested/-/postcss-nested-5.0.6.tgz",+ "integrity": "sha512-rKqm2Fk0KbA8Vt3AdGN0FB9OBOMDVajMG6ZCf/GoHgdxUJ4sBFp0A/uMIRm+MJUdo33YXEtjqIz8u7DAp8B7DA==",+ "dev": true,+ "dependencies": {+ "postcss-selector-parser": "^6.0.6"+ },+ "engines": {+ "node": ">=12.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/postcss/"+ },+ "peerDependencies": {+ "postcss": "^8.2.14"+ }+ },+ "node_modules/postcss-selector-parser": {+ "version": "6.0.6",+ "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.6.tgz",+ "integrity": "sha512-9LXrvaaX3+mcv5xkg5kFwqSzSH1JIObIx51PrndZwlmznwXRfxMddDvo9gve3gVR8ZTKgoFDdWkbRFmEhT4PMg==",+ "dev": true,+ "dependencies": {+ "cssesc": "^3.0.0",+ "util-deprecate": "^1.0.2"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-value-parser": {+ "version": "4.1.0",+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.1.0.tgz",+ "integrity": "sha512-97DXOFbQJhk71ne5/Mt6cOu6yxsSfM0QGQyl0L25Gca4yGWEGJaig7l7gbCX623VqTBNGLRLaVUCnNkcedlRSQ==",+ "dev": true+ },+ "node_modules/postgres-array": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/postgres-array/-/postgres-array-2.0.0.tgz",+ "integrity": "sha512-VpZrUqU5A69eQyW2c5CA1jtLecCsN2U/bD6VilrFDWq5+5UIEVO7nazS3TEcHf1zuPYO/sqGvUvW62g86RXZuA==",+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postgres-bytea": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/postgres-bytea/-/postgres-bytea-1.0.0.tgz",+ "integrity": "sha1-AntTPAqokOJtFy1Hz5zOzFIazTU=",+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/postgres-date": {+ "version": "1.0.7",+ "resolved": "https://registry.npmjs.org/postgres-date/-/postgres-date-1.0.7.tgz",+ "integrity": "sha512-suDmjLVQg78nMK2UZ454hAG+OAW+HQPZ6n++TNDUX+L0+uUlLywnoxJKDou51Zm+zTCjrCl0Nq6J9C5hP9vK/Q==",+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/postgres-interval": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/postgres-interval/-/postgres-interval-1.2.0.tgz",+ "integrity": "sha512-9ZhXKM/rw350N1ovuWHbGxnGh/SNJ4cnxHiM0rxE4VN41wsg8P8zWn9hv/buK00RP4WvlOyr/RBDiptyxVbkZQ==",+ "dependencies": {+ "xtend": "^4.0.0"+ },+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/pretty-hrtime": {+ "version": "1.0.3",+ "resolved": "https://registry.npmjs.org/pretty-hrtime/-/pretty-hrtime-1.0.3.tgz",+ "integrity": "sha1-t+PqQkNaTJsnWdmeDyAesZWALuE=",+ "dev": true,+ "engines": {+ "node": ">= 0.8"+ }+ },+ "node_modules/prism-react-renderer": {+ "version": "1.2.1",+ "resolved": "https://registry.npmjs.org/prism-react-renderer/-/prism-react-renderer-1.2.1.tgz",+ "integrity": "sha512-w23ch4f75V1Tnz8DajsYKvY5lF7H1+WvzvLUcF0paFxkTHSp42RS0H5CttdN2Q8RR3DRGZ9v5xD/h3n8C8kGmg==",+ "peerDependencies": {+ "react": ">=0.14.9"+ }+ },+ "node_modules/process": {+ "version": "0.11.10",+ "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz",+ "integrity": "sha1-czIwDoQBYb2j5podHZGn1LwW8YI=",+ "engines": {+ "node": ">= 0.6.0"+ }+ },+ "node_modules/process-nextick-args": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz",+ "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag=="+ },+ "node_modules/progress": {+ "version": "2.0.3",+ "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz",+ "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==",+ "engines": {+ "node": ">=0.4.0"+ }+ },+ "node_modules/prop-types": {+ "version": "15.7.2",+ "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.7.2.tgz",+ "integrity": "sha512-8QQikdH7//R2vurIJSutZ1smHYTcLpRWEOlHnzcWHmBYrOGUysKwSsrC89BCiFj3CbrfJ/nXFdJepOVrY1GCHQ==",+ "dependencies": {+ "loose-envify": "^1.4.0",+ "object-assign": "^4.1.1",+ "react-is": "^16.8.1"+ }+ },+ "node_modules/prop-types/node_modules/react-is": {+ "version": "16.13.1",+ "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz",+ "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ=="+ },+ "node_modules/proxy-compare": {+ "version": "2.0.2",+ "resolved": "https://registry.npmjs.org/proxy-compare/-/proxy-compare-2.0.2.tgz",+ "integrity": "sha512-3qUXJBariEj3eO90M3Rgqq3+/P5Efl0t/dl9g/1uVzIQmO3M+ql4hvNH3mYdu8H+1zcKv07YvL55tsY74jmH1A=="+ },+ "node_modules/proxy-from-env": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz",+ "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg=="+ },+ "node_modules/public-encrypt": {+ "version": "4.0.3",+ "resolved": "https://registry.npmjs.org/public-encrypt/-/public-encrypt-4.0.3.tgz",+ "integrity": "sha512-zVpa8oKZSz5bTMTFClc1fQOnyyEzpl5ozpi1B5YcvBrdohMjH2rfsBtyXcuNuwjsDIXmBYlF2N5FlJYhR29t8Q==",+ "dependencies": {+ "bn.js": "^4.1.0",+ "browserify-rsa": "^4.0.0",+ "create-hash": "^1.1.0",+ "parse-asn1": "^5.0.0",+ "randombytes": "^2.0.1",+ "safe-buffer": "^5.1.2"+ }+ },+ "node_modules/public-encrypt/node_modules/bn.js": {+ "version": "4.12.0",+ "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz",+ "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA=="+ },+ "node_modules/pump": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz",+ "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==",+ "dependencies": {+ "end-of-stream": "^1.1.0",+ "once": "^1.3.1"+ }+ },+ "node_modules/punycode": {+ "version": "2.1.1",+ "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz",+ "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==",+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/purgecss": {+ "version": "4.0.3",+ "resolved": "https://registry.npmjs.org/purgecss/-/purgecss-4.0.3.tgz",+ "integrity": "sha512-PYOIn5ibRIP34PBU9zohUcCI09c7drPJJtTDAc0Q6QlRz2/CHQ8ywGLdE7ZhxU2VTqB7p5wkvj5Qcm05Rz3Jmw==",+ "dev": true,+ "dependencies": {+ "commander": "^6.0.0",+ "glob": "^7.0.0",+ "postcss": "^8.2.1",+ "postcss-selector-parser": "^6.0.2"+ },+ "bin": {+ "purgecss": "bin/purgecss.js"+ }+ },+ "node_modules/querystring": {+ "version": "0.2.1",+ "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.1.tgz",+ "integrity": "sha512-wkvS7mL/JMugcup3/rMitHmd9ecIGd2lhFhK9N3UUQ450h66d1r3Y9nvXzQAW1Lq+wyx61k/1pfKS5KuKiyEbg==",+ "deprecated": "The querystring API is considered Legacy. new code should use the URLSearchParams API instead.",+ "engines": {+ "node": ">=0.4.x"+ }+ },+ "node_modules/querystring-es3": {+ "version": "0.2.1",+ "resolved": "https://registry.npmjs.org/querystring-es3/-/querystring-es3-0.2.1.tgz",+ "integrity": "sha1-nsYfeQSYdXB9aUFFlv2Qek1xHnM=",+ "engines": {+ "node": ">=0.4.x"+ }+ },+ "node_modules/queue": {+ "version": "6.0.2",+ "resolved": "https://registry.npmjs.org/queue/-/queue-6.0.2.tgz",+ "integrity": "sha512-iHZWu+q3IdFZFX36ro/lKBkSvfkztY5Y7HMiPlOUjhupPcG2JMfst2KKEpu5XndviX/3UhFbRngUPNKtgvtZiA==",+ "dependencies": {+ "inherits": "~2.0.3"+ }+ },+ "node_modules/queue-microtask": {+ "version": "1.2.3",+ "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz",+ "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==",+ "dev": true,+ "funding": [+ {+ "type": "github",+ "url": "https://github.com/sponsors/feross"+ },+ {+ "type": "patreon",+ "url": "https://www.patreon.com/feross"+ },+ {+ "type": "consulting",+ "url": "https://feross.org/support"+ }+ ]+ },+ "node_modules/quick-lru": {+ "version": "5.1.1",+ "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-5.1.1.tgz",+ "integrity": "sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA==",+ "engines": {+ "node": ">=10"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/raf": {+ "version": "3.4.1",+ "resolved": "https://registry.npmjs.org/raf/-/raf-3.4.1.tgz",+ "integrity": "sha512-Sq4CW4QhwOHE8ucn6J34MqtZCeWFP2aQSmrlroYgqAV1PjStIhJXxYuTgUIfkEk7zTLjmIjLmU5q+fbD1NnOJA==",+ "dependencies": {+ "performance-now": "^2.1.0"+ }+ },+ "node_modules/raf-schd": {+ "version": "4.0.3",+ "resolved": "https://registry.npmjs.org/raf-schd/-/raf-schd-4.0.3.tgz",+ "integrity": "sha512-tQkJl2GRWh83ui2DiPTJz9wEiMN20syf+5oKfB03yYP7ioZcJwsIK8FjrtLwH1m7C7e+Tt2yYBlrOpdT+dyeIQ=="+ },+ "node_modules/randombytes": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz",+ "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==",+ "dependencies": {+ "safe-buffer": "^5.1.0"+ }+ },+ "node_modules/randomfill": {+ "version": "1.0.4",+ "resolved": "https://registry.npmjs.org/randomfill/-/randomfill-1.0.4.tgz",+ "integrity": "sha512-87lcbR8+MhcWcUiQ+9e+Rwx8MyR2P7qnt15ynUlbm3TU/fjbgz4GsvfSUDTemtCCtVCqb4ZcEFlyPNTh9bBTLw==",+ "dependencies": {+ "randombytes": "^2.0.5",+ "safe-buffer": "^5.1.0"+ }+ },+ "node_modules/raw-body": {+ "version": "2.4.1",+ "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.1.tgz",+ "integrity": "sha512-9WmIKF6mkvA0SLmA2Knm9+qj89e+j1zqgyn8aXGd7+nAduPoqgI9lO57SAZNn/Byzo5P7JhXTyg9PzaJbH73bA==",+ "dependencies": {+ "bytes": "3.1.0",+ "http-errors": "1.7.3",+ "iconv-lite": "0.4.24",+ "unpipe": "1.0.0"+ },+ "engines": {+ "node": ">= 0.8"+ }+ },+ "node_modules/raw-body/node_modules/iconv-lite": {+ "version": "0.4.24",+ "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz",+ "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==",+ "dependencies": {+ "safer-buffer": ">= 2.1.2 < 3"+ },+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/react": {+ "version": "17.0.2",+ "resolved": "https://registry.npmjs.org/react/-/react-17.0.2.tgz",+ "integrity": "sha512-gnhPt75i/dq/z3/6q/0asP78D0u592D5L1pd7M8P+dck6Fu/jJeL6iVVK23fptSUZj8Vjf++7wXA8UNclGQcbA==",+ "dependencies": {+ "loose-envify": "^1.1.0",+ "object-assign": "^4.1.1"+ },+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/react-beautiful-dnd": {+ "version": "13.1.0",+ "resolved": "https://registry.npmjs.org/react-beautiful-dnd/-/react-beautiful-dnd-13.1.0.tgz",+ "integrity": "sha512-aGvblPZTJowOWUNiwd6tNfEpgkX5OxmpqxHKNW/4VmvZTNTbeiq7bA3bn5T+QSF2uibXB0D1DmJsb1aC/+3cUA==",+ "dependencies": {+ "@babel/runtime": "^7.9.2",+ "css-box-model": "^1.2.0",+ "memoize-one": "^5.1.1",+ "raf-schd": "^4.0.2",+ "react-redux": "^7.2.0",+ "redux": "^4.0.4",+ "use-memo-one": "^1.1.1"+ },+ "peerDependencies": {+ "react": "^16.8.5 || ^17.0.0",+ "react-dom": "^16.8.5 || ^17.0.0"+ }+ },+ "node_modules/react-contexify": {+ "version": "5.0.0",+ "resolved": "https://registry.npmjs.org/react-contexify/-/react-contexify-5.0.0.tgz",+ "integrity": "sha512-2FIp7lxJ6dtfGr8EZ4uVV5p5TQjd0n2h/JU7PrejNIMiCeZWvSVPFh4lj1ZvjXosglBvP7q5JQQ8yUCdSaMSaw==",+ "dependencies": {+ "clsx": "^1.1.1"+ },+ "engines": {+ "node": ">=10"+ },+ "peerDependencies": {+ "react": ">=16",+ "react-dom": ">=16"+ }+ },+ "node_modules/react-csv": {+ "version": "2.0.3",+ "resolved": "https://registry.npmjs.org/react-csv/-/react-csv-2.0.3.tgz",+ "integrity": "sha512-exyAdFLAxtuM4wNwLYrlKyPYLiJ7e0mv9tqPAd3kq+k1CiJFtznevR3yP0icv5q/y200w+lzNgi7TQn1Wrhu0w=="+ },+ "node_modules/react-dnd": {+ "version": "14.0.3",+ "resolved": "https://registry.npmjs.org/react-dnd/-/react-dnd-14.0.3.tgz",+ "integrity": "sha512-i73Hx5SKfDRdwXe30+CjF/DidiRdt/gwpPN14ajkPR20t/0osnNKFNHg3DLV6RZym+DJ0pO9H5APeMsBWGU3+Q==",+ "dependencies": {+ "@react-dnd/invariant": "^2.0.0",+ "@react-dnd/shallowequal": "^2.0.0",+ "dnd-core": "14.0.0",+ "fast-deep-equal": "^3.1.3",+ "hoist-non-react-statics": "^3.3.2"+ },+ "peerDependencies": {+ "@types/hoist-non-react-statics": ">= 3.3.1",+ "@types/node": ">= 12",+ "@types/react": ">= 16",+ "react": ">= 16.14"+ },+ "peerDependenciesMeta": {+ "@types/hoist-non-react-statics": {+ "optional": true+ },+ "@types/node": {+ "optional": true+ },+ "@types/react": {+ "optional": true+ }+ }+ },+ "node_modules/react-dnd-html5-backend": {+ "version": "14.0.1",+ "resolved": "https://registry.npmjs.org/react-dnd-html5-backend/-/react-dnd-html5-backend-14.0.1.tgz",+ "integrity": "sha512-ZDmpvFpd1NR4riw/CMbr8C3mgP6ZhsTf0c48a36kw4ZW8emgiugNlAz/qhhZ4/Pz9TO6DZ63sQohUTTl+AWGiA==",+ "dependencies": {+ "dnd-core": "14.0.0"+ }+ },+ "node_modules/react-dom": {+ "version": "17.0.2",+ "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-17.0.2.tgz",+ "integrity": "sha512-s4h96KtLDUQlsENhMn1ar8t2bEa+q/YAtj8pPPdIjPDGBDIVNsrD9aXNWqspUe6AzKCIG0C1HZZLqLV7qpOBGA==",+ "dependencies": {+ "loose-envify": "^1.1.0",+ "object-assign": "^4.1.1",+ "scheduler": "^0.20.2"+ },+ "peerDependencies": {+ "react": "17.0.2"+ }+ },+ "node_modules/react-draggable": {+ "version": "4.4.4",+ "resolved": "https://registry.npmjs.org/react-draggable/-/react-draggable-4.4.4.tgz",+ "integrity": "sha512-6e0WdcNLwpBx/YIDpoyd2Xb04PB0elrDrulKUgdrIlwuYvxh5Ok9M+F8cljm8kPXXs43PmMzek9RrB1b7mLMqA==",+ "dependencies": {+ "clsx": "^1.1.1",+ "prop-types": "^15.6.0"+ },+ "peerDependencies": {+ "react": ">= 16.3.0",+ "react-dom": ">= 16.3.0"+ }+ },+ "node_modules/react-from-dom": {+ "version": "0.6.1",+ "resolved": "https://registry.npmjs.org/react-from-dom/-/react-from-dom-0.6.1.tgz",+ "integrity": "sha512-7aAZx7LhRnmR51W5XtmTBYHGFl2n1AdEk1uoXLuzHa1OoGXrxOW/iwLcudvgp6BGX/l4Yh1rtMrIzvhlvbVddg==",+ "peerDependencies": {+ "react": "^15.0.0 || ^16.0.0 || ^17.0.0"+ }+ },+ "node_modules/react-grid-layout": {+ "version": "1.3.0",+ "resolved": "https://registry.npmjs.org/react-grid-layout/-/react-grid-layout-1.3.0.tgz",+ "integrity": "sha512-WqFwybAItXu0AaSt9YL8+9xE5YotIzMcCYE0Q9XBqSKNyShTxPbC0LjObV/tOWZoADNWJ+osseVfRoZsjzwWXg==",+ "dependencies": {+ "classnames": "2.3.1",+ "lodash.isequal": "^4.0.0",+ "prop-types": "^15.0.0",+ "react-draggable": "^4.0.0",+ "react-resizable": "^3.0.4"+ },+ "peerDependencies": {+ "react": ">= 16.3.0",+ "react-dom": ">= 16.3.0"+ }+ },+ "node_modules/react-grid-layout/node_modules/classnames": {+ "version": "2.3.1",+ "resolved": "https://registry.npmjs.org/classnames/-/classnames-2.3.1.tgz",+ "integrity": "sha512-OlQdbZ7gLfGarSqxesMesDa5uz7KFbID8Kpq/SxIoNGDqY8lSYs0D+hhtBXhcdB3rcbXArFr7vlHheLk1voeNA=="+ },+ "node_modules/react-hot-toast": {+ "version": "2.1.1",+ "resolved": "https://registry.npmjs.org/react-hot-toast/-/react-hot-toast-2.1.1.tgz",+ "integrity": "sha512-Odrp4wue0fHh0pOfZt5H+9nWCMtqs3wdlFSzZPp7qsxfzmbE26QmGWIh6hG43CukiPeOjA8WQhBJU8JwtWvWbQ==",+ "dependencies": {+ "goober": "^2.0.35"+ },+ "engines": {+ "node": ">=10"+ },+ "peerDependencies": {+ "react": ">=16",+ "react-dom": ">=16"+ }+ },+ "node_modules/react-hot-toast/node_modules/csstype": {+ "version": "2.6.18",+ "resolved": "https://registry.npmjs.org/csstype/-/csstype-2.6.18.tgz",+ "integrity": "sha512-RSU6Hyeg14am3Ah4VZEmeX8H7kLwEEirXe6aU2IPfKNvhXwTflK5HQRDNI0ypQXoqmm+QPyG2IaPuQE5zMwSIQ==",+ "peer": true+ },+ "node_modules/react-hot-toast/node_modules/goober": {+ "version": "2.0.41",+ "resolved": "https://registry.npmjs.org/goober/-/goober-2.0.41.tgz",+ "integrity": "sha512-kwjegMT5018zWydhOQlQneCgCtrKJaPsru7TaBWmTYV0nsMeUrM6L6O8JmNYb9UbPMgWcmtf+9p4Y3oJabIH1A==",+ "peerDependencies": {+ "csstype": "^2.6.2"+ }+ },+ "node_modules/react-inlinesvg": {+ "version": "2.3.0",+ "resolved": "https://registry.npmjs.org/react-inlinesvg/-/react-inlinesvg-2.3.0.tgz",+ "integrity": "sha512-fEGOdDf4k4bcveArbEpj01pJcH8pOCKLxmSj2POFdGvEk5YK0NZVnH6BXpW/PzACHPRsuh1YKAhNZyFnD28oxg==",+ "dependencies": {+ "exenv": "^1.2.2",+ "react-from-dom": "^0.6.0"+ },+ "peerDependencies": {+ "react": "^16.8.0 || ^17.0.0"+ }+ },+ "node_modules/react-is": {+ "version": "17.0.2",+ "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz",+ "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w=="+ },+ "node_modules/react-lifecycles-compat": {+ "version": "3.0.4",+ "resolved": "https://registry.npmjs.org/react-lifecycles-compat/-/react-lifecycles-compat-3.0.4.tgz",+ "integrity": "sha512-fBASbA6LnOU9dOU2eW7aQ8xmYBSXUIWr+UmF9b1efZBazGNO+rcXT/icdKnYm2pTwcRylVUYwW7H1PHfLekVzA=="+ },+ "node_modules/react-redux": {+ "version": "7.2.6",+ "resolved": "https://registry.npmjs.org/react-redux/-/react-redux-7.2.6.tgz",+ "integrity": "sha512-10RPdsz0UUrRL1NZE0ejTkucnclYSgXp5q+tB5SWx2qeG2ZJQJyymgAhwKy73yiL/13btfB6fPr+rgbMAaZIAQ==",+ "dependencies": {+ "@babel/runtime": "^7.15.4",+ "@types/react-redux": "^7.1.20",+ "hoist-non-react-statics": "^3.3.2",+ "loose-envify": "^1.4.0",+ "prop-types": "^15.7.2",+ "react-is": "^17.0.2"+ },+ "peerDependencies": {+ "react": "^16.8.3 || ^17"+ },+ "peerDependenciesMeta": {+ "react-dom": {+ "optional": true+ },+ "react-native": {+ "optional": true+ }+ }+ },+ "node_modules/react-refresh": {+ "version": "0.8.3",+ "resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.8.3.tgz",+ "integrity": "sha512-X8jZHc7nCMjaCqoU+V2I0cOhNW+QMBwSUkeXnTi8IPe6zaRWfn60ZzvFDZqWPfmSJfjub7dDW1SP0jaHWLu/hg==",+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/react-resizable": {+ "version": "3.0.4",+ "resolved": "https://registry.npmjs.org/react-resizable/-/react-resizable-3.0.4.tgz",+ "integrity": "sha512-StnwmiESiamNzdRHbSSvA65b0ZQJ7eVQpPusrSmcpyGKzC0gojhtO62xxH6YOBmepk9dQTBi9yxidL3W4s3EBA==",+ "dependencies": {+ "prop-types": "15.x",+ "react-draggable": "^4.0.3"+ },+ "peerDependencies": {+ "react": ">= 16.3"+ }+ },+ "node_modules/react-resize-detector": {+ "version": "6.7.6",+ "resolved": "https://registry.npmjs.org/react-resize-detector/-/react-resize-detector-6.7.6.tgz",+ "integrity": "sha512-/6RZlul1yePSoYJxWxmmgjO320moeLC/khrwpEVIL+D2EjLKhqOwzFv+H8laMbImVj7Zu4FlMa0oA7au3/ChjQ==",+ "dependencies": {+ "@types/resize-observer-browser": "^0.1.6",+ "lodash.debounce": "^4.0.8",+ "lodash.throttle": "^4.1.1",+ "resize-observer-polyfill": "^1.5.1"+ },+ "peerDependencies": {+ "react": "^16.0.0 || ^17.0.0",+ "react-dom": "^16.0.0 || ^17.0.0"+ }+ },+ "node_modules/react-smooth": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/react-smooth/-/react-smooth-2.0.0.tgz",+ "integrity": "sha512-wK4dBBR6P21otowgMT9toZk+GngMplGS1O5gk+2WSiHEXIrQgDvhR5IIlT74Vtu//qpTcipkgo21dD7a7AUNxw==",+ "dependencies": {+ "fast-equals": "^2.0.0",+ "raf": "^3.4.0",+ "react-transition-group": "2.9.0"+ },+ "peerDependencies": {+ "prop-types": "^15.6.0",+ "react": "^15.0.0 || ^16.0.0 || ^17.0.0",+ "react-dom": "^15.0.0 || ^16.0.0 || ^17.0.0"+ }+ },+ "node_modules/react-split": {+ "version": "2.0.13",+ "resolved": "https://registry.npmjs.org/react-split/-/react-split-2.0.13.tgz",+ "integrity": "sha512-suq/UH4epMu2aF4NBh+imlpUvntsIvU3li9EBBLdxqNtYEg+nY7TGl8Ij65mD1qYyhs3dQhA1Pv3rLXd1s5/lQ==",+ "dependencies": {+ "prop-types": "^15.5.7",+ "split.js": "^1.6.0"+ },+ "peerDependencies": {+ "react": "*"+ }+ },+ "node_modules/react-tiny-popover": {+ "version": "6.0.10",+ "resolved": "https://registry.npmjs.org/react-tiny-popover/-/react-tiny-popover-6.0.10.tgz",+ "integrity": "sha512-ECMucd701SxWHGa+2YuVvccCxxTjmhomcD0ZYTF+Qmi5qNAj8pdlExFN+k+p1G78QTYIGPGNLocxRb9f6cZ0Mw==",+ "peerDependencies": {+ "react": "^16.8.0 || ^17.0.0",+ "react-dom": "^16.8.0 || ^17.0.0"+ }+ },+ "node_modules/react-tracked": {+ "version": "1.7.4",+ "resolved": "https://registry.npmjs.org/react-tracked/-/react-tracked-1.7.4.tgz",+ "integrity": "sha512-iWiH7ZNImKJW5UGZZnEKtoDcdxffMZVxr6LDoMNZOSJKrwMCpYF8RuP9hwtiFjNog2WjF1Zjp2IpPMj5JVAVnA==",+ "dependencies": {+ "proxy-compare": "2.0.2",+ "use-context-selector": "1.3.7"+ },+ "peerDependencies": {+ "react": ">=16.8.0",+ "react-dom": "*",+ "react-native": "*",+ "scheduler": ">=0.19.0"+ },+ "peerDependenciesMeta": {+ "react-dom": {+ "optional": true+ },+ "react-native": {+ "optional": true+ }+ }+ },+ "node_modules/react-transition-group": {+ "version": "2.9.0",+ "resolved": "https://registry.npmjs.org/react-transition-group/-/react-transition-group-2.9.0.tgz",+ "integrity": "sha512-+HzNTCHpeQyl4MJ/bdE0u6XRMe9+XG/+aL4mCxVN4DnPBQ0/5bfHWPDuOZUzYdMj94daZaZdCCc1Dzt9R/xSSg==",+ "dependencies": {+ "dom-helpers": "^3.4.0",+ "loose-envify": "^1.4.0",+ "prop-types": "^15.6.2",+ "react-lifecycles-compat": "^3.0.4"+ },+ "peerDependencies": {+ "react": ">=15.0.0",+ "react-dom": ">=15.0.0"+ }+ },+ "node_modules/react-virtualized-auto-sizer": {+ "version": "1.0.6",+ "resolved": "https://registry.npmjs.org/react-virtualized-auto-sizer/-/react-virtualized-auto-sizer-1.0.6.tgz",+ "integrity": "sha512-7tQ0BmZqfVF6YYEWcIGuoR3OdYe8I/ZFbNclFlGOC3pMqunkYF/oL30NCjSGl9sMEb17AnzixDz98Kqc3N76HQ==",+ "engines": {+ "node": ">8.0.0"+ },+ "peerDependencies": {+ "react": "^15.3.0 || ^16.0.0-alpha || ^17.0.0",+ "react-dom": "^15.3.0 || ^16.0.0-alpha || ^17.0.0"+ }+ },+ "node_modules/react-window": {+ "version": "1.8.6",+ "resolved": "https://registry.npmjs.org/react-window/-/react-window-1.8.6.tgz",+ "integrity": "sha512-8VwEEYyjz6DCnGBsd+MgkD0KJ2/OXFULyDtorIiTz+QzwoP94tBoA7CnbtyXMm+cCeAUER5KJcPtWl9cpKbOBg==",+ "dependencies": {+ "@babel/runtime": "^7.0.0",+ "memoize-one": ">=3.1.1 <6"+ },+ "engines": {+ "node": ">8.0.0"+ },+ "peerDependencies": {+ "react": "^15.0.0 || ^16.0.0 || ^17.0.0",+ "react-dom": "^15.0.0 || ^16.0.0 || ^17.0.0"+ }+ },+ "node_modules/react-window-infinite-loader": {+ "version": "1.0.7",+ "resolved": "https://registry.npmjs.org/react-window-infinite-loader/-/react-window-infinite-loader-1.0.7.tgz",+ "integrity": "sha512-wg3LWkUpG21lhv+cZvNy+p0+vtclZw+9nP2vO6T9PKT50EN1cUq37Dq6FzcM38h/c2domE0gsUhb6jHXtGogAA==",+ "engines": {+ "node": ">8.0.0"+ },+ "peerDependencies": {+ "react": "^15.3.0 || ^16.0.0-alpha || ^17.0.0",+ "react-dom": "^15.3.0 || ^16.0.0-alpha || ^17.0.0"+ }+ },+ "node_modules/readable-stream": {+ "version": "3.6.0",+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",+ "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",+ "dependencies": {+ "inherits": "^2.0.3",+ "string_decoder": "^1.1.1",+ "util-deprecate": "^1.0.1"+ },+ "engines": {+ "node": ">= 6"+ }+ },+ "node_modules/readdirp": {+ "version": "3.5.0",+ "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.5.0.tgz",+ "integrity": "sha512-cMhu7c/8rdhkHXWsY+osBhfSy0JikwpHK/5+imo+LpeasTF8ouErHrlYkwT0++njiyuDvc7OFY5T3ukvZ8qmFQ==",+ "dependencies": {+ "picomatch": "^2.2.1"+ },+ "engines": {+ "node": ">=8.10.0"+ }+ },+ "node_modules/recharts": {+ "version": "2.1.6",+ "resolved": "https://registry.npmjs.org/recharts/-/recharts-2.1.6.tgz",+ "integrity": "sha512-KnRNnCum1hL27DYhUfcdcKUEQkYnda6G+KDN4n/nCiTKp7UzJSgHfFHQvCkBujPi/U98dGd430DA2/8RJpkPlg==",+ "dependencies": {+ "@types/d3-interpolate": "^2.0.0",+ "@types/d3-scale": "^3.0.0",+ "@types/d3-shape": "^2.0.0",+ "classnames": "^2.2.5",+ "d3-interpolate": "^2.0.0",+ "d3-scale": "^3.0.0",+ "d3-shape": "^2.0.0",+ "eventemitter3": "^4.0.1",+ "lodash": "^4.17.19",+ "react-is": "^16.10.2",+ "react-resize-detector": "^6.6.3",+ "react-smooth": "^2.0.0",+ "recharts-scale": "^0.4.4",+ "reduce-css-calc": "^2.1.8"+ },+ "peerDependencies": {+ "react": "^16.0.0 || ^17.0.0",+ "react-dom": "^16.0.0 || ^17.0.0"+ }+ },+ "node_modules/recharts-scale": {+ "version": "0.4.5",+ "resolved": "https://registry.npmjs.org/recharts-scale/-/recharts-scale-0.4.5.tgz",+ "integrity": "sha512-kivNFO+0OcUNu7jQquLXAxz1FIwZj8nrj+YkOKc5694NbjCvcT6aSZiIzNzd2Kul4o4rTto8QVR9lMNtxD4G1w==",+ "dependencies": {+ "decimal.js-light": "^2.4.1"+ }+ },+ "node_modules/recharts/node_modules/react-is": {+ "version": "16.13.1",+ "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz",+ "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ=="+ },+ "node_modules/reduce-css-calc": {+ "version": "2.1.8",+ "resolved": "https://registry.npmjs.org/reduce-css-calc/-/reduce-css-calc-2.1.8.tgz",+ "integrity": "sha512-8liAVezDmUcH+tdzoEGrhfbGcP7nOV4NkGE3a74+qqvE7nt9i4sKLGBuZNOnpI4WiGksiNPklZxva80061QiPg==",+ "dependencies": {+ "css-unit-converter": "^1.1.1",+ "postcss-value-parser": "^3.3.0"+ }+ },+ "node_modules/reduce-css-calc/node_modules/postcss-value-parser": {+ "version": "3.3.1",+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",+ "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ=="+ },+ "node_modules/redux": {+ "version": "4.1.1",+ "resolved": "https://registry.npmjs.org/redux/-/redux-4.1.1.tgz",+ "integrity": "sha512-hZQZdDEM25UY2P493kPYuKqviVwZ58lEmGQNeQ+gXa+U0gYPUBf7NKYazbe3m+bs/DzM/ahN12DbF+NG8i0CWw==",+ "dependencies": {+ "@babel/runtime": "^7.9.2"+ }+ },+ "node_modules/regenerator-runtime": {+ "version": "0.13.9",+ "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz",+ "integrity": "sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA=="+ },+ "node_modules/remove-trailing-slash": {+ "version": "0.1.1",+ "resolved": "https://registry.npmjs.org/remove-trailing-slash/-/remove-trailing-slash-0.1.1.tgz",+ "integrity": "sha512-o4S4Qh6L2jpnCy83ysZDau+VORNvnFw07CKSAymkd6ICNVEPisMyzlc00KlvvicsxKck94SEwhDnMNdICzO+tA=="+ },+ "node_modules/repeat-string": {+ "version": "1.6.1",+ "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz",+ "integrity": "sha1-jcrkcOHIirwtYA//Sndihtp15jc=",+ "engines": {+ "node": ">=0.10"+ }+ },+ "node_modules/require-from-string": {+ "version": "2.0.2",+ "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz",+ "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==",+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/resize-observer-polyfill": {+ "version": "1.5.1",+ "resolved": "https://registry.npmjs.org/resize-observer-polyfill/-/resize-observer-polyfill-1.5.1.tgz",+ "integrity": "sha512-LwZrotdHOo12nQuZlHEmtuXdqGoOD0OhaxopaNFxWzInpEgaLWoVuAMbTzixuosCx2nEG58ngzW3vxdWoxIgdg=="+ },+ "node_modules/resolve": {+ "version": "1.20.0",+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.20.0.tgz",+ "integrity": "sha512-wENBPt4ySzg4ybFQW2TT1zMQucPK95HSh/nq2CFTZVOGut2+pQvSsgtda4d26YrYcr067wjbmzOG8byDPBX63A==",+ "dev": true,+ "dependencies": {+ "is-core-module": "^2.2.0",+ "path-parse": "^1.0.6"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/resolve-alpn": {+ "version": "1.2.1",+ "resolved": "https://registry.npmjs.org/resolve-alpn/-/resolve-alpn-1.2.1.tgz",+ "integrity": "sha512-0a1F4l73/ZFZOakJnQ3FvkJ2+gSTQWz/r2KE5OdDY0TxPm5h4GkqkWWfM47T7HsbnOtcJVEF4epCVy6u7Q3K+g=="+ },+ "node_modules/resolve-from": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz",+ "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==",+ "dev": true,+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/responselike": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/responselike/-/responselike-2.0.0.tgz",+ "integrity": "sha512-xH48u3FTB9VsZw7R+vvgaKeLKzT6jOogbQhEe/jewwnZgzPcnyWui2Av6JpoYZF/91uueC+lqhWqeURw5/qhCw==",+ "dependencies": {+ "lowercase-keys": "^2.0.0"+ }+ },+ "node_modules/reusify": {+ "version": "1.0.4",+ "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz",+ "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==",+ "dev": true,+ "engines": {+ "iojs": ">=1.0.0",+ "node": ">=0.10.0"+ }+ },+ "node_modules/rgb-regex": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/rgb-regex/-/rgb-regex-1.0.1.tgz",+ "integrity": "sha1-wODWiC3w4jviVKR16O3UGRX+rrE=",+ "dev": true+ },+ "node_modules/rgba-regex": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/rgba-regex/-/rgba-regex-1.0.0.tgz",+ "integrity": "sha1-QzdOLiyglosO8VI0YLfXMP8i7rM=",+ "dev": true+ },+ "node_modules/rimraf": {+ "version": "3.0.2",+ "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz",+ "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==",+ "dev": true,+ "dependencies": {+ "glob": "^7.1.3"+ },+ "bin": {+ "rimraf": "bin.js"+ },+ "funding": {+ "url": "https://github.com/sponsors/isaacs"+ }+ },+ "node_modules/ripemd160": {+ "version": "2.0.2",+ "resolved": "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz",+ "integrity": "sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==",+ "dependencies": {+ "hash-base": "^3.0.0",+ "inherits": "^2.0.1"+ }+ },+ "node_modules/run-parallel": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz",+ "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==",+ "dev": true,+ "funding": [+ {+ "type": "github",+ "url": "https://github.com/sponsors/feross"+ },+ {+ "type": "patreon",+ "url": "https://www.patreon.com/feross"+ },+ {+ "type": "consulting",+ "url": "https://feross.org/support"+ }+ ],+ "dependencies": {+ "queue-microtask": "^1.2.2"+ }+ },+ "node_modules/safe-buffer": {+ "version": "5.2.1",+ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",+ "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==",+ "funding": [+ {+ "type": "github",+ "url": "https://github.com/sponsors/feross"+ },+ {+ "type": "patreon",+ "url": "https://www.patreon.com/feross"+ },+ {+ "type": "consulting",+ "url": "https://feross.org/support"+ }+ ]+ },+ "node_modules/safer-buffer": {+ "version": "2.1.2",+ "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",+ "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="+ },+ "node_modules/sass": {+ "version": "1.43.4",+ "resolved": "https://registry.npmjs.org/sass/-/sass-1.43.4.tgz",+ "integrity": "sha512-/ptG7KE9lxpGSYiXn7Ar+lKOv37xfWsZRtFYal2QHNigyVQDx685VFT/h7ejVr+R8w7H4tmUgtulsKl5YpveOg==",+ "dependencies": {+ "chokidar": ">=3.0.0 <4.0.0"+ },+ "bin": {+ "sass": "sass.js"+ },+ "engines": {+ "node": ">=8.9.0"+ }+ },+ "node_modules/scheduler": {+ "version": "0.20.2",+ "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.20.2.tgz",+ "integrity": "sha512-2eWfGgAqqWFGqtdMmcL5zCMK1U8KlXv8SQFGglL3CEtd0aDVDWgeF/YoCmvln55m5zSk3J/20hTaSBeSObsQDQ==",+ "dependencies": {+ "loose-envify": "^1.1.0",+ "object-assign": "^4.1.1"+ }+ },+ "node_modules/schema-utils": {+ "version": "3.1.1",+ "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.1.tgz",+ "integrity": "sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==",+ "peer": true,+ "dependencies": {+ "@types/json-schema": "^7.0.8",+ "ajv": "^6.12.5",+ "ajv-keywords": "^3.5.2"+ },+ "engines": {+ "node": ">= 10.13.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/webpack"+ }+ },+ "node_modules/schema-utils/node_modules/ajv": {+ "version": "6.12.6",+ "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz",+ "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==",+ "peer": true,+ "dependencies": {+ "fast-deep-equal": "^3.1.1",+ "fast-json-stable-stringify": "^2.0.0",+ "json-schema-traverse": "^0.4.1",+ "uri-js": "^4.2.2"+ },+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/epoberezkin"+ }+ },+ "node_modules/schema-utils/node_modules/ajv-keywords": {+ "version": "3.5.2",+ "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz",+ "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==",+ "peer": true,+ "peerDependencies": {+ "ajv": "^6.9.1"+ }+ },+ "node_modules/schema-utils/node_modules/json-schema-traverse": {+ "version": "0.4.1",+ "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",+ "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",+ "peer": true+ },+ "node_modules/select": {+ "version": "1.1.2",+ "resolved": "https://registry.npmjs.org/select/-/select-1.1.2.tgz",+ "integrity": "sha1-DnNQrN7ICxEIUoeG7B1EGNEbOW0="+ },+ "node_modules/semver": {+ "version": "6.3.0",+ "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",+ "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==",+ "bin": {+ "semver": "bin/semver.js"+ }+ },+ "node_modules/serialize-javascript": {+ "version": "6.0.0",+ "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.0.tgz",+ "integrity": "sha512-Qr3TosvguFt8ePWqsvRfrKyQXIiW+nGbYpy8XK24NQHE83caxWt+mIymTT19DGFbNWNLfEwsrkSmN64lVWB9ag==",+ "peer": true,+ "dependencies": {+ "randombytes": "^2.1.0"+ }+ },+ "node_modules/set-blocking": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz",+ "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc="+ },+ "node_modules/setimmediate": {+ "version": "1.0.5",+ "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz",+ "integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU="+ },+ "node_modules/setprototypeof": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz",+ "integrity": "sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw=="+ },+ "node_modules/sha.js": {+ "version": "2.4.11",+ "resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz",+ "integrity": "sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==",+ "dependencies": {+ "inherits": "^2.0.1",+ "safe-buffer": "^5.0.1"+ },+ "bin": {+ "sha.js": "bin.js"+ }+ },+ "node_modules/shell-quote": {+ "version": "1.7.2",+ "resolved": "https://registry.npmjs.org/shell-quote/-/shell-quote-1.7.2.tgz",+ "integrity": "sha512-mRz/m/JVscCrkMyPqHc/bczi3OQHkLTqXHEFu0zDhK/qfv3UcOA4SVmRCLmos4bhjr9ekVQubj/R7waKapmiQg=="+ },+ "node_modules/side-channel": {+ "version": "1.0.4",+ "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz",+ "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==",+ "dependencies": {+ "call-bind": "^1.0.0",+ "get-intrinsic": "^1.0.2",+ "object-inspect": "^1.9.0"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/signal-exit": {+ "version": "3.0.5",+ "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.5.tgz",+ "integrity": "sha512-KWcOiKeQj6ZyXx7zq4YxSMgHRlod4czeBQZrPb8OKcohcqAXShm7E20kEMle9WBt26hFcAf0qLOcp5zmY7kOqQ=="+ },+ "node_modules/simple-swizzle": {+ "version": "0.2.2",+ "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz",+ "integrity": "sha1-pNprY1/8zMoz9w0Xy5JZLeleVXo=",+ "dev": true,+ "dependencies": {+ "is-arrayish": "^0.3.1"+ }+ },+ "node_modules/simple-swizzle/node_modules/is-arrayish": {+ "version": "0.3.2",+ "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz",+ "integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==",+ "dev": true+ },+ "node_modules/sirv": {+ "version": "1.0.18",+ "resolved": "https://registry.npmjs.org/sirv/-/sirv-1.0.18.tgz",+ "integrity": "sha512-f2AOPogZmXgJ9Ma2M22ZEhc1dNtRIzcEkiflMFeVTRq+OViOZMvH1IPMVOwrKaxpSaHioBJiDR0SluRqGa7atA==",+ "dev": true,+ "dependencies": {+ "@polka/url": "^1.0.0-next.20",+ "mime": "^2.3.1",+ "totalist": "^1.0.0"+ },+ "engines": {+ "node": ">= 10"+ }+ },+ "node_modules/source-map": {+ "version": "0.8.0-beta.0",+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.8.0-beta.0.tgz",+ "integrity": "sha512-2ymg6oRBpebeZi9UUNsgQ89bhx01TcTkmNTGnNO88imTmbSgy4nfujrgVEFKWpMTEGA11EDkTt7mqObTPdigIA==",+ "dependencies": {+ "whatwg-url": "^7.0.0"+ },+ "engines": {+ "node": ">= 8"+ }+ },+ "node_modules/source-map-js": {+ "version": "0.6.2",+ "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-0.6.2.tgz",+ "integrity": "sha512-/3GptzWzu0+0MBQFrDKzw/DvvMTUORvgY6k6jd/VS6iCR4RDTKWH6v6WPwQoUO8667uQEf9Oe38DxAYWY5F/Ug==",+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/source-map-support": {+ "version": "0.5.20",+ "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.20.tgz",+ "integrity": "sha512-n1lZZ8Ve4ksRqizaBQgxXDgKwttHDhyfQjA6YZZn8+AroHbsIz+JjwxQDxbp+7y5OYCI8t1Yk7etjD9CRd2hIw==",+ "peer": true,+ "dependencies": {+ "buffer-from": "^1.0.0",+ "source-map": "^0.6.0"+ }+ },+ "node_modules/source-map-support/node_modules/source-map": {+ "version": "0.6.1",+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",+ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",+ "peer": true,+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/split.js": {+ "version": "1.6.4",+ "resolved": "https://registry.npmjs.org/split.js/-/split.js-1.6.4.tgz",+ "integrity": "sha512-kYmQZprRJrF1IOjg/E+gdBEsKFv5kbgUE6RJVJZvrIzTOK/IHzKSqIeiJnWs7IP5D9TnpTQ2CbanuDuIWcyDUQ=="+ },+ "node_modules/split2": {+ "version": "3.2.2",+ "resolved": "https://registry.npmjs.org/split2/-/split2-3.2.2.tgz",+ "integrity": "sha512-9NThjpgZnifTkJpzTZ7Eue85S49QwpNhZTq6GRJwObb6jnLFNGB7Qm73V5HewTROPyxD0C29xqmaI68bQtV+hg==",+ "dependencies": {+ "readable-stream": "^3.0.0"+ }+ },+ "node_modules/sqlstring": {+ "version": "2.3.2",+ "resolved": "https://registry.npmjs.org/sqlstring/-/sqlstring-2.3.2.tgz",+ "integrity": "sha512-vF4ZbYdKS8OnoJAWBmMxCQDkiEBkGQYU7UZPtL8flbDRSNkhaXvRJ279ZtI6M+zDaQovVU4tuRgzK5fVhvFAhg==",+ "engines": {+ "node": ">= 0.6"+ }+ },+ "node_modules/stacktrace-parser": {+ "version": "0.1.10",+ "resolved": "https://registry.npmjs.org/stacktrace-parser/-/stacktrace-parser-0.1.10.tgz",+ "integrity": "sha512-KJP1OCML99+8fhOHxwwzyWrlUuVX5GQ0ZpJTd1DFXhdkrvg1szxfHhawXUZ3g9TkXORQd4/WG68jMlQZ2p8wlg==",+ "dependencies": {+ "type-fest": "^0.7.1"+ },+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/state-local": {+ "version": "1.0.7",+ "resolved": "https://registry.npmjs.org/state-local/-/state-local-1.0.7.tgz",+ "integrity": "sha512-HTEHMNieakEnoe33shBYcZ7NX83ACUjCu8c40iOGEZsngj9zRnkqS9j1pqQPXwobB0ZcVTk27REb7COQ0UR59w=="+ },+ "node_modules/statuses": {+ "version": "1.5.0",+ "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz",+ "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=",+ "engines": {+ "node": ">= 0.6"+ }+ },+ "node_modules/stream-browserify": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/stream-browserify/-/stream-browserify-3.0.0.tgz",+ "integrity": "sha512-H73RAHsVBapbim0tU2JwwOiXUj+fikfiaoYAKHF3VJfA0pe2BCzkhAHBlLG6REzE+2WNZcxOXjK7lkso+9euLA==",+ "dependencies": {+ "inherits": "~2.0.4",+ "readable-stream": "^3.5.0"+ }+ },+ "node_modules/stream-http": {+ "version": "3.1.1",+ "resolved": "https://registry.npmjs.org/stream-http/-/stream-http-3.1.1.tgz",+ "integrity": "sha512-S7OqaYu0EkFpgeGFb/NPOoPLxFko7TPqtEeFg5DXPB4v/KETHG0Ln6fRFrNezoelpaDKmycEmmZ81cC9DAwgYg==",+ "dependencies": {+ "builtin-status-codes": "^3.0.0",+ "inherits": "^2.0.4",+ "readable-stream": "^3.6.0",+ "xtend": "^4.0.2"+ }+ },+ "node_modules/stream-parser": {+ "version": "0.3.1",+ "resolved": "https://registry.npmjs.org/stream-parser/-/stream-parser-0.3.1.tgz",+ "integrity": "sha1-FhhUhpRCACGhGC/wrxkRwSl2F3M=",+ "dependencies": {+ "debug": "2"+ }+ },+ "node_modules/string_decoder": {+ "version": "1.3.0",+ "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz",+ "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==",+ "dependencies": {+ "safe-buffer": "~5.2.0"+ }+ },+ "node_modules/string-hash": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/string-hash/-/string-hash-1.1.3.tgz",+ "integrity": "sha1-6Kr8CsGFW0Zmkp7X3RJ1311sgRs="+ },+ "node_modules/string-width": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz",+ "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=",+ "dependencies": {+ "code-point-at": "^1.0.0",+ "is-fullwidth-code-point": "^1.0.0",+ "strip-ansi": "^3.0.0"+ },+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/string-width/node_modules/ansi-regex": {+ "version": "2.1.1",+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz",+ "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=",+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/string-width/node_modules/strip-ansi": {+ "version": "3.0.1",+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz",+ "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=",+ "dependencies": {+ "ansi-regex": "^2.0.0"+ },+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/string.prototype.trimend": {+ "version": "1.0.4",+ "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.4.tgz",+ "integrity": "sha512-y9xCjw1P23Awk8EvTpcyL2NIr1j7wJ39f+k6lvRnSMz+mz9CGz9NYPelDk42kOz6+ql8xjfK8oYzy3jAP5QU5A==",+ "dependencies": {+ "call-bind": "^1.0.2",+ "define-properties": "^1.1.3"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/string.prototype.trimstart": {+ "version": "1.0.4",+ "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.4.tgz",+ "integrity": "sha512-jh6e984OBfvxS50tdY2nRZnoC5/mLFKOREQfw8t5yytkoUsJRNxvI/E39qu1sD0OtWI3OC0XgKSmcWwziwYuZw==",+ "dependencies": {+ "call-bind": "^1.0.2",+ "define-properties": "^1.1.3"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/strip-ansi": {+ "version": "6.0.0",+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz",+ "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==",+ "dependencies": {+ "ansi-regex": "^5.0.0"+ },+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/styled-jsx": {+ "version": "3.3.2",+ "resolved": "https://registry.npmjs.org/styled-jsx/-/styled-jsx-3.3.2.tgz",+ "integrity": "sha512-daAkGd5mqhbBhLd6jYAjYBa9LpxYCzsgo/f6qzPdFxVB8yoGbhxvzQgkC0pfmCVvW3JuAEBn0UzFLBfkHVZG1g==",+ "dependencies": {+ "@babel/types": "7.8.3",+ "babel-plugin-syntax-jsx": "6.18.0",+ "convert-source-map": "1.7.0",+ "loader-utils": "1.2.3",+ "source-map": "0.7.3",+ "string-hash": "1.1.3",+ "stylis": "3.5.4",+ "stylis-rule-sheet": "0.0.10"+ },+ "peerDependencies": {+ "react": "15.x.x || 16.x.x || 17.x.x"+ }+ },+ "node_modules/styled-jsx/node_modules/source-map": {+ "version": "0.7.3",+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz",+ "integrity": "sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==",+ "engines": {+ "node": ">= 8"+ }+ },+ "node_modules/stylis": {+ "version": "3.5.4",+ "resolved": "https://registry.npmjs.org/stylis/-/stylis-3.5.4.tgz",+ "integrity": "sha512-8/3pSmthWM7lsPBKv7NXkzn2Uc9W7NotcwGNpJaa3k7WMM1XDCA4MgT5k/8BIexd5ydZdboXtU90XH9Ec4Bv/Q=="+ },+ "node_modules/stylis-rule-sheet": {+ "version": "0.0.10",+ "resolved": "https://registry.npmjs.org/stylis-rule-sheet/-/stylis-rule-sheet-0.0.10.tgz",+ "integrity": "sha512-nTbZoaqoBnmK+ptANthb10ZRZOGC+EmTLLUxeYIuHNkEKcmKgXX1XWKkUBT2Ac4es3NybooPe0SmvKdhKJZAuw==",+ "peerDependencies": {+ "stylis": "^3.5.0"+ }+ },+ "node_modules/supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/swr": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/swr/-/swr-1.0.1.tgz",+ "integrity": "sha512-EPQAxSjoD4IaM49rpRHK0q+/NzcwoT8c0/Ylu/u3/6mFj/CWnQVjNJ0MV2Iuw/U+EJSd2TX5czdAwKPYZIG0YA==",+ "dependencies": {+ "dequal": "2.0.2"+ },+ "peerDependencies": {+ "react": "^16.11.0 || ^17.0.0"+ }+ },+ "node_modules/tailwindcss": {+ "version": "2.2.15",+ "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-2.2.15.tgz",+ "integrity": "sha512-WgV41xTMbnSoTNMNnJvShQZ+8GmY86DmXTrCgnsveNZJdlybfwCItV8kAqjYmU49YiFr+ofzmT1JlAKajBZboQ==",+ "dev": true,+ "dependencies": {+ "arg": "^5.0.1",+ "bytes": "^3.0.0",+ "chalk": "^4.1.2",+ "chokidar": "^3.5.2",+ "color": "^4.0.1",+ "cosmiconfig": "^7.0.1",+ "detective": "^5.2.0",+ "didyoumean": "^1.2.2",+ "dlv": "^1.1.3",+ "fast-glob": "^3.2.7",+ "fs-extra": "^10.0.0",+ "glob-parent": "^6.0.1",+ "html-tags": "^3.1.0",+ "is-color-stop": "^1.1.0",+ "is-glob": "^4.0.1",+ "lodash": "^4.17.21",+ "lodash.topath": "^4.5.2",+ "modern-normalize": "^1.1.0",+ "node-emoji": "^1.11.0",+ "normalize-path": "^3.0.0",+ "object-hash": "^2.2.0",+ "postcss-js": "^3.0.3",+ "postcss-load-config": "^3.1.0",+ "postcss-nested": "5.0.6",+ "postcss-selector-parser": "^6.0.6",+ "postcss-value-parser": "^4.1.0",+ "pretty-hrtime": "^1.0.3",+ "purgecss": "^4.0.3",+ "quick-lru": "^5.1.1",+ "reduce-css-calc": "^2.1.8",+ "resolve": "^1.20.0",+ "tmp": "^0.2.1"+ },+ "bin": {+ "tailwind": "lib/cli.js",+ "tailwindcss": "lib/cli.js"+ },+ "engines": {+ "node": ">=12.13.0"+ },+ "peerDependencies": {+ "autoprefixer": "^10.0.2",+ "postcss": "^8.0.9"+ }+ },+ "node_modules/tailwindcss/node_modules/ansi-styles": {+ "version": "4.3.0",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",+ "dev": true,+ "dependencies": {+ "color-convert": "^2.0.1"+ },+ "engines": {+ "node": ">=8"+ },+ "funding": {+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"+ }+ },+ "node_modules/tailwindcss/node_modules/chalk": {+ "version": "4.1.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",+ "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",+ "dev": true,+ "dependencies": {+ "ansi-styles": "^4.1.0",+ "supports-color": "^7.1.0"+ },+ "engines": {+ "node": ">=10"+ },+ "funding": {+ "url": "https://github.com/chalk/chalk?sponsor=1"+ }+ },+ "node_modules/tailwindcss/node_modules/chokidar": {+ "version": "3.5.2",+ "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.2.tgz",+ "integrity": "sha512-ekGhOnNVPgT77r4K/U3GDhu+FQ2S8TnK/s2KbIGXi0SZWuwkZ2QNyfWdZW+TVfn84DpEP7rLeCt2UI6bJ8GwbQ==",+ "dev": true,+ "dependencies": {+ "anymatch": "~3.1.2",+ "braces": "~3.0.2",+ "glob-parent": "~5.1.2",+ "is-binary-path": "~2.1.0",+ "is-glob": "~4.0.1",+ "normalize-path": "~3.0.0",+ "readdirp": "~3.6.0"+ },+ "engines": {+ "node": ">= 8.10.0"+ },+ "optionalDependencies": {+ "fsevents": "~2.3.2"+ }+ },+ "node_modules/tailwindcss/node_modules/chokidar/node_modules/glob-parent": {+ "version": "5.1.2",+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",+ "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",+ "dev": true,+ "dependencies": {+ "is-glob": "^4.0.1"+ },+ "engines": {+ "node": ">= 6"+ }+ },+ "node_modules/tailwindcss/node_modules/color-convert": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",+ "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",+ "dev": true,+ "dependencies": {+ "color-name": "~1.1.4"+ },+ "engines": {+ "node": ">=7.0.0"+ }+ },+ "node_modules/tailwindcss/node_modules/color-name": {+ "version": "1.1.4",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",+ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",+ "dev": true+ },+ "node_modules/tailwindcss/node_modules/glob-parent": {+ "version": "6.0.1",+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.1.tgz",+ "integrity": "sha512-kEVjS71mQazDBHKcsq4E9u/vUzaLcw1A8EtUeydawvIWQCJM0qQ08G1H7/XTjFUulla6XQiDOG6MXSaG0HDKog==",+ "dev": true,+ "dependencies": {+ "is-glob": "^4.0.1"+ },+ "engines": {+ "node": ">=10.13.0"+ }+ },+ "node_modules/tailwindcss/node_modules/has-flag": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",+ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",+ "dev": true,+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/tailwindcss/node_modules/readdirp": {+ "version": "3.6.0",+ "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz",+ "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==",+ "dev": true,+ "dependencies": {+ "picomatch": "^2.2.1"+ },+ "engines": {+ "node": ">=8.10.0"+ }+ },+ "node_modules/tailwindcss/node_modules/supports-color": {+ "version": "7.2.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",+ "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",+ "dev": true,+ "dependencies": {+ "has-flag": "^4.0.0"+ },+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/tapable": {+ "version": "2.2.1",+ "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz",+ "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==",+ "peer": true,+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/terser-webpack-plugin": {+ "version": "5.2.5",+ "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.2.5.tgz",+ "integrity": "sha512-3luOVHku5l0QBeYS8r4CdHYWEGMmIj3H1U64jgkdZzECcSOJAyJ9TjuqcQZvw1Y+4AOBN9SeYJPJmFn2cM4/2g==",+ "peer": true,+ "dependencies": {+ "jest-worker": "^27.0.6",+ "schema-utils": "^3.1.1",+ "serialize-javascript": "^6.0.0",+ "source-map": "^0.6.1",+ "terser": "^5.7.2"+ },+ "engines": {+ "node": ">= 10.13.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/webpack"+ },+ "peerDependencies": {+ "webpack": "^5.1.0"+ },+ "peerDependenciesMeta": {+ "@swc/core": {+ "optional": true+ },+ "esbuild": {+ "optional": true+ },+ "uglify-js": {+ "optional": true+ }+ }+ },+ "node_modules/terser-webpack-plugin/node_modules/acorn": {+ "version": "8.5.0",+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.5.0.tgz",+ "integrity": "sha512-yXbYeFy+jUuYd3/CDcg2NkIYE991XYX/bje7LmjJigUciaeO1JR4XxXgCIV1/Zc/dRuFEyw1L0pbA+qynJkW5Q==",+ "optional": true,+ "peer": true,+ "bin": {+ "acorn": "bin/acorn"+ },+ "engines": {+ "node": ">=0.4.0"+ }+ },+ "node_modules/terser-webpack-plugin/node_modules/commander": {+ "version": "2.20.3",+ "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz",+ "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==",+ "peer": true+ },+ "node_modules/terser-webpack-plugin/node_modules/has-flag": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",+ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",+ "peer": true,+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/terser-webpack-plugin/node_modules/jest-worker": {+ "version": "27.3.1",+ "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-27.3.1.tgz",+ "integrity": "sha512-ks3WCzsiZaOPJl/oMsDjaf0TRiSv7ctNgs0FqRr2nARsovz6AWWy4oLElwcquGSz692DzgZQrCLScPNs5YlC4g==",+ "peer": true,+ "dependencies": {+ "@types/node": "*",+ "merge-stream": "^2.0.0",+ "supports-color": "^8.0.0"+ },+ "engines": {+ "node": ">= 10.13.0"+ }+ },+ "node_modules/terser-webpack-plugin/node_modules/source-map": {+ "version": "0.6.1",+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",+ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",+ "peer": true,+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/terser-webpack-plugin/node_modules/supports-color": {+ "version": "8.1.1",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz",+ "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==",+ "peer": true,+ "dependencies": {+ "has-flag": "^4.0.0"+ },+ "engines": {+ "node": ">=10"+ },+ "funding": {+ "url": "https://github.com/chalk/supports-color?sponsor=1"+ }+ },+ "node_modules/terser-webpack-plugin/node_modules/terser": {+ "version": "5.10.0",+ "resolved": "https://registry.npmjs.org/terser/-/terser-5.10.0.tgz",+ "integrity": "sha512-AMmF99DMfEDiRJfxfY5jj5wNH/bYO09cniSqhfoyxc8sFoYIgkJy86G04UoZU5VjlpnplVu0K6Tx6E9b5+DlHA==",+ "peer": true,+ "dependencies": {+ "commander": "^2.20.0",+ "source-map": "~0.7.2",+ "source-map-support": "~0.5.20"+ },+ "bin": {+ "terser": "bin/terser"+ },+ "engines": {+ "node": ">=10"+ },+ "peerDependencies": {+ "acorn": "^8.5.0"+ },+ "peerDependenciesMeta": {+ "acorn": {+ "optional": true+ }+ }+ },+ "node_modules/terser-webpack-plugin/node_modules/terser/node_modules/source-map": {+ "version": "0.7.3",+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz",+ "integrity": "sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==",+ "peer": true,+ "engines": {+ "node": ">= 8"+ }+ },+ "node_modules/timers-browserify": {+ "version": "2.0.12",+ "resolved": "https://registry.npmjs.org/timers-browserify/-/timers-browserify-2.0.12.tgz",+ "integrity": "sha512-9phl76Cqm6FhSX9Xe1ZUAMLtm1BLkKj2Qd5ApyWkXzsMRaA7dgr81kf4wJmQf/hAvg8EEyJxDo3du/0KlhPiKQ==",+ "dependencies": {+ "setimmediate": "^1.0.4"+ },+ "engines": {+ "node": ">=0.6.0"+ }+ },+ "node_modules/tiny-emitter": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/tiny-emitter/-/tiny-emitter-2.1.0.tgz",+ "integrity": "sha512-NB6Dk1A9xgQPMoGqC5CVXn123gWyte215ONT5Pp5a0yt4nlEoO1ZWeCwpncaekPHXO60i47ihFnZPiRPjRMq4Q=="+ },+ "node_modules/tiny-invariant": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/tiny-invariant/-/tiny-invariant-1.1.0.tgz",+ "integrity": "sha512-ytxQvrb1cPc9WBEI/HSeYYoGD0kWnGEOR8RY6KomWLBVhqz0RgTwVO9dLrGz7dC+nN9llyI7OKAgRq8Vq4ZBSw=="+ },+ "node_modules/tmp": {+ "version": "0.2.1",+ "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.1.tgz",+ "integrity": "sha512-76SUhtfqR2Ijn+xllcI5P1oyannHNHByD80W1q447gU3mp9G9PSpGdWmjUOHRDPiHYacIk66W7ubDTuPF3BEtQ==",+ "dev": true,+ "dependencies": {+ "rimraf": "^3.0.0"+ },+ "engines": {+ "node": ">=8.17.0"+ }+ },+ "node_modules/to-arraybuffer": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/to-arraybuffer/-/to-arraybuffer-1.0.1.tgz",+ "integrity": "sha1-fSKbH8xjfkZsoIEYCDanqr/4P0M="+ },+ "node_modules/to-fast-properties": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz",+ "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=",+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/to-regex-range": {+ "version": "5.0.1",+ "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",+ "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",+ "dependencies": {+ "is-number": "^7.0.0"+ },+ "engines": {+ "node": ">=8.0"+ }+ },+ "node_modules/toidentifier": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz",+ "integrity": "sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw==",+ "engines": {+ "node": ">=0.6"+ }+ },+ "node_modules/totalist": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/totalist/-/totalist-1.1.0.tgz",+ "integrity": "sha512-gduQwd1rOdDMGxFG1gEvhV88Oirdo2p+KjoYFU7k2g+i7n6AFFbDQ5kMPUsW0pNbfQsB/cwXvT1i4Bue0s9g5g==",+ "dev": true,+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/tr46": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/tr46/-/tr46-1.0.1.tgz",+ "integrity": "sha1-qLE/1r/SSJUZZ0zN5VujaTtwbQk=",+ "dependencies": {+ "punycode": "^2.1.0"+ }+ },+ "node_modules/ts-pnp": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/ts-pnp/-/ts-pnp-1.2.0.tgz",+ "integrity": "sha512-csd+vJOb/gkzvcCHgTGSChYpy5f1/XKNsmvBGO4JXS+z1v2HobugDz4s1IeFXM3wZB44uczs+eazB5Q/ccdhQw==",+ "engines": {+ "node": ">=6"+ },+ "peerDependenciesMeta": {+ "typescript": {+ "optional": true+ }+ }+ },+ "node_modules/tslib": {+ "version": "2.3.1",+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.1.tgz",+ "integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw=="+ },+ "node_modules/tty-browserify": {+ "version": "0.0.1",+ "resolved": "https://registry.npmjs.org/tty-browserify/-/tty-browserify-0.0.1.tgz",+ "integrity": "sha512-C3TaO7K81YvjCgQH9Q1S3R3P3BtN3RIM8n+OvX4il1K1zgE8ZhI0op7kClgkxtutIE8hQrcrHBXvIheqKUUCxw=="+ },+ "node_modules/type": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/type/-/type-1.2.0.tgz",+ "integrity": "sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg=="+ },+ "node_modules/type-fest": {+ "version": "0.7.1",+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.7.1.tgz",+ "integrity": "sha512-Ne2YiiGN8bmrmJJEuTWTLJR32nh/JdL1+PSicowtNb0WFpn59GK8/lfD61bVtzguz7b3PBt74nxpv/Pw5po5Rg==",+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/typedarray-to-buffer": {+ "version": "3.1.5",+ "resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz",+ "integrity": "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==",+ "dependencies": {+ "is-typedarray": "^1.0.0"+ }+ },+ "node_modules/typescript": {+ "version": "4.3.4",+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.3.4.tgz",+ "integrity": "sha512-uauPG7XZn9F/mo+7MrsRjyvbxFpzemRjKEZXS4AK83oP2KKOJPvb+9cO/gmnv8arWZvhnjVOXz7B49m1l0e9Ew==",+ "dev": true,+ "bin": {+ "tsc": "bin/tsc",+ "tsserver": "bin/tsserver"+ },+ "engines": {+ "node": ">=4.2.0"+ }+ },+ "node_modules/unbox-primitive": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.1.tgz",+ "integrity": "sha512-tZU/3NqK3dA5gpE1KtyiJUrEB0lxnGkMFHptJ7q6ewdZ8s12QrODwNbhIJStmJkd1QDXa1NRA8aF2A1zk/Ypyw==",+ "dependencies": {+ "function-bind": "^1.1.1",+ "has-bigints": "^1.0.1",+ "has-symbols": "^1.0.2",+ "which-boxed-primitive": "^1.0.2"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/uniforms": {+ "version": "3.6.2",+ "resolved": "https://registry.npmjs.org/uniforms/-/uniforms-3.6.2.tgz",+ "integrity": "sha512-3mPd7xRkL5MHdV18z/+xYDayCMr4Ed675FFOQG7bPWQ1sHXMoM3YGhx/rz3h8sqWKyOetbPeQKiHnCSWq1AxgQ==",+ "dependencies": {+ "invariant": "^2.0.0",+ "lodash": "^4.0.0",+ "tslib": "^2.2.0"+ },+ "funding": {+ "url": "https://github.com/vazco/uniforms?sponsor=1"+ },+ "peerDependencies": {+ "react": "^17.0.0 || ^16.8.0"+ }+ },+ "node_modules/uniforms-bootstrap4": {+ "version": "3.6.2",+ "resolved": "https://registry.npmjs.org/uniforms-bootstrap4/-/uniforms-bootstrap4-3.6.2.tgz",+ "integrity": "sha512-rdQClzTs171OLV/cxT5Ggl5fhx0cteVrOWVs6Jgbk3Wl1LUMBrZCynwz5TLVvM+Ayj7F47/DjoKYREF/HOE/5Q==",+ "dependencies": {+ "classnames": "^2.0.0",+ "invariant": "^2.0.0",+ "lodash": "^4.0.0",+ "tslib": "^2.2.0",+ "uniforms": "^3.6.2",+ "warning": "^4.0.0"+ },+ "funding": {+ "url": "https://github.com/vazco/uniforms?sponsor=1"+ },+ "peerDependencies": {+ "react": "^17.0.0 || ^16.8.0"+ }+ },+ "node_modules/uniforms-bridge-json-schema": {+ "version": "3.6.2",+ "resolved": "https://registry.npmjs.org/uniforms-bridge-json-schema/-/uniforms-bridge-json-schema-3.6.2.tgz",+ "integrity": "sha512-NI9qfFpImxsljw+k17D/QEAQwKlQHVtJlTVRlcMI00pHf3bx+3Kg2E3f/b5OLHKiM0eK3xF1hldBU0zpopuw3g==",+ "dependencies": {+ "invariant": "^2.0.0",+ "lodash": "^4.0.0",+ "tslib": "^2.2.0",+ "uniforms": "^3.6.2"+ },+ "funding": {+ "url": "https://github.com/vazco/uniforms?sponsor=1"+ }+ },+ "node_modules/universalify": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz",+ "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==",+ "dev": true,+ "engines": {+ "node": ">= 10.0.0"+ }+ },+ "node_modules/unpipe": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz",+ "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=",+ "engines": {+ "node": ">= 0.8"+ }+ },+ "node_modules/uri-js": {+ "version": "4.4.1",+ "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz",+ "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==",+ "dependencies": {+ "punycode": "^2.1.0"+ }+ },+ "node_modules/url": {+ "version": "0.11.0",+ "resolved": "https://registry.npmjs.org/url/-/url-0.11.0.tgz",+ "integrity": "sha1-ODjpfPxgUh63PFJajlW/3Z4uKPE=",+ "dependencies": {+ "punycode": "1.3.2",+ "querystring": "0.2.0"+ }+ },+ "node_modules/url-join": {+ "version": "4.0.1",+ "resolved": "https://registry.npmjs.org/url-join/-/url-join-4.0.1.tgz",+ "integrity": "sha512-jk1+QP6ZJqyOiuEI9AEWQfju/nB2Pw466kbA0LEZljHwKeMgd9WrAEgEGxjPDD2+TNbbb37rTyhEfrCXfuKXnA=="+ },+ "node_modules/url/node_modules/punycode": {+ "version": "1.3.2",+ "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz",+ "integrity": "sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0="+ },+ "node_modules/url/node_modules/querystring": {+ "version": "0.2.0",+ "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz",+ "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=",+ "deprecated": "The querystring API is considered Legacy. new code should use the URLSearchParams API instead.",+ "engines": {+ "node": ">=0.4.x"+ }+ },+ "node_modules/use-context-selector": {+ "version": "1.3.7",+ "resolved": "https://registry.npmjs.org/use-context-selector/-/use-context-selector-1.3.7.tgz",+ "integrity": "sha512-O94hcN9UDAPTC4Fsm3p6Og5PVlhTEeKqxJX3HuBbVSuevOSPLDZxowFUmx49/fnu9jpgY83Nd3TALJVDRtYzdQ==",+ "peerDependencies": {+ "react": ">=16.8.0",+ "react-dom": "*",+ "react-native": "*",+ "scheduler": ">=0.19.0"+ },+ "peerDependenciesMeta": {+ "react-dom": {+ "optional": true+ },+ "react-native": {+ "optional": true+ }+ }+ },+ "node_modules/use-memo-one": {+ "version": "1.1.2",+ "resolved": "https://registry.npmjs.org/use-memo-one/-/use-memo-one-1.1.2.tgz",+ "integrity": "sha512-u2qFKtxLsia/r8qG0ZKkbytbztzRb317XCkT7yP8wxL0tZ/CzK2G+WWie5vWvpyeP7+YoPIwbJoIHJ4Ba4k0oQ==",+ "peerDependencies": {+ "react": "^16.8.0 || ^17.0.0"+ }+ },+ "node_modules/use-subscription": {+ "version": "1.5.1",+ "resolved": "https://registry.npmjs.org/use-subscription/-/use-subscription-1.5.1.tgz",+ "integrity": "sha512-Xv2a1P/yReAjAbhylMfFplFKj9GssgTwN7RlcTxBujFQcloStWNDQdc4g4NRWH9xS4i/FDk04vQBptAXoF3VcA==",+ "dependencies": {+ "object-assign": "^4.1.1"+ },+ "peerDependencies": {+ "react": "^16.8.0 || ^17.0.0"+ }+ },+ "node_modules/utf-8-validate": {+ "version": "5.0.7",+ "resolved": "https://registry.npmjs.org/utf-8-validate/-/utf-8-validate-5.0.7.tgz",+ "integrity": "sha512-vLt1O5Pp+flcArHGIyKEQq883nBt8nN8tVBcoL0qUXj2XT1n7p70yGIq2VK98I5FdZ1YHc0wk/koOnHjnXWk1Q==",+ "hasInstallScript": true,+ "dependencies": {+ "node-gyp-build": "^4.3.0"+ },+ "engines": {+ "node": ">=6.14.2"+ }+ },+ "node_modules/util": {+ "version": "0.12.4",+ "resolved": "https://registry.npmjs.org/util/-/util-0.12.4.tgz",+ "integrity": "sha512-bxZ9qtSlGUWSOy9Qa9Xgk11kSslpuZwaxCg4sNIDj6FLucDab2JxnHwyNTCpHMtK1MjoQiWQ6DiUMZYbSrO+Sw==",+ "dependencies": {+ "inherits": "^2.0.3",+ "is-arguments": "^1.0.4",+ "is-generator-function": "^1.0.7",+ "is-typed-array": "^1.1.3",+ "safe-buffer": "^5.1.2",+ "which-typed-array": "^1.1.2"+ }+ },+ "node_modules/util-deprecate": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",+ "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8="+ },+ "node_modules/uuid": {+ "version": "3.4.0",+ "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz",+ "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==",+ "deprecated": "Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.",+ "bin": {+ "uuid": "bin/uuid"+ }+ },+ "node_modules/vm-browserify": {+ "version": "1.1.2",+ "resolved": "https://registry.npmjs.org/vm-browserify/-/vm-browserify-1.1.2.tgz",+ "integrity": "sha512-2ham8XPWTONajOR0ohOKOHXkm3+gaBmGut3SRuu75xLd/RRaY6vqgh8NBYYk7+RW3u5AtzPQZG8F10LHkl0lAQ=="+ },+ "node_modules/warning": {+ "version": "4.0.3",+ "resolved": "https://registry.npmjs.org/warning/-/warning-4.0.3.tgz",+ "integrity": "sha512-rpJyN222KWIvHJ/F53XSZv0Zl/accqHR8et1kpaMTD/fLCRxtV8iX8czMzY7sVZupTI3zcUTg8eycS2kNF9l6w==",+ "dependencies": {+ "loose-envify": "^1.0.0"+ }+ },+ "node_modules/watchpack": {+ "version": "2.1.1",+ "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.1.1.tgz",+ "integrity": "sha512-Oo7LXCmc1eE1AjyuSBmtC3+Wy4HcV8PxWh2kP6fOl8yTlNS7r0K9l1ao2lrrUza7V39Y3D/BbJgY8VeSlc5JKw==",+ "dependencies": {+ "glob-to-regexp": "^0.4.1",+ "graceful-fs": "^4.1.2"+ },+ "engines": {+ "node": ">=10.13.0"+ }+ },+ "node_modules/webidl-conversions": {+ "version": "4.0.2",+ "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-4.0.2.tgz",+ "integrity": "sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg=="+ },+ "node_modules/webpack": {+ "version": "5.64.1",+ "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.64.1.tgz",+ "integrity": "sha512-b4FHmRgaaAjP+aVOVz41a9Qa5SmkUPQ+u8FntTQ1roPHahSComB6rXnLwc976VhUY4CqTaLu5mCswuHiNhOfVw==",+ "peer": true,+ "dependencies": {+ "@types/eslint-scope": "^3.7.0",+ "@types/estree": "^0.0.50",+ "@webassemblyjs/ast": "1.11.1",+ "@webassemblyjs/wasm-edit": "1.11.1",+ "@webassemblyjs/wasm-parser": "1.11.1",+ "acorn": "^8.4.1",+ "acorn-import-assertions": "^1.7.6",+ "browserslist": "^4.14.5",+ "chrome-trace-event": "^1.0.2",+ "enhanced-resolve": "^5.8.3",+ "es-module-lexer": "^0.9.0",+ "eslint-scope": "5.1.1",+ "events": "^3.2.0",+ "glob-to-regexp": "^0.4.1",+ "graceful-fs": "^4.2.4",+ "json-parse-better-errors": "^1.0.2",+ "loader-runner": "^4.2.0",+ "mime-types": "^2.1.27",+ "neo-async": "^2.6.2",+ "schema-utils": "^3.1.0",+ "tapable": "^2.1.1",+ "terser-webpack-plugin": "^5.1.3",+ "watchpack": "^2.2.0",+ "webpack-sources": "^3.2.2"+ },+ "bin": {+ "webpack": "bin/webpack.js"+ },+ "engines": {+ "node": ">=10.13.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/webpack"+ },+ "peerDependenciesMeta": {+ "webpack-cli": {+ "optional": true+ }+ }+ },+ "node_modules/webpack-bundle-analyzer": {+ "version": "4.3.0",+ "resolved": "https://registry.npmjs.org/webpack-bundle-analyzer/-/webpack-bundle-analyzer-4.3.0.tgz",+ "integrity": "sha512-J3TPm54bPARx6QG8z4cKBszahnUglcv70+N+8gUqv2I5KOFHJbzBiLx+pAp606so0X004fxM7hqRu10MLjJifA==",+ "dev": true,+ "dependencies": {+ "acorn": "^8.0.4",+ "acorn-walk": "^8.0.0",+ "chalk": "^4.1.0",+ "commander": "^6.2.0",+ "gzip-size": "^6.0.0",+ "lodash": "^4.17.20",+ "opener": "^1.5.2",+ "sirv": "^1.0.7",+ "ws": "^7.3.1"+ },+ "bin": {+ "webpack-bundle-analyzer": "lib/bin/analyzer.js"+ },+ "engines": {+ "node": ">= 10.13.0"+ }+ },+ "node_modules/webpack-bundle-analyzer/node_modules/acorn": {+ "version": "8.6.0",+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.6.0.tgz",+ "integrity": "sha512-U1riIR+lBSNi3IbxtaHOIKdH8sLFv3NYfNv8sg7ZsNhcfl4HF2++BfqqrNAxoCLQW1iiylOj76ecnaUxz+z9yw==",+ "dev": true,+ "bin": {+ "acorn": "bin/acorn"+ },+ "engines": {+ "node": ">=0.4.0"+ }+ },+ "node_modules/webpack-bundle-analyzer/node_modules/acorn-walk": {+ "version": "8.2.0",+ "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.2.0.tgz",+ "integrity": "sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==",+ "dev": true,+ "engines": {+ "node": ">=0.4.0"+ }+ },+ "node_modules/webpack-bundle-analyzer/node_modules/ansi-styles": {+ "version": "4.3.0",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",+ "dev": true,+ "dependencies": {+ "color-convert": "^2.0.1"+ },+ "engines": {+ "node": ">=8"+ },+ "funding": {+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"+ }+ },+ "node_modules/webpack-bundle-analyzer/node_modules/chalk": {+ "version": "4.1.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",+ "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",+ "dev": true,+ "dependencies": {+ "ansi-styles": "^4.1.0",+ "supports-color": "^7.1.0"+ },+ "engines": {+ "node": ">=10"+ },+ "funding": {+ "url": "https://github.com/chalk/chalk?sponsor=1"+ }+ },+ "node_modules/webpack-bundle-analyzer/node_modules/color-convert": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",+ "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",+ "dev": true,+ "dependencies": {+ "color-name": "~1.1.4"+ },+ "engines": {+ "node": ">=7.0.0"+ }+ },+ "node_modules/webpack-bundle-analyzer/node_modules/color-name": {+ "version": "1.1.4",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",+ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",+ "dev": true+ },+ "node_modules/webpack-bundle-analyzer/node_modules/has-flag": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",+ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",+ "dev": true,+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/webpack-bundle-analyzer/node_modules/supports-color": {+ "version": "7.2.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",+ "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",+ "dev": true,+ "dependencies": {+ "has-flag": "^4.0.0"+ },+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/webpack-sources": {+ "version": "3.2.2",+ "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-3.2.2.tgz",+ "integrity": "sha512-cp5qdmHnu5T8wRg2G3vZZHoJPN14aqQ89SyQ11NpGH5zEMDCclt49rzo+MaRazk7/UeILhAI+/sEtcM+7Fr0nw==",+ "peer": true,+ "engines": {+ "node": ">=10.13.0"+ }+ },+ "node_modules/webpack/node_modules/acorn": {+ "version": "8.5.0",+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.5.0.tgz",+ "integrity": "sha512-yXbYeFy+jUuYd3/CDcg2NkIYE991XYX/bje7LmjJigUciaeO1JR4XxXgCIV1/Zc/dRuFEyw1L0pbA+qynJkW5Q==",+ "peer": true,+ "bin": {+ "acorn": "bin/acorn"+ },+ "engines": {+ "node": ">=0.4.0"+ }+ },+ "node_modules/webpack/node_modules/acorn-import-assertions": {+ "version": "1.8.0",+ "resolved": "https://registry.npmjs.org/acorn-import-assertions/-/acorn-import-assertions-1.8.0.tgz",+ "integrity": "sha512-m7VZ3jwz4eK6A4Vtt8Ew1/mNbP24u0FhdyfA7fSvnJR6LMdfOYnmuIrrJAgrYfYJ10F/otaHTtrtrtmHdMNzEw==",+ "peer": true,+ "peerDependencies": {+ "acorn": "^8"+ }+ },+ "node_modules/webpack/node_modules/watchpack": {+ "version": "2.2.0",+ "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.2.0.tgz",+ "integrity": "sha512-up4YAn/XHgZHIxFBVCdlMiWDj6WaLKpwVeGQk2I5thdYxF/KmF0aaz6TfJZ/hfl1h/XlcDr7k1KH7ThDagpFaA==",+ "peer": true,+ "dependencies": {+ "glob-to-regexp": "^0.4.1",+ "graceful-fs": "^4.1.2"+ },+ "engines": {+ "node": ">=10.13.0"+ }+ },+ "node_modules/websocket": {+ "version": "1.0.34",+ "resolved": "https://registry.npmjs.org/websocket/-/websocket-1.0.34.tgz",+ "integrity": "sha512-PRDso2sGwF6kM75QykIesBijKSVceR6jL2G8NGYyq2XrItNC2P5/qL5XeR056GhA+Ly7JMFvJb9I312mJfmqnQ==",+ "dependencies": {+ "bufferutil": "^4.0.1",+ "debug": "^2.2.0",+ "es5-ext": "^0.10.50",+ "typedarray-to-buffer": "^3.1.5",+ "utf-8-validate": "^5.0.2",+ "yaeti": "^0.0.6"+ },+ "engines": {+ "node": ">=4.0.0"+ }+ },+ "node_modules/whatwg-url": {+ "version": "7.1.0",+ "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-7.1.0.tgz",+ "integrity": "sha512-WUu7Rg1DroM7oQvGWfOiAK21n74Gg+T4elXEQYkOhtyLeWiJFoOGLXPKI/9gzIie9CtwVLm8wtw6YJdKyxSjeg==",+ "dependencies": {+ "lodash.sortby": "^4.7.0",+ "tr46": "^1.0.1",+ "webidl-conversions": "^4.0.2"+ }+ },+ "node_modules/which-boxed-primitive": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz",+ "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==",+ "dependencies": {+ "is-bigint": "^1.0.1",+ "is-boolean-object": "^1.1.0",+ "is-number-object": "^1.0.4",+ "is-string": "^1.0.5",+ "is-symbol": "^1.0.3"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/which-typed-array": {+ "version": "1.1.7",+ "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.7.tgz",+ "integrity": "sha512-vjxaB4nfDqwKI0ws7wZpxIlde1XrLX5uB0ZjpfshgmapJMD7jJWhZI+yToJTqaFByF0eNBcYxbjmCzoRP7CfEw==",+ "dependencies": {+ "available-typed-arrays": "^1.0.5",+ "call-bind": "^1.0.2",+ "es-abstract": "^1.18.5",+ "foreach": "^2.0.5",+ "has-tostringtag": "^1.0.0",+ "is-typed-array": "^1.1.7"+ },+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/wide-align": {+ "version": "1.1.5",+ "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.5.tgz",+ "integrity": "sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg==",+ "dependencies": {+ "string-width": "^1.0.2 || 2 || 3 || 4"+ }+ },+ "node_modules/wrappy": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",+ "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="+ },+ "node_modules/ws": {+ "version": "7.5.5",+ "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.5.tgz",+ "integrity": "sha512-BAkMFcAzl8as1G/hArkxOxq3G7pjUqQ3gzYbLL0/5zNkph70e+lCoxBGnm6AW1+/aiNeV4fnKqZ8m4GZewmH2w==",+ "dev": true,+ "engines": {+ "node": ">=8.3.0"+ },+ "peerDependencies": {+ "bufferutil": "^4.0.1",+ "utf-8-validate": "^5.0.2"+ },+ "peerDependenciesMeta": {+ "bufferutil": {+ "optional": true+ },+ "utf-8-validate": {+ "optional": true+ }+ }+ },+ "node_modules/xtend": {+ "version": "4.0.2",+ "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz",+ "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==",+ "engines": {+ "node": ">=0.4"+ }+ },+ "node_modules/yaeti": {+ "version": "0.0.6",+ "resolved": "https://registry.npmjs.org/yaeti/-/yaeti-0.0.6.tgz",+ "integrity": "sha1-8m9ITXJoTPQr7ft2lwqhYI+/lXc=",+ "engines": {+ "node": ">=0.10.32"+ }+ },+ "node_modules/yallist": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",+ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A=="+ },+ "node_modules/yaml": {+ "version": "1.10.2",+ "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz",+ "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==",+ "dev": true,+ "engines": {+ "node": ">= 6"+ }+ },+ "node_modules/yocto-queue": {+ "version": "0.1.0",+ "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz",+ "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==",+ "engines": {+ "node": ">=10"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/zxcvbn": {+ "version": "4.4.2",+ "resolved": "https://registry.npmjs.org/zxcvbn/-/zxcvbn-4.4.2.tgz",+ "integrity": "sha1-KOwXzwl0PtyrBW3dixsGJizHPDA="+ }+ },+ "dependencies": {+ "@auth0/nextjs-auth0": {+ "version": "1.6.1",+ "resolved": "https://registry.npmjs.org/@auth0/nextjs-auth0/-/nextjs-auth0-1.6.1.tgz",+ "integrity": "sha512-xecYNjI1KvFerzarMUS6p7coWWAI7/JeJ9iMxj+ztIo+VJfR9CkYV2b/Fu3A2iy+UYbIoG78YV2plOynAIUOwQ==",+ "requires": {+ "base64url": "^3.0.1",+ "cookie": "^0.4.1",+ "debug": "^4.3.2",+ "futoin-hkdf": "^1.4.2",+ "http-errors": "^1.8.0",+ "joi": "^17.4.1",+ "jose": "^2.0.5",+ "on-headers": "^1.0.2",+ "openid-client": "^4.9.0",+ "tslib": "^2.3.1",+ "url-join": "^4.0.1"+ },+ "dependencies": {+ "debug": {+ "version": "4.3.2",+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz",+ "integrity": "sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==",+ "requires": {+ "ms": "2.1.2"+ }+ },+ "http-errors": {+ "version": "1.8.1",+ "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.8.1.tgz",+ "integrity": "sha512-Kpk9Sm7NmI+RHhnj6OIWDI1d6fIoFAtFt9RLaTMRlg/8w49juAStsrBgp0Dp4OdxdVbRIeKhtCUvoi/RuAhO4g==",+ "requires": {+ "depd": "~1.1.2",+ "inherits": "2.0.4",+ "setprototypeof": "1.2.0",+ "statuses": ">= 1.5.0 < 2",+ "toidentifier": "1.0.1"+ }+ },+ "ms": {+ "version": "2.1.2",+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",+ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="+ },+ "setprototypeof": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz",+ "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw=="+ },+ "toidentifier": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz",+ "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA=="+ }+ }+ },+ "@babel/code-frame": {+ "version": "7.12.11",+ "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.12.11.tgz",+ "integrity": "sha512-Zt1yodBx1UcyiePMSkWnU4hPqhwq7hGi2nFL1LeA3EUl+q2LQx16MISgJ0+z7dnmgvP9QtIleuETGOiOH1RcIw==",+ "requires": {+ "@babel/highlight": "^7.10.4"+ }+ },+ "@babel/helper-validator-identifier": {+ "version": "7.15.7",+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.15.7.tgz",+ "integrity": "sha512-K4JvCtQqad9OY2+yTU8w+E82ywk/fe+ELNlt1G8z3bVGlZfn/hOcQQsUhGhW/N+tb3fxK800wLtKOE/aM0m72w=="+ },+ "@babel/highlight": {+ "version": "7.16.0",+ "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.16.0.tgz",+ "integrity": "sha512-t8MH41kUQylBtu2+4IQA3atqevA2lRgqA2wyVB/YiWmsDSuylZZuXOUy9ric30hfzauEFfdsuk/eXTRrGrfd0g==",+ "requires": {+ "@babel/helper-validator-identifier": "^7.15.7",+ "chalk": "^2.0.0",+ "js-tokens": "^4.0.0"+ }+ },+ "@babel/runtime": {+ "version": "7.15.4",+ "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.15.4.tgz",+ "integrity": "sha512-99catp6bHCaxr4sJ/DbTGgHS4+Rs2RVd2g7iOap6SLGPDknRK9ztKNsE/Fg6QhSeh1FGE5f6gHGQmvvn3I3xhw==",+ "requires": {+ "regenerator-runtime": "^0.13.4"+ }+ },+ "@babel/types": {+ "version": "7.8.3",+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.8.3.tgz",+ "integrity": "sha512-jBD+G8+LWpMBBWvVcdr4QysjUE4mU/syrhN17o1u3gx0/WzJB1kwiVZAXRtWbsIPOwW8pF/YJV5+nmetPzepXg==",+ "requires": {+ "esutils": "^2.0.2",+ "lodash": "^4.17.13",+ "to-fast-properties": "^2.0.0"+ }+ },+ "@hapi/accept": {+ "version": "5.0.2",+ "resolved": "https://registry.npmjs.org/@hapi/accept/-/accept-5.0.2.tgz",+ "integrity": "sha512-CmzBx/bXUR8451fnZRuZAJRlzgm0Jgu5dltTX/bszmR2lheb9BpyN47Q1RbaGTsvFzn0PXAEs+lXDKfshccYZw==",+ "requires": {+ "@hapi/boom": "9.x.x",+ "@hapi/hoek": "9.x.x"+ }+ },+ "@hapi/boom": {+ "version": "9.1.4",+ "resolved": "https://registry.npmjs.org/@hapi/boom/-/boom-9.1.4.tgz",+ "integrity": "sha512-Ls1oH8jaN1vNsqcaHVYJrKmgMcKsC1wcp8bujvXrHaAqD2iDYq3HoOwsxwo09Cuda5R5nC0o0IxlrlTuvPuzSw==",+ "requires": {+ "@hapi/hoek": "9.x.x"+ }+ },+ "@hapi/hoek": {+ "version": "9.2.0",+ "resolved": "https://registry.npmjs.org/@hapi/hoek/-/hoek-9.2.0.tgz",+ "integrity": "sha512-sqKVVVOe5ivCaXDWivIJYVSaEgdQK9ul7a4Kity5Iw7u9+wBAPbX1RMSnLLmp7O4Vzj0WOWwMAJsTL00xwaNug=="+ },+ "@hapi/topo": {+ "version": "5.1.0",+ "resolved": "https://registry.npmjs.org/@hapi/topo/-/topo-5.1.0.tgz",+ "integrity": "sha512-foQZKJig7Ob0BMAYBfcJk8d77QtOe7Wo4ox7ff1lQYoNNAb6jwcY1ncdoy2e9wQZzvNy7ODZCYJkK8kzmcAnAg==",+ "requires": {+ "@hapi/hoek": "^9.0.0"+ }+ },+ "@headlessui/react": {+ "version": "1.4.1",+ "resolved": "https://registry.npmjs.org/@headlessui/react/-/react-1.4.1.tgz",+ "integrity": "sha512-gL6Ns5xQM57cZBzX6IVv6L7nsam8rDEpRhs5fg28SN64ikfmuuMgunc+Rw5C1cMScnvFM+cz32ueVrlSFEVlSg==",+ "requires": {}+ },+ "@monaco-editor/loader": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/@monaco-editor/loader/-/loader-1.2.0.tgz",+ "integrity": "sha512-cJVCG/T/KxXgzYnjKqyAgsKDbH9mGLjcXxN6AmwumBwa2rVFkwvGcUj1RJtD0ko4XqLqJxwqsN/Z/KURB5f1OQ==",+ "requires": {+ "state-local": "^1.0.6"+ }+ },+ "@monaco-editor/react": {+ "version": "4.3.1",+ "resolved": "https://registry.npmjs.org/@monaco-editor/react/-/react-4.3.1.tgz",+ "integrity": "sha512-f+0BK1PP/W5I50hHHmwf11+Ea92E5H1VZXs+wvKplWUWOfyMa1VVwqkJrXjRvbcqHL+XdIGYWhWNdi4McEvnZg==",+ "requires": {+ "@monaco-editor/loader": "^1.2.0",+ "prop-types": "^15.7.2"+ }+ },+ "@next/bundle-analyzer": {+ "version": "12.0.4",+ "resolved": "https://registry.npmjs.org/@next/bundle-analyzer/-/bundle-analyzer-12.0.4.tgz",+ "integrity": "sha512-hl9SmruSHMMMjmcUXJYdP12HbencBOpuy4gHPpQLbRmfErUsY7ia+eF5Xt9vAkim7s6HKByoDg7cu6HJQzfpfg==",+ "dev": true,+ "requires": {+ "webpack-bundle-analyzer": "4.3.0"+ }+ },+ "@next/env": {+ "version": "11.0.1",+ "resolved": "https://registry.npmjs.org/@next/env/-/env-11.0.1.tgz",+ "integrity": "sha512-yZfKh2U6R9tEYyNUrs2V3SBvCMufkJ07xMH5uWy8wqcl5gAXoEw6A/1LDqwX3j7pUutF9d1ZxpdGDA3Uag+aQQ=="+ },+ "@next/polyfill-module": {+ "version": "11.0.1",+ "resolved": "https://registry.npmjs.org/@next/polyfill-module/-/polyfill-module-11.0.1.tgz",+ "integrity": "sha512-Cjs7rrKCg4CF4Jhri8PCKlBXhszTfOQNl9AjzdNy4K5jXFyxyoSzuX2rK4IuoyE+yGp5A3XJCBEmOQ4xbUp9Mg=="+ },+ "@next/react-dev-overlay": {+ "version": "11.0.1",+ "resolved": "https://registry.npmjs.org/@next/react-dev-overlay/-/react-dev-overlay-11.0.1.tgz",+ "integrity": "sha512-lvUjMVpLsgzADs9Q8wtC5LNqvfdN+M0BDMSrqr04EDWAyyX0vURHC9hkvLbyEYWyh+WW32pwjKBXdkMnJhoqMg==",+ "requires": {+ "@babel/code-frame": "7.12.11",+ "anser": "1.4.9",+ "chalk": "4.0.0",+ "classnames": "2.2.6",+ "css.escape": "1.5.1",+ "data-uri-to-buffer": "3.0.1",+ "platform": "1.3.6",+ "shell-quote": "1.7.2",+ "source-map": "0.8.0-beta.0",+ "stacktrace-parser": "0.1.10",+ "strip-ansi": "6.0.0"+ },+ "dependencies": {+ "ansi-styles": {+ "version": "4.3.0",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",+ "requires": {+ "color-convert": "^2.0.1"+ }+ },+ "chalk": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.0.0.tgz",+ "integrity": "sha512-N9oWFcegS0sFr9oh1oz2d7Npos6vNoWW9HvtCg5N1KRFpUhaAhvTv5Y58g880fZaEYSNm3qDz8SU1UrGvp+n7A==",+ "requires": {+ "ansi-styles": "^4.1.0",+ "supports-color": "^7.1.0"+ }+ },+ "color-convert": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",+ "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",+ "requires": {+ "color-name": "~1.1.4"+ }+ },+ "color-name": {+ "version": "1.1.4",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",+ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="+ },+ "has-flag": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",+ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ=="+ },+ "supports-color": {+ "version": "7.2.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",+ "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",+ "requires": {+ "has-flag": "^4.0.0"+ }+ }+ }+ },+ "@next/react-refresh-utils": {+ "version": "11.0.1",+ "resolved": "https://registry.npmjs.org/@next/react-refresh-utils/-/react-refresh-utils-11.0.1.tgz",+ "integrity": "sha512-K347DM6Z7gBSE+TfUaTTceWvbj0B6iNAsFZXbFZOlfg3uyz2sbKpzPYYFocCc27yjLaS8OfR8DEdS2mZXi8Saw==",+ "requires": {}+ },+ "@nodelib/fs.scandir": {+ "version": "2.1.5",+ "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",+ "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==",+ "dev": true,+ "requires": {+ "@nodelib/fs.stat": "2.0.5",+ "run-parallel": "^1.1.9"+ }+ },+ "@nodelib/fs.stat": {+ "version": "2.0.5",+ "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz",+ "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==",+ "dev": true+ },+ "@nodelib/fs.walk": {+ "version": "1.2.8",+ "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz",+ "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==",+ "dev": true,+ "requires": {+ "@nodelib/fs.scandir": "2.1.5",+ "fastq": "^1.6.0"+ }+ },+ "@panva/asn1.js": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/@panva/asn1.js/-/asn1.js-1.0.0.tgz",+ "integrity": "sha512-UdkG3mLEqXgnlKsWanWcgb6dOjUzJ+XC5f+aWw30qrtjxeNUSfKX1cd5FBzOaXQumoe9nIqeZUvrRJS03HCCtw=="+ },+ "@polka/url": {+ "version": "1.0.0-next.21",+ "resolved": "https://registry.npmjs.org/@polka/url/-/url-1.0.0-next.21.tgz",+ "integrity": "sha512-a5Sab1C4/icpTZVzZc5Ghpz88yQtGOyNqYXcZgOssB2uuAr+wF/MvN6bgtW32q7HHrvBki+BsZ0OuNv6EV3K9g==",+ "dev": true+ },+ "@radix-ui/react-compose-refs": {+ "version": "0.1.0",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-0.1.0.tgz",+ "integrity": "sha512-eyclbh+b77k+69Dk72q3694OHrn9B3QsoIRx7ywX341U9RK1ThgQjMFZoPtmZNQTksXHLNEiefR8hGVeFyInGg==",+ "requires": {+ "@babel/runtime": "^7.13.10"+ }+ },+ "@radix-ui/react-portal": {+ "version": "0.1.1",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-portal/-/react-portal-0.1.1.tgz",+ "integrity": "sha512-ZJFgUBsaFS4cryONfRZXuYxtv87ziRGqFu+wP91rVKF8TpkeQgvPP2QBLIfIGzotr3G1n8t7gHaNJkZtKVeXvw==",+ "requires": {+ "@babel/runtime": "^7.13.10",+ "@radix-ui/react-primitive": "0.1.1",+ "@radix-ui/react-use-layout-effect": "0.1.0"+ }+ },+ "@radix-ui/react-primitive": {+ "version": "0.1.1",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-0.1.1.tgz",+ "integrity": "sha512-65GCHeDV/ikicXKR2rLSO6w+dyUQwSG2J1JD2qm4suK1259nTuRvPsPBrbhZpoXWQKj2drMZfhhclXVfzwW1Kw==",+ "requires": {+ "@babel/runtime": "^7.13.10",+ "@radix-ui/react-slot": "0.1.1"+ }+ },+ "@radix-ui/react-slot": {+ "version": "0.1.1",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-0.1.1.tgz",+ "integrity": "sha512-deq3K7cCXQ+tWMZF2GKl3zGMcwVbyQDiMY/UcPI0Q1DDudRG2dWrEwcYbYajEelc07oOxzNyKpaXZLOpNxquuA==",+ "requires": {+ "@babel/runtime": "^7.13.10",+ "@radix-ui/react-compose-refs": "0.1.0"+ }+ },+ "@radix-ui/react-use-layout-effect": {+ "version": "0.1.0",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-layout-effect/-/react-use-layout-effect-0.1.0.tgz",+ "integrity": "sha512-+wdeS51Y+E1q1Wmd+1xSSbesZkpVj4jsg0BojCbopWvgq5iBvixw5vgemscdh58ep98BwUbsFYnrywFhV9yrVg==",+ "requires": {+ "@babel/runtime": "^7.13.10"+ }+ },+ "@react-dnd/asap": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/@react-dnd/asap/-/asap-4.0.0.tgz",+ "integrity": "sha512-0XhqJSc6pPoNnf8DhdsPHtUhRzZALVzYMTzRwV4VI6DJNJ/5xxfL9OQUwb8IH5/2x7lSf7nAZrnzUD+16VyOVQ=="+ },+ "@react-dnd/invariant": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/@react-dnd/invariant/-/invariant-2.0.0.tgz",+ "integrity": "sha512-xL4RCQBCBDJ+GRwKTFhGUW8GXa4yoDfJrPbLblc3U09ciS+9ZJXJ3Qrcs/x2IODOdIE5kQxvMmE2UKyqUictUw=="+ },+ "@react-dnd/shallowequal": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/@react-dnd/shallowequal/-/shallowequal-2.0.0.tgz",+ "integrity": "sha512-Pc/AFTdwZwEKJxFJvlxrSmGe/di+aAOBn60sremrpLo6VI/6cmiUYNNwlI5KNYttg7uypzA3ILPMPgxB2GYZEg=="+ },+ "@scaleleap/pg-format": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/@scaleleap/pg-format/-/pg-format-1.0.0.tgz",+ "integrity": "sha512-gFkcYMnpeylF2OJ30FsDBjwICB9JTiZ5i3guPwdiBDrJFwIKr+Zk6jwI8Mg22a4FwXn5ezd5cHEFMKqBqBz4RQ=="+ },+ "@segment/loosely-validate-event": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/@segment/loosely-validate-event/-/loosely-validate-event-2.0.0.tgz",+ "integrity": "sha512-ZMCSfztDBqwotkl848ODgVcAmN4OItEWDCkshcKz0/W6gGSQayuuCtWV/MlodFivAZD793d6UgANd6wCXUfrIw==",+ "requires": {+ "component-type": "^1.2.1",+ "join-component": "^1.1.0"+ }+ },+ "@sentry/browser": {+ "version": "6.15.0",+ "resolved": "https://registry.npmjs.org/@sentry/browser/-/browser-6.15.0.tgz",+ "integrity": "sha512-ZiqfHK5DMVgDsgMTuSwxilWIqEnZzy4yuJ9Sr6Iap1yZddPSiKHYjbBieSHn57UsWHViRB3ojbwu44LfvXKJdQ==",+ "requires": {+ "@sentry/core": "6.15.0",+ "@sentry/types": "6.15.0",+ "@sentry/utils": "6.15.0",+ "tslib": "^1.9.3"+ },+ "dependencies": {+ "tslib": {+ "version": "1.14.1",+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz",+ "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg=="+ }+ }+ },+ "@sentry/cli": {+ "version": "1.71.0",+ "resolved": "https://registry.npmjs.org/@sentry/cli/-/cli-1.71.0.tgz",+ "integrity": "sha512-Z8TzH7PkiRfjWSzjXOfPWWp6wxjr+n39Jdrt26OcInVQZM1sx/gZULrDiQZ1L2dy9Fe9AR4SF4nt2/7h2GmLQQ==",+ "requires": {+ "https-proxy-agent": "^5.0.0",+ "mkdirp": "^0.5.5",+ "node-fetch": "^2.6.0",+ "npmlog": "^4.1.2",+ "progress": "^2.0.3",+ "proxy-from-env": "^1.1.0"+ },+ "dependencies": {+ "mkdirp": {+ "version": "0.5.5",+ "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz",+ "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==",+ "requires": {+ "minimist": "^1.2.5"+ }+ }+ }+ },+ "@sentry/core": {+ "version": "6.15.0",+ "resolved": "https://registry.npmjs.org/@sentry/core/-/core-6.15.0.tgz",+ "integrity": "sha512-mCbKyqvD1G3Re6gv6N8tRkBz84gvVWDfLtC6d1WBArIopzter6ktEbvq0cMT6EOvGI2OLXuJ6mtHA93/Q0gGpw==",+ "requires": {+ "@sentry/hub": "6.15.0",+ "@sentry/minimal": "6.15.0",+ "@sentry/types": "6.15.0",+ "@sentry/utils": "6.15.0",+ "tslib": "^1.9.3"+ },+ "dependencies": {+ "tslib": {+ "version": "1.14.1",+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz",+ "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg=="+ }+ }+ },+ "@sentry/hub": {+ "version": "6.15.0",+ "resolved": "https://registry.npmjs.org/@sentry/hub/-/hub-6.15.0.tgz",+ "integrity": "sha512-cUbHPeG6kKpGBaEMgbTWeU03Y1Up5T3urGF+cgtrn80PmPYYSUPvVvWlZQWPb8CJZ1yQ0gySWo5RUTatBFrEHA==",+ "requires": {+ "@sentry/types": "6.15.0",+ "@sentry/utils": "6.15.0",+ "tslib": "^1.9.3"+ },+ "dependencies": {+ "tslib": {+ "version": "1.14.1",+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz",+ "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg=="+ }+ }+ },+ "@sentry/integrations": {+ "version": "6.15.0",+ "resolved": "https://registry.npmjs.org/@sentry/integrations/-/integrations-6.15.0.tgz",+ "integrity": "sha512-fSBAipas6zwyYo4U91pyQOnaTcRCfwvH6ZFwu0Fqmkm64nU9rYpbTNiKkwOWbbiXXT6+LEF6RzBpsyhm4QvgmQ==",+ "requires": {+ "@sentry/types": "6.15.0",+ "@sentry/utils": "6.15.0",+ "localforage": "^1.8.1",+ "tslib": "^1.9.3"+ },+ "dependencies": {+ "tslib": {+ "version": "1.14.1",+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz",+ "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg=="+ }+ }+ },+ "@sentry/minimal": {+ "version": "6.15.0",+ "resolved": "https://registry.npmjs.org/@sentry/minimal/-/minimal-6.15.0.tgz",+ "integrity": "sha512-7RJIvZsjBa1qFUfMrAzQsWdfZT6Gm4t6ZTYfkpsXPBA35hkzglKbBrhhsUvkxGIhUGw/PiCUqxBUjcmzQP0vfg==",+ "requires": {+ "@sentry/hub": "6.15.0",+ "@sentry/types": "6.15.0",+ "tslib": "^1.9.3"+ },+ "dependencies": {+ "tslib": {+ "version": "1.14.1",+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz",+ "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg=="+ }+ }+ },+ "@sentry/nextjs": {+ "version": "6.15.0",+ "resolved": "https://registry.npmjs.org/@sentry/nextjs/-/nextjs-6.15.0.tgz",+ "integrity": "sha512-6QpU9YFW+flO/iOepFBGliaPeUOGaQn4SmKwRnB5P0iuQc+jEm8ZB6ORi4QYqGahrXqN++sOSYNzT/KaectlAA==",+ "requires": {+ "@sentry/core": "6.15.0",+ "@sentry/hub": "6.15.0",+ "@sentry/integrations": "6.15.0",+ "@sentry/node": "6.15.0",+ "@sentry/react": "6.15.0",+ "@sentry/tracing": "6.15.0",+ "@sentry/utils": "6.15.0",+ "@sentry/webpack-plugin": "1.18.3",+ "tslib": "^1.9.3"+ },+ "dependencies": {+ "tslib": {+ "version": "1.14.1",+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz",+ "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg=="+ }+ }+ },+ "@sentry/node": {+ "version": "6.15.0",+ "resolved": "https://registry.npmjs.org/@sentry/node/-/node-6.15.0.tgz",+ "integrity": "sha512-V1GeupWi9ClmoMy5eBWdVTv3k+Yx/JpddT4zCzzYY9QfjYtEvQI7R3SWFtlgXuaQQaZNU0WUoE2UgJV2N/vS8g==",+ "requires": {+ "@sentry/core": "6.15.0",+ "@sentry/hub": "6.15.0",+ "@sentry/tracing": "6.15.0",+ "@sentry/types": "6.15.0",+ "@sentry/utils": "6.15.0",+ "cookie": "^0.4.1",+ "https-proxy-agent": "^5.0.0",+ "lru_map": "^0.3.3",+ "tslib": "^1.9.3"+ },+ "dependencies": {+ "tslib": {+ "version": "1.14.1",+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz",+ "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg=="+ }+ }+ },+ "@sentry/react": {+ "version": "6.15.0",+ "resolved": "https://registry.npmjs.org/@sentry/react/-/react-6.15.0.tgz",+ "integrity": "sha512-vrrFF/KtPJQ41tmDCWpaR+bN+/TqPwqncsGLfbClE2irY3x3eCJjT2qPstlB7NQ6rTYtScyekbB0fOoNkq9FFg==",+ "requires": {+ "@sentry/browser": "6.15.0",+ "@sentry/minimal": "6.15.0",+ "@sentry/types": "6.15.0",+ "@sentry/utils": "6.15.0",+ "hoist-non-react-statics": "^3.3.2",+ "tslib": "^1.9.3"+ },+ "dependencies": {+ "tslib": {+ "version": "1.14.1",+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz",+ "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg=="+ }+ }+ },+ "@sentry/tracing": {+ "version": "6.15.0",+ "resolved": "https://registry.npmjs.org/@sentry/tracing/-/tracing-6.15.0.tgz",+ "integrity": "sha512-V5unvX8qNEfdawX+m2n0jKgmH/YR2ItWZLH+3UevBTptO+xyfvRtpgGXYWUCo3iGvFgWb1C+iIC7LViR9rTvBg==",+ "requires": {+ "@sentry/hub": "6.15.0",+ "@sentry/minimal": "6.15.0",+ "@sentry/types": "6.15.0",+ "@sentry/utils": "6.15.0",+ "tslib": "^1.9.3"+ },+ "dependencies": {+ "tslib": {+ "version": "1.14.1",+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz",+ "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg=="+ }+ }+ },+ "@sentry/types": {+ "version": "6.15.0",+ "resolved": "https://registry.npmjs.org/@sentry/types/-/types-6.15.0.tgz",+ "integrity": "sha512-zBw5gPUsofXUSpS3ZAXqRNedLRBvirl3sqkj2Lez7X2EkKRgn5D8m9fQIrig/X3TsKcXUpijDW5Buk5zeCVzJA=="+ },+ "@sentry/utils": {+ "version": "6.15.0",+ "resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-6.15.0.tgz",+ "integrity": "sha512-gnhKKyFtnNmKWjDizo7VKD0/Vx8cgW1lCusM6WI7jy2jlO3bQA0+Dzgmr4mIReZ74mq4VpOd2Vfrx7ZldW1DMw==",+ "requires": {+ "@sentry/types": "6.15.0",+ "tslib": "^1.9.3"+ },+ "dependencies": {+ "tslib": {+ "version": "1.14.1",+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz",+ "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg=="+ }+ }+ },+ "@sentry/webpack-plugin": {+ "version": "1.18.3",+ "resolved": "https://registry.npmjs.org/@sentry/webpack-plugin/-/webpack-plugin-1.18.3.tgz",+ "integrity": "sha512-Qk3Jevislc5DZK0X/WwRVcOtO7iatnWARsEgTV/TuXvDN+fUDDpD/2MytAWAbpLaLy3xEB/cXGeLsbv6d1XNkQ==",+ "requires": {+ "@sentry/cli": "^1.70.1"+ }+ },+ "@sideway/address": {+ "version": "4.1.2",+ "resolved": "https://registry.npmjs.org/@sideway/address/-/address-4.1.2.tgz",+ "integrity": "sha512-idTz8ibqWFrPU8kMirL0CoPH/A29XOzzAzpyN3zQ4kAWnzmNfFmRaoMNN6VI8ske5M73HZyhIaW4OuSFIdM4oA==",+ "requires": {+ "@hapi/hoek": "^9.0.0"+ }+ },+ "@sideway/formula": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/@sideway/formula/-/formula-3.0.0.tgz",+ "integrity": "sha512-vHe7wZ4NOXVfkoRb8T5otiENVlT7a3IAiw7H5M2+GO+9CDgcVUUsX1zalAztCmwyOr2RUTGJdgB+ZvSVqmdHmg=="+ },+ "@sideway/pinpoint": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/@sideway/pinpoint/-/pinpoint-2.0.0.tgz",+ "integrity": "sha512-RNiOoTPkptFtSVzQevY/yWtZwf/RxyVnPy/OcA9HBM3MlGDnBEYL5B41H0MTn0Uec8Hi+2qUtTfG2WWZBmMejQ=="+ },+ "@sinclair/typebox": {+ "version": "0.19.2",+ "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.19.2.tgz",+ "integrity": "sha512-0U/RVPZQw1QxhrbKV0o281ZWI1Ve3osJnyEYnwOp3slydIQHyXumbJANJeNv9BqABDiHWlmzsxSVopPHMvt3Aw=="+ },+ "@sindresorhus/is": {+ "version": "4.2.0",+ "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-4.2.0.tgz",+ "integrity": "sha512-VkE3KLBmJwcCaVARtQpfuKcKv8gcBmUubrfHGF84dXuuW6jgsRYxPtzcIhPyK9WAPpRt2/xY6zkD9MnRaJzSyw=="+ },+ "@supabase/gotrue-js": {+ "version": "1.20.0",+ "resolved": "https://registry.npmjs.org/@supabase/gotrue-js/-/gotrue-js-1.20.0.tgz",+ "integrity": "sha512-udv6o44JPqQWc8dh9bJnvvUpPKFtzVpSpsTKiS541gjR9kNCgdxkMMYBh5653W9gKfcmqN5mYf9/hYzDOoB6ww==",+ "requires": {+ "cross-fetch": "^3.0.6"+ }+ },+ "@supabase/grid": {+ "version": "2.3.5",+ "resolved": "https://registry.npmjs.org/@supabase/grid/-/grid-2.3.5.tgz",+ "integrity": "sha512-ABh4Hm3m9WJEg7VEB3KG2GRCgnvLnl+qF+GEDEUe41ESSW1CaD4qhpcFDBXp5s4MrCm1Qkunr54fVhuNhtH73g==",+ "requires": {+ "@monaco-editor/react": "^4.3.1",+ "@scaleleap/pg-format": "^1.0.0",+ "awesome-debounce-promise": "^2.1.0",+ "dayjs": "^1.10.4",+ "file-saver": "^2.0.5",+ "immutability-helper": "^3.1.1",+ "p-queue": "6.6.2",+ "react-contexify": "^5.0.0",+ "react-dnd": "^14.0.3",+ "react-dnd-html5-backend": "^14.0.1",+ "react-tiny-popover": "^6.0.5",+ "react-tracked": "^1.7.4",+ "scheduler": "^0.20.2"+ }+ },+ "@supabase/postgres-meta": {+ "version": "0.26.1",+ "resolved": "https://registry.npmjs.org/@supabase/postgres-meta/-/postgres-meta-0.26.1.tgz",+ "integrity": "sha512-z4ws1fD+sPwb+J2PRMe2/Oe4HuVwGjPESjFqCR8uiWauTlfbtYR0bXFPMxPA6SkJFqOq/86uJPwzHgHURWZDiA==",+ "requires": {+ "@sinclair/typebox": "^0.19.2",+ "pg": "^8.7.1",+ "pg-format": "^1.0.4"+ }+ },+ "@supabase/postgrest-js": {+ "version": "0.35.0",+ "resolved": "https://registry.npmjs.org/@supabase/postgrest-js/-/postgrest-js-0.35.0.tgz",+ "integrity": "sha512-z+XKJ2oXuGEAEBVXseeQUXaM3ekQZK4XF0Kc399Glyg+rZaBTwNeJtY+Q/23NcIE5uNMYbTnEXm80jZbLBnWdw==",+ "requires": {+ "cross-fetch": "^3.0.6"+ }+ },+ "@supabase/react-data-grid": {+ "version": "7.1.0-beta.7",+ "resolved": "https://registry.npmjs.org/@supabase/react-data-grid/-/react-data-grid-7.1.0-beta.7.tgz",+ "integrity": "sha512-6Kjdk9Z3N2mycq63L22VFM4zY0w9HNdpB0HgaUcM3nIMtMxA3cldLnHDVMD2R0zNV7+1wlOr8hz3vsbS+zlOXQ==",+ "requires": {+ "clsx": "^1.1.1"+ }+ },+ "@supabase/realtime-js": {+ "version": "1.2.1",+ "resolved": "https://registry.npmjs.org/@supabase/realtime-js/-/realtime-js-1.2.1.tgz",+ "integrity": "sha512-nhwSvizonT8hiMoQHOqs+2MZNV8qkhKn552g7NIJktVmqpz//O1dGjdcXyjhbAurW18z0Y7Qa9G7UXfEYJKRPQ==",+ "requires": {+ "@types/websocket": "^1.0.3",+ "websocket": "^1.0.34"+ }+ },+ "@supabase/storage-js": {+ "version": "1.5.0",+ "resolved": "https://registry.npmjs.org/@supabase/storage-js/-/storage-js-1.5.0.tgz",+ "integrity": "sha512-ki2HT9FrCYRN3yoqWqX+u47TUHQ8lgSStAqV/97kMov1z2d+iIlqGBGVcaGDqq4NvK8CipG8IJARYM72oX+afA==",+ "requires": {+ "cross-fetch": "^3.1.0"+ }+ },+ "@supabase/supabase-js": {+ "version": "1.27.0",+ "resolved": "https://registry.npmjs.org/@supabase/supabase-js/-/supabase-js-1.27.0.tgz",+ "integrity": "sha512-oAm111Y1t7X+S5GeJWw9NdzAn1A1Cz5WAB/evYjM4ut7ZVWpeaEAlQ2p34MAjDrRVAcCfEr75rQwLTCqPcmMMQ==",+ "requires": {+ "@supabase/gotrue-js": "^1.20.0",+ "@supabase/postgrest-js": "^0.35.0",+ "@supabase/realtime-js": "^1.2.1",+ "@supabase/storage-js": "^1.5.0"+ }+ },+ "@supabase/ui": {+ "version": "0.35.0",+ "resolved": "https://registry.npmjs.org/@supabase/ui/-/ui-0.35.0.tgz",+ "integrity": "sha512-bftQoDcX2Vl6Gcu6IYUjteN7ZKNs5YhvhOz3c/8kTYU6DuD33VKOYCMQBKwU4IuBbEsNXVRlJxHK4RjXIiS4ww==",+ "requires": {+ "fsevents": "^2.3.2",+ "lodash": "^4.17.20",+ "prop-types": "^15.7.2"+ }+ },+ "@szmarczak/http-timer": {+ "version": "4.0.6",+ "resolved": "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-4.0.6.tgz",+ "integrity": "sha512-4BAffykYOgO+5nzBWYwE3W90sBgLJoUPRWWcL8wlyiM8IB8ipJz3UMJ9KXQd1RKQXpKp8Tutn80HZtWsu2u76w==",+ "requires": {+ "defer-to-connect": "^2.0.0"+ }+ },+ "@types/cacheable-request": {+ "version": "6.0.2",+ "resolved": "https://registry.npmjs.org/@types/cacheable-request/-/cacheable-request-6.0.2.tgz",+ "integrity": "sha512-B3xVo+dlKM6nnKTcmm5ZtY/OL8bOAOd2Olee9M1zft65ox50OzjEHW91sDiU9j6cvW8Ejg1/Qkf4xd2kugApUA==",+ "requires": {+ "@types/http-cache-semantics": "*",+ "@types/keyv": "*",+ "@types/node": "*",+ "@types/responselike": "*"+ }+ },+ "@types/crypto-js": {+ "version": "4.0.2",+ "resolved": "https://registry.npmjs.org/@types/crypto-js/-/crypto-js-4.0.2.tgz",+ "integrity": "sha512-sCVniU+h3GcGqxOmng11BRvf9TfN9yIs8KKjB8C8d75W69cpTfZG80gau9yTx5SxF3gvHGbJhdESzzvnjtf3Og==",+ "dev": true+ },+ "@types/d3-color": {+ "version": "2.0.3",+ "resolved": "https://registry.npmjs.org/@types/d3-color/-/d3-color-2.0.3.tgz",+ "integrity": "sha512-+0EtEjBfKEDtH9Rk3u3kLOUXM5F+iZK+WvASPb0MhIZl8J8NUvGeZRwKCXl+P3HkYx5TdU4YtcibpqHkSR9n7w=="+ },+ "@types/d3-interpolate": {+ "version": "2.0.2",+ "resolved": "https://registry.npmjs.org/@types/d3-interpolate/-/d3-interpolate-2.0.2.tgz",+ "integrity": "sha512-lElyqlUfIPyWG/cD475vl6msPL4aMU7eJvx1//Q177L8mdXoVPFl1djIESF2FKnc0NyaHvQlJpWwKJYwAhUoCw==",+ "requires": {+ "@types/d3-color": "^2"+ }+ },+ "@types/d3-path": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/@types/d3-path/-/d3-path-2.0.1.tgz",+ "integrity": "sha512-6K8LaFlztlhZO7mwsZg7ClRsdLg3FJRzIIi6SZXDWmmSJc2x8dd2VkESbLXdk3p8cuvz71f36S0y8Zv2AxqvQw=="+ },+ "@types/d3-scale": {+ "version": "3.3.2",+ "resolved": "https://registry.npmjs.org/@types/d3-scale/-/d3-scale-3.3.2.tgz",+ "integrity": "sha512-gGqr7x1ost9px3FvIfUMi5XA/F/yAf4UkUDtdQhpH92XCT0Oa7zkkRzY61gPVJq+DxpHn/btouw5ohWkbBsCzQ==",+ "requires": {+ "@types/d3-time": "^2"+ }+ },+ "@types/d3-shape": {+ "version": "2.1.3",+ "resolved": "https://registry.npmjs.org/@types/d3-shape/-/d3-shape-2.1.3.tgz",+ "integrity": "sha512-HAhCel3wP93kh4/rq+7atLdybcESZ5bRHDEZUojClyZWsRuEMo3A52NGYJSh48SxfxEU6RZIVbZL2YFZ2OAlzQ==",+ "requires": {+ "@types/d3-path": "^2"+ }+ },+ "@types/d3-time": {+ "version": "2.1.1",+ "resolved": "https://registry.npmjs.org/@types/d3-time/-/d3-time-2.1.1.tgz",+ "integrity": "sha512-9MVYlmIgmRR31C5b4FVSWtuMmBHh2mOWQYfl7XAYOa8dsnb7iEmUmRSWSFgXFtkjxO65d7hTUHQC+RhR/9IWFg=="+ },+ "@types/debounce-promise": {+ "version": "3.1.4",+ "resolved": "https://registry.npmjs.org/@types/debounce-promise/-/debounce-promise-3.1.4.tgz",+ "integrity": "sha512-9SEVY3nsz+uMN2DwDocftB5TAgZe7D0cOzxxRhpotWs6T4QFqRaTXpXbOSzbk31/7iYcfCkJJPwWGzTxyuGhCg=="+ },+ "@types/eslint": {+ "version": "7.29.0",+ "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-7.29.0.tgz",+ "integrity": "sha512-VNcvioYDH8/FxaeTKkM4/TiTwt6pBV9E3OfGmvaw8tPl0rrHCJ4Ll15HRT+pMiFAf/MLQvAzC+6RzUMEL9Ceng==",+ "peer": true,+ "requires": {+ "@types/estree": "*",+ "@types/json-schema": "*"+ }+ },+ "@types/eslint-scope": {+ "version": "3.7.1",+ "resolved": "https://registry.npmjs.org/@types/eslint-scope/-/eslint-scope-3.7.1.tgz",+ "integrity": "sha512-SCFeogqiptms4Fg29WpOTk5nHIzfpKCemSN63ksBQYKTcXoJEmJagV+DhVmbapZzY4/5YaOV1nZwrsU79fFm1g==",+ "peer": true,+ "requires": {+ "@types/eslint": "*",+ "@types/estree": "*"+ }+ },+ "@types/estree": {+ "version": "0.0.50",+ "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.50.tgz",+ "integrity": "sha512-C6N5s2ZFtuZRj54k2/zyRhNDjJwwcViAM3Nbm8zjBpbqAdZ00mr0CFxvSKeO8Y/e03WVFLpQMdHYVfUd6SB+Hw==",+ "peer": true+ },+ "@types/hoist-non-react-statics": {+ "version": "3.3.1",+ "resolved": "https://registry.npmjs.org/@types/hoist-non-react-statics/-/hoist-non-react-statics-3.3.1.tgz",+ "integrity": "sha512-iMIqiko6ooLrTh1joXodJK5X9xeEALT1kM5G3ZLhD3hszxBdIEd5C75U834D9mLcINgD4OyZf5uQXjkuYydWvA==",+ "requires": {+ "@types/react": "*",+ "hoist-non-react-statics": "^3.3.0"+ }+ },+ "@types/http-cache-semantics": {+ "version": "4.0.1",+ "resolved": "https://registry.npmjs.org/@types/http-cache-semantics/-/http-cache-semantics-4.0.1.tgz",+ "integrity": "sha512-SZs7ekbP8CN0txVG2xVRH6EgKmEm31BOxA07vkFaETzZz1xh+cbt8BcI0slpymvwhx5dlFnQG2rTlPVQn+iRPQ=="+ },+ "@types/json-schema": {+ "version": "7.0.9",+ "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.9.tgz",+ "integrity": "sha512-qcUXuemtEu+E5wZSJHNxUXeCZhAfXKQ41D+duX+VYPde7xyEVZci+/oXKJL13tnRs9lR2pr4fod59GT6/X1/yQ==",+ "peer": true+ },+ "@types/keyv": {+ "version": "3.1.3",+ "resolved": "https://registry.npmjs.org/@types/keyv/-/keyv-3.1.3.tgz",+ "integrity": "sha512-FXCJgyyN3ivVgRoml4h94G/p3kY+u/B86La+QptcqJaWtBWtmc6TtkNfS40n9bIvyLteHh7zXOtgbobORKPbDg==",+ "requires": {+ "@types/node": "*"+ }+ },+ "@types/lodash": {+ "version": "4.14.173",+ "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.173.tgz",+ "integrity": "sha512-vv0CAYoaEjCw/mLy96GBTnRoZrSxkGE0BKzKimdR8P3OzrNYNvBgtW7p055A+E8C31vXNUhWKoFCbhq7gbyhFg==",+ "dev": true+ },+ "@types/markdown-table": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/@types/markdown-table/-/markdown-table-3.0.0.tgz",+ "integrity": "sha512-vX5zya26rnLLHdAKA3E9ZOT07CJslYp2gZfAZiXKUY5vd2RRiJyOQKrSlmUjyJ+eNoDAPkHflebG3PsfqC32aA==",+ "dev": true,+ "requires": {+ "markdown-table": "*"+ }+ },+ "@types/node": {+ "version": "16.9.4",+ "resolved": "https://registry.npmjs.org/@types/node/-/node-16.9.4.tgz",+ "integrity": "sha512-KDazLNYAGIuJugdbULwFZULF9qQ13yNWEBFnfVpqlpgAAo6H/qnM9RjBgh0A0kmHf3XxAKLdN5mTIng9iUvVLA=="+ },+ "@types/papaparse": {+ "version": "5.3.1",+ "resolved": "https://registry.npmjs.org/@types/papaparse/-/papaparse-5.3.1.tgz",+ "integrity": "sha512-1lbngk9wty2kCyQB42LjqSa12SEop3t9wcEC7/xYr3ujTSTmv7HWKjKYXly0GkMfQ42PRb2lFPFEibDOiMXS0g==",+ "dev": true,+ "requires": {+ "@types/node": "*"+ }+ },+ "@types/parse-json": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz",+ "integrity": "sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==",+ "dev": true+ },+ "@types/prop-types": {+ "version": "15.7.4",+ "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.4.tgz",+ "integrity": "sha512-rZ5drC/jWjrArrS8BR6SIr4cWpW09RNTYt9AMZo3Jwwif+iacXAqgVjm0B0Bv/S1jhDXKHqRVNCbACkJ89RAnQ=="+ },+ "@types/react": {+ "version": "17.0.11",+ "resolved": "https://registry.npmjs.org/@types/react/-/react-17.0.11.tgz",+ "integrity": "sha512-yFRQbD+whVonItSk7ZzP/L+gPTJVBkL/7shLEF+i9GC/1cV3JmUxEQz6+9ylhUpWSDuqo1N9qEvqS6vTj4USUA==",+ "requires": {+ "@types/prop-types": "*",+ "@types/scheduler": "*",+ "csstype": "^3.0.2"+ }+ },+ "@types/react-beautiful-dnd": {+ "version": "13.1.2",+ "resolved": "https://registry.npmjs.org/@types/react-beautiful-dnd/-/react-beautiful-dnd-13.1.2.tgz",+ "integrity": "sha512-+OvPkB8CdE/bGdXKyIhc/Lm2U7UAYCCJgsqmopFmh9gbAudmslkI8eOrPDjg4JhwSE6wytz4a3/wRjKtovHVJg==",+ "dev": true,+ "requires": {+ "@types/react": "*"+ }+ },+ "@types/react-csv": {+ "version": "1.1.2",+ "resolved": "https://registry.npmjs.org/@types/react-csv/-/react-csv-1.1.2.tgz",+ "integrity": "sha512-hCtZyXAubxBtn3Oi3I9kNAx2liRTaMtl1eWpO2M98aYkHuoSTbYO8OcZEjyr9aJJ30Xnoxj+uES3G6L6O1qgtg==",+ "dev": true,+ "requires": {+ "@types/react": "*"+ }+ },+ "@types/react-grid-layout": {+ "version": "1.3.0",+ "resolved": "https://registry.npmjs.org/@types/react-grid-layout/-/react-grid-layout-1.3.0.tgz",+ "integrity": "sha512-Pytm7lvm4h91yN9CpdjV8IpU/hgVRHrUhDEIX593e4Mx9V14Pr3gWtj21WHzy5bDqU//jnGGVVSYJ3QVuI1NaQ==",+ "dev": true,+ "requires": {+ "@types/react": "*"+ }+ },+ "@types/react-redux": {+ "version": "7.1.20",+ "resolved": "https://registry.npmjs.org/@types/react-redux/-/react-redux-7.1.20.tgz",+ "integrity": "sha512-q42es4c8iIeTgcnB+yJgRTTzftv3eYYvCZOh1Ckn2eX/3o5TdsQYKUWpLoLuGlcY/p+VAhV9IOEZJcWk/vfkXw==",+ "requires": {+ "@types/hoist-non-react-statics": "^3.3.0",+ "@types/react": "*",+ "hoist-non-react-statics": "^3.3.0",+ "redux": "^4.0.0"+ }+ },+ "@types/react-virtualized-auto-sizer": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/@types/react-virtualized-auto-sizer/-/react-virtualized-auto-sizer-1.0.1.tgz",+ "integrity": "sha512-GH8sAnBEM5GV9LTeiz56r4ZhMOUSrP43tAQNSRVxNexDjcNKLCEtnxusAItg1owFUFE6k0NslV26gqVClVvong==",+ "dev": true,+ "requires": {+ "@types/react": "*"+ }+ },+ "@types/react-window": {+ "version": "1.8.5",+ "resolved": "https://registry.npmjs.org/@types/react-window/-/react-window-1.8.5.tgz",+ "integrity": "sha512-V9q3CvhC9Jk9bWBOysPGaWy/Z0lxYcTXLtLipkt2cnRj1JOSFNF7wqGpkScSXMgBwC+fnVRg/7shwgddBG5ICw==",+ "dev": true,+ "requires": {+ "@types/react": "*"+ }+ },+ "@types/react-window-infinite-loader": {+ "version": "1.0.5",+ "resolved": "https://registry.npmjs.org/@types/react-window-infinite-loader/-/react-window-infinite-loader-1.0.5.tgz",+ "integrity": "sha512-3v45+4oBNJpSroULtb2EgTJyyK4pCjOMCg+RT/HnA3or5zY4jYufv6uH9NWPyLv0nx8dqt1s4nJqHilfthwKSw==",+ "dev": true,+ "requires": {+ "@types/react": "*",+ "@types/react-window": "*"+ }+ },+ "@types/resize-observer-browser": {+ "version": "0.1.6",+ "resolved": "https://registry.npmjs.org/@types/resize-observer-browser/-/resize-observer-browser-0.1.6.tgz",+ "integrity": "sha512-61IfTac0s9jvNtBCpyo86QeaN8qqpMGHdK0uGKCCIy2dt5/Yk84VduHIdWAcmkC5QvdkPL0p5eWYgUZtHKKUVg=="+ },+ "@types/responselike": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/@types/responselike/-/responselike-1.0.0.tgz",+ "integrity": "sha512-85Y2BjiufFzaMIlvJDvTTB8Fxl2xfLo4HgmHzVBz08w4wDePCTjYw66PdrolO0kzli3yam/YCgRufyo1DdQVTA==",+ "requires": {+ "@types/node": "*"+ }+ },+ "@types/scheduler": {+ "version": "0.16.2",+ "resolved": "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.2.tgz",+ "integrity": "sha512-hppQEBDmlwhFAXKJX2KnWLYu5yMfi91yazPb2l+lbJiwW+wdo1gNeRA+3RgNSO39WYX2euey41KEwnqesU2Jew=="+ },+ "@types/semver": {+ "version": "7.3.9",+ "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.3.9.tgz",+ "integrity": "sha512-L/TMpyURfBkf+o/526Zb6kd/tchUP3iBDEPjqjb+U2MAJhVRxxrmr2fwpe08E7QsV7YLcpq0tUaQ9O9x97ZIxQ==",+ "dev": true+ },+ "@types/sqlstring": {+ "version": "2.3.0",+ "resolved": "https://registry.npmjs.org/@types/sqlstring/-/sqlstring-2.3.0.tgz",+ "integrity": "sha512-kMFecDYYFk/f5fljO0UFrSPwU1JxY4mIjX6ic7MHv5nD6sEd3NYLoWcOV/3s6Drs7RHdCwTQdD5NdgVl0I2zzg==",+ "dev": true+ },+ "@types/websocket": {+ "version": "1.0.4",+ "resolved": "https://registry.npmjs.org/@types/websocket/-/websocket-1.0.4.tgz",+ "integrity": "sha512-qn1LkcFEKK8RPp459jkjzsfpbsx36BBt3oC3pITYtkoBw/aVX+EZFa5j3ThCRTNpLFvIMr5dSTD4RaMdilIOpA==",+ "requires": {+ "@types/node": "*"+ }+ },+ "@types/zxcvbn": {+ "version": "4.4.1",+ "resolved": "https://registry.npmjs.org/@types/zxcvbn/-/zxcvbn-4.4.1.tgz",+ "integrity": "sha512-3NoqvZC2W5gAC5DZbTpCeJ251vGQmgcWIHQJGq2J240HY6ErQ9aWKkwfoKJlHLx+A83WPNTZ9+3cd2ILxbvr1w==",+ "dev": true+ },+ "@webassemblyjs/ast": {+ "version": "1.11.1",+ "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.11.1.tgz",+ "integrity": "sha512-ukBh14qFLjxTQNTXocdyksN5QdM28S1CxHt2rdskFyL+xFV7VremuBLVbmCePj+URalXBENx/9Lm7lnhihtCSw==",+ "peer": true,+ "requires": {+ "@webassemblyjs/helper-numbers": "1.11.1",+ "@webassemblyjs/helper-wasm-bytecode": "1.11.1"+ }+ },+ "@webassemblyjs/floating-point-hex-parser": {+ "version": "1.11.1",+ "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.11.1.tgz",+ "integrity": "sha512-iGRfyc5Bq+NnNuX8b5hwBrRjzf0ocrJPI6GWFodBFzmFnyvrQ83SHKhmilCU/8Jv67i4GJZBMhEzltxzcNagtQ==",+ "peer": true+ },+ "@webassemblyjs/helper-api-error": {+ "version": "1.11.1",+ "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.1.tgz",+ "integrity": "sha512-RlhS8CBCXfRUR/cwo2ho9bkheSXG0+NwooXcc3PAILALf2QLdFyj7KGsKRbVc95hZnhnERon4kW/D3SZpp6Tcg==",+ "peer": true+ },+ "@webassemblyjs/helper-buffer": {+ "version": "1.11.1",+ "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.11.1.tgz",+ "integrity": "sha512-gwikF65aDNeeXa8JxXa2BAk+REjSyhrNC9ZwdT0f8jc4dQQeDQ7G4m0f2QCLPJiMTTO6wfDmRmj/pW0PsUvIcA==",+ "peer": true+ },+ "@webassemblyjs/helper-numbers": {+ "version": "1.11.1",+ "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-numbers/-/helper-numbers-1.11.1.tgz",+ "integrity": "sha512-vDkbxiB8zfnPdNK9Rajcey5C0w+QJugEglN0of+kmO8l7lDb77AnlKYQF7aarZuCrv+l0UvqL+68gSDr3k9LPQ==",+ "peer": true,+ "requires": {+ "@webassemblyjs/floating-point-hex-parser": "1.11.1",+ "@webassemblyjs/helper-api-error": "1.11.1",+ "@xtuc/long": "4.2.2"+ }+ },+ "@webassemblyjs/helper-wasm-bytecode": {+ "version": "1.11.1",+ "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.11.1.tgz",+ "integrity": "sha512-PvpoOGiJwXeTrSf/qfudJhwlvDQxFgelbMqtq52WWiXC6Xgg1IREdngmPN3bs4RoO83PnL/nFrxucXj1+BX62Q==",+ "peer": true+ },+ "@webassemblyjs/helper-wasm-section": {+ "version": "1.11.1",+ "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.11.1.tgz",+ "integrity": "sha512-10P9No29rYX1j7F3EVPX3JvGPQPae+AomuSTPiF9eBQeChHI6iqjMIwR9JmOJXwpnn/oVGDk7I5IlskuMwU/pg==",+ "peer": true,+ "requires": {+ "@webassemblyjs/ast": "1.11.1",+ "@webassemblyjs/helper-buffer": "1.11.1",+ "@webassemblyjs/helper-wasm-bytecode": "1.11.1",+ "@webassemblyjs/wasm-gen": "1.11.1"+ }+ },+ "@webassemblyjs/ieee754": {+ "version": "1.11.1",+ "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.11.1.tgz",+ "integrity": "sha512-hJ87QIPtAMKbFq6CGTkZYJivEwZDbQUgYd3qKSadTNOhVY7p+gfP6Sr0lLRVTaG1JjFj+r3YchoqRYxNH3M0GQ==",+ "peer": true,+ "requires": {+ "@xtuc/ieee754": "^1.2.0"+ }+ },+ "@webassemblyjs/leb128": {+ "version": "1.11.1",+ "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.11.1.tgz",+ "integrity": "sha512-BJ2P0hNZ0u+Th1YZXJpzW6miwqQUGcIHT1G/sf72gLVD9DZ5AdYTqPNbHZh6K1M5VmKvFXwGSWZADz+qBWxeRw==",+ "peer": true,+ "requires": {+ "@xtuc/long": "4.2.2"+ }+ },+ "@webassemblyjs/utf8": {+ "version": "1.11.1",+ "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.11.1.tgz",+ "integrity": "sha512-9kqcxAEdMhiwQkHpkNiorZzqpGrodQQ2IGrHHxCy+Ozng0ofyMA0lTqiLkVs1uzTRejX+/O0EOT7KxqVPuXosQ==",+ "peer": true+ },+ "@webassemblyjs/wasm-edit": {+ "version": "1.11.1",+ "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.11.1.tgz",+ "integrity": "sha512-g+RsupUC1aTHfR8CDgnsVRVZFJqdkFHpsHMfJuWQzWU3tvnLC07UqHICfP+4XyL2tnr1amvl1Sdp06TnYCmVkA==",+ "peer": true,+ "requires": {+ "@webassemblyjs/ast": "1.11.1",+ "@webassemblyjs/helper-buffer": "1.11.1",+ "@webassemblyjs/helper-wasm-bytecode": "1.11.1",+ "@webassemblyjs/helper-wasm-section": "1.11.1",+ "@webassemblyjs/wasm-gen": "1.11.1",+ "@webassemblyjs/wasm-opt": "1.11.1",+ "@webassemblyjs/wasm-parser": "1.11.1",+ "@webassemblyjs/wast-printer": "1.11.1"+ }+ },+ "@webassemblyjs/wasm-gen": {+ "version": "1.11.1",+ "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.11.1.tgz",+ "integrity": "sha512-F7QqKXwwNlMmsulj6+O7r4mmtAlCWfO/0HdgOxSklZfQcDu0TpLiD1mRt/zF25Bk59FIjEuGAIyn5ei4yMfLhA==",+ "peer": true,+ "requires": {+ "@webassemblyjs/ast": "1.11.1",+ "@webassemblyjs/helper-wasm-bytecode": "1.11.1",+ "@webassemblyjs/ieee754": "1.11.1",+ "@webassemblyjs/leb128": "1.11.1",+ "@webassemblyjs/utf8": "1.11.1"+ }+ },+ "@webassemblyjs/wasm-opt": {+ "version": "1.11.1",+ "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.11.1.tgz",+ "integrity": "sha512-VqnkNqnZlU5EB64pp1l7hdm3hmQw7Vgqa0KF/KCNO9sIpI6Fk6brDEiX+iCOYrvMuBWDws0NkTOxYEb85XQHHw==",+ "peer": true,+ "requires": {+ "@webassemblyjs/ast": "1.11.1",+ "@webassemblyjs/helper-buffer": "1.11.1",+ "@webassemblyjs/wasm-gen": "1.11.1",+ "@webassemblyjs/wasm-parser": "1.11.1"+ }+ },+ "@webassemblyjs/wasm-parser": {+ "version": "1.11.1",+ "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.11.1.tgz",+ "integrity": "sha512-rrBujw+dJu32gYB7/Lup6UhdkPx9S9SnobZzRVL7VcBH9Bt9bCBLEuX/YXOOtBsOZ4NQrRykKhffRWHvigQvOA==",+ "peer": true,+ "requires": {+ "@webassemblyjs/ast": "1.11.1",+ "@webassemblyjs/helper-api-error": "1.11.1",+ "@webassemblyjs/helper-wasm-bytecode": "1.11.1",+ "@webassemblyjs/ieee754": "1.11.1",+ "@webassemblyjs/leb128": "1.11.1",+ "@webassemblyjs/utf8": "1.11.1"+ }+ },+ "@webassemblyjs/wast-printer": {+ "version": "1.11.1",+ "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.11.1.tgz",+ "integrity": "sha512-IQboUWM4eKzWW+N/jij2sRatKMh99QEelo3Eb2q0qXkvPRISAj8Qxtmw5itwqK+TTkBuUIE45AxYPToqPtL5gg==",+ "peer": true,+ "requires": {+ "@webassemblyjs/ast": "1.11.1",+ "@xtuc/long": "4.2.2"+ }+ },+ "@xtuc/ieee754": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz",+ "integrity": "sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==",+ "peer": true+ },+ "@xtuc/long": {+ "version": "4.2.2",+ "resolved": "https://registry.npmjs.org/@xtuc/long/-/long-4.2.2.tgz",+ "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==",+ "peer": true+ },+ "acorn": {+ "version": "7.4.1",+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz",+ "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==",+ "dev": true+ },+ "acorn-node": {+ "version": "1.8.2",+ "resolved": "https://registry.npmjs.org/acorn-node/-/acorn-node-1.8.2.tgz",+ "integrity": "sha512-8mt+fslDufLYntIoPAaIMUe/lrbrehIiwmR3t2k9LljIzoigEPF27eLk2hy8zSGzmR/ogr7zbRKINMo1u0yh5A==",+ "dev": true,+ "requires": {+ "acorn": "^7.0.0",+ "acorn-walk": "^7.0.0",+ "xtend": "^4.0.2"+ }+ },+ "acorn-walk": {+ "version": "7.2.0",+ "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-7.2.0.tgz",+ "integrity": "sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA==",+ "dev": true+ },+ "agent-base": {+ "version": "6.0.2",+ "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz",+ "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==",+ "requires": {+ "debug": "4"+ },+ "dependencies": {+ "debug": {+ "version": "4.3.2",+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz",+ "integrity": "sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==",+ "requires": {+ "ms": "2.1.2"+ }+ },+ "ms": {+ "version": "2.1.2",+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",+ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="+ }+ }+ },+ "aggregate-error": {+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz",+ "integrity": "sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==",+ "requires": {+ "clean-stack": "^2.0.0",+ "indent-string": "^4.0.0"+ }+ },+ "ajv": {+ "version": "8.6.3",+ "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.6.3.tgz",+ "integrity": "sha512-SMJOdDP6LqTkD0Uq8qLi+gMwSt0imXLSV080qFVwJCpH9U6Mb+SUGHAXM0KNbcBPguytWyvFxcHgMLe2D2XSpw==",+ "requires": {+ "fast-deep-equal": "^3.1.1",+ "json-schema-traverse": "^1.0.0",+ "require-from-string": "^2.0.2",+ "uri-js": "^4.2.2"+ }+ },+ "analytics-node": {+ "version": "3.5.0",+ "resolved": "https://registry.npmjs.org/analytics-node/-/analytics-node-3.5.0.tgz",+ "integrity": "sha512-XgQq6ejZHCehUSnZS4V7QJPLIP7S9OAWwQDYl4WTLtsRvc5fCxIwzK/yihzmIW51v9PnyBmrl9dMcqvwfOE8WA==",+ "requires": {+ "@segment/loosely-validate-event": "^2.0.0",+ "axios": "^0.21.1",+ "axios-retry": "^3.0.2",+ "lodash.isstring": "^4.0.1",+ "md5": "^2.2.1",+ "ms": "^2.0.0",+ "remove-trailing-slash": "^0.1.0",+ "uuid": "^3.2.1"+ }+ },+ "anser": {+ "version": "1.4.9",+ "resolved": "https://registry.npmjs.org/anser/-/anser-1.4.9.tgz",+ "integrity": "sha512-AI+BjTeGt2+WFk4eWcqbQ7snZpDBt8SaLlj0RT2h5xfdWaiy51OjYvqwMrNzJLGy8iOAL6nKDITWO+rd4MkYEA=="+ },+ "ansi-regex": {+ "version": "5.0.1",+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",+ "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ=="+ },+ "ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",+ "requires": {+ "color-convert": "^1.9.0"+ }+ },+ "anymatch": {+ "version": "3.1.2",+ "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz",+ "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==",+ "requires": {+ "normalize-path": "^3.0.0",+ "picomatch": "^2.0.4"+ }+ },+ "aproba": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz",+ "integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw=="+ },+ "are-we-there-yet": {+ "version": "1.1.7",+ "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.7.tgz",+ "integrity": "sha512-nxwy40TuMiUGqMyRHgCSWZ9FM4VAoRP4xUYSTv5ImRog+h9yISPbVH7H8fASCIzYn9wlEv4zvFL7uKDMCFQm3g==",+ "requires": {+ "delegates": "^1.0.0",+ "readable-stream": "^2.0.6"+ },+ "dependencies": {+ "readable-stream": {+ "version": "2.3.7",+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz",+ "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==",+ "requires": {+ "core-util-is": "~1.0.0",+ "inherits": "~2.0.3",+ "isarray": "~1.0.0",+ "process-nextick-args": "~2.0.0",+ "safe-buffer": "~5.1.1",+ "string_decoder": "~1.1.1",+ "util-deprecate": "~1.0.1"+ }+ },+ "safe-buffer": {+ "version": "5.1.2",+ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",+ "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="+ },+ "string_decoder": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",+ "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==",+ "requires": {+ "safe-buffer": "~5.1.0"+ }+ }+ }+ },+ "arg": {+ "version": "5.0.1",+ "resolved": "https://registry.npmjs.org/arg/-/arg-5.0.1.tgz",+ "integrity": "sha512-e0hDa9H2Z9AwFkk2qDlwhoMYE4eToKarchkQHovNdLTCYMHZHeRjI71crOh+dio4K6u1IcwubQqo79Ga4CyAQA==",+ "dev": true+ },+ "asn1.js": {+ "version": "5.4.1",+ "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-5.4.1.tgz",+ "integrity": "sha512-+I//4cYPccV8LdmBLiX8CYvf9Sp3vQsrqu2QNXRcrbiWvcx/UdlFiqUJJzxRQxgsZmvhXhn4cSKeSmoFjVdupA==",+ "requires": {+ "bn.js": "^4.0.0",+ "inherits": "^2.0.1",+ "minimalistic-assert": "^1.0.0",+ "safer-buffer": "^2.1.0"+ },+ "dependencies": {+ "bn.js": {+ "version": "4.12.0",+ "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz",+ "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA=="+ }+ }+ },+ "assert": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/assert/-/assert-2.0.0.tgz",+ "integrity": "sha512-se5Cd+js9dXJnu6Ag2JFc00t+HmHOen+8Q+L7O9zI0PqQXr20uk2J0XQqMxZEeo5U50o8Nvmmx7dZrl+Ufr35A==",+ "requires": {+ "es6-object-assign": "^1.1.0",+ "is-nan": "^1.2.1",+ "object-is": "^1.0.1",+ "util": "^0.12.0"+ }+ },+ "ast-types": {+ "version": "0.13.2",+ "resolved": "https://registry.npmjs.org/ast-types/-/ast-types-0.13.2.tgz",+ "integrity": "sha512-uWMHxJxtfj/1oZClOxDEV1sQ1HCDkA4MG8Gr69KKeBjEVH0R84WlejZ0y2DcwyBlpAEMltmVYkVgqfLFb2oyiA=="+ },+ "autoprefixer": {+ "version": "10.3.4",+ "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.3.4.tgz",+ "integrity": "sha512-EKjKDXOq7ug+jagLzmnoTRpTT0q1KVzEJqrJd0hCBa7FiG0WbFOBCcJCy2QkW1OckpO3qgttA1aWjVbeIPAecw==",+ "dev": true,+ "requires": {+ "browserslist": "^4.16.8",+ "caniuse-lite": "^1.0.30001252",+ "colorette": "^1.3.0",+ "fraction.js": "^4.1.1",+ "normalize-range": "^0.1.2",+ "postcss-value-parser": "^4.1.0"+ }+ },+ "available-typed-arrays": {+ "version": "1.0.5",+ "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz",+ "integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw=="+ },+ "awesome-debounce-promise": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/awesome-debounce-promise/-/awesome-debounce-promise-2.1.0.tgz",+ "integrity": "sha512-0Dv4j2wKk5BrNZh4jgV2HUdznaeVgEK/WTvcHhZWUElhmQ1RR+iURRoLEwICFyR0S/5VtxfcvY6gR+qSe95jNg==",+ "requires": {+ "@types/debounce-promise": "^3.1.1",+ "awesome-imperative-promise": "^1.0.1",+ "awesome-only-resolves-last-promise": "^1.0.3",+ "debounce-promise": "^3.1.0"+ }+ },+ "awesome-imperative-promise": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/awesome-imperative-promise/-/awesome-imperative-promise-1.0.1.tgz",+ "integrity": "sha512-EmPr3FqbQGqlNh+WxMNcF9pO9uDQJnOC4/3rLBQNH9m4E9qI+8lbfHCmHpVAsmGqPJPKhCjJLHUQzQW/RBHRdQ=="+ },+ "awesome-only-resolves-last-promise": {+ "version": "1.0.3",+ "resolved": "https://registry.npmjs.org/awesome-only-resolves-last-promise/-/awesome-only-resolves-last-promise-1.0.3.tgz",+ "integrity": "sha512-7q4WPsYiD8Omvi/yHL314DkvsD/lM//Z2/KcU1vWk0xJotiV0GMJTgHTpWl3n90HJqpXKg7qX+VVNs5YbQyPRQ==",+ "requires": {+ "awesome-imperative-promise": "^1.0.1"+ }+ },+ "axios": {+ "version": "0.21.4",+ "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz",+ "integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==",+ "requires": {+ "follow-redirects": "^1.14.0"+ }+ },+ "axios-retry": {+ "version": "3.2.4",+ "resolved": "https://registry.npmjs.org/axios-retry/-/axios-retry-3.2.4.tgz",+ "integrity": "sha512-Co3UXiv4npi6lM963mfnuH90/YFLKWWDmoBYfxkHT5xtkSSWNqK9zdG3fw5/CP/dsoKB5aMMJCsgab+tp1OxLQ==",+ "requires": {+ "@babel/runtime": "^7.15.4",+ "is-retry-allowed": "^2.2.0"+ }+ },+ "babel-plugin-syntax-jsx": {+ "version": "6.18.0",+ "resolved": "https://registry.npmjs.org/babel-plugin-syntax-jsx/-/babel-plugin-syntax-jsx-6.18.0.tgz",+ "integrity": "sha1-CvMqmm4Tyno/1QaeYtew9Y0NiUY="+ },+ "balanced-match": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",+ "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==",+ "dev": true+ },+ "base64-js": {+ "version": "1.5.1",+ "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz",+ "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA=="+ },+ "base64url": {+ "version": "3.0.1",+ "resolved": "https://registry.npmjs.org/base64url/-/base64url-3.0.1.tgz",+ "integrity": "sha512-ir1UPr3dkwexU7FdV8qBBbNDRUhMmIekYMFZfi+C/sLNnRESKPl23nB9b2pltqfOQNnGzsDdId90AEtG5tCx4A=="+ },+ "big.js": {+ "version": "5.2.2",+ "resolved": "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz",+ "integrity": "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ=="+ },+ "binary-extensions": {+ "version": "2.2.0",+ "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz",+ "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA=="+ },+ "bn.js": {+ "version": "5.2.0",+ "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.0.tgz",+ "integrity": "sha512-D7iWRBvnZE8ecXiLj/9wbxH7Tk79fAh8IHaTNq1RWRixsS02W+5qS+iE9yq6RYl0asXx5tw0bLhmT5pIfbSquw=="+ },+ "brace-expansion": {+ "version": "1.1.11",+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",+ "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",+ "dev": true,+ "requires": {+ "balanced-match": "^1.0.0",+ "concat-map": "0.0.1"+ }+ },+ "braces": {+ "version": "3.0.2",+ "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",+ "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==",+ "requires": {+ "fill-range": "^7.0.1"+ }+ },+ "brorand": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz",+ "integrity": "sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8="+ },+ "browserify-aes": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz",+ "integrity": "sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==",+ "requires": {+ "buffer-xor": "^1.0.3",+ "cipher-base": "^1.0.0",+ "create-hash": "^1.1.0",+ "evp_bytestokey": "^1.0.3",+ "inherits": "^2.0.1",+ "safe-buffer": "^5.0.1"+ }+ },+ "browserify-cipher": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/browserify-cipher/-/browserify-cipher-1.0.1.tgz",+ "integrity": "sha512-sPhkz0ARKbf4rRQt2hTpAHqn47X3llLkUGn+xEJzLjwY8LRs2p0v7ljvI5EyoRO/mexrNunNECisZs+gw2zz1w==",+ "requires": {+ "browserify-aes": "^1.0.4",+ "browserify-des": "^1.0.0",+ "evp_bytestokey": "^1.0.0"+ }+ },+ "browserify-des": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/browserify-des/-/browserify-des-1.0.2.tgz",+ "integrity": "sha512-BioO1xf3hFwz4kc6iBhI3ieDFompMhrMlnDFC4/0/vd5MokpuAc3R+LYbwTA9A5Yc9pq9UYPqffKpW2ObuwX5A==",+ "requires": {+ "cipher-base": "^1.0.1",+ "des.js": "^1.0.0",+ "inherits": "^2.0.1",+ "safe-buffer": "^5.1.2"+ }+ },+ "browserify-rsa": {+ "version": "4.1.0",+ "resolved": "https://registry.npmjs.org/browserify-rsa/-/browserify-rsa-4.1.0.tgz",+ "integrity": "sha512-AdEER0Hkspgno2aR97SAf6vi0y0k8NuOpGnVH3O99rcA5Q6sh8QxcngtHuJ6uXwnfAXNM4Gn1Gb7/MV1+Ymbog==",+ "requires": {+ "bn.js": "^5.0.0",+ "randombytes": "^2.0.1"+ }+ },+ "browserify-sign": {+ "version": "4.2.1",+ "resolved": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.2.1.tgz",+ "integrity": "sha512-/vrA5fguVAKKAVTNJjgSm1tRQDHUU6DbwO9IROu/0WAzC8PKhucDSh18J0RMvVeHAn5puMd+QHC2erPRNf8lmg==",+ "requires": {+ "bn.js": "^5.1.1",+ "browserify-rsa": "^4.0.1",+ "create-hash": "^1.2.0",+ "create-hmac": "^1.1.7",+ "elliptic": "^6.5.3",+ "inherits": "^2.0.4",+ "parse-asn1": "^5.1.5",+ "readable-stream": "^3.6.0",+ "safe-buffer": "^5.2.0"+ }+ },+ "browserify-zlib": {+ "version": "0.2.0",+ "resolved": "https://registry.npmjs.org/browserify-zlib/-/browserify-zlib-0.2.0.tgz",+ "integrity": "sha512-Z942RysHXmJrhqk88FmKBVq/v5tqmSkDz7p54G/MGyjMnCFFnC79XWNbg+Vta8W6Wb2qtSZTSxIGkJrRpCFEiA==",+ "requires": {+ "pako": "~1.0.5"+ }+ },+ "browserslist": {+ "version": "4.17.6",+ "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.17.6.tgz",+ "integrity": "sha512-uPgz3vyRTlEiCv4ee9KlsKgo2V6qPk7Jsn0KAn2OBqbqKo3iNcPEC1Ti6J4dwnz+aIRfEEEuOzC9IBk8tXUomw==",+ "requires": {+ "caniuse-lite": "^1.0.30001274",+ "electron-to-chromium": "^1.3.886",+ "escalade": "^3.1.1",+ "node-releases": "^2.0.1",+ "picocolors": "^1.0.0"+ },+ "dependencies": {+ "node-releases": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.1.tgz",+ "integrity": "sha512-CqyzN6z7Q6aMeF/ktcMVTzhAHCEpf8SOarwpzpf8pNBY2k5/oM34UHldUwp8VKI7uxct2HxSRdJjBaZeESzcxA=="+ }+ }+ },+ "buffer": {+ "version": "5.6.0",+ "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.6.0.tgz",+ "integrity": "sha512-/gDYp/UtU0eA1ys8bOs9J6a+E/KWIY+DZ+Q2WESNUA0jFRsJOc0SNUO6xJ5SGA1xueg3NL65W6s+NY5l9cunuw==",+ "requires": {+ "base64-js": "^1.0.2",+ "ieee754": "^1.1.4"+ }+ },+ "buffer-from": {+ "version": "1.1.2",+ "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz",+ "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==",+ "peer": true+ },+ "buffer-writer": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/buffer-writer/-/buffer-writer-2.0.0.tgz",+ "integrity": "sha512-a7ZpuTZU1TRtnwyCNW3I5dc0wWNC3VR9S++Ewyk2HHZdrO3CQJqSpd+95Us590V6AL7JqUAH2IwZ/398PmNFgw=="+ },+ "buffer-xor": {+ "version": "1.0.3",+ "resolved": "https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz",+ "integrity": "sha1-JuYe0UIvtw3ULm42cp7VHYVf6Nk="+ },+ "bufferutil": {+ "version": "4.0.5",+ "resolved": "https://registry.npmjs.org/bufferutil/-/bufferutil-4.0.5.tgz",+ "integrity": "sha512-HTm14iMQKK2FjFLRTM5lAVcyaUzOnqbPtesFIvREgXpJHdQm8bWS+GkQgIkfaBYRHuCnea7w8UVNfwiAQhlr9A==",+ "requires": {+ "node-gyp-build": "^4.3.0"+ }+ },+ "builtin-status-codes": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz",+ "integrity": "sha1-hZgoeOIbmOHGZCXgPQF0eI9Wnug="+ },+ "bytes": {+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz",+ "integrity": "sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg=="+ },+ "cacheable-lookup": {+ "version": "5.0.4",+ "resolved": "https://registry.npmjs.org/cacheable-lookup/-/cacheable-lookup-5.0.4.tgz",+ "integrity": "sha512-2/kNscPhpcxrOigMZzbiWF7dz8ilhb/nIHU3EyZiXWXpeq/au8qJ8VhdftMkty3n7Gj6HIGalQG8oiBNB3AJgA=="+ },+ "cacheable-request": {+ "version": "7.0.2",+ "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-7.0.2.tgz",+ "integrity": "sha512-pouW8/FmiPQbuGpkXQ9BAPv/Mo5xDGANgSNXzTzJ8DrKGuXOssM4wIQRjfanNRh3Yu5cfYPvcorqbhg2KIJtew==",+ "requires": {+ "clone-response": "^1.0.2",+ "get-stream": "^5.1.0",+ "http-cache-semantics": "^4.0.0",+ "keyv": "^4.0.0",+ "lowercase-keys": "^2.0.0",+ "normalize-url": "^6.0.1",+ "responselike": "^2.0.0"+ }+ },+ "call-bind": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz",+ "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==",+ "requires": {+ "function-bind": "^1.1.1",+ "get-intrinsic": "^1.0.2"+ }+ },+ "callsites": {+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",+ "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==",+ "dev": true+ },+ "camelcase-css": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/camelcase-css/-/camelcase-css-2.0.1.tgz",+ "integrity": "sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==",+ "dev": true+ },+ "caniuse-lite": {+ "version": "1.0.30001279",+ "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001279.tgz",+ "integrity": "sha512-VfEHpzHEXj6/CxggTwSFoZBBYGQfQv9Cf42KPlO79sWXCD1QNKWKsKzFeWL7QpZHJQYAvocqV6Rty1yJMkqWLQ=="+ },+ "chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "requires": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ }+ },+ "charenc": {+ "version": "0.0.2",+ "resolved": "https://registry.npmjs.org/charenc/-/charenc-0.0.2.tgz",+ "integrity": "sha1-wKHS86cJLgN3S/qD8UwPxXkKhmc="+ },+ "chokidar": {+ "version": "3.5.1",+ "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.1.tgz",+ "integrity": "sha512-9+s+Od+W0VJJzawDma/gvBNQqkTiqYTWLuZoyAsivsI4AaWTCzHG06/TMjsf1cYe9Cb97UCEhjz7HvnPk2p/tw==",+ "requires": {+ "anymatch": "~3.1.1",+ "braces": "~3.0.2",+ "fsevents": "~2.3.1",+ "glob-parent": "~5.1.0",+ "is-binary-path": "~2.1.0",+ "is-glob": "~4.0.1",+ "normalize-path": "~3.0.0",+ "readdirp": "~3.5.0"+ }+ },+ "chrome-trace-event": {+ "version": "1.0.3",+ "resolved": "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.3.tgz",+ "integrity": "sha512-p3KULyQg4S7NIHixdwbGX+nFHkoBiA4YQmyWtjb8XngSKV124nJmRysgAeujbUVb15vh+RvFUfCPqU7rXk+hZg==",+ "peer": true+ },+ "cipher-base": {+ "version": "1.0.4",+ "resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz",+ "integrity": "sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==",+ "requires": {+ "inherits": "^2.0.1",+ "safe-buffer": "^5.0.1"+ }+ },+ "classnames": {+ "version": "2.2.6",+ "resolved": "https://registry.npmjs.org/classnames/-/classnames-2.2.6.tgz",+ "integrity": "sha512-JR/iSQOSt+LQIWwrwEzJ9uk0xfN3mTVYMwt1Ir5mUcSN6pU+V4zQFFaJsclJbPuAUQH+yfWef6tm7l1quW3C8Q=="+ },+ "clean-stack": {+ "version": "2.2.0",+ "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz",+ "integrity": "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A=="+ },+ "clipboard": {+ "version": "2.0.8",+ "resolved": "https://registry.npmjs.org/clipboard/-/clipboard-2.0.8.tgz",+ "integrity": "sha512-Y6WO0unAIQp5bLmk1zdThRhgJt/x3ks6f30s3oE3H1mgIEU33XyQjEf8gsf6DxC7NPX8Y1SsNWjUjL/ywLnnbQ==",+ "requires": {+ "good-listener": "^1.2.2",+ "select": "^1.1.2",+ "tiny-emitter": "^2.0.0"+ }+ },+ "clone-response": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/clone-response/-/clone-response-1.0.2.tgz",+ "integrity": "sha1-0dyXOSAxTfZ/vrlCI7TuNQI56Ws=",+ "requires": {+ "mimic-response": "^1.0.0"+ }+ },+ "clsx": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/clsx/-/clsx-1.1.1.tgz",+ "integrity": "sha512-6/bPho624p3S2pMyvP5kKBPXnI3ufHLObBFCfgx+LkeR5lg2XYy2hqZqUf45ypD8COn2bhgGJSUE+l5dhNBieA=="+ },+ "code-point-at": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz",+ "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c="+ },+ "color": {+ "version": "4.0.1",+ "resolved": "https://registry.npmjs.org/color/-/color-4.0.1.tgz",+ "integrity": "sha512-rpZjOKN5O7naJxkH2Rx1sZzzBgaiWECc6BYXjeCE6kF0kcASJYbUq02u7JqIHwCb/j3NhV+QhRL2683aICeGZA==",+ "dev": true,+ "requires": {+ "color-convert": "^2.0.1",+ "color-string": "^1.6.0"+ },+ "dependencies": {+ "color-convert": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",+ "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",+ "dev": true,+ "requires": {+ "color-name": "~1.1.4"+ }+ },+ "color-name": {+ "version": "1.1.4",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",+ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",+ "dev": true+ }+ }+ },+ "color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",+ "requires": {+ "color-name": "1.1.3"+ }+ },+ "color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU="+ },+ "color-string": {+ "version": "1.6.0",+ "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.6.0.tgz",+ "integrity": "sha512-c/hGS+kRWJutUBEngKKmk4iH3sD59MBkoxVapS/0wgpCz2u7XsNloxknyvBhzwEs1IbV36D9PwqLPJ2DTu3vMA==",+ "dev": true,+ "requires": {+ "color-name": "^1.0.0",+ "simple-swizzle": "^0.2.2"+ }+ },+ "colorette": {+ "version": "1.4.0",+ "resolved": "https://registry.npmjs.org/colorette/-/colorette-1.4.0.tgz",+ "integrity": "sha512-Y2oEozpomLn7Q3HFP7dpww7AtMJplbM9lGZP6RDfHqmbeRjiwRg4n6VM6j4KLmRke85uWEI7JqF17f3pqdRA0g=="+ },+ "commander": {+ "version": "6.2.1",+ "resolved": "https://registry.npmjs.org/commander/-/commander-6.2.1.tgz",+ "integrity": "sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA==",+ "dev": true+ },+ "commondir": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz",+ "integrity": "sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs="+ },+ "component-type": {+ "version": "1.2.1",+ "resolved": "https://registry.npmjs.org/component-type/-/component-type-1.2.1.tgz",+ "integrity": "sha1-ikeQFwAjjk/DIml3EjAibyS0Fak="+ },+ "concat-map": {+ "version": "0.0.1",+ "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",+ "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=",+ "dev": true+ },+ "configcat-common": {+ "version": "4.5.0",+ "resolved": "https://registry.npmjs.org/configcat-common/-/configcat-common-4.5.0.tgz",+ "integrity": "sha512-RZA0C1BVRlXJaavehPXk8q2YpmZyLovUFz0SHHdfePteDJjZ2iL7USahQi0SwpPK+BA5PKUvHZMkchMV2UGuPA=="+ },+ "configcat-js": {+ "version": "5.6.0",+ "resolved": "https://registry.npmjs.org/configcat-js/-/configcat-js-5.6.0.tgz",+ "integrity": "sha512-lMNdspGPCTSoIqtNQojXCKi4wjX1hl0vnTN3FMUKJQjCY32A6b9kBlbEocsVgzXEoArktRuMzOaXOVmY9+J8Tg==",+ "requires": {+ "configcat-common": "^4.5.0"+ }+ },+ "console-browserify": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/console-browserify/-/console-browserify-1.2.0.tgz",+ "integrity": "sha512-ZMkYO/LkF17QvCPqM0gxw8yUzigAOZOSWSHg91FH6orS7vcEj5dVZTidN2fQ14yBSdg97RqhSNwLUXInd52OTA=="+ },+ "console-control-strings": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz",+ "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4="+ },+ "constants-browserify": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/constants-browserify/-/constants-browserify-1.0.0.tgz",+ "integrity": "sha1-wguW2MYXdIqvHBYCF2DNJ/y4y3U="+ },+ "convert-source-map": {+ "version": "1.7.0",+ "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.7.0.tgz",+ "integrity": "sha512-4FJkXzKXEDB1snCFZlLP4gpC3JILicCpGbzG9f9G7tGqGCzETQ2hWPrcinA9oU4wtf2biUaEH5065UnMeR33oA==",+ "requires": {+ "safe-buffer": "~5.1.1"+ },+ "dependencies": {+ "safe-buffer": {+ "version": "5.1.2",+ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",+ "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="+ }+ }+ },+ "cookie": {+ "version": "0.4.1",+ "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.1.tgz",+ "integrity": "sha512-ZwrFkGJxUR3EIoXtO+yVE69Eb7KlixbaeAWfBQB9vVsNn/o+Yw69gBWSSDK825hQNdN+wF8zELf3dFNl/kxkUA=="+ },+ "core-util-is": {+ "version": "1.0.3",+ "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz",+ "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ=="+ },+ "cosmiconfig": {+ "version": "7.0.1",+ "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.0.1.tgz",+ "integrity": "sha512-a1YWNUV2HwGimB7dU2s1wUMurNKjpx60HxBB6xUM8Re+2s1g1IIfJvFR0/iCF+XHdE0GMTKTuLR32UQff4TEyQ==",+ "dev": true,+ "requires": {+ "@types/parse-json": "^4.0.0",+ "import-fresh": "^3.2.1",+ "parse-json": "^5.0.0",+ "path-type": "^4.0.0",+ "yaml": "^1.10.0"+ }+ },+ "create-ecdh": {+ "version": "4.0.4",+ "resolved": "https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.4.tgz",+ "integrity": "sha512-mf+TCx8wWc9VpuxfP2ht0iSISLZnt0JgWlrOKZiNqyUZWnjIaCIVNQArMHnCZKfEYRg6IM7A+NeJoN8gf/Ws0A==",+ "requires": {+ "bn.js": "^4.1.0",+ "elliptic": "^6.5.3"+ },+ "dependencies": {+ "bn.js": {+ "version": "4.12.0",+ "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz",+ "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA=="+ }+ }+ },+ "create-hash": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz",+ "integrity": "sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==",+ "requires": {+ "cipher-base": "^1.0.1",+ "inherits": "^2.0.1",+ "md5.js": "^1.3.4",+ "ripemd160": "^2.0.1",+ "sha.js": "^2.4.0"+ }+ },+ "create-hmac": {+ "version": "1.1.7",+ "resolved": "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz",+ "integrity": "sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg==",+ "requires": {+ "cipher-base": "^1.0.3",+ "create-hash": "^1.1.0",+ "inherits": "^2.0.1",+ "ripemd160": "^2.0.0",+ "safe-buffer": "^5.0.1",+ "sha.js": "^2.4.8"+ }+ },+ "cross-fetch": {+ "version": "3.1.4",+ "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.4.tgz",+ "integrity": "sha512-1eAtFWdIubi6T4XPy6ei9iUFoKpUkIF971QLN8lIvvvwueI65+Nw5haMNKUwfJxabqlIIDODJKGrQ66gxC0PbQ==",+ "requires": {+ "node-fetch": "2.6.1"+ }+ },+ "crypt": {+ "version": "0.0.2",+ "resolved": "https://registry.npmjs.org/crypt/-/crypt-0.0.2.tgz",+ "integrity": "sha1-iNf/fsDfuG9xPch7u0LQRNPmxBs="+ },+ "crypto-browserify": {+ "version": "3.12.0",+ "resolved": "https://registry.npmjs.org/crypto-browserify/-/crypto-browserify-3.12.0.tgz",+ "integrity": "sha512-fz4spIh+znjO2VjL+IdhEpRJ3YN6sMzITSBijk6FK2UvTqruSQW+/cCZTSNsMiZNvUeq0CqurF+dAbyiGOY6Wg==",+ "requires": {+ "browserify-cipher": "^1.0.0",+ "browserify-sign": "^4.0.0",+ "create-ecdh": "^4.0.0",+ "create-hash": "^1.1.0",+ "create-hmac": "^1.1.0",+ "diffie-hellman": "^5.0.0",+ "inherits": "^2.0.1",+ "pbkdf2": "^3.0.3",+ "public-encrypt": "^4.0.0",+ "randombytes": "^2.0.0",+ "randomfill": "^1.0.3"+ }+ },+ "crypto-js": {+ "version": "4.1.1",+ "resolved": "https://registry.npmjs.org/crypto-js/-/crypto-js-4.1.1.tgz",+ "integrity": "sha512-o2JlM7ydqd3Qk9CA0L4NL6mTzU2sdx96a+oOfPu8Mkl/PK51vSyoi8/rQ8NknZtk44vq15lmhAj9CIAGwgeWKw=="+ },+ "css-box-model": {+ "version": "1.2.1",+ "resolved": "https://registry.npmjs.org/css-box-model/-/css-box-model-1.2.1.tgz",+ "integrity": "sha512-a7Vr4Q/kd/aw96bnJG332W9V9LkJO69JRcaCYDUqjp6/z0w6VcZjgAcTbgFxEPfBgdnAwlh3iwu+hLopa+flJw==",+ "requires": {+ "tiny-invariant": "^1.0.6"+ }+ },+ "css-color-names": {+ "version": "0.0.4",+ "resolved": "https://registry.npmjs.org/css-color-names/-/css-color-names-0.0.4.tgz",+ "integrity": "sha1-gIrcLnnPhHOAabZGyyDsJ762KeA=",+ "dev": true+ },+ "css-unit-converter": {+ "version": "1.1.2",+ "resolved": "https://registry.npmjs.org/css-unit-converter/-/css-unit-converter-1.1.2.tgz",+ "integrity": "sha512-IiJwMC8rdZE0+xiEZHeru6YoONC4rfPMqGm2W85jMIbkFvv5nFTwJVFHam2eFrN6txmoUYFAFXiv8ICVeTO0MA=="+ },+ "css.escape": {+ "version": "1.5.1",+ "resolved": "https://registry.npmjs.org/css.escape/-/css.escape-1.5.1.tgz",+ "integrity": "sha1-QuJ9T6BK4y+TGktNQZH6nN3ul8s="+ },+ "cssesc": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz",+ "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==",+ "dev": true+ },+ "cssnano-preset-simple": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/cssnano-preset-simple/-/cssnano-preset-simple-2.0.0.tgz",+ "integrity": "sha512-HkufSLkaBJbKBFx/7aj5HmCK9Ni/JedRQm0mT2qBzMG/dEuJOLnMt2lK6K1rwOOyV4j9aSY+knbW9WoS7BYpzg==",+ "requires": {+ "caniuse-lite": "^1.0.30001202"+ }+ },+ "cssnano-simple": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/cssnano-simple/-/cssnano-simple-2.0.0.tgz",+ "integrity": "sha512-0G3TXaFxlh/szPEG/o3VcmCwl0N3E60XNb9YZZijew5eIs6fLjJuOPxQd9yEBaX2p/YfJtt49i4vYi38iH6/6w==",+ "requires": {+ "cssnano-preset-simple": "^2.0.0"+ }+ },+ "csstype": {+ "version": "3.0.9",+ "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.0.9.tgz",+ "integrity": "sha512-rpw6JPxK6Rfg1zLOYCSwle2GFOOsnjmDYDaBwEcwoOg4qlsIVCN789VkBZDJAGi4T07gI4YSutR43t9Zz4Lzuw=="+ },+ "d": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/d/-/d-1.0.1.tgz",+ "integrity": "sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA==",+ "requires": {+ "es5-ext": "^0.10.50",+ "type": "^1.0.1"+ }+ },+ "d3-array": {+ "version": "2.12.1",+ "resolved": "https://registry.npmjs.org/d3-array/-/d3-array-2.12.1.tgz",+ "integrity": "sha512-B0ErZK/66mHtEsR1TkPEEkwdy+WDesimkM5gpZr5Dsg54BiTA5RXtYW5qTLIAcekaS9xfZrzBLF/OAkB3Qn1YQ==",+ "requires": {+ "internmap": "^1.0.0"+ }+ },+ "d3-color": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/d3-color/-/d3-color-2.0.0.tgz",+ "integrity": "sha512-SPXi0TSKPD4g9tw0NMZFnR95XVgUZiBH+uUTqQuDu1OsE2zomHU7ho0FISciaPvosimixwHFl3WHLGabv6dDgQ=="+ },+ "d3-format": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/d3-format/-/d3-format-2.0.0.tgz",+ "integrity": "sha512-Ab3S6XuE/Q+flY96HXT0jOXcM4EAClYFnRGY5zsjRGNy6qCYrQsMffs7cV5Q9xejb35zxW5hf/guKw34kvIKsA=="+ },+ "d3-interpolate": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/d3-interpolate/-/d3-interpolate-2.0.1.tgz",+ "integrity": "sha512-c5UhwwTs/yybcmTpAVqwSFl6vrQ8JZJoT5F7xNFK9pymv5C0Ymcc9/LIJHtYIggg/yS9YHw8i8O8tgb9pupjeQ==",+ "requires": {+ "d3-color": "1 - 2"+ }+ },+ "d3-path": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/d3-path/-/d3-path-2.0.0.tgz",+ "integrity": "sha512-ZwZQxKhBnv9yHaiWd6ZU4x5BtCQ7pXszEV9CU6kRgwIQVQGLMv1oiL4M+MK/n79sYzsj+gcgpPQSctJUsLN7fA=="+ },+ "d3-scale": {+ "version": "3.3.0",+ "resolved": "https://registry.npmjs.org/d3-scale/-/d3-scale-3.3.0.tgz",+ "integrity": "sha512-1JGp44NQCt5d1g+Yy+GeOnZP7xHo0ii8zsQp6PGzd+C1/dl0KGsp9A7Mxwp+1D1o4unbTTxVdU/ZOIEBoeZPbQ==",+ "requires": {+ "d3-array": "^2.3.0",+ "d3-format": "1 - 2",+ "d3-interpolate": "1.2.0 - 2",+ "d3-time": "^2.1.1",+ "d3-time-format": "2 - 3"+ }+ },+ "d3-shape": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/d3-shape/-/d3-shape-2.1.0.tgz",+ "integrity": "sha512-PnjUqfM2PpskbSLTJvAzp2Wv4CZsnAgTfcVRTwW03QR3MkXF8Uo7B1y/lWkAsmbKwuecto++4NlsYcvYpXpTHA==",+ "requires": {+ "d3-path": "1 - 2"+ }+ },+ "d3-time": {+ "version": "2.1.1",+ "resolved": "https://registry.npmjs.org/d3-time/-/d3-time-2.1.1.tgz",+ "integrity": "sha512-/eIQe/eR4kCQwq7yxi7z4c6qEXf2IYGcjoWB5OOQy4Tq9Uv39/947qlDcN2TLkiTzQWzvnsuYPB9TrWaNfipKQ==",+ "requires": {+ "d3-array": "2"+ }+ },+ "d3-time-format": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/d3-time-format/-/d3-time-format-3.0.0.tgz",+ "integrity": "sha512-UXJh6EKsHBTjopVqZBhFysQcoXSv/5yLONZvkQ5Kk3qbwiUYkdX17Xa1PT6U1ZWXGGfB1ey5L8dKMlFq2DO0Ag==",+ "requires": {+ "d3-time": "1 - 2"+ }+ },+ "data-uri-to-buffer": {+ "version": "3.0.1",+ "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-3.0.1.tgz",+ "integrity": "sha512-WboRycPNsVw3B3TL559F7kuBUM4d8CgMEvk6xEJlOp7OBPjt6G7z8WMWlD2rOFZLk6OYfFIUGsCOWzcQH9K2og=="+ },+ "dayjs": {+ "version": "1.10.7",+ "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.10.7.tgz",+ "integrity": "sha512-P6twpd70BcPK34K26uJ1KT3wlhpuOAPoMwJzpsIWUxHZ7wpmbdZL/hQqBDfz7hGurYSa5PhzdhDHtt319hL3ig=="+ },+ "debounce-promise": {+ "version": "3.1.2",+ "resolved": "https://registry.npmjs.org/debounce-promise/-/debounce-promise-3.1.2.tgz",+ "integrity": "sha512-rZHcgBkbYavBeD9ej6sP56XfG53d51CD4dnaw989YX/nZ/ZJfgRx/9ePKmTNiUiyQvh4mtrMoS3OAWW+yoYtpg=="+ },+ "debug": {+ "version": "2.6.9",+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",+ "requires": {+ "ms": "2.0.0"+ }+ },+ "decimal.js-light": {+ "version": "2.5.1",+ "resolved": "https://registry.npmjs.org/decimal.js-light/-/decimal.js-light-2.5.1.tgz",+ "integrity": "sha512-qIMFpTMZmny+MMIitAB6D7iVPEorVw6YQRWkvarTkT4tBeSLLiHzcwj6q0MmYSFCiVpiqPJTJEYIrpcPzVEIvg=="+ },+ "decompress-response": {+ "version": "6.0.0",+ "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-6.0.0.tgz",+ "integrity": "sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ==",+ "requires": {+ "mimic-response": "^3.1.0"+ },+ "dependencies": {+ "mimic-response": {+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-3.1.0.tgz",+ "integrity": "sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ=="+ }+ }+ },+ "defer-to-connect": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-2.0.1.tgz",+ "integrity": "sha512-4tvttepXG1VaYGrRibk5EwJd1t4udunSOVMdLSAL6mId1ix438oPwPZMALY41FCijukO1L0twNcGsdzS7dHgDg=="+ },+ "define-properties": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz",+ "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==",+ "requires": {+ "object-keys": "^1.0.12"+ }+ },+ "defined": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/defined/-/defined-1.0.0.tgz",+ "integrity": "sha1-yY2bzvdWdBiOEQlpFRGZ45sfppM=",+ "dev": true+ },+ "delegate": {+ "version": "3.2.0",+ "resolved": "https://registry.npmjs.org/delegate/-/delegate-3.2.0.tgz",+ "integrity": "sha512-IofjkYBZaZivn0V8nnsMJGBr4jVLxHDheKSW88PyxS5QC4Vo9ZbZVvhzlSxY87fVq3STR6r+4cGepyHkcWOQSw=="+ },+ "delegates": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz",+ "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o="+ },+ "depd": {+ "version": "1.1.2",+ "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz",+ "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak="+ },+ "dequal": {+ "version": "2.0.2",+ "resolved": "https://registry.npmjs.org/dequal/-/dequal-2.0.2.tgz",+ "integrity": "sha512-q9K8BlJVxK7hQYqa6XISGmBZbtQQWVXSrRrWreHC94rMt1QL/Impruc+7p2CYSYuVIUr+YCt6hjrs1kkdJRTug=="+ },+ "des.js": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/des.js/-/des.js-1.0.1.tgz",+ "integrity": "sha512-Q0I4pfFrv2VPd34/vfLrFOoRmlYj3OV50i7fskps1jZWK1kApMWWT9G6RRUeYedLcBDIhnSDaUvJMb3AhUlaEA==",+ "requires": {+ "inherits": "^2.0.1",+ "minimalistic-assert": "^1.0.0"+ }+ },+ "detective": {+ "version": "5.2.0",+ "resolved": "https://registry.npmjs.org/detective/-/detective-5.2.0.tgz",+ "integrity": "sha512-6SsIx+nUUbuK0EthKjv0zrdnajCCXVYGmbYYiYjFVpzcjwEs/JMDZ8tPRG29J/HhN56t3GJp2cGSWDRjjot8Pg==",+ "dev": true,+ "requires": {+ "acorn-node": "^1.6.1",+ "defined": "^1.0.0",+ "minimist": "^1.1.1"+ }+ },+ "didyoumean": {+ "version": "1.2.2",+ "resolved": "https://registry.npmjs.org/didyoumean/-/didyoumean-1.2.2.tgz",+ "integrity": "sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==",+ "dev": true+ },+ "diffie-hellman": {+ "version": "5.0.3",+ "resolved": "https://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.3.tgz",+ "integrity": "sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg==",+ "requires": {+ "bn.js": "^4.1.0",+ "miller-rabin": "^4.0.0",+ "randombytes": "^2.0.0"+ },+ "dependencies": {+ "bn.js": {+ "version": "4.12.0",+ "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz",+ "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA=="+ }+ }+ },+ "dlv": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/dlv/-/dlv-1.1.3.tgz",+ "integrity": "sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==",+ "dev": true+ },+ "dnd-core": {+ "version": "14.0.0",+ "resolved": "https://registry.npmjs.org/dnd-core/-/dnd-core-14.0.0.tgz",+ "integrity": "sha512-wTDYKyjSqWuYw3ZG0GJ7k+UIfzxTNoZLjDrut37PbcPGNfwhlKYlPUqjAKUjOOv80izshUiqusaKgJPItXSevA==",+ "requires": {+ "@react-dnd/asap": "^4.0.0",+ "@react-dnd/invariant": "^2.0.0",+ "redux": "^4.0.5"+ }+ },+ "dom-helpers": {+ "version": "3.4.0",+ "resolved": "https://registry.npmjs.org/dom-helpers/-/dom-helpers-3.4.0.tgz",+ "integrity": "sha512-LnuPJ+dwqKDIyotW1VzmOZ5TONUN7CwkCR5hrgawTUbkBGYdeoNLZo6nNfGkCrjtE1nXXaj7iMMpDa8/d9WoIA==",+ "requires": {+ "@babel/runtime": "^7.1.2"+ }+ },+ "domain-browser": {+ "version": "4.19.0",+ "resolved": "https://registry.npmjs.org/domain-browser/-/domain-browser-4.19.0.tgz",+ "integrity": "sha512-fRA+BaAWOR/yr/t7T9E9GJztHPeFjj8U35ajyAjCDtAAnTn1Rc1f6W6VGPJrO1tkQv9zWu+JRof7z6oQtiYVFQ=="+ },+ "duplexer": {+ "version": "0.1.2",+ "resolved": "https://registry.npmjs.org/duplexer/-/duplexer-0.1.2.tgz",+ "integrity": "sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg==",+ "dev": true+ },+ "electron-to-chromium": {+ "version": "1.3.893",+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.893.tgz",+ "integrity": "sha512-ChtwF7qB03INq1SyMpue08wc6cve+ktj2UC/Y7se9vB+JryfzziJeYwsgb8jLaCA5GMkHCdn5M62PfSMWhifZg=="+ },+ "elliptic": {+ "version": "6.5.4",+ "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz",+ "integrity": "sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==",+ "requires": {+ "bn.js": "^4.11.9",+ "brorand": "^1.1.0",+ "hash.js": "^1.0.0",+ "hmac-drbg": "^1.0.1",+ "inherits": "^2.0.4",+ "minimalistic-assert": "^1.0.1",+ "minimalistic-crypto-utils": "^1.0.1"+ },+ "dependencies": {+ "bn.js": {+ "version": "4.12.0",+ "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz",+ "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA=="+ }+ }+ },+ "emojis-list": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/emojis-list/-/emojis-list-2.1.0.tgz",+ "integrity": "sha1-TapNnbAPmBmIDHn6RXrlsJof04k="+ },+ "encoding": {+ "version": "0.1.13",+ "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz",+ "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==",+ "requires": {+ "iconv-lite": "^0.6.2"+ }+ },+ "end-of-stream": {+ "version": "1.4.4",+ "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz",+ "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==",+ "requires": {+ "once": "^1.4.0"+ }+ },+ "enhanced-resolve": {+ "version": "5.8.3",+ "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.8.3.tgz",+ "integrity": "sha512-EGAbGvH7j7Xt2nc0E7D99La1OiEs8LnyimkRgwExpUMScN6O+3x9tIWs7PLQZVNx4YD+00skHXPXi1yQHpAmZA==",+ "peer": true,+ "requires": {+ "graceful-fs": "^4.2.4",+ "tapable": "^2.2.0"+ }+ },+ "error-ex": {+ "version": "1.3.2",+ "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz",+ "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==",+ "dev": true,+ "requires": {+ "is-arrayish": "^0.2.1"+ }+ },+ "es-abstract": {+ "version": "1.18.6",+ "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.18.6.tgz",+ "integrity": "sha512-kAeIT4cku5eNLNuUKhlmtuk1/TRZvQoYccn6TO0cSVdf1kzB0T7+dYuVK9MWM7l+/53W2Q8M7N2c6MQvhXFcUQ==",+ "requires": {+ "call-bind": "^1.0.2",+ "es-to-primitive": "^1.2.1",+ "function-bind": "^1.1.1",+ "get-intrinsic": "^1.1.1",+ "get-symbol-description": "^1.0.0",+ "has": "^1.0.3",+ "has-symbols": "^1.0.2",+ "internal-slot": "^1.0.3",+ "is-callable": "^1.2.4",+ "is-negative-zero": "^2.0.1",+ "is-regex": "^1.1.4",+ "is-string": "^1.0.7",+ "object-inspect": "^1.11.0",+ "object-keys": "^1.1.1",+ "object.assign": "^4.1.2",+ "string.prototype.trimend": "^1.0.4",+ "string.prototype.trimstart": "^1.0.4",+ "unbox-primitive": "^1.0.1"+ }+ },+ "es-module-lexer": {+ "version": "0.9.3",+ "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-0.9.3.tgz",+ "integrity": "sha512-1HQ2M2sPtxwnvOvT1ZClHyQDiggdNjURWpY2we6aMKCQiUVxTmVs2UYPLIrD84sS+kMdUwfBSylbJPwNnBrnHQ==",+ "peer": true+ },+ "es-to-primitive": {+ "version": "1.2.1",+ "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz",+ "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==",+ "requires": {+ "is-callable": "^1.1.4",+ "is-date-object": "^1.0.1",+ "is-symbol": "^1.0.2"+ }+ },+ "es5-ext": {+ "version": "0.10.53",+ "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.53.tgz",+ "integrity": "sha512-Xs2Stw6NiNHWypzRTY1MtaG/uJlwCk8kH81920ma8mvN8Xq1gsfhZvpkImLQArw8AHnv8MT2I45J3c0R8slE+Q==",+ "requires": {+ "es6-iterator": "~2.0.3",+ "es6-symbol": "~3.1.3",+ "next-tick": "~1.0.0"+ }+ },+ "es6-iterator": {+ "version": "2.0.3",+ "resolved": "https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.3.tgz",+ "integrity": "sha1-p96IkUGgWpSwhUQDstCg+/qY87c=",+ "requires": {+ "d": "1",+ "es5-ext": "^0.10.35",+ "es6-symbol": "^3.1.1"+ }+ },+ "es6-object-assign": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/es6-object-assign/-/es6-object-assign-1.1.0.tgz",+ "integrity": "sha1-wsNYJlYkfDnqEHyx5mUrb58kUjw="+ },+ "es6-symbol": {+ "version": "3.1.3",+ "resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.3.tgz",+ "integrity": "sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA==",+ "requires": {+ "d": "^1.0.1",+ "ext": "^1.1.2"+ }+ },+ "escalade": {+ "version": "3.1.1",+ "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz",+ "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw=="+ },+ "escape-string-regexp": {+ "version": "1.0.5",+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",+ "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ="+ },+ "eslint-scope": {+ "version": "5.1.1",+ "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz",+ "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==",+ "peer": true,+ "requires": {+ "esrecurse": "^4.3.0",+ "estraverse": "^4.1.1"+ }+ },+ "esrecurse": {+ "version": "4.3.0",+ "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz",+ "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==",+ "peer": true,+ "requires": {+ "estraverse": "^5.2.0"+ },+ "dependencies": {+ "estraverse": {+ "version": "5.3.0",+ "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz",+ "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==",+ "peer": true+ }+ }+ },+ "estraverse": {+ "version": "4.3.0",+ "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz",+ "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==",+ "peer": true+ },+ "esutils": {+ "version": "2.0.3",+ "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz",+ "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g=="+ },+ "etag": {+ "version": "1.8.1",+ "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz",+ "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc="+ },+ "eventemitter3": {+ "version": "4.0.7",+ "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz",+ "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw=="+ },+ "events": {+ "version": "3.3.0",+ "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz",+ "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q=="+ },+ "evp_bytestokey": {+ "version": "1.0.3",+ "resolved": "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz",+ "integrity": "sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==",+ "requires": {+ "md5.js": "^1.3.4",+ "safe-buffer": "^5.1.1"+ }+ },+ "exenv": {+ "version": "1.2.2",+ "resolved": "https://registry.npmjs.org/exenv/-/exenv-1.2.2.tgz",+ "integrity": "sha1-KueOhdmJQVhnCwPUe+wfA72Ru50="+ },+ "ext": {+ "version": "1.6.0",+ "resolved": "https://registry.npmjs.org/ext/-/ext-1.6.0.tgz",+ "integrity": "sha512-sdBImtzkq2HpkdRLtlLWDa6w4DX22ijZLKx8BMPUuKe1c5lbN6xwQDQCxSfxBQnHZ13ls/FH0MQZx/q/gr6FQg==",+ "requires": {+ "type": "^2.5.0"+ },+ "dependencies": {+ "type": {+ "version": "2.5.0",+ "resolved": "https://registry.npmjs.org/type/-/type-2.5.0.tgz",+ "integrity": "sha512-180WMDQaIMm3+7hGXWf12GtdniDEy7nYcyFMKJn/eZz/6tSLXrUN9V0wKSbMjej0I1WHWbpREDEKHtqPQa9NNw=="+ }+ }+ },+ "fast-deep-equal": {+ "version": "3.1.3",+ "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",+ "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q=="+ },+ "fast-equals": {+ "version": "2.0.3",+ "resolved": "https://registry.npmjs.org/fast-equals/-/fast-equals-2.0.3.tgz",+ "integrity": "sha512-0EMw4TTUxsMDpDkCg0rXor2gsg+npVrMIHbEhvD0HZyIhUX6AktC/yasm+qKwfyswd06Qy95ZKk8p2crTo0iPA=="+ },+ "fast-glob": {+ "version": "3.2.7",+ "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.7.tgz",+ "integrity": "sha512-rYGMRwip6lUMvYD3BTScMwT1HtAs2d71SMv66Vrxs0IekGZEjhM0pcMfjQPnknBt2zeCwQMEupiN02ZP4DiT1Q==",+ "dev": true,+ "requires": {+ "@nodelib/fs.stat": "^2.0.2",+ "@nodelib/fs.walk": "^1.2.3",+ "glob-parent": "^5.1.2",+ "merge2": "^1.3.0",+ "micromatch": "^4.0.4"+ }+ },+ "fast-json-stable-stringify": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz",+ "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==",+ "peer": true+ },+ "fastq": {+ "version": "1.13.0",+ "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.13.0.tgz",+ "integrity": "sha512-YpkpUnK8od0o1hmeSc7UUs/eB/vIPWJYjKck2QKIzAf71Vm1AAQ3EbuZB3g2JIy+pg+ERD0vqI79KyZiB2e2Nw==",+ "dev": true,+ "requires": {+ "reusify": "^1.0.4"+ }+ },+ "file-saver": {+ "version": "2.0.5",+ "resolved": "https://registry.npmjs.org/file-saver/-/file-saver-2.0.5.tgz",+ "integrity": "sha512-P9bmyZ3h/PRG+Nzga+rbdI4OEpNDzAVyy74uVO9ATgzLK6VtAsYybF/+TOCvrc0MO793d6+42lLyZTw7/ArVzA=="+ },+ "fill-range": {+ "version": "7.0.1",+ "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz",+ "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==",+ "requires": {+ "to-regex-range": "^5.0.1"+ }+ },+ "find-cache-dir": {+ "version": "3.3.1",+ "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-3.3.1.tgz",+ "integrity": "sha512-t2GDMt3oGC/v+BMwzmllWDuJF/xcDtE5j/fCGbqDD7OLuJkj0cfh1YSA5VKPvwMeLFLNDBkwOKZ2X85jGLVftQ==",+ "requires": {+ "commondir": "^1.0.1",+ "make-dir": "^3.0.2",+ "pkg-dir": "^4.1.0"+ }+ },+ "find-up": {+ "version": "4.1.0",+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz",+ "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==",+ "requires": {+ "locate-path": "^5.0.0",+ "path-exists": "^4.0.0"+ }+ },+ "follow-redirects": {+ "version": "1.14.5",+ "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.5.tgz",+ "integrity": "sha512-wtphSXy7d4/OR+MvIFbCVBDzZ5520qV8XfPklSN5QtxuMUJZ+b0Wnst1e1lCDocfzuCkHqj8k0FpZqO+UIaKNA=="+ },+ "foreach": {+ "version": "2.0.5",+ "resolved": "https://registry.npmjs.org/foreach/-/foreach-2.0.5.tgz",+ "integrity": "sha1-C+4AUBiusmDQo6865ljdATbsG5k="+ },+ "fraction.js": {+ "version": "4.1.1",+ "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.1.1.tgz",+ "integrity": "sha512-MHOhvvxHTfRFpF1geTK9czMIZ6xclsEor2wkIGYYq+PxcQqT7vStJqjhe6S1TenZrMZzo+wlqOufBDVepUEgPg==",+ "dev": true+ },+ "fs-extra": {+ "version": "10.0.0",+ "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.0.0.tgz",+ "integrity": "sha512-C5owb14u9eJwizKGdchcDUQeFtlSHHthBk8pbX9Vc1PFZrLombudjDnNns88aYslCyF6IY5SUw3Roz6xShcEIQ==",+ "dev": true,+ "requires": {+ "graceful-fs": "^4.2.0",+ "jsonfile": "^6.0.1",+ "universalify": "^2.0.0"+ }+ },+ "fs.realpath": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",+ "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=",+ "dev": true+ },+ "fsevents": {+ "version": "2.3.2",+ "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz",+ "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==",+ "optional": true+ },+ "function-bind": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",+ "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A=="+ },+ "futoin-hkdf": {+ "version": "1.4.2",+ "resolved": "https://registry.npmjs.org/futoin-hkdf/-/futoin-hkdf-1.4.2.tgz",+ "integrity": "sha512-2BggwLEJOTfXzKq4Tl2bIT37p0IqqKkblH4e0cMp2sXTdmwg/ADBKMxvxaEytYYcgdxgng8+acsi3WgMVUl6CQ=="+ },+ "gauge": {+ "version": "2.7.4",+ "resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz",+ "integrity": "sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=",+ "requires": {+ "aproba": "^1.0.3",+ "console-control-strings": "^1.0.0",+ "has-unicode": "^2.0.0",+ "object-assign": "^4.1.0",+ "signal-exit": "^3.0.0",+ "string-width": "^1.0.1",+ "strip-ansi": "^3.0.1",+ "wide-align": "^1.1.0"+ },+ "dependencies": {+ "ansi-regex": {+ "version": "2.1.1",+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz",+ "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8="+ },+ "strip-ansi": {+ "version": "3.0.1",+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz",+ "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=",+ "requires": {+ "ansi-regex": "^2.0.0"+ }+ }+ }+ },+ "get-intrinsic": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.1.tgz",+ "integrity": "sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q==",+ "requires": {+ "function-bind": "^1.1.1",+ "has": "^1.0.3",+ "has-symbols": "^1.0.1"+ }+ },+ "get-orientation": {+ "version": "1.1.2",+ "resolved": "https://registry.npmjs.org/get-orientation/-/get-orientation-1.1.2.tgz",+ "integrity": "sha512-/pViTfifW+gBbh/RnlFYHINvELT9Znt+SYyDKAUL6uV6By019AK/s+i9XP4jSwq7lwP38Fd8HVeTxym3+hkwmQ==",+ "requires": {+ "stream-parser": "^0.3.1"+ }+ },+ "get-stream": {+ "version": "5.2.0",+ "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz",+ "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==",+ "requires": {+ "pump": "^3.0.0"+ }+ },+ "get-symbol-description": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.0.tgz",+ "integrity": "sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==",+ "requires": {+ "call-bind": "^1.0.2",+ "get-intrinsic": "^1.1.1"+ }+ },+ "glob": {+ "version": "7.1.7",+ "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.7.tgz",+ "integrity": "sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ==",+ "dev": true,+ "requires": {+ "fs.realpath": "^1.0.0",+ "inflight": "^1.0.4",+ "inherits": "2",+ "minimatch": "^3.0.4",+ "once": "^1.3.0",+ "path-is-absolute": "^1.0.0"+ }+ },+ "glob-parent": {+ "version": "5.1.2",+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",+ "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",+ "requires": {+ "is-glob": "^4.0.1"+ }+ },+ "glob-to-regexp": {+ "version": "0.4.1",+ "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz",+ "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw=="+ },+ "good-listener": {+ "version": "1.2.2",+ "resolved": "https://registry.npmjs.org/good-listener/-/good-listener-1.2.2.tgz",+ "integrity": "sha1-1TswzfkxPf+33JoNR3CWqm0UXFA=",+ "requires": {+ "delegate": "^3.1.2"+ }+ },+ "got": {+ "version": "11.8.2",+ "resolved": "https://registry.npmjs.org/got/-/got-11.8.2.tgz",+ "integrity": "sha512-D0QywKgIe30ODs+fm8wMZiAcZjypcCodPNuMz5H9Mny7RJ+IjJ10BdmGW7OM7fHXP+O7r6ZwapQ/YQmMSvB0UQ==",+ "requires": {+ "@sindresorhus/is": "^4.0.0",+ "@szmarczak/http-timer": "^4.0.5",+ "@types/cacheable-request": "^6.0.1",+ "@types/responselike": "^1.0.0",+ "cacheable-lookup": "^5.0.3",+ "cacheable-request": "^7.0.1",+ "decompress-response": "^6.0.0",+ "http2-wrapper": "^1.0.0-beta.5.2",+ "lowercase-keys": "^2.0.0",+ "p-cancelable": "^2.0.0",+ "responselike": "^2.0.0"+ }+ },+ "graceful-fs": {+ "version": "4.2.8",+ "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.8.tgz",+ "integrity": "sha512-qkIilPUYcNhJpd33n0GBXTB1MMPp14TxEsEs0pTrsSVucApsYzW5V+Q8Qxhik6KU3evy+qkAAowTByymK0avdg=="+ },+ "gzip-size": {+ "version": "6.0.0",+ "resolved": "https://registry.npmjs.org/gzip-size/-/gzip-size-6.0.0.tgz",+ "integrity": "sha512-ax7ZYomf6jqPTQ4+XCpUGyXKHk5WweS+e05MBO4/y3WJ5RkmPXNKvX+bx1behVILVwr6JSQvZAku021CHPXG3Q==",+ "dev": true,+ "requires": {+ "duplexer": "^0.1.2"+ }+ },+ "has": {+ "version": "1.0.3",+ "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",+ "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==",+ "requires": {+ "function-bind": "^1.1.1"+ }+ },+ "has-bigints": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.1.tgz",+ "integrity": "sha512-LSBS2LjbNBTf6287JEbEzvJgftkF5qFkmCo9hDRpAzKhUOlJ+hx8dd4USs00SgsUNwc4617J9ki5YtEClM2ffA=="+ },+ "has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0="+ },+ "has-symbols": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.2.tgz",+ "integrity": "sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw=="+ },+ "has-tostringtag": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz",+ "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==",+ "requires": {+ "has-symbols": "^1.0.2"+ }+ },+ "has-unicode": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz",+ "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk="+ },+ "hash-base": {+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/hash-base/-/hash-base-3.1.0.tgz",+ "integrity": "sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA==",+ "requires": {+ "inherits": "^2.0.4",+ "readable-stream": "^3.6.0",+ "safe-buffer": "^5.2.0"+ }+ },+ "hash.js": {+ "version": "1.1.7",+ "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz",+ "integrity": "sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==",+ "requires": {+ "inherits": "^2.0.3",+ "minimalistic-assert": "^1.0.1"+ }+ },+ "he": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz",+ "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw=="+ },+ "hex-color-regex": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/hex-color-regex/-/hex-color-regex-1.1.0.tgz",+ "integrity": "sha512-l9sfDFsuqtOqKDsQdqrMRk0U85RZc0RtOR9yPI7mRVOa4FsR/BVnZ0shmQRM96Ji99kYZP/7hn1cedc1+ApsTQ==",+ "dev": true+ },+ "hmac-drbg": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz",+ "integrity": "sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=",+ "requires": {+ "hash.js": "^1.0.3",+ "minimalistic-assert": "^1.0.0",+ "minimalistic-crypto-utils": "^1.0.1"+ }+ },+ "hoist-non-react-statics": {+ "version": "3.3.2",+ "resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz",+ "integrity": "sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==",+ "requires": {+ "react-is": "^16.7.0"+ },+ "dependencies": {+ "react-is": {+ "version": "16.13.1",+ "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz",+ "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ=="+ }+ }+ },+ "hsl-regex": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/hsl-regex/-/hsl-regex-1.0.0.tgz",+ "integrity": "sha1-1JMwx4ntgZ4nakwNJy3/owsY/m4=",+ "dev": true+ },+ "hsla-regex": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/hsla-regex/-/hsla-regex-1.0.0.tgz",+ "integrity": "sha1-wc56MWjIxmFAM6S194d/OyJfnDg=",+ "dev": true+ },+ "html-tags": {+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/html-tags/-/html-tags-3.1.0.tgz",+ "integrity": "sha512-1qYz89hW3lFDEazhjW0yVAV87lw8lVkrJocr72XmBkMKsoSVJCQx3W8BXsC7hO2qAt8BoVjYjtAcZ9perqGnNg==",+ "dev": true+ },+ "http-cache-semantics": {+ "version": "4.1.0",+ "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz",+ "integrity": "sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ=="+ },+ "http-errors": {+ "version": "1.7.3",+ "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.3.tgz",+ "integrity": "sha512-ZTTX0MWrsQ2ZAhA1cejAwDLycFsd7I7nVtnkT3Ol0aqodaKW+0CTZDQ1uBv5whptCnc8e8HeRRJxRs0kmm/Qfw==",+ "requires": {+ "depd": "~1.1.2",+ "inherits": "2.0.4",+ "setprototypeof": "1.1.1",+ "statuses": ">= 1.5.0 < 2",+ "toidentifier": "1.0.0"+ }+ },+ "http2-wrapper": {+ "version": "1.0.3",+ "resolved": "https://registry.npmjs.org/http2-wrapper/-/http2-wrapper-1.0.3.tgz",+ "integrity": "sha512-V+23sDMr12Wnz7iTcDeJr3O6AIxlnvT/bmaAAAP/Xda35C90p9599p0F1eHR/N1KILWSoWVAiOMFjBBXaXSMxg==",+ "requires": {+ "quick-lru": "^5.1.1",+ "resolve-alpn": "^1.0.0"+ }+ },+ "https-browserify": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/https-browserify/-/https-browserify-1.0.0.tgz",+ "integrity": "sha1-7AbBDgo0wPL68Zn3/X/Hj//QPHM="+ },+ "https-proxy-agent": {+ "version": "5.0.0",+ "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.0.tgz",+ "integrity": "sha512-EkYm5BcKUGiduxzSt3Eppko+PiNWNEpa4ySk9vTC6wDsQJW9rHSa+UhGNJoRYp7bz6Ht1eaRIa6QaJqO5rCFbA==",+ "requires": {+ "agent-base": "6",+ "debug": "4"+ },+ "dependencies": {+ "debug": {+ "version": "4.3.2",+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz",+ "integrity": "sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==",+ "requires": {+ "ms": "2.1.2"+ }+ },+ "ms": {+ "version": "2.1.2",+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",+ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="+ }+ }+ },+ "iconv-lite": {+ "version": "0.6.3",+ "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz",+ "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==",+ "requires": {+ "safer-buffer": ">= 2.1.2 < 3.0.0"+ }+ },+ "ieee754": {+ "version": "1.2.1",+ "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz",+ "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA=="+ },+ "image-size": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/image-size/-/image-size-1.0.0.tgz",+ "integrity": "sha512-JLJ6OwBfO1KcA+TvJT+v8gbE6iWbj24LyDNFgFEN0lzegn6cC6a/p3NIDaepMsJjQjlUWqIC7wJv8lBFxPNjcw==",+ "requires": {+ "queue": "6.0.2"+ }+ },+ "immediate": {+ "version": "3.0.6",+ "resolved": "https://registry.npmjs.org/immediate/-/immediate-3.0.6.tgz",+ "integrity": "sha1-nbHb0Pr43m++D13V5Wu2BigN5ps="+ },+ "immutability-helper": {+ "version": "3.1.1",+ "resolved": "https://registry.npmjs.org/immutability-helper/-/immutability-helper-3.1.1.tgz",+ "integrity": "sha512-Q0QaXjPjwIju/28TsugCHNEASwoCcJSyJV3uO1sOIQGI0jKgm9f41Lvz0DZj3n46cNCyAZTsEYoY4C2bVRUzyQ=="+ },+ "import-cwd": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/import-cwd/-/import-cwd-3.0.0.tgz",+ "integrity": "sha512-4pnzH16plW+hgvRECbDWpQl3cqtvSofHWh44met7ESfZ8UZOWWddm8hEyDTqREJ9RbYHY8gi8DqmaelApoOGMg==",+ "dev": true,+ "requires": {+ "import-from": "^3.0.0"+ }+ },+ "import-fresh": {+ "version": "3.3.0",+ "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz",+ "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==",+ "dev": true,+ "requires": {+ "parent-module": "^1.0.0",+ "resolve-from": "^4.0.0"+ }+ },+ "import-from": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/import-from/-/import-from-3.0.0.tgz",+ "integrity": "sha512-CiuXOFFSzkU5x/CR0+z7T91Iht4CXgfCxVOFRhh2Zyhg5wOpWvvDLQUsWl+gcN+QscYBjez8hDCt85O7RLDttQ==",+ "dev": true,+ "requires": {+ "resolve-from": "^5.0.0"+ },+ "dependencies": {+ "resolve-from": {+ "version": "5.0.0",+ "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz",+ "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==",+ "dev": true+ }+ }+ },+ "indent-string": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz",+ "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg=="+ },+ "inflight": {+ "version": "1.0.6",+ "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",+ "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=",+ "dev": true,+ "requires": {+ "once": "^1.3.0",+ "wrappy": "1"+ }+ },+ "inherits": {+ "version": "2.0.4",+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="+ },+ "internal-slot": {+ "version": "1.0.3",+ "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.3.tgz",+ "integrity": "sha512-O0DB1JC/sPyZl7cIo78n5dR7eUSwwpYPiXRhTzNxZVAMUuB8vlnRFyLxdrVToks6XPLVnFfbzaVd5WLjhgg+vA==",+ "requires": {+ "get-intrinsic": "^1.1.0",+ "has": "^1.0.3",+ "side-channel": "^1.0.4"+ }+ },+ "internmap": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/internmap/-/internmap-1.0.1.tgz",+ "integrity": "sha512-lDB5YccMydFBtasVtxnZ3MRBHuaoE8GKsppq+EchKL2U4nK/DmEpPHNH8MZe5HkMtpSiTSOZwfN0tzYjO/lJEw=="+ },+ "invariant": {+ "version": "2.2.4",+ "resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz",+ "integrity": "sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==",+ "requires": {+ "loose-envify": "^1.0.0"+ }+ },+ "is-arguments": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz",+ "integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==",+ "requires": {+ "call-bind": "^1.0.2",+ "has-tostringtag": "^1.0.0"+ }+ },+ "is-arrayish": {+ "version": "0.2.1",+ "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz",+ "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=",+ "dev": true+ },+ "is-bigint": {+ "version": "1.0.4",+ "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz",+ "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==",+ "requires": {+ "has-bigints": "^1.0.1"+ }+ },+ "is-binary-path": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz",+ "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==",+ "requires": {+ "binary-extensions": "^2.0.0"+ }+ },+ "is-boolean-object": {+ "version": "1.1.2",+ "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz",+ "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==",+ "requires": {+ "call-bind": "^1.0.2",+ "has-tostringtag": "^1.0.0"+ }+ },+ "is-buffer": {+ "version": "1.1.6",+ "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz",+ "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w=="+ },+ "is-callable": {+ "version": "1.2.4",+ "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.4.tgz",+ "integrity": "sha512-nsuwtxZfMX67Oryl9LCQ+upnC0Z0BgpwntpS89m1H/TLF0zNfzfLMV/9Wa/6MZsj0acpEjAO0KF1xT6ZdLl95w=="+ },+ "is-color-stop": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/is-color-stop/-/is-color-stop-1.1.0.tgz",+ "integrity": "sha1-z/9HGu5N1cnhWFmPvhKWe1za00U=",+ "dev": true,+ "requires": {+ "css-color-names": "^0.0.4",+ "hex-color-regex": "^1.1.0",+ "hsl-regex": "^1.0.0",+ "hsla-regex": "^1.0.0",+ "rgb-regex": "^1.0.1",+ "rgba-regex": "^1.0.0"+ }+ },+ "is-core-module": {+ "version": "2.6.0",+ "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.6.0.tgz",+ "integrity": "sha512-wShG8vs60jKfPWpF2KZRaAtvt3a20OAn7+IJ6hLPECpSABLcKtFKTTI4ZtH5QcBruBHlq+WsdHWyz0BCZW7svQ==",+ "dev": true,+ "requires": {+ "has": "^1.0.3"+ }+ },+ "is-date-object": {+ "version": "1.0.5",+ "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz",+ "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==",+ "requires": {+ "has-tostringtag": "^1.0.0"+ }+ },+ "is-extglob": {+ "version": "2.1.1",+ "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",+ "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI="+ },+ "is-fullwidth-code-point": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz",+ "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=",+ "requires": {+ "number-is-nan": "^1.0.0"+ }+ },+ "is-generator-function": {+ "version": "1.0.10",+ "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.10.tgz",+ "integrity": "sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==",+ "requires": {+ "has-tostringtag": "^1.0.0"+ }+ },+ "is-glob": {+ "version": "4.0.1",+ "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz",+ "integrity": "sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==",+ "requires": {+ "is-extglob": "^2.1.1"+ }+ },+ "is-nan": {+ "version": "1.3.2",+ "resolved": "https://registry.npmjs.org/is-nan/-/is-nan-1.3.2.tgz",+ "integrity": "sha512-E+zBKpQ2t6MEo1VsonYmluk9NxGrbzpeeLC2xIViuO2EjU2xsXsBPwTr3Ykv9l08UYEVEdWeRZNouaZqF6RN0w==",+ "requires": {+ "call-bind": "^1.0.0",+ "define-properties": "^1.1.3"+ }+ },+ "is-negative-zero": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.1.tgz",+ "integrity": "sha512-2z6JzQvZRa9A2Y7xC6dQQm4FSTSTNWjKIYYTt4246eMTJmIo0Q+ZyOsU66X8lxK1AbB92dFeglPLrhwpeRKO6w=="+ },+ "is-number": {+ "version": "7.0.0",+ "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",+ "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng=="+ },+ "is-number-object": {+ "version": "1.0.6",+ "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.6.tgz",+ "integrity": "sha512-bEVOqiRcvo3zO1+G2lVMy+gkkEm9Yh7cDMRusKKu5ZJKPUYSJwICTKZrNKHA2EbSP0Tu0+6B/emsYNHZyn6K8g==",+ "requires": {+ "has-tostringtag": "^1.0.0"+ }+ },+ "is-regex": {+ "version": "1.1.4",+ "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz",+ "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==",+ "requires": {+ "call-bind": "^1.0.2",+ "has-tostringtag": "^1.0.0"+ }+ },+ "is-retry-allowed": {+ "version": "2.2.0",+ "resolved": "https://registry.npmjs.org/is-retry-allowed/-/is-retry-allowed-2.2.0.tgz",+ "integrity": "sha512-XVm7LOeLpTW4jV19QSH38vkswxoLud8sQ57YwJVTPWdiaI9I8keEhGFpBlslyVsgdQy4Opg8QOLb8YRgsyZiQg=="+ },+ "is-string": {+ "version": "1.0.7",+ "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz",+ "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==",+ "requires": {+ "has-tostringtag": "^1.0.0"+ }+ },+ "is-symbol": {+ "version": "1.0.4",+ "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz",+ "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==",+ "requires": {+ "has-symbols": "^1.0.2"+ }+ },+ "is-typed-array": {+ "version": "1.1.8",+ "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.8.tgz",+ "integrity": "sha512-HqH41TNZq2fgtGT8WHVFVJhBVGuY3AnP3Q36K8JKXUxSxRgk/d+7NjmwG2vo2mYmXK8UYZKu0qH8bVP5gEisjA==",+ "requires": {+ "available-typed-arrays": "^1.0.5",+ "call-bind": "^1.0.2",+ "es-abstract": "^1.18.5",+ "foreach": "^2.0.5",+ "has-tostringtag": "^1.0.0"+ }+ },+ "is-typedarray": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz",+ "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo="+ },+ "isarray": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",+ "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE="+ },+ "jest-worker": {+ "version": "27.0.0-next.5",+ "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-27.0.0-next.5.tgz",+ "integrity": "sha512-mk0umAQ5lT+CaOJ+Qp01N6kz48sJG2kr2n1rX0koqKf6FIygQV0qLOdN9SCYID4IVeSigDOcPeGLozdMLYfb5g==",+ "requires": {+ "@types/node": "*",+ "merge-stream": "^2.0.0",+ "supports-color": "^8.0.0"+ },+ "dependencies": {+ "has-flag": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",+ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ=="+ },+ "supports-color": {+ "version": "8.1.1",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz",+ "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==",+ "requires": {+ "has-flag": "^4.0.0"+ }+ }+ }+ },+ "joi": {+ "version": "17.4.2",+ "resolved": "https://registry.npmjs.org/joi/-/joi-17.4.2.tgz",+ "integrity": "sha512-Lm56PP+n0+Z2A2rfRvsfWVDXGEWjXxatPopkQ8qQ5mxCEhwHG+Ettgg5o98FFaxilOxozoa14cFhrE/hOzh/Nw==",+ "requires": {+ "@hapi/hoek": "^9.0.0",+ "@hapi/topo": "^5.0.0",+ "@sideway/address": "^4.1.0",+ "@sideway/formula": "^3.0.0",+ "@sideway/pinpoint": "^2.0.0"+ }+ },+ "join-component": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/join-component/-/join-component-1.1.0.tgz",+ "integrity": "sha1-uEF7dQZho5K+4sJTfGiyqdSXfNU="+ },+ "jose": {+ "version": "2.0.5",+ "resolved": "https://registry.npmjs.org/jose/-/jose-2.0.5.tgz",+ "integrity": "sha512-BAiDNeDKTMgk4tvD0BbxJ8xHEHBZgpeRZ1zGPPsitSyMgjoMWiLGYAE7H7NpP5h0lPppQajQs871E8NHUrzVPA==",+ "requires": {+ "@panva/asn1.js": "^1.0.0"+ }+ },+ "js-tokens": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",+ "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ=="+ },+ "json-buffer": {+ "version": "3.0.1",+ "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz",+ "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ=="+ },+ "json-parse-better-errors": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz",+ "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==",+ "peer": true+ },+ "json-parse-even-better-errors": {+ "version": "2.3.1",+ "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz",+ "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==",+ "dev": true+ },+ "json-schema-traverse": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz",+ "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug=="+ },+ "json5": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz",+ "integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==",+ "requires": {+ "minimist": "^1.2.0"+ }+ },+ "jsonfile": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz",+ "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==",+ "dev": true,+ "requires": {+ "graceful-fs": "^4.1.6",+ "universalify": "^2.0.0"+ }+ },+ "keyv": {+ "version": "4.0.4",+ "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.0.4.tgz",+ "integrity": "sha512-vqNHbAc8BBsxk+7QBYLW0Y219rWcClspR6WSeoHYKG5mnsSoOH+BL1pWq02DDCVdvvuUny5rkBlzMRzoqc+GIg==",+ "requires": {+ "json-buffer": "3.0.1"+ }+ },+ "lie": {+ "version": "3.1.1",+ "resolved": "https://registry.npmjs.org/lie/-/lie-3.1.1.tgz",+ "integrity": "sha1-mkNrLMd0bKWd56QfpGmz77dr2H4=",+ "requires": {+ "immediate": "~3.0.5"+ }+ },+ "lilconfig": {+ "version": "2.0.3",+ "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-2.0.3.tgz",+ "integrity": "sha512-EHKqr/+ZvdKCifpNrJCKxBTgk5XupZA3y/aCPY9mxfgBzmgh93Mt/WqjjQ38oMxXuvDokaKiM3lAgvSH2sjtHg==",+ "dev": true+ },+ "lines-and-columns": {+ "version": "1.1.6",+ "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.1.6.tgz",+ "integrity": "sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA=",+ "dev": true+ },+ "loader-runner": {+ "version": "4.2.0",+ "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-4.2.0.tgz",+ "integrity": "sha512-92+huvxMvYlMzMt0iIOukcwYBFpkYJdpl2xsZ7LrlayO7E8SOv+JJUEK17B/dJIHAOLMfh2dZZ/Y18WgmGtYNw==",+ "peer": true+ },+ "loader-utils": {+ "version": "1.2.3",+ "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.2.3.tgz",+ "integrity": "sha512-fkpz8ejdnEMG3s37wGL07iSBDg99O9D5yflE9RGNH3hRdx9SOwYfnGYdZOUIZitN8E+E2vkq3MUMYMvPYl5ZZA==",+ "requires": {+ "big.js": "^5.2.2",+ "emojis-list": "^2.0.0",+ "json5": "^1.0.1"+ }+ },+ "localforage": {+ "version": "1.10.0",+ "resolved": "https://registry.npmjs.org/localforage/-/localforage-1.10.0.tgz",+ "integrity": "sha512-14/H1aX7hzBBmmh7sGPd+AOMkkIrHM3Z1PAyGgZigA1H1p5O5ANnMyWzvpAETtG68/dC4pC0ncy3+PPGzXZHPg==",+ "requires": {+ "lie": "3.1.1"+ }+ },+ "locate-path": {+ "version": "5.0.0",+ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz",+ "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==",+ "requires": {+ "p-locate": "^4.1.0"+ }+ },+ "lodash": {+ "version": "4.17.21",+ "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",+ "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg=="+ },+ "lodash.debounce": {+ "version": "4.0.8",+ "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz",+ "integrity": "sha1-gteb/zCmfEAF/9XiUVMArZyk168="+ },+ "lodash.isequal": {+ "version": "4.5.0",+ "resolved": "https://registry.npmjs.org/lodash.isequal/-/lodash.isequal-4.5.0.tgz",+ "integrity": "sha1-QVxEePK8wwEgwizhDtMib30+GOA="+ },+ "lodash.isstring": {+ "version": "4.0.1",+ "resolved": "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz",+ "integrity": "sha1-1SfftUVuynzJu5XV2ur4i6VKVFE="+ },+ "lodash.sortby": {+ "version": "4.7.0",+ "resolved": "https://registry.npmjs.org/lodash.sortby/-/lodash.sortby-4.7.0.tgz",+ "integrity": "sha1-7dFMgk4sycHgsKG0K7UhBRakJDg="+ },+ "lodash.throttle": {+ "version": "4.1.1",+ "resolved": "https://registry.npmjs.org/lodash.throttle/-/lodash.throttle-4.1.1.tgz",+ "integrity": "sha1-wj6RtxAkKscMN/HhzaknTMOb8vQ="+ },+ "lodash.topath": {+ "version": "4.5.2",+ "resolved": "https://registry.npmjs.org/lodash.topath/-/lodash.topath-4.5.2.tgz",+ "integrity": "sha1-NhY1Hzu6YZlKCTGYlmC9AyVP0Ak=",+ "dev": true+ },+ "loose-envify": {+ "version": "1.4.0",+ "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz",+ "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==",+ "requires": {+ "js-tokens": "^3.0.0 || ^4.0.0"+ }+ },+ "lottie-react": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/lottie-react/-/lottie-react-2.1.0.tgz",+ "integrity": "sha512-sHDJb5aeh1letUIWqwidHoHZj07ZOZQoLuUgy0gqt9FB/XiCtAZ2+421Cn+ZkHR7anVvWljKhGgctQCtgFloUA==",+ "requires": {+ "lottie-web": "^5.7.3"+ }+ },+ "lottie-web": {+ "version": "5.7.14",+ "resolved": "https://registry.npmjs.org/lottie-web/-/lottie-web-5.7.14.tgz",+ "integrity": "sha512-J+QEPse7Rws0XvTqRJNtcE8cszb5FWYFHubEK6bgDJtw64/AQJ40aazbWXsWGBM4sm/PgLBLgmmhDU4QpLiieg=="+ },+ "lowercase-keys": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-2.0.0.tgz",+ "integrity": "sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA=="+ },+ "lru_map": {+ "version": "0.3.3",+ "resolved": "https://registry.npmjs.org/lru_map/-/lru_map-0.3.3.tgz",+ "integrity": "sha1-tcg1G5Rky9dQM1p5ZQoOwOVhGN0="+ },+ "lru-cache": {+ "version": "6.0.0",+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",+ "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==",+ "requires": {+ "yallist": "^4.0.0"+ }+ },+ "make-dir": {+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz",+ "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==",+ "requires": {+ "semver": "^6.0.0"+ }+ },+ "make-error": {+ "version": "1.3.6",+ "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz",+ "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw=="+ },+ "markdown-table": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/markdown-table/-/markdown-table-2.0.0.tgz",+ "integrity": "sha512-Ezda85ToJUBhM6WGaG6veasyym+Tbs3cMAw/ZhOPqXiYsr0jgocBV3j3nx+4lk47plLlIqjwuTm/ywVI+zjJ/A==",+ "requires": {+ "repeat-string": "^1.0.0"+ }+ },+ "md5": {+ "version": "2.3.0",+ "resolved": "https://registry.npmjs.org/md5/-/md5-2.3.0.tgz",+ "integrity": "sha512-T1GITYmFaKuO91vxyoQMFETst+O71VUPEU3ze5GNzDm0OWdP8v1ziTaAEPUr/3kLsY3Sftgz242A1SetQiDL7g==",+ "requires": {+ "charenc": "0.0.2",+ "crypt": "0.0.2",+ "is-buffer": "~1.1.6"+ }+ },+ "md5.js": {+ "version": "1.3.5",+ "resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz",+ "integrity": "sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==",+ "requires": {+ "hash-base": "^3.0.0",+ "inherits": "^2.0.1",+ "safe-buffer": "^5.1.2"+ }+ },+ "memoize-one": {+ "version": "5.2.1",+ "resolved": "https://registry.npmjs.org/memoize-one/-/memoize-one-5.2.1.tgz",+ "integrity": "sha512-zYiwtZUcYyXKo/np96AGZAckk+FWWsUdJ3cHGGmld7+AhvcWmQyGCYUh1hc4Q/pkOhb65dQR/pqCyK0cOaHz4Q=="+ },+ "merge-stream": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz",+ "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w=="+ },+ "merge2": {+ "version": "1.4.1",+ "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz",+ "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==",+ "dev": true+ },+ "micromatch": {+ "version": "4.0.4",+ "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.4.tgz",+ "integrity": "sha512-pRmzw/XUcwXGpD9aI9q/0XOwLNygjETJ8y0ao0wdqprrzDa4YnxLcz7fQRZr8voh8V10kGhABbNcHVk5wHgWwg==",+ "dev": true,+ "requires": {+ "braces": "^3.0.1",+ "picomatch": "^2.2.3"+ }+ },+ "miller-rabin": {+ "version": "4.0.1",+ "resolved": "https://registry.npmjs.org/miller-rabin/-/miller-rabin-4.0.1.tgz",+ "integrity": "sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA==",+ "requires": {+ "bn.js": "^4.0.0",+ "brorand": "^1.0.1"+ },+ "dependencies": {+ "bn.js": {+ "version": "4.12.0",+ "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz",+ "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA=="+ }+ }+ },+ "mime": {+ "version": "2.6.0",+ "resolved": "https://registry.npmjs.org/mime/-/mime-2.6.0.tgz",+ "integrity": "sha512-USPkMeET31rOMiarsBNIHZKLGgvKc/LrjofAnBlOttf5ajRvqiRA8QsenbcooctK6d6Ts6aqZXBA+XbkKthiQg==",+ "dev": true+ },+ "mime-db": {+ "version": "1.51.0",+ "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.51.0.tgz",+ "integrity": "sha512-5y8A56jg7XVQx2mbv1lu49NR4dokRnhZYTtL+KGfaa27uq4pSTXkwQkFJl4pkRMyNFz/EtYDSkiiEHx3F7UN6g==",+ "peer": true+ },+ "mime-types": {+ "version": "2.1.34",+ "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.34.tgz",+ "integrity": "sha512-6cP692WwGIs9XXdOO4++N+7qjqv0rqxxVvJ3VHPh/Sc9mVZcQP+ZGhkKiTvWMQRr2tbHkJP/Yn7Y0npb3ZBs4A==",+ "peer": true,+ "requires": {+ "mime-db": "1.51.0"+ }+ },+ "mimic-response": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-1.0.1.tgz",+ "integrity": "sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ=="+ },+ "minimalistic-assert": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz",+ "integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A=="+ },+ "minimalistic-crypto-utils": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz",+ "integrity": "sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo="+ },+ "minimatch": {+ "version": "3.0.4",+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz",+ "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==",+ "dev": true,+ "requires": {+ "brace-expansion": "^1.1.7"+ }+ },+ "minimist": {+ "version": "1.2.5",+ "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz",+ "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw=="+ },+ "mobx": {+ "version": "6.3.3",+ "resolved": "https://registry.npmjs.org/mobx/-/mobx-6.3.3.tgz",+ "integrity": "sha512-JoNU50rO6d1wHwKPJqKq4rmUMbYnI9CsJmBo+Cu4exBYenFvIN77LWrZENpzW6reZPADtXMmB1DicbDSfy8Clw=="+ },+ "mobx-react-lite": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/mobx-react-lite/-/mobx-react-lite-3.2.1.tgz",+ "integrity": "sha512-hwURgfmP2apX3HQrB55V9DN47kuN3C6KlQvI5UIfJRibXma72C/JudcNt2r9dWjAdFMrcZoz1ivvtXMCkJ2aQA==",+ "requires": {}+ },+ "modern-normalize": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/modern-normalize/-/modern-normalize-1.1.0.tgz",+ "integrity": "sha512-2lMlY1Yc1+CUy0gw4H95uNN7vjbpoED7NNRSBHE25nWfLBdmMzFCsPshlzbxHz+gYMcBEUN8V4pU16prcdPSgA==",+ "dev": true+ },+ "monaco-editor": {+ "version": "0.29.1",+ "resolved": "https://registry.npmjs.org/monaco-editor/-/monaco-editor-0.29.1.tgz",+ "integrity": "sha512-rguaEG/zrPQSaKzQB7IfX/PpNa0qxF1FY8ZXRkN4WIl8qZdTQRSRJCtRto7IMcSgrU6H53RXI+fTcywOBC4aVw==",+ "peer": true+ },+ "ms": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",+ "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g="+ },+ "nanoid": {+ "version": "3.1.25",+ "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.1.25.tgz",+ "integrity": "sha512-rdwtIXaXCLFAQbnfqDRnI6jaRHp9fTcYBjtFKE8eezcZ7LuLjhUaQGNeMXf1HmRoCH32CLz6XwX0TtxEOS/A3Q=="+ },+ "native-url": {+ "version": "0.3.4",+ "resolved": "https://registry.npmjs.org/native-url/-/native-url-0.3.4.tgz",+ "integrity": "sha512-6iM8R99ze45ivyH8vybJ7X0yekIcPf5GgLV5K0ENCbmRcaRIDoj37BC8iLEmaaBfqqb8enuZ5p0uhY+lVAbAcA==",+ "requires": {+ "querystring": "^0.2.0"+ }+ },+ "neo-async": {+ "version": "2.6.2",+ "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz",+ "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==",+ "peer": true+ },+ "next": {+ "version": "11.0.1",+ "resolved": "https://registry.npmjs.org/next/-/next-11.0.1.tgz",+ "integrity": "sha512-yR7be7asNbvpVNpi6xxEg28wZ7Gqmj1nOt0sABH9qORmF3+pms2KZ7Cng33oK5nqPIzEEFJD0pp2PCe3/ueMIg==",+ "requires": {+ "@babel/runtime": "7.12.5",+ "@hapi/accept": "5.0.2",+ "@next/env": "11.0.1",+ "@next/polyfill-module": "11.0.1",+ "@next/react-dev-overlay": "11.0.1",+ "@next/react-refresh-utils": "11.0.1",+ "assert": "2.0.0",+ "ast-types": "0.13.2",+ "browserify-zlib": "0.2.0",+ "browserslist": "4.16.6",+ "buffer": "5.6.0",+ "caniuse-lite": "^1.0.30001228",+ "chalk": "2.4.2",+ "chokidar": "3.5.1",+ "constants-browserify": "1.0.0",+ "crypto-browserify": "3.12.0",+ "cssnano-simple": "2.0.0",+ "domain-browser": "4.19.0",+ "encoding": "0.1.13",+ "etag": "1.8.1",+ "find-cache-dir": "3.3.1",+ "get-orientation": "1.1.2",+ "https-browserify": "1.0.0",+ "image-size": "1.0.0",+ "jest-worker": "27.0.0-next.5",+ "native-url": "0.3.4",+ "node-fetch": "2.6.1",+ "node-html-parser": "1.4.9",+ "node-libs-browser": "^2.2.1",+ "os-browserify": "0.3.0",+ "p-limit": "3.1.0",+ "path-browserify": "1.0.1",+ "pnp-webpack-plugin": "1.6.4",+ "postcss": "8.2.13",+ "process": "0.11.10",+ "prop-types": "15.7.2",+ "querystring-es3": "0.2.1",+ "raw-body": "2.4.1",+ "react-is": "17.0.2",+ "react-refresh": "0.8.3",+ "stream-browserify": "3.0.0",+ "stream-http": "3.1.1",+ "string_decoder": "1.3.0",+ "styled-jsx": "3.3.2",+ "timers-browserify": "2.0.12",+ "tty-browserify": "0.0.1",+ "use-subscription": "1.5.1",+ "util": "0.12.3",+ "vm-browserify": "1.1.2",+ "watchpack": "2.1.1"+ },+ "dependencies": {+ "@babel/runtime": {+ "version": "7.12.5",+ "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.12.5.tgz",+ "integrity": "sha512-plcc+hbExy3McchJCEQG3knOsuh3HH+Prx1P6cLIkET/0dLuQDEnrT+s27Axgc9bqfsmNUNHfscgMUdBpC9xfg==",+ "requires": {+ "regenerator-runtime": "^0.13.4"+ }+ },+ "browserslist": {+ "version": "4.16.6",+ "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.16.6.tgz",+ "integrity": "sha512-Wspk/PqO+4W9qp5iUTJsa1B/QrYn1keNCcEP5OvP7WBwT4KaDly0uONYmC6Xa3Z5IqnUgS0KcgLYu1l74x0ZXQ==",+ "requires": {+ "caniuse-lite": "^1.0.30001219",+ "colorette": "^1.2.2",+ "electron-to-chromium": "^1.3.723",+ "escalade": "^3.1.1",+ "node-releases": "^1.1.71"+ }+ },+ "postcss": {+ "version": "8.2.13",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.2.13.tgz",+ "integrity": "sha512-FCE5xLH+hjbzRdpbRb1IMCvPv9yZx2QnDarBEYSN0N0HYk+TcXsEhwdFcFb+SRWOKzKGErhIEbBK2ogyLdTtfQ==",+ "requires": {+ "colorette": "^1.2.2",+ "nanoid": "^3.1.22",+ "source-map": "^0.6.1"+ }+ },+ "source-map": {+ "version": "0.6.1",+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",+ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g=="+ },+ "util": {+ "version": "0.12.3",+ "resolved": "https://registry.npmjs.org/util/-/util-0.12.3.tgz",+ "integrity": "sha512-I8XkoQwE+fPQEhy9v012V+TSdH2kp9ts29i20TaaDUXsg7x/onePbhFJUExBfv/2ay1ZOp/Vsm3nDlmnFGSAog==",+ "requires": {+ "inherits": "^2.0.3",+ "is-arguments": "^1.0.4",+ "is-generator-function": "^1.0.7",+ "is-typed-array": "^1.1.3",+ "safe-buffer": "^5.1.2",+ "which-typed-array": "^1.1.2"+ }+ }+ }+ },+ "next-compose-plugins": {+ "version": "2.2.1",+ "resolved": "https://registry.npmjs.org/next-compose-plugins/-/next-compose-plugins-2.2.1.tgz",+ "integrity": "sha512-OjJ+fV15FXO2uQXQagLD4C0abYErBjyjE0I0FHpOEIB8upw0hg1ldFP6cqHTJBH1cZqy96OeR3u1dJ+Ez2D4Bg=="+ },+ "next-tick": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/next-tick/-/next-tick-1.0.0.tgz",+ "integrity": "sha1-yobR/ogoFpsBICCOPchCS524NCw="+ },+ "node-emoji": {+ "version": "1.11.0",+ "resolved": "https://registry.npmjs.org/node-emoji/-/node-emoji-1.11.0.tgz",+ "integrity": "sha512-wo2DpQkQp7Sjm2A0cq+sN7EHKO6Sl0ctXeBdFZrL9T9+UywORbufTcTZxom8YqpLQt/FqNMUkOpkZrJVYSKD3A==",+ "dev": true,+ "requires": {+ "lodash": "^4.17.21"+ }+ },+ "node-fetch": {+ "version": "2.6.1",+ "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz",+ "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw=="+ },+ "node-gyp-build": {+ "version": "4.3.0",+ "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.3.0.tgz",+ "integrity": "sha512-iWjXZvmboq0ja1pUGULQBexmxq8CV4xBhX7VDOTbL7ZR4FOowwY/VOtRxBN/yKxmdGoIp4j5ysNT4u3S2pDQ3Q=="+ },+ "node-html-parser": {+ "version": "1.4.9",+ "resolved": "https://registry.npmjs.org/node-html-parser/-/node-html-parser-1.4.9.tgz",+ "integrity": "sha512-UVcirFD1Bn0O+TSmloHeHqZZCxHjvtIeGdVdGMhyZ8/PWlEiZaZ5iJzR189yKZr8p0FXN58BUeC7RHRkf/KYGw==",+ "requires": {+ "he": "1.2.0"+ }+ },+ "node-libs-browser": {+ "version": "2.2.1",+ "resolved": "https://registry.npmjs.org/node-libs-browser/-/node-libs-browser-2.2.1.tgz",+ "integrity": "sha512-h/zcD8H9kaDZ9ALUWwlBUDo6TKF8a7qBSCSEGfjTVIYeqsioSKaAX+BN7NgiMGp6iSIXZ3PxgCu8KS3b71YK5Q==",+ "requires": {+ "assert": "^1.1.1",+ "browserify-zlib": "^0.2.0",+ "buffer": "^4.3.0",+ "console-browserify": "^1.1.0",+ "constants-browserify": "^1.0.0",+ "crypto-browserify": "^3.11.0",+ "domain-browser": "^1.1.1",+ "events": "^3.0.0",+ "https-browserify": "^1.0.0",+ "os-browserify": "^0.3.0",+ "path-browserify": "0.0.1",+ "process": "^0.11.10",+ "punycode": "^1.2.4",+ "querystring-es3": "^0.2.0",+ "readable-stream": "^2.3.3",+ "stream-browserify": "^2.0.1",+ "stream-http": "^2.7.2",+ "string_decoder": "^1.0.0",+ "timers-browserify": "^2.0.4",+ "tty-browserify": "0.0.0",+ "url": "^0.11.0",+ "util": "^0.11.0",+ "vm-browserify": "^1.0.1"+ },+ "dependencies": {+ "assert": {+ "version": "1.5.0",+ "resolved": "https://registry.npmjs.org/assert/-/assert-1.5.0.tgz",+ "integrity": "sha512-EDsgawzwoun2CZkCgtxJbv392v4nbk9XDD06zI+kQYoBM/3RBWLlEyJARDOmhAAosBjWACEkKL6S+lIZtcAubA==",+ "requires": {+ "object-assign": "^4.1.1",+ "util": "0.10.3"+ },+ "dependencies": {+ "inherits": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz",+ "integrity": "sha1-sX0I0ya0Qj5Wjv9xn5GwscvfafE="+ },+ "util": {+ "version": "0.10.3",+ "resolved": "https://registry.npmjs.org/util/-/util-0.10.3.tgz",+ "integrity": "sha1-evsa/lCAUkZInj23/g7TeTNqwPk=",+ "requires": {+ "inherits": "2.0.1"+ }+ }+ }+ },+ "buffer": {+ "version": "4.9.2",+ "resolved": "https://registry.npmjs.org/buffer/-/buffer-4.9.2.tgz",+ "integrity": "sha512-xq+q3SRMOxGivLhBNaUdC64hDTQwejJ+H0T/NB1XMtTVEwNTrfFF3gAxiyW0Bu/xWEGhjVKgUcMhCrUy2+uCWg==",+ "requires": {+ "base64-js": "^1.0.2",+ "ieee754": "^1.1.4",+ "isarray": "^1.0.0"+ }+ },+ "domain-browser": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/domain-browser/-/domain-browser-1.2.0.tgz",+ "integrity": "sha512-jnjyiM6eRyZl2H+W8Q/zLMA481hzi0eszAaBUzIVnmYVDBbnLxVNnfu1HgEBvCbL+71FrxMl3E6lpKH7Ge3OXA=="+ },+ "inherits": {+ "version": "2.0.3",+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz",+ "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4="+ },+ "path-browserify": {+ "version": "0.0.1",+ "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-0.0.1.tgz",+ "integrity": "sha512-BapA40NHICOS+USX9SN4tyhq+A2RrN/Ws5F0Z5aMHDp98Fl86lX8Oti8B7uN93L4Ifv4fHOEA+pQw87gmMO/lQ=="+ },+ "punycode": {+ "version": "1.4.1",+ "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz",+ "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4="+ },+ "readable-stream": {+ "version": "2.3.7",+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz",+ "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==",+ "requires": {+ "core-util-is": "~1.0.0",+ "inherits": "~2.0.3",+ "isarray": "~1.0.0",+ "process-nextick-args": "~2.0.0",+ "safe-buffer": "~5.1.1",+ "string_decoder": "~1.1.1",+ "util-deprecate": "~1.0.1"+ }+ },+ "safe-buffer": {+ "version": "5.1.2",+ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",+ "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="+ },+ "stream-browserify": {+ "version": "2.0.2",+ "resolved": "https://registry.npmjs.org/stream-browserify/-/stream-browserify-2.0.2.tgz",+ "integrity": "sha512-nX6hmklHs/gr2FuxYDltq8fJA1GDlxKQCz8O/IM4atRqBH8OORmBNgfvW5gG10GT/qQ9u0CzIvr2X5Pkt6ntqg==",+ "requires": {+ "inherits": "~2.0.1",+ "readable-stream": "^2.0.2"+ }+ },+ "stream-http": {+ "version": "2.8.3",+ "resolved": "https://registry.npmjs.org/stream-http/-/stream-http-2.8.3.tgz",+ "integrity": "sha512-+TSkfINHDo4J+ZobQLWiMouQYB+UVYFttRA94FpEzzJ7ZdqcL4uUUQ7WkdkI4DSozGmgBUE/a47L+38PenXhUw==",+ "requires": {+ "builtin-status-codes": "^3.0.0",+ "inherits": "^2.0.1",+ "readable-stream": "^2.3.6",+ "to-arraybuffer": "^1.0.0",+ "xtend": "^4.0.0"+ }+ },+ "string_decoder": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",+ "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==",+ "requires": {+ "safe-buffer": "~5.1.0"+ }+ },+ "tty-browserify": {+ "version": "0.0.0",+ "resolved": "https://registry.npmjs.org/tty-browserify/-/tty-browserify-0.0.0.tgz",+ "integrity": "sha1-oVe6QC2iTpv5V/mqadUk7tQpAaY="+ },+ "util": {+ "version": "0.11.1",+ "resolved": "https://registry.npmjs.org/util/-/util-0.11.1.tgz",+ "integrity": "sha512-HShAsny+zS2TZfaXxD9tYj4HQGlBezXZMZuM/S5PKLLoZkShZiGk9o5CzukI1LVHZvjdvZ2Sj1aW/Ndn2NB/HQ==",+ "requires": {+ "inherits": "2.0.3"+ }+ }+ }+ },+ "node-releases": {+ "version": "1.1.76",+ "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.76.tgz",+ "integrity": "sha512-9/IECtNr8dXNmPWmFXepT0/7o5eolGesHUa3mtr0KlgnCvnZxwh2qensKL42JJY2vQKC3nIBXetFAqR+PW1CmA=="+ },+ "normalize-path": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",+ "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA=="+ },+ "normalize-range": {+ "version": "0.1.2",+ "resolved": "https://registry.npmjs.org/normalize-range/-/normalize-range-0.1.2.tgz",+ "integrity": "sha1-LRDAa9/TEuqXd2laTShDlFa3WUI=",+ "dev": true+ },+ "normalize-url": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-6.1.0.tgz",+ "integrity": "sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A=="+ },+ "npmlog": {+ "version": "4.1.2",+ "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz",+ "integrity": "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==",+ "requires": {+ "are-we-there-yet": "~1.1.2",+ "console-control-strings": "~1.1.0",+ "gauge": "~2.7.3",+ "set-blocking": "~2.0.0"+ }+ },+ "number-is-nan": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz",+ "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0="+ },+ "object-assign": {+ "version": "4.1.1",+ "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",+ "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM="+ },+ "object-hash": {+ "version": "2.2.0",+ "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-2.2.0.tgz",+ "integrity": "sha512-gScRMn0bS5fH+IuwyIFgnh9zBdo4DV+6GhygmWM9HyNJSgS0hScp1f5vjtm7oIIOiT9trXrShAkLFSc2IqKNgw=="+ },+ "object-inspect": {+ "version": "1.11.0",+ "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.11.0.tgz",+ "integrity": "sha512-jp7ikS6Sd3GxQfZJPyH3cjcbJF6GZPClgdV+EFygjFLQ5FmW/dRUnTd9PQ9k0JhoNDabWFbpF1yCdSWCC6gexg=="+ },+ "object-is": {+ "version": "1.1.5",+ "resolved": "https://registry.npmjs.org/object-is/-/object-is-1.1.5.tgz",+ "integrity": "sha512-3cyDsyHgtmi7I7DfSSI2LDp6SK2lwvtbg0p0R1e0RvTqF5ceGx+K2dfSjm1bKDMVCFEDAQvy+o8c6a7VujOddw==",+ "requires": {+ "call-bind": "^1.0.2",+ "define-properties": "^1.1.3"+ }+ },+ "object-keys": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz",+ "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA=="+ },+ "object.assign": {+ "version": "4.1.2",+ "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.2.tgz",+ "integrity": "sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==",+ "requires": {+ "call-bind": "^1.0.0",+ "define-properties": "^1.1.3",+ "has-symbols": "^1.0.1",+ "object-keys": "^1.1.1"+ }+ },+ "oidc-token-hash": {+ "version": "5.0.1",+ "resolved": "https://registry.npmjs.org/oidc-token-hash/-/oidc-token-hash-5.0.1.tgz",+ "integrity": "sha512-EvoOtz6FIEBzE+9q253HsLCVRiK/0doEJ2HCvvqMQb3dHZrP3WlJKYtJ55CRTw4jmYomzH4wkPuCj/I3ZvpKxQ=="+ },+ "on-headers": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/on-headers/-/on-headers-1.0.2.tgz",+ "integrity": "sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA=="+ },+ "once": {+ "version": "1.4.0",+ "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",+ "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=",+ "requires": {+ "wrappy": "1"+ }+ },+ "openapi-types": {+ "version": "9.3.0",+ "resolved": "https://registry.npmjs.org/openapi-types/-/openapi-types-9.3.0.tgz",+ "integrity": "sha512-sR23YjmuwDSMsQVZDHbV9mPgi0RyniQlqR0AQxTC2/F3cpSjRFMH3CFPjoWvNqhC4OxPkDYNb2l8Mc1Me6D/KQ=="+ },+ "opener": {+ "version": "1.5.2",+ "resolved": "https://registry.npmjs.org/opener/-/opener-1.5.2.tgz",+ "integrity": "sha512-ur5UIdyw5Y7yEj9wLzhqXiy6GZ3Mwx0yGI+5sMn2r0N0v3cKJvUmFH5yPP+WXh9e0xfyzyJX95D8l088DNFj7A==",+ "dev": true+ },+ "openid-client": {+ "version": "4.9.1",+ "resolved": "https://registry.npmjs.org/openid-client/-/openid-client-4.9.1.tgz",+ "integrity": "sha512-DYUF07AHjI3QDKqKbn2F7RqozT4hyi4JvmpodLrq0HHoNP7t/AjeG/uqiBK1/N2PZSAQEThVjDLHSmJN4iqu/w==",+ "requires": {+ "aggregate-error": "^3.1.0",+ "got": "^11.8.0",+ "jose": "^2.0.5",+ "lru-cache": "^6.0.0",+ "make-error": "^1.3.6",+ "object-hash": "^2.0.1",+ "oidc-token-hash": "^5.0.1"+ }+ },+ "os-browserify": {+ "version": "0.3.0",+ "resolved": "https://registry.npmjs.org/os-browserify/-/os-browserify-0.3.0.tgz",+ "integrity": "sha1-hUNzx/XCMVkU/Jv8a9gjj92h7Cc="+ },+ "p-cancelable": {+ "version": "2.1.1",+ "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-2.1.1.tgz",+ "integrity": "sha512-BZOr3nRQHOntUjTrH8+Lh54smKHoHyur8We1V8DSMVrl5A2malOOwuJRnKRDjSnkoeBh4at6BwEnb5I7Jl31wg=="+ },+ "p-finally": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz",+ "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4="+ },+ "p-limit": {+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz",+ "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==",+ "requires": {+ "yocto-queue": "^0.1.0"+ }+ },+ "p-locate": {+ "version": "4.1.0",+ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz",+ "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==",+ "requires": {+ "p-limit": "^2.2.0"+ },+ "dependencies": {+ "p-limit": {+ "version": "2.3.0",+ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz",+ "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==",+ "requires": {+ "p-try": "^2.0.0"+ }+ }+ }+ },+ "p-queue": {+ "version": "6.6.2",+ "resolved": "https://registry.npmjs.org/p-queue/-/p-queue-6.6.2.tgz",+ "integrity": "sha512-RwFpb72c/BhQLEXIZ5K2e+AhgNVmIejGlTgiB9MzZ0e93GRvqZ7uSi0dvRF7/XIXDeNkra2fNHBxTyPDGySpjQ==",+ "requires": {+ "eventemitter3": "^4.0.4",+ "p-timeout": "^3.2.0"+ }+ },+ "p-timeout": {+ "version": "3.2.0",+ "resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-3.2.0.tgz",+ "integrity": "sha512-rhIwUycgwwKcP9yTOOFK/AKsAopjjCakVqLHePO3CC6Mir1Z99xT+R63jZxAT5lFZLa2inS5h+ZS2GvR99/FBg==",+ "requires": {+ "p-finally": "^1.0.0"+ }+ },+ "p-try": {+ "version": "2.2.0",+ "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",+ "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ=="+ },+ "packet-reader": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/packet-reader/-/packet-reader-1.0.0.tgz",+ "integrity": "sha512-HAKu/fG3HpHFO0AA8WE8q2g+gBJaZ9MG7fcKk+IJPLTGAD6Psw4443l+9DGRbOIh3/aXr7Phy0TjilYivJo5XQ=="+ },+ "pako": {+ "version": "1.0.11",+ "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz",+ "integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw=="+ },+ "papaparse": {+ "version": "5.3.1",+ "resolved": "https://registry.npmjs.org/papaparse/-/papaparse-5.3.1.tgz",+ "integrity": "sha512-Dbt2yjLJrCwH2sRqKFFJaN5XgIASO9YOFeFP8rIBRG2Ain8mqk5r1M6DkfvqEVozVcz3r3HaUGw253hA1nLIcA=="+ },+ "parent-module": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",+ "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==",+ "dev": true,+ "requires": {+ "callsites": "^3.0.0"+ }+ },+ "parse-asn1": {+ "version": "5.1.6",+ "resolved": "https://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.6.tgz",+ "integrity": "sha512-RnZRo1EPU6JBnra2vGHj0yhp6ebyjBZpmUCLHWiFhxlzvBCCpAuZ7elsBp1PVAbQN0/04VD/19rfzlBSwLstMw==",+ "requires": {+ "asn1.js": "^5.2.0",+ "browserify-aes": "^1.0.0",+ "evp_bytestokey": "^1.0.0",+ "pbkdf2": "^3.0.3",+ "safe-buffer": "^5.1.1"+ }+ },+ "parse-json": {+ "version": "5.2.0",+ "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz",+ "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==",+ "dev": true,+ "requires": {+ "@babel/code-frame": "^7.0.0",+ "error-ex": "^1.3.1",+ "json-parse-even-better-errors": "^2.3.0",+ "lines-and-columns": "^1.1.6"+ }+ },+ "parse-numeric-range": {+ "version": "1.3.0",+ "resolved": "https://registry.npmjs.org/parse-numeric-range/-/parse-numeric-range-1.3.0.tgz",+ "integrity": "sha512-twN+njEipszzlMJd4ONUYgSfZPDxgHhT9Ahed5uTigpQn90FggW4SA/AIPq/6a149fTbE9qBEcSwE3FAEp6wQQ=="+ },+ "path-browserify": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-1.0.1.tgz",+ "integrity": "sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g=="+ },+ "path-exists": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",+ "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w=="+ },+ "path-is-absolute": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",+ "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=",+ "dev": true+ },+ "path-parse": {+ "version": "1.0.7",+ "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz",+ "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==",+ "dev": true+ },+ "path-to-regexp": {+ "version": "6.2.0",+ "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-6.2.0.tgz",+ "integrity": "sha512-f66KywYG6+43afgE/8j/GoiNyygk/bnoCbps++3ErRKsIYkGGupyv07R2Ok5m9i67Iqc+T2g1eAUGUPzWhYTyg=="+ },+ "path-type": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz",+ "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==",+ "dev": true+ },+ "pbkdf2": {+ "version": "3.1.2",+ "resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.1.2.tgz",+ "integrity": "sha512-iuh7L6jA7JEGu2WxDwtQP1ddOpaJNC4KlDEFfdQajSGgGPNi4OyDc2R7QnbY2bR9QjBVGwgvTdNJZoE7RaxUMA==",+ "requires": {+ "create-hash": "^1.1.2",+ "create-hmac": "^1.1.4",+ "ripemd160": "^2.0.1",+ "safe-buffer": "^5.0.1",+ "sha.js": "^2.4.8"+ }+ },+ "performance-now": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz",+ "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns="+ },+ "pg": {+ "version": "8.7.1",+ "resolved": "https://registry.npmjs.org/pg/-/pg-8.7.1.tgz",+ "integrity": "sha512-7bdYcv7V6U3KAtWjpQJJBww0UEsWuh4yQ/EjNf2HeO/NnvKjpvhEIe/A/TleP6wtmSKnUnghs5A9jUoK6iDdkA==",+ "requires": {+ "buffer-writer": "2.0.0",+ "packet-reader": "1.0.0",+ "pg-connection-string": "^2.5.0",+ "pg-pool": "^3.4.1",+ "pg-protocol": "^1.5.0",+ "pg-types": "^2.1.0",+ "pgpass": "1.x"+ }+ },+ "pg-connection-string": {+ "version": "2.5.0",+ "resolved": "https://registry.npmjs.org/pg-connection-string/-/pg-connection-string-2.5.0.tgz",+ "integrity": "sha512-r5o/V/ORTA6TmUnyWZR9nCj1klXCO2CEKNRlVuJptZe85QuhFayC7WeMic7ndayT5IRIR0S0xFxFi2ousartlQ=="+ },+ "pg-format": {+ "version": "1.0.4",+ "resolved": "https://registry.npmjs.org/pg-format/-/pg-format-1.0.4.tgz",+ "integrity": "sha1-J3NCNsKtP05QZJFaWTNOIAQKgo4="+ },+ "pg-int8": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/pg-int8/-/pg-int8-1.0.1.tgz",+ "integrity": "sha512-WCtabS6t3c8SkpDBUlb1kjOs7l66xsGdKpIPZsg4wR+B3+u9UAum2odSsF9tnvxg80h4ZxLWMy4pRjOsFIqQpw=="+ },+ "pg-pool": {+ "version": "3.4.1",+ "resolved": "https://registry.npmjs.org/pg-pool/-/pg-pool-3.4.1.tgz",+ "integrity": "sha512-TVHxR/gf3MeJRvchgNHxsYsTCHQ+4wm3VIHSS19z8NC0+gioEhq1okDY1sm/TYbfoP6JLFx01s0ShvZ3puP/iQ==",+ "requires": {}+ },+ "pg-protocol": {+ "version": "1.5.0",+ "resolved": "https://registry.npmjs.org/pg-protocol/-/pg-protocol-1.5.0.tgz",+ "integrity": "sha512-muRttij7H8TqRNu/DxrAJQITO4Ac7RmX3Klyr/9mJEOBeIpgnF8f9jAfRz5d3XwQZl5qBjF9gLsUtMPJE0vezQ=="+ },+ "pg-types": {+ "version": "2.2.0",+ "resolved": "https://registry.npmjs.org/pg-types/-/pg-types-2.2.0.tgz",+ "integrity": "sha512-qTAAlrEsl8s4OiEQY69wDvcMIdQN6wdz5ojQiOy6YRMuynxenON0O5oCpJI6lshc6scgAY8qvJ2On/p+CXY0GA==",+ "requires": {+ "pg-int8": "1.0.1",+ "postgres-array": "~2.0.0",+ "postgres-bytea": "~1.0.0",+ "postgres-date": "~1.0.4",+ "postgres-interval": "^1.1.0"+ }+ },+ "pgpass": {+ "version": "1.0.4",+ "resolved": "https://registry.npmjs.org/pgpass/-/pgpass-1.0.4.tgz",+ "integrity": "sha512-YmuA56alyBq7M59vxVBfPJrGSozru8QAdoNlWuW3cz8l+UX3cWge0vTvjKhsSHSJpo3Bom8/Mm6hf0TR5GY0+w==",+ "requires": {+ "split2": "^3.1.1"+ }+ },+ "picocolors": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz",+ "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ=="+ },+ "picomatch": {+ "version": "2.3.0",+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.0.tgz",+ "integrity": "sha512-lY1Q/PiJGC2zOv/z391WOTD+Z02bCgsFfvxoXXf6h7kv9o+WmsmzYqrAwY63sNgOxE4xEdq0WyUnXfKeBrSvYw=="+ },+ "pkg-dir": {+ "version": "4.2.0",+ "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz",+ "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==",+ "requires": {+ "find-up": "^4.0.0"+ }+ },+ "platform": {+ "version": "1.3.6",+ "resolved": "https://registry.npmjs.org/platform/-/platform-1.3.6.tgz",+ "integrity": "sha512-fnWVljUchTro6RiCFvCXBbNhJc2NijN7oIQxbwsyL0buWJPG85v81ehlHI9fXrJsMNgTofEoWIQeClKpgxFLrg=="+ },+ "pnp-webpack-plugin": {+ "version": "1.6.4",+ "resolved": "https://registry.npmjs.org/pnp-webpack-plugin/-/pnp-webpack-plugin-1.6.4.tgz",+ "integrity": "sha512-7Wjy+9E3WwLOEL30D+m8TSTF7qJJUJLONBnwQp0518siuMxUQUbgZwssaFX+QKlZkjHZcw/IpZCt/H0srrntSg==",+ "requires": {+ "ts-pnp": "^1.1.6"+ }+ },+ "postcss": {+ "version": "8.3.6",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.3.6.tgz",+ "integrity": "sha512-wG1cc/JhRgdqB6WHEuyLTedf3KIRuD0hG6ldkFEZNCjRxiC+3i6kkWUUbiJQayP28iwG35cEmAbe98585BYV0A==",+ "requires": {+ "colorette": "^1.2.2",+ "nanoid": "^3.1.23",+ "source-map-js": "^0.6.2"+ }+ },+ "postcss-js": {+ "version": "3.0.3",+ "resolved": "https://registry.npmjs.org/postcss-js/-/postcss-js-3.0.3.tgz",+ "integrity": "sha512-gWnoWQXKFw65Hk/mi2+WTQTHdPD5UJdDXZmX073EY/B3BWnYjO4F4t0VneTCnCGQ5E5GsCdMkzPaTXwl3r5dJw==",+ "dev": true,+ "requires": {+ "camelcase-css": "^2.0.1",+ "postcss": "^8.1.6"+ }+ },+ "postcss-load-config": {+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-3.1.0.tgz",+ "integrity": "sha512-ipM8Ds01ZUophjDTQYSVP70slFSYg3T0/zyfII5vzhN6V57YSxMgG5syXuwi5VtS8wSf3iL30v0uBdoIVx4Q0g==",+ "dev": true,+ "requires": {+ "import-cwd": "^3.0.0",+ "lilconfig": "^2.0.3",+ "yaml": "^1.10.2"+ }+ },+ "postcss-nested": {+ "version": "5.0.6",+ "resolved": "https://registry.npmjs.org/postcss-nested/-/postcss-nested-5.0.6.tgz",+ "integrity": "sha512-rKqm2Fk0KbA8Vt3AdGN0FB9OBOMDVajMG6ZCf/GoHgdxUJ4sBFp0A/uMIRm+MJUdo33YXEtjqIz8u7DAp8B7DA==",+ "dev": true,+ "requires": {+ "postcss-selector-parser": "^6.0.6"+ }+ },+ "postcss-selector-parser": {+ "version": "6.0.6",+ "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.6.tgz",+ "integrity": "sha512-9LXrvaaX3+mcv5xkg5kFwqSzSH1JIObIx51PrndZwlmznwXRfxMddDvo9gve3gVR8ZTKgoFDdWkbRFmEhT4PMg==",+ "dev": true,+ "requires": {+ "cssesc": "^3.0.0",+ "util-deprecate": "^1.0.2"+ }+ },+ "postcss-value-parser": {+ "version": "4.1.0",+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.1.0.tgz",+ "integrity": "sha512-97DXOFbQJhk71ne5/Mt6cOu6yxsSfM0QGQyl0L25Gca4yGWEGJaig7l7gbCX623VqTBNGLRLaVUCnNkcedlRSQ==",+ "dev": true+ },+ "postgres-array": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/postgres-array/-/postgres-array-2.0.0.tgz",+ "integrity": "sha512-VpZrUqU5A69eQyW2c5CA1jtLecCsN2U/bD6VilrFDWq5+5UIEVO7nazS3TEcHf1zuPYO/sqGvUvW62g86RXZuA=="+ },+ "postgres-bytea": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/postgres-bytea/-/postgres-bytea-1.0.0.tgz",+ "integrity": "sha1-AntTPAqokOJtFy1Hz5zOzFIazTU="+ },+ "postgres-date": {+ "version": "1.0.7",+ "resolved": "https://registry.npmjs.org/postgres-date/-/postgres-date-1.0.7.tgz",+ "integrity": "sha512-suDmjLVQg78nMK2UZ454hAG+OAW+HQPZ6n++TNDUX+L0+uUlLywnoxJKDou51Zm+zTCjrCl0Nq6J9C5hP9vK/Q=="+ },+ "postgres-interval": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/postgres-interval/-/postgres-interval-1.2.0.tgz",+ "integrity": "sha512-9ZhXKM/rw350N1ovuWHbGxnGh/SNJ4cnxHiM0rxE4VN41wsg8P8zWn9hv/buK00RP4WvlOyr/RBDiptyxVbkZQ==",+ "requires": {+ "xtend": "^4.0.0"+ }+ },+ "pretty-hrtime": {+ "version": "1.0.3",+ "resolved": "https://registry.npmjs.org/pretty-hrtime/-/pretty-hrtime-1.0.3.tgz",+ "integrity": "sha1-t+PqQkNaTJsnWdmeDyAesZWALuE=",+ "dev": true+ },+ "prism-react-renderer": {+ "version": "1.2.1",+ "resolved": "https://registry.npmjs.org/prism-react-renderer/-/prism-react-renderer-1.2.1.tgz",+ "integrity": "sha512-w23ch4f75V1Tnz8DajsYKvY5lF7H1+WvzvLUcF0paFxkTHSp42RS0H5CttdN2Q8RR3DRGZ9v5xD/h3n8C8kGmg==",+ "requires": {}+ },+ "process": {+ "version": "0.11.10",+ "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz",+ "integrity": "sha1-czIwDoQBYb2j5podHZGn1LwW8YI="+ },+ "process-nextick-args": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz",+ "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag=="+ },+ "progress": {+ "version": "2.0.3",+ "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz",+ "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA=="+ },+ "prop-types": {+ "version": "15.7.2",+ "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.7.2.tgz",+ "integrity": "sha512-8QQikdH7//R2vurIJSutZ1smHYTcLpRWEOlHnzcWHmBYrOGUysKwSsrC89BCiFj3CbrfJ/nXFdJepOVrY1GCHQ==",+ "requires": {+ "loose-envify": "^1.4.0",+ "object-assign": "^4.1.1",+ "react-is": "^16.8.1"+ },+ "dependencies": {+ "react-is": {+ "version": "16.13.1",+ "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz",+ "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ=="+ }+ }+ },+ "proxy-compare": {+ "version": "2.0.2",+ "resolved": "https://registry.npmjs.org/proxy-compare/-/proxy-compare-2.0.2.tgz",+ "integrity": "sha512-3qUXJBariEj3eO90M3Rgqq3+/P5Efl0t/dl9g/1uVzIQmO3M+ql4hvNH3mYdu8H+1zcKv07YvL55tsY74jmH1A=="+ },+ "proxy-from-env": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz",+ "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg=="+ },+ "public-encrypt": {+ "version": "4.0.3",+ "resolved": "https://registry.npmjs.org/public-encrypt/-/public-encrypt-4.0.3.tgz",+ "integrity": "sha512-zVpa8oKZSz5bTMTFClc1fQOnyyEzpl5ozpi1B5YcvBrdohMjH2rfsBtyXcuNuwjsDIXmBYlF2N5FlJYhR29t8Q==",+ "requires": {+ "bn.js": "^4.1.0",+ "browserify-rsa": "^4.0.0",+ "create-hash": "^1.1.0",+ "parse-asn1": "^5.0.0",+ "randombytes": "^2.0.1",+ "safe-buffer": "^5.1.2"+ },+ "dependencies": {+ "bn.js": {+ "version": "4.12.0",+ "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz",+ "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA=="+ }+ }+ },+ "pump": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz",+ "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==",+ "requires": {+ "end-of-stream": "^1.1.0",+ "once": "^1.3.1"+ }+ },+ "punycode": {+ "version": "2.1.1",+ "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz",+ "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A=="+ },+ "purgecss": {+ "version": "4.0.3",+ "resolved": "https://registry.npmjs.org/purgecss/-/purgecss-4.0.3.tgz",+ "integrity": "sha512-PYOIn5ibRIP34PBU9zohUcCI09c7drPJJtTDAc0Q6QlRz2/CHQ8ywGLdE7ZhxU2VTqB7p5wkvj5Qcm05Rz3Jmw==",+ "dev": true,+ "requires": {+ "commander": "^6.0.0",+ "glob": "^7.0.0",+ "postcss": "^8.2.1",+ "postcss-selector-parser": "^6.0.2"+ }+ },+ "querystring": {+ "version": "0.2.1",+ "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.1.tgz",+ "integrity": "sha512-wkvS7mL/JMugcup3/rMitHmd9ecIGd2lhFhK9N3UUQ450h66d1r3Y9nvXzQAW1Lq+wyx61k/1pfKS5KuKiyEbg=="+ },+ "querystring-es3": {+ "version": "0.2.1",+ "resolved": "https://registry.npmjs.org/querystring-es3/-/querystring-es3-0.2.1.tgz",+ "integrity": "sha1-nsYfeQSYdXB9aUFFlv2Qek1xHnM="+ },+ "queue": {+ "version": "6.0.2",+ "resolved": "https://registry.npmjs.org/queue/-/queue-6.0.2.tgz",+ "integrity": "sha512-iHZWu+q3IdFZFX36ro/lKBkSvfkztY5Y7HMiPlOUjhupPcG2JMfst2KKEpu5XndviX/3UhFbRngUPNKtgvtZiA==",+ "requires": {+ "inherits": "~2.0.3"+ }+ },+ "queue-microtask": {+ "version": "1.2.3",+ "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz",+ "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==",+ "dev": true+ },+ "quick-lru": {+ "version": "5.1.1",+ "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-5.1.1.tgz",+ "integrity": "sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA=="+ },+ "raf": {+ "version": "3.4.1",+ "resolved": "https://registry.npmjs.org/raf/-/raf-3.4.1.tgz",+ "integrity": "sha512-Sq4CW4QhwOHE8ucn6J34MqtZCeWFP2aQSmrlroYgqAV1PjStIhJXxYuTgUIfkEk7zTLjmIjLmU5q+fbD1NnOJA==",+ "requires": {+ "performance-now": "^2.1.0"+ }+ },+ "raf-schd": {+ "version": "4.0.3",+ "resolved": "https://registry.npmjs.org/raf-schd/-/raf-schd-4.0.3.tgz",+ "integrity": "sha512-tQkJl2GRWh83ui2DiPTJz9wEiMN20syf+5oKfB03yYP7ioZcJwsIK8FjrtLwH1m7C7e+Tt2yYBlrOpdT+dyeIQ=="+ },+ "randombytes": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz",+ "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==",+ "requires": {+ "safe-buffer": "^5.1.0"+ }+ },+ "randomfill": {+ "version": "1.0.4",+ "resolved": "https://registry.npmjs.org/randomfill/-/randomfill-1.0.4.tgz",+ "integrity": "sha512-87lcbR8+MhcWcUiQ+9e+Rwx8MyR2P7qnt15ynUlbm3TU/fjbgz4GsvfSUDTemtCCtVCqb4ZcEFlyPNTh9bBTLw==",+ "requires": {+ "randombytes": "^2.0.5",+ "safe-buffer": "^5.1.0"+ }+ },+ "raw-body": {+ "version": "2.4.1",+ "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.1.tgz",+ "integrity": "sha512-9WmIKF6mkvA0SLmA2Knm9+qj89e+j1zqgyn8aXGd7+nAduPoqgI9lO57SAZNn/Byzo5P7JhXTyg9PzaJbH73bA==",+ "requires": {+ "bytes": "3.1.0",+ "http-errors": "1.7.3",+ "iconv-lite": "0.4.24",+ "unpipe": "1.0.0"+ },+ "dependencies": {+ "iconv-lite": {+ "version": "0.4.24",+ "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz",+ "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==",+ "requires": {+ "safer-buffer": ">= 2.1.2 < 3"+ }+ }+ }+ },+ "react": {+ "version": "17.0.2",+ "resolved": "https://registry.npmjs.org/react/-/react-17.0.2.tgz",+ "integrity": "sha512-gnhPt75i/dq/z3/6q/0asP78D0u592D5L1pd7M8P+dck6Fu/jJeL6iVVK23fptSUZj8Vjf++7wXA8UNclGQcbA==",+ "requires": {+ "loose-envify": "^1.1.0",+ "object-assign": "^4.1.1"+ }+ },+ "react-beautiful-dnd": {+ "version": "13.1.0",+ "resolved": "https://registry.npmjs.org/react-beautiful-dnd/-/react-beautiful-dnd-13.1.0.tgz",+ "integrity": "sha512-aGvblPZTJowOWUNiwd6tNfEpgkX5OxmpqxHKNW/4VmvZTNTbeiq7bA3bn5T+QSF2uibXB0D1DmJsb1aC/+3cUA==",+ "requires": {+ "@babel/runtime": "^7.9.2",+ "css-box-model": "^1.2.0",+ "memoize-one": "^5.1.1",+ "raf-schd": "^4.0.2",+ "react-redux": "^7.2.0",+ "redux": "^4.0.4",+ "use-memo-one": "^1.1.1"+ }+ },+ "react-contexify": {+ "version": "5.0.0",+ "resolved": "https://registry.npmjs.org/react-contexify/-/react-contexify-5.0.0.tgz",+ "integrity": "sha512-2FIp7lxJ6dtfGr8EZ4uVV5p5TQjd0n2h/JU7PrejNIMiCeZWvSVPFh4lj1ZvjXosglBvP7q5JQQ8yUCdSaMSaw==",+ "requires": {+ "clsx": "^1.1.1"+ }+ },+ "react-csv": {+ "version": "2.0.3",+ "resolved": "https://registry.npmjs.org/react-csv/-/react-csv-2.0.3.tgz",+ "integrity": "sha512-exyAdFLAxtuM4wNwLYrlKyPYLiJ7e0mv9tqPAd3kq+k1CiJFtznevR3yP0icv5q/y200w+lzNgi7TQn1Wrhu0w=="+ },+ "react-dnd": {+ "version": "14.0.3",+ "resolved": "https://registry.npmjs.org/react-dnd/-/react-dnd-14.0.3.tgz",+ "integrity": "sha512-i73Hx5SKfDRdwXe30+CjF/DidiRdt/gwpPN14ajkPR20t/0osnNKFNHg3DLV6RZym+DJ0pO9H5APeMsBWGU3+Q==",+ "requires": {+ "@react-dnd/invariant": "^2.0.0",+ "@react-dnd/shallowequal": "^2.0.0",+ "dnd-core": "14.0.0",+ "fast-deep-equal": "^3.1.3",+ "hoist-non-react-statics": "^3.3.2"+ }+ },+ "react-dnd-html5-backend": {+ "version": "14.0.1",+ "resolved": "https://registry.npmjs.org/react-dnd-html5-backend/-/react-dnd-html5-backend-14.0.1.tgz",+ "integrity": "sha512-ZDmpvFpd1NR4riw/CMbr8C3mgP6ZhsTf0c48a36kw4ZW8emgiugNlAz/qhhZ4/Pz9TO6DZ63sQohUTTl+AWGiA==",+ "requires": {+ "dnd-core": "14.0.0"+ }+ },+ "react-dom": {+ "version": "17.0.2",+ "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-17.0.2.tgz",+ "integrity": "sha512-s4h96KtLDUQlsENhMn1ar8t2bEa+q/YAtj8pPPdIjPDGBDIVNsrD9aXNWqspUe6AzKCIG0C1HZZLqLV7qpOBGA==",+ "requires": {+ "loose-envify": "^1.1.0",+ "object-assign": "^4.1.1",+ "scheduler": "^0.20.2"+ }+ },+ "react-draggable": {+ "version": "4.4.4",+ "resolved": "https://registry.npmjs.org/react-draggable/-/react-draggable-4.4.4.tgz",+ "integrity": "sha512-6e0WdcNLwpBx/YIDpoyd2Xb04PB0elrDrulKUgdrIlwuYvxh5Ok9M+F8cljm8kPXXs43PmMzek9RrB1b7mLMqA==",+ "requires": {+ "clsx": "^1.1.1",+ "prop-types": "^15.6.0"+ }+ },+ "react-from-dom": {+ "version": "0.6.1",+ "resolved": "https://registry.npmjs.org/react-from-dom/-/react-from-dom-0.6.1.tgz",+ "integrity": "sha512-7aAZx7LhRnmR51W5XtmTBYHGFl2n1AdEk1uoXLuzHa1OoGXrxOW/iwLcudvgp6BGX/l4Yh1rtMrIzvhlvbVddg==",+ "requires": {}+ },+ "react-grid-layout": {+ "version": "1.3.0",+ "resolved": "https://registry.npmjs.org/react-grid-layout/-/react-grid-layout-1.3.0.tgz",+ "integrity": "sha512-WqFwybAItXu0AaSt9YL8+9xE5YotIzMcCYE0Q9XBqSKNyShTxPbC0LjObV/tOWZoADNWJ+osseVfRoZsjzwWXg==",+ "requires": {+ "classnames": "2.3.1",+ "lodash.isequal": "^4.0.0",+ "prop-types": "^15.0.0",+ "react-draggable": "^4.0.0",+ "react-resizable": "^3.0.4"+ },+ "dependencies": {+ "classnames": {+ "version": "2.3.1",+ "resolved": "https://registry.npmjs.org/classnames/-/classnames-2.3.1.tgz",+ "integrity": "sha512-OlQdbZ7gLfGarSqxesMesDa5uz7KFbID8Kpq/SxIoNGDqY8lSYs0D+hhtBXhcdB3rcbXArFr7vlHheLk1voeNA=="+ }+ }+ },+ "react-hot-toast": {+ "version": "2.1.1",+ "resolved": "https://registry.npmjs.org/react-hot-toast/-/react-hot-toast-2.1.1.tgz",+ "integrity": "sha512-Odrp4wue0fHh0pOfZt5H+9nWCMtqs3wdlFSzZPp7qsxfzmbE26QmGWIh6hG43CukiPeOjA8WQhBJU8JwtWvWbQ==",+ "requires": {+ "goober": "^2.0.35"+ },+ "dependencies": {+ "csstype": {+ "version": "2.6.18",+ "resolved": "https://registry.npmjs.org/csstype/-/csstype-2.6.18.tgz",+ "integrity": "sha512-RSU6Hyeg14am3Ah4VZEmeX8H7kLwEEirXe6aU2IPfKNvhXwTflK5HQRDNI0ypQXoqmm+QPyG2IaPuQE5zMwSIQ==",+ "peer": true+ },+ "goober": {+ "version": "2.0.41",+ "resolved": "https://registry.npmjs.org/goober/-/goober-2.0.41.tgz",+ "integrity": "sha512-kwjegMT5018zWydhOQlQneCgCtrKJaPsru7TaBWmTYV0nsMeUrM6L6O8JmNYb9UbPMgWcmtf+9p4Y3oJabIH1A==",+ "requires": {}+ }+ }+ },+ "react-inlinesvg": {+ "version": "2.3.0",+ "resolved": "https://registry.npmjs.org/react-inlinesvg/-/react-inlinesvg-2.3.0.tgz",+ "integrity": "sha512-fEGOdDf4k4bcveArbEpj01pJcH8pOCKLxmSj2POFdGvEk5YK0NZVnH6BXpW/PzACHPRsuh1YKAhNZyFnD28oxg==",+ "requires": {+ "exenv": "^1.2.2",+ "react-from-dom": "^0.6.0"+ }+ },+ "react-is": {+ "version": "17.0.2",+ "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz",+ "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w=="+ },+ "react-lifecycles-compat": {+ "version": "3.0.4",+ "resolved": "https://registry.npmjs.org/react-lifecycles-compat/-/react-lifecycles-compat-3.0.4.tgz",+ "integrity": "sha512-fBASbA6LnOU9dOU2eW7aQ8xmYBSXUIWr+UmF9b1efZBazGNO+rcXT/icdKnYm2pTwcRylVUYwW7H1PHfLekVzA=="+ },+ "react-redux": {+ "version": "7.2.6",+ "resolved": "https://registry.npmjs.org/react-redux/-/react-redux-7.2.6.tgz",+ "integrity": "sha512-10RPdsz0UUrRL1NZE0ejTkucnclYSgXp5q+tB5SWx2qeG2ZJQJyymgAhwKy73yiL/13btfB6fPr+rgbMAaZIAQ==",+ "requires": {+ "@babel/runtime": "^7.15.4",+ "@types/react-redux": "^7.1.20",+ "hoist-non-react-statics": "^3.3.2",+ "loose-envify": "^1.4.0",+ "prop-types": "^15.7.2",+ "react-is": "^17.0.2"+ }+ },+ "react-refresh": {+ "version": "0.8.3",+ "resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.8.3.tgz",+ "integrity": "sha512-X8jZHc7nCMjaCqoU+V2I0cOhNW+QMBwSUkeXnTi8IPe6zaRWfn60ZzvFDZqWPfmSJfjub7dDW1SP0jaHWLu/hg=="+ },+ "react-resizable": {+ "version": "3.0.4",+ "resolved": "https://registry.npmjs.org/react-resizable/-/react-resizable-3.0.4.tgz",+ "integrity": "sha512-StnwmiESiamNzdRHbSSvA65b0ZQJ7eVQpPusrSmcpyGKzC0gojhtO62xxH6YOBmepk9dQTBi9yxidL3W4s3EBA==",+ "requires": {+ "prop-types": "15.x",+ "react-draggable": "^4.0.3"+ }+ },+ "react-resize-detector": {+ "version": "6.7.6",+ "resolved": "https://registry.npmjs.org/react-resize-detector/-/react-resize-detector-6.7.6.tgz",+ "integrity": "sha512-/6RZlul1yePSoYJxWxmmgjO320moeLC/khrwpEVIL+D2EjLKhqOwzFv+H8laMbImVj7Zu4FlMa0oA7au3/ChjQ==",+ "requires": {+ "@types/resize-observer-browser": "^0.1.6",+ "lodash.debounce": "^4.0.8",+ "lodash.throttle": "^4.1.1",+ "resize-observer-polyfill": "^1.5.1"+ }+ },+ "react-smooth": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/react-smooth/-/react-smooth-2.0.0.tgz",+ "integrity": "sha512-wK4dBBR6P21otowgMT9toZk+GngMplGS1O5gk+2WSiHEXIrQgDvhR5IIlT74Vtu//qpTcipkgo21dD7a7AUNxw==",+ "requires": {+ "fast-equals": "^2.0.0",+ "raf": "^3.4.0",+ "react-transition-group": "2.9.0"+ }+ },+ "react-split": {+ "version": "2.0.13",+ "resolved": "https://registry.npmjs.org/react-split/-/react-split-2.0.13.tgz",+ "integrity": "sha512-suq/UH4epMu2aF4NBh+imlpUvntsIvU3li9EBBLdxqNtYEg+nY7TGl8Ij65mD1qYyhs3dQhA1Pv3rLXd1s5/lQ==",+ "requires": {+ "prop-types": "^15.5.7",+ "split.js": "^1.6.0"+ }+ },+ "react-tiny-popover": {+ "version": "6.0.10",+ "resolved": "https://registry.npmjs.org/react-tiny-popover/-/react-tiny-popover-6.0.10.tgz",+ "integrity": "sha512-ECMucd701SxWHGa+2YuVvccCxxTjmhomcD0ZYTF+Qmi5qNAj8pdlExFN+k+p1G78QTYIGPGNLocxRb9f6cZ0Mw==",+ "requires": {}+ },+ "react-tracked": {+ "version": "1.7.4",+ "resolved": "https://registry.npmjs.org/react-tracked/-/react-tracked-1.7.4.tgz",+ "integrity": "sha512-iWiH7ZNImKJW5UGZZnEKtoDcdxffMZVxr6LDoMNZOSJKrwMCpYF8RuP9hwtiFjNog2WjF1Zjp2IpPMj5JVAVnA==",+ "requires": {+ "proxy-compare": "2.0.2",+ "use-context-selector": "1.3.7"+ }+ },+ "react-transition-group": {+ "version": "2.9.0",+ "resolved": "https://registry.npmjs.org/react-transition-group/-/react-transition-group-2.9.0.tgz",+ "integrity": "sha512-+HzNTCHpeQyl4MJ/bdE0u6XRMe9+XG/+aL4mCxVN4DnPBQ0/5bfHWPDuOZUzYdMj94daZaZdCCc1Dzt9R/xSSg==",+ "requires": {+ "dom-helpers": "^3.4.0",+ "loose-envify": "^1.4.0",+ "prop-types": "^15.6.2",+ "react-lifecycles-compat": "^3.0.4"+ }+ },+ "react-virtualized-auto-sizer": {+ "version": "1.0.6",+ "resolved": "https://registry.npmjs.org/react-virtualized-auto-sizer/-/react-virtualized-auto-sizer-1.0.6.tgz",+ "integrity": "sha512-7tQ0BmZqfVF6YYEWcIGuoR3OdYe8I/ZFbNclFlGOC3pMqunkYF/oL30NCjSGl9sMEb17AnzixDz98Kqc3N76HQ==",+ "requires": {}+ },+ "react-window": {+ "version": "1.8.6",+ "resolved": "https://registry.npmjs.org/react-window/-/react-window-1.8.6.tgz",+ "integrity": "sha512-8VwEEYyjz6DCnGBsd+MgkD0KJ2/OXFULyDtorIiTz+QzwoP94tBoA7CnbtyXMm+cCeAUER5KJcPtWl9cpKbOBg==",+ "requires": {+ "@babel/runtime": "^7.0.0",+ "memoize-one": ">=3.1.1 <6"+ }+ },+ "react-window-infinite-loader": {+ "version": "1.0.7",+ "resolved": "https://registry.npmjs.org/react-window-infinite-loader/-/react-window-infinite-loader-1.0.7.tgz",+ "integrity": "sha512-wg3LWkUpG21lhv+cZvNy+p0+vtclZw+9nP2vO6T9PKT50EN1cUq37Dq6FzcM38h/c2domE0gsUhb6jHXtGogAA==",+ "requires": {}+ },+ "readable-stream": {+ "version": "3.6.0",+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",+ "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",+ "requires": {+ "inherits": "^2.0.3",+ "string_decoder": "^1.1.1",+ "util-deprecate": "^1.0.1"+ }+ },+ "readdirp": {+ "version": "3.5.0",+ "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.5.0.tgz",+ "integrity": "sha512-cMhu7c/8rdhkHXWsY+osBhfSy0JikwpHK/5+imo+LpeasTF8ouErHrlYkwT0++njiyuDvc7OFY5T3ukvZ8qmFQ==",+ "requires": {+ "picomatch": "^2.2.1"+ }+ },+ "recharts": {+ "version": "2.1.6",+ "resolved": "https://registry.npmjs.org/recharts/-/recharts-2.1.6.tgz",+ "integrity": "sha512-KnRNnCum1hL27DYhUfcdcKUEQkYnda6G+KDN4n/nCiTKp7UzJSgHfFHQvCkBujPi/U98dGd430DA2/8RJpkPlg==",+ "requires": {+ "@types/d3-interpolate": "^2.0.0",+ "@types/d3-scale": "^3.0.0",+ "@types/d3-shape": "^2.0.0",+ "classnames": "^2.2.5",+ "d3-interpolate": "^2.0.0",+ "d3-scale": "^3.0.0",+ "d3-shape": "^2.0.0",+ "eventemitter3": "^4.0.1",+ "lodash": "^4.17.19",+ "react-is": "^16.10.2",+ "react-resize-detector": "^6.6.3",+ "react-smooth": "^2.0.0",+ "recharts-scale": "^0.4.4",+ "reduce-css-calc": "^2.1.8"+ },+ "dependencies": {+ "react-is": {+ "version": "16.13.1",+ "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz",+ "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ=="+ }+ }+ },+ "recharts-scale": {+ "version": "0.4.5",+ "resolved": "https://registry.npmjs.org/recharts-scale/-/recharts-scale-0.4.5.tgz",+ "integrity": "sha512-kivNFO+0OcUNu7jQquLXAxz1FIwZj8nrj+YkOKc5694NbjCvcT6aSZiIzNzd2Kul4o4rTto8QVR9lMNtxD4G1w==",+ "requires": {+ "decimal.js-light": "^2.4.1"+ }+ },+ "reduce-css-calc": {+ "version": "2.1.8",+ "resolved": "https://registry.npmjs.org/reduce-css-calc/-/reduce-css-calc-2.1.8.tgz",+ "integrity": "sha512-8liAVezDmUcH+tdzoEGrhfbGcP7nOV4NkGE3a74+qqvE7nt9i4sKLGBuZNOnpI4WiGksiNPklZxva80061QiPg==",+ "requires": {+ "css-unit-converter": "^1.1.1",+ "postcss-value-parser": "^3.3.0"+ },+ "dependencies": {+ "postcss-value-parser": {+ "version": "3.3.1",+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",+ "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ=="+ }+ }+ },+ "redux": {+ "version": "4.1.1",+ "resolved": "https://registry.npmjs.org/redux/-/redux-4.1.1.tgz",+ "integrity": "sha512-hZQZdDEM25UY2P493kPYuKqviVwZ58lEmGQNeQ+gXa+U0gYPUBf7NKYazbe3m+bs/DzM/ahN12DbF+NG8i0CWw==",+ "requires": {+ "@babel/runtime": "^7.9.2"+ }+ },+ "regenerator-runtime": {+ "version": "0.13.9",+ "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz",+ "integrity": "sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA=="+ },+ "remove-trailing-slash": {+ "version": "0.1.1",+ "resolved": "https://registry.npmjs.org/remove-trailing-slash/-/remove-trailing-slash-0.1.1.tgz",+ "integrity": "sha512-o4S4Qh6L2jpnCy83ysZDau+VORNvnFw07CKSAymkd6ICNVEPisMyzlc00KlvvicsxKck94SEwhDnMNdICzO+tA=="+ },+ "repeat-string": {+ "version": "1.6.1",+ "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz",+ "integrity": "sha1-jcrkcOHIirwtYA//Sndihtp15jc="+ },+ "require-from-string": {+ "version": "2.0.2",+ "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz",+ "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw=="+ },+ "resize-observer-polyfill": {+ "version": "1.5.1",+ "resolved": "https://registry.npmjs.org/resize-observer-polyfill/-/resize-observer-polyfill-1.5.1.tgz",+ "integrity": "sha512-LwZrotdHOo12nQuZlHEmtuXdqGoOD0OhaxopaNFxWzInpEgaLWoVuAMbTzixuosCx2nEG58ngzW3vxdWoxIgdg=="+ },+ "resolve": {+ "version": "1.20.0",+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.20.0.tgz",+ "integrity": "sha512-wENBPt4ySzg4ybFQW2TT1zMQucPK95HSh/nq2CFTZVOGut2+pQvSsgtda4d26YrYcr067wjbmzOG8byDPBX63A==",+ "dev": true,+ "requires": {+ "is-core-module": "^2.2.0",+ "path-parse": "^1.0.6"+ }+ },+ "resolve-alpn": {+ "version": "1.2.1",+ "resolved": "https://registry.npmjs.org/resolve-alpn/-/resolve-alpn-1.2.1.tgz",+ "integrity": "sha512-0a1F4l73/ZFZOakJnQ3FvkJ2+gSTQWz/r2KE5OdDY0TxPm5h4GkqkWWfM47T7HsbnOtcJVEF4epCVy6u7Q3K+g=="+ },+ "resolve-from": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz",+ "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==",+ "dev": true+ },+ "responselike": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/responselike/-/responselike-2.0.0.tgz",+ "integrity": "sha512-xH48u3FTB9VsZw7R+vvgaKeLKzT6jOogbQhEe/jewwnZgzPcnyWui2Av6JpoYZF/91uueC+lqhWqeURw5/qhCw==",+ "requires": {+ "lowercase-keys": "^2.0.0"+ }+ },+ "reusify": {+ "version": "1.0.4",+ "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz",+ "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==",+ "dev": true+ },+ "rgb-regex": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/rgb-regex/-/rgb-regex-1.0.1.tgz",+ "integrity": "sha1-wODWiC3w4jviVKR16O3UGRX+rrE=",+ "dev": true+ },+ "rgba-regex": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/rgba-regex/-/rgba-regex-1.0.0.tgz",+ "integrity": "sha1-QzdOLiyglosO8VI0YLfXMP8i7rM=",+ "dev": true+ },+ "rimraf": {+ "version": "3.0.2",+ "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz",+ "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==",+ "dev": true,+ "requires": {+ "glob": "^7.1.3"+ }+ },+ "ripemd160": {+ "version": "2.0.2",+ "resolved": "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz",+ "integrity": "sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==",+ "requires": {+ "hash-base": "^3.0.0",+ "inherits": "^2.0.1"+ }+ },+ "run-parallel": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz",+ "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==",+ "dev": true,+ "requires": {+ "queue-microtask": "^1.2.2"+ }+ },+ "safe-buffer": {+ "version": "5.2.1",+ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",+ "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ=="+ },+ "safer-buffer": {+ "version": "2.1.2",+ "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",+ "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="+ },+ "sass": {+ "version": "1.43.4",+ "resolved": "https://registry.npmjs.org/sass/-/sass-1.43.4.tgz",+ "integrity": "sha512-/ptG7KE9lxpGSYiXn7Ar+lKOv37xfWsZRtFYal2QHNigyVQDx685VFT/h7ejVr+R8w7H4tmUgtulsKl5YpveOg==",+ "requires": {+ "chokidar": ">=3.0.0 <4.0.0"+ }+ },+ "scheduler": {+ "version": "0.20.2",+ "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.20.2.tgz",+ "integrity": "sha512-2eWfGgAqqWFGqtdMmcL5zCMK1U8KlXv8SQFGglL3CEtd0aDVDWgeF/YoCmvln55m5zSk3J/20hTaSBeSObsQDQ==",+ "requires": {+ "loose-envify": "^1.1.0",+ "object-assign": "^4.1.1"+ }+ },+ "schema-utils": {+ "version": "3.1.1",+ "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.1.tgz",+ "integrity": "sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==",+ "peer": true,+ "requires": {+ "@types/json-schema": "^7.0.8",+ "ajv": "^6.12.5",+ "ajv-keywords": "^3.5.2"+ },+ "dependencies": {+ "ajv": {+ "version": "6.12.6",+ "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz",+ "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==",+ "peer": true,+ "requires": {+ "fast-deep-equal": "^3.1.1",+ "fast-json-stable-stringify": "^2.0.0",+ "json-schema-traverse": "^0.4.1",+ "uri-js": "^4.2.2"+ }+ },+ "ajv-keywords": {+ "version": "3.5.2",+ "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz",+ "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==",+ "peer": true,+ "requires": {}+ },+ "json-schema-traverse": {+ "version": "0.4.1",+ "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",+ "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",+ "peer": true+ }+ }+ },+ "select": {+ "version": "1.1.2",+ "resolved": "https://registry.npmjs.org/select/-/select-1.1.2.tgz",+ "integrity": "sha1-DnNQrN7ICxEIUoeG7B1EGNEbOW0="+ },+ "semver": {+ "version": "6.3.0",+ "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",+ "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw=="+ },+ "serialize-javascript": {+ "version": "6.0.0",+ "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.0.tgz",+ "integrity": "sha512-Qr3TosvguFt8ePWqsvRfrKyQXIiW+nGbYpy8XK24NQHE83caxWt+mIymTT19DGFbNWNLfEwsrkSmN64lVWB9ag==",+ "peer": true,+ "requires": {+ "randombytes": "^2.1.0"+ }+ },+ "set-blocking": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz",+ "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc="+ },+ "setimmediate": {+ "version": "1.0.5",+ "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz",+ "integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU="+ },+ "setprototypeof": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz",+ "integrity": "sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw=="+ },+ "sha.js": {+ "version": "2.4.11",+ "resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz",+ "integrity": "sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==",+ "requires": {+ "inherits": "^2.0.1",+ "safe-buffer": "^5.0.1"+ }+ },+ "shell-quote": {+ "version": "1.7.2",+ "resolved": "https://registry.npmjs.org/shell-quote/-/shell-quote-1.7.2.tgz",+ "integrity": "sha512-mRz/m/JVscCrkMyPqHc/bczi3OQHkLTqXHEFu0zDhK/qfv3UcOA4SVmRCLmos4bhjr9ekVQubj/R7waKapmiQg=="+ },+ "side-channel": {+ "version": "1.0.4",+ "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz",+ "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==",+ "requires": {+ "call-bind": "^1.0.0",+ "get-intrinsic": "^1.0.2",+ "object-inspect": "^1.9.0"+ }+ },+ "signal-exit": {+ "version": "3.0.5",+ "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.5.tgz",+ "integrity": "sha512-KWcOiKeQj6ZyXx7zq4YxSMgHRlod4czeBQZrPb8OKcohcqAXShm7E20kEMle9WBt26hFcAf0qLOcp5zmY7kOqQ=="+ },+ "simple-swizzle": {+ "version": "0.2.2",+ "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz",+ "integrity": "sha1-pNprY1/8zMoz9w0Xy5JZLeleVXo=",+ "dev": true,+ "requires": {+ "is-arrayish": "^0.3.1"+ },+ "dependencies": {+ "is-arrayish": {+ "version": "0.3.2",+ "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz",+ "integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==",+ "dev": true+ }+ }+ },+ "sirv": {+ "version": "1.0.18",+ "resolved": "https://registry.npmjs.org/sirv/-/sirv-1.0.18.tgz",+ "integrity": "sha512-f2AOPogZmXgJ9Ma2M22ZEhc1dNtRIzcEkiflMFeVTRq+OViOZMvH1IPMVOwrKaxpSaHioBJiDR0SluRqGa7atA==",+ "dev": true,+ "requires": {+ "@polka/url": "^1.0.0-next.20",+ "mime": "^2.3.1",+ "totalist": "^1.0.0"+ }+ },+ "source-map": {+ "version": "0.8.0-beta.0",+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.8.0-beta.0.tgz",+ "integrity": "sha512-2ymg6oRBpebeZi9UUNsgQ89bhx01TcTkmNTGnNO88imTmbSgy4nfujrgVEFKWpMTEGA11EDkTt7mqObTPdigIA==",+ "requires": {+ "whatwg-url": "^7.0.0"+ }+ },+ "source-map-js": {+ "version": "0.6.2",+ "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-0.6.2.tgz",+ "integrity": "sha512-/3GptzWzu0+0MBQFrDKzw/DvvMTUORvgY6k6jd/VS6iCR4RDTKWH6v6WPwQoUO8667uQEf9Oe38DxAYWY5F/Ug=="+ },+ "source-map-support": {+ "version": "0.5.20",+ "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.20.tgz",+ "integrity": "sha512-n1lZZ8Ve4ksRqizaBQgxXDgKwttHDhyfQjA6YZZn8+AroHbsIz+JjwxQDxbp+7y5OYCI8t1Yk7etjD9CRd2hIw==",+ "peer": true,+ "requires": {+ "buffer-from": "^1.0.0",+ "source-map": "^0.6.0"+ },+ "dependencies": {+ "source-map": {+ "version": "0.6.1",+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",+ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",+ "peer": true+ }+ }+ },+ "split.js": {+ "version": "1.6.4",+ "resolved": "https://registry.npmjs.org/split.js/-/split.js-1.6.4.tgz",+ "integrity": "sha512-kYmQZprRJrF1IOjg/E+gdBEsKFv5kbgUE6RJVJZvrIzTOK/IHzKSqIeiJnWs7IP5D9TnpTQ2CbanuDuIWcyDUQ=="+ },+ "split2": {+ "version": "3.2.2",+ "resolved": "https://registry.npmjs.org/split2/-/split2-3.2.2.tgz",+ "integrity": "sha512-9NThjpgZnifTkJpzTZ7Eue85S49QwpNhZTq6GRJwObb6jnLFNGB7Qm73V5HewTROPyxD0C29xqmaI68bQtV+hg==",+ "requires": {+ "readable-stream": "^3.0.0"+ }+ },+ "sqlstring": {+ "version": "2.3.2",+ "resolved": "https://registry.npmjs.org/sqlstring/-/sqlstring-2.3.2.tgz",+ "integrity": "sha512-vF4ZbYdKS8OnoJAWBmMxCQDkiEBkGQYU7UZPtL8flbDRSNkhaXvRJ279ZtI6M+zDaQovVU4tuRgzK5fVhvFAhg=="+ },+ "stacktrace-parser": {+ "version": "0.1.10",+ "resolved": "https://registry.npmjs.org/stacktrace-parser/-/stacktrace-parser-0.1.10.tgz",+ "integrity": "sha512-KJP1OCML99+8fhOHxwwzyWrlUuVX5GQ0ZpJTd1DFXhdkrvg1szxfHhawXUZ3g9TkXORQd4/WG68jMlQZ2p8wlg==",+ "requires": {+ "type-fest": "^0.7.1"+ }+ },+ "state-local": {+ "version": "1.0.7",+ "resolved": "https://registry.npmjs.org/state-local/-/state-local-1.0.7.tgz",+ "integrity": "sha512-HTEHMNieakEnoe33shBYcZ7NX83ACUjCu8c40iOGEZsngj9zRnkqS9j1pqQPXwobB0ZcVTk27REb7COQ0UR59w=="+ },+ "statuses": {+ "version": "1.5.0",+ "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz",+ "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow="+ },+ "stream-browserify": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/stream-browserify/-/stream-browserify-3.0.0.tgz",+ "integrity": "sha512-H73RAHsVBapbim0tU2JwwOiXUj+fikfiaoYAKHF3VJfA0pe2BCzkhAHBlLG6REzE+2WNZcxOXjK7lkso+9euLA==",+ "requires": {+ "inherits": "~2.0.4",+ "readable-stream": "^3.5.0"+ }+ },+ "stream-http": {+ "version": "3.1.1",+ "resolved": "https://registry.npmjs.org/stream-http/-/stream-http-3.1.1.tgz",+ "integrity": "sha512-S7OqaYu0EkFpgeGFb/NPOoPLxFko7TPqtEeFg5DXPB4v/KETHG0Ln6fRFrNezoelpaDKmycEmmZ81cC9DAwgYg==",+ "requires": {+ "builtin-status-codes": "^3.0.0",+ "inherits": "^2.0.4",+ "readable-stream": "^3.6.0",+ "xtend": "^4.0.2"+ }+ },+ "stream-parser": {+ "version": "0.3.1",+ "resolved": "https://registry.npmjs.org/stream-parser/-/stream-parser-0.3.1.tgz",+ "integrity": "sha1-FhhUhpRCACGhGC/wrxkRwSl2F3M=",+ "requires": {+ "debug": "2"+ }+ },+ "string_decoder": {+ "version": "1.3.0",+ "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz",+ "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==",+ "requires": {+ "safe-buffer": "~5.2.0"+ }+ },+ "string-hash": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/string-hash/-/string-hash-1.1.3.tgz",+ "integrity": "sha1-6Kr8CsGFW0Zmkp7X3RJ1311sgRs="+ },+ "string-width": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz",+ "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=",+ "requires": {+ "code-point-at": "^1.0.0",+ "is-fullwidth-code-point": "^1.0.0",+ "strip-ansi": "^3.0.0"+ },+ "dependencies": {+ "ansi-regex": {+ "version": "2.1.1",+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz",+ "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8="+ },+ "strip-ansi": {+ "version": "3.0.1",+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz",+ "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=",+ "requires": {+ "ansi-regex": "^2.0.0"+ }+ }+ }+ },+ "string.prototype.trimend": {+ "version": "1.0.4",+ "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.4.tgz",+ "integrity": "sha512-y9xCjw1P23Awk8EvTpcyL2NIr1j7wJ39f+k6lvRnSMz+mz9CGz9NYPelDk42kOz6+ql8xjfK8oYzy3jAP5QU5A==",+ "requires": {+ "call-bind": "^1.0.2",+ "define-properties": "^1.1.3"+ }+ },+ "string.prototype.trimstart": {+ "version": "1.0.4",+ "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.4.tgz",+ "integrity": "sha512-jh6e984OBfvxS50tdY2nRZnoC5/mLFKOREQfw8t5yytkoUsJRNxvI/E39qu1sD0OtWI3OC0XgKSmcWwziwYuZw==",+ "requires": {+ "call-bind": "^1.0.2",+ "define-properties": "^1.1.3"+ }+ },+ "strip-ansi": {+ "version": "6.0.0",+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz",+ "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==",+ "requires": {+ "ansi-regex": "^5.0.0"+ }+ },+ "styled-jsx": {+ "version": "3.3.2",+ "resolved": "https://registry.npmjs.org/styled-jsx/-/styled-jsx-3.3.2.tgz",+ "integrity": "sha512-daAkGd5mqhbBhLd6jYAjYBa9LpxYCzsgo/f6qzPdFxVB8yoGbhxvzQgkC0pfmCVvW3JuAEBn0UzFLBfkHVZG1g==",+ "requires": {+ "@babel/types": "7.8.3",+ "babel-plugin-syntax-jsx": "6.18.0",+ "convert-source-map": "1.7.0",+ "loader-utils": "1.2.3",+ "source-map": "0.7.3",+ "string-hash": "1.1.3",+ "stylis": "3.5.4",+ "stylis-rule-sheet": "0.0.10"+ },+ "dependencies": {+ "source-map": {+ "version": "0.7.3",+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz",+ "integrity": "sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ=="+ }+ }+ },+ "stylis": {+ "version": "3.5.4",+ "resolved": "https://registry.npmjs.org/stylis/-/stylis-3.5.4.tgz",+ "integrity": "sha512-8/3pSmthWM7lsPBKv7NXkzn2Uc9W7NotcwGNpJaa3k7WMM1XDCA4MgT5k/8BIexd5ydZdboXtU90XH9Ec4Bv/Q=="+ },+ "stylis-rule-sheet": {+ "version": "0.0.10",+ "resolved": "https://registry.npmjs.org/stylis-rule-sheet/-/stylis-rule-sheet-0.0.10.tgz",+ "integrity": "sha512-nTbZoaqoBnmK+ptANthb10ZRZOGC+EmTLLUxeYIuHNkEKcmKgXX1XWKkUBT2Ac4es3NybooPe0SmvKdhKJZAuw==",+ "requires": {}+ },+ "supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "requires": {+ "has-flag": "^3.0.0"+ }+ },+ "swr": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/swr/-/swr-1.0.1.tgz",+ "integrity": "sha512-EPQAxSjoD4IaM49rpRHK0q+/NzcwoT8c0/Ylu/u3/6mFj/CWnQVjNJ0MV2Iuw/U+EJSd2TX5czdAwKPYZIG0YA==",+ "requires": {+ "dequal": "2.0.2"+ }+ },+ "tailwindcss": {+ "version": "2.2.15",+ "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-2.2.15.tgz",+ "integrity": "sha512-WgV41xTMbnSoTNMNnJvShQZ+8GmY86DmXTrCgnsveNZJdlybfwCItV8kAqjYmU49YiFr+ofzmT1JlAKajBZboQ==",+ "dev": true,+ "requires": {+ "arg": "^5.0.1",+ "bytes": "^3.0.0",+ "chalk": "^4.1.2",+ "chokidar": "^3.5.2",+ "color": "^4.0.1",+ "cosmiconfig": "^7.0.1",+ "detective": "^5.2.0",+ "didyoumean": "^1.2.2",+ "dlv": "^1.1.3",+ "fast-glob": "^3.2.7",+ "fs-extra": "^10.0.0",+ "glob-parent": "^6.0.1",+ "html-tags": "^3.1.0",+ "is-color-stop": "^1.1.0",+ "is-glob": "^4.0.1",+ "lodash": "^4.17.21",+ "lodash.topath": "^4.5.2",+ "modern-normalize": "^1.1.0",+ "node-emoji": "^1.11.0",+ "normalize-path": "^3.0.0",+ "object-hash": "^2.2.0",+ "postcss-js": "^3.0.3",+ "postcss-load-config": "^3.1.0",+ "postcss-nested": "5.0.6",+ "postcss-selector-parser": "^6.0.6",+ "postcss-value-parser": "^4.1.0",+ "pretty-hrtime": "^1.0.3",+ "purgecss": "^4.0.3",+ "quick-lru": "^5.1.1",+ "reduce-css-calc": "^2.1.8",+ "resolve": "^1.20.0",+ "tmp": "^0.2.1"+ },+ "dependencies": {+ "ansi-styles": {+ "version": "4.3.0",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",+ "dev": true,+ "requires": {+ "color-convert": "^2.0.1"+ }+ },+ "chalk": {+ "version": "4.1.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",+ "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",+ "dev": true,+ "requires": {+ "ansi-styles": "^4.1.0",+ "supports-color": "^7.1.0"+ }+ },+ "chokidar": {+ "version": "3.5.2",+ "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.2.tgz",+ "integrity": "sha512-ekGhOnNVPgT77r4K/U3GDhu+FQ2S8TnK/s2KbIGXi0SZWuwkZ2QNyfWdZW+TVfn84DpEP7rLeCt2UI6bJ8GwbQ==",+ "dev": true,+ "requires": {+ "anymatch": "~3.1.2",+ "braces": "~3.0.2",+ "fsevents": "~2.3.2",+ "glob-parent": "~5.1.2",+ "is-binary-path": "~2.1.0",+ "is-glob": "~4.0.1",+ "normalize-path": "~3.0.0",+ "readdirp": "~3.6.0"+ },+ "dependencies": {+ "glob-parent": {+ "version": "5.1.2",+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",+ "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",+ "dev": true,+ "requires": {+ "is-glob": "^4.0.1"+ }+ }+ }+ },+ "color-convert": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",+ "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",+ "dev": true,+ "requires": {+ "color-name": "~1.1.4"+ }+ },+ "color-name": {+ "version": "1.1.4",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",+ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",+ "dev": true+ },+ "glob-parent": {+ "version": "6.0.1",+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.1.tgz",+ "integrity": "sha512-kEVjS71mQazDBHKcsq4E9u/vUzaLcw1A8EtUeydawvIWQCJM0qQ08G1H7/XTjFUulla6XQiDOG6MXSaG0HDKog==",+ "dev": true,+ "requires": {+ "is-glob": "^4.0.1"+ }+ },+ "has-flag": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",+ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",+ "dev": true+ },+ "readdirp": {+ "version": "3.6.0",+ "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz",+ "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==",+ "dev": true,+ "requires": {+ "picomatch": "^2.2.1"+ }+ },+ "supports-color": {+ "version": "7.2.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",+ "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",+ "dev": true,+ "requires": {+ "has-flag": "^4.0.0"+ }+ }+ }+ },+ "tapable": {+ "version": "2.2.1",+ "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz",+ "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==",+ "peer": true+ },+ "terser-webpack-plugin": {+ "version": "5.2.5",+ "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.2.5.tgz",+ "integrity": "sha512-3luOVHku5l0QBeYS8r4CdHYWEGMmIj3H1U64jgkdZzECcSOJAyJ9TjuqcQZvw1Y+4AOBN9SeYJPJmFn2cM4/2g==",+ "peer": true,+ "requires": {+ "jest-worker": "^27.0.6",+ "schema-utils": "^3.1.1",+ "serialize-javascript": "^6.0.0",+ "source-map": "^0.6.1",+ "terser": "^5.7.2"+ },+ "dependencies": {+ "acorn": {+ "version": "8.5.0",+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.5.0.tgz",+ "integrity": "sha512-yXbYeFy+jUuYd3/CDcg2NkIYE991XYX/bje7LmjJigUciaeO1JR4XxXgCIV1/Zc/dRuFEyw1L0pbA+qynJkW5Q==",+ "optional": true,+ "peer": true+ },+ "commander": {+ "version": "2.20.3",+ "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz",+ "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==",+ "peer": true+ },+ "has-flag": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",+ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",+ "peer": true+ },+ "jest-worker": {+ "version": "27.3.1",+ "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-27.3.1.tgz",+ "integrity": "sha512-ks3WCzsiZaOPJl/oMsDjaf0TRiSv7ctNgs0FqRr2nARsovz6AWWy4oLElwcquGSz692DzgZQrCLScPNs5YlC4g==",+ "peer": true,+ "requires": {+ "@types/node": "*",+ "merge-stream": "^2.0.0",+ "supports-color": "^8.0.0"+ }+ },+ "source-map": {+ "version": "0.6.1",+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",+ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",+ "peer": true+ },+ "supports-color": {+ "version": "8.1.1",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz",+ "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==",+ "peer": true,+ "requires": {+ "has-flag": "^4.0.0"+ }+ },+ "terser": {+ "version": "5.10.0",+ "resolved": "https://registry.npmjs.org/terser/-/terser-5.10.0.tgz",+ "integrity": "sha512-AMmF99DMfEDiRJfxfY5jj5wNH/bYO09cniSqhfoyxc8sFoYIgkJy86G04UoZU5VjlpnplVu0K6Tx6E9b5+DlHA==",+ "peer": true,+ "requires": {+ "commander": "^2.20.0",+ "source-map": "~0.7.2",+ "source-map-support": "~0.5.20"+ },+ "dependencies": {+ "source-map": {+ "version": "0.7.3",+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz",+ "integrity": "sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==",+ "peer": true+ }+ }+ }+ }+ },+ "timers-browserify": {+ "version": "2.0.12",+ "resolved": "https://registry.npmjs.org/timers-browserify/-/timers-browserify-2.0.12.tgz",+ "integrity": "sha512-9phl76Cqm6FhSX9Xe1ZUAMLtm1BLkKj2Qd5ApyWkXzsMRaA7dgr81kf4wJmQf/hAvg8EEyJxDo3du/0KlhPiKQ==",+ "requires": {+ "setimmediate": "^1.0.4"+ }+ },+ "tiny-emitter": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/tiny-emitter/-/tiny-emitter-2.1.0.tgz",+ "integrity": "sha512-NB6Dk1A9xgQPMoGqC5CVXn123gWyte215ONT5Pp5a0yt4nlEoO1ZWeCwpncaekPHXO60i47ihFnZPiRPjRMq4Q=="+ },+ "tiny-invariant": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/tiny-invariant/-/tiny-invariant-1.1.0.tgz",+ "integrity": "sha512-ytxQvrb1cPc9WBEI/HSeYYoGD0kWnGEOR8RY6KomWLBVhqz0RgTwVO9dLrGz7dC+nN9llyI7OKAgRq8Vq4ZBSw=="+ },+ "tmp": {+ "version": "0.2.1",+ "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.1.tgz",+ "integrity": "sha512-76SUhtfqR2Ijn+xllcI5P1oyannHNHByD80W1q447gU3mp9G9PSpGdWmjUOHRDPiHYacIk66W7ubDTuPF3BEtQ==",+ "dev": true,+ "requires": {+ "rimraf": "^3.0.0"+ }+ },+ "to-arraybuffer": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/to-arraybuffer/-/to-arraybuffer-1.0.1.tgz",+ "integrity": "sha1-fSKbH8xjfkZsoIEYCDanqr/4P0M="+ },+ "to-fast-properties": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz",+ "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4="+ },+ "to-regex-range": {+ "version": "5.0.1",+ "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",+ "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",+ "requires": {+ "is-number": "^7.0.0"+ }+ },+ "toidentifier": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz",+ "integrity": "sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw=="+ },+ "totalist": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/totalist/-/totalist-1.1.0.tgz",+ "integrity": "sha512-gduQwd1rOdDMGxFG1gEvhV88Oirdo2p+KjoYFU7k2g+i7n6AFFbDQ5kMPUsW0pNbfQsB/cwXvT1i4Bue0s9g5g==",+ "dev": true+ },+ "tr46": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/tr46/-/tr46-1.0.1.tgz",+ "integrity": "sha1-qLE/1r/SSJUZZ0zN5VujaTtwbQk=",+ "requires": {+ "punycode": "^2.1.0"+ }+ },+ "ts-pnp": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/ts-pnp/-/ts-pnp-1.2.0.tgz",+ "integrity": "sha512-csd+vJOb/gkzvcCHgTGSChYpy5f1/XKNsmvBGO4JXS+z1v2HobugDz4s1IeFXM3wZB44uczs+eazB5Q/ccdhQw=="+ },+ "tslib": {+ "version": "2.3.1",+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.1.tgz",+ "integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw=="+ },+ "tty-browserify": {+ "version": "0.0.1",+ "resolved": "https://registry.npmjs.org/tty-browserify/-/tty-browserify-0.0.1.tgz",+ "integrity": "sha512-C3TaO7K81YvjCgQH9Q1S3R3P3BtN3RIM8n+OvX4il1K1zgE8ZhI0op7kClgkxtutIE8hQrcrHBXvIheqKUUCxw=="+ },+ "type": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/type/-/type-1.2.0.tgz",+ "integrity": "sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg=="+ },+ "type-fest": {+ "version": "0.7.1",+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.7.1.tgz",+ "integrity": "sha512-Ne2YiiGN8bmrmJJEuTWTLJR32nh/JdL1+PSicowtNb0WFpn59GK8/lfD61bVtzguz7b3PBt74nxpv/Pw5po5Rg=="+ },+ "typedarray-to-buffer": {+ "version": "3.1.5",+ "resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz",+ "integrity": "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==",+ "requires": {+ "is-typedarray": "^1.0.0"+ }+ },+ "typescript": {+ "version": "4.3.4",+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.3.4.tgz",+ "integrity": "sha512-uauPG7XZn9F/mo+7MrsRjyvbxFpzemRjKEZXS4AK83oP2KKOJPvb+9cO/gmnv8arWZvhnjVOXz7B49m1l0e9Ew==",+ "dev": true+ },+ "unbox-primitive": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.1.tgz",+ "integrity": "sha512-tZU/3NqK3dA5gpE1KtyiJUrEB0lxnGkMFHptJ7q6ewdZ8s12QrODwNbhIJStmJkd1QDXa1NRA8aF2A1zk/Ypyw==",+ "requires": {+ "function-bind": "^1.1.1",+ "has-bigints": "^1.0.1",+ "has-symbols": "^1.0.2",+ "which-boxed-primitive": "^1.0.2"+ }+ },+ "uniforms": {+ "version": "3.6.2",+ "resolved": "https://registry.npmjs.org/uniforms/-/uniforms-3.6.2.tgz",+ "integrity": "sha512-3mPd7xRkL5MHdV18z/+xYDayCMr4Ed675FFOQG7bPWQ1sHXMoM3YGhx/rz3h8sqWKyOetbPeQKiHnCSWq1AxgQ==",+ "requires": {+ "invariant": "^2.0.0",+ "lodash": "^4.0.0",+ "tslib": "^2.2.0"+ }+ },+ "uniforms-bootstrap4": {+ "version": "3.6.2",+ "resolved": "https://registry.npmjs.org/uniforms-bootstrap4/-/uniforms-bootstrap4-3.6.2.tgz",+ "integrity": "sha512-rdQClzTs171OLV/cxT5Ggl5fhx0cteVrOWVs6Jgbk3Wl1LUMBrZCynwz5TLVvM+Ayj7F47/DjoKYREF/HOE/5Q==",+ "requires": {+ "classnames": "^2.0.0",+ "invariant": "^2.0.0",+ "lodash": "^4.0.0",+ "tslib": "^2.2.0",+ "uniforms": "^3.6.2",+ "warning": "^4.0.0"+ }+ },+ "uniforms-bridge-json-schema": {+ "version": "3.6.2",+ "resolved": "https://registry.npmjs.org/uniforms-bridge-json-schema/-/uniforms-bridge-json-schema-3.6.2.tgz",+ "integrity": "sha512-NI9qfFpImxsljw+k17D/QEAQwKlQHVtJlTVRlcMI00pHf3bx+3Kg2E3f/b5OLHKiM0eK3xF1hldBU0zpopuw3g==",+ "requires": {+ "invariant": "^2.0.0",+ "lodash": "^4.0.0",+ "tslib": "^2.2.0",+ "uniforms": "^3.6.2"+ }+ },+ "universalify": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz",+ "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==",+ "dev": true+ },+ "unpipe": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz",+ "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw="+ },+ "uri-js": {+ "version": "4.4.1",+ "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz",+ "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==",+ "requires": {+ "punycode": "^2.1.0"+ }+ },+ "url": {+ "version": "0.11.0",+ "resolved": "https://registry.npmjs.org/url/-/url-0.11.0.tgz",+ "integrity": "sha1-ODjpfPxgUh63PFJajlW/3Z4uKPE=",+ "requires": {+ "punycode": "1.3.2",+ "querystring": "0.2.0"+ },+ "dependencies": {+ "punycode": {+ "version": "1.3.2",+ "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz",+ "integrity": "sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0="+ },+ "querystring": {+ "version": "0.2.0",+ "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz",+ "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA="+ }+ }+ },+ "url-join": {+ "version": "4.0.1",+ "resolved": "https://registry.npmjs.org/url-join/-/url-join-4.0.1.tgz",+ "integrity": "sha512-jk1+QP6ZJqyOiuEI9AEWQfju/nB2Pw466kbA0LEZljHwKeMgd9WrAEgEGxjPDD2+TNbbb37rTyhEfrCXfuKXnA=="+ },+ "use-context-selector": {+ "version": "1.3.7",+ "resolved": "https://registry.npmjs.org/use-context-selector/-/use-context-selector-1.3.7.tgz",+ "integrity": "sha512-O94hcN9UDAPTC4Fsm3p6Og5PVlhTEeKqxJX3HuBbVSuevOSPLDZxowFUmx49/fnu9jpgY83Nd3TALJVDRtYzdQ==",+ "requires": {}+ },+ "use-memo-one": {+ "version": "1.1.2",+ "resolved": "https://registry.npmjs.org/use-memo-one/-/use-memo-one-1.1.2.tgz",+ "integrity": "sha512-u2qFKtxLsia/r8qG0ZKkbytbztzRb317XCkT7yP8wxL0tZ/CzK2G+WWie5vWvpyeP7+YoPIwbJoIHJ4Ba4k0oQ==",+ "requires": {}+ },+ "use-subscription": {+ "version": "1.5.1",+ "resolved": "https://registry.npmjs.org/use-subscription/-/use-subscription-1.5.1.tgz",+ "integrity": "sha512-Xv2a1P/yReAjAbhylMfFplFKj9GssgTwN7RlcTxBujFQcloStWNDQdc4g4NRWH9xS4i/FDk04vQBptAXoF3VcA==",+ "requires": {+ "object-assign": "^4.1.1"+ }+ },+ "utf-8-validate": {+ "version": "5.0.7",+ "resolved": "https://registry.npmjs.org/utf-8-validate/-/utf-8-validate-5.0.7.tgz",+ "integrity": "sha512-vLt1O5Pp+flcArHGIyKEQq883nBt8nN8tVBcoL0qUXj2XT1n7p70yGIq2VK98I5FdZ1YHc0wk/koOnHjnXWk1Q==",+ "requires": {+ "node-gyp-build": "^4.3.0"+ }+ },+ "util": {+ "version": "0.12.4",+ "resolved": "https://registry.npmjs.org/util/-/util-0.12.4.tgz",+ "integrity": "sha512-bxZ9qtSlGUWSOy9Qa9Xgk11kSslpuZwaxCg4sNIDj6FLucDab2JxnHwyNTCpHMtK1MjoQiWQ6DiUMZYbSrO+Sw==",+ "requires": {+ "inherits": "^2.0.3",+ "is-arguments": "^1.0.4",+ "is-generator-function": "^1.0.7",+ "is-typed-array": "^1.1.3",+ "safe-buffer": "^5.1.2",+ "which-typed-array": "^1.1.2"+ }+ },+ "util-deprecate": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",+ "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8="+ },+ "uuid": {+ "version": "3.4.0",+ "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz",+ "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A=="+ },+ "vm-browserify": {+ "version": "1.1.2",+ "resolved": "https://registry.npmjs.org/vm-browserify/-/vm-browserify-1.1.2.tgz",+ "integrity": "sha512-2ham8XPWTONajOR0ohOKOHXkm3+gaBmGut3SRuu75xLd/RRaY6vqgh8NBYYk7+RW3u5AtzPQZG8F10LHkl0lAQ=="+ },+ "warning": {+ "version": "4.0.3",+ "resolved": "https://registry.npmjs.org/warning/-/warning-4.0.3.tgz",+ "integrity": "sha512-rpJyN222KWIvHJ/F53XSZv0Zl/accqHR8et1kpaMTD/fLCRxtV8iX8czMzY7sVZupTI3zcUTg8eycS2kNF9l6w==",+ "requires": {+ "loose-envify": "^1.0.0"+ }+ },+ "watchpack": {+ "version": "2.1.1",+ "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.1.1.tgz",+ "integrity": "sha512-Oo7LXCmc1eE1AjyuSBmtC3+Wy4HcV8PxWh2kP6fOl8yTlNS7r0K9l1ao2lrrUza7V39Y3D/BbJgY8VeSlc5JKw==",+ "requires": {+ "glob-to-regexp": "^0.4.1",+ "graceful-fs": "^4.1.2"+ }+ },+ "webidl-conversions": {+ "version": "4.0.2",+ "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-4.0.2.tgz",+ "integrity": "sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg=="+ },+ "webpack": {+ "version": "5.64.1",+ "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.64.1.tgz",+ "integrity": "sha512-b4FHmRgaaAjP+aVOVz41a9Qa5SmkUPQ+u8FntTQ1roPHahSComB6rXnLwc976VhUY4CqTaLu5mCswuHiNhOfVw==",+ "peer": true,+ "requires": {+ "@types/eslint-scope": "^3.7.0",+ "@types/estree": "^0.0.50",+ "@webassemblyjs/ast": "1.11.1",+ "@webassemblyjs/wasm-edit": "1.11.1",+ "@webassemblyjs/wasm-parser": "1.11.1",+ "acorn": "^8.4.1",+ "acorn-import-assertions": "^1.7.6",+ "browserslist": "^4.14.5",+ "chrome-trace-event": "^1.0.2",+ "enhanced-resolve": "^5.8.3",+ "es-module-lexer": "^0.9.0",+ "eslint-scope": "5.1.1",+ "events": "^3.2.0",+ "glob-to-regexp": "^0.4.1",+ "graceful-fs": "^4.2.4",+ "json-parse-better-errors": "^1.0.2",+ "loader-runner": "^4.2.0",+ "mime-types": "^2.1.27",+ "neo-async": "^2.6.2",+ "schema-utils": "^3.1.0",+ "tapable": "^2.1.1",+ "terser-webpack-plugin": "^5.1.3",+ "watchpack": "^2.2.0",+ "webpack-sources": "^3.2.2"+ },+ "dependencies": {+ "acorn": {+ "version": "8.5.0",+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.5.0.tgz",+ "integrity": "sha512-yXbYeFy+jUuYd3/CDcg2NkIYE991XYX/bje7LmjJigUciaeO1JR4XxXgCIV1/Zc/dRuFEyw1L0pbA+qynJkW5Q==",+ "peer": true+ },+ "acorn-import-assertions": {+ "version": "1.8.0",+ "resolved": "https://registry.npmjs.org/acorn-import-assertions/-/acorn-import-assertions-1.8.0.tgz",+ "integrity": "sha512-m7VZ3jwz4eK6A4Vtt8Ew1/mNbP24u0FhdyfA7fSvnJR6LMdfOYnmuIrrJAgrYfYJ10F/otaHTtrtrtmHdMNzEw==",+ "peer": true,+ "requires": {}+ },+ "watchpack": {+ "version": "2.2.0",+ "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.2.0.tgz",+ "integrity": "sha512-up4YAn/XHgZHIxFBVCdlMiWDj6WaLKpwVeGQk2I5thdYxF/KmF0aaz6TfJZ/hfl1h/XlcDr7k1KH7ThDagpFaA==",+ "peer": true,+ "requires": {+ "glob-to-regexp": "^0.4.1",+ "graceful-fs": "^4.1.2"+ }+ }+ }+ },+ "webpack-bundle-analyzer": {+ "version": "4.3.0",+ "resolved": "https://registry.npmjs.org/webpack-bundle-analyzer/-/webpack-bundle-analyzer-4.3.0.tgz",+ "integrity": "sha512-J3TPm54bPARx6QG8z4cKBszahnUglcv70+N+8gUqv2I5KOFHJbzBiLx+pAp606so0X004fxM7hqRu10MLjJifA==",+ "dev": true,+ "requires": {+ "acorn": "^8.0.4",+ "acorn-walk": "^8.0.0",+ "chalk": "^4.1.0",+ "commander": "^6.2.0",+ "gzip-size": "^6.0.0",+ "lodash": "^4.17.20",+ "opener": "^1.5.2",+ "sirv": "^1.0.7",+ "ws": "^7.3.1"+ },+ "dependencies": {+ "acorn": {+ "version": "8.6.0",+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.6.0.tgz",+ "integrity": "sha512-U1riIR+lBSNi3IbxtaHOIKdH8sLFv3NYfNv8sg7ZsNhcfl4HF2++BfqqrNAxoCLQW1iiylOj76ecnaUxz+z9yw==",+ "dev": true+ },+ "acorn-walk": {+ "version": "8.2.0",+ "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.2.0.tgz",+ "integrity": "sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==",+ "dev": true+ },+ "ansi-styles": {+ "version": "4.3.0",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",+ "dev": true,+ "requires": {+ "color-convert": "^2.0.1"+ }+ },+ "chalk": {+ "version": "4.1.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",+ "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",+ "dev": true,+ "requires": {+ "ansi-styles": "^4.1.0",+ "supports-color": "^7.1.0"+ }+ },+ "color-convert": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",+ "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",+ "dev": true,+ "requires": {+ "color-name": "~1.1.4"+ }+ },+ "color-name": {+ "version": "1.1.4",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",+ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",+ "dev": true+ },+ "has-flag": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",+ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",+ "dev": true+ },+ "supports-color": {+ "version": "7.2.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",+ "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",+ "dev": true,+ "requires": {+ "has-flag": "^4.0.0"+ }+ }+ }+ },+ "webpack-sources": {+ "version": "3.2.2",+ "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-3.2.2.tgz",+ "integrity": "sha512-cp5qdmHnu5T8wRg2G3vZZHoJPN14aqQ89SyQ11NpGH5zEMDCclt49rzo+MaRazk7/UeILhAI+/sEtcM+7Fr0nw==",+ "peer": true+ },+ "websocket": {+ "version": "1.0.34",+ "resolved": "https://registry.npmjs.org/websocket/-/websocket-1.0.34.tgz",+ "integrity": "sha512-PRDso2sGwF6kM75QykIesBijKSVceR6jL2G8NGYyq2XrItNC2P5/qL5XeR056GhA+Ly7JMFvJb9I312mJfmqnQ==",+ "requires": {+ "bufferutil": "^4.0.1",+ "debug": "^2.2.0",+ "es5-ext": "^0.10.50",+ "typedarray-to-buffer": "^3.1.5",+ "utf-8-validate": "^5.0.2",+ "yaeti": "^0.0.6"+ }+ },+ "whatwg-url": {+ "version": "7.1.0",+ "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-7.1.0.tgz",+ "integrity": "sha512-WUu7Rg1DroM7oQvGWfOiAK21n74Gg+T4elXEQYkOhtyLeWiJFoOGLXPKI/9gzIie9CtwVLm8wtw6YJdKyxSjeg==",+ "requires": {+ "lodash.sortby": "^4.7.0",+ "tr46": "^1.0.1",+ "webidl-conversions": "^4.0.2"+ }+ },+ "which-boxed-primitive": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz",+ "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==",+ "requires": {+ "is-bigint": "^1.0.1",+ "is-boolean-object": "^1.1.0",+ "is-number-object": "^1.0.4",+ "is-string": "^1.0.5",+ "is-symbol": "^1.0.3"+ }+ },+ "which-typed-array": {+ "version": "1.1.7",+ "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.7.tgz",+ "integrity": "sha512-vjxaB4nfDqwKI0ws7wZpxIlde1XrLX5uB0ZjpfshgmapJMD7jJWhZI+yToJTqaFByF0eNBcYxbjmCzoRP7CfEw==",+ "requires": {+ "available-typed-arrays": "^1.0.5",+ "call-bind": "^1.0.2",+ "es-abstract": "^1.18.5",+ "foreach": "^2.0.5",+ "has-tostringtag": "^1.0.0",+ "is-typed-array": "^1.1.7"+ }+ },+ "wide-align": {+ "version": "1.1.5",+ "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.5.tgz",+ "integrity": "sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg==",+ "requires": {+ "string-width": "^1.0.2 || 2 || 3 || 4"+ }+ },+ "wrappy": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",+ "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="+ },+ "ws": {+ "version": "7.5.5",+ "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.5.tgz",+ "integrity": "sha512-BAkMFcAzl8as1G/hArkxOxq3G7pjUqQ3gzYbLL0/5zNkph70e+lCoxBGnm6AW1+/aiNeV4fnKqZ8m4GZewmH2w==",+ "dev": true,+ "requires": {}+ },+ "xtend": {+ "version": "4.0.2",+ "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz",+ "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ=="+ },+ "yaeti": {+ "version": "0.0.6",+ "resolved": "https://registry.npmjs.org/yaeti/-/yaeti-0.0.6.tgz",+ "integrity": "sha1-8m9ITXJoTPQr7ft2lwqhYI+/lXc="+ },+ "yallist": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",+ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A=="+ },+ "yaml": {+ "version": "1.10.2",+ "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz",+ "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==",+ "dev": true+ },+ "yocto-queue": {+ "version": "0.1.0",+ "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz",+ "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q=="+ },+ "zxcvbn": {+ "version": "4.4.2",+ "resolved": "https://registry.npmjs.org/zxcvbn/-/zxcvbn-4.4.2.tgz",+ "integrity": "sha1-KOwXzwl0PtyrBW3dixsGJizHPDA="+ }+ }+}diff --git a/studio/package.json b/studio/package.jsonnew file mode 100644index 00000000000..383a1a4f135--- /dev/null+++ b/studio/package.json@@ -0,0 +1,82 @@+{+ "name": "studio",+ "version": "0.0.1",+ "private": true,+ "scripts": {+ "dev": "next dev -p 8082",+ "build": "next build",+ "start": "next start",+ "deploy:staging": "VERCEL_ORG_ID=team_E6KJ1W561hMTjon1QSwOh0WO VERCEL_PROJECT_ID=QmcmhbiAtCMFTAHCuGgQscNbke4TzgWULECctNcKmxWCoT vercel --prod -A .vercel/staging.json"+ },+ "dependencies": {+ "@auth0/nextjs-auth0": "^1.6.1",+ "@headlessui/react": "^1.4.1",+ "@monaco-editor/react": "^4.3.1",+ "@radix-ui/react-portal": "^0.1.1",+ "@sentry/browser": "^6.15.0",+ "@sentry/nextjs": "^6.15.0",+ "@supabase/grid": "^2.3.5",+ "@supabase/postgres-meta": "^0.26.1",+ "@supabase/react-data-grid": "^7.1.0-beta.7",+ "@supabase/supabase-js": "^1.27.0",+ "@supabase/ui": "^0.35.0",+ "ajv": "^8.6.3",+ "analytics-node": "^3.5.0",+ "clipboard": "^2.0.8",+ "configcat-js": "^5.6.0",+ "crypto-js": "^4.1.1",+ "dayjs": "^1.10.7",+ "lodash": "^4.17.21",+ "lottie-react": "^2.1.0",+ "markdown-table": "=2.0.0",+ "mobx": "^6.3.2",+ "mobx-react-lite": "^3.2.0",+ "next": "11.0.1",+ "next-compose-plugins": "^2.2.1",+ "openapi-types": "^9.1.0",+ "papaparse": "^5.3.1",+ "parse-numeric-range": "^1.3.0",+ "path-to-regexp": "^6.2.0",+ "prism-react-renderer": "^1.2.1",+ "react": "^17.0.2",+ "react-beautiful-dnd": "^13.1.0",+ "react-csv": "^2.0.3",+ "react-dom": "^17.0.2",+ "react-grid-layout": "^1.3.0",+ "react-hot-toast": "^2.1.1",+ "react-inlinesvg": "^2.3.0",+ "react-split": "^2.0.13",+ "react-virtualized-auto-sizer": "^1.0.6",+ "react-window": "^1.8.6",+ "react-window-infinite-loader": "^1.0.7",+ "recharts": "^2.1.6",+ "sass": "^1.43.4",+ "semver": "^6.3.0",+ "sqlstring": "^2.3.2",+ "swr": "^1.0.1",+ "uniforms-bootstrap4": "^3.6.2",+ "uniforms-bridge-json-schema": "^3.6.2",+ "zxcvbn": "^4.4.2"+ },+ "devDependencies": {+ "@next/bundle-analyzer": "^12.0.4",+ "@types/crypto-js": "^4.0.2",+ "@types/lodash": "^4.14.172",+ "@types/markdown-table": "^3.0.0",+ "@types/papaparse": "^5.3.1",+ "@types/react": "17.0.11",+ "@types/react-beautiful-dnd": "^13.1.2",+ "@types/react-csv": "^1.1.2",+ "@types/react-grid-layout": "^1.3.0",+ "@types/react-virtualized-auto-sizer": "^1.0.1",+ "@types/react-window": "^1.8.5",+ "@types/react-window-infinite-loader": "^1.0.5",+ "@types/semver": "^7.3.9",+ "@types/sqlstring": "^2.3.0",+ "@types/zxcvbn": "^4.4.1",+ "autoprefixer": "^10.2.6",+ "postcss": "^8.3.5",+ "tailwindcss": "^2.2.4",+ "typescript": "4.3.4"+ }+}diff --git a/studio/pages/404.tsx b/studio/pages/404.tsxnew file mode 100644index 00000000000..710fe1b1035--- /dev/null+++ b/studio/pages/404.tsx@@ -0,0 +1,73 @@+import { NextPage } from 'next'+import Image from 'next/image'+import { useEffect, useState } from 'react'+import Link from 'next/link'+import { Button, Typography } from '@supabase/ui'++import { useStore } from 'hooks'+import { API_URL } from 'lib/constants'++const Error404: NextPage = ({}) => {+ const { ui } = useStore()+ const { theme } = ui++ const [show404, setShow404] = useState<boolean>(false)++ useEffect(() => {+ setTimeout(() => {+ setShow404(true)+ }, 500)+ }, [])++ return (+ <div className="w-full h-screen relative flex flex-col items-center justify-center mx-auto relative">+ <div className="absolute top-0 w-full max-w-7xl mx-auto pt-6 px-8 sm:px-6 lg:px-8">+ <nav className="relative flex items-center justify-between sm:h-10">+ <div className="flex items-center flex-grow flex-shrink-0 lg:flex-grow-0">+ <div className="flex items-center justify-between w-full md:w-auto">+ <a href="/">+ <Image+ src={theme == 'dark' ? '/img/supabase-dark.svg' : '/img/supabase-light.svg'}+ alt=""+ height={24}+ width={120}+ />+ </a>+ </div>+ </div>+ </nav>+ </div>+ <div className="absolute">+ <Typography.Title+ className={`filter transition opacity-[5%] duration-200 ${+ show404 ? 'blur-sm' : 'blur-none'+ }`}+ style={{ fontSize: '28rem' }}+ >+ 404+ </Typography.Title>+ </div>+ <div+ className={`transition flex flex-col space-y-6 items-center justify-center ${+ show404 ? 'opacity-100' : 'opacity-0'+ }`}+ >+ <div className="w-[320px] flex flex-col items-center justify-center space-y-3">+ <Typography.Title level={3}>Looking for something? 🔍</Typography.Title>+ <Typography.Text className="text-center">+ We couldn't find the page that you're looking for!+ </Typography.Text>+ </div>+ <div className="flex items-center space-x-4">+ <Link href="/">+ <a>+ <Button>Head back</Button>+ </a>+ </Link>+ </div>+ </div>+ </div>+ )+}++export default Error404diff --git a/studio/pages/500.tsx b/studio/pages/500.tsxnew file mode 100644index 00000000000..03ac6231660--- /dev/null+++ b/studio/pages/500.tsx@@ -0,0 +1,54 @@+import { NextPage } from 'next'+import Link from 'next/link'+import Image from 'next/image'+import { Button, Typography } from '@supabase/ui'+import { observer } from 'mobx-react-lite'++import { useStore } from 'hooks'++const Error500: NextPage = ({}) => {+ const { ui } = useStore()+ const { theme } = ui++ return (+ <div className="w-full h-full relative flex flex-col space-y-6 items-center justify-center mx-auto">+ <div className="absolute top-0 w-full max-w-7xl mx-auto pt-6 px-8 sm:px-6 lg:px-8">+ <nav className="relative flex items-center justify-between sm:h-10">+ <div className="flex items-center flex-grow flex-shrink-0 lg:flex-grow-0">+ <div className="flex items-center justify-between w-full md:w-auto">+ <a href="/">+ <Image+ src={theme == 'dark' ? '/img/supabase-dark.svg' : '/img/supabase-light.svg'}+ alt=""+ height={24}+ width={120}+ />+ </a>+ </div>+ </div>+ </nav>+ </div>+ <div className="w-[320px] flex flex-col items-center justify-center space-y-3">+ <Typography.Title level={3}>Something went wrong 🤕</Typography.Title>+ <Typography.Text className="text-center">+ Sorry about that, please try again later or feel free to reach out to us if the problem+ persists.+ </Typography.Text>+ </div>+ <div className="flex items-center space-x-4">+ <Link href="/">+ <a>+ <Button>Head back</Button>+ </a>+ </Link>+ <Link href="/support/new">+ <a>+ <Button type="secondary">Submit a support request</Button>+ </a>+ </Link>+ </div>+ </div>+ )+}++export default observer(Error500)diff --git a/studio/pages/README.md b/studio/pages/README.mdnew file mode 100644index 00000000000..f0506228140--- /dev/null+++ b/studio/pages/README.md@@ -0,0 +1,39 @@+# Writing pages++## Rough guidelines++- Try to break down your pages into smaller building blocks - components which are tightly coupled to a page can be placed within the folder `components/interfaces/xxx/...` (Refer to the README.md under the components folder)+- Keep to using `useState` hooks for any UI related logic, do not create MobX local stores to handle UI logic.++## Template for building pages++```ts+import { NextPage } from 'next'+import { observer } from 'mobx-react-lite'++import { useStore, withAuth } from 'hooks'++// Import the corresponding layout based on the page+import { Layout } from 'components/layouts'++// Import the main building blocks of the page+import { ... } from 'components/interfaces/xxx'++// Import reusable UI components if needed+import { ... } from 'components/ui/xxx'++// Name your page accordingly+const Page: NextPage = () => {++ // Access the store via the useStore hook+ const { meta } = useStore()++ return (+ <Layout>+ <div>Page content</div>+ </Layout>+ )+}++export default withAuth(observer(Page))+```diff --git a/studio/pages/_app.tsx b/studio/pages/_app.tsxnew file mode 100644index 00000000000..4d84e77d6a7--- /dev/null+++ b/studio/pages/_app.tsx@@ -0,0 +1,68 @@+import 'styles/main.scss'+import 'styles/editor.scss'+import 'styles/ui.scss'+import 'styles/storage.scss'+import 'styles/stripe.scss'+import 'styles/toast.scss'+import 'styles/code.scss'+import 'styles/monaco.scss'+import 'styles/contextMenu.scss'++import Head from 'next/head'+import dynamic from 'next/dynamic'+import type { AppProps } from 'next/app'+import { Toaster } from 'react-hot-toast'+import { RootStore } from 'stores'+import { StoreProvider } from 'hooks'+import PageTelemetry from 'components/ui/PageTelemetry'+import FlagProvider from 'components/ui/Flag/FlagProvider'+import { useState } from 'react'++const PortalRootWithNoSSR = dynamic(+ // @ts-ignore+ () => import('@radix-ui/react-portal').then((portal) => portal.Root),+ { ssr: false }+)++const PortalToast = () => (+ // @ts-ignore+ <PortalRootWithNoSSR className="portal--toast">+ <Toaster+ position="top-right"+ toastOptions={{+ className:+ 'bg-bg-primary-light dark:bg-bg-primary-dark text-typography-body-strong-light dark:text-typography-body-strong-dark border dark:border-dark',+ style: {+ padding: '8px',+ paddingLeft: '16px',+ paddingRight: '16px',+ fontSize: '0.875rem',+ },+ error: {+ duration: 8000,+ },+ }}+ />+ </PortalRootWithNoSSR>+)++function MyApp({ Component, pageProps }: AppProps) {+ const [rootStore] = useState(() => new RootStore())++ return (+ <StoreProvider rootStore={rootStore}>+ <FlagProvider>+ <Head>+ <title>Supabase</title>+ <meta name="viewport" content="initial-scale=1.0, width=device-width" />+ <link rel="stylesheet" type="text/css" href="/css/fonts.css" />+ </Head>+ <PageTelemetry>+ <Component {...pageProps} />+ </PageTelemetry>+ <PortalToast />+ </FlagProvider>+ </StoreProvider>+ )+}+export default MyAppdiff --git a/studio/pages/_document.tsx b/studio/pages/_document.tsxnew file mode 100644index 00000000000..6d0ee8c1a69--- /dev/null+++ b/studio/pages/_document.tsx@@ -0,0 +1,31 @@+import Document, { DocumentContext, Html, Head, Main, NextScript } from 'next/document'++class MyDocument extends Document {+ static async getInitialProps(ctx: DocumentContext) {+ const initialProps = await Document.getInitialProps(ctx)++ return initialProps+ }++ render() {+ return (+ <Html>+ <Head>+ {/* Workaround for https://github.com/suren-atoyan/monaco-react/issues/272 */}+ <link+ rel="stylesheet"+ type="text/css"+ data-name="vs/editor/editor.main"+ href="https://cdn.jsdelivr.net/npm/[email protected]/min/vs/editor/editor.main.css"+ />+ </Head>+ <body className="dark">+ <Main />+ <NextScript />+ </body>+ </Html>+ )+ }+}++export default MyDocumentdiff --git a/studio/pages/account/associate.tsx b/studio/pages/account/associate.tsxnew file mode 100644index 00000000000..8d8e63bd8ab--- /dev/null+++ b/studio/pages/account/associate.tsx@@ -0,0 +1,104 @@+import { useEffect, useState } from 'react'+import { useRouter } from 'next/router'+import { toast } from 'react-hot-toast'+import { Button, Select } from '@supabase/ui'+import { observer } from 'mobx-react-lite'++import { useStore } from 'hooks'+import { API_URL } from 'lib/constants'+import { get, post } from 'lib/common/fetch'++const Associate = observer(() => {+ const { app } = useStore()+ const sortedOrganizations = app.organizations.list()+ const [awsMarketplace, setAwsMarketplace] = useState<any>()+ const [error, setError] = useState<any>('')+ const [loading, setLoading] = useState<any>(true)+ const [organizationSlug, setOrganizationSlug] = useState<any>('')+ const [saving, setSaving] = useState<any>(false)+ const router = useRouter()++ const handleChange = (e: any) => {+ setOrganizationSlug(e.target.value)+ }++ const onSave = async () => {+ if (organizationSlug === '') {+ setError('Please select an organization')+ return+ }+ setSaving(true)+ const { error } = await post(+ `${API_URL}/organizations/${organizationSlug}/associate`,+ awsMarketplace+ )+ if (error) {+ setError(error.message)+ }+ setSaving(false)+ if (!error) {+ router.push('/')+ }+ }++ useEffect(() => {+ const getAwsMarketplaceInfo = async () => {+ try {+ setLoading(true)+ const xAmznMarketplaceToken = router.query['x-amzn-marketplace-token']+ if (typeof xAmznMarketplaceToken !== 'string') {+ throw new Error('Missing or multiple x-amzn-marketplace-token')+ }+ const response = await get(+ `${API_URL}/organizations/aws-marketplace?x-amzn-marketplace-token=${encodeURIComponent(+ xAmznMarketplaceToken+ )}`+ )+ if (response.error) {+ throw response.error+ }+ if (response.slug) {+ setOrganizationSlug(response.slug)+ }+ setAwsMarketplace(response.awsMarketplace)+ setLoading(false)+ if (sortedOrganizations.length === 1) {+ onSave()+ }+ } catch (error: any) {+ toast.error(error.message)+ }+ }+ getAwsMarketplaceInfo()+ }, [])++ return (+ <div className="flex justify-center">+ {!loading && (+ <div>+ <Select+ className="my-4"+ error={error}+ label="Select an organization to associate AWS Marketplace subscription with:"+ onChange={handleChange}+ value={organizationSlug}+ >+ <Select.Option key="" value="">+ {' '}+ </Select.Option>+ {sortedOrganizations.map((organization: any) => (+ <Select.Option key={organization.slug} value={organization.slug}>+ {organization.name}+ </Select.Option>+ ))}+ </Select>+ <Button type="primary" loading={saving} onClick={onSave}>+ Save+ </Button>+ </div>+ )}+ </div>+ )+})++export default Associatediff --git a/studio/pages/account/me.tsx b/studio/pages/account/me.tsxnew file mode 100644index 00000000000..1e9772ada44--- /dev/null+++ b/studio/pages/account/me.tsx@@ -0,0 +1,115 @@+import React, { useEffect, useState } from 'react'+import { observer } from 'mobx-react-lite'+import { toast } from 'react-hot-toast'+import { IconMoon, IconSun, Select, Typography } from '@supabase/ui'++import { useProfile, useStore, withAuth } from 'hooks'+import { post } from 'lib/common/fetch'+import { API_URL } from 'lib/constants'+import AccountLayout from 'components/layouts/AccountLayout'+import Panel from 'components/to-be-cleaned/Panel'+import SchemaFormPanel from 'components/to-be-cleaned/forms/SchemaFormPanel'++const User = () => {+ return (+ <AccountLayout+ title="Supabase"+ breadcrumbs={[+ {+ key: `supabase-settings`,+ label: 'Preferences',+ },+ ]}+ >+ <div className="my-2">+ <ProfileCard />+ </div>+ </AccountLayout>+ )+}++export default withAuth(User)++const ProfileCard = observer(() => {+ const { ui } = useStore()+ const { mutateProfile } = useProfile()++ const user = ui.profile+ const updateUser = async (model: any) => {+ try {+ const updatedUser = await post(`${API_URL}/profile/update`, model)+ mutateProfile(updatedUser, false)+ ui.setProfile(updatedUser)+ toast(`Profile saved`)+ } catch (error) {+ toast(`Couldn't update profile. Try again later.`)+ console.error('updateUser error:', error)+ }+ }++ return (+ <article className="p-4 max-w-4xl">+ <section className="">+ {/* @ts-ignore */}+ <SchemaFormPanel+ title="Profile"+ schema={{+ type: 'object',+ required: [],+ properties: {+ first_name: { type: 'string' },+ last_name: { type: 'string' },+ },+ }}+ model={{+ first_name: user?.first_name ?? '',+ last_name: user?.last_name ?? '',+ }}+ onSubmit={updateUser}+ />+ </section>+ <section>+ <ThemeSettings />+ </section>+ </article>+ )+})++function ThemeSettings() {+ const [theme, setTheme] = useState('')+ const { ui } = useStore()++ useEffect(() => {+ const localStorageTheme = window.localStorage.getItem('theme')+ if (localStorageTheme) setTheme(localStorageTheme)+ }, [])++ return (+ <Panel+ title={[+ <Typography.Title key="panel-title" level={5}>+ Theme+ </Typography.Title>,+ ]}+ >+ <Panel.Content>+ <Select+ value={theme}+ label="Interface theme"+ descriptionText="Choose a theme preference"+ layout="horizontal"+ style={{ width: '50%' }}+ icon={theme === 'light' ? <IconSun /> : <IconMoon />}+ onChange={(e: any) => {+ setTheme(e.target.value)+ ui.setTheme(e.target.value)+ }}+ >+ {/* <Select.Option value="system">System default</Select.Option> */}+ <Select.Option value="dark">Dark</Select.Option>+ <Select.Option value="light">Light</Select.Option>+ </Select>+ </Panel.Content>+ </Panel>+ )+}diff --git a/studio/pages/api/auth/[ref]/config.ts b/studio/pages/api/auth/[ref]/config.tsnew file mode 100644index 00000000000..aedcc0a7e01--- /dev/null+++ b/studio/pages/api/auth/[ref]/config.ts@@ -0,0 +1,129 @@+import { NextApiRequest, NextApiResponse } from 'next'+import apiWrapper from 'lib/api/apiWrapper'++export default (req: NextApiRequest, res: NextApiResponse) => apiWrapper(req, res, handler)++async function handler(req: NextApiRequest, res: NextApiResponse) {+ const { method } = req++ switch (method) {+ case 'GET':+ return handleGetAll(req, res)+ case 'POST':+ return handlePost(req, res)+ default:+ res.setHeader('Allow', ['GET', 'POST'])+ res.status(405).json({ data: null, error: { message: `Method ${method} Not Allowed` } })+ }+}++const handleGetAll = async (req: NextApiRequest, res: NextApiResponse) => {+ // Platform only API+ return res.status(200).json({+ app_version: '',+ config_override_id: '',+ project_id: '',+ jwt_secret_encrypted: '',+ isFreeTier: true,+ SITE_URL: '',+ OPERATOR_TOKEN: null,+ DISABLE_SIGNUP: false,+ RATE_LIMIT_HEADER: null,+ JWT_EXP: 3600,+ JWT_AUD: '',+ JWT_DEFAULT_GROUP_NAME: '',+ URI_ALLOW_LIST: '',+ MAILER_AUTOCONFIRM: false,+ MAILER_URLPATHS_INVITE: '',+ MAILER_URLPATHS_CONFIRMATION: '',+ MAILER_URLPATHS_RECOVERY: '',+ MAILER_URLPATHS_EMAIL_CHANGE: '',+ SMTP_ADMIN_EMAIL: '',+ SMTP_HOST: null,+ SMTP_PORT: null,+ SMTP_USER: null,+ SMTP_PASS: null,+ SMTP_MAX_FREQUENCY: 0,+ EXTERNAL_GITHUB_ENABLED: false,+ EXTERNAL_GITHUB_CLIENT_ID: null,+ EXTERNAL_GITHUB_SECRET: null,+ EXTERNAL_BITBUCKET_ENABLED: false,+ EXTERNAL_BITBUCKET_CLIENT_ID: null,+ EXTERNAL_BITBUCKET_SECRET: null,+ EXTERNAL_GOOGLE_ENABLED: false,+ EXTERNAL_GOOGLE_CLIENT_ID: null,+ EXTERNAL_GOOGLE_SECRET: null,+ EXTERNAL_GITLAB_ENABLED: false,+ EXTERNAL_GITLAB_CLIENT_ID: null,+ EXTERNAL_GITLAB_SECRET: null,+ EXTERNAL_GITLAB_REDIRECT_URI: null,+ EXTERNAL_AZURE_ENABLED: false,+ EXTERNAL_AZURE_CLIENT_ID: null,+ EXTERNAL_AZURE_SECRET: null,+ EXTERNAL_FACEBOOK_ENABLED: false,+ EXTERNAL_FACEBOOK_CLIENT_ID: null,+ EXTERNAL_FACEBOOK_SECRET: null,+ EXTERNAL_TWITTER_ENABLED: false,+ EXTERNAL_TWITTER_CLIENT_ID: null,+ EXTERNAL_TWITTER_SECRET: null,+ EXTERNAL_APPLE_ENABLED: false,+ EXTERNAL_APPLE_CLIENT_ID: null,+ EXTERNAL_APPLE_SECRET: null,+ EXTERNAL_DISCORD_ENABLED: false,+ EXTERNAL_DISCORD_CLIENT_ID: null,+ EXTERNAL_DISCORD_SECRET: null,+ MAILER_SUBJECTS_INVITE: 'You have been invited',+ MAILER_SUBJECTS_CONFIRMATION: 'Confirm Your Signup',+ MAILER_SUBJECTS_RECOVERY: 'Reset Your Password',+ MAILER_SUBJECTS_EMAIL_CHANGE: 'Confirm Email Change',+ MAILER_SUBJECTS_MAGIC_LINK: 'Your Magic Link',+ MAILER_TEMPLATES_INVITE: null,+ MAILER_TEMPLATES_INVITE_CONTENT:+ '<h2>You have been invited</h2>\n\n<p>You have been invited to create a user on {{ .SiteURL }}. Follow this link to accept the invite:</p>\n<p><a href="{{ .ConfirmationURL }}">Accept the invite</a></p>',+ MAILER_TEMPLATES_CONFIRMATION: null,+ MAILER_TEMPLATES_CONFIRMATION_CONTENT:+ '<h2>Confirm your signup</h2>\n\n<p>Follow this link to confirm your user:</p>\n<p><a href="{{ .ConfirmationURL }}">Confirm your mail</a></p>',+ MAILER_TEMPLATES_RECOVERY: null,+ MAILER_TEMPLATES_RECOVERY_CONTENT:+ '<h2>Reset Password</h2>\n\n<p>Follow this link to reset the password for your user:</p>\n<p><a href="{{ .ConfirmationURL }}">Reset Password</a></p>',+ MAILER_TEMPLATES_EMAIL_CHANGE: null,+ MAILER_TEMPLATES_EMAIL_CHANGE_CONTENT:+ '<h2>Confirm Change of Email</h2>\n\n<p>Follow this link to confirm the update of your email from {{ .Email }} to {{ .NewEmail }}:</p>\n<p><a href="{{ .ConfirmationURL }}">Change Email</a></p>',+ MAILER_TEMPLATES_MAGIC_LINK: null,+ MAILER_TEMPLATES_MAGIC_LINK_CONTENT:+ '<h2>Magic Link</h2>\n\n<p>Follow this link to login:</p>\n<p><a href="{{ .ConfirmationURL }}">Log In</a></p>',+ EXTERNAL_TWITCH_ENABLED: false,+ EXTERNAL_TWITCH_CLIENT_ID: null,+ EXTERNAL_TWITCH_SECRET: null,+ SMTP_SENDER_NAME: null,+ EXTERNAL_EMAIL_ENABLED: true,+ EXTERNAL_PHONE_ENABLED: true,+ SMS_AUTOCONFIRM: false,+ SMS_MAX_FREQUENCY: 0,+ SMS_OTP_EXP: 0,+ SMS_OTP_LENGTH: 0,+ SMS_PROVIDER: 'twilio',+ SMS_TWILIO_ACCOUNT_SID: null,+ SMS_TWILIO_AUTH_TOKEN: null,+ SMS_TWILIO_MESSAGE_SERVICE_SID: null,+ SMS_TEMPLATE: 'Your code is {{ .Code }}',+ SECURITY_CAPTCHA_ENABLED: false,+ SECURITY_CAPTCHA_PROVIDER: 'hcaptcha',+ SECURITY_CAPTCHA_SECRET: null,+ RATE_LIMIT_EMAIL_SENT: 0,+ MAILER_SECURE_EMAIL_CHANGE_ENABLED: true,+ EXTERNAL_SPOTIFY_ENABLED: false,+ EXTERNAL_SPOTIFY_CLIENT_ID: null,+ EXTERNAL_SPOTIFY_SECRET: null,+ EXTERNAL_SLACK_ENABLED: false,+ EXTERNAL_SLACK_CLIENT_ID: null,+ EXTERNAL_SLACK_SECRET: null,+ SMS_MESSAGEBIRD_ACCESS_KEY: null,+ SMS_MESSAGEBIRD_ORIGINATOR: null,+ })+}++const handlePost = async (req: NextApiRequest, res: NextApiResponse) => {+ // Platform only API+ return res.status(200).json({})+}diff --git a/studio/pages/api/auth/[ref]/invite.ts b/studio/pages/api/auth/[ref]/invite.tsnew file mode 100644index 00000000000..b576d7ae430--- /dev/null+++ b/studio/pages/api/auth/[ref]/invite.ts@@ -0,0 +1,31 @@+import { NextApiRequest, NextApiResponse } from 'next'+import apiWrapper from 'lib/api/apiWrapper'+import { constructHeaders } from 'lib/api/apiHelpers'+import { post } from 'lib/common/fetch'++export default (req: NextApiRequest, res: NextApiResponse) => apiWrapper(req, res, handler)++async function handler(req: NextApiRequest, res: NextApiResponse) {+ const { method } = req++ switch (method) {+ case 'POST':+ return handlePost(req, res)+ default:+ res.setHeader('Allow', ['POST'])+ res.status(405).json({ data: null, error: { message: `Method ${method} Not Allowed` } })+ }+}++const handlePost = async (req: NextApiRequest, res: NextApiResponse) => {+ const headers = constructHeaders({+ 'Content-Type': 'application/json',+ Accept: 'application/json',+ Authorization: `Bearer ${process.env.SUPABASE_ANON_KEY}`,+ apiKey: process.env.SUPABASE_ANON_KEY,+ })+ const url = `${process.env.SUPABASE_URL}/auth/v1/invite`+ const payload = { email: req.body.email }+ const response = await post(url, payload, headers)+ return res.status(200).json(response)+}diff --git a/studio/pages/api/auth/[ref]/magiclink.ts b/studio/pages/api/auth/[ref]/magiclink.tsnew file mode 100644index 00000000000..9b3eec72fa7--- /dev/null+++ b/studio/pages/api/auth/[ref]/magiclink.ts@@ -0,0 +1,34 @@+import { NextApiRequest, NextApiResponse } from 'next'+import SqlString from 'sqlstring'++import apiWrapper from 'lib/api/apiWrapper'+import { constructHeaders } from 'lib/api/apiHelpers'+import { post } from 'lib/common/fetch'+import { tryParseInt } from 'lib/helpers'++export default (req: NextApiRequest, res: NextApiResponse) => apiWrapper(req, res, handler)++async function handler(req: NextApiRequest, res: NextApiResponse) {+ const { method } = req++ switch (method) {+ case 'POST':+ return handlePost(req, res)+ default:+ res.setHeader('Allow', ['POST'])+ res.status(405).json({ data: null, error: { message: `Method ${method} Not Allowed` } })+ }+}++const handlePost = async (req: NextApiRequest, res: NextApiResponse) => {+ const headers = constructHeaders({+ 'Content-Type': 'application/json',+ Accept: 'application/json',+ Authorization: `Bearer ${process.env.SUPABASE_ANON_KEY}`,+ apiKey: process.env.SUPABASE_ANON_KEY,+ })+ const url = `${process.env.SUPABASE_URL}/auth/v1/magiclink`+ const payload = { email: req.body.email }+ const response = await post(url, payload, headers)+ return res.status(200).json(response)+}diff --git a/studio/pages/api/auth/[ref]/otp.ts b/studio/pages/api/auth/[ref]/otp.tsnew file mode 100644index 00000000000..2c32cbcd28e--- /dev/null+++ b/studio/pages/api/auth/[ref]/otp.ts@@ -0,0 +1,34 @@+import { NextApiRequest, NextApiResponse } from 'next'+import SqlString from 'sqlstring'++import apiWrapper from 'lib/api/apiWrapper'+import { constructHeaders } from 'lib/api/apiHelpers'+import { post } from 'lib/common/fetch'+import { tryParseInt } from 'lib/helpers'++export default (req: NextApiRequest, res: NextApiResponse) => apiWrapper(req, res, handler)++async function handler(req: NextApiRequest, res: NextApiResponse) {+ const { method } = req++ switch (method) {+ case 'POST':+ return handlePost(req, res)+ default:+ res.setHeader('Allow', ['POST'])+ res.status(405).json({ data: null, error: { message: `Method ${method} Not Allowed` } })+ }+}++const handlePost = async (req: NextApiRequest, res: NextApiResponse) => {+ const headers = constructHeaders({+ 'Content-Type': 'application/json',+ Accept: 'application/json',+ Authorization: `Bearer ${process.env.SUPABASE_ANON_KEY}`,+ apiKey: process.env.SUPABASE_ANON_KEY,+ })+ const url = `${process.env.SUPABASE_URL}/auth/v1/otp`+ const payload = { phone: req.body.phone }+ const response = await post(url, payload, headers)+ return res.status(200).json(response)+}diff --git a/studio/pages/api/auth/[ref]/recover.ts b/studio/pages/api/auth/[ref]/recover.tsnew file mode 100644index 00000000000..3981aee8242--- /dev/null+++ b/studio/pages/api/auth/[ref]/recover.ts@@ -0,0 +1,34 @@+import { NextApiRequest, NextApiResponse } from 'next'+import SqlString from 'sqlstring'++import apiWrapper from 'lib/api/apiWrapper'+import { constructHeaders } from 'lib/api/apiHelpers'+import { post } from 'lib/common/fetch'+import { tryParseInt } from 'lib/helpers'++export default (req: NextApiRequest, res: NextApiResponse) => apiWrapper(req, res, handler)++async function handler(req: NextApiRequest, res: NextApiResponse) {+ const { method } = req++ switch (method) {+ case 'POST':+ return handlePost(req, res)+ default:+ res.setHeader('Allow', ['POST'])+ res.status(405).json({ data: null, error: { message: `Method ${method} Not Allowed` } })+ }+}++const handlePost = async (req: NextApiRequest, res: NextApiResponse) => {+ const headers = constructHeaders({+ 'Content-Type': 'application/json',+ Accept: 'application/json',+ Authorization: `Bearer ${process.env.SUPABASE_ANON_KEY}`,+ apiKey: process.env.SUPABASE_ANON_KEY,+ })+ const url = `${process.env.SUPABASE_URL}/auth/v1/recover`+ const payload = { email: req.body.email }+ const response = await post(url, payload, headers)+ return res.status(200).json(response)+}diff --git a/studio/pages/api/auth/[ref]/users.ts b/studio/pages/api/auth/[ref]/users.tsnew file mode 100644index 00000000000..c97de828cfb--- /dev/null+++ b/studio/pages/api/auth/[ref]/users.ts@@ -0,0 +1,73 @@+import { NextApiRequest, NextApiResponse } from 'next'+import SqlString from 'sqlstring'++import { post } from 'lib/common/fetch'+import { tryParseInt } from 'lib/helpers'+import { PG_META_URL } from 'lib/constants'+import apiWrapper from 'lib/api/apiWrapper'+import { constructHeaders } from 'lib/api/apiHelpers'++export default (req: NextApiRequest, res: NextApiResponse) => apiWrapper(req, res, handler)++async function handler(req: NextApiRequest, res: NextApiResponse) {+ const { method } = req++ switch (method) {+ case 'GET':+ return handleGetAll(req, res)+ case 'DELETE':+ return handleDelete(req, res)+ default:+ res.setHeader('Allow', ['GET', 'DELETE'])+ res.status(405).json({ data: null, error: { message: `Method ${method} Not Allowed` } })+ }+}++const handleGetAll = async (req: NextApiRequest, res: NextApiResponse) => {+ const headers = constructHeaders(req.headers)+ const { keywords, limit, offset } = req.query+ const limitInt = tryParseInt(limit as string) || 10+ const offsetInt = tryParseInt(offset as string) || 0+ const hasValidKeywords = keywords && keywords != ''++ let queryCount = ''+ let queryUsers = ''++ if (hasValidKeywords) {+ queryCount = SqlString.format('SELECT count(*) from auth.users WHERE email ilike ?;', [+ `%${keywords}%`,+ ])+ queryUsers = SqlString.format(+ 'SELECT * from auth.users WHERE email ilike ? ORDER BY created_at DESC LIMIT ? OFFSET ?;',+ [`%${keywords}%`, limitInt, offsetInt]+ )+ } else {+ queryCount = 'SELECT count(*) from auth.users;'+ queryUsers = SqlString.format(+ 'SELECT * from auth.users ORDER BY created_at DESC LIMIT ? OFFSET ?;',+ [limitInt, offsetInt]+ )+ }++ const [getTotal, getUsers] = await Promise.all([+ post(`${PG_META_URL}/query`, { query: queryCount }, { headers }),+ post(`${PG_META_URL}/query`, { query: queryUsers }, { headers }),+ ])++ let total = 0+ if (getTotal && (getTotal as any[]).length > 0) {+ total = (getTotal[0] as any).count+ }++ return res.status(200).json({ total, users: getUsers })+}++const handleDelete = async (req: NextApiRequest, res: NextApiResponse) => {+ const headers = constructHeaders(req.headers)++ const payload = req.body+ const query = { query: `DELETE from auth.users where id='${payload.id}';` }++ const response = post(`${PG_META_URL}/query`, { query }, { headers })+ return res.status(200).json(response)+}diff --git a/studio/pages/api/database/[ref]/backups.ts b/studio/pages/api/database/[ref]/backups.tsnew file mode 100644index 00000000000..bc4d6b8db43--- /dev/null+++ b/studio/pages/api/database/[ref]/backups.ts@@ -0,0 +1,20 @@+import { NextApiRequest, NextApiResponse } from 'next'+import apiWrapper from 'lib/api/apiWrapper'++export default (req: NextApiRequest, res: NextApiResponse) => apiWrapper(req, res, handler)++async function handler(req: NextApiRequest, res: NextApiResponse) {+ const { method } = req++ switch (method) {+ case 'GET':+ return handleGetAll(req, res)+ default:+ res.setHeader('Allow', ['GET'])+ res.status(405).json({ data: null, error: { message: `Method ${method} Not Allowed` } })+ }+}++const handleGetAll = async (req: NextApiRequest, res: NextApiResponse) => {+ return res.status(200).json({ tierId: undefined, backups: [] })+}diff --git a/studio/pages/api/database/[ref]/pooling.ts b/studio/pages/api/database/[ref]/pooling.tsnew file mode 100644index 00000000000..860cee5d43a--- /dev/null+++ b/studio/pages/api/database/[ref]/pooling.ts@@ -0,0 +1,32 @@+import { NextApiRequest, NextApiResponse } from 'next'+import apiWrapper from 'lib/api/apiWrapper'++export default (req: NextApiRequest, res: NextApiResponse) => apiWrapper(req, res, handler)++async function handler(req: NextApiRequest, res: NextApiResponse) {+ const { method } = req++ switch (method) {+ case 'GET':+ return handleGetAll(req, res)+ case 'PATCH':+ return handlePatch(req, res)+ default:+ res.setHeader('Allow', ['GET', 'PATCH'])+ res.status(405).json({ data: null, error: { message: `Method ${method} Not Allowed` } })+ }+}++const handleGetAll = async (req: NextApiRequest, res: NextApiResponse) => {+ const project: any = {+ db_port: 6543,+ pool_mode: null,+ pgbouncer_enabled: false,+ pgbouncer_status: 'COMING_UP',+ }+ return res.status(200).json({ project })+}++const handlePatch = async (req: NextApiRequest, res: NextApiResponse) => {+ return res.status(200).json({})+}diff --git a/studio/pages/api/organizations/index.ts b/studio/pages/api/organizations/index.tsnew file mode 100644index 00000000000..d347ad0c017--- /dev/null+++ b/studio/pages/api/organizations/index.ts@@ -0,0 +1,29 @@+import apiWrapper from 'lib/api/apiWrapper'+import { NextApiRequest, NextApiResponse } from 'next'++export default (req: NextApiRequest, res: NextApiResponse) => apiWrapper(req, res, handler)++async function handler(req: NextApiRequest, res: NextApiResponse) {+ const { method } = req++ switch (method) {+ case 'GET':+ return handleGetAll(req, res)+ default:+ res.setHeader('Allow', ['GET'])+ res.status(405).json({ data: null, error: { message: `Method ${method} Not Allowed` } })+ }+}++const handleGetAll = async (req: NextApiRequest, res: NextApiResponse) => {+ // Platform specific endpoint+ const response = [+ {+ id: 1,+ name: 'Default Organization',+ slug: 'default-org-slug',+ billing_email: '[email protected]',+ },+ ]+ return res.status(200).json(response)+}diff --git a/studio/pages/api/organizations/new.ts b/studio/pages/api/organizations/new.tsnew file mode 100644index 00000000000..9c650a9a3e9--- /dev/null+++ b/studio/pages/api/organizations/new.ts@@ -0,0 +1,21 @@+import { NextApiRequest, NextApiResponse } from 'next'+import apiWrapper from 'lib/api/apiWrapper'++export default (req: NextApiRequest, res: NextApiResponse) => apiWrapper(req, res, handler)++async function handler(req: NextApiRequest, res: NextApiResponse) {+ const { method } = req++ switch (method) {+ case 'POST':+ return handlePost(req, res)+ default:+ res.setHeader('Allow', ['POST'])+ res.status(405).json({ data: null, error: { message: `Method ${method} Not Allowed` } })+ }+}++const handlePost = async (req: NextApiRequest, res: NextApiResponse) => {+ // Platform specific endpoint+ return res.status(200).json({ slug: 'default-org-slug' })+}diff --git a/studio/pages/api/pg-meta/[ref]/columns.ts b/studio/pages/api/pg-meta/[ref]/columns.tsnew file mode 100644index 00000000000..5d35b3bd856--- /dev/null+++ b/studio/pages/api/pg-meta/[ref]/columns.ts@@ -0,0 +1,79 @@+import { NextApiRequest, NextApiResponse } from 'next'+import apiWrapper from 'lib/api/apiWrapper'+import { constructHeaders, toSnakeCase } from 'lib/api/apiHelpers'+import { PG_META_URL } from 'lib/constants'+import { delete_, get, patch, post } from 'lib/common/fetch'++export default (req: NextApiRequest, res: NextApiResponse) =>+ apiWrapper(req, res, handler, { withAuth: true })++async function handler(req: NextApiRequest, res: NextApiResponse) {+ const { method } = req++ switch (method) {+ case 'GET':+ return handleGetAll(req, res)+ case 'POST':+ return handlePost(req, res)+ case 'PATCH':+ return handlePatch(req, res)+ case 'DELETE':+ return handleDelete(req, res)+ default:+ res.setHeader('Allow', ['GET', 'POST', 'PATCH', 'DELETE'])+ res.status(405).json({ error: { message: `Method ${method} Not Allowed` } })+ }+}++const handleGetAll = async (req: NextApiRequest, res: NextApiResponse) => {+ const headers = constructHeaders(req.headers)+ let response = await get(`${PG_META_URL}/columns`, {+ headers,+ })+ if (response.error) {+ return res.status(400).json({ error: response.error })+ }+ return res.status(200).json(response)+}++const handlePost = async (req: NextApiRequest, res: NextApiResponse) => {+ const headers = constructHeaders(req.headers)+ const payload = toSnakeCase(req.body)+ const response = await post(`${PG_META_URL}/columns`, payload, {+ headers,+ })++ if (response.error) {+ console.error('Column POST:', response.error)+ return res.status(400).json({ error: response.error })+ }++ return res.status(200).json(response)+}++const handlePatch = async (req: NextApiRequest, res: NextApiResponse) => {+ const headers = constructHeaders(req.headers)+ const payload = toSnakeCase(req.body)+ const response = await patch(`${PG_META_URL}/columns/${req.query.id}`, payload, {+ headers,+ })++ if (response.error) {+ console.error('Column PATCH:', response)+ return res.status(400).json({ error: response.error })+ }++ return res.status(200).json(response)+}++const handleDelete = async (req: NextApiRequest, res: NextApiResponse) => {+ const headers = constructHeaders(req.headers)+ const response = await delete_(`${PG_META_URL}/columns/${req.query.id}`, {}, { headers })++ if (response.error) {+ console.error('Column DELETE:', response.error)+ return res.status(400).json({ error: response.error })+ }++ return res.status(200).json(response)+}diff --git a/studio/pages/api/pg-meta/[ref]/extensions.ts b/studio/pages/api/pg-meta/[ref]/extensions.tsnew file mode 100644index 00000000000..ee20621aab6--- /dev/null+++ b/studio/pages/api/pg-meta/[ref]/extensions.ts@@ -0,0 +1,63 @@+import { NextApiRequest, NextApiResponse } from 'next'++import apiWrapper from 'lib/api/apiWrapper'+import { PG_META_URL } from 'lib/constants'+import { get, post, delete_ } from 'lib/common/fetch'+import { constructHeaders, toSnakeCase } from 'lib/api/apiHelpers'++export default (req: NextApiRequest, res: NextApiResponse) =>+ apiWrapper(req, res, handler, { withAuth: true })++async function handler(req: NextApiRequest, res: NextApiResponse) {+ const { method } = req++ switch (method) {+ case 'GET':+ return handleGetAll(req, res)+ case 'POST':+ return handlePost(req, res)+ case 'DELETE':+ return handleDelete(req, res)+ default:+ res.setHeader('Allow', ['GET'])+ res.status(405).json({ error: { message: `Method ${method} Not Allowed` } })+ }+}++const handleGetAll = async (req: NextApiRequest, res: NextApiResponse) => {+ const headers = constructHeaders(req.headers)+ let response = await get(`${PG_META_URL}/extensions`, {+ headers,+ })+ if (response.error) {+ return res.status(400).json({ error: response.error })+ }+ return res.status(200).json(response)+}++const handlePost = async (req: NextApiRequest, res: NextApiResponse) => {+ const headers = constructHeaders(req.headers)+ const payload = toSnakeCase(req.body)+ const response = await post(`${PG_META_URL}/extensions`, payload, {+ headers,+ })++ if (response.error) {+ console.error('Extensions POST:', response.error)+ return res.status(400).json({ error: response.error })+ }++ return res.status(200).json(response)+}++const handleDelete = async (req: NextApiRequest, res: NextApiResponse) => {+ const headers = constructHeaders(req.headers)+ const response = await delete_(`${PG_META_URL}/extensions/${req.query.id}`, {}, { headers })++ if (response.error) {+ console.error('Extensions DELETE:', response.error)+ return res.status(400).json({ error: response.error })+ }++ return res.status(200).json(response)+}diff --git a/studio/pages/api/pg-meta/[ref]/functions.ts b/studio/pages/api/pg-meta/[ref]/functions.tsnew file mode 100644index 00000000000..1fa68f55ee4--- /dev/null+++ b/studio/pages/api/pg-meta/[ref]/functions.ts@@ -0,0 +1,79 @@+import { NextApiRequest, NextApiResponse } from 'next'+import apiWrapper from 'lib/api/apiWrapper'+import { constructHeaders, toSnakeCase } from 'lib/api/apiHelpers'+import { PG_META_URL } from 'lib/constants'+import { delete_, get, patch, post } from 'lib/common/fetch'++export default (req: NextApiRequest, res: NextApiResponse) =>+ apiWrapper(req, res, handler, { withAuth: true })++async function handler(req: NextApiRequest, res: NextApiResponse) {+ const { method } = req++ switch (method) {+ case 'GET':+ return handleGetAll(req, res)+ case 'POST':+ return handlePost(req, res)+ case 'PATCH':+ return handlePatch(req, res)+ case 'DELETE':+ return handleDelete(req, res)+ default:+ res.setHeader('Allow', ['GET', 'POST', 'PATCH', 'DELETE'])+ res.status(405).json({ error: { message: `Method ${method} Not Allowed` } })+ }+}++const handleGetAll = async (req: NextApiRequest, res: NextApiResponse) => {+ const headers = constructHeaders(req.headers)+ let response = await get(`${PG_META_URL}/functions`, {+ headers,+ })+ if (response.error) {+ return res.status(400).json({ error: response.error })+ }+ return res.status(200).json(response)+}++const handlePost = async (req: NextApiRequest, res: NextApiResponse) => {+ const headers = constructHeaders(req.headers)+ const payload = toSnakeCase(req.body)+ const response = await post(`${PG_META_URL}/functions`, payload, {+ headers,+ })++ if (response.error) {+ console.error('Functions POST:', response.error)+ return res.status(400).json({ error: response.error })+ }++ return res.status(200).json(response)+}++const handlePatch = async (req: NextApiRequest, res: NextApiResponse) => {+ const headers = constructHeaders(req.headers)+ const payload = toSnakeCase(req.body)+ const response = await patch(`${PG_META_URL}/functions/${req.query.id}`, payload, {+ headers,+ })++ if (response.error) {+ console.error('Functions PATCH:', response)+ return res.status(400).json({ error: response.error })+ }++ return res.status(200).json(response)+}++const handleDelete = async (req: NextApiRequest, res: NextApiResponse) => {+ const headers = constructHeaders(req.headers)+ const response = await delete_(`${PG_META_URL}/functions/${req.query.id}`, {}, { headers })++ if (response.error) {+ console.error('Functions DELETE:', response.error)+ return res.status(400).json({ error: response.error })+ }++ return res.status(200).json(response)+}diff --git a/studio/pages/api/pg-meta/[ref]/policies.ts b/studio/pages/api/pg-meta/[ref]/policies.tsnew file mode 100644index 00000000000..479c41efd5e--- /dev/null+++ b/studio/pages/api/pg-meta/[ref]/policies.ts@@ -0,0 +1,79 @@+import { NextApiRequest, NextApiResponse } from 'next'+import apiWrapper from 'lib/api/apiWrapper'+import { constructHeaders, toSnakeCase } from 'lib/api/apiHelpers'+import { PG_META_URL } from 'lib/constants'+import { delete_, get, patch, post } from 'lib/common/fetch'++export default (req: NextApiRequest, res: NextApiResponse) =>+ apiWrapper(req, res, handler, { withAuth: true })++async function handler(req: NextApiRequest, res: NextApiResponse) {+ const { method } = req++ switch (method) {+ case 'GET':+ return handleGetAll(req, res)+ case 'POST':+ return handlePost(req, res)+ case 'PATCH':+ return handlePatch(req, res)+ case 'DELETE':+ return handleDelete(req, res)+ default:+ res.setHeader('Allow', ['GET', 'POST', 'PATCH', 'DELETE'])+ res.status(405).json({ error: { message: `Method ${method} Not Allowed` } })+ }+}++const handleGetAll = async (req: NextApiRequest, res: NextApiResponse) => {+ const headers = constructHeaders(req.headers)+ let response = await get(`${PG_META_URL}/policies`, {+ headers,+ })+ if (response.error) {+ return res.status(400).json({ error: response.error })+ }+ return res.status(200).json(response)+}++const handlePost = async (req: NextApiRequest, res: NextApiResponse) => {+ const headers = constructHeaders(req.headers)+ const payload = toSnakeCase(req.body)+ const response = await post(`${PG_META_URL}/policies`, payload, {+ headers,+ })++ if (response.error) {+ console.error('Policies POST:', response.error)+ return res.status(400).json({ error: response.error })+ }++ return res.status(200).json(response)+}++const handlePatch = async (req: NextApiRequest, res: NextApiResponse) => {+ const headers = constructHeaders(req.headers)+ const payload = toSnakeCase(req.body)+ const response = await patch(`${PG_META_URL}/policies/${req.query.id}`, payload, {+ headers,+ })++ if (response.error) {+ console.error('Policies PATCH:', response)+ return res.status(400).json({ error: response.error })+ }++ return res.status(200).json(response)+}++const handleDelete = async (req: NextApiRequest, res: NextApiResponse) => {+ const headers = constructHeaders(req.headers)+ const response = await delete_(`${PG_META_URL}/policies/${req.query.id}`, {}, { headers })++ if (response.error) {+ console.error('Policies DELETE:', response.error)+ return res.status(400).json({ error: response.error })+ }++ return res.status(200).json(response)+}diff --git a/studio/pages/api/pg-meta/[ref]/publications.ts b/studio/pages/api/pg-meta/[ref]/publications.tsnew file mode 100644index 00000000000..7f3a2bd1ac0--- /dev/null+++ b/studio/pages/api/pg-meta/[ref]/publications.ts@@ -0,0 +1,79 @@+import { NextApiRequest, NextApiResponse } from 'next'+import apiWrapper from 'lib/api/apiWrapper'+import { constructHeaders, toSnakeCase } from 'lib/api/apiHelpers'+import { PG_META_URL } from 'lib/constants'+import { delete_, get, patch, post } from 'lib/common/fetch'++export default (req: NextApiRequest, res: NextApiResponse) =>+ apiWrapper(req, res, handler, { withAuth: true })++async function handler(req: NextApiRequest, res: NextApiResponse) {+ const { method } = req++ switch (method) {+ case 'GET':+ return handleGetAll(req, res)+ case 'POST':+ return handlePost(req, res)+ case 'PATCH':+ return handlePatch(req, res)+ case 'DELETE':+ return handleDelete(req, res)+ default:+ res.setHeader('Allow', ['GET', 'POST', 'PATCH', 'DELETE'])+ res.status(405).json({ error: { message: `Method ${method} Not Allowed` } })+ }+}++const handleGetAll = async (req: NextApiRequest, res: NextApiResponse) => {+ const headers = constructHeaders(req.headers)+ let response = await get(`${PG_META_URL}/publications`, {+ headers,+ })+ if (response.error) {+ return res.status(400).json({ error: response.error })+ }+ return res.status(200).json(response)+}++const handlePost = async (req: NextApiRequest, res: NextApiResponse) => {+ const headers = constructHeaders(req.headers)+ const payload = toSnakeCase(req.body)+ const response = await post(`${PG_META_URL}/publications`, payload, {+ headers,+ })++ if (response.error) {+ console.error('Publication POST:', response.error)+ return res.status(400).json({ error: response.error })+ }++ return res.status(200).json(response)+}++const handlePatch = async (req: NextApiRequest, res: NextApiResponse) => {+ const headers = constructHeaders(req.headers)+ const payload = toSnakeCase(req.body)+ const response = await patch(`${PG_META_URL}/publications/${req.query.id}`, payload, {+ headers,+ })++ if (response.error) {+ console.error('Publication PATCH:', response)+ return res.status(400).json({ error: response.error })+ }++ return res.status(200).json(response)+}++const handleDelete = async (req: NextApiRequest, res: NextApiResponse) => {+ const headers = constructHeaders(req.headers)+ const response = await delete_(`${PG_META_URL}/publications/${req.query.id}`, {}, { headers })++ if (response.error) {+ console.error('Publication DELETE:', response.error)+ return res.status(400).json({ error: response.error })+ }++ return res.status(200).json(response)+}diff --git a/studio/pages/api/pg-meta/[ref]/query/format.ts b/studio/pages/api/pg-meta/[ref]/query/format.tsnew file mode 100644index 00000000000..92a3cfe6ff8--- /dev/null+++ b/studio/pages/api/pg-meta/[ref]/query/format.ts@@ -0,0 +1,32 @@+import { NextApiRequest, NextApiResponse } from 'next'+import apiWrapper from 'lib/api/apiWrapper'+import { constructHeaders } from 'lib/api/apiHelpers'+import { PG_META_URL } from 'lib/constants'+import { post } from 'lib/common/fetch'++export default (req: NextApiRequest, res: NextApiResponse) =>+ apiWrapper(req, res, handler, { withAuth: true })++async function handler(req: NextApiRequest, res: NextApiResponse) {+ const { method } = req++ switch (method) {+ case 'POST':+ return handlePost(req, res)+ default:+ res.setHeader('Allow', ['POST'])+ res.status(405).json({ error: { message: `Method ${method} Not Allowed` } })+ }+}++const handlePost = async (req: NextApiRequest, res: NextApiResponse) => {+ const { query } = req.body+ const headers = constructHeaders(req.headers)+ const response = await post(`${PG_META_URL}/query/format`, { query }, { headers })++ if (response.error) {+ return res.status(400).json({ error: response.error })+ } else {+ return res.status(200).json(response)+ }+}diff --git a/studio/pages/api/pg-meta/[ref]/query/index.ts b/studio/pages/api/pg-meta/[ref]/query/index.tsnew file mode 100644index 00000000000..80a918bd5c0--- /dev/null+++ b/studio/pages/api/pg-meta/[ref]/query/index.ts@@ -0,0 +1,40 @@+import { NextApiRequest, NextApiResponse } from 'next'+import apiWrapper from 'lib/api/apiWrapper'+import { constructHeaders } from 'lib/api/apiHelpers'+import { PG_META_URL } from 'lib/constants'+import { post } from 'lib/common/fetch'++export default (req: NextApiRequest, res: NextApiResponse) =>+ apiWrapper(req, res, handler, { withAuth: true })++async function handler(req: NextApiRequest, res: NextApiResponse) {+ const { method } = req++ switch (method) {+ case 'POST':+ return handlePost(req, res)+ default:+ res.setHeader('Allow', ['POST'])+ res.status(405).json({ error: { message: `Method ${method} Not Allowed` } })+ }+}++const handlePost = async (req: NextApiRequest, res: NextApiResponse) => {+ const { query } = req.body+ const headers = constructHeaders(req.headers)+ const response = await post(`${PG_META_URL}/query`, { query: enrichQuery(query) }, { headers })++ if (response.error) {+ return res.status(400).json({ error: response.error })+ } else {+ return res.status(200).json(response)+ }+}++const enrichQuery = (query: string) => `+-- source: dashboard+-- user: ${'self host'}+-- date: ${new Date().toISOString()}++${query}+`diff --git a/studio/pages/api/pg-meta/[ref]/query/validate.ts b/studio/pages/api/pg-meta/[ref]/query/validate.tsnew file mode 100644index 00000000000..4279f479ce5--- /dev/null+++ b/studio/pages/api/pg-meta/[ref]/query/validate.ts@@ -0,0 +1,32 @@+import { NextApiRequest, NextApiResponse } from 'next'+import apiWrapper from 'lib/api/apiWrapper'+import { constructHeaders } from 'lib/api/apiHelpers'+import { PG_META_URL } from 'lib/constants'+import { post } from 'lib/common/fetch'++export default (req: NextApiRequest, res: NextApiResponse) =>+ apiWrapper(req, res, handler, { withAuth: true })++async function handler(req: NextApiRequest, res: NextApiResponse) {+ const { method } = req++ switch (method) {+ case 'POST':+ return handlePost(req, res)+ default:+ res.setHeader('Allow', ['POST'])+ res.status(405).json({ error: { message: `Method ${method} Not Allowed` } })+ }+}++const handlePost = async (req: NextApiRequest, res: NextApiResponse) => {+ const { query } = req.body+ const headers = constructHeaders(req.headers)+ const response = await post(`${PG_META_URL}/query/parse`, { query }, { headers })++ if (response.error) {+ return res.status(400).json({ valid: false, error: response.error })+ } else {+ return res.status(200).json({ valid: true })+ }+}diff --git a/studio/pages/api/pg-meta/[ref]/roles.ts b/studio/pages/api/pg-meta/[ref]/roles.tsnew file mode 100644index 00000000000..b298741028a--- /dev/null+++ b/studio/pages/api/pg-meta/[ref]/roles.ts@@ -0,0 +1,32 @@+import { NextApiRequest, NextApiResponse } from 'next'++import apiWrapper from 'lib/api/apiWrapper'+import { get } from 'lib/common/fetch'+import { constructHeaders } from 'lib/api/apiHelpers'+import { PG_META_URL } from 'lib/constants'++export default (req: NextApiRequest, res: NextApiResponse) =>+ apiWrapper(req, res, handler, { withAuth: true })++async function handler(req: NextApiRequest, res: NextApiResponse) {+ const { method } = req++ switch (method) {+ case 'GET':+ return handleGetAll(req, res)+ default:+ res.setHeader('Allow', ['GET'])+ res.status(405).json({ error: { message: `Method ${method} Not Allowed` } })+ }+}++const handleGetAll = async (req: NextApiRequest, res: NextApiResponse) => {+ const headers = constructHeaders(req.headers)+ let response = await get(`${PG_META_URL}/roles`, {+ headers,+ })+ if (response.error) {+ return res.status(400).json({ error: response.error })+ }+ return res.status(200).json(response)+}diff --git a/studio/pages/api/pg-meta/[ref]/schemas.ts b/studio/pages/api/pg-meta/[ref]/schemas.tsnew file mode 100644index 00000000000..4f473efc42d--- /dev/null+++ b/studio/pages/api/pg-meta/[ref]/schemas.ts@@ -0,0 +1,79 @@+import { NextApiRequest, NextApiResponse } from 'next'+import apiWrapper from 'lib/api/apiWrapper'+import { constructHeaders, toSnakeCase } from 'lib/api/apiHelpers'+import { delete_, get, patch, post } from 'lib/common/fetch'+import { PG_META_URL } from 'lib/constants'++export default (req: NextApiRequest, res: NextApiResponse) =>+ apiWrapper(req, res, handler, { withAuth: true })++async function handler(req: NextApiRequest, res: NextApiResponse) {+ const { method } = req++ switch (method) {+ case 'GET':+ return handleGetAll(req, res)+ case 'POST':+ return handlePost(req, res)+ case 'PATCH':+ return handlePatch(req, res)+ case 'DELETE':+ return handleDelete(req, res)+ default:+ res.setHeader('Allow', ['GET', 'POST', 'PATCH', 'DELETE'])+ res.status(405).json({ error: { message: `Method ${method} Not Allowed` } })+ }+}++const handleGetAll = async (req: NextApiRequest, res: NextApiResponse) => {+ const headers = constructHeaders(req.headers)+ let response = await get(`${PG_META_URL}/schemas`, {+ headers,+ })+ if (response.error) {+ return res.status(400).json({ error: response.error })+ }+ return res.status(200).json(response)+}++const handlePost = async (req: NextApiRequest, res: NextApiResponse) => {+ const headers = constructHeaders(req.headers)+ const payload = toSnakeCase(req.body)+ const response = await post(`${PG_META_URL}/schemas`, payload, {+ headers,+ })++ if (response.error) {+ console.error('Column POST:', response.error)+ return res.status(400).json({ error: response.error })+ }++ return res.status(200).json(response)+}++const handlePatch = async (req: NextApiRequest, res: NextApiResponse) => {+ const headers = constructHeaders(req.headers)+ const payload = toSnakeCase(req.body)+ const response = await patch(`${PG_META_URL}/schemas/${req.query.id}`, payload, {+ headers,+ })++ if (response.error) {+ console.error('Column PATCH:', response)+ return res.status(400).json({ error: response.error })+ }++ return res.status(200).json(response)+}++const handleDelete = async (req: NextApiRequest, res: NextApiResponse) => {+ const headers = constructHeaders(req.headers)+ const response = await delete_(`${PG_META_URL}/schemas/${req.query.id}`, {}, { headers })++ if (response.error) {+ console.error('Column DELETE:', response.error)+ return res.status(400).json({ error: response.error })+ }++ return res.status(200).json(response)+}diff --git a/studio/pages/api/pg-meta/[ref]/tables.ts b/studio/pages/api/pg-meta/[ref]/tables.tsnew file mode 100644index 00000000000..57006401fbb--- /dev/null+++ b/studio/pages/api/pg-meta/[ref]/tables.ts@@ -0,0 +1,114 @@+import { NextApiRequest, NextApiResponse } from 'next'+import { PG_META_URL } from 'lib/constants'+import apiWrapper from 'lib/api/apiWrapper'+import { constructHeaders } from 'lib/api/apiHelpers'+import { delete_, get, patch, post } from 'lib/common/fetch'++export default (req: NextApiRequest, res: NextApiResponse) =>+ apiWrapper(req, res, handler, { withAuth: true })++async function handler(req: NextApiRequest, res: NextApiResponse) {+ const { method } = req++ switch (method) {+ case 'GET':+ if (req.query.id) return handleGetOne(req, res)+ return handleGetAll(req, res)+ case 'POST':+ return handlePost(req, res)+ case 'PATCH':+ return handlePatch(req, res)+ case 'DELETE':+ return handleDelete(req, res)+ default:+ res.setHeader('Allow', ['GET', 'POST', 'PATCH', 'DELETE'])+ res.status(405).json({ error: { message: `Method ${method} Not Allowed` } })+ }+}++const handleGetAll = async (req: NextApiRequest, res: NextApiResponse) => {+ const headers = constructHeaders(req.headers)++ const onlyAuthSchema = req.query['schema'] === 'auth'+ const onlyStorageSchema = req.query['schema'] === 'storage'++ const includeAuthSchema = true // req.query['auth-schema'] === 'true'+ const includeStorageSchema = true // req.query['storage-schema'] === 'true'++ const response = await get(`${PG_META_URL}/tables`, { headers })+ if (response.error) {+ return res.status(400).json({ error: response.error })+ }++ let tables = response || []++ if (onlyStorageSchema) {+ const storageTables = tables?.filter((x: any) => x.schema === 'storage')+ return res.status(200).json(storageTables)+ }++ if (onlyAuthSchema) {+ const authTables = tables?.filter((x: any) => x.schema === 'auth')+ return res.status(200).json(authTables)+ }++ if (!includeAuthSchema && Array.isArray(tables)) {+ tables = tables?.filter((x) => x.schema !== 'auth')+ }++ if (!includeStorageSchema && Array.isArray(tables)) {+ tables = tables?.filter((x) => x.schema !== 'storage')+ }++ return res.status(200).json(tables)+}++const handleGetOne = async (req: NextApiRequest, res: NextApiResponse) => {+ const headers = constructHeaders(req.headers)+ let response = await get(`${PG_META_URL}/tables/${req.query.id}`, {+ headers,+ })+ if (response.error) {+ return res.status(400).json({ error: response.error })+ }+ return res.status(200).json(response)+}++const handlePost = async (req: NextApiRequest, res: NextApiResponse) => {+ const headers = constructHeaders(req.headers)+ const payload = req.body+ const response = await post(`${PG_META_URL}/tables`, payload, {+ headers,+ })+ if (response.error) {+ console.error('Table POST:', response.error)+ return res.status(400).json({ error: response.error })+ }++ return res.status(200).json(response)+}++const handlePatch = async (req: NextApiRequest, res: NextApiResponse) => {+ const headers = constructHeaders(req.headers)+ const payload = req.body+ const response = await patch(`${PG_META_URL}/tables/${req.query.id}`, payload, {+ headers,+ })+ if (response.error) {+ console.error('Table PATCH:', response.error)+ return res.status(400).json({ error: response.error })+ }++ return res.status(200).json(response)+}++const handleDelete = async (req: NextApiRequest, res: NextApiResponse) => {+ const headers = constructHeaders(req.headers)+ const response = await delete_(`${PG_META_URL}/tables/${req.query.id}`, {}, { headers })+ if (response.error) {+ console.error('Table DELETE:', response.error)+ return res.status(400).json({ error: response.error })+ }++ return res.status(200).json(response)+}diff --git a/studio/pages/api/pg-meta/[ref]/triggers.ts b/studio/pages/api/pg-meta/[ref]/triggers.tsnew file mode 100644index 00000000000..ba71fcfb2bc--- /dev/null+++ b/studio/pages/api/pg-meta/[ref]/triggers.ts@@ -0,0 +1,79 @@+import { NextApiRequest, NextApiResponse } from 'next'+import apiWrapper from 'lib/api/apiWrapper'+import { constructHeaders, toSnakeCase } from 'lib/api/apiHelpers'+import { delete_, get, patch, post } from 'lib/common/fetch'+import { PG_META_URL } from 'lib/constants'++export default (req: NextApiRequest, res: NextApiResponse) =>+ apiWrapper(req, res, handler, { withAuth: true })++async function handler(req: NextApiRequest, res: NextApiResponse) {+ const { method } = req++ switch (method) {+ case 'GET':+ return handleGetAll(req, res)+ case 'POST':+ return handlePost(req, res)+ case 'PATCH':+ return handlePatch(req, res)+ case 'DELETE':+ return handleDelete(req, res)+ default:+ res.setHeader('Allow', ['GET', 'POST', 'PATCH', 'DELETE'])+ res.status(405).json({ error: { message: `Method ${method} Not Allowed` } })+ }+}++const handleGetAll = async (req: NextApiRequest, res: NextApiResponse) => {+ const headers = constructHeaders(req.headers)+ let response = await get(`${PG_META_URL}/triggers`, {+ headers,+ })+ if (response.error) {+ return res.status(400).json({ error: response.error })+ }+ return res.status(200).json(response)+}++const handlePost = async (req: NextApiRequest, res: NextApiResponse) => {+ const headers = constructHeaders(req.headers)+ const payload = toSnakeCase(req.body)+ const response = await post(`${PG_META_URL}/triggers`, payload, {+ headers,+ })++ if (response.error) {+ console.error('Trigger POST:', response.error)+ return res.status(400).json({ error: response.error })+ }++ return res.status(200).json(response)+}++const handlePatch = async (req: NextApiRequest, res: NextApiResponse) => {+ const headers = constructHeaders(req.headers)+ const payload = toSnakeCase(req.body)+ const response = await patch(`${PG_META_URL}/triggers/${req.query.id}`, payload, {+ headers,+ })++ if (response.error) {+ console.error('Trigger PATCH:', response)+ return res.status(400).json({ error: response.error })+ }++ return res.status(200).json(response)+}++const handleDelete = async (req: NextApiRequest, res: NextApiResponse) => {+ const headers = constructHeaders(req.headers)+ const response = await delete_(`${PG_META_URL}/triggers/${req.query.id}`, {}, { headers })++ if (response.error) {+ console.error('Trigger DELETE:', response.error)+ return res.status(400).json({ error: response.error })+ }++ return res.status(200).json(response)+}diff --git a/studio/pages/api/profile/index.ts b/studio/pages/api/profile/index.tsnew file mode 100644index 00000000000..c6945b970ef--- /dev/null+++ b/studio/pages/api/profile/index.ts@@ -0,0 +1,60 @@+import { NextApiRequest, NextApiResponse } from 'next'+import { IS_PLATFORM } from 'lib/constants'+import { createEncryptedDbConnectionString } from 'lib/api/apiHelpers'+import apiWrapper from 'lib/api/apiWrapper'++export default (req: NextApiRequest, res: NextApiResponse) => apiWrapper(req, res, handler)++async function handler(req: NextApiRequest, res: NextApiResponse) {+ const { method } = req++ switch (method) {+ case 'GET':+ return handleGetAll(req, res)+ default:+ res.setHeader('Allow', ['GET'])+ res.status(405).json({ data: null, error: { message: `Method ${method} Not Allowed` } })+ }+}++const handleGetAll = async (req: NextApiRequest, res: NextApiResponse) => {+ // Platform specific endpoint+ const response = {+ id: 1,+ primary_email: '[email protected]',+ username: 'johndoe',+ first_name: 'John',+ last_name: 'Doe',+ organizations: [+ {+ id: 1,+ name: 'Default Organization',+ slug: 'default-org-slug',+ billing_email: '[email protected]',+ projects: [+ {+ id: 1,+ ref: 'default',+ name: 'Default Project',+ organization_id: 1,+ cloud_provider: 'localhost',+ status: 'ACTIVE_HEALTHY',+ region: 'local',+ connectionString: IS_PLATFORM+ ? createEncryptedDbConnectionString({+ db_user_supabase: 'postgres',+ db_dns_name: undefined,+ db_host: 'localhost',+ db_pass_supabase: String(process.env.POSTGRES_PASSWORD),+ db_port: 5432,+ db_name: 'postgres',+ db_ssl: false,+ })+ : '',+ },+ ],+ },+ ],+ }+ return res.status(200).json(response)+}diff --git a/studio/pages/api/profile/password-check.ts b/studio/pages/api/profile/password-check.tsnew file mode 100644index 00000000000..46c2e932f49--- /dev/null+++ b/studio/pages/api/profile/password-check.ts@@ -0,0 +1,23 @@+import { NextApiRequest, NextApiResponse } from 'next'+import zxcvbn from 'zxcvbn'+import apiWrapper from 'lib/api/apiWrapper'++export default (req: NextApiRequest, res: NextApiResponse) => apiWrapper(req, res, handler)++async function handler(req: NextApiRequest, res: NextApiResponse) {+ const { method } = req++ switch (method) {+ case 'POST':+ return handlePost(req, res)+ default:+ res.setHeader('Allow', ['POST'])+ res.status(405).json({ data: null, error: { message: `Method ${method} Not Allowed` } })+ }+}++const handlePost = async (req: NextApiRequest, res: NextApiResponse) => {+ const { body } = req+ const result = zxcvbn(body.password)+ return res.status(200).json({ result })+}diff --git a/studio/pages/api/projects/[ref]/config.ts b/studio/pages/api/projects/[ref]/config.tsnew file mode 100644index 00000000000..c38de492862--- /dev/null+++ b/studio/pages/api/projects/[ref]/config.ts@@ -0,0 +1,35 @@+import { NextApiRequest, NextApiResponse } from 'next'+import apiWrapper from 'lib/api/apiWrapper'++export default (req: NextApiRequest, res: NextApiResponse) => apiWrapper(req, res, handler)++async function handler(req: NextApiRequest, res: NextApiResponse) {+ const { method } = req++ switch (method) {+ case 'GET':+ return handleGetAll(req, res)+ case 'PATCH':+ return handlePatch(req, res)+ default:+ res.setHeader('Allow', ['GET'])+ res.status(405).json({ data: null, error: { message: `Method ${method} Not Allowed` } })+ }+}++const handleGetAll = async (req: NextApiRequest, res: NextApiResponse) => {+ // Platform specific endpoint+ return res.status(200).json({+ db_anon_role: 'anon',+ db_extra_search_path: 'public',+ db_schema: 'public, storage',+ jwt_secret: '-',+ max_rows: 100,+ role_claim_key: '.role',+ })+}++const handlePatch = async (req: NextApiRequest, res: NextApiResponse) => {+ // Platform specific endpoint+ return res.status(200).json({})+}diff --git a/studio/pages/api/projects/[ref]/content.ts b/studio/pages/api/projects/[ref]/content.tsnew file mode 100644index 00000000000..710845e1bf2--- /dev/null+++ b/studio/pages/api/projects/[ref]/content.ts@@ -0,0 +1,54 @@+import { NextApiRequest, NextApiResponse } from 'next'+import apiWrapper from 'lib/api/apiWrapper'+import { UserContent } from 'types'++export default (req: NextApiRequest, res: NextApiResponse) => apiWrapper(req, res, handler)++async function handler(req: NextApiRequest, res: NextApiResponse) {+ const { method } = req++ switch (method) {+ case 'GET':+ return handleGetAll(req, res)+ case 'POST':+ return handlePost(req, res)+ case 'PATCH':+ return handlePatch(req, res)+ default:+ res.setHeader('Allow', ['GET', 'POST', 'PATCH'])+ res.status(405).json({ data: null, error: { message: `Method ${method} Not Allowed` } })+ }+}++const handleGetAll = async (req: NextApiRequest, res: NextApiResponse) => {+ // Platform specific endpoint+ const snippets: UserContent[] = [+ {+ id: '1',+ owner_id: 1,+ name: 'SQL Query',+ description: '',+ type: 'sql',+ visibility: 'user',+ content: {+ content_id: '1.0',+ sql: `SELECT * FROM+(SELECT version()) "version",+(SELECT current_setting('server_version_num') AS version_number) version_number;`,+ schema_version: '1',+ favorite: false,+ },+ },+ ]+ return res.status(200).json({ data: snippets })+}++const handlePost = async (req: NextApiRequest, res: NextApiResponse) => {+ // Platform specific endpoint+ return res.status(200).json({})+}++const handlePatch = async (req: NextApiRequest, res: NextApiResponse) => {+ // Platform specific endpoint+ return res.status(200).json({})+}diff --git a/studio/pages/api/projects/[ref]/daily-stats.ts b/studio/pages/api/projects/[ref]/daily-stats.tsnew file mode 100644index 00000000000..35523e117a2--- /dev/null+++ b/studio/pages/api/projects/[ref]/daily-stats.ts@@ -0,0 +1,28 @@+import { NextApiRequest, NextApiResponse } from 'next'+import apiWrapper from 'lib/api/apiWrapper'++export default (req: NextApiRequest, res: NextApiResponse) => apiWrapper(req, res, handler)++async function handler(req: NextApiRequest, res: NextApiResponse) {+ const { method } = req++ switch (method) {+ case 'GET':+ return handleGetAll(req, res)+ default:+ res.setHeader('Allow', ['GET'])+ res.status(405).json({ data: null, error: { message: `Method ${method} Not Allowed` } })+ }+}++const handleGetAll = async (req: NextApiRequest, res: NextApiResponse) => {+ // Platform specific endpoint+ const response = {+ data: [],+ yAxisLimit: 0,+ format: '%',+ totalAverage: 0,+ total: 0,+ }+ return res.status(200).json(response)+}diff --git a/studio/pages/api/projects/[ref]/infra-monitoring.ts b/studio/pages/api/projects/[ref]/infra-monitoring.tsnew file mode 100644index 00000000000..35523e117a2--- /dev/null+++ b/studio/pages/api/projects/[ref]/infra-monitoring.ts@@ -0,0 +1,28 @@+import { NextApiRequest, NextApiResponse } from 'next'+import apiWrapper from 'lib/api/apiWrapper'++export default (req: NextApiRequest, res: NextApiResponse) => apiWrapper(req, res, handler)++async function handler(req: NextApiRequest, res: NextApiResponse) {+ const { method } = req++ switch (method) {+ case 'GET':+ return handleGetAll(req, res)+ default:+ res.setHeader('Allow', ['GET'])+ res.status(405).json({ data: null, error: { message: `Method ${method} Not Allowed` } })+ }+}++const handleGetAll = async (req: NextApiRequest, res: NextApiResponse) => {+ // Platform specific endpoint+ const response = {+ data: [],+ yAxisLimit: 0,+ format: '%',+ totalAverage: 0,+ total: 0,+ }+ return res.status(200).json(response)+}diff --git a/studio/pages/api/projects/[ref]/logs.ts b/studio/pages/api/projects/[ref]/logs.tsnew file mode 100644index 00000000000..79d56c6ffa9--- /dev/null+++ b/studio/pages/api/projects/[ref]/logs.ts@@ -0,0 +1,29 @@+import { NextApiRequest, NextApiResponse } from 'next'+import apiWrapper from 'lib/api/apiWrapper'+import { get } from 'lib/common/fetch'++export default (req: NextApiRequest, res: NextApiResponse) => apiWrapper(req, res, handler)++async function handler(req: NextApiRequest, res: NextApiResponse) {+ const { method } = req++ switch (method) {+ case 'GET':+ return handleGetAll(req, res)+ default:+ res.setHeader('Allow', ['GET'])+ res.status(405).json({ data: null, error: { message: `Method ${method} Not Allowed` } })+ }+}++const handleGetAll = async (req: NextApiRequest, res: NextApiResponse) => {+ // Does studio have logs? or is this endpoint platform specific+ const internalApiKey = ''+ const { app } = req.query+ const headers = {+ apikey: internalApiKey,+ }+ const url = `${process.env.SUPABASE_URL}/admin/v1/logs/${app}/tail/10`+ const response = await get(url, headers)+ return res.status(200).json(response)+}diff --git a/studio/pages/api/projects/[ref]/usage.ts b/studio/pages/api/projects/[ref]/usage.tsnew file mode 100644index 00000000000..107a5ace541--- /dev/null+++ b/studio/pages/api/projects/[ref]/usage.ts@@ -0,0 +1,22 @@+import { NextApiRequest, NextApiResponse } from 'next'+import apiWrapper from 'lib/api/apiWrapper'++export default (req: NextApiRequest, res: NextApiResponse) => apiWrapper(req, res, handler)++async function handler(req: NextApiRequest, res: NextApiResponse) {+ const { method } = req++ switch (method) {+ case 'GET':+ return handleGetAll(req, res)+ default:+ res.setHeader('Allow', ['GET'])+ res.status(405).json({ data: null, error: { message: `Method ${method} Not Allowed` } })+ }+}++const handleGetAll = async (req: NextApiRequest, res: NextApiResponse) => {+ return res+ .status(200)+ .json({ dbSize: '888888', authUsers: '0', bucketSize: '888888', dbTables: '0' })+}diff --git a/studio/pages/api/projects/index.ts b/studio/pages/api/projects/index.tsnew file mode 100644index 00000000000..271862d9b69--- /dev/null+++ b/studio/pages/api/projects/index.ts@@ -0,0 +1,64 @@+import apiWrapper from 'lib/api/apiWrapper'+import { NextApiRequest, NextApiResponse } from 'next'++export default (req: NextApiRequest, res: NextApiResponse) => apiWrapper(req, res, handler)++async function handler(req: NextApiRequest, res: NextApiResponse) {+ const { method } = req++ switch (method) {+ case 'GET':+ return handleGetAll(req, res)+ default:+ res.setHeader('Allow', ['GET'])+ res.status(405).json({ data: null, error: { message: `Method ${method} Not Allowed` } })+ }+}++const handleGetAll = async (req: NextApiRequest, res: NextApiResponse) => {+ // Platform specific endpoint+ const response = [+ {+ id: 1,+ ref: 'default',+ name: 'Default Project',+ organization_id: 1,+ cloud_provider: 'localhost',+ status: 'ACTIVE_HEALTHY',+ region: 'local',+ connectionString: createDbConnectionString({+ db_user_supabase: 'postgres',+ db_host: 'localhost',+ db_pass_supabase: process.env.POSTGRES_PASSWORD as string,+ db_port: 5432,+ db_name: 'postgres',+ db_ssl: false,+ }),+ },+ ]+ return res.status(200).json(response)+}++/**+ * Creates a Postgres connection string using the Supabase master login.+ * Expects the passwords to be encrypted (straight from the DB)+ */+const createDbConnectionString = ({+ db_user_supabase,+ db_pass_supabase,+ db_host,+ db_port,+ db_name,+ db_ssl,+}: {+ db_user_supabase: string+ db_host: string+ db_pass_supabase: string+ db_port: number+ db_name: string+ db_ssl: boolean+}) => {+ return `postgres://${db_user_supabase}:${db_pass_supabase}@${db_host}:${db_port}/${db_name}?sslmode=${+ db_ssl ? 'require' : 'disable'+ }`+}diff --git a/studio/pages/api/projects/new.ts b/studio/pages/api/projects/new.tsnew file mode 100644index 00000000000..23053a547ff--- /dev/null+++ b/studio/pages/api/projects/new.ts@@ -0,0 +1,21 @@+import { NextApiRequest, NextApiResponse } from 'next'+import apiWrapper from 'lib/api/apiWrapper'++export default (req: NextApiRequest, res: NextApiResponse) => apiWrapper(req, res, handler)++async function handler(req: NextApiRequest, res: NextApiResponse) {+ const { method } = req++ switch (method) {+ case 'POST':+ return handlePost(req, res)+ default:+ res.setHeader('Allow', ['POST'])+ res.status(405).json({ data: null, error: { message: `Method ${method} Not Allowed` } })+ }+}++const handlePost = async (req: NextApiRequest, res: NextApiResponse) => {+ // Platform specific endpoint+ return res.status(200).json({ ref: 'default' })+}diff --git a/studio/pages/api/props/org/[slug].tsx b/studio/pages/api/props/org/[slug].tsxnew file mode 100644index 00000000000..77c19a889da--- /dev/null+++ b/studio/pages/api/props/org/[slug].tsx@@ -0,0 +1,53 @@+import { NextApiRequest, NextApiResponse } from 'next'+import apiWrapper from 'lib/api/apiWrapper'+import { Member } from 'types'++export default (req: NextApiRequest, res: NextApiResponse) => apiWrapper(req, res, handler)++async function handler(req: NextApiRequest, res: NextApiResponse) {+ const { method } = req++ switch (method) {+ case 'GET':+ return handleGetAll(req, res)+ default:+ res.setHeader('Allow', ['GET'])+ res.status(405).json({ data: null, error: { message: `Method ${method} Not Allowed` } })+ }+}++const handleGetAll = async (req: NextApiRequest, res: NextApiResponse) => {+ const owner: Member = {+ id: 1,+ is_owner: true,+ profile: {+ id: 1,+ primary_email: '[email protected]',+ username: 'mildtomato',+ },+ }+ const member: Member = {+ id: 2,+ is_owner: false,+ profile: {+ id: 2,+ primary_email: '[email protected]',+ username: 'joshen',+ },+ }+ // Platform specific endpoint+ const response = {+ members: [owner, member],+ products: [],+ customer: {+ customer: {},+ subscriptions: {},+ total_paid_projects: 0,+ total_free_projects: 0,+ total_pro_projects: 0,+ total_payg_projects: 0,+ },+ }++ return res.status(200).json(response)+}diff --git a/studio/pages/api/props/project/[ref]/api.ts b/studio/pages/api/props/project/[ref]/api.tsnew file mode 100644index 00000000000..efc2e2efacf--- /dev/null+++ b/studio/pages/api/props/project/[ref]/api.ts@@ -0,0 +1,95 @@+import { NextApiRequest, NextApiResponse } from 'next'+import apiWrapper from 'lib/api/apiWrapper'++export default (req: NextApiRequest, res: NextApiResponse) => apiWrapper(req, res, handler)++async function handler(req: NextApiRequest, res: NextApiResponse) {+ const { method } = req++ switch (method) {+ case 'GET':+ return handleGetAll(req, res)+ default:+ res.setHeader('Allow', ['GET'])+ res.status(405).json({ data: null, error: { message: `Method ${method} Not Allowed` } })+ }+}++const handleGetAll = async (req: NextApiRequest, res: NextApiResponse) => {+ // Platform specific endpoint+ const response = {+ project: {+ api_key_supabase_encrypted: '',+ db_host: 'localhost',+ db_name: 'postgres',+ db_port: 5432,+ db_ssl: false,+ db_user: 'postgres',+ id: 1,+ inserted_at: undefined,+ name: 'Default Project',+ ref: 'default',+ status: 'ACTIVE_HEALTHY',+ services: [+ {+ id: 1,+ name: 'Default API',+ project: { ref: 'default' },+ app: { id: 1, name: 'Auto API' },+ app_config: {+ db_schema: 'public',+ endpoint: 'localhost:8000',+ realtime_enabled: true,+ },+ endpoint: 'http://localhost:8000',+ restUrl: 'http://localhost:8000/rest/v1/',+ defaultApiKey: process.env.SUPABASE_ANON_KEY,+ serviceApiKey: process.env.SUPABASE_SERVICE_KEY,+ internalApiKey: process.env.SUPABASE_ANON_KEY,+ service_api_keys: [+ {+ api_key_encrypted: '-',+ name: 'service_role key',+ tags: 'service_role',+ },+ {+ api_key_encrypted: '-',+ name: 'anon key',+ tags: 'anon',+ },+ ],+ },+ ],+ },+ autoApiService: {+ id: 1,+ name: 'Default API',+ project: { ref: 'default' },+ app: { id: 1, name: 'Auto API' },+ app_config: {+ db_schema: 'public',+ endpoint: 'localhost:8000',+ realtime_enabled: true,+ },+ endpoint: 'http://localhost:8000',+ restUrl: 'http://localhost:8000/rest/v1/',+ defaultApiKey: process.env.SUPABASE_ANON_KEY,+ serviceApiKey: process.env.SUPABASE_SERVICE_KEY,+ internalApiKey: process.env.SUPABASE_ANON_KEY,+ service_api_keys: [+ {+ api_key_encrypted: '-',+ name: 'service_role key',+ tags: 'service_role',+ },+ {+ api_key_encrypted: '-',+ name: 'anon key',+ tags: 'anon',+ },+ ],+ },+ }++ return res.status(200).json(response)+}diff --git a/studio/pages/api/props/project/[ref]/index.ts b/studio/pages/api/props/project/[ref]/index.tsnew file mode 100644index 00000000000..27de041115f--- /dev/null+++ b/studio/pages/api/props/project/[ref]/index.ts@@ -0,0 +1,33 @@+import { NextApiRequest, NextApiResponse } from 'next'+import apiWrapper from 'lib/api/apiWrapper'++export default (req: NextApiRequest, res: NextApiResponse) => apiWrapper(req, res, handler)++async function handler(req: NextApiRequest, res: NextApiResponse) {+ const { method } = req++ switch (method) {+ case 'GET':+ return handleGetAll(req, res)+ default:+ res.setHeader('Allow', ['GET'])+ res.status(405).json({ data: null, error: { message: `Method ${method} Not Allowed` } })+ }+}++const handleGetAll = async (req: NextApiRequest, res: NextApiResponse) => {+ // Platform specific endpoint+ const response = {+ project: {+ id: 1,+ ref: 'default',+ name: 'Default Project',+ status: 'ACTIVE_HEALTHY',+ organization_id: 1,+ inserted_at: '2021-08-02T06:40:40.646362',+ services: [],+ },+ }++ return res.status(200).json(response)+}diff --git a/studio/pages/api/props/project/[ref]/settings.ts b/studio/pages/api/props/project/[ref]/settings.tsnew file mode 100644index 00000000000..40a18f06462--- /dev/null+++ b/studio/pages/api/props/project/[ref]/settings.ts@@ -0,0 +1,66 @@+import { NextApiRequest, NextApiResponse } from 'next'+import apiWrapper from 'lib/api/apiWrapper'++export default (req: NextApiRequest, res: NextApiResponse) => apiWrapper(req, res, handler)++async function handler(req: NextApiRequest, res: NextApiResponse) {+ const { method } = req++ switch (method) {+ case 'GET':+ return handleGetAll(req, res)+ default:+ res.setHeader('Allow', ['GET'])+ res.status(405).json({ data: null, error: { message: `Method ${method} Not Allowed` } })+ }+}++const handleGetAll = async (req: NextApiRequest, res: NextApiResponse) => {+ // Platform specific endpoint+ const response = {+ project: {+ cloud_provider: 'AWS',+ db_dns_name: '-',+ db_host: 'localhost',+ db_name: 'postgres',+ db_port: 5432,+ db_ssl: false,+ db_user: 'postgres',+ id: 1,+ inserted_at: undefined,+ jwt_secret: '-',+ name: 'Default Project',+ ref: 'default',+ region: 'ap-southeast-1',+ status: 'ACTIVE_HEALTHY',+ },+ services: [+ {+ id: 1,+ name: 'Default API',+ service_api_keys: [+ {+ api_key: process.env.SUPABASE_SERVICE_KEY,+ api_key_encrypted: '-',+ name: 'service_role key',+ tags: 'service_role',+ },+ {+ api_key: process.env.SUPABASE_ANON_KEY,+ api_key_encrypted: '-',+ name: 'anon key',+ tags: 'anon',+ },+ ],+ app: { id: 1, name: 'Auto API' },+ app_config: {+ db_schema: 'public',+ endpoint: 'localhost:8000',+ realtime_enabled: true,+ },+ },+ ],+ }++ return res.status(200).json(response)+}diff --git a/studio/pages/api/stripe/subscription.ts b/studio/pages/api/stripe/subscription.tsnew file mode 100644index 00000000000..206e1186059--- /dev/null+++ b/studio/pages/api/stripe/subscription.ts@@ -0,0 +1,36 @@+import { NextApiRequest, NextApiResponse } from 'next'+import apiWrapper from 'lib/api/apiWrapper'++export default (req: NextApiRequest, res: NextApiResponse) => apiWrapper(req, res, handler)++async function handler(req: NextApiRequest, res: NextApiResponse) {+ const { method } = req++ switch (method) {+ case 'POST':+ return handlePost(req, res)+ default:+ res.setHeader('Allow', ['POST'])+ res.status(405).json({ data: null, error: { message: `Method ${method} Not Allowed` } })+ }+}++const handlePost = async (req: NextApiRequest, res: NextApiResponse) => {+ // Platform specific endpoint+ const response = {+ data: {+ tier: {+ name: 'Self Hosted',+ prod_id: '',+ unit_amount: 0,+ },+ addons: [],+ billing: {+ billing_cycle_anchor: undefined,+ current_period_end: undefined,+ current_period_start: undefined,+ },+ },+ }+ return res.status(200).json(response)+}diff --git a/studio/pages/api/telemetry/event.ts b/studio/pages/api/telemetry/event.tsnew file mode 100644index 00000000000..4a8522d13a6--- /dev/null+++ b/studio/pages/api/telemetry/event.ts@@ -0,0 +1,22 @@+import { NextApiRequest, NextApiResponse } from 'next'+import apiWrapper from 'lib/api/apiWrapper'++export default (req: NextApiRequest, res: NextApiResponse) => apiWrapper(req, res, handler)++async function handler(req: NextApiRequest, res: NextApiResponse) {+ const { method } = req++ switch (method) {+ case 'POST':+ return handlePost(req, res)+ default:+ res.setHeader('Allow', ['POST'])+ res.status(405).json({ data: null, error: { message: `Method ${method} Not Allowed` } })+ }+}++const handlePost = async (req: NextApiRequest, res: NextApiResponse) => {+ // Platform specific endpoint+ const response = {}+ return res.status(200).json(response)+}diff --git a/studio/pages/index.tsx b/studio/pages/index.tsxnew file mode 100644index 00000000000..8ca0da82a19--- /dev/null+++ b/studio/pages/index.tsx@@ -0,0 +1,104 @@+import { NextPage } from 'next'+import { useState } from 'react'+import { observer } from 'mobx-react-lite'+import { useRouter } from 'next/router'+import { isUndefined } from 'lodash'+import { Typography } from '@supabase/ui'++import { Project } from 'types'+import { useStore, withAuth } from 'hooks'+import { post, delete_ } from 'lib/common/fetch'+import { API_URL, IS_PLATFORM, PROJECT_STATUS } from 'lib/constants'+import AccountLayout from 'components/layouts/AccountLayout'+import Landing from 'components/interfaces/Home/Landing'+import ProjectList from 'components/interfaces/Home/ProjectList'+import OrganizationDropdown from 'components/to-be-cleaned/Dropdown/OrganizationDropdown'+import TextConfirmModal from 'components/to-be-cleaned/ModalsDeprecated/TextConfirmModal'++const Home: NextPage = () => {+ const { app, ui } = useStore()+ const { profile } = ui++ const router = useRouter()++ const [isDeletingProject, setIsDeletingProject] = useState<boolean>(false)+ const [selectedProjectToDelete, setSelectedProjectToDelete] = useState<Project>()++ if (!profile) {+ return <Landing />+ }++ const onSelectDeleteProject = async (project: Project) => {+ setSelectedProjectToDelete(project)+ setIsDeletingProject(false)+ }++ const onDeleteProject = async (project?: Project) => {+ if (!project) return+ const response = await delete_(`${API_URL}/projects/${project.ref}/remove`)++ if (response.error) {+ return ui.setNotification({ category: 'error', message: response.error.message })+ }++ app.onProjectDeleted(response)+ ui.setNotification({ category: 'success', message: `Deleted ${project.name} successfully!` })++ setIsDeletingProject(false)+ setSelectedProjectToDelete(undefined)+ }++ const onRestoreProject = async (project: Project) => {+ app.onProjectUpdated({ ...project, status: PROJECT_STATUS.COMING_UP })+ await post(`${API_URL}/projects/${project.ref}/restore`, {})+ router.push(`/project/${project.ref}`)+ }++ return (+ <AccountLayout+ title="Supabase"+ // @ts-ignore+ breadcrumbs={[+ {+ key: `supabase-projects`,+ label: 'Projects',+ },+ ]}+ >+ <div className="p-4">+ {IS_PLATFORM && (+ <div className="my-2">+ <div className="flex">+ <div className="">+ <OrganizationDropdown organizations={app.organizations} />+ </div>+ </div>+ </div>+ )}+ <div className="my-8 space-y-8">+ <ProjectList onSelectDelete={onSelectDeleteProject} onSelectRestore={onRestoreProject} />+ </div>+ </div>+ <TextConfirmModal+ visible={!isUndefined(selectedProjectToDelete)}+ title="Are you absolutely sure?"+ alert="Deleting this project will also remove your database. Make sure you have made a backup if you want to keep your data."+ text={+ <span key="confirm-text">+ This action <Typography.Text strong>cannot</Typography.Text> be undone. This will+ permanently delete the{' '}+ <Typography.Text strong>{selectedProjectToDelete?.name}</Typography.Text> project and+ all of its data.+ </span>+ }+ loading={isDeletingProject}+ confirmLabel="Confirm delete"+ confirmPlaceholder="Type in name of project"+ confirmString={selectedProjectToDelete?.name}+ onCancel={() => setSelectedProjectToDelete(undefined)}+ onConfirm={() => onDeleteProject(selectedProjectToDelete)}+ />+ </AccountLayout>+ )+}+export default withAuth(observer(Home))diff --git a/studio/pages/new/[slug].tsx b/studio/pages/new/[slug].tsxnew file mode 100644index 00000000000..742c7f33ebd--- /dev/null+++ b/studio/pages/new/[slug].tsx@@ -0,0 +1,349 @@+/**+ * Org is selected, creating a new project+ */++import { useRef, useState, createContext, useContext } from 'react'+import Router, { useRouter } from 'next/router'+import { toast } from 'react-hot-toast'+import { debounce, values } from 'lodash'+import { makeAutoObservable, toJS } from 'mobx'+import { observer, useLocalObservable } from 'mobx-react-lite'+import { Dictionary } from '@supabase/grid'+import { Button, Typography, Listbox, IconUsers, IconAlertCircle } from '@supabase/ui'++import { API_URL } from 'lib/constants'+import { post } from 'lib/common/fetch'+import {+ PROVIDERS,+ REGIONS,+ REGIONS_DEFAULT,+ DEFAULT_MINIMUM_PASSWORD_STRENGTH,+ PASSWORD_STRENGTH,+ PASSWORD_STRENGTH_COLOR,+ PASSWORD_STRENGTH_PERCENTAGE,+} from 'lib/constants'++import { useStore, withAuth } from 'hooks'+import WizardLayout from 'components/layouts/WizardLayout'+import FormField from 'components/to-be-cleaned/forms/FormField'+import Panel from 'components/to-be-cleaned/Panel'+import InformationBox from 'components/ui/InformationBox'++interface IHomePageStore {+ store: any+ projectOrganizations: Dictionary<any>[]+}+class HomePageStore implements IHomePageStore {+ store: any++ constructor(store: any) {+ makeAutoObservable(this)+ this.store = store+ }++ get projectOrganizations() {+ const projects = values(this.store?.projects?.data) ?? []+ const orgIds = projects.map((x: any) => x.organization_id)+ const temp = values(this.store?.organizations?.data) ?? []+ return temp+ .filter((x: any) => orgIds.includes(x.id))+ .sort((a: any, b: any) => a.name.localeCompare(b.name))+ }+}+const PageContext = createContext<IHomePageStore>(undefined!)++export const PageLayout = () => {+ const store = useStore()+ const _pageState = useLocalObservable(() => new HomePageStore(store))++ return (+ <PageContext.Provider value={_pageState}>+ <Wizard />+ </PageContext.Provider>+ )+}++export default withAuth(observer(PageLayout))++export const Wizard = () => {+ const _pageState = useContext(PageContext)++ const router = useRouter()+ const { slug } = router.query++ const [projectName, setProjectName] = useState('')+ const [dbPass, setDbPass] = useState('')+ const [dbRegion, setDbRegion] = useState(REGIONS_DEFAULT)+ const [newProjectedLoading, setNewProjectLoading] = useState(false)+ const [passwordStrengthMessage, setPasswordStrengthMessage] = useState('')+ const [passwordStrengthWarning, setPasswordStrengthWarning] = useState('')+ const [passwordStrengthScore, setPasswordStrengthScore] = useState(0)++ const canSubmit =+ projectName != '' &&+ passwordStrengthScore >= DEFAULT_MINIMUM_PASSWORD_STRENGTH &&+ dbRegion != ''+ const passwordErrorMessage =+ dbPass != '' && passwordStrengthScore < DEFAULT_MINIMUM_PASSWORD_STRENGTH+ ? 'You need a stronger password'+ : undefined++ const delayedCheckPasswordStrength = useRef(+ debounce((value) => checkPasswordStrength(value), 300)+ ).current++ const organizations: any = Object.values(toJS(_pageState.store.app.organizations.list()))++ /*+ * Handle no org+ * redirect to new org route+ */+ if (organizations.length <= 0) {+ router.push(`/new`)+ }++ /*+ * Handle org slug redirect+ */+ const found = organizations.find((o: any) => o.slug === slug)++ /*+ * Redirect to first org if the slug doesn't match an org slug+ * this is mainly to capture the /project/new url, which is redirected from database.new+ */+ if (!found) {+ router.push(`/new/${organizations[0].slug}`)+ }++ /*+ * currentOrg can now be used for any org meta data and for creating new project+ */+ const currentOrg = organizations.find((o: any) => o.slug === slug)++ function onProjectNameChange(e: any) {+ e.target.value = e.target.value.replace(/\./g, '')+ setProjectName(e.target.value)+ }++ function onDbPassChange(e: any) {+ const value = e.target.value+ setDbPass(value)+ if (value == '') {+ setPasswordStrengthScore(-1)+ setPasswordStrengthMessage('')+ } else delayedCheckPasswordStrength(value)+ }++ function onDbRegionChange(e: any) {+ setDbRegion(e.target.value)+ }++ async function checkPasswordStrength(value: any) {+ let passwordStrength = ''+ if (value && value !== '') {+ const response = await post(`${API_URL}/profile/password-check`, { password: value })+ if (!response.error) {+ const { result } = response+ const score = (PASSWORD_STRENGTH as any)[result.score]+ const suggestions = result.feedback?.suggestions+ ? result.feedback.suggestions.join(' ')+ : ''+ passwordStrength = `${score} ${suggestions}`+ setPasswordStrengthScore(result.score)+ setPasswordStrengthWarning(result.feedback.warning ? result.feedback.warning : '')+ }+ }++ setPasswordStrengthMessage(passwordStrength)+ }++ const onClickNext = async () => {+ setNewProjectLoading(true)+ const data = {+ cloud_provider: PROVIDERS.AWS.id, // hardcoded for DB instances to be under AWS+ org_id: currentOrg.id,+ name: projectName,+ db_pass: dbPass,+ db_region: dbRegion,+ }+ const response = await post(`${API_URL}/projects/new`, data)+ if (response.error) {+ setNewProjectLoading(false)+ toast.error(response.error.message)+ } else {+ // Use redirect to reload store data properly+ // after creating a new project+ window.location.replace(`/project/${response.ref}/building`)+ }+ }++ const overProjectLimit = currentOrg?.total_free_projects >= currentOrg?.project_limit+ const sortedOrganizations = organizations.sort((a: any, b: any) => a.name.localeCompare(b.name))++ return (+ <WizardLayout organization={currentOrg} project={null}>+ <Panel+ hideHeaderStyling+ title={+ <div key="panel-title">+ <Typography.Title level={4} className="mb-0">+ Create a new project+ </Typography.Title>+ </div>+ }+ footer={+ <div key="panel-footer" className="flex items-center w-full justify-between">+ <Button type="default" onClick={() => Router.push('/')}>+ Cancel+ </Button>+ <div className="space-x-3">+ <Typography.Text type="secondary" small>+ You can rename your project later+ </Typography.Text>+ <Button+ onClick={onClickNext}+ loading={newProjectedLoading}+ disabled={newProjectedLoading || !canSubmit}+ >+ Create new project+ </Button>+ </div>+ </div>+ }+ >+ <>+ <Panel.Content className="pt-0 pb-6">+ <Typography.Text>+ Your project will have its own dedicated instance and full postgres database.+ <br />+ An API will be set up so you can easily interact with your new database.+ <br />+ </Typography.Text>+ </Panel.Content>+ <Panel.Content className="Form section-block--body has-inputs-centered border-b border-t border-panel-border-interior-light dark:border-panel-border-interior-dark space-y-4">+ <Listbox+ label="Organization"+ layout="horizontal"+ value={currentOrg?.slug}+ onChange={(slug) => router.push(`/new/${slug}`)}+ >+ {sortedOrganizations.map((x: any) => (+ <Listbox.Option+ key={x.id}+ label={x.name}+ value={x.slug}+ addOnBefore={() => <IconUsers />}+ >+ {x.name}+ </Listbox.Option>+ ))}+ </Listbox>++ {overProjectLimit && (+ <InformationBox+ icon={<IconAlertCircle className="text-white" size="large" strokeWidth={1.5} />}+ defaultVisibility={true}+ hideCollapse+ title="This organization has reached its project limit"+ description={+ <div className="space-y-3">+ <p className="text-sm leading-normal">+ This organization can only have a maximum of {currentOrg.project_limit} free+ projects. You can either upgrade pre existing projects, choose another+ organization, or create a new organization.+ </p>+ <Button type="secondary" onClick={() => router.push('/new')}>+ New organization+ </Button>+ </div>+ }+ />+ )}+ </Panel.Content>++ {!overProjectLimit && (+ <>+ <Panel.Content className="Form section-block--body has-inputs-centered border-b border-t border-panel-border-interior-light dark:border-panel-border-interior-dark">+ <FormField+ // @ts-ignore+ label="Name"+ type="text"+ placeholder="Project name"+ value={projectName}+ onChange={onProjectNameChange}+ autoFocus+ />+ </Panel.Content>++ <Panel.Content className="Form section-block--body has-inputs-centered border-b border-panel-border-interior-light dark:border-panel-border-interior-dark">+ <FormField+ // @ts-ignore+ label="Database Password"+ type="password"+ placeholder="Type in a strong password"+ value={dbPass}+ onChange={onDbPassChange}+ description={+ <>+ {dbPass && (+ <div+ aria-valuemax={100}+ aria-valuemin={0}+ aria-valuenow={+ (PASSWORD_STRENGTH_PERCENTAGE as any)[passwordStrengthScore]+ }+ aria-valuetext={+ (PASSWORD_STRENGTH_PERCENTAGE as any)[passwordStrengthScore]+ }+ role="progressbar"+ className="mb-2 bg-bg-alt-light dark:bg-bg-alt-dark rounded overflow-hidden transition-all border dark:border-dark"+ >+ <div+ style={{+ width: (PASSWORD_STRENGTH_PERCENTAGE as any)[passwordStrengthScore],+ }}+ className={`relative h-2 w-full ${+ (PASSWORD_STRENGTH_COLOR as any)[passwordStrengthScore]+ } transition-all duration-500 ease-out shadow-inner`}+ ></div>+ </div>+ )}+ <span+ className={+ passwordStrengthScore >= DEFAULT_MINIMUM_PASSWORD_STRENGTH+ ? 'text-green-600'+ : ''+ }+ >+ {passwordStrengthMessage+ ? passwordStrengthMessage+ : 'This is the password to your postgres database, so it must be a strong password and hard to guess.'}+ </span>+ </>+ }+ errorMessage={+ passwordStrengthWarning+ ? `${passwordStrengthWarning}. ${passwordErrorMessage}.`+ : passwordErrorMessage+ }+ />+ </Panel.Content>++ <Panel.Content className="Form section-block--body has-inputs-centered ">+ <FormField+ // @ts-ignore+ label="Region"+ type="select"+ choices={REGIONS}+ value={dbRegion}+ onChange={onDbRegionChange}+ description="Select a region close to you for the best performance."+ />+ </Panel.Content>+ </>+ )}+ </>+ </Panel>+ </WizardLayout>+ )+}diff --git a/studio/pages/new/index.tsx b/studio/pages/new/index.tsxnew file mode 100644index 00000000000..caf36307d65--- /dev/null+++ b/studio/pages/new/index.tsx@@ -0,0 +1,108 @@+import { useState } from 'react'+import { observer } from 'mobx-react-lite'+import { Button, Typography } from '@supabase/ui'+import { toast } from 'react-hot-toast'+import Router from 'next/router'++import { API_URL } from 'lib/constants'+import { useStore, withAuth } from 'hooks'+import { post } from 'lib/common/fetch'+import WizardLayout from 'components/layouts/WizardLayout'+import FormField from 'components/to-be-cleaned/forms/FormField'+import Panel from 'components/to-be-cleaned/Panel'++/**+ * No org selected yet, create a new one+ */+const Wizard = () => {+ const { app } = useStore()+ const [orgName, setOrgName] = useState('')+ const [newOrgLoading, setNewOrgLoading] = useState(false)++ function validateOrgName(name: any) {+ const value = name ? name.trim() : ''+ return value.length >= 1+ }++ function onOrgNameChange(e: any) {+ setOrgName(e.target.value)+ }++ async function onClickSubmit(e: any) {+ e.preventDefault()+ const isOrgNameValid = validateOrgName(orgName)+ if (!isOrgNameValid) {+ toast.error('Organization name is empty')+ return+ }++ setNewOrgLoading(true)+ const response = await post(`${API_URL}/organizations/new`, {+ name: orgName,+ })++ if (response.error) {+ setNewOrgLoading(false)+ toast.error(response.error?.message ?? response.error)+ } else {+ const org = response+ app.onOrgAdded(org)+ Router.push('/new/[slug]', `/new/${org.slug}`)+ }+ }++ return (+ <WizardLayout organization={null} project={null}>+ <Panel+ hideHeaderStyling+ title={[+ <div key="panel-title">+ <Typography.Title level={4} className="mb-0">+ Create a new organization+ </Typography.Title>+ </div>,+ ]}+ footer={[+ <div key="panel-footer" className="flex items-center w-full justify-between">+ <Button type="default" onClick={() => Router.push('/')}>+ Cancel+ </Button>+ <div className="space-x-3">+ <Typography.Text type="secondary" small>+ You can rename your organization later+ </Typography.Text>+ <Button onClick={onClickSubmit} loading={newOrgLoading} disabled={newOrgLoading}>+ Create organization+ </Button>+ </div>+ </div>,+ ]}+ >+ <Panel.Content className="pt-0">+ <Typography.Text>+ This is your organization's name within Supabase.+ <br />+ </Typography.Text>+ <Typography.Text type="secondary">+ For example, you can use the name of your company or department+ </Typography.Text>+ </Panel.Content>+ <Panel.Content className="Form section-block--body has-inputs-centered">+ <FormField+ // @ts-ignore+ label="Name"+ type="text"+ placeholder="Organization name"+ value={orgName}+ onChange={onOrgNameChange}+ description="What's the name of your company or team?"+ wrapperClasses="pb-2"+ autoFocus+ />+ </Panel.Content>+ </Panel>+ </WizardLayout>+ )+}++export default withAuth(observer(Wizard))diff --git a/studio/pages/org/[slug]/settings.tsx b/studio/pages/org/[slug]/settings.tsxnew file mode 100644index 00000000000..12cc8e989ee--- /dev/null+++ b/studio/pages/org/[slug]/settings.tsx@@ -0,0 +1,587 @@+import { createContext, useEffect, useContext, useState } from 'react'+import { useRouter } from 'next/router'+import { observer, useLocalObservable } from 'mobx-react-lite'+import { toJS } from 'mobx'+import toast from 'react-hot-toast'+import { pluckJsonSchemaFields, pluckObjectFields, timeout } from 'lib/helpers'+import { AutoField } from 'uniforms-bootstrap4'+import { organizations } from 'stores/jsonSchema'+import {+ Loading,+ Button,+ IconMoreHorizontal,+ Tabs,+ Typography,+ IconTrash,+ Alert,+ Input,+ Divider,+ Dropdown,+ Modal,+ IconSearch,+ IconAlertCircle,+} from '@supabase/ui'++import { API_URL } from 'lib/constants'+import { useOrganizationDetail, useStore, withAuth } from 'hooks'+import { post, delete_ } from 'lib/common/fetch'+import AccountLayout from 'components/layouts/AccountLayout'+import { BillingSettings, InvoicesSettings } from 'components/interfaces/Organization'++import Table from 'components/to-be-cleaned/Table'+import Panel from 'components/to-be-cleaned/Panel'+import { confirmAlert } from 'components/to-be-cleaned/ModalsDeprecated/ConfirmModal'+import InviteMemberModal from 'components/to-be-cleaned/ModalsDeprecated/InviteMemberModal'+import TextConfirmModal from 'components/to-be-cleaned/ModalsDeprecated/TextConfirmModal'+import SchemaFormPanel from 'components/to-be-cleaned/forms/SchemaFormPanel'+import { Project } from 'types'++// [Joshen] Low prio refactor: Bring out general and team settings into their own components too++const PageContext = createContext(null)++const OrgSettings = () => {+ const { app, ui } = useStore()+ const PageState: any = useLocalObservable(() => ({+ user: {} as any,+ organization: {},+ projects: [],+ members: [],+ products: [],+ membersFilterString: '',+ get isOrgOwner() {+ return (+ this.members.find((x: any) => x.profile.id === this.user?.id && x.is_owner) != undefined+ )+ },+ get filteredMembers() {+ const temp = this.members.filter((x: any) => {+ let profile = x.profile+ return (+ profile.username.includes(this.membersFilterString) ||+ profile.primary_email.includes(this.membersFilterString)+ )+ })+ return temp.sort((a: any, b: any) => a.profile.username.localeCompare(b.profile.username))+ },+ initData(organization: any, user: any, projects: any) {+ this.organization = organization+ this.user = user+ this.projects = projects+ },+ onOrgUpdated(updatedOrg: any) {+ app.onOrgUpdated(updatedOrg)+ },+ onOrgDeleted() {+ app.onOrgDeleted(this.organization)+ },+ }))++ useEffect(() => {+ const organization = ui.selectedOrganization+ const user = ui.profile+ const projects = app.projects.list((x: Project) => x.organization_id == organization?.id)+ PageState.initData(organization, user, projects)+ }, [ui.selectedOrganization, ui.profile])++ return (+ <PageContext.Provider value={PageState}>+ <PageLayout />+ </PageContext.Provider>+ )+}+export default withAuth(observer(OrgSettings))++const PageLayout = observer(() => {+ const PageState: any = useContext(PageContext)++ return (+ <AccountLayout+ title={PageState.organization.name || 'Supabase'}+ // @ts-ignore+ breadcrumbs={[+ {+ key: `org-settings`,+ label: 'Settings',+ },+ ]}+ >+ <OrganizationSettings />+ </AccountLayout>+ )+})++const OrganizationSettings = observer(() => {+ const PageState: any = useContext(PageContext)+ const { ui } = useStore()+ const {+ members,+ products,+ isError: isOrgDetailError,+ } = useOrganizationDetail(ui.selectedOrganization?.slug || '')++ useEffect(() => {+ if (!isOrgDetailError) {+ PageState.members = members ?? []+ PageState.products = products ?? []+ }+ }, [members, products, isOrgDetailError])++ return (+ <div className="p-4 pt-0">+ <TabsView />+ </div>+ )+})++const TabsView = observer(() => {+ const PageState: any = useContext(PageContext)+ const [selectedTab, setSelectedTab] = useState('GENERAL')++ return (+ <>+ <div className="space-y-3">+ <section className="mt-4">+ <Typography.Title level={3}>+ {PageState.organization.name || 'Organization'} settings+ </Typography.Title>+ </section>+ <nav className="">+ <Tabs onChange={(id: any) => setSelectedTab(id)} type="underlined">+ {/* @ts-ignore */}+ <Tabs.Panel id="GENERAL" label="General">+ <></>+ </Tabs.Panel>+ {/* @ts-ignore */}+ <Tabs.Panel id="TEAM" label="Team">+ <></>+ </Tabs.Panel>+ {/* @ts-ignore */}+ <Tabs.Panel id="BILLING" label="Billing">+ <></>+ </Tabs.Panel>+ {/* @ts-ignore */}+ <Tabs.Panel id="INVOICES" label="Invoices">+ <></>+ </Tabs.Panel>+ </Tabs>+ </nav>+ </div>++ <div className="mb-8">+ {selectedTab == 'GENERAL' ? (+ <GeneralSettings />+ ) : selectedTab == 'TEAM' ? (+ <TeamSettings />+ ) : selectedTab == 'BILLING' ? (+ <BillingSettings organization={PageState.organization} projects={PageState.projects} />+ ) : selectedTab == 'INVOICES' ? (+ <InvoicesSettings organization={PageState.organization} />+ ) : null}+ </div>+ </>+ )+})++const GeneralSettings = observer(() => {+ const PageState: any = useContext(PageContext)+ const formModel = toJS(PageState.organization)+ // remove warning null value for controlled input+ if (!formModel.billing_email) formModel.billing_email = ''+ const BASIC_FIELDS = ['name', 'billing_email']++ const handleUpdateOrg = async (model: any) => {+ const response = await post(+ `${API_URL}/organizations/${PageState.organization.slug}/update`,+ model+ )+ if (response.error) {+ toast.error(`Update organization failed: ${response.error.message}`)+ } else {+ const updatedOrg = response+ PageState.onOrgUpdated(updatedOrg)+ toast(`Settings saved`)+ }+ }++ return (+ <article className="my-4 container max-w-4xl space-y-8">+ <SchemaFormPanel+ title="General"+ schema={pluckJsonSchemaFields(organizations, BASIC_FIELDS)}+ model={formModel}+ onSubmit={(model: any) => handleUpdateOrg(pluckObjectFields(model, BASIC_FIELDS))}+ >+ <AutoField name="name" showInlineError errorMessage="Please enter an organization name" />+ <AutoField+ name="billing_email"+ showInlineError+ errorMessage="Please enter an email address"+ />+ </SchemaFormPanel>++ <OrgDeletePanel />+ </article>+ )+})++const OrgDeletePanel = observer(() => {+ const PageState: any = useContext(PageContext)++ if (!PageState.isOrgOwner) return null+ return (+ <Panel+ title={[+ <Typography.Text key="panel-title" className="uppercase">+ Danger Zone+ </Typography.Text>,+ ]}+ >+ <Panel.Content>+ <Alert+ variant="danger"+ withIcon+ // @ts-ignore+ title={[+ <Typography.Text key="alert-title">+ Deleting this organization will also remove its projects+ </Typography.Text>,+ ]}+ >+ <Typography.Text className="block mb-4">+ Make sure you have made a backup if you want to keep your data+ </Typography.Text>+ <OrgDeleteModal />+ </Alert>+ </Panel.Content>+ </Panel>+ )+})++const OrgDeleteModal = observer(() => {+ const PageState: any = useContext(PageContext)+ const router = useRouter()+ const { slug: orgSlug, name: orgName } = PageState.organization++ const [isOpen, setIsOpen] = useState(false)+ const [value, setValue] = useState('')+ const [loading, setLoading] = useState(false)++ function toggle() {+ if (loading) return+ setIsOpen(!isOpen)+ }++ async function handleOrgDelete() {+ setLoading(true)++ const response = await delete_(`${API_URL}/organizations/${orgSlug}/remove`)+ if (response.error) {+ toast.error(`Delete organization failed: ${response.error.message}`)+ setLoading(false)+ } else {+ PageState.onOrgDeleted(PageState.organization)+ router.push('/')+ }+ }++ return (+ <>+ <Button onClick={toggle} danger>+ Delete Organization+ </Button>+ <Modal+ visible={isOpen}+ onCancel={toggle}+ title="Are you absolutely sure?"+ icon={<IconAlertCircle background="red" />}+ hideFooter+ size="medium"+ closable+ >+ <Typography.Text>+ <p className="text-sm">+ This action <Typography.Text strong>cannot</Typography.Text> be undone. This will+ permanently delete the <Typography.Text strong>{orgName}</Typography.Text> organization+ and remove all of its projects.+ </p>+ <p className="text-sm">+ Please type <Typography.Text strong>{orgSlug}</Typography.Text> to confirm.+ </p>+ </Typography.Text>+ <Input+ onChange={(e) => setValue(e.target.value)}+ value={value}+ placeholder="Type in the orgnaization name"+ className="w-full"+ />+ <Button+ onClick={handleOrgDelete}+ disabled={orgSlug !== value || loading}+ loading={loading}+ size="small"+ block+ danger+ >+ I understand, delete this organization+ </Button>+ </Modal>+ </>+ )+})++const TeamSettings = observer(() => {+ const PageState: any = useContext(PageContext)+ const [isLeaving, setIsLeaving] = useState(false)++ const orgSlug = PageState.organization.slug++ const leaveTeam = async () => {+ setIsLeaving(true)+ try {+ confirmAlert({+ title: 'Are you sure?',+ message: 'Are you sure you want to leave this team? This is permanent.',+ onAsyncConfirm: async () => {+ const response = await post(`${API_URL}/organizations/${orgSlug}/members/leave`, {})+ if (response.error) {+ throw response.error+ } else {+ window?.location.replace('/') // Force reload to clear Store+ }+ },+ })+ } catch (error: any) {+ toast.error(`Error leaving: ${error?.message}`)+ } finally {+ setIsLeaving(false)+ }+ }++ return (+ <>+ <div className="my-4 container max-w-4xl space-y-8">+ <div className="flex justify-between">+ <MembersFilterInput />+ {PageState.isOrgOwner ? (+ <div>+ <InviteMemberModal+ organization={PageState.organization}+ members={PageState.members}+ />+ </div>+ ) : (+ <div>+ <Button type="secondary" onClick={() => leaveTeam()} loading={isLeaving}>+ Leave team+ </Button>+ </div>+ )}+ </div>+ </div>+ <div className="my-4 container max-w-4xl space-y-8">+ <MembersView />+ </div>+ </>+ )+})++const MembersFilterInput = observer(() => {+ const PageState: any = useContext(PageContext)++ function onFilterMemberChange(e: any) {+ PageState.membersFilterString = e.target.value+ }++ return (+ <Input+ icon={<IconSearch size="tiny" />}+ size="tiny"+ value={PageState.membersFilterString}+ onChange={onFilterMemberChange}+ name="email"+ id="email"+ placeholder="Filter members"+ />+ )+})++const MembersView = observer(() => {+ const PageState: any = useContext(PageContext)++ return (+ <div className="rounded">+ <Loading active={!PageState.filteredMembers}>+ <Table+ head={[+ <Table.th key="header-user">User</Table.th>,+ <Table.th key="header-role">Role</Table.th>,+ <Table.th key="header-action"></Table.th>,+ ]}+ body={[+ PageState.filteredMembers.map((x: any) => (+ <Table.tr key={x.id}>+ <Table.td>+ <div className="flex items-center space-x-4">+ <div>+ <img+ src={`https://github.com/${x.profile.username}.png?size=80`}+ width="40"+ className="rounded-full border border-border-secondary-light dark:border-border-secondary-dark"+ />+ </div>+ <div>+ <Typography.Text>{x.profile.username}</Typography.Text>+ <br />+ <Typography.Text type="secondary">{x.profile.primary_email}</Typography.Text>+ </div>+ </div>+ </Table.td>+ <Table.td>+ <Typography.Text type="secondary">+ {x.is_owner ? 'Owner' : 'Developer'}+ </Typography.Text>+ </Table.td>+ <Table.td>+ {PageState.isOrgOwner && !x.is_owner && (+ // @ts-ignore+ <OwnerDropdown members={PageState.members} member={x} />+ )}+ </Table.td>+ </Table.tr>+ )),+ <Table.tr+ key="footer"+ // @ts-ignore+ colSpan="3"+ className="bg-panel-secondary-light dark:bg-panel-secondary-dark"+ >+ {/* @ts-ignore */}+ <Table.td colSpan="3">+ <Typography.Text type="secondary">+ {PageState.membersFilterString ? `${PageState.filteredMembers.length} of ` : ''}+ {PageState.members.length || '0'}{' '}+ {PageState.members.length == 1 ? 'user' : 'users'}+ </Typography.Text>+ </Table.td>+ </Table.tr>,+ ]}+ />+ </Loading>+ </div>+ )+})++const OwnerDropdown = observer(({ members, member }: any) => {+ const PageState: any = useContext(PageContext)+ const { ui } = useStore()+ const { mutateOrgMembers } = useOrganizationDetail(ui.selectedOrganization?.slug || '')+ const [isOpen, setIsOpen] = useState(false)+ const [loading, setLoading] = useState(false)++ // handle modal visibility+ const [ownerTransferIsVisble, setOwnerTransferIsVisble] = useState(false)++ const { id: orgId, slug: orgSlug, stripe_customer_id, name: orgName } = PageState.organization++ function toggleDropDown() {+ setIsOpen(!isOpen)+ }++ async function handleMemberDelete() {+ setIsOpen(false)+ await timeout(200)++ confirmAlert({+ title: 'Confirm to remove',+ message: `This is permanent! Are you sure you want to remove ${member.profile.username} ?`,+ onAsyncConfirm: async () => {+ setLoading(true)+ const response = await delete_(`${API_URL}/organizations/${orgSlug}/members/remove`, {+ member_id: member.id,+ })+ if (response.error) {+ toast.error(`Delete user failed: ${response.error.message}`)+ setLoading(false)+ } else {+ const updatedMembers = members.filter((x: any) => x.id !== member.id)+ mutateOrgMembers(updatedMembers)+ toast(`Member removed`)+ }+ },+ })+ }++ async function handleTransfer() {+ setLoading(true)++ const response = await post(`${API_URL}/organizations/${orgSlug}/transfer`, {+ org_id: orgId,+ member_id: member.id,+ stripe_customer_id,+ })+ if (response.error) {+ toast.error(`Transfer ownership failed: ${response.error.message}`)+ setLoading(false)+ } else {+ const updatedMembers = [...members]+ const oldOwner = updatedMembers.find((x) => x.is_owner == true)+ if (oldOwner) oldOwner.is_owner = false+ const newOwner = updatedMembers.find((x) => x.id == member.id)+ if (newOwner) newOwner.is_owner = true+ mutateOrgMembers(updatedMembers)+ setOwnerTransferIsVisble(false)+ toast(`Organization transfered`)+ }+ }++ return (+ <div className="flex items-center justify-end">+ <Dropdown+ side="bottom"+ align="end"+ overlay={+ <>+ <Dropdown.Item onClick={() => setOwnerTransferIsVisble(!ownerTransferIsVisble)}>+ Make owner+ <Typography.Text type="secondary" small className="block mt-1">+ Transfer ownership of "{orgName}"+ </Typography.Text>+ </Dropdown.Item>+ <Divider light />+ <Dropdown.Item onClick={handleMemberDelete} icon={<IconTrash size="tiny" />}>+ Remove member+ </Dropdown.Item>+ </>+ }+ >+ <Button+ as="span"+ disabled={loading}+ loading={loading}+ type="text"+ icon={<IconMoreHorizontal />}+ ></Button>+ </Dropdown>++ <TextConfirmModal+ title="Transfer organization"+ visible={ownerTransferIsVisble}+ confirmString={orgSlug}+ loading={loading}+ confirmLabel="I understand, transfer ownership"+ confirmPlaceholder="Type in name of orgnization"+ onCancel={() => setOwnerTransferIsVisble(!ownerTransferIsVisble)}+ onConfirm={handleTransfer}+ alert="Payment methods such as credit cards will also be transferred. You may want to delete credit card information first before transferring."+ text={+ <span>+ By transferring this organization, it will be solely owned by{' '}+ <span className="dark:text-white font-medium">{member.profile.username}</span>, they+ will also be able to remove you from the organization as a member+ </span>+ }+ />+ </div>+ )+})diff --git a/studio/pages/project/[ref]/api/index.tsx b/studio/pages/project/[ref]/api/index.tsxnew file mode 100644index 00000000000..06d595bf442--- /dev/null+++ b/studio/pages/project/[ref]/api/index.tsx@@ -0,0 +1,592 @@+import useSWR, { mutate } from 'swr'+import { useRouter } from 'next/router'+import { Typography } from '@supabase/ui'+import { FC, createContext, useContext, useEffect, useState } from 'react'+import { observer, useLocalObservable } from 'mobx-react-lite'++import { API_URL } from 'lib/constants'+import { useStore, withAuth } from 'hooks'+import { get } from 'lib/common/fetch'+import { snakeToCamel } from 'lib/helpers'+import { DocsLayout } from 'components/layouts'+import Snippets from 'components/to-be-cleaned/Docs/Snippets'+import CodeSnippet from 'components/to-be-cleaned/Docs/CodeSnippet'+import Param from 'components/to-be-cleaned/Docs/Param'+import Introduction from 'components/to-be-cleaned/Docs/Pages/Introduction'+import Authentication from 'components/to-be-cleaned/Docs/Pages/Authentication'+import TablesIntroduction from 'components/to-be-cleaned/Docs/Pages/Tables/Introduction'+import UserManagement from 'components/to-be-cleaned/Docs/Pages/UserManagement'+import RpcIntroduction from 'components/to-be-cleaned/Docs/Pages/Rpc/Introduction'+import Description from 'components/to-be-cleaned/Docs/Description'++const PageContext = createContext(null)++const PageConfig = () => {+ const PageState: any = useLocalObservable(() => ({+ projectRef: '',+ jsonSchema: {},+ resources: {},+ rpcs: {},+ setJsonSchema(value: any) {+ const { paths } = value || {}+ const functionPath = 'rpc/'+ let resources: any = {}+ let rpcs: any = {}++ Object.entries(paths || []).forEach(([name, val]) => {+ let trimmed = name.substr(1)+ let id = trimmed.replace(functionPath, '')+ let displayName = id.replace(/_/g, ' ')+ let camelCase = snakeToCamel(id)+ let enriched = { id, displayName, camelCase }+ if (!trimmed.length) return+ else if (trimmed.includes(functionPath)) rpcs[id] = enriched+ else resources[id] = enriched+ })++ PageState.jsonSchema = value+ PageState.resources = resources+ PageState.rpcs = rpcs+ },+ }))++ const router = useRouter()+ const { query } = router++ const { ui } = useStore()+ const project = ui.selectedProject+ PageState.projectRef = query.ref++ return (+ <PageContext.Provider value={PageState}>+ <DocsLayout title="API">+ <DocView project={project} />+ </DocsLayout>+ </PageContext.Provider>+ )+}+export default withAuth(observer(PageConfig))++const DocView: FC<any> = observer(({}) => {+ const PageState: any = useContext(PageContext)+ const router = useRouter()+ const [selectedLang, setSelectedLang] = useState<any>('js')+ const [showApiKey, setShowApiKey] = useState<any>('')++ const { data, error }: any = useSWR(`${API_URL}/props/project/${PageState.projectRef}/api`, get)+ const API_KEY = data?.autoApiService?.internalApiKey+ const swaggerUrl = data?.autoApiService?.restUrl+ const headers: any = { apikey: API_KEY }++ if (API_KEY?.length > 40) headers['authorization'] = `Bearer ${API_KEY}`++ const { data: jsonSchema, error: jsonSchemaError } = useSWR(+ () => swaggerUrl,+ (url) => get(url, { headers, credentials: 'omit' }).then((res) => res)+ )++ useEffect(() => {+ PageState.setJsonSchema(jsonSchema)+ }, [jsonSchema])++ const refreshDocs = async () => {+ // A bit hacky calling coding this up twice - at some point we should move this function+ // and the SWR into the store.+ mutate(swaggerUrl)+ }++ if (error || jsonSchemaError)+ return (+ <div className="p-6 mx-auto sm:w-full md:w-3/4 text-center">+ <Typography.Text type="danger">+ <p>Error connecting to API</p>+ <p>{`${error || jsonSchemaError}`}</p>+ </Typography.Text>+ </div>+ )+ if (!data || !jsonSchema || !PageState.jsonSchema)+ return (+ <div className="p-6 mx-auto sm:w-full md:w-3/4 text-center">+ <Typography.Title level={3}>Building docs ...</Typography.Title>+ </div>+ )++ // Data Loaded+ const { autoApiService } = data+ const { query } = router+ const { page, resource, rpc } = query+ const { paths, definitions } = PageState.jsonSchema++ const PAGE_KEY: any = resource || rpc || page || 'index'++ return (+ <div className="Docs h-full w-full overflow-y-auto" key={PAGE_KEY}>+ <div className="Docs--inner-wrapper">+ <div className="sticky top-0 w-full flex flex-row-reverse z-40 ">+ <div+ className="border-b border-gray-500 dark:border-gray-500 bg-gray-700"+ style={{ width: '50%' }}+ >+ <div className="z-0 flex ">+ <button+ type="button"+ onClick={() => setSelectedLang('js')}+ className={`${+ selectedLang == 'js' ? 'text-gray-300' : 'text-gray-400'+ } relative inline-flex items-center p-1 px-2 bg-gray-600 border-r border-gray-500 dark:border-gray-500 text-sm font-medium hover:text-gray-300 focus:z-10 focus:outline-none focus:border-blue-300 focus:ring-blue active:bg-gray-100 active:text-gray-700 transition ease-in-out duration-150`}+ >+ JavaScript+ </button>+ <button+ type="button"+ onClick={() => setSelectedLang('bash')}+ className={`${+ selectedLang == 'bash' ? 'text-gray-300' : 'text-gray-400'+ } relative inline-flex items-center p-1 px-2 bg-gray-600 border-r border-gray-500 dark:border-gray-500 text-sm font-medium hover:text-gray-300 focus:z-10 focus:outline-none focus:border-blue-300 focus:ring-blue active:bg-gray-100 active:text-gray-700 transition ease-in-out duration-150`}+ >+ Bash+ </button>+ {selectedLang == 'bash' && (+ <div className="flex">+ <span className="text-sm text-gray-300 p-1 pl-2">Key:</span>+ <select+ className="text-sm text-gray-300 border-none cursor-pointer p-0 pl-2 pr-8"+ value={showApiKey}+ onChange={(e) => setShowApiKey(e.target.value)}+ >+ <option value="">Hide</option>+ <option value={autoApiService?.defaultApiKey}>{'anon key'}</option>+ <option value={autoApiService?.serviceApiKey}>{'service key'}</option>+ </select>+ </div>+ )}+ </div>+ </div>+ </div>+ <div className="">+ {resource ? (+ <ResourceContent+ autoApiService={autoApiService}+ selectedLang={selectedLang}+ resourceId={resource}+ resources={PageState.resources}+ definitions={definitions}+ paths={paths}+ showApiKey={showApiKey}+ refreshDocs={refreshDocs}+ />+ ) : rpc ? (+ <RpcContent+ autoApiService={autoApiService}+ selectedLang={selectedLang}+ rpcId={rpc}+ paths={paths}+ rpcs={PageState.rpcs}+ showApiKey={showApiKey}+ refreshDocs={refreshDocs}+ />+ ) : (+ <GeneralContent+ autoApiService={autoApiService}+ selectedLang={selectedLang}+ showApiKey={showApiKey}+ page={page}+ />+ )}+ </div>+ </div>+ </div>+ )+})++const GeneralContent = ({ autoApiService, selectedLang, page, showApiKey }: any) => {+ let selected = page?.toLowerCase()+ if (selected == 'intro' || selected == null)+ return <Introduction autoApiService={autoApiService} selectedLang={selectedLang} />+ if (selected == 'auth')+ return <Authentication autoApiService={autoApiService} selectedLang={selectedLang} />+ if (selected == 'users')+ return (+ <UserManagement+ autoApiService={autoApiService}+ selectedLang={selectedLang}+ showApiKey={showApiKey}+ />+ )+ if (selected == 'tables-intro')+ return <TablesIntroduction autoApiService={autoApiService} selectedLang={selectedLang} />+ if (selected == 'rpc-intro') return <RpcIntroduction />+ else+ return (+ <div>+ <h2 className="m-4">Not found</h2>+ <p className="m-4"> Looks like you went somewhere that nobody knows.</p>+ </div>+ )+}++/**+ * TODO: need to support rpc with the same name and different params type+ */+const RpcContent = ({+ autoApiService,+ rpcId,+ rpcs,+ paths,+ selectedLang,+ refreshDocs,+ showApiKey,+}: any) => {+ const meta = rpcs[rpcId]+ const pathKey = `/rpc/${rpcId}`+ const path = paths && pathKey in paths ? paths[pathKey] : undefined+ const keyToShow = !!showApiKey ? showApiKey : 'SUPABASE_KEY'++ if (!path) return null++ const {+ post: { parameters, summary },+ } = path+ const rpcParamsObject =+ parameters && parameters[0] && parameters[0].schema && parameters[0].schema.properties+ ? parameters[0].schema.properties+ : {}+ const rpcParams = Object.entries(rpcParamsObject)+ .map(([k, v]: any) => ({ name: k, ...v }))+ .filter((x) => !!x.name)+ const paramList = rpcParams.map((x) => x.type).join(', ')+ return (+ <>+ <h2 className="text-white mt-0">+ <code className="text-lg px-4 py-2">{meta.id}</code>+ </h2>++ <div className="doc-section">+ <article className="text ">+ <Description+ content={summary}+ metadata={{ rpc: `${rpcId} (${paramList})` }}+ onChange={refreshDocs}+ />+ </article>+ <article className="code">+ <CodeSnippet+ selectedLang={selectedLang}+ snippet={Snippets.rpcSingle({+ rpcName: rpcId,+ // @ts-ignore+ rpcCamelCase: meta.camelCase,+ rpcParams: rpcParams,+ apiKey: keyToShow,+ endpoint: autoApiService.endpoint,+ })}+ />+ </article>+ </div>+ {rpcParams.length > 0 && (+ <div>+ <h2 className="text-white capitalize mt-0">Function Arguments</h2>+ {rpcParams.map((x) => {+ return (+ <div className="doc-section">+ <article className="text ">+ <Param+ key={x.name}+ name={x.name}+ type={x.type}+ format={x.format}+ required={true}+ description={false}+ />+ </article>+ <article className="code"></article>+ </div>+ )+ })}+ </div>+ )}+ </>+ )+}++const ResourceContent = ({+ autoApiService,+ resourceId,+ resources,+ definitions,+ paths,+ selectedLang,+ showApiKey,+ refreshDocs,+}: any) => {+ if (!paths || !definitions) return null++ const keyToShow = !!showApiKey ? showApiKey : 'SUPABASE_KEY'+ const resourcePaths = paths[`/${resourceId}`]+ const resourceDefinition = definitions[resourceId]+ const resourceMeta = resources[resourceId]+ const description = resourceDefinition.description || null+ const methods = Object.keys(resourcePaths).map((x) => x.toUpperCase())+ const properties = Object.entries(resourceDefinition.properties || []).map(([id, val]: any) => ({+ ...val,+ id,+ required: resourceDefinition?.required?.includes(id),+ }))++ return (+ <>+ <h2 className="text-white mt-0">+ <code className="text-lg px-4 py-2">{resourceId}</code>+ </h2>++ <div className="doc-section">+ <article className="text ">+ <Description+ content={description}+ metadata={{ table: resourceId }}+ onChange={refreshDocs}+ />+ </article>+ <article className="code"></article>+ </div>+ {properties.length > 0 && (+ <div>+ <h2 className="text-white capitalize mt-0">Fields</h2>+ {properties.map((x) => (+ <div className="doc-section" key={x.id}>+ <article className="text ">+ <Param+ key={x.id}+ name={x.id}+ type={x.type}+ format={x.format}+ required={x.required}+ description={x.description}+ metadata={{+ table: resourceId,+ column: x.id,+ }}+ onDesciptionUpdated={refreshDocs}+ />+ </article>+ <article className="code">+ <CodeSnippet+ selectedLang={selectedLang}+ snippet={Snippets.readColumns({+ title: `Select ${x.id}`,+ resourceId,+ endpoint: autoApiService.endpoint,+ apiKey: keyToShow,+ columnName: x.id,+ })}+ />+ </article>+ </div>+ ))}+ </div>+ )}+ {methods.includes('GET') && (+ <>+ <h2 className="text-white mt-0">Read rows</h2>+ <div className="doc-section">+ <article className="text ">+ <p>+ To read rows in <code>{resourceId}</code>, use the <code>select</code> method.+ </p>+ <p>+ <a href="https://supabase.io/docs/client/select" target="_blank">+ Learn more.+ </a>+ </p>+ </article>+ <article className="code">+ <CodeSnippet+ selectedLang={selectedLang}+ snippet={Snippets.readAll(resourceId, autoApiService.endpoint, keyToShow)}+ />+ <CodeSnippet+ selectedLang={selectedLang}+ snippet={Snippets.readColumns({+ resourceId,+ endpoint: autoApiService.endpoint,+ apiKey: keyToShow,+ })}+ />+ <CodeSnippet+ selectedLang={selectedLang}+ snippet={Snippets.readForeignTables(resourceId, autoApiService.endpoint, keyToShow)}+ />+ <CodeSnippet+ selectedLang={selectedLang}+ snippet={Snippets.readRange(resourceId, autoApiService.endpoint, keyToShow)}+ />+ </article>+ </div>+ <div className="doc-section">+ <article className="text ">+ <h4 className="text-white mt-0">Filtering</h4>+ <p>Supabase provides a wide range of filters.</p>+ <p>+ <a href="https://supabase.io/docs/client/using-filters" target="_blank">+ Learn more.+ </a>+ </p>+ </article>+ <article className="code">+ <CodeSnippet+ selectedLang={selectedLang}+ snippet={Snippets.readFilters(resourceId, autoApiService.endpoint, keyToShow)}+ />+ </article>+ </div>+ </>+ )}+ {methods.includes('POST') && (+ <>+ <h2 className="text-white mt-0">Insert rows</h2>+ <div className="doc-section">+ <article className="text ">+ <p>+ <code>insert</code> lets you insert into your tables. You can also insert in bulk+ and do UPSERT.+ </p>+ <p>+ <code>insert</code> will also return the replaced values for UPSERT.+ </p>+ <p>+ <a href="https://supabase.io/docs/client/insert" target="_blank">+ Learn more.+ </a>+ </p>+ </article>+ <article className="code">+ <CodeSnippet+ selectedLang={selectedLang}+ snippet={Snippets.insertSingle(resourceId, autoApiService.endpoint, keyToShow)}+ />+ <CodeSnippet+ selectedLang={selectedLang}+ snippet={Snippets.insertMany(resourceId, autoApiService.endpoint, keyToShow)}+ />+ <CodeSnippet+ selectedLang={selectedLang}+ snippet={Snippets.upsert(resourceId, autoApiService.endpoint, keyToShow)}+ />+ </article>+ </div>+ </>+ )}+ {methods.includes('PATCH') && (+ <>+ <h2 className="text-white mt-0">Update rows</h2>+ <div className="doc-section">+ <article className="text ">+ <p>+ <code>update</code> lets you update rows. <code>update</code> will match all rows by+ default. You can update specific rows using horizontal filters, e.g. <code>eq</code>+ , <code>lt</code>, and <code>is</code>.+ </p>+ <p>+ <code>update</code> will also return the replaced values for UPDATE.+ </p>+ <p>+ <a href="https://supabase.io/docs/client/update" target="_blank">+ Learn more.+ </a>+ </p>+ </article>+ <article className="code">+ <CodeSnippet+ selectedLang={selectedLang}+ snippet={Snippets.update(resourceId, autoApiService.endpoint, keyToShow)}+ />+ </article>+ </div>+ </>+ )}+ {methods.includes('DELETE') && (+ <>+ <h2 className="text-white mt-0">Delete rows</h2>+ <div className="doc-section">+ <article className="text ">+ <p>+ <code>delete</code> lets you delete rows. <code>delete</code> will match all rows by+ default, so remember to specify your filters!+ </p>+ <p>+ <a href="https://supabase.io/docs/client/delete" target="_blank">+ Learn more.+ </a>+ </p>+ </article>+ <article className="code">+ <CodeSnippet+ selectedLang={selectedLang}+ snippet={Snippets.delete(resourceId, autoApiService.endpoint, keyToShow)}+ />+ </article>+ </div>+ </>+ )}+ <>+ <h2 className="text-white mt-0">Subscribe to changes</h2>+ <div className="doc-section">+ <article className="text ">+ <p>+ Supabase provides realtime functionality. Right now we recommend only using this on a+ server-side application (see our notes in the Authentication section).+ </p>+ <p>We are building advanced auth so that you can use realtime streams from anywhere.</p>+ <p>+ <a href="https://supabase.io/docs/client/subscribe" target="_blank">+ Learn more.+ </a>+ </p>+ </article>+ <article className="code">+ <CodeSnippet+ selectedLang={selectedLang}+ snippet={Snippets.subscribeAll(resourceMeta.camelCase, resourceId)}+ />+ <CodeSnippet+ selectedLang={selectedLang}+ snippet={Snippets.subscribeInserts(resourceMeta.camelCase, resourceId)}+ />+ <CodeSnippet+ selectedLang={selectedLang}+ snippet={Snippets.subscribeUpdates(resourceMeta.camelCase, resourceId)}+ />+ <CodeSnippet+ selectedLang={selectedLang}+ snippet={Snippets.subscribeDeletes(resourceMeta.camelCase, resourceId)}+ />+ <CodeSnippet+ selectedLang={selectedLang}+ snippet={Snippets.subscribeEq(+ resourceMeta.camelCase,+ resourceId,+ 'column_name',+ 'someValue'+ )}+ />+ </article>+ </div>+ </>+ <>+ <h2 className="text-white mt-0">Much more</h2>+ <div className="doc-section">+ <article className="text ">+ <p>+ These docs are a work in progress! See our{' '}+ <a href="https://supabase.io/docs/" target="_blank">+ docs+ </a>{' '}+ for the additional functionality Supabase has to offer.+ </p>+ </article>+ <article className="code"></article>+ </div>+ </>+ </>+ )+}diff --git a/studio/pages/project/[ref]/auth/index.tsx b/studio/pages/project/[ref]/auth/index.tsxnew file mode 100644index 00000000000..d8e3aa0d6be--- /dev/null+++ b/studio/pages/project/[ref]/auth/index.tsx@@ -0,0 +1,17 @@+import { NextPage } from 'next'+import { observer } from 'mobx-react-lite'++import { withAuth } from 'hooks'+import { AuthLayout } from 'components/layouts'++const Authentication: NextPage = () => {+ return (+ <AuthLayout title="Authentication">+ <>+ <h1>Use this as a template for authentication pages</h1>+ </>+ </AuthLayout>+ )+}++export default withAuth(observer(Authentication))diff --git a/studio/pages/project/[ref]/auth/policies.tsx b/studio/pages/project/[ref]/auth/policies.tsxnew file mode 100644index 00000000000..7deeffbd2cc--- /dev/null+++ b/studio/pages/project/[ref]/auth/policies.tsx@@ -0,0 +1,275 @@+import { isEmpty } from 'lodash'+import { useRouter } from 'next/router'+import React, { createContext, useContext, useState, useEffect } from 'react'+import { Button, IconSearch, Input } from '@supabase/ui'+import { observer, useLocalObservable } from 'mobx-react-lite'+import toast from 'react-hot-toast'++import { API_URL } from 'lib/constants'+import { withAuth, useStore } from 'hooks'+import { get } from 'lib/common/fetch'+import { AuthLayout } from 'components/layouts'+import NoSearchResults from 'components/to-be-cleaned/NoSearchResults'+import ConfirmModal from 'components/to-be-cleaned/ModalsDeprecated/ConfirmModalV2'+import PolicyTableRow from 'components/to-be-cleaned/Auth/PolicyTableRow'+import PolicyEditorModal from 'components/to-be-cleaned/Auth/PolicyEditorModal'++const PageContext = createContext(null)++const AuthPoliciesPage = ({}) => {+ const PageState: any = useLocalObservable(() => ({+ meta: null,+ project: null,+ policiesFilter: '',+ selectedTableId: null,+ tables: [],+ tablesLoading: true,+ get filteredTables() {+ if (!PageState.policiesFilter)+ return PageState.tables.slice().sort((a: any, b: any) => a.name.localeCompare(b.name))+ else {+ let filter = PageState.policiesFilter.toLowerCase()+ let stringSearch = (s: string) => s.toLowerCase().indexOf(filter) != -1+ return PageState.tables+ .slice()+ .filter((x: any) => {+ let searchTableName = stringSearch(x.name)+ let searchPolicyName = x.policies.some((p: any) => stringSearch(p.name))+ return searchTableName || searchPolicyName+ })+ .sort((a: any, b: any) => a.name.localeCompare(b.name))+ }+ },+ get selectedTable() {+ if (!PageState.selectedTableId) return null+ for (let i = 0; i < PageState.tables.length; i++) {+ const element: any = PageState.tables[i]+ if (element.id == PageState.selectedTableId) return element+ }+ },+ onTableUpdated(table: any) {+ for (let i = 0; i < PageState.tables.length; i++) {+ let el: any = PageState.tables[i]+ if (el.id == table.id) {+ PageState.tables[i] = { ...el, ...table }+ }+ }+ },+ }))++ const { meta, ui } = useStore()+ PageState.meta = meta as any+ PageState.project = ui.selectedProject as any++ return (+ <PageContext.Provider value={PageState}>+ <AuthLayout title="Auth">+ <div className="p-4">+ <AuthPolicies />+ </div>+ </AuthLayout>+ </PageContext.Provider>+ )+}+export default withAuth(observer(AuthPoliciesPage))++const AuthPolicies = observer(() => {+ const PageState: any = useContext(PageContext)++ const { meta } = useStore()+ const tables = meta.tables.list((table: any) => table.schema === 'public')++ useEffect(() => {+ PageState.tablesLoading = false+ PageState.tables = tables.sort((a: any, b: any) => a.name.localeCompare(b.name))+ }, [])++ return (+ <>+ <div className="mb-4">+ <div className="flex justify-between items-center">+ <div>+ <Input+ size="tiny"+ placeholder="Filter tables"+ className="block w-full text-sm placeholder-gray-400"+ value={PageState.policiesFilter}+ onChange={(e) => (PageState.policiesFilter = e.target.value)}+ icon={<IconSearch size="tiny" />}+ />+ </div>+ <Button type="link">+ <a+ target="_blank"+ href="https://supabase.io/docs/learn/auth-deep-dive/auth-row-level-security"+ >+ What is RLS?+ </a>+ </Button>+ </div>+ </div>+ <div>+ <AuthPoliciesTables />+ </div>+ </>+ )+})++const AuthPoliciesTables = observer(() => {+ const router = useRouter()+ const { meta } = useStore()+ const PageState: any = useContext(PageContext)++ const [selectedSchemaAndTable, setSelectedSchemaAndTable] = useState<any>({})+ const [selectedTableToToggleRLS, setSelectedTableToToggleRLS] = useState<any>({})+ const [selectedPolicyToEdit, setSelectedPolicyToEdit] = useState<any>({})+ const [selectedPolicyToDelete, setSelectedPolicyToDelete] = useState<any>({})++ const closePolicyEditorModal = () => {+ setSelectedPolicyToEdit({})+ setSelectedSchemaAndTable({})+ }++ const closeConfirmModal = () => {+ setSelectedPolicyToDelete({})+ setSelectedTableToToggleRLS({})+ }++ const onSelectToggleRLS = (table: any) => {+ setSelectedTableToToggleRLS(table)+ }++ const onSelectCreatePolicy = (table: any) => {+ setSelectedSchemaAndTable({ schema: table.schema, table: table.name })+ }++ const onSelectEditPolicy = (policy: any) => {+ setSelectedPolicyToEdit(policy)+ setSelectedSchemaAndTable({ schema: policy.schema, table: policy.table })+ }++ const onSelectDeletePolicy = (policy: any) => {+ setSelectedPolicyToDelete(policy)+ }++ const onSavePolicySuccess = async () => {+ toast.success('Policy successfully saved!')+ await refreshTables()+ closePolicyEditorModal()+ }++ // Methods that involve some API++ const refreshTables = async () => {+ await meta.tables.load()+ const res: any = meta.tables.list((table: any) => table.schema === 'public')+ if (!res.error) PageState.tables.replace(res)+ }++ const onToggleRLS = async () => {+ const payload = {+ id: selectedTableToToggleRLS.id,+ rls_enabled: !selectedTableToToggleRLS.rls_enabled,+ }++ const res: any = await meta.tables.update(payload.id, payload)+ // const url = `${API_URL}/database/${router.query.ref}/tables?id=${payload.id}`+ // const res = await patch(url, payload)+ if (res.error) {+ toast.error(`Failed to toggle RLS: ${res.error.message}`)+ } else {+ PageState.onTableUpdated(res)+ }+ closeConfirmModal()+ }++ const onCreatePolicy = async (payload: any) => {+ const res = await PageState.meta.policies.create(payload)+ if (res.error) {+ toast.error(`Error adding policy: ${res.error.message}`)+ return true+ }+ return false+ }++ const onUpdatePolicy = async (payload: any) => {+ const res = await PageState.meta.policies.update(payload.id, payload)+ if (res.error) {+ toast.error(`Error updating policy: ${res.error.message}`)+ return true+ }+ return false+ }++ const onDeletePolicy = async () => {+ const res = await PageState.meta.policies.del(selectedPolicyToDelete.id)+ if (res.error) {+ toast.error(`Error deleting policy: ${res.error.message}`)+ } else {+ toast.success('Successfully deleted policy!')+ }+ await refreshTables()+ closeConfirmModal()+ }++ return (+ <div>+ {PageState.filteredTables.length > 0 ? (+ PageState.filteredTables.map((table: any) => (+ <section key={table.id}>+ <PolicyTableRow+ table={table}+ // @ts-ignore+ onSelectToggleRLS={onSelectToggleRLS}+ // @ts-ignore+ onSelectCreatePolicy={onSelectCreatePolicy}+ // @ts-ignore+ onSelectEditPolicy={onSelectEditPolicy}+ // @ts-ignore+ onSelectDeletePolicy={onSelectDeletePolicy}+ />+ </section>+ ))+ ) : (+ <NoSearchResults />+ )}++ <PolicyEditorModal+ visible={!isEmpty(selectedSchemaAndTable)}+ schema={selectedSchemaAndTable.schema}+ table={selectedSchemaAndTable.table}+ selectedPolicyToEdit={selectedPolicyToEdit}+ onSelectCancel={closePolicyEditorModal}+ // @ts-ignore+ onCreatePolicy={onCreatePolicy}+ // @ts-ignore+ onUpdatePolicy={onUpdatePolicy}+ onSaveSuccess={onSavePolicySuccess}+ />++ <ConfirmModal+ danger+ visible={!isEmpty(selectedPolicyToDelete)}+ title="Confirm to delete policy"+ description={`This is permanent! Are you sure you want to delete the policy "${selectedPolicyToDelete.name}"`}+ buttonLabel="Delete"+ buttonLoadingLabel="Deleting"+ onSelectCancel={closeConfirmModal}+ onSelectConfirm={onDeletePolicy}+ />++ <ConfirmModal+ danger={selectedTableToToggleRLS.rls_enabled}+ visible={!isEmpty(selectedTableToToggleRLS)}+ title={`Confirm to ${selectedTableToToggleRLS.rls_enabled ? 'disable' : 'enable'} RLS`}+ description={`Are you sure you want to ${+ selectedTableToToggleRLS.rls_enabled ? 'disable' : 'enable'+ } row level security for the table "${selectedTableToToggleRLS.name}"?`}+ buttonLabel="Confirm"+ buttonLoadingLabel="Saving"+ onSelectCancel={closeConfirmModal}+ onSelectConfirm={onToggleRLS}+ />+ </div>+ )+})diff --git a/studio/pages/project/[ref]/auth/settings.tsx b/studio/pages/project/[ref]/auth/settings.tsxnew file mode 100644index 00000000000..4e5fb5a7f6f--- /dev/null+++ b/studio/pages/project/[ref]/auth/settings.tsx@@ -0,0 +1,861 @@+import useSWR from 'swr'+import { observer } from 'mobx-react-lite'+import { useState, useEffect } from 'react'+import { toast } from 'react-hot-toast'+import { useRouter } from 'next/router'+import { AutoField, NumField } from 'uniforms-bootstrap4'+import { Button, Divider, Typography, Toggle as UIToggle } from '@supabase/ui'++import { API_URL } from 'lib/constants'+import { withAuth, useStore } from 'hooks'+import { authConfig } from 'stores/jsonSchema'+import { get, patch } from 'lib/common/fetch'+import { pluckJsonSchemaFields } from 'lib/helpers'+import { AuthLayout } from 'components/layouts'+import Table from 'components/to-be-cleaned/Table'+import Panel from 'components/to-be-cleaned/Panel'+import Toggle from 'components/to-be-cleaned/forms/Toggle'+import ToggleField from 'components/to-be-cleaned/forms/ToggleField'+import SecretField from 'components/to-be-cleaned/forms/SecretField'+import SchemaFormPanel from 'components/to-be-cleaned/forms/SchemaFormPanel'++const SMTP_ADMIN_EMAIL = '[email protected]'++const Auth = () => {+ return (+ <AuthLayout title="Auth">+ <div className="p-4">+ <Settings />+ </div>+ </AuthLayout>+ )+}+export default withAuth(observer(Auth))++const Settings = () => {+ const router = useRouter()+ const [model, setModel] = useState<any>({})+ const [smsProviderModel, setSmsProviderModel] = useState<any>({})+ const [externalProvidersModel, setExternalProvidersModel] = useState<any>({})+ const [isCustomSMTPEnabled, setCustomSMTP] = useState<any>(false)+ const URL = `${API_URL}/auth/${router.query.ref}/config`+ const { data: config, error }: any = useSWR(URL, get)+ const { ref: projectRef } = router.query++ if (error) {+ return (+ <Typography.Text type="danger">+ <p>Error connecting to API</p>+ <p>{`${error}`}</p>+ </Typography.Text>+ )+ }++ useEffect(() => {+ if (config) {+ const temp =+ (config.SMTP_ADMIN_EMAIL && config.SMTP_ADMIN_EMAIL !== SMTP_ADMIN_EMAIL) ||+ config.SMTP_HOST ||+ config.SMTP_PORT ||+ config.SMTP_USER ||+ config.SMTP_PASS ||+ config.SMTP_SENDER_NAME+ setCustomSMTP(temp)+ }+ setModel({ ...config })+ setExternalProvidersModel({ ...config })+ }, [config])++ const onFormSubmit = async (model: any) => {+ for (const [key, value] of Object.entries(model)) {+ // remove any whitespaces in OAuth or Sms provider credentials+ if ((key.includes('EXTERNAL') || key.includes('SMS')) && typeof value === 'string') {+ model[key] = value.replace(/\s/g, '')+ }+ }+ const response = await patch(URL, model)+ if (response.error) {+ toast.error(`Update config failed: ${response.error.message}`)+ } else {+ const updates = response+ setModel({ ...updates })+ toast(`Settings saved`)+ }+ }++ /*+ * handleToggle+ *+ * This can be used for toggles that are not in a schema form+ */+ const handleToggle = async (key: any, value?: any) => {+ const payload = {+ [key]: value ? value : !model[key],+ }++ try {+ const response = await patch(URL, payload)+ if (response.error) throw response.error+ const updates = response+ setModel({ ...updates })+ toast(`Settings saved`)+ } catch (error: any) {+ toast.error(`Update config failed: ${error.message}`)+ }+ }++ const onFormReset = () => {+ setExternalProvidersModel({ ...config })+ }++ return (+ <div className="">+ <div className="my-8 mt-0">+ <SchemaFormPanel+ title="General"+ schema={pluckJsonSchemaFields(authConfig, [+ 'SITE_URL',+ 'URI_ALLOW_LIST',+ 'JWT_EXP',+ 'DISABLE_SIGNUP',+ ])}+ model={{+ SITE_URL: model.SITE_URL || undefined,+ URI_ALLOW_LIST: model.URI_ALLOW_LIST || undefined,+ DISABLE_SIGNUP: model.DISABLE_SIGNUP,+ JWT_EXP: model.JWT_EXP || undefined,+ }}+ onSubmit={(model: any) => onFormSubmit(model)}+ >+ <AutoField+ name="SITE_URL"+ showInlineError+ errorMessage="Please enter a valid site url."+ />+ <AutoField+ name="URI_ALLOW_LIST"+ showInlineError+ errorMessage="Must be a comma separated list of exact URIs. No spaces."+ />+ <NumField name="JWT_EXP" step="1" />+ <ToggleField name="DISABLE_SIGNUP" />+ </SchemaFormPanel>+ </div>+ <div className="my-8 mt-0">+ <SchemaFormPanel+ title="Email Auth"+ schema={pluckJsonSchemaFields(authConfig, [+ 'MAILER_SECURE_EMAIL_CHANGE_ENABLED',+ 'SMTP_ADMIN_EMAIL',+ 'SMTP_HOST',+ 'SMTP_PORT',+ 'SMTP_USER',+ 'SMTP_PASS',+ 'SMTP_SENDER_NAME',+ ])}+ model={{+ MAILER_SECURE_EMAIL_CHANGE_ENABLED: model.MAILER_SECURE_EMAIL_CHANGE_ENABLED,+ SMTP_ADMIN_EMAIL: isCustomSMTPEnabled ? model.SMTP_ADMIN_EMAIL : SMTP_ADMIN_EMAIL,+ SMTP_HOST: isCustomSMTPEnabled ? model.SMTP_HOST : undefined,+ SMTP_PORT: isCustomSMTPEnabled ? model.SMTP_PORT : undefined,+ SMTP_USER: isCustomSMTPEnabled ? model.SMTP_USER : undefined,+ SMTP_PASS: isCustomSMTPEnabled ? model.SMTP_PASS : undefined,+ SMTP_SENDER_NAME: isCustomSMTPEnabled ? model.SMTP_SENDER_NAME : undefined,+ }}+ onSubmit={(model: any) =>+ onFormSubmit({+ ...model,+ })+ }+ >+ <UIToggle+ layout="horizontal"+ className="mb-4"+ label={authConfig.properties.EXTERNAL_EMAIL_ENABLED.title}+ onChange={(value) => {+ handleToggle('EXTERNAL_EMAIL_ENABLED', value)+ }}+ checked={model.EXTERNAL_EMAIL_ENABLED}+ descriptionText={authConfig.properties.EXTERNAL_EMAIL_ENABLED.help}+ />++ <UIToggle+ layout="horizontal"+ className="mb-4"+ label={authConfig.properties.MAILER_SECURE_EMAIL_CHANGE_ENABLED.title}+ onChange={(value) => {+ handleToggle('MAILER_SECURE_EMAIL_CHANGE_ENABLED', value)+ }}+ checked={model.MAILER_SECURE_EMAIL_CHANGE_ENABLED}+ descriptionText={authConfig.properties.MAILER_SECURE_EMAIL_CHANGE_ENABLED.help}+ />++ <UIToggle+ layout="horizontal"+ className="mb-4"+ label={authConfig.properties.MAILER_AUTOCONFIRM.title}+ onChange={(value) => {+ handleToggle('MAILER_AUTOCONFIRM', !value)+ }}+ checked={!model.MAILER_AUTOCONFIRM}+ descriptionText={authConfig.properties.MAILER_AUTOCONFIRM.help}+ />++ <div className="form-group items-center">+ <label className="">Enable Custom SMTP</label>+ <div className="form-control flex items-center">+ <Toggle+ onToggle={() => {+ /*+ * temporary solution+ * clear the values of SMTP when toggling+ */+ onFormSubmit({+ SMTP_ADMIN_EMAIL: SMTP_ADMIN_EMAIL,+ SMTP_HOST: null,+ SMTP_PORT: null,+ SMTP_USER: null,+ SMTP_PASS: null,+ SMTP_SENDER_NAME: null,+ })++ setCustomSMTP(!isCustomSMTPEnabled)+ }}+ isOn={isCustomSMTPEnabled}+ />+ </div>+ </div>+ {isCustomSMTPEnabled && (+ <>+ <AutoField+ name="SMTP_ADMIN_EMAIL"+ showInlineError+ errorMessage="Please enter from email address."+ />+ <AutoField name="SMTP_HOST" showInlineError errorMessage="Please enter host." />+ <AutoField name="SMTP_PORT" showInlineError errorMessage="Please enter port." />+ <AutoField name="SMTP_USER" showInlineError errorMessage="Please enter user." />+ <SecretField name="SMTP_PASS" errorMessage="Please enter password." />+ <AutoField+ name="SMTP_SENDER_NAME"+ showInlineError+ errorMessage="Please enter from name."+ />+ </>+ )}+ </SchemaFormPanel>+ </div>++ <div className="my-8 mt-0">+ <SchemaFormPanel+ title="Phone Auth"+ schema={pluckJsonSchemaFields(authConfig, [+ 'SMS_PROVIDER',+ 'SMS_TWILIO_ACCOUNT_SID',+ 'SMS_TWILIO_AUTH_TOKEN',+ 'SMS_TWILIO_MESSAGE_SERVICE_SID',+ 'SMS_MESSAGEBIRD_ORIGINATOR',+ 'SMS_MESSAGEBIRD_ACCESS_KEY',+ ])}+ model={{+ SMS_PROVIDER: model.SMS_PROVIDER,+ SMS_TWILIO_ACCOUNT_SID: model.SMS_TWILIO_ACCOUNT_SID || undefined,+ SMS_TWILIO_AUTH_TOKEN: model.SMS_TWILIO_AUTH_TOKEN || undefined,+ SMS_TWILIO_MESSAGE_SERVICE_SID: model.SMS_TWILIO_MESSAGE_SERVICE_SID || undefined,+ SMS_MESSAGEBIRD_ORIGINATOR: model.SMS_MESSAGEBIRD_ORIGINATOR || undefined,+ SMS_MESSAGEBIRD_ACCESS_KEY: model.SMS_MESSAGEBIRD_ACCESS_KEY || undefined,+ }}+ onChangeModel={(model: any) => setSmsProviderModel(model)}+ onSubmit={(model: any) => onFormSubmit(model)}+ >+ <>+ <UIToggle+ layout="horizontal"+ className="mb-4"+ label={authConfig.properties.EXTERNAL_PHONE_ENABLED.title}+ onChange={() => {+ handleToggle('EXTERNAL_PHONE_ENABLED')+ }}+ checked={model.EXTERNAL_PHONE_ENABLED}+ descriptionText={authConfig.properties.EXTERNAL_PHONE_ENABLED.help}+ />++ {model.EXTERNAL_PHONE_ENABLED && (+ <>+ <AutoField+ name="SMS_PROVIDER"+ showInlineError+ errorMessage="Please enter the phone provider."+ />+ {smsProviderModel?.SMS_PROVIDER === 'messagebird' ? (+ <>+ <SecretField+ name="SMS_MESSAGEBIRD_ACCESS_KEY"+ showInlineError+ errorMessage="Please enter the messagebird access key."+ />+ <AutoField+ name="SMS_MESSAGEBIRD_ORIGINATOR"+ showInlineError+ errorMessage="Please enter the messagebird originator."+ />+ </>+ ) : (+ <>+ <AutoField+ name="SMS_TWILIO_ACCOUNT_SID"+ showInlineError+ errorMessage="Please enter the twilio account sid."+ />+ <SecretField+ name="SMS_TWILIO_AUTH_TOKEN"+ showInlineError+ errorMessage="Please enter the twilio auth token."+ />+ <AutoField+ name="SMS_TWILIO_MESSAGE_SERVICE_SID"+ showInlineError+ errorMessage="Please enter the twilio message service sid."+ />+ </>+ )}+ </>+ )}+ <UIToggle+ layout="horizontal"+ label={authConfig.properties.SMS_AUTOCONFIRM.title}+ onChange={() => {+ handleToggle('SMS_AUTOCONFIRM')+ }}+ checked={model.SMS_AUTOCONFIRM}+ descriptionText={authConfig.properties.SMS_AUTOCONFIRM.help}+ />+ </>+ </SchemaFormPanel>+ </div>+ <div className="my-8 mt-0">+ <SchemaFormPanel+ title="External OAuth Providers"+ schema={pluckJsonSchemaFields(authConfig, [+ 'EXTERNAL_APPLE_ENABLED',+ 'EXTERNAL_APPLE_CLIENT_ID',+ 'EXTERNAL_APPLE_SECRET',+ 'EXTERNAL_AZURE_ENABLED',+ 'EXTERNAL_AZURE_CLIENT_ID',+ 'EXTERNAL_AZURE_SECRET',+ 'EXTERNAL_BITBUCKET_ENABLED',+ 'EXTERNAL_BITBUCKET_CLIENT_ID',+ 'EXTERNAL_BITBUCKET_SECRET',+ 'EXTERNAL_DISCORD_ENABLED',+ 'EXTERNAL_DISCORD_CLIENT_ID',+ 'EXTERNAL_DISCORD_SECRET',+ 'EXTERNAL_FACEBOOK_ENABLED',+ 'EXTERNAL_FACEBOOK_CLIENT_ID',+ 'EXTERNAL_FACEBOOK_SECRET',+ 'EXTERNAL_GOOGLE_ENABLED',+ 'EXTERNAL_GOOGLE_CLIENT_ID',+ 'EXTERNAL_GOOGLE_SECRET',+ 'EXTERNAL_GITHUB_ENABLED',+ 'EXTERNAL_GITHUB_CLIENT_ID',+ 'EXTERNAL_GITHUB_SECRET',+ 'EXTERNAL_GITLAB_ENABLED',+ 'EXTERNAL_GITLAB_CLIENT_ID',+ 'EXTERNAL_GITLAB_SECRET',+ 'EXTERNAL_TWITCH_ENABLED',+ 'EXTERNAL_TWITCH_CLIENT_ID',+ 'EXTERNAL_TWITCH_SECRET',+ 'EXTERNAL_TWITTER_ENABLED',+ 'EXTERNAL_TWITTER_CLIENT_ID',+ 'EXTERNAL_TWITTER_SECRET',+ 'EXTERNAL_SLACK_ENABLED',+ 'EXTERNAL_SLACK_CLIENT_ID',+ 'EXTERNAL_SLACK_SECRET',+ 'EXTERNAL_SPOTIFY_ENABLED',+ 'EXTERNAL_SPOTIFY_CLIENT_ID',+ 'EXTERNAL_SPOTIFY_SECRET',+ ])}+ model={{+ EXTERNAL_APPLE_ENABLED: model.EXTERNAL_APPLE_ENABLED,+ EXTERNAL_APPLE_CLIENT_ID: model.EXTERNAL_APPLE_CLIENT_ID || undefined,+ EXTERNAL_APPLE_SECRET: model.EXTERNAL_APPLE_SECRET || undefined,+ EXTERNAL_AZURE_ENABLED: model.EXTERNAL_AZURE_ENABLED,+ EXTERNAL_AZURE_CLIENT_ID: model.EXTERNAL_AZURE_CLIENT_ID || undefined,+ EXTERNAL_AZURE_SECRET: model.EXTERNAL_AZURE_SECRET || undefined,+ EXTERNAL_BITBUCKET_ENABLED: model.EXTERNAL_BITBUCKET_ENABLED,+ EXTERNAL_BITBUCKET_CLIENT_ID: model.EXTERNAL_BITBUCKET_CLIENT_ID || undefined,+ EXTERNAL_BITBUCKET_SECRET: model.EXTERNAL_BITBUCKET_SECRET || undefined,+ EXTERNAL_DISCORD_ENABLED: model.EXTERNAL_DISCORD_ENABLED,+ EXTERNAL_DISCORD_CLIENT_ID: model.EXTERNAL_DISCORD_CLIENT_ID || undefined,+ EXTERNAL_DISCORD_SECRET: model.EXTERNAL_DISCORD_SECRET || undefined,+ EXTERNAL_FACEBOOK_ENABLED: model.EXTERNAL_FACEBOOK_ENABLED,+ EXTERNAL_FACEBOOK_CLIENT_ID: model.EXTERNAL_FACEBOOK_CLIENT_ID || undefined,+ EXTERNAL_FACEBOOK_SECRET: model.EXTERNAL_FACEBOOK_SECRET || undefined,+ EXTERNAL_GITHUB_ENABLED: model.EXTERNAL_GITHUB_ENABLED,+ EXTERNAL_GITHUB_CLIENT_ID: model.EXTERNAL_GITHUB_CLIENT_ID || undefined,+ EXTERNAL_GITHUB_SECRET: model.EXTERNAL_GITHUB_SECRET || undefined,+ EXTERNAL_GITLAB_ENABLED: model.EXTERNAL_GITLAB_ENABLED,+ EXTERNAL_GITLAB_CLIENT_ID: model.EXTERNAL_GITLAB_CLIENT_ID || undefined,+ EXTERNAL_GITLAB_SECRET: model.EXTERNAL_GITLAB_SECRET || undefined,+ EXTERNAL_GOOGLE_ENABLED: model.EXTERNAL_GOOGLE_ENABLED,+ EXTERNAL_GOOGLE_CLIENT_ID: model.EXTERNAL_GOOGLE_CLIENT_ID || undefined,+ EXTERNAL_GOOGLE_SECRET: model.EXTERNAL_GOOGLE_SECRET || undefined,+ EXTERNAL_TWITCH_ENABLED: model.EXTERNAL_TWITCH_ENABLED,+ EXTERNAL_TWITCH_CLIENT_ID: model.EXTERNAL_TWITCH_CLIENT_ID || undefined,+ EXTERNAL_TWITCH_SECRET: model.EXTERNAL_TWITCH_SECRET || undefined,+ EXTERNAL_TWITTER_ENABLED: model.EXTERNAL_TWITTER_ENABLED,+ EXTERNAL_TWITTER_CLIENT_ID: model.EXTERNAL_TWITTER_CLIENT_ID || undefined,+ EXTERNAL_TWITTER_SECRET: model.EXTERNAL_TWITTER_SECRET || undefined,+ EXTERNAL_SLACK_ENABLED: model.EXTERNAL_SLACK_ENABLED,+ EXTERNAL_SLACK_CLIENT_ID: model.EXTERNAL_SLACK_CLIENT_ID || undefined,+ EXTERNAL_SLACK_SECRET: model.EXTERNAL_SLACK_SECRET || undefined,+ EXTERNAL_SPOTIFY_ENABLED: model.EXTERNAL_SPOTIFY_ENABLED,+ EXTERNAL_SPOTIFY_CLIENT_ID: model.EXTERNAL_SPOTIFY_CLIENT_ID || undefined,+ EXTERNAL_SPOTIFY_SECRET: model.EXTERNAL_SPOTIFY_SECRET || undefined,+ }}+ onChangeModel={(model) => setExternalProvidersModel(model)}+ onReset={() => onFormReset()}+ onSubmit={(model: any) => onFormSubmit(model)}+ >+ <ToggleField+ name="EXTERNAL_APPLE_ENABLED"+ addOns={+ externalProvidersModel.EXTERNAL_APPLE_ENABLED && (+ <a+ className="pl-4 text-gray-400"+ href="https://developer.apple.com/account/resources/identifiers/add/bundleId"+ target="_blank"+ >+ Create new credentials+ </a>+ )+ }+ />+ {externalProvidersModel.EXTERNAL_APPLE_ENABLED && (+ <>+ <AutoField+ name="EXTERNAL_APPLE_CLIENT_ID"+ showInlineError+ errorMessage="Please enter the client id."+ />+ <SecretField+ name="EXTERNAL_APPLE_SECRET"+ showInlineError+ errorMessage="Please enter the secret."+ />+ </>+ )}+ <Divider light />+ <ToggleField+ name="EXTERNAL_AZURE_ENABLED"+ addOns={+ externalProvidersModel.EXTERNAL_AZURE_ENABLED && (+ <a+ className="pl-4 text-gray-400"+ href="https://docs.microsoft.com/en-us/azure/active-directory/develop/quickstart-register-app"+ target="_blank"+ >+ Create new credentials+ </a>+ )+ }+ />+ {externalProvidersModel.EXTERNAL_AZURE_ENABLED && (+ <>+ <AutoField+ name="EXTERNAL_AZURE_CLIENT_ID"+ showInlineError+ errorMessage="Please enter the client id."+ />+ <SecretField+ name="EXTERNAL_AZURE_SECRET"+ showInlineError+ errorMessage="Please enter the secret."+ />+ </>+ )}+ <Divider light />+ <ToggleField+ name="EXTERNAL_BITBUCKET_ENABLED"+ addOns={+ externalProvidersModel.EXTERNAL_BITBUCKET_ENABLED && (+ <a+ className="pl-4 text-gray-400"+ href="https://support.atlassian.com/bitbucket-cloud/docs/use-oauth-on-bitbucket-cloud/"+ target="_blank"+ >+ Create new credentials+ </a>+ )+ }+ />+ {externalProvidersModel.EXTERNAL_BITBUCKET_ENABLED && (+ <>+ <AutoField+ name="EXTERNAL_BITBUCKET_CLIENT_ID"+ showInlineError+ errorMessage="Please enter the client id."+ />+ <SecretField+ name="EXTERNAL_BITBUCKET_SECRET"+ showInlineError+ errorMessage="Please enter the secret."+ />+ </>+ )}+ <Divider light />+ <ToggleField+ name="EXTERNAL_DISCORD_ENABLED"+ addOns={+ externalProvidersModel.EXTERNAL_DISCORD_ENABLED && (+ <a+ className="pl-4 text-gray-400"+ href="https://discord.com/developers/applications#top"+ target="_blank"+ >+ Create new credentials+ </a>+ )+ }+ />+ {externalProvidersModel.EXTERNAL_DISCORD_ENABLED && (+ <>+ <AutoField+ name="EXTERNAL_DISCORD_CLIENT_ID"+ showInlineError+ errorMessage="Please enter the client id."+ />+ <SecretField+ name="EXTERNAL_DISCORD_SECRET"+ showInlineError+ errorMessage="Please enter the secret."+ />+ </>+ )}+ <Divider light />+ <ToggleField+ name="EXTERNAL_FACEBOOK_ENABLED"+ addOns={+ externalProvidersModel.EXTERNAL_FACEBOOK_ENABLED && (+ <a+ className="pl-4 text-gray-400"+ href="https://developers.facebook.com/apps/"+ target="_blank"+ >+ Create new credentials+ </a>+ )+ }+ />+ {externalProvidersModel.EXTERNAL_FACEBOOK_ENABLED && (+ <>+ <AutoField+ name="EXTERNAL_FACEBOOK_CLIENT_ID"+ showInlineError+ errorMessage="Please enter the client id."+ />+ <SecretField+ name="EXTERNAL_FACEBOOK_SECRET"+ showInlineError+ errorMessage="Please enter the secret."+ />+ </>+ )}+ <Divider light />+ <ToggleField+ name="EXTERNAL_GITHUB_ENABLED"+ addOns={+ externalProvidersModel.EXTERNAL_GITHUB_ENABLED && (+ <a+ className="pl-4 text-gray-400"+ href="https://github.com/settings/applications/new"+ target="_blank"+ >+ Create new credentials+ </a>+ )+ }+ />+ {externalProvidersModel.EXTERNAL_GITHUB_ENABLED && (+ <>+ <AutoField+ name="EXTERNAL_GITHUB_CLIENT_ID"+ showInlineError+ errorMessage="Please enter the client id."+ />+ <SecretField+ name="EXTERNAL_GITHUB_SECRET"+ showInlineError+ errorMessage="Please enter the secret."+ />+ </>+ )}+ <Divider light />+ <ToggleField+ name="EXTERNAL_GITLAB_ENABLED"+ addOns={+ externalProvidersModel.EXTERNAL_GITLAB_ENABLED && (+ <a+ className="pl-4 text-gray-400"+ href="https://gitlab.com/oauth/applications"+ target="_blank"+ >+ Create new credentials+ </a>+ )+ }+ />+ {externalProvidersModel.EXTERNAL_GITLAB_ENABLED && (+ <>+ <AutoField+ name="EXTERNAL_GITLAB_CLIENT_ID"+ showInlineError+ errorMessage="Please enter the client id."+ />+ <SecretField+ name="EXTERNAL_GITLAB_SECRET"+ showInlineError+ errorMessage="Please enter the secret."+ />+ </>+ )}+ <Divider light />+ <ToggleField+ name="EXTERNAL_GOOGLE_ENABLED"+ addOns={+ externalProvidersModel.EXTERNAL_GOOGLE_ENABLED && (+ <a+ className="pl-4 text-gray-400"+ href="https://console.developers.google.com/apis/credentials"+ target="_blank"+ >+ Create new credentials+ </a>+ )+ }+ />+ {externalProvidersModel.EXTERNAL_GOOGLE_ENABLED && (+ <>+ <AutoField+ name="EXTERNAL_GOOGLE_CLIENT_ID"+ showInlineError+ errorMessage="Please enter the client id."+ />+ <SecretField+ name="EXTERNAL_GOOGLE_SECRET"+ showInlineError+ errorMessage="Please enter the secret."+ />+ </>+ )}+ <Divider light />+ <ToggleField+ name="EXTERNAL_TWITCH_ENABLED"+ addOns={+ externalProvidersModel.EXTERNAL_TWITCH_ENABLED && (+ <a+ className="pl-4 text-gray-400"+ href="https://dev.twitch.tv/console"+ target="_blank"+ >+ Create new credentials+ </a>+ )+ }+ />+ {externalProvidersModel.EXTERNAL_TWITCH_ENABLED && (+ <>+ <AutoField+ name="EXTERNAL_TWITCH_CLIENT_ID"+ showInlineError+ errorMessage="Please enter the client id."+ />+ <SecretField+ name="EXTERNAL_TWITCH_SECRET"+ showInlineError+ errorMessage="Please enter the secret."+ />+ </>+ )}+ <Divider light />+ <ToggleField+ name="EXTERNAL_TWITTER_ENABLED"+ addOns={+ externalProvidersModel.EXTERNAL_TWITTER_ENABLED && (+ <a+ className="pl-4 text-gray-400"+ href="https://developer.twitter.com/en/portal/dashboard"+ target="_blank"+ >+ Create new credentials+ </a>+ )+ }+ />+ {externalProvidersModel.EXTERNAL_TWITTER_ENABLED && (+ <>+ <AutoField+ name="EXTERNAL_TWITTER_CLIENT_ID"+ showInlineError+ errorMessage="Please enter the client id."+ />+ <SecretField+ name="EXTERNAL_TWITTER_SECRET"+ showInlineError+ errorMessage="Please enter the secret."+ />+ </>+ )}+ <Divider light />+ <ToggleField+ name="EXTERNAL_SLACK_ENABLED"+ addOns={+ externalProvidersModel.EXTERNAL_SLACK_ENABLED && (+ <a className="pl-4 text-gray-400" href="https://api.slack.com/apps" target="_blank">+ Create new credentials+ </a>+ )+ }+ />+ {externalProvidersModel.EXTERNAL_SLACK_ENABLED && (+ <>+ <AutoField+ name="EXTERNAL_SLACK_CLIENT_ID"+ showInlineError+ errorMessage="Please enter the client id."+ />+ <SecretField+ name="EXTERNAL_SLACK_SECRET"+ showInlineError+ errorMessage="Please enter the secret."+ />+ </>+ )}+ <Divider light />+ <ToggleField+ name="EXTERNAL_SPOTIFY_ENABLED"+ addOns={+ externalProvidersModel.EXTERNAL_SPOTIFY_ENABLED && (+ <a+ className="pl-4 text-gray-400"+ href="https://developer.spotify.com/dashboard/"+ target="_blank"+ >+ Create new credentials+ </a>+ )+ }+ />+ {externalProvidersModel.EXTERNAL_SPOTIFY_ENABLED && (+ <>+ <AutoField+ name="EXTERNAL_SPOTIFY_CLIENT_ID"+ showInlineError+ errorMessage="Please enter the client id."+ />+ <SecretField+ name="EXTERNAL_SPOTIFY_SECRET"+ showInlineError+ errorMessage="Please enter the secret."+ />+ </>+ )}+ </SchemaFormPanel>+ </div>++ <div className="my-8 mt-0">+ {config && (+ <AuditLog interval={config.isFreeTier ? '1 hour' : '7 days'} projectRef={projectRef} />+ )}+ </div>+ </div>+ )+}++const AuditLog = ({ interval, projectRef }: any) => {+ const { meta } = useStore()+ const [logs, setLogs] = useState<any>([])+ const [isLoading, setIsLoading] = useState<any>(false)++ const refreshLogs = async () => {+ setIsLoading(true)+ try {+ let query = `+ SELECT+ *+ FROM+ auth.audit_log_entries+ WHERE+ created_at > CURRENT_TIMESTAMP - interval '${interval}'+ ORDER BY+ created_at DESC+ LIMIT 1000;+ `+ const response = await meta.query(query)+ if (response.error) throw response.error+ setLogs(response)+ } catch (error) {+ console.error('Refresh logs error:', error)+ } finally {+ setIsLoading(false)+ }+ }++ useEffect(() => {+ refreshLogs()+ }, [])++ if (!logs.length) return <div></div>+ const cellCss = 'table-cell px-4 py-3 text-gray-200 font-mono text-xs'+ return (+ <Panel+ title={+ <div className=" w-full flex items-center justify-between">+ <Typography.Title level={5} className="flex-1 block">+ Audit Trail+ </Typography.Title>+ <div className="flex-1 text-right">+ <Button+ type="outline"+ className="hover:border-gray-400"+ disabled={isLoading}+ loading={isLoading}+ onClick={() => refreshLogs()}+ >+ Refresh+ </Button>+ </div>+ </div>+ }+ >+ <Table+ borderless+ head={+ <>+ <Table.th>Time</Table.th>+ <Table.th>Action</Table.th>+ <Table.th>User ID</Table.th>+ <Table.th>Identity</Table.th>+ </>+ }+ body={logs.map((x: any, i: number) => (+ <Table.tr key={x.id} className={`${i % 2 ? '' : 'bg-gray-500'}`}>+ <Table.td className={cellCss}>+ <Typography.Text>{x.payload.timestamp.replace('T', ' ')}</Typography.Text>+ </Table.td>+ <Table.td className={cellCss + ''}>+ <Typography.Text>{x.payload.action}</Typography.Text>+ </Table.td>+ <Table.td className={cellCss}>+ <Typography.Text>{x.payload.actor_id || x.payload.traits?.user_id}</Typography.Text>+ </Table.td>+ <Table.td className={cellCss}>+ <Typography.Text>+ {x.payload.actor_username || x.payload.traits?.user_email}+ </Typography.Text>+ </Table.td>+ </Table.tr>+ ))}+ />+ </Panel>+ )+}diff --git a/studio/pages/project/[ref]/auth/templates.tsx b/studio/pages/project/[ref]/auth/templates.tsxnew file mode 100644index 00000000000..cdf7368839b--- /dev/null+++ b/studio/pages/project/[ref]/auth/templates.tsx@@ -0,0 +1,220 @@+import semver from 'semver'+import { FC } from 'react'+import { toJS } from 'mobx'+import { observer } from 'mobx-react-lite'+import { useRouter } from 'next/router'+import { toast } from 'react-hot-toast'+import { Typography } from '@supabase/ui'+import { AutoField, LongTextField } from 'uniforms-bootstrap4'++import { API_URL } from 'lib/constants'+import { withAuth, useStore, useProjectAuthConfig } from 'hooks'+import { pluckJsonSchemaFields } from 'lib/helpers'+import { patch } from 'lib/common/fetch'+import { authConfig } from 'stores/jsonSchema'+import { AuthLayout } from 'components/layouts'+import SchemaFormPanel from 'components/to-be-cleaned/forms/SchemaFormPanel'++const Auth = () => {+ const { ui } = useStore()+ const project = ui.selectedProject++ return (+ <AuthLayout title="Auth">+ <div className="p-4">+ <Templates project={project} />+ </div>+ </AuthLayout>+ )+}+export default withAuth(observer(Auth))++const Templates: FC<any> = observer(({ project }) => {+ const router = useRouter()+ const magicLinkEnable = semver.gte(+ // @ts-ignore+ semver.coerce(toJS(project?.kpsVersion) || 'kps-v0.0.1'),+ semver.coerce('kps-v2.5.3')+ )++ const { config, error, mutateAuthConfig } = useProjectAuthConfig(project.ref)+ if (error) {+ return (+ <Typography.Text type="danger">+ <p>Error connecting to API</p>+ <p>{`${error}`}</p>+ </Typography.Text>+ )+ }++ let model: any = { ...config }++ const onFormSubmit = async (model: any) => {+ const response = await patch(`${API_URL}/auth/${router.query.ref}/config`, model)+ if (response.error) {+ toast.error(`Update config failed: ${response.error.message}`)+ } else {+ mutateAuthConfig(response)+ toast(`Settings saved`)+ }+ }++ return (+ <div className="">+ <div className="my-8 mt-0">+ <SchemaFormPanel+ title="SMS Message"+ schema={pluckJsonSchemaFields(authConfig, ['SMS_TEMPLATE'])}+ model={{+ SMS_TEMPLATE: model.SMS_TEMPLATE,+ }}+ onSubmit={(model: any) => onFormSubmit(model)}+ >+ <AutoField+ name="SMS_TEMPLATE"+ showInlineError+ inputClassName="font-mono"+ errorMessage="Please enter an sms body."+ />+ </SchemaFormPanel>+ </div>+ <div className="my-8">+ <SchemaFormPanel+ title="Confirm Signup"+ schema={pluckJsonSchemaFields(authConfig, [+ 'MAILER_SUBJECTS_CONFIRMATION',+ 'MAILER_TEMPLATES_CONFIRMATION_CONTENT',+ ])}+ model={{+ MAILER_SUBJECTS_CONFIRMATION: model.MAILER_SUBJECTS_CONFIRMATION,+ MAILER_TEMPLATES_CONFIRMATION_CONTENT: model.MAILER_TEMPLATES_CONFIRMATION_CONTENT,+ }}+ onSubmit={(model: any) => onFormSubmit(model)}+ >+ <AutoField+ name="MAILER_SUBJECTS_CONFIRMATION"+ showInlineError+ errorMessage="Please enter a subject."+ />+ <LongTextField+ name="MAILER_TEMPLATES_CONFIRMATION_CONTENT"+ rows={6}+ showInlineError+ inputClassName="font-mono"+ errorMessage="Please enter an email body."+ />+ </SchemaFormPanel>+ </div>+ <div className="my-8">+ <SchemaFormPanel+ title="Reset password"+ schema={pluckJsonSchemaFields(authConfig, [+ 'MAILER_SUBJECTS_RECOVERY',+ 'MAILER_TEMPLATES_RECOVERY_CONTENT',+ ])}+ model={{+ MAILER_SUBJECTS_RECOVERY: model.MAILER_SUBJECTS_RECOVERY,+ MAILER_TEMPLATES_RECOVERY_CONTENT: model.MAILER_TEMPLATES_RECOVERY_CONTENT,+ }}+ onSubmit={(model: any) => onFormSubmit(model)}+ >+ <AutoField+ name="MAILER_SUBJECTS_RECOVERY"+ showInlineError+ errorMessage="Please enter a subject."+ />+ <LongTextField+ name="MAILER_TEMPLATES_RECOVERY_CONTENT"+ rows={6}+ showInlineError+ inputClassName="font-mono"+ errorMessage="Please enter an email body."+ />+ </SchemaFormPanel>+ </div>+ {magicLinkEnable && (+ <div className="my-8">+ <SchemaFormPanel+ title="Magic Link"+ schema={pluckJsonSchemaFields(authConfig, [+ 'MAILER_SUBJECTS_MAGIC_LINK',+ 'MAILER_TEMPLATES_MAGIC_LINK_CONTENT',+ ])}+ model={{+ MAILER_SUBJECTS_MAGIC_LINK: model.MAILER_SUBJECTS_MAGIC_LINK,+ MAILER_TEMPLATES_MAGIC_LINK_CONTENT: model.MAILER_TEMPLATES_MAGIC_LINK_CONTENT,+ }}+ onSubmit={(model: any) => onFormSubmit(model)}+ >+ <AutoField+ name="MAILER_SUBJECTS_MAGIC_LINK"+ showInlineError+ errorMessage="Please enter a subject."+ />+ <LongTextField+ name="MAILER_TEMPLATES_MAGIC_LINK_CONTENT"+ rows={6}+ showInlineError+ inputClassName="font-mono"+ errorMessage="Please enter an email body."+ />+ </SchemaFormPanel>+ </div>+ )}+ <div className="my-8">+ <SchemaFormPanel+ title="Change email address"+ schema={pluckJsonSchemaFields(authConfig, [+ 'MAILER_SUBJECTS_EMAIL_CHANGE',+ 'MAILER_TEMPLATES_EMAIL_CHANGE_CONTENT',+ ])}+ model={{+ MAILER_SUBJECTS_EMAIL_CHANGE: model.MAILER_SUBJECTS_EMAIL_CHANGE,+ MAILER_TEMPLATES_EMAIL_CHANGE_CONTENT: model.MAILER_TEMPLATES_EMAIL_CHANGE_CONTENT,+ }}+ onSubmit={(model: any) => onFormSubmit(model)}+ >+ <AutoField+ name="MAILER_SUBJECTS_EMAIL_CHANGE"+ showInlineError+ errorMessage="Please enter a subject."+ />+ <LongTextField+ name="MAILER_TEMPLATES_EMAIL_CHANGE_CONTENT"+ rows={6}+ showInlineError+ inputClassName="font-mono"+ errorMessage="Please enter an email body."+ />+ </SchemaFormPanel>+ </div>+ <div className="my-8">+ <SchemaFormPanel+ title="Invite user"+ schema={pluckJsonSchemaFields(authConfig, [+ 'MAILER_SUBJECTS_INVITE',+ 'MAILER_TEMPLATES_INVITE_CONTENT',+ ])}+ model={{+ MAILER_SUBJECTS_INVITE: model.MAILER_SUBJECTS_INVITE,+ MAILER_TEMPLATES_INVITE_CONTENT: model.MAILER_TEMPLATES_INVITE_CONTENT,+ }}+ onSubmit={(model: any) => onFormSubmit(model)}+ >+ <AutoField+ name="MAILER_SUBJECTS_INVITE"+ showInlineError+ errorMessage="Please enter a subject."+ />+ <LongTextField+ name="MAILER_TEMPLATES_INVITE_CONTENT"+ rows={6}+ showInlineError+ inputClassName="font-mono"+ errorMessage="Please enter an email body."+ />+ </SchemaFormPanel>+ </div>+ </div>+ )+})diff --git a/studio/pages/project/[ref]/auth/users.tsx b/studio/pages/project/[ref]/auth/users.tsxnew file mode 100644index 00000000000..8b812b87a6c--- /dev/null+++ b/studio/pages/project/[ref]/auth/users.tsx@@ -0,0 +1,514 @@+import React, { createContext, useRef, useContext, useEffect, useState, FC } from 'react'+import dayjs from 'dayjs'+import semver from 'semver'+import { toJS } from 'mobx'+import { observer, useLocalObservable } from 'mobx-react-lite'+import { useRouter } from 'next/router'+import toast from 'react-hot-toast'+import { get, delete_, post } from 'lib/common/fetch'+import { timeout } from 'lib/helpers'+import {+ Button,+ IconMoreHorizontal,+ IconPlus,+ Input,+ IconSearch,+ Badge,+ Typography,+ Loading,+ IconX,+ Dropdown,+ Divider,+ IconTrash,+ Modal,+ IconMail,+} from '@supabase/ui'++import { API_URL } from 'lib/constants'+import { withAuth, useStore } from 'hooks'+import { AuthLayout } from 'components/layouts'+import { confirmAlert } from 'components/to-be-cleaned/ModalsDeprecated/ConfirmModal'+import SimpleCodeBlock from 'components/to-be-cleaned/SimpleCodeBlock'+import Table from 'components/to-be-cleaned/Table'++const PageContext = createContext(null)+const Page = () => {+ const PageState: any = useLocalObservable(() => ({+ projectRef: undefined,+ projectKpsVersion: undefined,+ filterInputValue: '',+ filterKeywords: '',+ users: [],+ totalUsers: 0,+ usersLoading: true,+ page: 1,+ pageLimit: 10,+ get fetchQuery() {+ return {+ limit: this.pageLimit,+ offset: (this.page - 1) * this.pageLimit,+ keywords: this.filterKeywords,+ }+ },+ get fromRow() {+ const value = this.pageLimit * (this.page - 1) + 1+ if (value > this.totalUsers) return this.totalUsers+ return value+ },+ get toRow() {+ const value = this.pageLimit * this.page+ if (value > this.totalUsers) return this.totalUsers+ return value+ },+ get hasPrevious() {+ return this.page > 1+ },+ get hasNext() {+ return this.toRow < this.totalUsers+ },+ updateData(data: any) {+ this.usersLoading = false+ this.totalUsers = data.total+ this.users = data.users+ },+ async fetchData(page: any) {+ this.usersLoading = true+ this.page = page++ const query = new URLSearchParams(PageState.fetchQuery).toString()+ const url = `${API_URL}/auth/${PageState.projectRef}/users?${query}`+ const response = await get(url)+ if (response.error) {+ this.totalUsers = 0+ this.users = []+ this.usersLoading = false+ console.error(`Fetch user failed: ${response.error.message}`)+ } else {+ this.totalUsers = response.total+ this.users = response.users+ this.usersLoading = false+ }+ },+ }))+ const router = useRouter()+ PageState.projectRef = router.query.ref++ return (+ <PageContext.Provider value={PageState}>+ <PageLayout />+ </PageContext.Provider>+ )+}+export default withAuth(observer(Page))++const PageLayout = observer(() => {+ const { ui } = useStore()+ const PageState: any = useContext(PageContext)+ const project: any = ui.selectedProject++ useEffect(() => {+ PageState!.projectKpsVersion = project?.kpsVersion+ }, [project])++ return (+ <AuthLayout title="Auth">+ <div className="p-4">+ <Users />+ </div>+ </AuthLayout>+ )+})++const Users = observer(() => {+ const PageState: any = useContext(PageContext)+ const inviteEnabled = semver.gte(+ // @ts-ignore+ semver.coerce(toJS(PageState.projectKpsVersion) || 'kps-v2.5.4'),+ semver.coerce('kps-v2.5.3')+ )++ useEffect(() => {+ PageState.fetchData(1)+ }, [])++ function onFilterChange(e: any) {+ PageState.filterInputValue = e.target.value+ }++ function onFilterKeyPress(e: any) {+ // enter key+ if (e.keyCode == 13) onSearchUser()+ }++ function onSearchUser() {+ PageState.filterKeywords = PageState.filterInputValue+ PageState.fetchData(1)+ }++ function clearSearch() {+ PageState.filterInputValue = ''+ PageState.filterKeywords = ''+ PageState.fetchData(1)+ }++ return (+ <div className="">+ <div className="flex justify-between">+ <div className="relative flex space-x-1">+ <Input+ size="tiny"+ value={PageState.filterInputValue}+ onChange={onFilterChange}+ onKeyDown={onFilterKeyPress}+ name="email"+ id="email"+ placeholder="Search by email"+ icon={<IconSearch size="tiny" />}+ actions={[+ PageState.filterInputValue && (+ <Button+ size="tiny"+ type="text"+ icon={<IconX size="tiny" />}+ onClick={() => clearSearch()}+ />+ ),+ ]}+ />+ </div>+ {inviteEnabled && <InviteUserModal />}+ </div>+ <section className="overflow-visible mt-4">+ <div className="relative section-block--body rounded">+ <div className="align-middle inline-block min-w-full">+ <UserList />+ </div>+ </div>+ </section>+ </div>+ )+})++const UsersPagination = observer(() => {+ const PageState: any = useContext(PageContext)++ function onNext() {+ PageState.fetchData(PageState.page + 1)+ }++ function onPrevious() {+ PageState.fetchData(PageState.page - 1)+ }++ return (+ <nav className="flex items-center justify-between overflow-hidden" aria-label="Pagination">+ <div className="hidden sm:block">+ <p className="text-xs text-gray-400">+ Showing+ <span className="px-1 font-medium text-gray-400">{PageState.fromRow}</span>+ to+ <span className="px-1 font-medium text-gray-400">{PageState.toRow}</span>+ of+ <span className="px-1 font-medium text-gray-400">{PageState.totalUsers}</span>+ results+ </p>+ </div>+ <div className="flex-1 flex justify-between sm:justify-end">+ {PageState.hasPrevious && (+ <Button type="secondary" disabled={!PageState.hasPrevious} onClick={onPrevious}>+ Previous+ </Button>+ )}+ {PageState.hasNext && (+ <Button type="secondary" disabled={!PageState.hasNext} className="ml-3" onClick={onNext}>+ Next+ </Button>+ )}+ </div>+ </nav>+ )+})++const InviteUserModal = observer(() => {+ const PageState: any = useContext(PageContext)+ const inputRef = useRef(null)+ const [visible, setVisible] = useState(false)+ const [loading, setLoading] = useState(false)+ const [emailValue, setEmailValue] = useState('')++ function handleToggle() {+ // reset data before showing modal again+ if (!visible) {+ setEmailValue('')+ }+ setVisible(!visible)+ }++ function onInputChange(e: any) {+ setEmailValue(e.target.value)+ }++ async function onInviteUser() {+ const emailValidateRegex =+ /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/+ if (!emailValidateRegex.test(emailValue)) {+ // focus input+ ;(inputRef?.current as any)?.focus()+ // show error+ let message = `${emailValue} is an invalid email`+ if (emailValue.trim() == '') message = 'Please enter a valid email'+ toast.error(message)+ return+ }++ try {+ setLoading(true)+ const response = await post(`${API_URL}/auth/${PageState.projectRef}/invite`, {+ email: emailValue,+ })+ if (response.error) {+ toast.error(`Inviting user failed: ${response.error.message}`)+ } else {+ PageState.fetchData(1)+ toast(`Sent invite email to ${emailValue}`)+ }+ } catch (error) {+ console.error('onInviteUser error:', error)+ toast.error(`Inviting user failed`)+ } finally {+ setLoading(false)+ setVisible(false)+ }+ }++ return (+ <div>+ <Button onClick={handleToggle} icon={<IconPlus />}>+ Invite+ </Button>+ <Modal+ size="small"+ key="invite-user-modal"+ visible={visible}+ title="Invite new user"+ hideFooter+ onCancel={handleToggle}+ closable+ >+ <Input+ label="User email"+ icon={<IconMail />}+ autoFocus+ // @ts-ignore+ ref={inputRef}+ value={emailValue}+ onChange={onInputChange}+ type="text"+ name="email"+ id="email"+ placeholder="User email"+ className="w-full"+ />++ <Button onClick={onInviteUser} loading={loading} disabled={loading} block>+ Invite user+ </Button>+ </Modal>+ </div>+ )+})++const UserList = observer(({}) => {+ const PageState: any = useContext(PageContext)++ return (+ <Loading active={PageState.usersLoading}>+ <Table+ head={+ <>+ <Table.th>Email</Table.th>+ <Table.th>Phone</Table.th>+ <Table.th className="hidden 2xl:table-cell">Provider</Table.th>+ <Table.th className="hidden 2xl:table-cell">Created</Table.th>+ <Table.th className="hidden xl:table-cell">Last Sign In</Table.th>+ <Table.th className="hidden lg:table-cell">User UID</Table.th>+ <Table.th></Table.th>+ </>+ }+ body={+ <>+ {PageState.users.length == 0 && (+ <Table.tr>+ {/* @ts-ignore */}+ <Table.td+ colSpan={7}+ className="h-28 p-4 whitespace-nowrap border-t leading-5 text-gray-300 text-sm"+ ></Table.td>+ </Table.tr>+ )}+ {PageState.users.length > 0 &&+ PageState.users.map((x: any) => <UserListItem key={x.id} user={x} />)}+ <Table.tr>+ <Table.td colSpan={7}>+ <UsersPagination />+ </Table.td>+ </Table.tr>+ </>+ }+ />+ </Loading>+ )+})++const UserListItem: FC<{ user: any }> = observer(({ user }) => {+ const isUserConfirmed = user.email_confirmed_at || user.phone_confirmed_at+ return (+ <Table.tr key={user.id}>+ <Table.td className="whitespace-nowrap">+ <Typography.Text>{!user.email ? '-' : user.email}</Typography.Text>+ </Table.td>+ <Table.td className="whitespace-nowrap">+ <Typography.Text>{!user.phone ? '-' : user.phone}</Typography.Text>+ </Table.td>+ <Table.td className="hidden 2xl:table-cell">+ <Typography.Text type="secondary" className="capitalize">+ {user?.raw_app_meta_data?.provider || user?.app_metadata?.provider}+ </Typography.Text>+ </Table.td>+ <Table.td className="hidden 2xl:table-cell">+ <Typography.Text type="secondary" small>+ {dayjs(user.created_at).format('DD MMM, YYYY HH:mm')}+ </Typography.Text>+ </Table.td>+ <Table.td className="hidden xl:table-cell">+ {!isUserConfirmed ? (+ <Badge color="yellow">Waiting for verification..</Badge>+ ) : user.last_sign_in_at ? (+ dayjs(user.last_sign_in_at).format('DD MMM, YYYY HH:mm')+ ) : (+ 'Never'+ )}+ </Table.td>+ <Table.td className="hidden lg:table-cell">+ <SimpleCodeBlock metastring="" className="font-xs bash">+ {user.id}+ </SimpleCodeBlock>+ </Table.td>+ <Table.td className="text-right">+ <UserDropdown user={user} />+ </Table.td>+ </Table.tr>+ )+})++const UserDropdown: FC<{ user: any }> = observer(({ user }) => {+ const PageState: any = useContext(PageContext)+ const [loading, setLoading] = useState(false)++ async function handleResetPassword() {+ try {+ setLoading(true)+ const response = await post(`${API_URL}/auth/${PageState.projectRef}/recover`, user)+ if (response.error) {+ toast.error(`Send password recovery failed: ${response.error.message}`)+ } else {+ toast(`Sent password recovery to ${user.email}`)+ }+ } catch (error) {+ console.error('handleResetPassword error:', error)+ toast.error(`Send password recovery failed`)+ } finally {+ setLoading(false)+ }+ }++ async function handleSendMagicLink() {+ try {+ setLoading(true)+ const response = await post(`${API_URL}/auth/${PageState.projectRef}/magiclink`, user)+ if (response.error) {+ toast.error(`Sending magic link failed: ${response.error.message}`)+ } else {+ toast(`Sent magic link to ${user.email}`)+ }+ } catch (error) {+ console.error('handleSendMagicLink error:', error)+ toast.error(`Sending magic link failed`)+ } finally {+ setLoading(false)+ }+ }++ async function handleSendOtp() {+ try {+ setLoading(true)+ const response = await post(`${API_URL}/auth/${PageState.projectRef}/otp`, user)+ if (response.error) {+ toast.error(`Sending OTP failed: ${response.error.message}`)+ } else {+ toast(`Sent OTP to ${user.phone}`)+ }+ } catch (error) {+ console.error('handleSendOtp error:', error)+ toast.error(`Sending OTP failed`)+ } finally {+ setLoading(false)+ }+ }++ async function handleDelete() {+ await timeout(200)++ confirmAlert({+ title: 'Confirm to delete',+ message: `This is permanent! Are you sure you want to delete user ${user.email} ?`,+ onAsyncConfirm: async () => {+ setLoading(true)+ const response = await delete_(`${API_URL}/auth/${PageState.projectRef}/users`, user)+ if (response.error) {+ toast.error(`Deleting user failed: ${response.error.message}`)+ } else {+ toast(`User ${user.email} deleted`)+ PageState.users = PageState.users.filter((x: any) => x.id != user.id)+ }+ setLoading(false)+ },+ })+ }++ return (+ <Dropdown+ overlay={+ <>+ {user.email !== null ? (+ <>+ <Dropdown.Item onClick={handleResetPassword} icon={<IconMail size="tiny" />}>+ Send password recovery+ </Dropdown.Item>+ <Dropdown.Item onClick={handleSendMagicLink} icon={<IconMail size="tiny" />}>+ Send magic link+ </Dropdown.Item>+ </>+ ) : null}+ {user.phone !== null ? (+ <Dropdown.Item onClick={handleSendOtp} icon={<IconMail size="tiny" />}>+ Send OTP+ </Dropdown.Item>+ ) : null}+ <Divider light />+ <Dropdown.Item onClick={handleDelete} icon={<IconTrash size="tiny" />}>+ Delete user+ </Dropdown.Item>+ </>+ }+ >+ <Button+ as="span"+ type="text"+ icon={<IconMoreHorizontal />}+ loading={loading}+ className="hover:border-gray-500"+ />+ </Dropdown>+ )+})diff --git a/studio/pages/project/[ref]/building.tsx b/studio/pages/project/[ref]/building.tsxnew file mode 100644index 00000000000..5217b5aad7d--- /dev/null+++ b/studio/pages/project/[ref]/building.tsx@@ -0,0 +1,30 @@+import * as React from 'react'+import { useRouter } from 'next/router'+import { observer } from 'mobx-react-lite'+import { useStore, withAuth } from 'hooks'++import BaseLayout from 'components/layouts'++type ProjectBuildingPageState = {} & any+const ProjectBuildingPage: React.FC<ProjectBuildingPageState> = () => {+ const { ui } = useStore()+ const project: any = ui.selectedProject+ return (+ <BaseLayout title="Project Building">+ <RedirectToDashboard projectRef={project?.ref ?? ''} />+ </BaseLayout>+ )+}+export default withAuth(observer(ProjectBuildingPage))++type RedirectToDashboardState = {+ projectRef: string+}+const RedirectToDashboard: React.FC<RedirectToDashboardState> = ({ projectRef }) => {+ const router = useRouter()++ React.useEffect(() => {+ router.push(`/project/${projectRef}`)+ }, [])+ return null+}diff --git a/studio/pages/project/[ref]/database/backups.tsx b/studio/pages/project/[ref]/database/backups.tsxnew file mode 100644index 00000000000..3b0e80e80a5--- /dev/null+++ b/studio/pages/project/[ref]/database/backups.tsx@@ -0,0 +1,30 @@+import { NextPage } from 'next'+import { observer } from 'mobx-react-lite'+import { Divider, Typography } from '@supabase/ui'++import { withAuth } from 'hooks'+import { DatabaseLayout } from 'components/layouts'+import { BackupsList } from 'components/interfaces/Database'++const DatabaseBackups: NextPage = () => {+ return (+ <DatabaseLayout title="Database">+ <div className="flex">+ <div className="p-4 w-full my-2 max-w-4xl mx-auto space-y-8">+ <Typography.Title level={3} className="mb-0">+ Backups+ </Typography.Title>+ <Divider light />+ <div>+ <Typography.Text type="secondary">+ Projects are backed up daily and can be restored at any time.+ </Typography.Text>+ </div>+ <BackupsList />+ </div>+ </div>+ </DatabaseLayout>+ )+}++export default withAuth(observer(DatabaseBackups))diff --git a/studio/pages/project/[ref]/database/extensions.tsx b/studio/pages/project/[ref]/database/extensions.tsxnew file mode 100644index 00000000000..7911b93148c--- /dev/null+++ b/studio/pages/project/[ref]/database/extensions.tsx@@ -0,0 +1,18 @@+import { NextPage } from 'next'+import { observer } from 'mobx-react-lite'++import { withAuth } from 'hooks'+import { DatabaseLayout } from 'components/layouts'+import { Extensions } from 'components/interfaces/Database'++const DatabaseExtensions: NextPage = () => {+ return (+ <DatabaseLayout title="Database">+ <div className="p-4">+ <Extensions />+ </div>+ </DatabaseLayout>+ )+}++export default withAuth(observer(DatabaseExtensions))diff --git a/studio/pages/project/[ref]/database/functions.tsx b/studio/pages/project/[ref]/database/functions.tsxnew file mode 100644index 00000000000..f7f17344937--- /dev/null+++ b/studio/pages/project/[ref]/database/functions.tsx@@ -0,0 +1,290 @@+import { FC, useState, useEffect } from 'react'+import { useRouter } from 'next/router'+import { uniqBy, map as lodashMap, includes } from 'lodash'+import {+ Button,+ Dropdown,+ IconEdit3,+ IconFileText,+ IconMoreVertical,+ IconSearch,+ IconTrash,+ IconLoader,+ Input,+ Typography,+} from '@supabase/ui'+import { observer } from 'mobx-react-lite'++import { useStore, withAuth } from 'hooks'+import { DatabaseLayout } from 'components/layouts'+import { CreateFunction, DeleteFunction } from 'components/interfaces/Database'+import Table from 'components/to-be-cleaned/Table'+import AlphaPreview from 'components/to-be-cleaned/AlphaPreview'+import ProductEmptyState from 'components/to-be-cleaned/ProductEmptyState'++const FunctionsPage: FC<any> = () => {+ const { meta } = useStore()+ const [filterString, setFilterString] = useState<string>('')+ const [selectedFunction, setSelectedFunction] = useState<any>()+ const [showCreateFunctionForm, setShowCreateFunctionForm] = useState<boolean>(false)+ const [showDeleteFunctionForm, setShowDeleteFunctionForm] = useState<boolean>(false)++ useEffect(() => {+ fetchFunctions()+ }, [])++ const fetchFunctions = async () => {+ await meta.functions.load()+ }++ const createFunction = () => {+ setSelectedFunction(undefined)+ setShowCreateFunctionForm(true)+ }++ const editFunction = (fn: any) => {+ setSelectedFunction(fn)+ setShowCreateFunctionForm(true)+ }++ const deleteFunction = (fn: any) => {+ setSelectedFunction(fn)+ setShowDeleteFunctionForm(true)+ }++ return (+ <DatabaseLayout title="Database">+ <PageLayout+ filterString={filterString}+ setFilterString={setFilterString}+ createFunction={createFunction}+ editFunction={editFunction}+ deleteFunction={deleteFunction}+ />+ <CreateFunction+ func={selectedFunction}+ visible={showCreateFunctionForm}+ setVisible={setShowCreateFunctionForm}+ />+ <DeleteFunction+ func={selectedFunction}+ visible={showDeleteFunctionForm}+ setVisible={setShowDeleteFunctionForm}+ />+ </DatabaseLayout>+ )+}++export default withAuth(observer(FunctionsPage))++const PageLayout: FC<any> = observer(+ ({+ filterString,+ setFilterString = () => {},+ createFunction = () => {},+ editFunction = () => {},+ deleteFunction = () => {},+ }) => {+ const { meta } = useStore()+ const functions = meta.functions.list((fn: any) => !meta.excludedSchemas.includes(fn.schema))+ const filteredFunctions = functions.filter((x: any) =>+ includes(x.name.toLowerCase(), filterString.toLowerCase())+ )+ const filteredFunctionSchemas = lodashMap(uniqBy(filteredFunctions, 'schema'), 'schema')++ if (meta.functions.isLoading) {+ return (+ <div className="w-full h-full flex items-center justify-center space-x-2">+ <IconLoader className="animate-spin" size={14} />+ <Typography.Text>Loading functions...</Typography.Text>+ </div>+ )+ }++ if (meta.functions.hasError) {+ return (+ <Typography.Text className="px-6 py-4" type="danger">+ <p>Error connecting to API</p>+ <p>{`${meta.functions.error?.message ?? 'Unknown error'}`}</p>+ </Typography.Text>+ )+ }++ return (+ <>+ {functions.length == 0 ? (+ <div className="flex h-full w-full items-center justify-center">+ <ProductEmptyState+ title="Functions"+ ctaButtonLabel="Create a new function"+ onClickCta={() => createFunction()}+ >+ <AlphaPreview />+ <Typography.Text type="secondary">+ PostgreSQL functions, also known as stored procedures, is a set of SQL and+ procedural commands such as declarations, assignments, loops, flow-of-control, etc.+ </Typography.Text>+ <Typography.Text type="secondary">+ It's stored on the database server and can be invoked using the SQL interface.+ </Typography.Text>+ </ProductEmptyState>+ </div>+ ) : (+ <div className="w-full py-4 space-y-4">+ <div className="flex justify-between items-center px-6">+ <Input+ placeholder="Filter by name"+ size="tiny"+ icon={<IconSearch size="tiny" />}+ value={filterString}+ onChange={(e) => setFilterString(e.target.value)}+ />+ <Button onClick={() => createFunction()}>Create a new function</Button>+ </div>+ {filteredFunctions.length <= 0 && (+ <div className="border dark:border-dark rounded p-6 max-w-lg mx-auto flex justify-center space-x-3 items-center shadow-md">+ <Typography.Text>No results match your filter query</Typography.Text>+ <Button type="outline" onClick={() => setFilterString('')}>+ Reset filter+ </Button>+ </div>+ )}+ {filteredFunctionSchemas.map((schema: any) => (+ <SchemaTable+ key={schema}+ filterString={filterString}+ schema={schema}+ editFunction={editFunction}+ deleteFunction={deleteFunction}+ />+ ))}+ </div>+ )}+ </>+ )+ }+)++type SchemaTableProps = {+ schema: string+ filterString: string+ editFunction: (fn: any) => void+ deleteFunction: (fn: any) => void+}++const SchemaTable: FC<SchemaTableProps> = observer(+ ({ schema, filterString, editFunction = () => {}, deleteFunction = () => {} }) => {+ return (+ <div key={schema} className="">+ <div className="z-10 sticky top-0 backdrop-filter backdrop-blur">+ <div className="flex space-x-1 items-baseline py-2 px-6">+ <Typography.Title level={5} className="opacity-50">+ schema+ </Typography.Title>+ <Typography.Title level={4}>{schema}</Typography.Title>+ </div>+ </div>+ <Table+ className="table-fixed px-6"+ head={+ <>+ <Table.th key="name" className="w-1/3 space-x-4">+ Name+ </Table.th>+ <Table.th key="arguments" className="hidden md:table-cell">+ Arguments+ </Table.th>+ <Table.th key="return_type" className="hidden lg:table-cell">+ Return type+ </Table.th>+ <Table.th key="buttons" className="w-1/6"></Table.th>+ </>+ }+ body={+ <FunctionList+ schema={schema}+ filterString={filterString}+ editFunction={editFunction}+ deleteFunction={deleteFunction}+ />+ }+ />+ </div>+ )+ }+)++type FunctionListProps = {+ schema: string+ filterString: string+ editFunction: (fn: any) => void+ deleteFunction: (fn: any) => void+}++const FunctionList: FC<FunctionListProps> = observer(+ ({ schema, filterString, editFunction = () => {}, deleteFunction = () => {} }) => {+ const router = useRouter()+ const { ui, meta } = useStore()+ const functions = meta.functions.list((fn: any) => !meta.excludedSchemas.includes(fn.schema))+ const filteredFunctions = functions.filter((x: any) =>+ includes(x.name.toLowerCase(), filterString.toLowerCase())+ )+ const _functions = filteredFunctions.filter((x) => x.schema == schema)+ const isApiDocumentAvailable = schema == 'public'+ const projectRef = ui.selectedProject?.ref++ function onEdit(func: any) {+ editFunction(func)+ }++ function onDelete(func: any) {+ deleteFunction(func)+ }++ return (+ <>+ {_functions.map((x) => (+ <Table.tr key={x.id}>+ <Table.td>+ <Typography.Text>{x.name}</Typography.Text>+ </Table.td>+ <Table.td className="hidden md:table-cell">+ <Typography.Text>{x.argument_types}</Typography.Text>+ </Table.td>+ <Table.td className="hidden lg:table-cell">+ <Typography.Text>{x.return_type}</Typography.Text>+ </Table.td>+ <Table.td className="text-right">+ <Dropdown+ side="left"+ overlay={+ <>+ {isApiDocumentAvailable && (+ <Dropdown.Item+ icon={<IconFileText size="tiny" />}+ onClick={() => router.push(`/project/${projectRef}/api?rpc=${x.name}`)}+ >+ Client API docs+ </Dropdown.Item>+ )}+ <Dropdown.Item icon={<IconEdit3 size="tiny" />} onClick={() => onEdit(x)}>+ Edit function+ </Dropdown.Item>+ <Dropdown.Item+ icon={<IconTrash stroke="red" size="tiny" />}+ onClick={() => onDelete(x)}+ >+ Delete function+ </Dropdown.Item>+ </>+ }+ >+ <Button as="span" type="default" icon={<IconMoreVertical />} />+ </Dropdown>+ </Table.td>+ </Table.tr>+ ))}+ </>+ )+ }+)diff --git a/studio/pages/project/[ref]/database/hooks/[id]/logs.tsx b/studio/pages/project/[ref]/database/hooks/[id]/logs.tsxnew file mode 100644index 00000000000..00054ff69ee--- /dev/null+++ b/studio/pages/project/[ref]/database/hooks/[id]/logs.tsx@@ -0,0 +1,112 @@+import useSWR from 'swr'+import dayjs from 'dayjs'+import { useRouter } from 'next/router'+import { uniqBy, map as lodashMap } from 'lodash'+import { FC, useState, useEffect } from 'react'+import { Button, Typography } from '@supabase/ui'+import { observer } from 'mobx-react-lite'++import { useStore, withAuth } from 'hooks'+import { get } from 'lib/common/fetch'+import { API_URL } from 'lib/constants'+import { DatabaseLayout } from 'components/layouts'++const FunctionsPage = () => {+ return (+ <DatabaseLayout title="Hooks">+ <div className="flex">+ <div className="w-full my-4">+ <HookLogs />+ </div>+ </div>+ </DatabaseLayout>+ )+}++export default withAuth(observer(FunctionsPage))++const HookLogs: FC<any> = observer(() => {+ const router = useRouter()+ const { id: hookId } = router.query++ const { meta } = useStore()++ const [hooksData, setHooksData] = useState<any>([])+ const schemas = lodashMap(uniqBy(hooksData, 'schema'), 'schema')++ useEffect(() => {+ const fetchHooks = async () => {+ await meta.hooks.load()+ const hooksData = meta.hooks.list()+ setHooksData(hooksData)+ }+ fetchHooks()+ }, [])++ const logsUrl = `${API_URL}/database/${router.query.ref}/hook-logs?id=${hookId}`+ const { data: logsData, error: logsError }: any = useSWR(logsUrl, get)++ if (meta.hooks.hasError) {+ return (+ <Typography.Text type="danger">+ <p>Error connecting to API</p>+ <p>{`${meta.hooks.error}`}</p>+ </Typography.Text>+ )+ }++ if (logsError) {+ return (+ <Typography.Text type="danger">+ <p>Error connecting to API</p>+ <p>{`${logsError.error}`}</p>+ </Typography.Text>+ )+ }++ if (meta.hooks.isLoading || !logsData) {+ return <Typography.Text className="px-6 py-4">Loading hook logs...</Typography.Text>+ }++ return (+ <div className="space-y-8">+ {/* <CreateHook /> */}+ <div className="px-6">+ <Typography.Title level={4}>{hooksData.name} logs</Typography.Title>+ <div className="space-x-3">+ <Button>All</Button>+ <Button>Errors</Button>+ </div>+ </div>++ <div className="bg-bg-alt-light border-t border-b">+ <div className="divide-y-2 ">+ {logsData?.map((log: any) => {+ return (+ <div className="space-y-1 flex flex-col py-4 px-6">+ <div className="flex justify-between items-center">+ <div className="space-x-3">+ <Typography.Text className="font-mono" type="secondary">+ [{log.method}]+ </Typography.Text>+ <Typography.Text className="font-mono" type="default">+ {log.url}+ </Typography.Text>+ </div>+ <Typography.Text className="font-mono" type="secondary">+ {dayjs(log.created_at).format('DDMMYYY')}+ </Typography.Text>+ </div>+ {/* <Typography.Text className="font-mono">created at: {log.created_at}</Typography.Text>+ <Typography.Text className="font-mono">headers: {log.headers}</Typography.Text>+ <Typography.Text className="font-mono">args: {log.args}</Typography.Text>+ <Typography.Text className="font-mono">method: {log.method}</Typography.Text>+ <Typography.Text className="font-mono">status: {log.status}</Typography.Text> */}+ </div>+ )+ })}+ </div>+ </div>+ </div>+ )+})diff --git a/studio/pages/project/[ref]/database/hooks/index.tsx b/studio/pages/project/[ref]/database/hooks/index.tsxnew file mode 100644index 00000000000..be5f5ca4df0--- /dev/null+++ b/studio/pages/project/[ref]/database/hooks/index.tsx@@ -0,0 +1,345 @@+import { FC, useEffect, useState } from 'react'+import { useRouter } from 'next/router'+import { includes, uniqBy, map as lodashMap } from 'lodash'+import { observer } from 'mobx-react-lite'+import {+ Typography,+ Badge,+ Button,+ Dropdown,+ IconMoreVertical,+ IconTrash,+ Input,+ IconSearch,+ IconEdit3,+ IconLoader,+} from '@supabase/ui'++import { useStore, withAuth } from 'hooks'+import { API_URL } from 'lib/constants'+import { post } from 'lib/common/fetch'+import { DatabaseLayout } from 'components/layouts'+import Table from 'components/to-be-cleaned/Table'+import AlphaPreview from 'components/to-be-cleaned/AlphaPreview'+import ProductEmptyState from 'components/to-be-cleaned/ProductEmptyState'+import CreateHook from 'components/interfaces/Database/Hooks/CreateHook'+import DeleteHook from 'components/interfaces/Database/Hooks/DeleteHook'++function isHooksEnabled(schemas: any): boolean {+ return schemas.some((schema: any) => schema.name === 'supabase_functions')+}++const HooksPage: FC<any> = () => {+ const { meta, ui } = useStore()++ const router = useRouter()+ const { ref } = router.query++ const [hooksEnabled, setHooksEnabled] = useState<any>(false)+ const [filterString, setFilterString] = useState<string>('')+ const [selectedHook, setSelectedHook] = useState<any>()+ const [showCreateHookForm, setShowCreateHookForm] = useState<boolean>(false)+ const [showDeleteHookForm, setShowDeleteHookForm] = useState<boolean>(false)++ useEffect(() => {+ fetchTriggers()+ }, [])++ const fetchTriggers = async () => {+ await meta.hooks.load()+ }++ const enableHooksForProject = async () => {+ const headers: any = {}+ const connectionString = ui.selectedProject?.connectionString+ if (connectionString) headers['x-connection-encrypted'] = connectionString+ try {+ await post(`${API_URL}/database/${ref}/hook-enable`, {})+ setHooksEnabled(true)+ } catch (error) {+ console.error(error)+ }+ }++ const createHook = () => {+ setSelectedHook(undefined)+ setShowCreateHookForm(true)+ }++ const editHook = (hook: any) => {+ setSelectedHook(hook)+ setShowCreateHookForm(true)+ }++ const deleteHook = (hook: any) => {+ setSelectedHook(hook)+ setShowDeleteHookForm(true)+ }++ return (+ <DatabaseLayout title="Triggers">+ <TriggersList+ hooksEnabled={hooksEnabled}+ filterString={filterString}+ setFilterString={setFilterString}+ createHook={createHook}+ editHook={editHook}+ deleteHook={deleteHook}+ enableHooks={enableHooksForProject}+ />+ <CreateHook+ hook={selectedHook}+ visible={showCreateHookForm}+ setVisible={setShowCreateHookForm}+ />+ <DeleteHook+ hook={selectedHook}+ visible={showDeleteHookForm}+ setVisible={setShowDeleteHookForm}+ />+ </DatabaseLayout>+ )+}++export default withAuth(observer(HooksPage))++const TriggersList: FC<any> = observer(+ ({+ hooksEnabled,+ filterString,+ setFilterString = () => {},+ createHook = () => {},+ editHook = () => {},+ deleteHook = () => {},+ enableHooks = () => {},+ }) => {+ const { meta } = useStore()+ const hooks = meta.hooks.list()+ const schemas = meta.schemas.list()+ const filteredHooks = hooks.filter((x: any) =>+ includes(x.name.toLowerCase(), filterString.toLowerCase())+ )+ const filteredHookSchemas = lodashMap(uniqBy(filteredHooks, 'schema'), 'schema')++ const isEnabled = hooksEnabled || isHooksEnabled(schemas)++ if (!isEnabled) {+ return (+ <>+ {schemas.length === 0 ? (+ <Typography.Text className="px-6 py-4">+ Checking if hooks are enabled...+ </Typography.Text>+ ) : (+ <ProductEmptyState+ title="Hooks"+ ctaButtonLabel="Enable Hooks"+ onClickCta={() => enableHooks()}+ >+ <AlphaPreview />+ <Typography.Text type="secondary">Enable hooks on your project.</Typography.Text>+ </ProductEmptyState>+ )}+ </>+ )+ }++ if (meta.hooks.isLoading) {+ return (+ <div className="w-full h-full flex items-center justify-center space-x-2">+ <IconLoader className="animate-spin" size={14} />+ <Typography.Text>Loading hooks...</Typography.Text>+ </div>+ )+ }++ if (meta.hooks.hasError) {+ return (+ <Typography.Text className="px-6 py-4" type="danger">+ <p>Error connecting to API</p>+ <p>{`${meta.hooks.error?.message ?? 'Unknown error'}`}</p>+ </Typography.Text>+ )+ }++ return (+ <>+ {hooks.length == 0 ? (+ <div className="flex h-full w-full items-center justify-center">+ <ProductEmptyState+ title="Function Hooks"+ ctaButtonLabel="Create a Function Hook"+ onClickCta={() => createHook()}+ >+ <AlphaPreview />+ <Typography.Text type="secondary">+ Function Hooks can be used to trigger serverless functions or send requests to an+ HTTP endpoint.+ </Typography.Text>+ </ProductEmptyState>+ </div>+ ) : (+ <div className="w-full py-4 space-y-4">+ <div className="flex justify-between items-center px-6">+ <Input+ placeholder="Filter by name"+ size="tiny"+ icon={<IconSearch size="tiny" />}+ value={filterString}+ onChange={(e) => setFilterString(e.target.value)}+ />+ <Button onClick={() => createHook()}>Create a new hook</Button>+ </div>+ {filteredHooks.length <= 0 && (+ <div className="border dark:border-dark rounded p-6 max-w-lg mx-auto flex justify-center space-x-3 items-center shadow-md">+ <Typography.Text>No results match your filter query</Typography.Text>+ <Button type="outline" onClick={() => setFilterString('')}>+ Reset filter+ </Button>+ </div>+ )}+ {filteredHookSchemas.map((schema: any) => (+ <SchemaTable+ key={schema}+ filterString={filterString}+ schema={schema}+ editHook={editHook}+ deleteHook={deleteHook}+ />+ ))}+ </div>+ )}+ </>+ )+ }+)++type SchemaTableProps = {+ schema: string+ filterString: string+ editHook: (hook: any) => void+ deleteHook: (hook: any) => void+}++const SchemaTable: FC<SchemaTableProps> = observer(+ ({ schema, filterString, editHook = () => {}, deleteHook = () => {} }) => {+ return (+ <div key={schema} className="">+ <div className="z-10 sticky top-0 backdrop-filter backdrop-blur">+ <div className="flex space-x-1 items-baseline py-2 px-6">+ <Typography.Title level={5} className="opacity-50">+ schema+ </Typography.Title>+ <Typography.Title level={4}>{schema}</Typography.Title>+ </div>+ </div>+ <Table+ className="table-fixed px-6"+ head={+ <>+ <Table.th key="name" className="space-x-4">+ Name+ </Table.th>+ <Table.th key="table" className="hidden lg:table-cell">+ Table+ </Table.th>+ <Table.th key="events" className="hidden xl:table-cell">+ Events+ </Table.th>+ <Table.th key="webhook" className="hidden xl:table-cell">+ Webhook+ </Table.th>+ <Table.th key="buttons" className="w-1/6"></Table.th>+ </>+ }+ body={+ <HookList+ filterString={filterString}+ schema={schema}+ editHook={editHook}+ deleteHook={deleteHook}+ />+ }+ />+ </div>+ )+ }+)++type HookListProps = {+ schema: string+ filterString: string+ editHook: (hook: any) => void+ deleteHook: (hook: any) => void+}++const HookList: FC<HookListProps> = observer(+ ({ schema, filterString, editHook = () => {}, deleteHook = () => {} }) => {+ const { meta } = useStore()+ const hooks = meta.hooks.list()+ const filteredHooks = hooks.filter((x: any) =>+ includes(x.name.toLowerCase(), filterString.toLowerCase())+ )+ const _hooks = filteredHooks.filter((x: any) => x.schema == schema)++ function onEdit(trigger: any) {+ editHook(trigger)+ }++ function onDelete(trigger: any) {+ deleteHook(trigger)+ }++ return (+ <>+ {_hooks.map((x: any) => (+ <Table.tr key={x.id}>+ <Table.td className="space-x-2">+ <Typography.Text>{x.name}</Typography.Text>+ </Table.td>+ <Table.td className="space-x-2 hidden lg:table-cell">+ <Typography.Text>{x.table}</Typography.Text>+ </Table.td>+ <Table.td className="hidden xl:table-cell">+ <Typography.Text>+ {x.events.map((event: string) => (+ <Badge key={event}>{event}</Badge>+ ))}+ </Typography.Text>+ </Table.td>+ <Table.td className="hidden xl:table-cell">+ <Typography.Text>+ <Badge>{x.function_args[0]}</Badge>+ </Typography.Text>+ </Table.td>+ <Table.td className="text-right">+ <div className="flex gap-4 justify-end">+ {/* <Link href={`/project/${_pageState.project.ref}/database/hooks/${x.id}/logs`}>+ <Button type="default">Logs</Button>+ </Link> */}+ <Dropdown+ side="left"+ overlay={+ <>+ <Dropdown.Item icon={<IconEdit3 size="tiny" />} onClick={() => onEdit(x)}>+ Edit hook+ </Dropdown.Item>+ <Dropdown.Item+ icon={<IconTrash stroke="red" size="tiny" />}+ onClick={() => onDelete(x)}+ >+ Delete hook+ </Dropdown.Item>+ </>+ }+ >+ <Button as="span" type="default" icon={<IconMoreVertical />} />+ </Dropdown>+ </div>+ </Table.td>+ </Table.tr>+ ))}+ </>+ )+ }+)diff --git a/studio/pages/project/[ref]/database/index.tsx b/studio/pages/project/[ref]/database/index.tsxnew file mode 100644index 00000000000..f6256860318--- /dev/null+++ b/studio/pages/project/[ref]/database/index.tsx@@ -0,0 +1,17 @@+import { NextPage } from 'next'+import { observer } from 'mobx-react-lite'++import { withAuth } from 'hooks'+import { DatabaseLayout } from 'components/layouts'++const Database: NextPage = () => {+ return (+ <DatabaseLayout title="Database">+ <>+ <h1>Use this as a page template for database</h1>+ </>+ </DatabaseLayout>+ )+}++export default withAuth(observer(Database))diff --git a/studio/pages/project/[ref]/database/pooling.tsx b/studio/pages/project/[ref]/database/pooling.tsxnew file mode 100644index 00000000000..8e19e96ac46--- /dev/null+++ b/studio/pages/project/[ref]/database/pooling.tsx@@ -0,0 +1,20 @@+import { NextPage } from 'next'+import { observer } from 'mobx-react-lite'++import { withAuth } from 'hooks'+import { DatabaseLayout } from 'components/layouts'+import { BouncerSettings } from 'components/interfaces/Database'++const DatabasePooling: NextPage = () => {+ return (+ <DatabaseLayout title="Database">+ <div className="content w-full h-full overflow-y-auto">+ <div className="mx-auto h-full w-full">+ <BouncerSettings />+ </div>+ </div>+ </DatabaseLayout>+ )+}++export default withAuth(observer(DatabasePooling))diff --git a/studio/pages/project/[ref]/database/replication.tsx b/studio/pages/project/[ref]/database/replication.tsxnew file mode 100644index 00000000000..35d8e3dda51--- /dev/null+++ b/studio/pages/project/[ref]/database/replication.tsx@@ -0,0 +1,29 @@+import { NextPage } from 'next'+import { useState } from 'react'+import { isUndefined } from 'lodash'+import { observer } from 'mobx-react-lite'++import { withAuth } from 'hooks'+import { DatabaseLayout } from 'components/layouts'+import { PublicationsList, PublicationsTables } from 'components/interfaces/Database'++const DatabaseReplication: NextPage = () => {+ const [selectedPublication, setSelectedPublication] = useState<any>()+ return (+ <DatabaseLayout title="Database">+ <div className="p-4">+ {isUndefined(selectedPublication) ? (+ <PublicationsList onSelectPublication={setSelectedPublication} />+ ) : (+ <PublicationsTables+ selectedPublication={selectedPublication}+ onSelectBack={() => setSelectedPublication(undefined)}+ onPublicationUpdated={setSelectedPublication}+ />+ )}+ </div>+ </DatabaseLayout>+ )+}++export default withAuth(observer(DatabaseReplication))diff --git a/studio/pages/project/[ref]/database/roles.tsx b/studio/pages/project/[ref]/database/roles.tsxnew file mode 100644index 00000000000..d7d5572998d--- /dev/null+++ b/studio/pages/project/[ref]/database/roles.tsx@@ -0,0 +1,29 @@+import { useState } from 'react'+import { NextPage } from 'next'+import { observer } from 'mobx-react-lite'+import { isUndefined } from 'lodash'++import { withAuth } from 'hooks'+import { DatabaseLayout } from 'components/layouts'+import { RolesList, RolesSettings } from 'components/interfaces/Database'++const DatabaseRoles: NextPage = () => {+ const [selectedRole, setSelectedRole] = useState<any>()++ return (+ <DatabaseLayout title="Database">+ <div className="p-4">+ {isUndefined(selectedRole) ? (+ <RolesList onSelectRole={setSelectedRole} />+ ) : (+ <RolesSettings+ selectedRole={selectedRole}+ onSelectBack={() => setSelectedRole(undefined)}+ />+ )}+ </div>+ </DatabaseLayout>+ )+}++export default withAuth(observer(DatabaseRoles))diff --git a/studio/pages/project/[ref]/database/tables.tsx b/studio/pages/project/[ref]/database/tables.tsxnew file mode 100644index 00000000000..4d9dbef3137--- /dev/null+++ b/studio/pages/project/[ref]/database/tables.tsx@@ -0,0 +1,81 @@+import { NextPage } from 'next'+import { useState } from 'react'+import { observer } from 'mobx-react-lite'+import { isUndefined } from 'lodash'+import { PostgresColumn, PostgresTable } from '@supabase/postgres-meta'++import { withAuth, useStore } from 'hooks'++import { DatabaseLayout } from 'components/layouts'+import { TableList, ColumnList } from 'components/interfaces/Database'+import { SidePanelEditor } from 'components/interfaces/TableGridEditor'++const DatabaseTables: NextPage = () => {+ const { meta } = useStore()+ const tables = meta.tables.list()++ const [selectedTable, setSelectedTable] = useState<any>()+ const [sidePanelKey, setSidePanelKey] = useState<'column' | 'table'>()+ const [selectedColumnToEdit, setSelectedColumnToEdit] = useState<PostgresColumn>()+ const [selectedTableToEdit, setSelectedTableToEdit] = useState<PostgresTable>()++ const onAddTable = () => {+ setSidePanelKey('table')+ setSelectedTableToEdit(undefined)+ }++ const onEditTable = (table: PostgresTable) => {+ setSidePanelKey('table')+ setSelectedTableToEdit(table)+ }++ const onAddColumn = () => {+ setSidePanelKey('column')+ setSelectedColumnToEdit(undefined)+ }++ const onEditColumn = (column: PostgresColumn) => {+ setSidePanelKey('column')+ setSelectedColumnToEdit(column)+ }++ const onColumnUpdated = async () => {+ const updatedTable = await meta.tables.loadById(selectedTable.id)+ setSelectedTable(updatedTable)+ }++ const onClosePanel = () => setSidePanelKey(undefined)++ return (+ <DatabaseLayout title="Database">+ <div className="p-4">+ {isUndefined(selectedTable) ? (+ <TableList+ onAddTable={onAddTable}+ onEditTable={onEditTable}+ onOpenTable={setSelectedTable}+ />+ ) : (+ <ColumnList+ selectedTable={selectedTable}+ onAddColumn={onAddColumn}+ onEditColumn={onEditColumn}+ onSelectBack={() => setSelectedTable(undefined)}+ onColumnDeleted={onColumnUpdated}+ />+ )}+ </div>+ <SidePanelEditor+ sidePanelKey={sidePanelKey}+ selectedSchema="public"+ selectedTable={selectedTable}+ onColumnSaved={onColumnUpdated}+ closePanel={onClosePanel}+ selectedColumnToEdit={selectedColumnToEdit}+ selectedTableToEdit={selectedTableToEdit}+ />+ </DatabaseLayout>+ )+}++export default withAuth(observer(DatabaseTables))diff --git a/studio/pages/project/[ref]/database/triggers.tsx b/studio/pages/project/[ref]/database/triggers.tsxnew file mode 100644index 00000000000..79651ffb0cc--- /dev/null+++ b/studio/pages/project/[ref]/database/triggers.tsx@@ -0,0 +1,295 @@+import { FC, useEffect, useState } from 'react'+import { includes, uniqBy, map as lodashMap } from 'lodash'+import {+ Typography,+ Badge,+ Button,+ Dropdown,+ IconMoreVertical,+ IconTrash,+ Input,+ IconSearch,+ IconEdit3,+ IconLoader,+} from '@supabase/ui'+import { observer } from 'mobx-react-lite'++import { useStore, withAuth } from 'hooks'+import { DatabaseLayout } from 'components/layouts'+import Table from 'components/to-be-cleaned/Table'+import AlphaPreview from 'components/to-be-cleaned/AlphaPreview'+import ProductEmptyState from 'components/to-be-cleaned/ProductEmptyState'+import { CreateTrigger, DeleteTrigger } from 'components/interfaces/Database'++const TriggersPage: FC<any> = () => {+ const { meta } = useStore()++ const [filterString, setFilterString] = useState<string>('')+ const [selectedTrigger, setSelectedTrigger] = useState<any>()+ const [showCreateTriggerForm, setShowCreateTriggerForm] = useState<boolean>(false)+ const [showDeleteTriggerForm, setShowDeleteTriggerForm] = useState<boolean>(false)++ useEffect(() => {+ fetchTriggers()+ }, [])++ const fetchTriggers = async () => {+ await meta.triggers.load()+ }++ const createTrigger = () => {+ setSelectedTrigger(undefined)+ setShowCreateTriggerForm(true)+ }++ const editTrigger = (trigger: any) => {+ setSelectedTrigger(trigger)+ setShowCreateTriggerForm(true)+ }++ const deleteTrigger = (trigger: any) => {+ setSelectedTrigger(trigger)+ setShowDeleteTriggerForm(true)+ }++ return (+ <DatabaseLayout title="Database">+ <TriggersList+ filterString={filterString}+ setFilterString={setFilterString}+ createTrigger={createTrigger}+ editTrigger={editTrigger}+ deleteTrigger={deleteTrigger}+ />+ <CreateTrigger+ trigger={selectedTrigger}+ visible={showCreateTriggerForm}+ setVisible={setShowCreateTriggerForm}+ />+ <DeleteTrigger+ trigger={selectedTrigger}+ visible={showDeleteTriggerForm}+ setVisible={setShowDeleteTriggerForm}+ />+ </DatabaseLayout>+ )+}++export default withAuth(observer(TriggersPage))++const TriggersList: FC<any> = observer(+ ({+ filterString,+ setFilterString = () => {},+ createTrigger = () => {},+ editTrigger = () => {},+ deleteTrigger = () => {},+ }) => {+ const { meta } = useStore()+ const triggers = meta.triggers.list()+ const filteredTriggers = triggers.filter((x: any) =>+ includes(x.name.toLowerCase(), filterString.toLowerCase())+ )+ const filteredTriggerSchemas = lodashMap(uniqBy(filteredTriggers, 'schema'), 'schema')++ if (meta.triggers.isLoading) {+ return (+ <div className="w-full h-full flex items-center justify-center space-x-2">+ <IconLoader className="animate-spin" size={14} />+ <Typography.Text>Loading triggers...</Typography.Text>+ </div>+ )+ }++ if (meta.triggers.hasError) {+ return (+ <Typography.Text className="px-6 py-4" type="danger">+ <p>Error connecting to API</p>+ <p>{`${meta.triggers.error?.message ?? 'Unknown error'}`}</p>+ </Typography.Text>+ )+ }++ return (+ <>+ {triggers.length == 0 ? (+ <div className="flex h-full w-full items-center justify-center">+ <ProductEmptyState+ title="Triggers"+ ctaButtonLabel="Create a new trigger"+ onClickCta={() => createTrigger()}+ >+ <AlphaPreview />+ <Typography.Text type="secondary">+ A PostgreSQL trigger is a function invoked automatically whenever an event+ associated with a table occurs.+ </Typography.Text>+ <Typography.Text type="secondary">+ An event could be any of the following: INSERT, UPDATE, DELETE. A trigger is a+ special user-defined function associated with a table.+ </Typography.Text>+ </ProductEmptyState>+ </div>+ ) : (+ <div className="w-full py-4 space-y-4">+ <div className="flex justify-between items-center px-6">+ <Input+ placeholder="Filter by name"+ size="tiny"+ icon={<IconSearch size="tiny" />}+ value={filterString}+ onChange={(e) => setFilterString(e.target.value)}+ />+ <Button onClick={() => createTrigger()}>Create a new trigger</Button>+ </div>+ {filteredTriggers.length <= 0 && (+ <div className="border dark:border-dark rounded p-6 max-w-lg mx-auto flex justify-center space-x-3 items-center shadow-md">+ <Typography.Text>No results match your filter query</Typography.Text>+ <Button type="outline" onClick={() => setFilterString('')}>+ Reset filter+ </Button>+ </div>+ )}+ {filteredTriggerSchemas.map((schema: any) => (+ <SchemaTable+ key={schema}+ filterString={filterString}+ schema={schema}+ editTrigger={editTrigger}+ deleteTrigger={deleteTrigger}+ />+ ))}+ </div>+ )}+ </>+ )+ }+)++type SchemaTableProps = {+ filterString: string+ schema: string+ editTrigger: (trigger: any) => void+ deleteTrigger: (trigger: any) => void+}++const SchemaTable: FC<SchemaTableProps> = observer(+ ({ filterString, schema, editTrigger, deleteTrigger }) => {+ return (+ <div key={schema} className="">+ <div className="z-10 sticky top-0 backdrop-filter backdrop-blur">+ <div className="flex space-x-1 items-baseline py-2 px-6">+ <Typography.Title level={5} className="opacity-50">+ schema+ </Typography.Title>+ <Typography.Title level={4}>{schema}</Typography.Title>+ </div>+ </div>+ <Table+ className="table-fixed px-6"+ head={+ <>+ <Table.th key="name" className="space-x-4">+ Name+ </Table.th>+ <Table.th key="table" className="hidden lg:table-cell">+ Table+ </Table.th>+ <Table.th key="function" className="hidden xl:table-cell">+ Function+ </Table.th>+ <Table.th key="rows" className="hidden xl:table-cell">+ Events+ </Table.th>+ <Table.th key="buttons" className="w-1/6"></Table.th>+ </>+ }+ body={+ <TriggerList+ filterString={filterString}+ schema={schema}+ editTrigger={editTrigger}+ deleteTrigger={deleteTrigger}+ />+ }+ />+ </div>+ )+ }+)++type TriggerListProps = {+ filterString: string+ schema: string+ editTrigger: (trigger: any) => void+ deleteTrigger: (trigger: any) => void+}++const TriggerList: FC<TriggerListProps> = observer(+ ({ filterString, schema, editTrigger, deleteTrigger }) => {+ const { meta } = useStore()+ const triggers = meta.triggers.list()+ const filteredTriggers = triggers.filter((x: any) =>+ includes(x.name.toLowerCase(), filterString.toLowerCase())+ )++ const _triggers = filteredTriggers.filter((x: any) => x.schema == schema)++ function onEdit(trigger: any) {+ editTrigger(trigger)+ }++ function onDelete(trigger: any) {+ deleteTrigger(trigger)+ }++ return (+ <>+ {_triggers.map((x: any) => (+ <Table.tr key={x.id}>+ <Table.td className="space-x-2">+ <Typography.Text>{x.name}</Typography.Text>+ </Table.td>+ <Table.td className="hidden lg:table-cell">+ <Typography.Text>{x.table}</Typography.Text>+ </Table.td>+ <Table.td className="space-x-2 hidden xl:table-cell">+ <div className="flex flex-col">+ <Typography.Text>{x.function_name}</Typography.Text>+ <Typography.Text type="secondary">{x.function_schema}</Typography.Text>+ </div>+ </Table.td>+ <Table.td className="hidden xl:table-cell">+ <Typography.Text>+ {x.events.map((event: string) => (+ <Badge key={event}>{event}</Badge>+ ))}+ </Typography.Text>+ </Table.td>+ <Table.td className="text-right">+ <Dropdown+ side="bottom"+ align="end"+ overlay={+ <>+ <Dropdown.Item icon={<IconEdit3 size="tiny" />} onClick={() => onEdit(x)}>+ Edit trigger+ </Dropdown.Item>+ <Dropdown.Item+ icon={<IconTrash stroke="red" size="tiny" />}+ onClick={() => onDelete(x)}+ >+ Delete trigger+ </Dropdown.Item>+ </>+ }+ >+ <Button as="span" type="default" icon={<IconMoreVertical />} />+ </Dropdown>+ </Table.td>+ </Table.tr>+ ))}+ </>+ )+ }+)diff --git a/studio/pages/project/[ref]/editor/[id].tsx b/studio/pages/project/[ref]/editor/[id].tsxnew file mode 100644index 00000000000..96a782a27fa--- /dev/null+++ b/studio/pages/project/[ref]/editor/[id].tsx@@ -0,0 +1,190 @@+import { useEffect, useState } from 'react'+import { NextPage } from 'next'+import { useRouter } from 'next/router'+import { observer } from 'mobx-react-lite'+import { isUndefined, isNaN } from 'lodash'+import { Dictionary } from '@supabase/grid'+import { PostgresTable, PostgresColumn } from '@supabase/postgres-meta'++import Base64 from 'lib/base64'+import { tryParseJson } from 'lib/helpers'+import { useStore, withAuth } from 'hooks'+import { TableEditorLayout } from 'components/layouts'+import { TableGridEditor } from 'components/interfaces'+import ConfirmationModal from 'components/ui/ConfirmationModal'++const TableEditorPage: NextPage = () => {+ const router = useRouter()+ const { id }: any = router.query++ const { meta, ui } = useStore()+ const [selectedSchema, setSelectedSchema] = useState<string>()++ const [isDeleting, setIsDeleting] = useState<boolean>(false)+ const [isDuplicating, setIsDuplicating] = useState<boolean>(false)+ const [selectedColumnToDelete, setSelectedColumnToDelete] = useState<PostgresColumn>()+ const [selectedTableToDelete, setSelectedTableToDelete] = useState<PostgresTable>()++ const [sidePanelKey, setSidePanelKey] = useState<'row' | 'column' | 'table'>()+ const [selectedRowToEdit, setSelectedRowToEdit] = useState<Dictionary<any>>()+ const [selectedColumnToEdit, setSelectedColumnToEdit] = useState<PostgresColumn>()+ const [selectedTableToEdit, setSelectedTableToEdit] = useState<PostgresTable>()++ const projectRef = ui.selectedProject?.ref+ const tables: PostgresTable[] = meta.tables.list()+ const selectedTable = !isNaN(Number(id))+ ? tables.find((table) => table.id === Number(id))+ : tryParseJson(Base64.decode(id))++ useEffect(() => {+ if (selectedTable && 'schema' in selectedTable) {+ setSelectedSchema(selectedTable.schema)+ }+ }, [selectedTable?.name])++ const onAddRow = () => {+ setSidePanelKey('row')+ setSelectedRowToEdit(undefined)+ }++ const onEditRow = (row: Dictionary<any>) => {+ setSidePanelKey('row')+ setSelectedRowToEdit(row)+ }++ const onAddColumn = () => {+ setSidePanelKey('column')+ setSelectedColumnToEdit(undefined)+ }++ const onEditColumn = (column: PostgresColumn) => {+ setSidePanelKey('column')+ setSelectedColumnToEdit(column)+ }++ const onDeleteColumn = (column: PostgresColumn) => {+ setIsDeleting(true)+ setSelectedColumnToDelete(column)+ }++ const onAddTable = () => {+ setSidePanelKey('table')+ setIsDuplicating(false)+ setSelectedTableToEdit(undefined)+ }++ const onEditTable = (table: PostgresTable) => {+ setSidePanelKey('table')+ setIsDuplicating(false)+ setSelectedTableToEdit(table)+ }++ const onDeleteTable = (table: PostgresTable) => {+ setIsDeleting(true)+ setSelectedTableToDelete(table)+ }++ const onDuplicateTable = (table: PostgresTable) => {+ setSidePanelKey('table')+ setIsDuplicating(true)+ setSelectedTableToEdit(table)+ }++ const onClosePanel = () => {+ setSidePanelKey(undefined)+ }++ const onConfirmDeleteColumn = async () => {+ try {+ const response: any = await meta.columns.del(selectedColumnToDelete!.id)+ if (response.error) throw response.error++ await meta.tables.loadById(selectedColumnToDelete!.table_id)+ } catch (error: any) {+ ui.setNotification({+ category: 'error',+ message: `Failed to delete ${selectedColumnToDelete!.name}: ${error.message}`,+ })+ } finally {+ setIsDeleting(false)+ setSelectedColumnToDelete(undefined)+ }+ }++ const onConfirmDeleteTable = async () => {+ try {+ const tables = meta.tables.list((table: PostgresTable) => table.schema === selectedSchema)+ const response: any = await meta.tables.del(selectedTableToDelete!.id)++ if (response.error) throw response.error++ // For simplicity for now, we just open the first table within the same schema+ if (tables.length > 0) {+ router.push(`/project/${projectRef}/editor/${tables[0].id}`)+ } else {+ router.push(`/project/${projectRef}/editor/`)+ }+ ui.setNotification({+ category: 'success',+ message: `Successfully deleted ${selectedTableToDelete!.name}`,+ })+ } catch (error: any) {+ ui.setNotification({+ category: 'error',+ message: `Failed to delete ${selectedTableToDelete!.name}: ${error.message}`,+ })+ } finally {+ setIsDeleting(false)+ setSelectedTableToDelete(undefined)+ }+ }++ return (+ <TableEditorLayout+ selectedSchema={selectedSchema}+ onSelectSchema={setSelectedSchema}+ onAddTable={onAddTable}+ onEditTable={onEditTable}+ onDeleteTable={onDeleteTable}+ onDuplicateTable={onDuplicateTable}+ >+ <TableGridEditor+ selectedSchema={selectedSchema}+ selectedTable={selectedTable}+ sidePanelKey={sidePanelKey}+ isDuplicating={isDuplicating}+ selectedRowToEdit={selectedRowToEdit}+ selectedColumnToEdit={selectedColumnToEdit}+ selectedTableToEdit={selectedTableToEdit}+ onAddRow={onAddRow}+ onEditRow={onEditRow}+ onAddColumn={onAddColumn}+ onEditColumn={onEditColumn}+ onDeleteColumn={onDeleteColumn}+ onClosePanel={onClosePanel}+ />+ <ConfirmationModal+ danger+ visible={isDeleting && !isUndefined(selectedColumnToDelete)}+ title={`Confirm deletion of column "${selectedColumnToDelete?.name}"`}+ description={`Are you sure you want to delete the selected column? This action cannot be undone`}+ buttonLabel="Delete"+ buttonLoadingLabel="Deleting"+ onSelectCancel={() => setIsDeleting(false)}+ onSelectConfirm={onConfirmDeleteColumn}+ />+ <ConfirmationModal+ danger+ visible={isDeleting && !isUndefined(selectedTableToDelete)}+ title={`Confirm deletion of table "${selectedTableToDelete?.name}"`}+ description={`Are you sure you want to delete the selected table? This action cannot be undone`}+ buttonLabel="Delete"+ buttonLoadingLabel="Deleting"+ onSelectCancel={() => setIsDeleting(false)}+ onSelectConfirm={onConfirmDeleteTable}+ />+ </TableEditorLayout>+ )+}++export default withAuth(observer(TableEditorPage))diff --git a/studio/pages/project/[ref]/editor/index.tsx b/studio/pages/project/[ref]/editor/index.tsxnew file mode 100644index 00000000000..5a10c752198--- /dev/null+++ b/studio/pages/project/[ref]/editor/index.tsx@@ -0,0 +1,100 @@+import { useState, useEffect } from 'react'+import { NextPage } from 'next'+import { observer } from 'mobx-react-lite'+import { isUndefined, isNil } from 'lodash'+import { PostgresTable } from '@supabase/postgres-meta'++import { tryParseJson } from 'lib/helpers'+import { useStore, withAuth } from 'hooks'+import { TableEditorLayout } from 'components/layouts'+import { EmptyState, SidePanelEditor } from 'components/interfaces/TableGridEditor'+import ConfirmationModal from 'components/ui/ConfirmationModal'+import router from 'next/router'++const Editor: NextPage = () => {+ const { meta, ui } = useStore()+ const projectRef = ui.selectedProject?.ref+ const [sidePanelKey, setSidePanelKey] = useState<'row' | 'column' | 'table'>()+ const [isDeleting, setIsDeleting] = useState<boolean>(false)+ const [isDuplicating, setIsDuplicating] = useState<boolean>(false)+ const [selectedSchema, setSelectedSchema] = useState<string>('public')+ const [selectedTableToEdit, setSelectedTableToEdit] = useState<PostgresTable>()+ const [selectedTableToDelete, setSelectedTableToDelete] = useState<PostgresTable>()++ const onAddTable = () => {+ setSidePanelKey('table')+ setIsDuplicating(false)+ setSelectedTableToEdit(undefined)+ }++ const onEditTable = (table: PostgresTable) => {+ setSidePanelKey('table')+ setIsDuplicating(false)+ setSelectedTableToEdit(table)+ }++ const onDeleteTable = (table: PostgresTable) => {+ setIsDeleting(true)+ setSelectedTableToDelete(table)+ }++ const onDuplicateTable = (table: PostgresTable) => {+ setSidePanelKey('table')+ setIsDuplicating(true)+ setSelectedTableToEdit(table)+ }++ const onClosePanel = () => {+ setSidePanelKey(undefined)+ }++ const onConfirmDeleteTable = async () => {+ try {+ await meta.tables.del(selectedTableToDelete!.id)+ setIsDeleting(false)+ ui.setNotification({+ category: 'success',+ message: `Successfully deleted ${selectedTableToDelete!.name}`,+ })+ } catch (error: any) {+ ui.setNotification({+ category: 'error',+ message: `Failed to delete ${selectedTableToDelete!.name}`,+ })+ }+ }++ return (+ <TableEditorLayout+ selectedSchema={selectedSchema}+ onSelectSchema={setSelectedSchema}+ onAddTable={onAddTable}+ onEditTable={onEditTable}+ onDeleteTable={onDeleteTable}+ onDuplicateTable={onDuplicateTable}+ >+ <EmptyState selectedSchema={selectedSchema} onAddTable={onAddTable} />+ {/* On this page it'll only handle tables */}+ <SidePanelEditor+ selectedSchema={selectedSchema}+ isDuplicating={isDuplicating}+ selectedTableToEdit={selectedTableToEdit}+ sidePanelKey={sidePanelKey}+ closePanel={onClosePanel}+ onTableCreated={(table: any) => router.push(`/project/${projectRef}/editor/${table.id}`)}+ />+ <ConfirmationModal+ danger+ visible={isDeleting && !isUndefined(selectedTableToDelete)}+ title={`Confirm deletion of table "${selectedTableToDelete?.name}"`}+ description={`Are you sure you want to delete the selected table? This action cannot be undone`}+ buttonLabel="Delete"+ buttonLoadingLabel="Deleting"+ onSelectCancel={() => setIsDeleting(false)}+ onSelectConfirm={onConfirmDeleteTable}+ />+ </TableEditorLayout>+ )+}++export default withAuth(observer(Editor))diff --git a/studio/pages/project/[ref]/index.tsx b/studio/pages/project/[ref]/index.tsxnew file mode 100644index 00000000000..8f9b16054a7--- /dev/null+++ b/studio/pages/project/[ref]/index.tsx@@ -0,0 +1,89 @@+import useSWR from 'swr'+import { NextPage } from 'next'+import { observer } from 'mobx-react-lite'+import { isUndefined } from 'lodash'+import { Typography, IconLoader } from '@supabase/ui'++import { get } from 'lib/common/fetch'+import { API_URL, IS_PLATFORM } from 'lib/constants'+import { useStore, withAuth } from 'hooks'+import BaseLayout from 'components/layouts'+import {+ ExampleProject,+ ClientLibrary,+ ProjectUsage,+ NewProjectPanel,+} from 'components/interfaces/Home'+import { CLIENT_LIBRARIES, EXAMPLE_PROJECTS } from 'components/interfaces/Home/Home.constants'++const Home: NextPage = () => {+ const { ui } = useStore()++ const project = ui.selectedProject+ const projectName =+ project?.ref !== 'default'+ ? project?.name ?? 'Welcome to your project'+ : 'Welcome to your project'++ const { data: usage, error: usageError }: any = useSWR(+ `${API_URL}/projects/${project?.ref}/usage`,+ get+ )++ if (usageError) {+ return <Typography.Text type="danger">Error loading data {usageError.message}</Typography.Text>+ }++ const hasProjectData =+ (usage && usage.bucketSize) || (usage && usage.authUsers !== '0') || (usage && usage.dbTables)+ ? true+ : false++ return (+ <BaseLayout>+ <div className="max-w-7xl mx-auto w-full my-16 space-y-16">+ <div className="mx-6 flex space-x-6 items-center">+ <Typography.Title level={2} className="m-0">+ {projectName}+ </Typography.Title>+ </div>+ {IS_PLATFORM && project && (+ <>+ {isUndefined(usage) ? (+ <div className="w-full flex justify-center items-center space-x-2">+ <IconLoader className="animate-spin" size={14} />+ <Typography.Text>Retrieving project usage statistics</Typography.Text>+ </div>+ ) : hasProjectData ? (+ <ProjectUsage project={project} />+ ) : (+ <NewProjectPanel />+ )}+ </>+ )}+ <div className="space-y-8">+ <div className="mx-6">+ <Typography.Title level={4}>Client libraries</Typography.Title>+ </div>+ <div className="mx-6 grid md:grid-cols-3 gap-12 mb-12">+ {CLIENT_LIBRARIES.map((library) => (+ <ClientLibrary key={library.language} {...library} />+ ))}+ </div>+ </div>+ <div className="space-y-8">+ <div className="mx-6">+ <Typography.Title level={4}>Example projects</Typography.Title>+ </div>+ <div className="mx-6 grid md:grid-cols-2 lg:grid-cols-3 gap-8">+ {EXAMPLE_PROJECTS.map((project) => (+ <ExampleProject key={project.url} {...project} />+ ))}+ </div>+ </div>+ </div>+ </BaseLayout>+ )+}++export default withAuth(observer(Home))diff --git a/studio/pages/project/[ref]/reports/[id].tsx b/studio/pages/project/[ref]/reports/[id].tsxnew file mode 100644index 00000000000..1bdb9c4717e--- /dev/null+++ b/studio/pages/project/[ref]/reports/[id].tsx@@ -0,0 +1,480 @@+import React, { useEffect, useState } from 'react'+import RGL, { WidthProvider } from 'react-grid-layout'+import { observer } from 'mobx-react-lite'+import { useRouter } from 'next/router'+import { groupBy, isNull } from 'lodash'+import { toJS } from 'mobx'+import dayjs from 'dayjs'+import {+ Typography,+ Dropdown,+ Button,+ IconSave,+ Badge,+ IconSettings,+ IconArrowRight,+ Divider,+ IconHome,+ IconChevronRight,+ IconPlus,+} from '@supabase/ui'++import { withAuth } from 'hooks'+import { uuidv4 } from 'lib/helpers'+import { METRICS, METRIC_CATEGORIES, TIME_PERIODS_REPORTS } from 'lib/constants'+import { useProjectContentStore } from 'stores/projectContentStore'+import BaseLayout from 'components/layouts'+import Loading from 'components/ui/Loading'+import EditReportModal from 'components/to-be-cleaned/Reports/EditReportModal'+import ChartHandler from 'components/to-be-cleaned/Charts/ChartHandler'+import DateRangePicker from 'components/to-be-cleaned/DateRangePicker'++const ReactGridLayout = WidthProvider(RGL)+const { Title } = Typography+const LAYOUT_COLUMN_COUNT = 24+const DEFAULT_CHART_COLUMN_COUNT = 12+const DEFAULT_CHART_ROW_COUNT = 4++/*+ * PageLayout is used to setup layout - as usual it will requires inject global store+ */+const PageLayout = () => {+ return (+ <BaseLayout>+ <div className="max-w-7xl mx-auto w-full my-8">+ <Reports />+ </div>+ <EditReportModal />+ </BaseLayout>+ )+}++export default withAuth(observer(PageLayout))++const Reports = () => {+ const router = useRouter()+ const { id, ref } = router.query+ const [loading, setLoading] = useState<any>(false)+ const [name, setName] = useState<any>(null)+ const [description, setDescription] = useState<any>(null)+ const [config, setConfig] = useState<any>(null)+ const [originalConfig, setOriginalConfig] = useState<any>(null)+ const [hasEdits, setHasEdits] = useState<any>(false)+ const [saving, setSaving] = useState<any>(false)+ const [startDate, setStartDate] = useState<any>(null)+ const [endDate, setEndDate] = useState<any>(null)++ const contentStore = useProjectContentStore(ref)++ /*+ * fetchReport()+ *+ * Fetches the report and sets the main states of the page+ * Also sets an 'original' report for comaprison.+ *+ * toJS() is used to deepcopy mobx to js+ */+ const fetchReport = async () => {+ setLoading(true)+ await contentStore.load()+ const reportData = contentStore.byId(id)++ if (reportData) {+ setName(toJS(reportData?.name))+ setDescription(toJS(reportData?.description))+ setConfig(toJS(reportData.content))+ setOriginalConfig(toJS(reportData.content))+ }++ setLoading(false)+ return reportData+ }++ /*+ * handleDateRangePicker()+ *+ * Sets date range of reports, using the DateRangePicker component+ */+ function handleDateRangePicker({ period_start, period_end }: any) {+ setStartDate(period_start.date)+ setEndDate(period_end.date)+ }++ /*+ * checkEditState()+ *+ * Makes a comparison of report changes vs the original report+ *+ * returns setHasEdits(bool)+ */+ function checkEditState() {+ /*+ * Shallow copying the config state variable maintains a mobx reference+ * Instead, we stringify it and parse it again to remove anything+ * that can be mutated at component state level.+ *+ * This allows us to mutate these configs, like removing dates in case we do not+ * want to compare fixed dates as possible differences from saved and edited versions of report.+ */+ let _config = JSON.parse(JSON.stringify(config))+ let _original = JSON.parse(JSON.stringify(originalConfig))++ if (!_original || !_config) return++ /*+ * Check if the dates are a fixed custom date range+ * if they are not, we remove the dates for the edit check comparison+ *+ * this feature is not yet in use, but if we did use custom fixed date ranges,+ * the below would not need to be run+ */+ if (+ _config.period_start.time_period != 'custom' ||+ _config.period_end.time_period != 'custom'+ ) {+ _original.period_start.date = ''+ _config.period_start.date = ''+ _original.period_end.date = ''+ _config.period_end.date = ''+ }++ /*+ * Runs comparison+ */+ if (JSON.stringify(_config) == JSON.stringify(_original)) {+ setHasEdits(false)+ } else {+ setHasEdits(true)+ }+ }++ /*+ * Reloads the entire report when id changes+ */+ useEffect(() => {+ fetchReport()+ }, [id])++ /*+ * Runs when any changes are made to report+ */+ useEffect(() => {+ checkEditState()+ }, [config])++ /*+ * Loading state+ */+ if (!config) {+ return <Loading />+ }++ /*+ * saveReport()+ *+ * Updates the report and reloads the report again+ */+ const saveReport = async () => {+ setSaving(true)+ const payload = {+ content: config,+ }+ await contentStore.update(id, payload)+ await fetchReport()+ setHasEdits(false)+ setSaving(false)+ }++ /*+ * handleChartSelection()+ *+ * Handler for the chart behaviour+ */+ function handleChartSelection({ metric, value }: any) {+ if (value) {+ pushChart({ metric })+ } else {+ popChart({ metric })+ }+ }++ /*+ * pushChart()+ *+ * Adds a new chart to the report+ */+ function pushChart({ metric }: any) {+ let current = config.layout+ const index = current.length + 1++ let x = 0+ let y = null++ const chartsByY = groupBy(config.layout, 'y')+ const yValues = Object.keys(chartsByY)++ if (yValues.length === 0) {+ y = 0+ } else {+ // Find if any row has space to fit in a new chart+ for (const yValue of yValues) {+ const totalWidthTaken = chartsByY[yValue].reduce((a, b) => a + b.w, 0)+ if (LAYOUT_COLUMN_COUNT - totalWidthTaken >= DEFAULT_CHART_COLUMN_COUNT) {+ y = Number(yValue)++ // Given that there can not be any gaps between charts, it's safe to+ // assume that we can set x using the accumulative widths+ x = totalWidthTaken+ break+ }+ }++ // If no rows have space to fit the new chart, bring it to a new row+ if (isNull(y)) {+ y = Number(yValues[yValues.length - 1]) + DEFAULT_CHART_ROW_COUNT+ }+ }++ current.push({+ x,+ y,+ w: DEFAULT_CHART_COLUMN_COUNT,+ h: DEFAULT_CHART_ROW_COUNT,+ id: uuidv4(),+ attribute: metric.key,+ label: metric.label,+ provider: metric.provider,+ })++ const newConfig = {+ ...config,+ layout: current,+ }++ setConfig({+ ...config,+ layout: [...current],+ })+ }++ /*+ * popChart()+ *+ * Removes a chart from the report based on its attribute+ */+ function popChart({ metric }: any) {+ const { key } = metric+ let current = config.layout++ const foundIndex = current.findIndex((x: any, i: number) => {+ if (x.attribute === key) {+ return x+ }+ })+ current.splice(foundIndex, 1)+ setConfig({+ ...config,+ layout: [...current],+ })+ }++ const MetricOptions = () => {+ return (+ <>+ {Object.values(METRIC_CATEGORIES).map((cat) => {+ return (+ <>+ <Dropdown+ isNested+ overlay={+ <>+ {METRICS.filter((metric) => metric?.category?.key === cat.key).map((metric) => {+ return (+ <Dropdown.Checkbox+ key={metric.key}+ checked={config.layout?.find((x: any) => x.attribute === metric.key)}+ onChange={(e) => handleChartSelection({ metric, value: e })}+ >+ <div className="flex flex-col space-y-0">+ <span>{metric.label}</span>+ {/* <span className="opacity-50">{metric.description}</span> */}+ </div>+ </Dropdown.Checkbox>+ )+ })}+ </>+ }+ >+ <Dropdown.TriggerItem icon={cat.icon ? cat.icon : <IconHome size="tiny" />}>+ <div className="flex items-center justify-between w-full">+ <span>{cat.label}</span>+ <Typography.Text type="secondary">+ <IconChevronRight size="small" />+ </Typography.Text>+ </div>+ </Dropdown.TriggerItem>+ </Dropdown>+ <Divider light />+ </>+ )+ })}+ </>+ )+ }++ return (+ <div className="mx-6 flex flex-col space-y-4" style={{ maxHeight: '100%' }}>+ <Title level={3} className="m-0">+ Reports+ </Title>++ <div className="flex mb-4 items-center space-x-3 justify-between">+ <div className="flex space-x-3 items-center">+ {/* @ts-ignore */}+ <DateRangePicker+ onChange={handleDateRangePicker}+ value={'7d'}+ options={TIME_PERIODS_REPORTS}+ loading={loading}+ />++ {startDate && endDate && (+ <div className="hidden lg:flex space-x-1 items-center ">+ <Typography.Text type="secondary">+ {dayjs(startDate).format('MMM D, YYYY')}+ </Typography.Text>+ <Typography.Text type="secondary" className="opacity-50">+ <IconArrowRight size={12} />+ </Typography.Text>+ <Typography.Text type="secondary">+ {dayjs(endDate).format('MMM D, YYYY')}+ </Typography.Text>+ </div>+ )}+ </div>++ <div className="flex space-x-2 items-center">+ {hasEdits && (+ <div className="hidden xl:inline-block">+ <Badge color="green">There are unsaved changes</Badge>+ </div>+ )}+ {hasEdits && (+ <Button+ type={!hasEdits ? 'default' : 'primary'}+ disabled={!hasEdits}+ icon={<IconSave />}+ onClick={() => saveReport()}+ loading={saving}+ >+ {hasEdits && 'Save changes'}+ </Button>+ )}++ <Dropdown side="bottom" align="end" overlay={<MetricOptions />}>+ <Button as="span" type="default" iconRight={<IconSettings />}>+ Add / Remove charts+ </Button>+ </Dropdown>+ {/* <Button type="default" icon={<IconCopy />}>+ Duplicate report+ </Button> */}+ </div>+ </div>++ {config.layout.length <= 0 ? (+ <div className="border-2 dark:border-dark border-dashed p-16 rounded flex items-center justify-center min-h-full">+ <Dropdown side="bottom" align="center" overlay={<MetricOptions />}>+ <Button as="span" type="default" iconRight={<IconPlus />}>+ {config.layout.length <= 0 ? 'Add your first chart' : 'Add another chart'}+ </Button>+ </Dropdown>+ </div>+ ) : (+ <div className="relative flex-grow max-w-7xl mb-16">+ {config && startDate && endDate && (+ // @ts-ignore+ <GridResize+ startDate={startDate}+ endDate={endDate}+ interval={config.interval}+ editableReport={config}+ setEditableReport={setConfig}+ />+ )}+ </div>+ )}+ </div>+ )+}++const GridResize = ({ startDate, endDate, interval, editableReport, setEditableReport }: any) => {+ if (!editableReport) return++ useEffect(() => {+ generateDOM()+ }, [editableReport])++ function generateDOM() {+ return editableReport.layout.map((x: any, i: number) => {+ // const availableHandles = ['s', 'w', 'e', 'n', 'sw', 'nw', 'se', 'ne']+ // x.resizeHandles = availableHandles+ return (+ <div+ key={x.id}+ data-grid={{ ...x, minH: 4, maxH: 4, minW: 8 }}+ className="relative react-grid-layout__report-item bg-white dark:bg-gray-700 border shadow-sm dark:border-dark rounded px-6 py-4 hover:border-green-600 dark:hover:border-green-600 group"+ >+ <ChartHandler+ startDate={startDate}+ endDate={endDate}+ interval={interval}+ attribute={x.attribute}+ provider={x.provider}+ label={x.label}+ customDateFormat={'MMM D, YYYY'}+ />+ <div className="absolute top-3 inset-x-0 ">+ <div className="flex justify-around">+ <div className="w-24 h-3 space-y-2 flex flex-col cursor-drag">+ <div className="transition-all border-4 border-dotted border-green-600 h-3 w-full hidden opacity-50 group-hover:block hover:opacity-100"></div>+ </div>+ </div>+ </div>+ </div>+ )+ })+ }++ function onLayoutChange(layout: any) {+ let updatedLayout = editableReport.layout+ layout.map((item: any) => {+ const index = updatedLayout.findIndex((x: any) => x.id === item.i)+ updatedLayout[index].w = layout[index].w+ updatedLayout[index].h = layout[index].h+ updatedLayout[index].x = layout[index].x+ updatedLayout[index].y = layout[index].y+ })+ const payload = {+ ...editableReport,+ layout: updatedLayout,+ }+ setEditableReport(payload)+ }++ return (+ <>+ <ReactGridLayout+ autoSize={true}+ layout={editableReport}+ onLayoutChange={(layout) => onLayoutChange(layout)}+ rowHeight={60}+ cols={LAYOUT_COLUMN_COUNT}+ containerPadding={[0, 0]}+ compactType="horizontal"+ >+ {generateDOM()}+ </ReactGridLayout>+ </>+ )+}diff --git a/studio/pages/project/[ref]/reports/index.tsx b/studio/pages/project/[ref]/reports/index.tsxnew file mode 100644index 00000000000..e7d41f8b0d8--- /dev/null+++ b/studio/pages/project/[ref]/reports/index.tsx@@ -0,0 +1,76 @@+import { useEffect, useState } from 'react'+import { observer } from 'mobx-react-lite'+import { useRouter } from 'next/router'+import { Typography } from '@supabase/ui'++import { API_URL } from 'lib/constants'+import { useStore, withAuth } from 'hooks'+import { post } from 'lib/common/fetch'+import { PROJECT_STATUS } from 'lib/constants'+import BaseLayout from 'components/layouts'+import Loading from 'components/ui/Loading'+import ProductEmptyState from 'components/to-be-cleaned/ProductEmptyState'++import { useProjectContentStore } from 'stores/projectContentStore'+import { createReport } from 'components/to-be-cleaned/Reports/Reports.utils'++const { Text } = Typography++const PageLayout = () => {+ const [loading, setLoading] = useState(true)++ const router = useRouter()+ const { ref } = router.query++ const { ui } = useStore()+ const project = ui.selectedProject++ const contentStore = useProjectContentStore(ref)++ useEffect(() => {+ if (project && project.status === PROJECT_STATUS.INACTIVE) {+ post(`${API_URL}/projects/${ref}/restore`, {})+ }+ }, [project])++ async function loadReports() {+ await contentStore.load()+ const reports = contentStore.reports()++ if (reports.length >= 1) {+ router.push(`/project/${ref}/reports/${reports[0].id}`)+ } else {+ setLoading(false)+ }+ }++ useEffect(() => {+ loadReports()+ }, [ref])++ return (+ <BaseLayout>+ <div className="flex-grow max-w-7xl mx-auto w-full my-16 space-y-16">+ {loading ? (+ <Loading />+ ) : (+ <ProductEmptyState+ title="Reports"+ ctaButtonLabel="Create report"+ // infoButtonLabel="About reports"+ // infoButtonUrl="https://supabase.io/docs/guides/storage"+ onClickCta={() => createReport({ router })}+ >+ <Text type="secondary">Create custom reports for your projects.</Text>+ <Text type="secondary">+ Get a high level overview of your network traffic, user actions, and infrastructure+ health.+ </Text>+ </ProductEmptyState>+ )}+ </div>+ </BaseLayout>+ )+}++export default withAuth(observer(PageLayout))diff --git a/studio/pages/project/[ref]/settings/api.tsx b/studio/pages/project/[ref]/settings/api.tsxnew file mode 100644index 00000000000..28c03453441--- /dev/null+++ b/studio/pages/project/[ref]/settings/api.tsx@@ -0,0 +1,399 @@+import useSWR from 'swr'+import { FC, createContext, useContext, useState } from 'react'+import { indexOf } from 'lodash'+import { toast } from 'react-hot-toast'+import { useRouter } from 'next/router'+import { AutoField } from 'uniforms-bootstrap4'+import { observer, useLocalObservable } from 'mobx-react-lite'+import {+ Typography,+ Input,+ IconAlertCircle,+ Button,+ Modal,+ IconKey,+ Dropdown,+ Divider,+ IconRefreshCw,+ IconPenTool,+ IconChevronDown,+} from '@supabase/ui'++import { API_URL } from 'lib/constants'+import { useStore, withAuth } from 'hooks'+import { patch, get } from 'lib/common/fetch'+import { SettingsLayout } from 'components/layouts'+import Panel from 'components/to-be-cleaned/Panel'+import MultiSelectUI from 'components/to-be-cleaned/MultiSelect'+import SchemaFormPanel from 'components/to-be-cleaned/forms/SchemaFormPanel'+import { DisplayApiSettings } from 'components/to-be-cleaned/DisplayProjectSettings'+import ConfirmationModal from 'components/ui/ConfirmationModal'++const PageContext: any = createContext(null)++const ApiSettings = () => {+ const router = useRouter()+ const { ref } = router.query++ const { meta, ui } = useStore()+ const project = ui.selectedProject++ // page context+ const PageState: any = useLocalObservable(() => ({+ project: null,+ projectRef: ref,+ meta: null,+ }))++ PageContext.meta = meta+ PageContext.project = project++ // load schemas+ const load = async () => {+ await meta.schemas.load()+ }++ if (meta) {+ PageState.meta = meta+ load()+ }++ return (+ <SettingsLayout title="API Settings">+ <PageContext.Provider value={PageState}>+ <div className="content w-full h-full overflow-y-auto">+ <ServiceList projectRef={ref} />+ </div>+ </PageContext.Provider>+ </SettingsLayout>+ )+}++export default withAuth(observer(ApiSettings))++const ServiceList: FC<any> = ({ projectRef }) => {+ const { ui } = useStore()+ const router = useRouter()+ const { ref } = router.query++ const [customToken, setCustomToken] = useState<string>('')+ const [isRegeneratingKey, setIsGeneratingKey] = useState<boolean>(false)+ const [isCreatingKey, setIsCreatingKey] = useState<boolean>(false)+ const [isLoadingCreatingKey, setIsLoadingCreatingKey] = useState<boolean>(false)++ const {+ data,+ error,+ mutate: mutateSettings,+ }: any = useSWR(`${API_URL}/props/project/${projectRef}/settings`, get)+ const { data: config, mutate: mutateConfig }: any = useSWR(+ `${API_URL}/projects/${projectRef}/config?app=postgrest`,+ get+ )++ if (error) {+ return (+ <div className="p-6 mx-auto sm:w-full md:w-3/4 text-center">+ <Typography.Title level={3}>Error loading API settings</Typography.Title>+ </div>+ )+ }+ if (!data) {+ return (+ <div className="p-6 mx-auto sm:w-full md:w-3/4 text-center">+ <Typography.Title level={3}>Loading...</Typography.Title>+ </div>+ )+ }++ const { services } = data++ // Get the API service+ const API_SERVICE_ID = 1+ const apiService = services.find((x: any) => x.app.id == API_SERVICE_ID)+ const apiConfig = apiService?.app_config++ async function handleGenerateNewJwtToken() {+ try {+ const res = await patch(`${API_URL}/projects/${ref}/config?app=secrets`, {+ jwt_secret: 'ROLL',+ })+ if (res.error) throw res.error+ setIsGeneratingKey(false)+ // refetch data in forms+ mutateSettings()+ mutateConfig()+ ui.setNotification({ category: 'success', message: 'Successfully updated JWT secret' })+ } catch (error: any) {+ ui.setNotification({ category: 'error', message: error.message })+ }+ }++ async function handleCustomNewJwtToken() {+ setIsLoadingCreatingKey(true)+ try {+ const res = await patch(`${API_URL}/projects/${ref}/config?app=secrets`, {+ jwt_secret: customToken,+ })+ if (res.error) throw res.error+ setIsCreatingKey(false)+ // refetch data in forms+ mutateSettings()+ mutateConfig()+ ui.setNotification({ category: 'success', message: 'Successfully updated JWT secret' })+ } catch (error: any) {+ ui.setNotification({ category: 'error', message: error.message })+ } finally {+ setIsLoadingCreatingKey(false)+ }+ }++ return (+ <>+ <article className="p-4 max-w-4xl">+ <DisplayApiSettings key="DisplayAPISettings" />+ <section>+ <Panel+ title={+ <Typography.Title level={5} className="mb-0">+ Config+ </Typography.Title>+ }+ >+ <Panel.Content>+ <Input+ copy+ label="URL"+ readOnly+ disabled+ className="input-mono"+ value={`https://${apiConfig?.endpoint ?? '-'}`}+ descriptionText="A RESTful endpoint for querying and managing your database."+ layout="horizontal"+ />+ </Panel.Content>+ <Panel.Content className="border-t border-panel-border-interior-light dark:border-panel-border-interior-dark space-y-6">+ <Input+ label="JWT Secret"+ readOnly+ copy+ reveal+ disabled={true}+ value={config?.jwt_secret || ''}+ className="input-mono"+ descriptionText={+ 'Used to decode your JWTs. You can also use this to mint your own JWTs.'+ }+ layout="horizontal"+ />+ {/* Temporarily hide the jwt secret rolling feature */}+ {/* <div className="space-y-3">+ <div className="p-3 px-6 dark:bg-bg-alt-dark bg-bg-alt-light rounded-md shadow-sm border dark:border-dark flex items-center justify-between">+ <div>+ <Typography.Text>Generate a new JWT secret</Typography.Text>+ <div>+ <Typography.Text type="secondary">+ A random secret will be created, or you can create your own.+ </Typography.Text>+ </div>+ </div>+ <div className="flex flex-col items-end">+ <Dropdown+ align="end"+ side="bottom"+ overlay={+ <>+ <Dropdown.Item+ onClick={() => setIsGeneratingKey(true)}+ icon={<IconRefreshCw size={16} />}+ >+ Generate a random secret+ </Dropdown.Item>+ <Divider light />+ <Dropdown.Item+ onClick={() => setIsCreatingKey(true)}+ icon={<IconPenTool size={16} />}+ >+ Create my own secret+ </Dropdown.Item>+ </>+ }+ >+ <Button as="span" type="secondary" iconRight={<IconChevronDown />}>+ Generate a new secret+ </Button>+ </Dropdown>+ </div>+ </div>+ </div> */}+ </Panel.Content>+ </Panel>+ </section>+ <section>{config && <PostgrestConfig config={config} projectRef={projectRef} />}</section>+ </article>+ <ConfirmationModal+ danger+ visible={isRegeneratingKey}+ title="Generate new JWT secret"+ buttonLabel="Generate new secret"+ buttonLoadingLabel="Generating"+ children={+ <Typography.Text type="secondary">+ Are you sure you want to genereate a random new JWT secret? This action cannot be undone+ and the old JWT secret will be lost.+ </Typography.Text>+ }+ onSelectCancel={() => setIsGeneratingKey(false)}+ onSelectConfirm={handleGenerateNewJwtToken}+ />+ <Modal+ closable+ title="Create a custom JWT secret"+ visible={isCreatingKey}+ size="small"+ confirmText="Apply new JWT secret"+ variant="danger"+ alignFooter="right"+ loading={isLoadingCreatingKey}+ onCancel={() => setIsCreatingKey(false)}+ onConfirm={handleCustomNewJwtToken}+ >+ <Typography.Text type="secondary">+ Create a custom JWT secret. Make sure it is a strong combination of characters that cannot+ be guessed easily.+ </Typography.Text>+ <Input+ onChange={(e: any) => setCustomToken(e.target.value)}+ value={customToken}+ icon={<IconKey />}+ type="password"+ className="w-full text-left"+ label="Custom JWT secret"+ descriptionText="Must be at least 32 characters long"+ />+ </Modal>+ </>+ )+}++const PostgrestConfig = ({ config, projectRef }: any) => {+ const PageState: any = useContext(PageContext)+ const { meta } = PageState++ const [updates, setUpdates] = useState({+ db_schema: config.db_schema,+ max_rows: config.max_rows,+ db_extra_search_path: config.db_extra_search_path || '',+ })++ const updateConfig = async (updatedConfig: any) => {+ try {+ const response = await patch(+ `${API_URL}/projects/${projectRef}/config?app=postgrest`,+ updatedConfig+ )+ if (response.error) {+ throw response.error+ } else {+ toast(`Settings saved`)+ }+ } catch (error: any) {+ toast.error(`Update config failed: ${error.message}`)+ }+ }++ // manually filter out following schema+ const hiddenSchema = ['auth', 'pgbouncer', 'hooks', 'extensions']+ // following schema is permament+ const permanentSchema = ['public', 'storage']+ // construct list of schema for input controller+ const schema =+ meta.schemas+ .list(+ (x: any) => {+ const find = indexOf(hiddenSchema, x.name)+ if (find < 0) return x+ },+ { allSchemas: true }+ )+ .map((x: any) => {+ return {+ id: x.id,+ value: x.name,+ name: x.name,+ disabled: indexOf(permanentSchema, x.name) >= 0 ? true : false,+ }+ }) ?? []++ return (+ <>+ <SchemaFormPanel+ title="Settings"+ schema={{+ properties: {+ db_schema: {+ title: 'Schema',+ type: 'string',+ help: 'The schema to expose in your API. Tables, views and stored procedures in this schema will get API endpoints. Multiple schemas must be comma-separated.',+ },+ max_rows: {+ title: 'Max Rows',+ type: 'integer',+ help: 'The maximum number of rows returns from a view, table, or stored procedure. Limits payload size for accidental or malicious requests.',+ },+ db_extra_search_path: {+ title: 'Extra search path',+ type: 'string',+ help: 'Extra schemas to add to the search_path of every request. Multiple schemas must be comma-separated.',+ },+ },+ required: ['max_rows'],+ type: 'object',+ }}+ model={updates}+ onSubmit={(model: any) => updateConfig(model)}+ onReset={() => setUpdates(config)}+ >+ <div className="space-y-6 py-4">+ {schema.length >= 1 && (+ <MultiSelectUI+ options={schema}+ // value must be passed as array of strings+ value={updates.db_schema.replace(/ /g, '').split(',')}+ // onChange returns array of strings+ onChange={(event) => {+ let payload = updates+ payload.db_schema = event.join(', ') // permanentSchema.concat(event).join(', ')+ setUpdates({ ...payload })+ updateConfig({ ...payload })+ }}+ label={'Schema'}+ descriptionText={+ <>+ The schema to expose in your API. Tables, views and stored procedures in this+ schema will get API endpoints.<code>public</code> and <code>storage</code> are+ protected by default.+ </>+ }+ emptyMessage={+ <>+ <Typography.Text className="mb-2">+ <IconAlertCircle />+ </Typography.Text>+ <Typography.Text>No schema available to choose</Typography.Text>+ <div>+ <Typography.Text small className="opacity-50">+ New schema you create will appear here+ </Typography.Text>+ </div>+ </>+ }+ />+ )}+ <AutoField name="db_extra_search_path" showInlineError errorMessage="Must be a string." />+ <AutoField name="max_rows" showInlineError errorMessage="Must be a number." />+ </div>+ </SchemaFormPanel>+ </>+ )+}diff --git a/studio/pages/project/[ref]/settings/billing.tsx b/studio/pages/project/[ref]/settings/billing.tsxnew file mode 100644index 00000000000..a7b2d86407d--- /dev/null+++ b/studio/pages/project/[ref]/settings/billing.tsx@@ -0,0 +1,164 @@+import dayjs from 'dayjs'+import { FC, useEffect, useState } from 'react'+import { observer } from 'mobx-react-lite'+import toast from 'react-hot-toast'+import { Typography, Loading, IconArrowRight } from '@supabase/ui'+import { get as _get, maxBy } from 'lodash'+import { Dictionary } from '@supabase/grid'++import { API_URL } from 'lib/constants'+import { useStore, withAuth } from 'hooks'+import { post, get } from 'lib/common/fetch'+import {+ DATE_FORMAT,+ STRIPE_PRODUCT_IDS,+ TIME_PERIODS_REPORTS,+ TIME_PERIODS_BILLING,+} from 'lib/constants'+import { SettingsLayout } from 'components/layouts'+import LoadingUI from 'components/ui/Loading'+import {+ PAYGUsage,+ Subscription,+ StripeSubscription,+ chargeableProducts,+} from 'components/interfaces/Billing'++import ProjectUsage from 'components/to-be-cleaned/Usage'+import DateRangePicker from 'components/to-be-cleaned/DateRangePicker'++type ProjectBillingProps = {} & any+const ProjectBilling: FC<ProjectBillingProps> = ({ store }) => {+ const { ui } = useStore()+ const project = ui.selectedProject++ return (+ <SettingsLayout title="Billing and Usage">+ <div className="content w-full h-full overflow-y-auto">+ <div className="mx-auto w-full">+ <Settings project={project} />+ </div>+ </div>+ </SettingsLayout>+ )+}++export default withAuth(observer(ProjectBilling))++type SettingsProps = {+ project: any+}+const Settings: FC<SettingsProps> = ({ project }) => {+ const { ui } = useStore()+ const projectRef = ui.selectedProject?.ref++ const [loading, setLoading] = useState<boolean>(true)+ const [subscription, setSubscription] = useState<StripeSubscription>()+ const [paygStats, setPaygStats] = useState<Dictionary<number>>()+ const [dateRange, setDateRange] = useState<any>()++ useEffect(() => {+ if (projectRef) {+ getSubscription()+ }+ }, [projectRef])++ const getSubscription = async () => {+ try {+ setLoading(true)+ const { data: subscription, error }: { data: StripeSubscription; error: any } = await post(+ `${API_URL}/stripe/subscription`,+ {+ subscription_id: project.subscription_id,+ }+ )+ if (error) throw error+ setSubscription(subscription)++ if (subscription.tier.prod_id === STRIPE_PRODUCT_IDS.PAYG) {+ fetchPaygStatistics()+ }+ } catch (error: any) {+ console.error(error)+ toast.error(error.message)+ } finally {+ setLoading(false)+ }+ }++ const fetchPaygStatistics = async () => {+ const startDate = dayjs().utc().startOf('month').format(DATE_FORMAT)+ const endDate = dayjs().utc().endOf('month').format(DATE_FORMAT)+ const attributes =+ 'total_db_size_bytes,total_db_egress_bytes,total_storage_size_bytes,total_storage_egress'+ const url = `${API_URL}/projects/${+ project.ref+ }/daily-stats?attribute=${attributes}&startDate=${encodeURIComponent(+ startDate+ )}&endDate=${encodeURIComponent(endDate)}&interval='1d'`++ const { data } = await get(url)++ const paygStats: any = {}+ chargeableProducts.forEach((product: any) => {+ product.features.forEach((feature: any) => {+ paygStats[feature.attribute] = _get(maxBy(data, feature.attribute), feature.attribute)+ })+ })+ setPaygStats(paygStats)+ }++ if (!subscription) {+ return <LoadingUI />+ }++ return (+ <div className="p-4 container max-w-4xl space-y-8">+ <Subscription+ loading={loading}+ project={project}+ subscription={subscription}+ paygStats={paygStats}+ currentPeriodStart={subscription?.billing.current_period_start}+ currentPeriodEnd={subscription?.billing.current_period_end}+ />+ {loading ? (+ <Loading active={loading}>+ <div className="w-full rounded overflow-hidden border border-panel-border-light dark:border-panel-border-dark mb-8">+ <div className="px-6 py-6 bg-panel-body-light dark:bg-panel-body-dark flex items-center justify-center">+ <Typography.Text>Loading usage breakdown</Typography.Text>+ </div>+ </div>+ </Loading>+ ) : subscription?.tier?.prod_id === STRIPE_PRODUCT_IDS.PAYG ? (+ <div>+ <div className="flex space-x-3 items-center mb-4">+ <DateRangePicker+ onChange={setDateRange}+ value={TIME_PERIODS_BILLING[0].key}+ options={[...TIME_PERIODS_BILLING, ...TIME_PERIODS_REPORTS]}+ loading={loading}+ currentBillingPeriodStart={subscription?.billing.current_period_start}+ />+ {dateRange && (+ <div className="flex space-x-2 items-center">+ <Typography.Text type="secondary">+ {dayjs(dateRange.period_start.date).format('MMM D, YYYY')}+ </Typography.Text>+ <Typography.Text type="secondary" className="opacity-50">+ <IconArrowRight size={12} />+ </Typography.Text>+ <Typography.Text type="secondary">+ {dayjs(dateRange.period_end.date).format('MMM D, YYYY')}+ </Typography.Text>+ </div>+ )}+ </div>+ {paygStats && <PAYGUsage paygStats={paygStats} />}+ </div>+ ) : (+ <ProjectUsage projectRef={project.ref} subscription_id={project.subscription_id} />+ )}+ </div>+ )+}diff --git a/studio/pages/project/[ref]/settings/database.tsx b/studio/pages/project/[ref]/settings/database.tsxnew file mode 100644index 00000000000..03841ec2687--- /dev/null+++ b/studio/pages/project/[ref]/settings/database.tsx@@ -0,0 +1,351 @@+import useSWR from 'swr'+import dayjs from 'dayjs'+import customParseFormat from 'dayjs/plugin/customParseFormat'+import timezone from 'dayjs/plugin/timezone'+import utc from 'dayjs/plugin/utc'+import { FC, useState } from 'react'+import { isUndefined } from 'lodash'+import { useRouter } from 'next/router'+import { toJS } from 'mobx'+import { observer } from 'mobx-react-lite'+import { Typography, Input, Button, IconDownload, IconArrowRight, Tabs } from '@supabase/ui'++import { API_URL } from 'lib/constants'+import { useStore, withAuth } from 'hooks'+import { get } from 'lib/common/fetch'+import { TIME_PERIODS_INFRA } from 'lib/constants'+import { pluckObjectFields } from 'lib/helpers'+import { SettingsLayout } from 'components/layouts'+import Panel from 'components/to-be-cleaned/Panel'+import DateRangePicker from 'components/to-be-cleaned/DateRangePicker'+import ChartHandler from 'components/to-be-cleaned/Charts/ChartHandler'+import { ProjectUsageMinimal } from 'components/to-be-cleaned/Usage'++dayjs.extend(customParseFormat)+dayjs.extend(timezone)+dayjs.extend(utc)++const ProjectSettings = () => {+ const router = useRouter()+ const { ref } = router.query++ const { ui } = useStore()+ const project = ui.selectedProject++ return (+ <SettingsLayout title="Database">+ <div className="content w-full h-full overflow-y-auto">+ <div className="w-full px-4 py-4 max-w-5xl">+ <Usage project={project} />+ <GeneralSettings projectRef={ref} />+ </div>+ </div>+ </SettingsLayout>+ )+}++export default withAuth(observer(ProjectSettings))++const Usage: FC<any> = ({ project }) => {+ const [dateRange, setDateRange] = useState<any>(undefined)+ const router = useRouter()+ const { ref } = router.query++ return (+ <>+ <div>+ <section className="">+ <Panel+ title={+ <Typography.Title key="panel-title" level={5} className="mb-0">+ Database health+ </Typography.Title>+ }+ >+ <Panel.Content>+ <div className="flex space-x-3 items-center mb-4">+ <DateRangePicker+ loading={false}+ value={'3h'}+ options={TIME_PERIODS_INFRA}+ currentBillingPeriodStart={undefined}+ onChange={setDateRange}+ />+ {dateRange && (+ <div className="flex space-x-2 items-center">+ <Typography.Text type="secondary">+ {dayjs(dateRange.period_start.date).format('MMMM D, hh:mma')}+ </Typography.Text>+ <Typography.Text type="secondary" className="opacity-50">+ <IconArrowRight size={12} />+ </Typography.Text>+ <Typography.Text type="secondary">+ {dayjs(dateRange.period_end.date).format('MMMM D, hh:mma')}+ </Typography.Text>+ </div>+ )}+ </div>+ <div className="space-y-6">+ {dateRange && (+ <ChartHandler+ startDate={dateRange?.period_start?.date}+ endDate={dateRange?.period_end?.date}+ attribute={'ram_usage'}+ label={'Memory usage'}+ interval={dateRange.interval}+ provider={'infra-monitoring'}+ />+ )}++ {dateRange && (+ <ChartHandler+ startDate={dateRange?.period_start?.date}+ endDate={dateRange?.period_end?.date}+ attribute={'cpu_usage'}+ label={'CPU usage'}+ interval={dateRange.interval}+ provider={'infra-monitoring'}+ />+ )}+ </div>+ </Panel.Content>+ </Panel>+ </section>+ </div>+ <div>+ <section className="mt-6">+ <Panel+ title={+ <Typography.Title key="panel-title" level={5} className="mb-0">+ Database storage+ </Typography.Title>+ }+ >+ <Panel.Content>+ <ProjectUsageMinimal+ projectRef={ref}+ subscription_id={project.subscription_id}+ filter={'Database'}+ />+ </Panel.Content>+ </Panel>+ </section>+ </div>+ </>+ )+}++const DownloadCertificate: FC<any> = ({ createdAt }) => {+ // instances before 3 : 08 pm sgt 29th April don't have certs installed+ if (new Date(createdAt) < new Date('2021-04-30')) return null+ const env = process.env.NEXT_PUBLIC_ENVIRONMENT === 'prod' ? 'prod' : 'staging'+ return (+ <Panel>+ <Panel.Content>+ <div className="w-full flex items-center justify-between">+ <div>+ <Typography.Text className="block">SSL Connection</Typography.Text>+ <div style={{ maxWidth: '320px' }}>+ <Typography.Text type="secondary" className="opacity-50">+ <p className="opacity-50">+ Use this cert when connecting to your database to prevent snooping and+ man-in-the-middle attacks.+ </p>+ </Typography.Text>+ </div>+ </div>+ <Button type="default" icon={<IconDownload />}>+ <a+ href={`https://supabase-downloads.s3-ap-southeast-1.amazonaws.com/${env}/ssl/${env}-ca-2021.crt`}+ >+ Download Certificate+ </a>+ </Button>+ </div>+ </Panel.Content>+ </Panel>+ )+}++const GeneralSettings: FC<any> = ({ projectRef }) => {+ const { data, error }: any = useSWR(`${API_URL}/props/project/${projectRef}/settings`, get)++ if (data?.error || error) {+ return (+ <div className="p-6 mx-auto sm:w-full md:w-3/4 text-center">+ <Typography.Title level={3}>Error loading database settings</Typography.Title>+ </div>+ )+ }++ if (!data) {+ return (+ <div className="p-6 mx-auto sm:w-full md:w-3/4 text-center">+ <Typography.Title level={3}>Loading...</Typography.Title>+ </div>+ )+ }++ const { project } = data+ const formModel = toJS(project)+ const DB_FIELDS = ['db_host', 'db_name', 'db_port', 'db_user', 'inserted_at']+ const connectionInfo = pluckObjectFields(formModel, DB_FIELDS)++ const defaultConnString =+ `postgresql://${connectionInfo.db_user}:[YOUR-PASSWORD]@` ++ `${connectionInfo.db_host}:${connectionInfo.db_port.toString()}` ++ `/${connectionInfo.db_name}`+ const golangConnString =+ `user=${connectionInfo.db_user} password=[YOUR-PASSWORD] ` ++ `host=${connectionInfo.db_host} port=${connectionInfo.db_port.toString()}` ++ ` dbname=${connectionInfo.db_name}`++ return (+ <>+ <div className="">+ <section className="space-y-6 mt-6">+ <Panel+ title={[+ <Typography.Title key="panel-title" level={5} className="mb-0">+ Connection info+ </Typography.Title>,+ // <Title level={4}>Connection info</Title>+ ]}+ >+ <Panel.Content className="space-y-6">+ <Input+ className="input-mono"+ layout="horizontal"+ readOnly+ copy+ disabled+ value={connectionInfo.db_host}+ label="Host"+ />++ <Input+ className="input-mono"+ layout="horizontal"+ readOnly+ copy+ disabled+ value={connectionInfo.db_name}+ label="Database name"+ />++ <Input+ className="input-mono"+ layout="horizontal"+ readOnly+ copy+ disabled+ value={connectionInfo.db_port.toString()}+ label="Port"+ />++ <Input+ layout="horizontal"+ className="input-mono text-base table-input-cell"+ readOnly+ copy+ disabled+ value={connectionInfo.db_user}+ label="User"+ />++ <Input+ className="input-mono"+ layout="horizontal"+ disabled+ readOnly+ value={'[The password you provided when you created this project]'}+ label="Password"+ />+ </Panel.Content>+ </Panel>+ </section>+ <DownloadCertificate createdAt={connectionInfo.inserted_at} />+ </div>+ <div>+ <section className="space-y-6 mt-6">+ <Panel+ title={+ <Typography.Title key="panel-title" level={5} className="mb-0">+ Connection string+ </Typography.Title>+ }+ >+ <Panel.Content>+ <Tabs type="underlined">+ {/* @ts-ignore */}+ <Tabs.Panel id="psql" label="PSQL">+ <Input copy readOnly disabled value={defaultConnString} />+ </Tabs.Panel>++ {/* @ts-ignore */}+ <Tabs.Panel id="golang" label="Golang">+ <Input copy readOnly disabled value={golangConnString} />+ </Tabs.Panel>++ {/* @ts-ignore */}+ <Tabs.Panel id="jdbc" label="JDBC">+ <Input+ copy+ readOnly+ disabled+ value={+ `jdbc:postgresql://${+ connectionInfo.db_host+ }:${connectionInfo.db_port.toString()}` ++ `/${connectionInfo.db_name}?user=${connectionInfo.db_user}&password=[YOUR-PASSWORD]`+ }+ />+ </Tabs.Panel>++ {/* @ts-ignore */}+ <Tabs.Panel id="dotnet" label=".NET">+ <Input+ copy+ readOnly+ disabled+ value={+ `User Id=${connectionInfo.db_user};Password=[YOUR-PASSWORD];` ++ `Server=${+ connectionInfo.db_host+ };Port=${connectionInfo.db_port.toString()};` ++ `Database=${connectionInfo.db_name}`+ }+ />+ </Tabs.Panel>++ {/* @ts-ignore */}+ <Tabs.Panel id="nodejs" label="Nodejs">+ <Input copy readOnly disabled value={defaultConnString} />+ </Tabs.Panel>++ {/* @ts-ignore */}+ <Tabs.Panel id="php" label="PHP">+ <Input copy readOnly disabled value={golangConnString} />+ </Tabs.Panel>++ {/* @ts-ignore */}+ <Tabs.Panel id="python" label="Python">+ <Input+ copy+ readOnly+ disabled+ value={+ `user=${connectionInfo.db_user} password=[YOUR-PASSWORD]` ++ `host=${connectionInfo.db_host} port=${connectionInfo.db_port.toString()}` ++ ` database=${connectionInfo.db_name}`+ }+ />+ </Tabs.Panel>+ </Tabs>+ </Panel.Content>+ </Panel>+ </section>+ </div>+ </>+ )+}diff --git a/studio/pages/project/[ref]/settings/general.tsx b/studio/pages/project/[ref]/settings/general.tsxnew file mode 100644index 00000000000..4b20f706a78--- /dev/null+++ b/studio/pages/project/[ref]/settings/general.tsx@@ -0,0 +1,243 @@+import React, { FC, useState } from 'react'+import { useRouter } from 'next/router'+import { observer } from 'mobx-react-lite'+import { toJS } from 'mobx'+import { projects } from 'stores/jsonSchema'+import { toast } from 'react-hot-toast'+import { AutoField } from 'uniforms-bootstrap4'+import {+ Modal,+ Alert,+ Button,+ Input,+ Typography,+ IconAlertCircle,+ IconRefreshCcw,+} from '@supabase/ui'++import { API_URL } from 'lib/constants'+import { pluckJsonSchemaFields, pluckObjectFields } from 'lib/helpers'+import { post, delete_ } from 'lib/common/fetch'+import { useStore, withAuth } from 'hooks'+import { SettingsLayout } from 'components/layouts'+import Panel from 'components/to-be-cleaned/Panel'+import SchemaFormPanel from 'components/to-be-cleaned/forms/SchemaFormPanel'+import ConfirmModal from 'components/to-be-cleaned/ModalsDeprecated/ConfirmModalV2'++const ProjectSettings = () => {+ return (+ <SettingsLayout title="General">+ <div className="content w-full h-full overflow-y-auto">+ <div className="mx-auto w-full">+ <GeneralSettings />+ </div>+ </div>+ </SettingsLayout>+ )+}++export default withAuth(observer(ProjectSettings))++const RestartServerButton: FC<any> = ({ projectRef }: any) => {+ const [loading, setLoading] = useState(false)+ const [isModalOpen, setIsModalOpen] = useState(false)++ const openModal = () => setIsModalOpen(true)+ const closeModal = () => setIsModalOpen(false)++ const requestServerRestart = async () => {+ setLoading(true)+ try {+ await post(`${API_URL}/projects/${projectRef}/restart`, {})+ toast('Requested server restart')+ setLoading(false)+ } catch (err) {+ toast.error('Unable to restart server')+ setLoading(false)+ }+ closeModal()+ }++ return (+ <>+ <ConfirmModal+ danger+ visible={isModalOpen}+ title="Restart Server"+ description={`Are you sure you want to restart the server? There will be a few minutes of downtime.`}+ buttonLabel="Restart"+ buttonLoadingLabel="Restarting"+ onSelectCancel={closeModal}+ onSelectConfirm={requestServerRestart}+ />+ <Button type="default" icon={<IconRefreshCcw />} onClick={openModal} loading={loading}>+ Restart server+ </Button>+ </>+ )+}++const GeneralSettings = observer(() => {+ const { app, ui } = useStore()+ const project = ui.selectedProject+ const formModel = toJS(project)+ const BASIC_FIELDS = ['name']++ const handleUpdateProject = async (model: any) => {+ const response = await post(`${API_URL}/projects/${project?.ref}/update`, model)+ if (response.error) {+ toast.error(`Update project failed: ${response.error.message}`)+ } else {+ const updatedProject = response+ app.onProjectUpdated(updatedProject)+ toast(`Settings saved`)+ }+ }++ return (+ <article className="p-4 max-w-4xl">+ <section>+ <SchemaFormPanel+ title="General"+ schema={pluckJsonSchemaFields(projects, BASIC_FIELDS)}+ model={formModel}+ onSubmit={(model: any) => handleUpdateProject(pluckObjectFields(model, BASIC_FIELDS))}+ >+ <AutoField name="name" showInlineError errorMessage="Please enter a project name" />+ </SchemaFormPanel>+ </section>++ <section>+ <Panel+ title={+ <Typography.Title key="panel-title" level={5} className="mb-0">+ Infrastructure+ </Typography.Title>+ }+ >+ <Panel.Content>+ <Input+ readOnly+ disabled+ value={project?.cloud_provider}+ label="Cloud provider"+ layout="horizontal"+ />+ </Panel.Content>+ <Panel.Content className="border-t border-panel-border-interior-light dark:border-panel-border-interior-dark">+ <Input readOnly disabled value={project?.region} label="Region" layout="horizontal" />+ </Panel.Content>+ <Panel.Content className="border-t border-panel-border-interior-light dark:border-panel-border-interior-dark">+ <div className="w-full flex items-center justify-between">+ <div>+ <Typography.Text className="block">Restart Server</Typography.Text>+ <div style={{ maxWidth: '320px' }}>+ <Typography.Text type="secondary" className="opacity-50">+ Restart your project server+ </Typography.Text>+ </div>+ </div>+ <RestartServerButton projectRef={project?.ref} />+ </div>+ </Panel.Content>+ </Panel>+ </section>++ <section>+ <Panel title={<Typography.Text className="uppercase">Danger Zone</Typography.Text>}>+ <Panel.Content>+ <Alert+ variant="danger"+ withIcon+ // @ts-ignore+ title={+ <Typography.Text>+ Deleting this project will also remove your database.+ </Typography.Text>+ }+ >+ <Typography.Text className="block mb-4">+ Make sure you have made a backup if you want to keep your data.+ </Typography.Text>+ <ProjectDeleteModal project={project} />+ </Alert>+ </Panel.Content>+ </Panel>+ </section>+ </article>+ )+})++const ProjectDeleteModal = ({ project }: any) => {+ const router = useRouter()+ const { app } = useStore()+ const [isOpen, setIsOpen] = useState(false)+ const [value, setValue] = useState('')+ const [loading, setLoading] = useState(false)++ const toggle = () => {+ if (loading) return+ setIsOpen(!isOpen)+ }++ async function handleDeleteProject() {+ setLoading(true)+ try {+ const response = await delete_(`${API_URL}/projects/${project.ref}/remove`)+ if (response.error) throw response.error+ app.onProjectDeleted(response)+ toast.success(`Deleted ${project.name} successfully`, {+ duration: 4000,+ })+ router.push(`/`)+ } catch (error: any) {+ setLoading(false)+ toast.error(error.message)+ console.error(error)+ }+ }++ return (+ <>+ <Button onClick={toggle} danger>+ Delete Project+ </Button>+ <Modal+ visible={isOpen}+ onCancel={toggle}+ title={'Are you absolutely sure?'}+ icon={<IconAlertCircle background={'red'} />}+ hideFooter+ size="medium"+ closable+ >+ <Typography.Text>+ <p className="text-sm">+ This action <Typography.Text strong>cannot</Typography.Text> be undone. This will+ permanently delete the <Typography.Text strong>{project?.name}</Typography.Text> project+ and all of its data.+ </p>+ <p className="text-sm">+ Please type <Typography.Text strong>{project?.name}</Typography.Text> to confirm.+ </p>+ </Typography.Text>+ <Input+ onChange={(e) => setValue(e.target.value)}+ value={value}+ className="w-full"+ placeholder="Type the project name in here "+ />+ <Button+ onClick={handleDeleteProject}+ loading={loading}+ disabled={project?.name !== value || loading}+ size="small"+ block+ danger+ >+ I understand, delete this project+ </Button>+ </Modal>+ </>+ )+}diff --git a/studio/pages/project/[ref]/settings/index.tsx b/studio/pages/project/[ref]/settings/index.tsxnew file mode 100644index 00000000000..16a2ff34ab0--- /dev/null+++ b/studio/pages/project/[ref]/settings/index.tsx@@ -0,0 +1,17 @@+import { NextPage } from 'next'+import { observer } from 'mobx-react-lite'++import { withAuth } from 'hooks'+import { SettingsLayout } from 'components/layouts'++const Settings: NextPage = () => {+ return (+ <SettingsLayout>+ <div className="p-5">+ <h1>Settings</h1>+ </div>+ </SettingsLayout>+ )+}++export default withAuth(observer(Settings))diff --git a/studio/pages/project/[ref]/sql/index.tsx b/studio/pages/project/[ref]/sql/index.tsxnew file mode 100644index 00000000000..f26aeebd5f6--- /dev/null+++ b/studio/pages/project/[ref]/sql/index.tsx@@ -0,0 +1,154 @@+import React, { useEffect, useState } from 'react'+import { useRouter } from 'next/router'+import { observer } from 'mobx-react-lite'+import { useMonaco } from '@monaco-editor/react'++import {+ useSqlEditorStore,+ SqlEditorContext,+ useSqlStore,+ TAB_TYPES,+} from 'localStores/sqlEditor/SqlEditorStore'+import TabWelcome from 'components/to-be-cleaned/SqlEditor/TabWelcome'+import TabSqlQuery from 'components/to-be-cleaned/SqlEditor/TabSqlQuery'+import getPgsqlCompletionProvider from 'components/to-be-cleaned/SqlEditor/PgsqlCompletionProvider'+import getPgsqlSignatureHelpProvider from 'components/to-be-cleaned/SqlEditor/PgsqlSignatureHelpProvider'++import { useProjectContentStore } from 'stores/projectContentStore'++import { useStore, withAuth, useProfile } from 'hooks'+import { SQLEditorLayout } from 'components/layouts'++const PageConfig = () => {+ const router = useRouter()+ const { ref } = router.query++ const { meta } = useStore()+ const { profile: user } = useProfile()+ const contentStore: any = useProjectContentStore(ref)+ const sqlEditorStore: any = useSqlEditorStore(ref, meta)++ useEffect(() => {+ /*+ * Load persited data+ */+ loadPersistantData()+ }, [ref])++ /*+ * Load persited data+ */+ async function loadPersistantData() {+ if (sqlEditorStore === undefined) return+ sqlEditorStore.loadRemotePersistentData(contentStore, (user as any)?.id)+ }++ return (+ <SqlEditorContext.Provider value={sqlEditorStore}>+ <PageLayout />+ </SqlEditorContext.Provider>+ )+}++export default withAuth(observer(PageConfig))++const PageLayout = observer(() => {+ return (+ <SQLEditorLayout title="SQL">+ <SqlEditor />+ </SQLEditorLayout>+ )+})++const SqlEditor = observer(() => {+ const { meta } = useStore()+ const sqlEditorStore: any = useSqlStore()+ const monaco = useMonaco()+ const [theme, setTheme] = useState(localStorage.getItem('theme'))++ useEffect(() => {+ if (monaco) {+ const darkTheme = theme ? (theme === 'dark' ? true : false) : true++ monaco.editor.defineTheme('supabase', {+ base: 'vs-dark', // can also be vs-dark or hc-black+ inherit: true, // can also be false to completely replace the builtin rules+ rules: [+ { token: '', background: darkTheme ? '1f1f1f' : '30313f' },+ { token: 'string.sql', foreground: '24b47e' },+ { token: 'comment', foreground: '666666' },+ { token: 'predefined.sql', foreground: 'D4D4D4' },+ ],+ colors: {+ 'editor.background': darkTheme ? '#1f1f1f' : '#30313f',+ // 'editorGutter.background': '#30313f',+ // 'editorLineNumber.foreground': '#555671',+ },+ })+ }+ }, [theme, monaco])++ useEffect(() => {+ if (monaco) {+ // Enable pgsql format+ const formatprovider = monaco.languages.registerDocumentFormattingEditProvider('pgsql', {+ async provideDocumentFormattingEdits(model) {+ const value = model.getValue()+ const formatted = await formatPgsql(value)+ return [+ {+ range: model.getFullModelRange(),+ text: formatted,+ },+ ]+ },+ })++ // register completion item provider for pgsql+ const completeProvider = monaco.languages.registerCompletionItemProvider(+ 'pgsql',+ getPgsqlCompletionProvider(monaco, sqlEditorStore)+ )+ const signatureHelpProvider = monaco.languages.registerSignatureHelpProvider(+ 'pgsql',+ getPgsqlSignatureHelpProvider(monaco, sqlEditorStore)+ )++ return () => {+ formatprovider.dispose()+ completeProvider.dispose()+ signatureHelpProvider.dispose()+ }+ }+ }, [monaco])++ async function formatPgsql(value: any) {+ try {+ const formatted = await meta.formatQuery(value)+ if (formatted.error) throw formatted.error+ return formatted+ } catch (error) {+ console.error('formatPgsql error:', error)+ return value+ }+ }++ function renderTabContent() {+ const tabInfo = sqlEditorStore.activeTab+ if (!tabInfo) return null++ const { type } = tabInfo+ switch (type) {+ case TAB_TYPES.WELCOME:+ return <TabWelcome />+ case TAB_TYPES.SQL_QUERY:+ return (+ <div className="SQLTabContainer flex-1">+ <TabSqlQuery />+ </div>+ )+ }+ }++ return <>{renderTabContent()}</>+})diff --git a/studio/pages/project/[ref]/sql/sql-new.tsx b/studio/pages/project/[ref]/sql/sql-new.tsxnew file mode 100644index 00000000000..995b0787d75--- /dev/null+++ b/studio/pages/project/[ref]/sql/sql-new.tsx@@ -0,0 +1,26 @@+import { NextPage } from 'next'+import { useRouter } from 'next/router'+import { observer } from 'mobx-react-lite'+import { isUndefined } from 'lodash'++import { withAuth } from 'hooks'+import { SQLEditorLayout } from 'components/layouts'+import { SQLEditor } from 'components/interfaces'++// [Joshen] This is the mid re-written SQL which will replace index.tsx++const Sql: NextPage = () => {+ const router = useRouter()+ const { queryId, templateId } = router.query++ return (+ <SQLEditorLayout title="SQL">+ <SQLEditor+ queryId={!isUndefined(queryId) ? (queryId as string) : undefined}+ templateId={!isUndefined(templateId) ? Number(templateId) : undefined}+ />+ </SQLEditorLayout>+ )+}++export default withAuth(observer(Sql))diff --git a/studio/pages/project/[ref]/sql/templates.tsx b/studio/pages/project/[ref]/sql/templates.tsxnew file mode 100644index 00000000000..a632a4c1ba8--- /dev/null+++ b/studio/pages/project/[ref]/sql/templates.tsx@@ -0,0 +1,16 @@+import { NextPage } from 'next'+import { observer } from 'mobx-react-lite'++import { withAuth } from 'hooks'+import { SQLEditorLayout } from 'components/layouts'+import { SQLTemplates } from 'components/interfaces/SQLEditor'++const SqlTemplates: NextPage = () => {+ return (+ <SQLEditorLayout title="SQL">+ <SQLTemplates />+ </SQLEditorLayout>+ )+}++export default withAuth(observer(SqlTemplates))diff --git a/studio/pages/project/[ref]/storage/buckets/[bucketId].tsx b/studio/pages/project/[ref]/storage/buckets/[bucketId].tsxnew file mode 100644index 00000000000..583ec37a148--- /dev/null+++ b/studio/pages/project/[ref]/storage/buckets/[bucketId].tsx@@ -0,0 +1,72 @@+import React, { useEffect } from 'react'+import { useRouter } from 'next/router'+import { observer } from 'mobx-react-lite'+import { find } from 'lodash'+import { Typography } from '@supabase/ui'++import { API_URL } from 'lib/constants'+import { withAuth, useStore } from 'hooks'+import { post } from 'lib/common/fetch'+import { PROJECT_STATUS } from 'lib/constants'+import { StorageLayout } from 'components/layouts'+import ProductEmptyState from 'components/to-be-cleaned/ProductEmptyState'+import { StorageExplorer } from 'components/to-be-cleaned/Storage'+import { useStorageStore } from 'localStores/storageExplorer/StorageExplorerStore'++/**+ * PageLayout is used to setup layout - as usual it will requires inject global store+ */+const PageLayout = () => {+ const router = useRouter()+ const { ref, bucketId } = router.query++ const { ui } = useStore()+ const project = ui.selectedProject++ const storageStore = useStorageStore()+ const { buckets, loaded, openCreateBucketModal } = storageStore++ useEffect(() => {+ if (project && project.status === PROJECT_STATUS.INACTIVE) {+ post(`${API_URL}/projects/${ref}/restore`, {})+ }+ }, [project])++ if (!project) return <div></div>++ const bucket = find(buckets, { id: bucketId })++ return (+ <StorageLayout title="Buckets">+ <div className="storage-container p-4 flex flex-grow">+ {loaded ? (+ !bucket ? (+ <div className="w-full h-full flex items-center justify-center">+ <ProductEmptyState+ title="Storage"+ ctaButtonLabel="Create a new bucket"+ infoButtonLabel="About storage"+ infoButtonUrl="https://supabase.io/docs/guides/storage"+ onClickCta={openCreateBucketModal}+ >+ <Typography.Text type="secondary">+ Create buckets to store and serve any type of digital content.+ </Typography.Text>+ <Typography.Text type="secondary">+ Make your buckets private or public depending on your security preference.+ </Typography.Text>+ </ProductEmptyState>+ </div>+ ) : (+ // @ts-ignore+ <StorageExplorer bucket={bucket} />+ )+ ) : (+ <div />+ )}+ </div>+ </StorageLayout>+ )+}++export default withAuth(observer(PageLayout))diff --git a/studio/pages/project/[ref]/storage/buckets/index.tsx b/studio/pages/project/[ref]/storage/buckets/index.tsxnew file mode 100644index 00000000000..49d9798142d--- /dev/null+++ b/studio/pages/project/[ref]/storage/buckets/index.tsx@@ -0,0 +1,57 @@+import React, { useEffect } from 'react'+import { useRouter } from 'next/router'+import { observer } from 'mobx-react-lite'+import { Typography } from '@supabase/ui'++import { API_URL } from 'lib/constants'+import { withAuth, useStore } from 'hooks'+import { post } from 'lib/common/fetch'+import { PROJECT_STATUS } from 'lib/constants'+import { StorageLayout } from 'components/layouts'+import ProductEmptyState from 'components/to-be-cleaned/ProductEmptyState'+import { useStorageStore } from 'localStores/storageExplorer/StorageExplorerStore'++/**+ * PageLayout is used to setup layout - as usual it will requires inject global store+ */+const PageLayout = ({}) => {+ const router = useRouter()+ const { ref } = router.query++ const { ui } = useStore()+ const project = ui.selectedProject++ const storageStore = useStorageStore()+ const { openCreateBucketModal } = storageStore++ useEffect(() => {+ if (project && project.status === PROJECT_STATUS.INACTIVE) {+ post(`${API_URL}/projects/${ref}/restore`, {})+ }+ }, [project])++ if (!project) return <div></div>++ return (+ <StorageLayout title="Buckets">+ <div className="storage-container flex flex-grow">+ <ProductEmptyState+ title="Storage"+ ctaButtonLabel="Create a new bucket"+ infoButtonLabel="About storage"+ infoButtonUrl="https://supabase.io/docs/guides/storage"+ onClickCta={openCreateBucketModal}+ >+ <Typography.Text type="secondary">+ Create buckets to store and serve any type of digital content.+ </Typography.Text>+ <Typography.Text type="secondary">+ Make your buckets private or public depending on your security preference.+ </Typography.Text>+ </ProductEmptyState>+ </div>+ </StorageLayout>+ )+}++export default withAuth(observer(PageLayout))diff --git a/studio/pages/project/[ref]/storage/policies.tsx b/studio/pages/project/[ref]/storage/policies.tsxnew file mode 100644index 00000000000..51270b251bd--- /dev/null+++ b/studio/pages/project/[ref]/storage/policies.tsx@@ -0,0 +1,39 @@+import React, { useEffect } from 'react'+import { useRouter } from 'next/router'+import { observer } from 'mobx-react-lite'++import { API_URL } from 'lib/constants'+import { post } from 'lib/common/fetch'+import { PROJECT_STATUS } from 'lib/constants'+import { useStore, withAuth } from 'hooks'+import { StorageLayout } from 'components/layouts'+import { StoragePolicies } from 'components/to-be-cleaned/Storage'++/**+ * PageLayout is used to setup layout - as usual it will requires inject global store+ */+const PageLayout = () => {+ const router = useRouter()+ const { ref } = router.query++ const { ui } = useStore()+ const project = ui.selectedProject++ useEffect(() => {+ if (project && project.status === PROJECT_STATUS.INACTIVE) {+ post(`${API_URL}/projects/${ref}/restore`, {})+ }+ }, [project])++ if (!project) return <div></div>++ return (+ <StorageLayout title="Policies">+ <div className="storage-container flex flex-grow p-4">+ <StoragePolicies />+ </div>+ </StorageLayout>+ )+}++export default withAuth(observer(PageLayout))diff --git a/studio/pages/project/[ref]/storage/usage.tsx b/studio/pages/project/[ref]/storage/usage.tsxnew file mode 100644index 00000000000..72518d5cd79--- /dev/null+++ b/studio/pages/project/[ref]/storage/usage.tsx@@ -0,0 +1,39 @@+import React, { useEffect } from 'react'+import { useRouter } from 'next/router'+import { observer } from 'mobx-react-lite'++import { API_URL } from 'lib/constants'+import { useStore, withAuth } from 'hooks'+import { post } from 'lib/common/fetch'+import { PROJECT_STATUS } from 'lib/constants'+import { StorageLayout } from 'components/layouts'+import { StorageUsage } from 'components/to-be-cleaned/Storage'++/**+ * PageLayout is used to setup layout - as usual it will requires inject global store+ */+const PageLayout = () => {+ const router = useRouter()+ const { ref } = router.query++ const { ui } = useStore()+ const project = ui.selectedProject++ useEffect(() => {+ if (project && project.status === PROJECT_STATUS.INACTIVE) {+ post(`${API_URL}/projects/${ref}/restore`, {})+ }+ }, [project])++ if (!project) return <div></div>++ return (+ <StorageLayout title="Usage">+ <div className="storage-container flex flex-grow">+ <StorageUsage />+ </div>+ </StorageLayout>+ )+}++export default withAuth(observer(PageLayout))diff --git a/studio/pages/support/new.tsx b/studio/pages/support/new.tsxnew file mode 100644index 00000000000..9ac65c36087--- /dev/null+++ b/studio/pages/support/new.tsx@@ -0,0 +1,318 @@+import { useEffect, useReducer, useState } from 'react'+import { observer } from 'mobx-react-lite'+import {+ Button,+ Divider,+ IconArrowLeft,+ IconCheck,+ IconMail,+ Input,+ Listbox,+ Typography,+} from '@supabase/ui'+import SVG from 'react-inlinesvg'+import toast from 'react-hot-toast'+import Link from 'next/link'++import { API_URL } from 'lib/constants'+import { useStore, withAuth } from 'hooks'+import { post } from 'lib/common/fetch'+import { Project } from 'types'++const DEFAULT = {+ category: {+ value: 'Problem',+ error: '',+ },+ project: {+ value: '',+ error: '',+ },+ subject: {+ value: '',+ error: '',+ },+ body: {+ value: '',+ error: '',+ },+}++function formReducer(state: any, action: any) {+ return {+ ...state,+ [action.name]: {+ value: action.value,+ error: action.error,+ },+ }+}++const SupportNew = () => {+ const { app } = useStore()+ const [formState, formDispatch] = useReducer(formReducer, DEFAULT)+ const [errors, setErrors] = useState<any>([])+ const [loading, setLoading] = useState<boolean>(false)+ const [sent, setSent] = useState<boolean>(false)++ /*+ * Get all orgs and projects from global store+ */+ const sortedOrganizations = app.organizations.list()+ const sortedProjects = app.projects.list()++ const projectDefaults: Partial<Project>[] = [+ {+ ref: 'no-project',+ name: 'No specific project',+ },+ ]++ const projects = [...sortedProjects, ...projectDefaults]++ useEffect(() => {+ // set project default+ if (sortedProjects.length > 1) {+ handleOnChange({ name: 'project', value: sortedProjects[0].ref })+ } else {+ // set as 'No specific project'+ handleOnChange({ name: 'project', value: projectDefaults[0].ref })+ }+ }, [])++ /*+ * Move this to schema files+ */+ const categoryOptions = [+ {+ value: 'Problem',+ label: 'Issue with project / API / Client library / REST API',+ description: 'Issues with project API, client libraries',+ },+ {+ value: 'Sales',+ label: 'Sales enquiry',+ description: 'Questions about pricing, paid plans and Enterprise plans',+ },+ {+ value: 'Billing',+ label: 'Billing',+ description: 'Issues with credit card charges | invoices | overcharing',+ },+ {+ value: 'Abuse',+ label: 'Abuse report',+ description: 'Report abuse of a Supabase project or Supabase brand',+ },+ {+ value: 'Refund',+ label: 'Refund enquiry',+ description: 'Formal enquiry form for requesting refunds',+ },+ ]++ function handleOnChange(x: any) {+ formDispatch({+ name: x.name,+ value: x.value,+ error: x.error,+ })+ }++ async function handleSubmit(e: any) {+ e.preventDefault()++ let errors: any = []++ if (!formState.subject.value) {+ const message = 'Please add a subject heading'+ handleOnChange({ name: 'subject', error: message })+ errors.push([...errors, message])+ }++ if (!formState.body.value) {+ const message = 'Please type in a message'+ handleOnChange({ name: 'body', error: message })+ errors.push([...errors, message])+ }++ setErrors([...errors])++ if (errors.length === 0) {+ setLoading(true)+ const response = await post(`${API_URL}/feedback/send`, {+ message: formState.body.value,+ category: formState.category.value,+ projectRef: formState.project.value,+ verified: true,+ tags: ['dashboard-support-form'],+ subject: formState.subject.value,+ })+ setLoading(false)+ if (response.error) {+ console.error(response.error)+ toast.error(response.error.message)+ } else {+ toast.success(`Support request sent. Thank you!`)+ setSent(true)+ }+ }+ }++ const Success = () => {+ return (+ <div className="w-100 px-6 space-y-4">+ <div className="relative flex">+ <IconCheck size={24} background={'brand'} />+ </div>+ <div>+ <Typography.Title className="block" level={5}>+ Support request successfully sent+ </Typography.Title>+ <Typography.Text type="secondary" className="opacity-50">+ We will email you back using your GitHub email address+ </Typography.Text>+ </div>+ <Link href="/">+ <Button>Go back to dashboard</Button>+ </Link>+ </div>+ )+ }++ return (+ <div className="flex h-screen relative overflow-y-auto overflow-x-hidden">+ <div className="max-w-2xl mx-auto my-8 px-4 lg:px-6">+ <Button+ type="text"+ className="opacity-50 hover:opacity-100"+ style={{ background: 'none', padding: 0 }}+ onClick={function goBack() {+ window.history.back()+ }}+ icon={<IconArrowLeft />}+ >+ Go back+ </Button>+ <div className="py-8 space-y-12">+ <div className="flex items-center space-x-3">+ <SVG src={`/img/supabase-logo.svg`} className="w-4 h-4" />+ <Typography.Title level={4} className="m-0">+ Supabase support+ </Typography.Title>+ </div>+ <div className="bg-panel-body-light dark:bg-panel-body-dark py-8 rounded border dark:border-dark shadow-md space-y-12 min-w-full">+ {sent ? (+ <Success />+ ) : (+ <form onSubmit={(e) => handleSubmit(e)} className="space-y-8">+ <div className="px-6">+ <Typography.Title level={4}>What problem are you facing?</Typography.Title>+ </div>++ <div className="space-y-6">+ <div className="px-6">+ <Listbox+ value={formState.category.value}+ label="Category"+ layout="horizontal"+ onChange={(value) => handleOnChange({ name: 'category', value })}+ >+ {categoryOptions.map((option, i) => {+ return (+ <Listbox.Option+ key={`option-${option.value}`}+ label={option.label}+ value={option.value}+ children={({ active, selected }: any) => {+ return (+ <>+ <span>{option.label}</span>+ <span className="opacity-50 block text-xs">+ {option.description}+ </span>+ </>+ )+ }}+ />+ )+ })}+ </Listbox>+ </div>+ <div className="px-6">+ <Listbox+ value={formState.project.value}+ label="Project"+ layout="horizontal"+ descriptionText="The project that is experiencing the problem"+ onChange={(value) => handleOnChange({ name: 'project', value })}+ >+ {projects.map((option) => {+ return (+ <Listbox.Option+ key={`option-${option.ref}`}+ label={option.name || ''}+ value={option.ref}+ children={({ active, selected }: any) => {+ const organization = sortedOrganizations.find(+ (x) => x.id === option.organization_id+ )+ return (+ <div>+ <span>{option.name}</span>+ <span className="opacity-50 block text-xs">+ {organization?.name}+ </span>+ </div>+ )+ }}+ />+ )+ })}+ </Listbox>+ </div>++ <Divider light />++ <div className="px-6">+ <Input+ label="Subject"+ placeholder="Summary of the problem you have"+ onChange={(e) => handleOnChange({ name: 'subject', value: e.target.value })}+ value={formState.subject.value}+ error={formState.subject.error}+ />+ </div>++ <div className="px-6">+ <Input.TextArea+ label="Message"+ descriptionText="Describe the issue your facing, with any relevant information we may need"+ limit={500}+ labelOptional="500 character limit"+ onChange={(e) => handleOnChange({ name: 'body', value: e.target.value })}+ value={formState.body.value}+ error={formState.body.error}+ />+ </div>+ </div>+ {errors.length >= 1 && (+ <Typography.Text type="danger">There are errors here</Typography.Text>+ )}+ <div className="px-6">+ <div className="flex justify-end">+ <Button icon={<IconMail />} size="medium" loading={loading}>+ Send support request+ </Button>+ </div>+ </div>+ </form>+ )}+ </div>+ </div>+ </div>+ </div>+ )+}++export default withAuth(observer(SupportNew))diff --git a/studio/pages/vercel/complete.tsx b/studio/pages/vercel/complete.tsxnew file mode 100644index 00000000000..a688054a671--- /dev/null+++ b/studio/pages/vercel/complete.tsx@@ -0,0 +1,62 @@+import { createContext, useEffect, useState } from 'react'+import { observer, useLocalObservable } from 'mobx-react-lite'+import VercelIntegrationLayout from 'components/layouts/VercelIntegrationLayout'+import { Button, Typography, IconLoader } from '@supabase/ui'++const PageContext = createContext(null)+function IntegrationComplete() {+ const PageState = useLocalObservable(() => ({+ supabaseProjectRef: '',+ next: '',+ loadInitialData() {+ this.getQueryParams()+ },+ getQueryParams() {+ const params = new URLSearchParams(window.location.search)+ this.next = params.get('next') as string+ this.supabaseProjectRef = params.get('supabaseProjectRef') as string+ },+ }))+ const [loading, setLoading] = useState(false)++ useEffect(() => {+ PageState.loadInitialData()+ }, [])++ function onContinue() {+ setLoading(true)+ window.location.href = PageState.next+ }++ return (+ // @ts-ignore+ <PageContext.Provider value={PageState}>+ <VercelIntegrationLayout>+ <div className="max-w-sm mx-auto">+ <IconLoader className="animate-spin" size={30} />+ <Typography.Title level={3}>+ <p className="pt-4">Your new project is spinning up</p>+ </Typography.Title>+ <Typography.Text>+ <p className="pt-2">This may take up to 2 mins, but you can continue on Vercel.</p>+ </Typography.Text>++ <div className="py-4">+ <a+ href={`/project/${PageState.supabaseProjectRef}`}+ target="_blank"+ className="hover:text-green-500"+ >+ <Typography.Text>Open Supabase Dashboard →</Typography.Text>+ </a>+ </div>++ <Button disabled={loading} loading={loading} onClick={onContinue} block>+ Finish+ </Button>+ </div>+ </VercelIntegrationLayout>+ </PageContext.Provider>+ )+}+export default observer(IntegrationComplete)diff --git a/studio/pages/vercel/integrate.tsx b/studio/pages/vercel/integrate.tsxnew file mode 100644index 00000000000..89c244c140b--- /dev/null+++ b/studio/pages/vercel/integrate.tsx@@ -0,0 +1,661 @@+import { ChangeEvent, createContext, FC, useContext, useEffect, useState } from 'react'+import { toast } from 'react-hot-toast'+import { useRouter } from 'next/router'+import { observer, useLocalObservable } from 'mobx-react-lite'+import { makeAutoObservable, runInAction } from 'mobx'+import {+ Button,+ Select,+ Divider,+ Typography,+ IconPlusCircle,+ IconX,+ IconChevronRight,+ Listbox,+} from '@supabase/ui'+import { Dictionary } from '@supabase/grid'++import { useStore, withAuth } from 'hooks'+import { API_URL } from 'lib/constants'+import { get } from 'lib/common/fetch'+import {+ VERCEL_INTEGRATION_CONFIGS,+ VERCEL_DEFAULT_EXTERNAL_ID,+ INTEGRATION_ENVS_ALIAS,+} from 'lib/vercelConfigs'+import {+ createVercelEnv,+ fetchVercelProjectEnvs,+ fetchVercelProjects,+ prepareVercelEvns,+} from 'components/to-be-cleaned/Integration/Vercel.utils'+import Loading from 'components/ui/Loading'+import VercelIntegrationLayout from 'components/layouts/VercelIntegrationLayout'+import { vercelIcon, databaseIcon } from 'components/to-be-cleaned/ListIcons'++interface IVercelIntegrationStore {+ code: string+ token: string+ teamId: string+ externalId: string+ configurationId: string+ next: string+ currentProjectId?: string+ selectedVercelProjectId?: string+ vercelProjects: Dictionary<any>[]+ loading: boolean+ waitingIntegration: boolean+ projectLinks: {+ vercelProjectId?: string+ supabaseProjectRef?: string+ error?: string+ result?: { status: 'waiting' | 'success' | 'fail'; message?: string }+ }[]++ isDeployButtonFlow: boolean+ isSupabaseProjectListEmpty: boolean+ integrationComplete: boolean+ queryParams: Dictionary<string>+ projectLinkRemaining: number+ vercelProjectsAvailable: Dictionary<string>[]++ loadInitialData: () => void+}++class VercelIntegrationStore implements IVercelIntegrationStore {+ code: string = ''+ token: string = ''+ teamId: string = ''+ externalId: string = ''+ configurationId: string = ''+ next: string = ''+ currentProjectId?: string+ selectedVercelProjectId?: string+ vercelProjects: Dictionary<any>[] = []+ loading: boolean = true+ // @ts-ignore+ waitingIntegration: boolean+ projectLinks: {+ vercelProjectId?: string+ supabaseProjectRef?: string+ error?: string+ result?: { status: 'waiting' | 'success' | 'fail'; message?: string }+ }[] = [+ {+ vercelProjectId: undefined,+ supabaseProjectRef: undefined,+ },+ ]++ constructor() {+ makeAutoObservable(this)+ // this.globalStore = globalStore+ }++ get isDeployButtonFlow() {+ return !!this.currentProjectId+ }++ get isSupabaseProjectListEmpty() {+ const { app } = useStore()+ console.log('isSupabaseProjectListEmpty', app)+ const projects = app.projects.list()+ return projects.length == 0+ }++ // @ts-ignore+ get queryParams() {+ return {+ token: this.token,+ teamId: this.teamId,+ 'external-id': this.externalId,+ configurationId: this.configurationId,+ vercelProjectId: this.selectedVercelProjectId,+ next: this.next,+ }+ }++ get projectLinkRemaining() {+ if (!this.vercelProjects) return 0+ const temp = this.vercelProjects?.length - this.projectLinks.length+ return temp >= 0 ? temp : 0+ }++ get vercelProjectsAvailable() {+ const existed = this.projectLinks.map((x) => x.vercelProjectId)+ const filtered = this.vercelProjects.filter((x) => existed.includes(x.id) == false)+ return filtered+ }++ get integrationComplete() {+ if (!this.waitingIntegration) return false+ const pendingItegrations = this.projectLinks.filter((x) => !x.result || !x.result?.message)+ return pendingItegrations.length == 0+ }++ loadInitialData() {+ this.getQueryParams()+ this.getVercelAuthToken()+ }++ getQueryParams() {+ const params = new URLSearchParams(window.location.search)+ this.code = params.get('code') as string+ this.configurationId = params.get('configurationId') as string+ this.currentProjectId = params.get('currentProjectId') as string+ this.next = params.get('next') as string+ this.externalId = params.get('external-id') || VERCEL_DEFAULT_EXTERNAL_ID+ this.teamId = params.get('teamId') as string++ // double check and set VERCEL_DEFAULT_EXTERNAL_ID as default externalId if config invalid+ const config = VERCEL_INTEGRATION_CONFIGS.find((x) => x.id == this.externalId)+ if (!config) this.externalId = VERCEL_DEFAULT_EXTERNAL_ID+ }++ async getVercelAuthToken() {+ const query = new URLSearchParams({+ code: this.code,+ }).toString()+ const response = await get(`${API_URL}/vercel/token?${query}`)+ if (!response.errror) {+ this.token = response.token+ // retrieve vercel projects after getting token+ await this.getVercelProjects()+ this.loading = false+ } else {+ toast.error('Retrieve vercel token failed')+ this.loading = false+ }+ }+ async getVercelProjects() {+ const { data, error }: any = await fetchVercelProjects({+ vercelTeamId: this.teamId,+ vercelToken: this.token,+ })+ if (error) {+ toast.error(error)+ } else {+ this.vercelProjects = data+ // if currentProjectId available. Auto select it+ if (data && this.currentProjectId) {+ // @ts-ignore+ const found = data.find((x: { id: string }) => (x.id = this.currentProjectId))+ if (found) this.selectedVercelProjectId = found.id+ }+ }+ }+}+const PageContext = createContext<IVercelIntegrationStore>(undefined!)++type VercelIntegrationProps = {} & any+const VercelIntegration: FC<VercelIntegrationProps> = ({}) => {+ // @ts-ignore+ const _store: IVercelIntegrationStore = useLocalObservable(() => new VercelIntegrationStore())++ useEffect(() => {+ _store.loadInitialData()+ }, [])++ return (+ <PageContext.Provider value={_store}>+ <VercelIntegrationLayout>+ {_store.loading ? (+ <Connecting />+ ) : _store.isDeployButtonFlow ? (+ <IntegrationProject />+ ) : _store.isSupabaseProjectListEmpty ? (+ <ProjectLinksEmptyState />+ ) : (+ <ProjectLinks />+ )}+ </VercelIntegrationLayout>+ </PageContext.Provider>+ )+}+export default withAuth(observer(VercelIntegration))++const Connecting = () => (+ <div className="w-full h-full flex flex-col items-center justify-center">+ <div className="w-32 flex items-center justify-center">+ <Loading />+ </div>+ <Typography.Text>Connecting...</Typography.Text>+ </div>+)++const ProjectLinksEmptyState = () => (+ <div className="flex flex-col space-y-4">+ <Typography.Text>+ You haven’t created a Supabase project yet. Get started by creating a new Supabase project,+ then close this window and retry adding integration.+ </Typography.Text>+ <Typography.Link href="https://app.supabase.io">+ Start a new Supabase project<span aria-hidden="true"> →</span>+ </Typography.Link>+ </div>+)++const UNDEFINED_SELECT_VALUE = 'undefined'+const IntegrationProject: FC = observer(() => {+ const _store = useContext(PageContext)+ const router = useRouter()+ const [name, setName] = useState<string>('')+ const [loading, setLoading] = useState<boolean>(false)+ const [errorMsg, setErrorMsg] = useState<string>()++ useEffect(() => {+ const config = VERCEL_INTEGRATION_CONFIGS.find((x) => x.id == _store.externalId)+ if (!config && !errorMsg) setErrorMsg('This integration is not supported right now')+ else setName(config?.name || _store.externalId)+ }, [_store.externalId])++ function onClick() {+ if (!_store.selectedVercelProjectId) {+ setErrorMsg('Error: please select a vercel project to continue')+ return+ }+ if (!_store.token || _store.token == '') {+ setErrorMsg('Error: vercel auth token is invalid')+ return+ }++ setLoading(true)+ const query = new URLSearchParams(_store.queryParams).toString()+ router.push(`/vercel/setupOrg?${query}`)+ }++ function onVercelProjectChange(e: ChangeEvent<HTMLSelectElement>) {+ setErrorMsg(undefined)+ _store.selectedVercelProjectId =+ e.target.value != UNDEFINED_SELECT_VALUE ? e.target.value : undefined+ }++ return (+ <div className="flex flex-col w-full items-center">+ <div className="w-full mb-8">+ <Select+ label="Vercel project"+ value={_store.selectedVercelProjectId}+ onChange={onVercelProjectChange}+ >+ <Select.Option value={UNDEFINED_SELECT_VALUE}>---</Select.Option>+ {_store.vercelProjects?.map((x) => {+ return (+ <Select.Option key={x.id} value={x.id}>+ {x.name}+ </Select.Option>+ )+ })}+ </Select>+ </div>+ <div+ className="w-full bg-panel-header-light dark:bg-panel-header-dark border+ border-border-secondary-light dark:border-border-secondary-dark rounded-sm"+ >+ <div className="flex justify-between items-center p-6">+ <Typography.Title level={4} className="my-auto mr-8 capitalize">+ {name}+ </Typography.Title>+ <Button disabled={loading || !!errorMsg} loading={loading} onClick={onClick}>+ Deploy+ </Button>+ </div>+ </div>+ {errorMsg && (+ <Typography.Text className="py-4" type="danger">+ {errorMsg}+ </Typography.Text>+ )}+ </div>+ )+})++const delayTimer = (ms: number) => new Promise((res) => setTimeout(res, ms))+const defaultVercelEnvs = [+ {+ key: 'NEXT_PUBLIC_SUPABASE_URL',+ alias: INTEGRATION_ENVS_ALIAS.ENDPOINT,+ type: 'encrypted',+ },+ {+ key: 'NEXT_PUBLIC_SUPABASE_ANON_KEY',+ alias: INTEGRATION_ENVS_ALIAS.ANONKEY,+ type: 'encrypted',+ },+ {+ key: 'SUPABASE_SERVICE_ROLE_KEY',+ alias: INTEGRATION_ENVS_ALIAS.SERVICEKEY,+ type: 'encrypted',+ },+]+const ProjectLinks: FC = observer(() => {+ const _store = useContext(PageContext)++ async function onSubmit() {+ if (validateInputs()) {+ runInAction(() => {+ _store.waitingIntegration = true+ })+ for (let i = 0; i < _store.projectLinks.length; i++) {+ const item = _store.projectLinks[i]+ runInAction(() => {+ item.result = { status: 'waiting' }+ })++ // pull vercel project env, check if supabase env is existed or not+ const { data: existedEnvs, error: fetchEnvsError }: any = await fetchVercelProjectEnvs({+ id: item.vercelProjectId as string,+ vercelTeamId: _store.teamId,+ vercelToken: _store.token,+ })+ if (fetchEnvsError) {+ console.log('envsError: ', fetchEnvsError)+ runInAction(() => {+ item.result = {+ status: 'fail',+ message: 'Error: validate Vercel project envs fails',+ }+ })+ continue+ }+ const found = existedEnvs.find((x: any) => x.key.includes('SUPABASE'))+ if (!!found) {+ console.log('Existed Supabase env: ', found)+ runInAction(() => {+ item.result = {+ status: 'fail',+ message: 'Error: this Vercel project already contains Supabase envs',+ }+ })+ continue+ }+ // If not, pull project detail info+ const projectDetails = await get(`${API_URL}/props/project/${item.supabaseProjectRef}/api`)+ if (projectDetails.error) {+ console.log('project info error: ', projectDetails.error)+ runInAction(() => {+ item.result = {+ status: 'fail',+ message: 'Error: fetch Supabase project details fails',+ }+ })+ continue+ }++ // Then create env for vercel project with supabase project+ const vercelEnvs = prepareVercelEvns(defaultVercelEnvs, {+ endpoint: `https://${projectDetails.autoApiService.endpoint}`,+ anon_key: projectDetails.autoApiService.defaultApiKey,+ service_key: projectDetails.autoApiService.serviceApiKey,+ })++ await Promise.allSettled(+ vercelEnvs.map(async (env: any) => {+ try {+ const data = await createVercelEnv({+ ...env,+ vercelProjectId: item.vercelProjectId,+ vercelTeamId: _store.teamId,+ vercelToken: _store.token,+ })+ return data+ } catch (err) {+ console.error(`Error: ${err}`)+ }+ })+ )++ runInAction(() => {+ item.result = {+ status: 'success',+ message: 'Projects linked successfully',+ }+ })+ await delayTimer(1000)+ }+ }+ }++ function validateInputs() {+ let isValid = true+ for (let i = 0; i < _store.projectLinks.length; i++) {+ const item = _store.projectLinks[i]+ if (!item.supabaseProjectRef || !item.vercelProjectId) {+ isValid = false+ runInAction(() => {+ _store.projectLinks[i].error =+ 'Invalid selection. Please choose a Vercel project and a Supabase project to link.'+ })+ }+ }++ return isValid+ }++ function onFinish() {+ window.location.href = _store.next+ }++ function displayButton() {+ if (!_store.integrationComplete) {+ return (+ <Button onClick={onSubmit} loading={_store.waitingIntegration}>+ Add Integration+ </Button>+ )+ }++ if (_store.projectLinks.every(({ result: { status } }: any) => status === 'success')) {+ onFinish()+ } else {+ return <Button onClick={onFinish}>Finish</Button>+ }+ }++ return (+ <div className="flex flex-col w-full space-y-6">+ <div>+ <Typography.Title level={4}>Link Vercel to Supabase</Typography.Title>+ <Typography.Text>+ Choose which of your Vercel projects to link to your existing Supabase projects.+ </Typography.Text>+ </div>+ <Divider light />+ <div className="space-y-2">+ <div className="flex justify-between">+ <Typography.Text className="" type="secondary">+ Vercel Projects+ </Typography.Text>+ <div />+ <Typography.Text className="" type="secondary">+ Supabase Projects+ </Typography.Text>+ </div>+ <ProjectLinkList />+ <Divider light />+ <div className="py-4 flex justify-end">{displayButton()}</div>+ </div>+ </div>+ )+})++const ProjectLinkList: FC = observer(() => {+ const _store = useContext(PageContext)++ function addProjectLink() {+ runInAction(() => {+ _store.projectLinks.push({+ vercelProjectId: undefined,+ supabaseProjectRef: undefined,+ })+ })+ }+ return (+ <>+ <ul>+ {_store.projectLinks.map((x, idx) => (+ <ProjectLinkItem+ key={`project-link-${idx}`}+ idx={idx}+ vercelProjectId={x.vercelProjectId}+ supabaseProjectRef={x.supabaseProjectRef}+ error={x.error}+ result={x.result}+ />+ ))}+ </ul>+ <div className="py-2">+ {_store.projectLinkRemaining == 0 ? (+ <Typography.Text type="secondary" small>+ All Vercel projects for selected scope have been added+ </Typography.Text>+ ) : (+ <div className="flex items-center space-x-2">+ <Button+ icon={<IconPlusCircle />}+ type="default"+ onClick={addProjectLink}+ disabled={_store.projectLinkRemaining == 0 || _store.waitingIntegration}+ >+ {`Add another Vercel Project`}+ </Button>+ <Typography.Text type="secondary" small>+ {_store.projectLinkRemaining} project(s) remaining+ </Typography.Text>+ </div>+ )}+ </div>+ </>+ )+})++type ProjectLinkItemProps = {+ idx: number+ vercelProjectId?: string+ supabaseProjectRef?: string+ error?: string+ result?: { status: 'waiting' | 'success' | 'fail'; message?: string }+}+const ProjectLinkItem: FC<ProjectLinkItemProps> = observer(+ ({ idx, vercelProjectId, supabaseProjectRef, error, result }) => {+ const _store = useContext(PageContext)+ const selectedVercelProject = _store.vercelProjects.find((x) => x.id == vercelProjectId)++ const { app } = useStore()+ const sortedProjects = app.projects.list()++ function onVercelProjectChange(e: string) {+ const value = e != UNDEFINED_SELECT_VALUE ? e : undefined+ runInAction(() => {+ _store.projectLinks[idx].vercelProjectId = value+ _store.projectLinks[idx].error = undefined+ })+ }++ function onSupabaseProjectChange(e: string) {+ const value = e != UNDEFINED_SELECT_VALUE ? e : undefined+ runInAction(() => {+ _store.projectLinks[idx].supabaseProjectRef = value+ _store.projectLinks[idx].error = undefined+ })+ }++ function onRemove() {+ runInAction(() => {+ const filtered = _store.projectLinks.filter((_, index) => index != idx)+ _store.projectLinks = filtered+ })+ }++ return (+ <li className="py-2">+ {console.log('re-rendered the ProjectLinkItem')}+ <div className="relative flex w-full space-x-2">+ <div className="flex-grow w-1/2">+ <Listbox+ value={vercelProjectId ?? UNDEFINED_SELECT_VALUE}+ onChange={onVercelProjectChange}+ >+ <Listbox.Option value={UNDEFINED_SELECT_VALUE} label="Choose a project" disabled>+ Choose a project+ </Listbox.Option>+ {selectedVercelProject && (+ <Listbox.Option+ value={selectedVercelProject.id}+ label={selectedVercelProject.name}+ addOnBefore={() => vercelIcon}+ >+ {selectedVercelProject.name}+ </Listbox.Option>+ )}+ {_store.vercelProjectsAvailable.map((x) => (+ <Listbox.Option+ key={x.id}+ value={x.id}+ label={x.name}+ addOnBefore={() => vercelIcon}+ >+ {x.name}+ </Listbox.Option>+ ))}+ </Listbox>+ </div>+ <div className="flex items-center flex-shrink">+ <Typography.Text type="secondary">+ <IconChevronRight />+ </Typography.Text>+ </div>+ <div className="flex-grow w-1/2">+ <Listbox+ value={supabaseProjectRef ?? UNDEFINED_SELECT_VALUE}+ onChange={onSupabaseProjectChange}+ >+ <Listbox.Option value={UNDEFINED_SELECT_VALUE} label="Choose a project" disabled>+ Choose a project+ </Listbox.Option>+ {sortedProjects?.map((x: Dictionary<any>) => (+ <Listbox.Option+ key={x.id}+ value={x.ref}+ label={x.name}+ addOnBefore={() => databaseIcon}+ >+ {x.name}+ </Listbox.Option>+ ))}+ </Listbox>+ </div>+ {idx != 0 && (+ <div className="absolute top-[3px] right-[-50px]">+ <Button+ type="text"+ icon={<IconX size="small" strokeWidth={2} />}+ onClick={onRemove}+ disabled={_store.waitingIntegration}+ />+ </div>+ )}+ </div>+ {error && (+ <Typography.Text type="danger" small>+ {error}+ </Typography.Text>+ )}+ {_store.waitingIntegration && result && (+ <Typography.Text+ type={+ result.status == 'waiting'+ ? 'default'+ : result.status == 'fail'+ ? 'danger'+ : 'success'+ }+ small+ >+ {result?.message ?? 'Processing...'}+ </Typography.Text>+ )}+ </li>+ )+ }+)diff --git a/studio/pages/vercel/setupOrg.tsx b/studio/pages/vercel/setupOrg.tsxnew file mode 100644index 00000000000..bdcaed2ca57--- /dev/null+++ b/studio/pages/vercel/setupOrg.tsx@@ -0,0 +1,311 @@+import { FC, createContext, useEffect, useContext, useState } from 'react'+import { useRouter } from 'next/router'+import { toast } from 'react-hot-toast'+import { observer, useLocalObservable } from 'mobx-react-lite'+import { Transition } from '@headlessui/react'+import { Button, Typography } from '@supabase/ui'+import { runInAction } from 'mobx'++import { API_URL } from 'lib/constants'+import { post } from 'lib/common/fetch'+import { clickOutsideListener, useStore } from 'hooks'+import VercelIntegrationLayout from 'components/layouts/VercelIntegrationLayout'++const PageContext = createContext(null)+function SetupOrg() {+ const PageState = useLocalObservable(() => ({+ token: '',+ teamId: '',+ externalId: '',+ configurationId: '',+ next: '',+ selectedOrg: undefined,+ vercelProjectId: undefined,+ selectMenuOpened: false,+ shouldShowOrgCreationUI: false,+ get queryParams() {+ return {+ token: this.token,+ teamId: this.teamId,+ 'external-id': this.externalId,+ configurationId: this.configurationId,+ // @ts-ignore+ supabaseOrgId: this.selectedOrg.id,+ vercelProjectId: this.vercelProjectId,+ next: this.next,+ }+ },+ get canContinue() {+ return !!this.selectedOrg+ },+ loadInitialData() {+ this.getQueryParams()+ },+ getQueryParams() {+ const params = new URLSearchParams(window.location.search)+ this.configurationId = params.get('configurationId') as string+ this.vercelProjectId = params.get('vercelProjectId') as any+ this.next = params.get('next') as string+ this.externalId = params.get('external-id') as string+ this.token = params.get('token') as string+ this.teamId = params.get('teamId') as string+ },+ toggleSelectMenu(value: any) {+ this.selectMenuOpened = value+ },+ }))++ const { app } = useStore()++ useEffect(() => {+ PageState.loadInitialData()++ const sortedOrganizations = app.organizations.list()+ PageState.shouldShowOrgCreationUI = sortedOrganizations?.length == 0+ }, [])++ return (+ // @ts-ignore+ <PageContext.Provider value={PageState}>+ <VercelIntegrationLayout>+ {PageState.shouldShowOrgCreationUI ? <CreateOrganization /> : <OrgSelection />}+ </VercelIntegrationLayout>+ </PageContext.Provider>+ )+}+export default observer(SetupOrg)++const CreateOrganization = observer(({}) => {+ const PageState: any = useContext(PageContext)+ const router = useRouter()++ const { app } = useStore()+ const sortedOrganizations = app.organizations.list()++ const [orgName, setOrgName] = useState('')+ const [loading, setLoading] = useState(false)++ async function onClick() {+ setLoading(true)+ const response = await post(`${API_URL}/organizations/new`, {+ name: orgName,+ })+ if (response.error) {+ toast.error(response.error.message)+ setLoading(false)+ } else {+ const org = response+ PageState.selectedOrg = org++ const query = new URLSearchParams(PageState.queryParams).toString()+ router.push(`/vercel/setupProject?${query}`)+ }+ }++ function onOrgNameChange(e: any) {+ setOrgName(e.target.value)+ }++ return (+ <div className="">+ {sortedOrganizations?.length > 0 ? (+ <Typography.Title level={3}>Create a new organization</Typography.Title>+ ) : (+ <>+ <Typography.Title level={3}>You do not have an organization</Typography.Title>+ <Typography.Text>You will need an organization to deploy this project</Typography.Text>+ </>+ )}++ <div className="py-4">+ <label htmlFor="orgName" className="block w-full text-base normal-case">+ Organization name+ </label>+ <div className="mt-1">+ <input+ type="text"+ name="orgName"+ id="orgName"+ value={orgName}+ onChange={onOrgNameChange}+ placeholder="My organization"+ className="shadow-sm focus:ring-green-500 focus:border-green-500 block w-full sm:text-sm border-gray-300 rounded-md"+ />+ </div>+ </div>+ <Button disabled={loading || orgName == ''} loading={loading} onClick={onClick}>+ Create organization+ </Button>+ </div>+ )+})++const OrgSelection = observer(({}) => {+ const PageState: any = useContext(PageContext)+ const router = useRouter()+ const [loading, setLoading] = useState(false)++ const { app } = useStore()+ const sortedOrganizations = app.organizations.list()++ const clickContainerRef = clickOutsideListener(() => {+ if (PageState.selectMenuOpened) PageState.toggleSelectMenu(!PageState.selectMenuOpened)+ })++ function onOpenMenu() {+ runInAction(() => {+ PageState.toggleSelectMenu(true)+ })+ }++ function onContinue() {+ setLoading(true)++ const query = new URLSearchParams(PageState.queryParams).toString()+ router.push(`/vercel/setupProject?${query}`)+ }++ function onNewOrg() {+ runInAction(() => {+ PageState.shouldShowOrgCreationUI = true+ })+ }++ return (+ <div className="">+ <label id="listbox-label" className="block w-full text-base normal-case">+ Choose an organization+ </label>+ <div ref={clickContainerRef} className="mt-1 mb-8 relative">+ <button+ type="button"+ aria-haspopup="listbox"+ aria-expanded="true"+ aria-labelledby="listbox-label"+ className="bg-white relative w-full border border-gray-300 rounded-md shadow-sm pl-3 pr-10 py-2 text-left cursor-default focus:outline-none focus:ring-1 focus:ring-green-500 focus:border-green-500 sm:text-sm"+ onClick={onOpenMenu}+ >+ <span className="block truncate text-gray-700">{PageState.selectedOrg?.name || '-'}</span>+ <span className="absolute inset-y-0 right-0 flex items-center pr-2 pointer-events-none">+ <svg+ className="h-5 w-5 text-gray-400"+ xmlns="http://www.w3.org/2000/svg"+ viewBox="0 0 20 20"+ fill="currentColor"+ aria-hidden="true"+ >+ <path+ fillRule="evenodd"+ d="M10 3a1 1 0 01.707.293l3 3a1 1 0 01-1.414 1.414L10 5.414 7.707 7.707a1 1 0 01-1.414-1.414l3-3A1 1 0 0110 3zm-3.707 9.293a1 1 0 011.414 0L10 14.586l2.293-2.293a1 1 0 011.414 1.414l-3 3a1 1 0 01-1.414 0l-3-3a1 1 0 010-1.414z"+ clipRule="evenodd"+ />+ </svg>+ </span>+ </button>+ <Transition+ show={PageState.selectMenuOpened}+ enter=""+ enterFrom=""+ enterTo=""+ leave="transition ease-in duration-100"+ leaveFrom="opacity-100"+ leaveTo="opacity-0"+ >+ <div className="absolute z-10 mt-1 w-full rounded-md bg-white shadow-lg">+ <ul+ tabIndex={-1}+ role="listbox"+ aria-labelledby="listbox-label"+ className="rounded-md py-1 text-base ring-1 ring-black ring-opacity-5 overflow-auto focus:outline-none sm:text-sm"+ style={{ maxHeight: '15rem' }}+ >+ {sortedOrganizations?.map((x) => (+ <OrgMenuItem key={x.id} org={x} />+ ))}+ </ul>+ </div>+ </Transition>+ </div>+ <div className="flex flex-col space-y-4">+ <Button+ disabled={loading || !PageState.canContinue}+ loading={loading}+ onClick={onContinue}+ block+ >+ Continue+ </Button>+ <Button type="secondary" onClick={onNewOrg} block>+ New Organization+ </Button>+ </div>+ </div>+ )+})++const OrgMenuItem: FC<any> = observer(({ org }) => {+ const PageState: any = useContext(PageContext)+ const selected = PageState.selectedOrg?.slug == org.slug+ const [highlighted, setHighlighted] = useState(false)++ function onMouseEnter() {+ setHighlighted(true)+ }++ function onMouseOver() {+ if (!highlighted) setHighlighted(true)+ }++ function onMouseLeave() {+ setHighlighted(false)+ }++ function onSelect() {+ PageState.selectedOrg = org+ PageState.selectMenuOpened = false+ }++ return (+ <li+ id="listbox-option-0"+ role="option"+ className={`${+ highlighted ? 'bg-green-500' : ''+ } cursor-default select-none relative py-2 pl-3 pr-9`}+ onClick={onSelect}+ onMouseEnter={onMouseEnter}+ onMouseOver={onMouseOver}+ onMouseLeave={onMouseLeave}+ >+ <span+ className={`${selected ? 'font-semibold' : 'font-normal'} ${+ highlighted ? 'text-white' : 'text-gray-700'+ } block truncate `}+ >+ {org.name}+ </span>++ {selected && (+ <span+ className={`${+ highlighted ? 'text-white' : 'text-green-500'+ } absolute inset-y-0 right-0 flex items-center pr-4`}+ >+ <svg+ className="h-5 w-5"+ xmlns="http://www.w3.org/2000/svg"+ viewBox="0 0 20 20"+ fill="currentColor"+ aria-hidden="true"+ >+ <path+ fillRule="evenodd"+ d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"+ clipRule="evenodd"+ />+ </svg>+ </span>+ )}+ </li>+ )+})diff --git a/studio/pages/vercel/setupProject.tsx b/studio/pages/vercel/setupProject.tsxnew file mode 100644index 00000000000..49c819e82b8--- /dev/null+++ b/studio/pages/vercel/setupProject.tsx@@ -0,0 +1,347 @@+import { toast } from 'react-hot-toast'+import { createContext, useEffect, useContext, useRef, useState, ChangeEvent } from 'react'+import { useRouter } from 'next/router'+import { observer, useLocalObservable } from 'mobx-react-lite'+import { makeAutoObservable } from 'mobx'+import { debounce } from 'lodash'+import { Button, Typography } from '@supabase/ui'+import { Dictionary } from '@supabase/grid'++import { post } from 'lib/common/fetch'+import {+ PROVIDERS,+ REGIONS,+ REGIONS_DEFAULT,+ DEFAULT_MINIMUM_PASSWORD_STRENGTH,+ API_URL,+} from 'lib/constants'+import { VERCEL_INTEGRATION_CONFIGS } from 'lib/vercelConfigs'+import {+ createVercelEnv,+ fetchVercelProject,+ prepareVercelEvns,+} from 'components/to-be-cleaned/Integration/Vercel.utils'+import Loading from 'components/ui/Loading'+import VercelIntegrationLayout from 'components/layouts/VercelIntegrationLayout'++const PASSWORD_STRENGTH = {+ 0: "That's terrible.",+ 1: 'Pathetic.',+ 2: 'Weak.',+ 3: 'Not bad. Can you do better?',+ 4: "Strong. Let's get started!",+}++interface ISetupProjectStore {+ token: string+ teamId: string+ externalId: string+ configurationId: string+ next: string+ supabaseOrgId: string+ vercelProjectId: string+ selectedVercelProject?: Dictionary<any>+ supabaseProjectRef?: string+ loading: boolean++ queryParams: Dictionary<string>+ selectedVercelProjectUrl: string++ loadInitialData: () => void+}++class SetupProjectStore implements ISetupProjectStore {+ token: string = ''+ teamId: string = ''+ externalId: string = ''+ configurationId: string = ''+ next: string = ''+ supabaseOrgId: string = ''+ vercelProjectId: string = ''++ selectedVercelProject?: Dictionary<any>+ supabaseProjectRef?: string++ loading: boolean = true++ constructor() {+ makeAutoObservable(this)+ }++ // @ts-ignore+ get queryParams() {+ return {+ next: this.next,+ supabaseProjectRef: this.supabaseProjectRef,+ }+ }++ get selectedVercelProjectUrl() {+ if (+ !this.selectedVercelProject ||+ !this.selectedVercelProject?.alias ||+ this.selectedVercelProject?.alias?.length == 0+ ) {+ return ''+ } else {+ return `https://${this.selectedVercelProject?.alias[0].domain}`+ }+ }++ loadInitialData() {+ this.getQueryParams()+ this.getVercelProject()+ }++ getQueryParams() {+ const params = new URLSearchParams(window.location.search)+ this.configurationId = params.get('configurationId') as string+ this.vercelProjectId = params.get('vercelProjectId') as string+ this.next = params.get('next') as string+ this.externalId = params.get('external-id') as string+ this.token = params.get('token') as string+ this.teamId = params.get('teamId') as string+ this.supabaseOrgId = params.get('supabaseOrgId') as string+ }++ async getVercelProject() {+ const { data, error } = await fetchVercelProject({+ id: this.vercelProjectId,+ vercelTeamId: this.teamId,+ vercelToken: this.token,+ })+ if (error) {+ toast.error(error)+ } else {+ this.selectedVercelProject = data+ }+ this.loading = false+ }+}+const PageContext = createContext<ISetupProjectStore>(undefined!)++const SetupProject = () => {+ // @ts-ignore+ const _store: ISetupProjectStore = useLocalObservable(() => new SetupProjectStore())++ useEffect(() => {+ _store.loadInitialData()+ }, [])++ return (+ <PageContext.Provider value={_store}>+ <VercelIntegrationLayout>+ {_store.loading && <Connecting />}+ {!_store.loading && <CreateProject />}+ </VercelIntegrationLayout>+ </PageContext.Provider>+ )+}+export default observer(SetupProject)++const Connecting = () => (+ <div className="w-full h-full flex flex-col items-center justify-center">+ <div className="w-32 flex items-center justify-center">+ <Loading />+ </div>+ <Typography.Text>+ <p>Connecting...</p>+ </Typography.Text>+ </div>+)++const CreateProject = observer(() => {+ const _store = useContext(PageContext)+ const router = useRouter()+ const [projectName, setProjectName] = useState('')+ const [dbPass, setDbPass] = useState('')+ const [passwordStrengthMessage, setPasswordStrengthMessage] = useState('')+ const [passwordStrengthScore, setPasswordStrengthScore] = useState(-1)+ const [dbRegion, setDbRegion] = useState(REGIONS_DEFAULT)+ const [loading, setLoading] = useState(false)+ const delayedCheckPasswordStrength = useRef(+ debounce((value: string) => checkPasswordStrength(value), 300)+ ).current+ const canSubmit =+ projectName != '' &&+ passwordStrengthScore >= DEFAULT_MINIMUM_PASSWORD_STRENGTH &&+ dbRegion != ''++ function onProjectNameChange(e: ChangeEvent<HTMLInputElement>) {+ e.target.value = e.target.value.replace(/\./g, '')+ setProjectName(e.target.value)+ }++ function onDbPassChange(e: ChangeEvent<HTMLInputElement>) {+ const value = e.target.value+ setDbPass(value)+ if (value == '') {+ setPasswordStrengthScore(-1)+ setPasswordStrengthMessage('')+ } else delayedCheckPasswordStrength(value)+ }++ function onDbRegionChange(e: ChangeEvent<HTMLSelectElement>) {+ setDbRegion(e.target.value)+ }++ async function checkPasswordStrength(value: string) {+ let passwordStrength = ''+ if (value && value !== '') {+ const response = await post(`${API_URL}/profile/password-check`, { password: value })+ if (!response.error) {+ const { result } = response+ const score = (PASSWORD_STRENGTH as any)[result.score]+ const warning = result.feedback.warning ? `${result.feedback.warning}.` : ''+ const suggestions = result.feedback?.suggestions+ ? result.feedback.suggestions.join(' ')+ : ''+ passwordStrength = `${score} ${warning} ${suggestions}`+ setPasswordStrengthScore(result.score)+ }+ }++ setPasswordStrengthMessage(passwordStrength)+ }++ async function createSupabaseProject(dbSql: string) {+ const data = {+ cloud_provider: PROVIDERS.AWS.id, // hardcoded for DB instances to be under AWS+ org_id: _store.supabaseOrgId,+ name: projectName,+ db_pass: dbPass,+ db_region: dbRegion,+ db_sql: dbSql || '',+ auth_site_url: _store.selectedVercelProjectUrl,+ vercel_configuration_id: _store.configurationId,+ }+ return await post(`${API_URL}/projects/new`, data)+ }++ async function onCreateProject() {+ setLoading(true)++ try {+ const requiredEnvs =+ VERCEL_INTEGRATION_CONFIGS.find((x) => x.id == _store.externalId)?.envs || []+ const dbSql =+ VERCEL_INTEGRATION_CONFIGS.find((x) => x.id == _store.externalId)?.template?.sql || ''++ const response = await createSupabaseProject(dbSql)+ if (response.error) {+ setLoading(false)+ toast.error(response.error.message)+ return+ }++ const project = response+ _store.supabaseProjectRef = project.ref++ // console.log('new project', project)+ const envs = prepareVercelEvns(requiredEnvs, project)+ // console.log('envs', envs)++ await Promise.allSettled(+ envs.map(async (env: any) => {+ try {+ const data = await createVercelEnv({+ ...env,+ vercelProjectId: _store.selectedVercelProject?.id,+ vercelTeamId: _store.teamId,+ vercelToken: _store.token,+ })+ return data+ } catch (err) {+ console.error(`Error: ${err}`)+ }+ })+ )++ const query = new URLSearchParams(_store.queryParams).toString()+ router.push(`/vercel/complete?${query}`)+ } catch (error) {+ console.log('error', error)+ setLoading(false)+ }+ }++ return (+ <div className="">+ <Typography.Title level={3}>Project details for integration</Typography.Title>+ <div className="py-2">+ <label htmlFor="projectName" className="block w-full text-base normal-case">+ Project name+ </label>+ <div className="mt-1">+ <input+ type="text"+ name="projectName"+ id="projectName"+ value={projectName}+ onChange={onProjectNameChange}+ placeholder="Project name"+ className="shadow-sm focus:ring-green-500 focus:border-green-500 block w-full sm:text-sm border-gray-300 rounded-md"+ />+ </div>+ </div>+ <div className="py-2">+ <label htmlFor="dbPass" className="block w-full text-base normal-case">+ Database password+ </label>+ <div className="mt-1">+ <input+ type="password"+ name="dbPass"+ id="dbPass"+ value={dbPass}+ onChange={onDbPassChange}+ placeholder="· · · · · · · · · · · · ·"+ className="shadow-sm focus:ring-green-500 focus:border-green-500 block w-full sm:text-sm border-gray-300 rounded-md"+ />+ {passwordStrengthMessage && (+ <Typography.Text type="secondary">+ <p className="py-2">{passwordStrengthMessage}</p>+ </Typography.Text>+ )}+ {passwordStrengthScore >= 0 && passwordStrengthScore < DEFAULT_MINIMUM_PASSWORD_STRENGTH && (+ <Typography.Text type="danger">+ <p>You need a stronger password</p>+ </Typography.Text>+ )}+ </div>+ </div>+ <div className="py-2 pb-4">+ <label htmlFor="projectName" className="block w-full text-base normal-case">+ Database region+ </label>+ <div className="mt-1">+ <select+ id="dbRegion"+ name="dbRegion"+ value={dbRegion}+ onChange={onDbRegionChange}+ className="focus:ring-green-500 focus:border-green-500 relative block w-full rounded-md bg-transparent focus:z-10 sm:text-sm border-gray-300"+ >+ {Object.keys(REGIONS).map((choice) => {+ return (+ <option+ key={(REGIONS as any)[choice]}+ value={(REGIONS as any)[choice]}+ className="text-black"+ >+ {(REGIONS as any)[choice]}+ </option>+ )+ })}+ </select>+ <Typography.Text type="secondary">+ <p className="pt-2">Select a region close to you for the best performance.</p>+ </Typography.Text>+ </div>+ </div>+ <Button disabled={loading || !canSubmit} loading={loading} onClick={onCreateProject}>+ Create project+ </Button>+ </div>+ )+})diff --git a/studio/postcss.config.js b/studio/postcss.config.jsnew file mode 100644index 00000000000..33ad091d26d--- /dev/null+++ b/studio/postcss.config.js@@ -0,0 +1,6 @@+module.exports = {+ plugins: {+ tailwindcss: {},+ autoprefixer: {},+ },+}diff --git a/studio/public/css/fonts.css b/studio/public/css/fonts.cssnew file mode 100644index 00000000000..47a1664edf1--- /dev/null+++ b/studio/public/css/fonts.css@@ -0,0 +1,72 @@+/* header and body font */++@font-face {+ font-family: 'circular';+ src: url(/fonts/custom-font/CustomFont-Book.woff2) format('woff2'),+ url(/fonts/custom-font/CustomFont-Book.woff) format('woff');+ font-weight: 400;+ font-style: normal;+}+@font-face {+ font-family: 'circular';+ src: url(/fonts/custom-font/CustomFont-BookItalic.woff2) format('woff2'),+ url(/fonts/custom-font/CustomFont-BookItalic.woff) format('woff');+ font-weight: 400;+ font-style: italic;+}+@font-face {+ font-family: 'circular';+ src: url(/fonts/custom-font/CustomFont-Medium.woff2) format('woff2'),+ url(/fonts/custom-font/CustomFont-Medium.woff) format('woff');+ font-weight: 500;+ font-style: normal;+}+@font-face {+ font-family: 'circular';+ src: url(/fonts/custom-font/CustomFont-MediumItalic.woff2) format('woff2'),+ url(/fonts/custom-font/CustomFont-MediumItalic.woff) format('woff');+ font-weight: 500;+ font-style: italic;+}+@font-face {+ font-family: 'circular';+ src: url(/fonts/custom-font/CustomFont-Bold.woff2) format('woff2'),+ url(/fonts/custom-font/CustomFont-Bold.woff) format('woff');+ font-weight: 700;+ font-style: 600;+}+@font-face {+ font-family: 'circular';+ src: url(/fonts/custom-font/CustomFont-BoldItalic.woff2) format('woff2'),+ url(/fonts/custom-font/CustomFont-BoldItalic.woff) format('woff');+ font-style: 600;+ font-style: italic;+}+@font-face {+ font-family: 'circular';+ src: url(/fonts/custom-font/CustomFont-Black.woff2) format('woff2'),+ url(/fonts/custom-font/CustomFont-Black.woff) format('woff');+ font-weight: 800;+ font-style: normal;+}+@font-face {+ font-family: 'circular';+ src: url(/fonts/custom-font/CustomFont-BlackItalic.woff2) format('woff2'),+ url(/fonts/custom-font/CustomFont-BlackItalic.woff) format('woff');+ font-weight: 800;+ font-style: italic;+}++/* mono font */++@font-face {+ font-family: 'source code pro';+ src: url('/fonts/source-code-pro/SourceCodePro-Regular.eot');+ src: url('/fonts/source-code-pro/SourceCodePro-Regular.woff2') format('woff2'),+ url('/fonts/source-code-pro/SourceCodePro-Regular.woff') format('woff'),+ url('/fonts/source-code-pro/SourceCodePro-Regular.ttf') format('truetype'),+ url('/fonts/source-code-pro/SourceCodePro-Regular.svg#SourceCodePro-Regular') format('svg');+ font-weight: normal;+ font-style: normal;+ font-display: swap;+}diff --git a/studio/public/favicon.ico b/studio/public/favicon.iconew file mode 100644index 00000000000..d3fca2acb10Binary files /dev/null and b/studio/public/favicon.ico differdiff --git a/studio/public/fonts/custom-font/CustomFont-Black.woff b/studio/public/fonts/custom-font/CustomFont-Black.woffnew file mode 100644index 00000000000..091f927ea14Binary files /dev/null and b/studio/public/fonts/custom-font/CustomFont-Black.woff differdiff --git a/studio/public/fonts/custom-font/CustomFont-Black.woff2 b/studio/public/fonts/custom-font/CustomFont-Black.woff2new file mode 100644index 00000000000..e3c834e57f2Binary files /dev/null and b/studio/public/fonts/custom-font/CustomFont-Black.woff2 differdiff --git a/studio/public/fonts/custom-font/CustomFont-BlackItalic.woff b/studio/public/fonts/custom-font/CustomFont-BlackItalic.woffnew file mode 100644index 00000000000..b5f6a877dceBinary files /dev/null and b/studio/public/fonts/custom-font/CustomFont-BlackItalic.woff differdiff --git a/studio/public/fonts/custom-font/CustomFont-BlackItalic.woff2 b/studio/public/fonts/custom-font/CustomFont-BlackItalic.woff2new file mode 100644index 00000000000..f84036283ecBinary files /dev/null and b/studio/public/fonts/custom-font/CustomFont-BlackItalic.woff2 differdiff --git a/studio/public/fonts/custom-font/CustomFont-Bold.woff b/studio/public/fonts/custom-font/CustomFont-Bold.woffnew file mode 100644index 00000000000..f8d3f551df0Binary files /dev/null and b/studio/public/fonts/custom-font/CustomFont-Bold.woff differdiff --git a/studio/public/fonts/custom-font/CustomFont-Bold.woff2 b/studio/public/fonts/custom-font/CustomFont-Bold.woff2new file mode 100644index 00000000000..5e7af459481Binary files /dev/null and b/studio/public/fonts/custom-font/CustomFont-Bold.woff2 differdiff --git a/studio/public/fonts/custom-font/CustomFont-BoldItalic.woff b/studio/public/fonts/custom-font/CustomFont-BoldItalic.woffnew file mode 100644index 00000000000..07e8a350741Binary files /dev/null and b/studio/public/fonts/custom-font/CustomFont-BoldItalic.woff differdiff --git a/studio/public/fonts/custom-font/CustomFont-BoldItalic.woff2 b/studio/public/fonts/custom-font/CustomFont-BoldItalic.woff2new file mode 100644index 00000000000..ac0edd55fd3Binary files /dev/null and b/studio/public/fonts/custom-font/CustomFont-BoldItalic.woff2 differdiff --git a/studio/public/fonts/custom-font/CustomFont-Book.woff b/studio/public/fonts/custom-font/CustomFont-Book.woffnew file mode 100644index 00000000000..7d53d032fc4Binary files /dev/null and b/studio/public/fonts/custom-font/CustomFont-Book.woff differdiff --git a/studio/public/fonts/custom-font/CustomFont-Book.woff2 b/studio/public/fonts/custom-font/CustomFont-Book.woff2new file mode 100644index 00000000000..abd31f7ec27Binary files /dev/null and b/studio/public/fonts/custom-font/CustomFont-Book.woff2 differdiff --git a/studio/public/fonts/custom-font/CustomFont-BookItalic.woff b/studio/public/fonts/custom-font/CustomFont-BookItalic.woffnew file mode 100644index 00000000000..427cda87566Binary files /dev/null and b/studio/public/fonts/custom-font/CustomFont-BookItalic.woff differdiff --git a/studio/public/fonts/custom-font/CustomFont-BookItalic.woff2 b/studio/public/fonts/custom-font/CustomFont-BookItalic.woff2new file mode 100644index 00000000000..d326c8672ccBinary files /dev/null and b/studio/public/fonts/custom-font/CustomFont-BookItalic.woff2 differdiff --git a/studio/public/fonts/custom-font/CustomFont-Medium.woff b/studio/public/fonts/custom-font/CustomFont-Medium.woffnew file mode 100644index 00000000000..3707cb45dcbBinary files /dev/null and b/studio/public/fonts/custom-font/CustomFont-Medium.woff differdiff --git a/studio/public/fonts/custom-font/CustomFont-Medium.woff2 b/studio/public/fonts/custom-font/CustomFont-Medium.woff2new file mode 100644index 00000000000..c07131ddec9Binary files /dev/null and b/studio/public/fonts/custom-font/CustomFont-Medium.woff2 differdiff --git a/studio/public/fonts/source-code-pro/SourceCodePro-Regular.eot b/studio/public/fonts/source-code-pro/SourceCodePro-Regular.eotnew file mode 100644index 00000000000..e815e2cc67eBinary files /dev/null and b/studio/public/fonts/source-code-pro/SourceCodePro-Regular.eot differdiff --git a/studio/public/fonts/source-code-pro/SourceCodePro-Regular.svg b/studio/public/fonts/source-code-pro/SourceCodePro-Regular.svgnew file mode 100644index 00000000000..45766eb08cc--- /dev/null+++ b/studio/public/fonts/source-code-pro/SourceCodePro-Regular.svg@@ -0,0 +1,4016 @@+<?xml version="1.0" standalone="no"?>+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1">+<metadata>+Created by FontForge 20170731 at Thu Jun 9 00:20:48 2016+ By Aleksey,,,+Copyright 2010, 2012 Adobe Systems Incorporated (http://www.adobe.com/), with Reserved Font Name `Source'.+</metadata>+<defs>+<font id="SourceCodePro-Regular" horiz-adv-x="600" >+ <font-face+ font-family="Source Code Pro"+ font-weight="400"+ font-stretch="normal"+ units-per-em="1000"+ panose-1="2 11 5 9 3 4 3 2 2 4"+ ascent="750"+ descent="-250"+ x-height="486"+ cap-height="656"+ bbox="-193 -454 793 1060"+ underline-thickness="50"+ underline-position="-150"+ unicode-range="U+0020-1F916"+ />+<missing-glyph+d="M62 0v660h476v-660h-476zM170 58h257l-73 132l-52 103h-4l-54 -103zM127 110l128 230l-128 232v-462zM298 387h4l49 94l66 119h-235l66 -119zM345 340l127 -230v462z" />+ <glyph glyph-name="u1F3B5_uniFE0F" unicode="️"+d="M178 -24q-41 0 -71 19t-30 57q0 23 11.5 44t32 37.5t49.5 26t64 9.5q20 0 37 -3.5t24 -8.5v537h50q4 -10 8 -17.5t11.5 -15t19.5 -17t31 -22.5q34 -24 56 -47t35 -46.5t18 -49t5 -53.5q0 -39 -10.5 -73.5t-21.5 -57.5l-35 13q8 24 10.5 44.5t2.5 47.5q0 48 -32.5 89.5+t-92.5 60.5v-407q0 -41 -14 -72.5t-37.5 -52.5t-55 -31.5t-65.5 -10.5z" />+ <glyph glyph-name="u1F3B5_uniFE0F" unicode="️"+d="M178 -24q-41 0 -71 19t-30 57q0 23 11.5 44t32 37.5t49.5 26t64 9.5q20 0 37 -3.5t24 -8.5v537h50q4 -10 8 -17.5t11.5 -15t19.5 -17t31 -22.5q34 -24 56 -47t35 -46.5t18 -49t5 -53.5q0 -39 -10.5 -73.5t-21.5 -57.5l-35 13q8 24 10.5 44.5t2.5 47.5q0 48 -32.5 89.5+t-92.5 60.5v-407q0 -41 -14 -72.5t-37.5 -52.5t-55 -31.5t-65.5 -10.5z" />+ <glyph glyph-name="u1F3B6_uniFE0F" unicode="️"+d="M104 -24q-40 0 -70 19t-30 57q0 23 11 44t30.5 37.5t47.5 26t61 9.5q20 0 37 -3.5t24 -8.5v517l378 60v-539q0 -41 -13.5 -72t-36.5 -52t-53.5 -31.5t-63.5 -10.5q-40 0 -69.5 19t-29.5 57q0 23 11 44t30.5 37.5t47 26t60.5 9.5q20 0 37 -3.5t24 -8.5v363l-267 -42v-388+q0 -41 -13.5 -72.5t-36.5 -52.5t-53 -31.5t-63 -10.5z" />+ <glyph glyph-name="u1F3B6_uniFE0F" unicode="️"+d="M104 -24q-40 0 -70 19t-30 57q0 23 11 44t30.5 37.5t47.5 26t61 9.5q20 0 37 -3.5t24 -8.5v517l378 60v-539q0 -41 -13.5 -72t-36.5 -52t-53.5 -31.5t-63.5 -10.5q-40 0 -69.5 19t-29.5 57q0 23 11 44t30.5 37.5t47 26t60.5 9.5q20 0 37 -3.5t24 -8.5v363l-267 -42v-388+q0 -41 -13.5 -72.5t-36.5 -52.5t-53 -31.5t-63 -10.5z" />+ <glyph glyph-name="uni2611_uniFE0F" unicode="️"+d="M250 104q-28 77 -62.5 145t-77.5 132l56 38q37 -58 67.5 -121t50.5 -126h4q32 110 84.5 219t118.5 206h-473v-564h532v532q-68 -95 -123.5 -208.5t-90.5 -242.5zM-25 -10v630l61 51h508q51 67 108 124l54 -50l-40.5 -40.5t-40.5 -43.5v-610l-52 -61h-598z" />+ <glyph glyph-name="uni2713_uniFE0F" unicode="️"+d="M145 -20q-30 83 -66.5 154.5t-84.5 140.5l56 38q42 -63 75.5 -130.5t56.5 -134.5h4q27 89 66 178t87 171.5t103 155.5t114 131l54 -50q-59 -55 -115 -124.5t-105 -151.5t-90 -174.5t-69 -193.5z" />+ <glyph glyph-name="uni2665_uniFE0F" unicode="️"+d="M302 -12h-4q-90 97 -146.5 171t-88 135.5t-43 114t-11.5 106.5q0 49 11 86t30.5 62t46 37.5t57.5 12.5q49 0 86 -26.5t58 -93.5h4q21 67 58.5 93.5t85.5 26.5q31 0 57.5 -12.5t46 -37.5t30.5 -62t11 -86q0 -54 -11.5 -106.5t-43 -114t-88 -135.5t-146.5 -171z" />+ <glyph glyph-name="uni2663_uniFE0F" unicode="️"+d="M105 0v40q33 5 61 17t50 35.5t37.5 61.5t24.5 94h-7q-21 -50 -56.5 -68.5t-72.5 -18.5q-60 0 -96.5 42t-36.5 110q0 35 11 61.5t30 44t45 26.5t55 9q17 0 34 -4.5t40 -15.5l4 4q-25 22 -40 43.5t-22.5 41t-10 36t-2.5 29.5q0 27 11.5 50t31.5 39.5t46.5 26t57.5 9.5+t57.5 -9.5t46.5 -26t31.5 -39.5t11.5 -50q0 -13 -2.5 -29.5t-10 -36t-22.5 -41t-40 -43.5l4 -4q23 11 40 15.5t34 4.5q29 0 55 -9t45 -26.5t30 -44t11 -61.5q0 -34 -9.5 -62t-27 -48t-42 -31t-54.5 -11q-19 0 -37.5 4.5t-35.5 14.5t-31.5 26.5t-24.5 41.5h-7q9 -56 24.5 -94+t37.5 -61.5t50 -35.5t61 -17v-40h-390z" />+ <glyph glyph-name="uni2666_uniFE0F" unicode="️"+d="M302 -12h-4l-293 367v4l293 365h4l293 -365v-4z" />+ <glyph glyph-name="uni2660_uniFE0F" unicode="️"+d="M105 0v40q33 5 61 17t50 35.5t37.5 61.5t24.5 94h-7q-23 -52 -57 -71t-76 -19q-56 0 -92.5 33t-36.5 103q0 45 13 85t46 87.5t88.5 108.5t141.5 149h4q85 -88 141 -149t89 -108.5t46 -87.5t13 -85q0 -70 -36.5 -103t-92.5 -33q-42 0 -76 19t-57 71h-7q9 -56 24.5 -94+t37.5 -61.5t50 -35.5t61 -17v-40h-390z" />+ <glyph glyph-name="uni263A_uniFE0F" unicode="️"+d="M300 39q-64 0 -117.5 21.5t-92 60.5t-60 92.5t-21.5 116.5t21.5 116.5t60 92.5t92 60.5t117.5 21.5t117.5 -21.5t92 -60.5t60 -92.5t21.5 -116.5t-21.5 -116.5t-60 -92.5t-92 -60.5t-117.5 -21.5zM300 84q53 0 97.5 18t76 50.5t49 77.5t17.5 100t-17.5 100t-49 77.5+t-76 50.5t-97.5 18t-97.5 -18t-76 -50.5t-49 -77.5t-17.5 -100t17.5 -100t49 -77.5t76 -50.5t97.5 -18zM221 340q-23 0 -35.5 17.5t-12.5 46.5t12.5 46.5t35.5 17.5t36 -17.5t13 -46.5t-13 -46.5t-36 -17.5zM379 340q-23 0 -36 17.5t-13 46.5t13 46.5t36 17.5t35.5 -17.5+t12.5 -46.5t-12.5 -46.5t-35.5 -17.5zM300 152q-66 0 -106.5 34.5t-48.5 95.5l34 13q14 -39 45 -57t76 -18t76 18t45 57l34 -13q-8 -61 -48.5 -95.5t-106.5 -34.5zM236 397q13 0 13 15t-13 15t-13 -15t13 -15zM393 397q13 0 13 15t-13 15q-12 0 -12 -15t12 -15z" />+ <glyph glyph-name="uni263B_uniFE0F" unicode="️"+d="M300 59q-60 0 -110 20.5t-86 56.5t-55.5 85.5t-19.5 108.5t19.5 108.5t55.5 85.5t86 56.5t110 20.5t110 -20.5t86 -56.5t55.5 -85.5t19.5 -108.5t-19.5 -108.5t-55.5 -85.5t-86 -56.5t-110 -20.5zM220 345q23 0 35 18t12 45q0 26 -12 44t-35 18t-35.5 -18t-12.5 -44+q0 -27 12.5 -45t35.5 -18zM380 345q23 0 35.5 18t12.5 45q0 26 -12.5 44t-35.5 18t-35 -18t-12 -44q0 -27 12 -45t35 -18zM300 149q68 0 108 33t51 96l-34 13q-15 -39 -47 -58t-78 -19t-78 19t-47 58l-34 -13q11 -63 51 -96t108 -33zM208 394q-7 0 -12 4.5t-5 13.5t5 14+t12 5q6 0 11 -5t5 -14t-5 -13.5t-11 -4.5zM368 394q-7 0 -12 4.5t-5 13.5t5 14t12 5t12 -5t5 -14t-5 -13.5t-12 -4.5z" />+ <glyph glyph-name="uni2764_uniFE0F" unicode="️"+d="M302 9h-4q-24 47 -60.5 78.5t-77.5 57.5t-82 51t-74.5 59t-54 82t-20.5 119q0 49 14.5 86.5t41 63t62.5 38.5t79 13q66 0 109.5 -29.5t62.5 -103.5h4q19 74 62.5 103.5t109.5 29.5q43 0 79 -13t62.5 -38.5t41 -63t14.5 -86.5q0 -71 -20.5 -119t-54 -82t-74.5 -59t-82 -51+t-77.5 -57.5t-60.5 -78.5z" />+ <glyph glyph-name="uni2615_uniFE0F" unicode="️"+d="M248 39q-64 0 -115.5 23t-88 71t-56.5 121.5t-20 173.5q0 94 74 143.5t206 49.5q121 0 190 -39.5t83 -114.5q58 -11 92.5 -44.5t34.5 -102.5q0 -38 -15 -69t-40.5 -53.5t-59.5 -34.5t-72 -12q-35 -58 -91 -85t-122 -27zM248 80q61 0 110.5 24.5t76.5 81.5q42 0 73 11+t51.5 29t30.5 42.5t10 51.5q0 46 -29 78t-88 32q0 72 -60.5 112t-174.5 40q-113 0 -173.5 -43.5t-60.5 -118.5q0 -90 17 -154t48 -105.5t74 -61t95 -19.5zM248 326q-93 0 -142.5 22t-73.5 62q15 47 71.5 74.5t144.5 27.5t145 -28t72 -74q-12 -20 -30 -35.5t-44 -26.5+t-61 -16.5t-82 -5.5zM458 250q10 28 14.5 56t6.5 56q29 0 43 -10t14 -38q0 -32 -23 -48t-55 -16zM310 419q-43 29 -73 39.5t-58 10.5q-25 0 -38 -8t-13 -19q0 -8 6.5 -13.5t24.5 -9.5q-18 -5 -24.5 -10t-6.5 -13q0 -11 13 -19.5t38 -8.5q28 0 58 11t73 40zM314 419+q23 -14 40 -18.5t26 -4.5q11 0 18.5 6t7.5 17t-7.5 16.5t-18.5 5.5q-9 0 -26 -4t-40 -18z" />+ <glyph glyph-name="u1F4A9_uniFE0F" unicode="️"+d="M300 14q-80 0 -137 6t-94.5 22.5t-55 44.5t-17.5 73q0 95 91 118q-18 14 -27 35.5t-9 54.5q0 54 30.5 83.5t78.5 38.5q-9 9 -15 20t-6 32q0 25 9.5 39.5t24.5 22.5t34.5 12.5t39.5 9.5t39 12.5t33 23.5q142 -39 142 -118q0 -20 -5 -31.5t-16 -22.5q48 -9 78.5 -38.5+t30.5 -83.5q0 -33 -9 -54.5t-27 -35.5q91 -23 91 -118q0 -45 -17.5 -73t-55 -44.5t-95 -22.5t-136.5 -6zM300 109q63 0 100 28t43 87h-286q6 -59 43 -87t100 -28zM148 312l28 -2q2 35 10.5 50.5t26.5 15.5t27 -15.5t11 -50.5l28 2q-1 65 -17.5 92.5t-48.5 27.5t-48 -27.5+t-17 -92.5zM321 312l28 -2q2 35 11 50.5t27 15.5t26.5 -15.5t10.5 -50.5l28 2q-1 65 -17 92.5t-48 27.5t-48.5 -27.5t-17.5 -92.5z" />+ <glyph glyph-name="u1F916_uniFE0F" unicode="️"+d="M300 39q-90 0 -159.5 42.5t-103.5 126.5q-63 12 -63 140q0 38 10.5 56.5t35.5 23.5q22 98 96 145.5t184 47.5t184 -47.5t96 -145.5q25 -5 35.5 -23.5t10.5 -56.5q0 -128 -63 -140q-34 -84 -103.5 -126.5t-159.5 -42.5zM300 84q51 0 95 16t76 48.5t50.5 82.5t18.5 119+q0 61 -16.5 104t-48 70t-76 39.5t-99.5 12.5q-56 0 -100 -12.5t-75.5 -39.5t-48 -70t-16.5 -104q0 -69 18.5 -119t50.5 -82.5t76 -48.5t95 -16zM300 258q-98 0 -145.5 21t-47.5 75q0 83 51.5 121.5t141.5 38.5t141.5 -38.5t51.5 -121.5q0 -54 -47.5 -75t-145.5 -21zM147 332+l32 -2q2 33 10 47.5t26 14.5t26 -14.5t10 -47.5l32 2q-2 65 -19 92.5t-49 27.5t-49 -27.5t-19 -92.5zM317 332l32 -2q2 33 10 47.5t26 14.5t26 -14.5t10 -47.5l32 2q-2 65 -19 92.5t-49 27.5t-49 -27.5t-19 -92.5zM300 149q-15 0 -26 5.5t-11 18.5q0 9 7 12t30 3t30 -3+t7 -12q0 -13 -11 -18.5t-26 -5.5z" />+ <glyph glyph-name="u1F512_uniFE0F" unicode="️"+d="M85 -70l-40 36v518l40 36h46v153q0 88 44 135.5t125 47.5t125 -47.5t44 -135.5v-153h46l40 -36v-518l-40 -36h-430zM246 59l44 -20h20l44 20l-26 169q29 11 42.5 31.5t13.5 47.5q0 35 -24.5 59t-59.5 24t-59.5 -24t-24.5 -59q0 -27 13.5 -47.5t42.5 -31.5zM199 520h202+v145q0 60 -25 93t-76 33t-76 -33t-25 -93v-145z" />+ <glyph glyph-name=".notdef"+d="M62 0v660h476v-660h-476zM170 58h257l-73 132l-52 103h-4l-54 -103zM127 110l128 230l-128 232v-462zM298 387h4l49 94l66 119h-235l66 -119zM345 340l127 -230v462z" />+ <glyph glyph-name=".null" horiz-adv-x="0"+ />+ <glyph glyph-name="nonmarkingreturn"+ />+ <glyph glyph-name="space" unicode=" "+ />+ <glyph glyph-name="exclam" unicode="!"+d="M272 232l-10 344l-2 94h80l-2 -94l-10 -344h-56zM300 -12q-30 0 -51.5 21t-21.5 57q0 35 21.5 55.5t51.5 20.5t51.5 -20.5t21.5 -55.5q0 -36 -21.5 -57t-51.5 -21z" />+ <glyph glyph-name="quotedbl" unicode="""+d="M158 352l-25 225l-2 110h110l-2 -110l-25 -225h-56zM387 352l-25 225l-2 110h110l-2 -110l-25 -225h-56z" />+ <glyph glyph-name="numbersign" unicode="#"+d="M328 0l25 204h-132l-25 -204h-54l25 204h-80v57h87l18 148h-85v58h92l23 183h53l-22 -183h132l23 183h53l-22 -183h80v-58h-87l-18 -148h85v-57h-92l-25 -204h-54zM360 261l18 148h-132l-18 -148h132z" />+ <glyph glyph-name="dollar" unicode="$"+d="M85 113l39 57q38 -27 83.5 -47.5t102.5 -20.5q60 0 90.5 24.5t30.5 62.5q0 31 -23.5 51.5t-58.5 36.5t-76.5 31t-76.5 35.5t-58.5 49t-23.5 72.5q0 63 44.5 103t117.5 48v132h60v-131q55 -5 92 -26t67 -50l-44 -48q-17 13 -32.5 23.5t-32.5 18t-37 11.5t-45 4+q-51 0 -80.5 -22.5t-29.5 -60.5q0 -28 23.5 -46t59 -33t76.5 -30t76.5 -36t59 -51t23.5 -76q0 -32 -12.5 -59.5t-36 -48t-56 -34t-71.5 -17.5v-146h-60v145q-56 5 -106 27t-85 51z" />+ <glyph glyph-name="percent" unicode="%"+d="M167 321q-61 0 -100 44t-39 122t39 120.5t100 42.5t100 -42.5t39 -120.5t-39 -122t-100 -44zM167 371q32 0 55 28.5t23 87.5q0 60 -23 87t-55 27t-55 -27t-23 -87q0 -59 23 -87.5t55 -28.5zM77 32l-49 45l183 188l33 -30zM389 391l-33 30l167 203l49 -45zM434 -12+q-61 0 -100 44t-39 122t39 120.5t100 42.5t100 -42.5t39 -120.5t-39 -122t-100 -44zM434 38q32 0 55 28.5t23 87.5q0 60 -23 87t-55 27t-55 -27t-23 -87q0 -59 23 -87.5t55 -28.5z" />+ <glyph glyph-name="ampersand" unicode="&"+d="M238 -12q-44 0 -80 13.5t-61.5 37.5t-40 57.5t-14.5 73.5q0 32 10 59t27.5 49.5t39.5 42t46 37.5q-21 41 -32.5 80.5t-11.5 74.5q0 33 10.5 61t29 49t45 33t59.5 12q61 0 94 -36t33 -94q0 -32 -12.5 -58t-32.5 -49.5t-45 -44t-51 -40.5q32 -51 73.5 -98t86.5 -86+q28 40 48.5 87.5t34.5 104.5h76q-18 -65 -44 -124t-62 -111q60 -46 113 -63l-23 -68q-65 20 -137 75q-36 -35 -79.5 -55t-99.5 -20zM192 514q0 -27 8 -56t22 -59q21 15 39.5 30.5t33 32t22.5 35t8 40.5q0 29 -13.5 50.5t-46.5 21.5q-35 0 -54 -27t-19 -68zM248 54+q31 0 60 14t55 38q-48 42 -90.5 92t-76.5 104q-32 -28 -53 -58.5t-21 -68.5q0 -27 10 -49.5t27 -38.5t40 -24.5t49 -8.5z" />+ <glyph glyph-name="quotesingle" unicode="'"+d="M272 352l-25 225l-2 110h110l-2 -110l-25 -225h-56z" />+ <glyph glyph-name="parenleft" unicode="("+d="M433 -176q-104 81 -164.5 195t-60.5 259t60.5 259t164.5 195l45 -42q-101 -85 -148.5 -185t-47.5 -227t47.5 -227t148.5 -185z" />+ <glyph glyph-name="parenright" unicode=")"+d="M167 -176l-45 42q101 85 148.5 185t47.5 227t-47.5 227t-148.5 185l45 42q104 -81 164.5 -195t60.5 -259t-60.5 -259t-164.5 -195z" />+ <glyph glyph-name="asterisk" unicode="*"+d="M180 111l-42 30l108 165l-162 70l16 46l167 -55l9 189h48l9 -189l167 55l16 -46l-162 -70l108 -165l-42 -30l-120 159z" />+ <glyph glyph-name="plus" unicode="+"+d="M267 104v195h-182v62h182v195h66v-195h182v-62h-182v-195h-66z" />+ <glyph glyph-name="comma" unicode=","+d="M220 -213l-23 52q62 28 93 67.5t33 99.5q-5 -2 -9.5 -2h-9.5q-32 0 -55 18.5t-23 56.5q0 37 24 56.5t56 19.5q45 0 67.5 -34.5t22.5 -93.5q0 -88 -46.5 -148.5t-129.5 -91.5z" />+ <glyph glyph-name="hyphen" unicode="-"+d="M85 299v62h430v-62h-430z" />+ <glyph glyph-name="period" unicode="."+d="M300 -12q-34 0 -57.5 23t-23.5 61t23.5 61.5t57.5 23.5t57.5 -23.5t23.5 -61.5t-23.5 -61t-57.5 -23z" />+ <glyph glyph-name="slash" unicode="/"+d="M99 -160l328 870h74l-328 -870h-74z" />+ <glyph glyph-name="zero" unicode="0"+d="M300 -12q-107 0 -168 86.5t-61 246.5q0 161 61 245t168 84t168 -84t61 -245q0 -160 -61 -246.5t-168 -86.5zM300 54q67 0 109.5 65t42.5 202q0 69 -11 118.5t-31.5 82t-48.5 47.5t-61 15t-61 -15t-48.5 -47.5t-31.5 -82t-11 -118.5q0 -137 42.5 -202t109.5 -65zM300 261+q-25 0 -43.5 17.5t-18.5 49.5q0 31 18.5 48.5t43.5 17.5t43.5 -17.5t18.5 -48.5q0 -32 -18.5 -49.5t-43.5 -17.5z" />+ <glyph glyph-name="one" unicode="1"+d="M97 0v68h184v470h-143v53q57 8 95 19t69 28h61v-570h167v-68h-433z" />+ <glyph glyph-name="two" unicode="2"+d="M73 0v49q81 72 143.5 130t105 106.5t64.5 90.5t22 82q0 55 -34 90t-105 35q-45 0 -83.5 -22.5t-69.5 -54.5l-47 47q43 44 92.5 70.5t117.5 26.5q48 0 86.5 -13.5t65.5 -38t41.5 -59.5t14.5 -77q0 -45 -21.5 -90.5t-60.5 -94t-93 -101t-119 -111.5l60 4t59 2h210v-71h-449+z" />+ <glyph glyph-name="three" unicode="3"+d="M287 -12q-83 0 -139 27.5t-91 62.5l42 54q32 -30 76.5 -53t106.5 -23q33 0 61 8.5t48.5 23.5t32 36.5t11.5 48.5q0 28 -12.5 51.5t-40.5 40.5t-72 26t-107 9v63q57 0 96.5 9t64.5 25t36.5 38t11.5 47q0 47 -35.5 74t-94.5 27q-45 0 -85 -18t-72 -47l-44 52q40 35 91 57.5+t113 22.5q45 0 83.5 -11t67 -31.5t44.5 -50.5t16 -69q0 -58 -38 -95t-98 -57v-4q32 -7 60.5 -20.5t50.5 -34t34.5 -47.5t12.5 -60q0 -42 -18 -76t-49.5 -57.5t-73.5 -36t-90 -12.5z" />+ <glyph glyph-name="four" unicode="4"+d="M368 0v176h-329v55l319 407h88v-396h99v-66h-99v-176h-78zM130 242h238v198q1 26 2 56.5t3 56.5h-5q-15 -23 -32 -46.5t-33 -46.5z" />+ <glyph glyph-name="five" unicode="5"+d="M286 -12q-43 0 -77.5 7.5t-62 19.5t-50 27.5t-40.5 32.5l41 54q16 -14 34 -27.5t39.5 -23.5t48 -16t58.5 -6q34 0 63.5 10.5t51.5 29.5t34.5 46t12.5 60q0 66 -42.5 103t-114.5 37q-40 0 -68 -10t-62 -29l-44 28l21 307h361v-71h-288l-17 -189q28 12 54.5 19t63.5 7+q46 0 86 -12t69.5 -36.5t46.5 -62t17 -89.5t-19.5 -92t-52.5 -67.5t-75.5 -42t-88.5 -14.5z" />+ <glyph glyph-name="six" unicode="6"+d="M321 -12q-52 0 -96.5 19t-77.5 57.5t-51.5 96t-18.5 134.5q0 96 22 163.5t59 110t85.5 62t100.5 19.5q59 0 102.5 -19.5t75.5 -48.5l-46 -51q-25 23 -58 36.5t-69 13.5q-38 0 -73 -14t-61.5 -46t-43 -84.5t-17.5 -129.5q39 38 86 60.5t95 22.5q44 0 80.5 -12.5t63 -37+t41 -61.5t14.5 -86q0 -46 -17.5 -83.5t-46.5 -64.5t-67.5 -42t-81.5 -15zM321 53q28 0 53 10t43 28.5t28.5 44t10.5 57.5q0 66 -35 100.5t-101 34.5q-38 0 -81.5 -20t-81.5 -66q9 -93 51.5 -141t112.5 -48z" />+ <glyph glyph-name="seven" unicode="7"+d="M226 0q4 91 17 165.5t38 141.5t63.5 130t93.5 130h-368v71h462v-51q-63 -72 -104 -138t-66 -134.5t-36 -144.5t-14 -170h-86z" />+ <glyph glyph-name="eight" unicode="8"+d="M302 -12q-54 0 -97.5 13t-73.5 36.5t-46.5 55.5t-16.5 70q0 33 12 59t31 47t43.5 36.5t50.5 27.5v4q-40 25 -68.5 61.5t-28.5 87.5q0 37 14.5 67t41 51.5t62.5 33.5t79 12q47 0 83.5 -12.5t62 -35t39 -54t13.5 -68.5q0 -45 -28.5 -84.5t-68.5 -67.5v-4q26 -13 49 -28+t40 -34t26.5 -44.5t9.5 -59.5q0 -36 -15.5 -67t-44.5 -54t-71.5 -36t-97.5 -13zM352 348q80 58 80 128q0 48 -33 80.5t-96 32.5q-54 0 -87 -28t-33 -75q0 -29 13 -49.5t36 -36.5t53.5 -28.5t66.5 -23.5zM304 49q72 0 110 31t38 81q0 33 -15.5 55.5t-42.5 38.5t-63.5 28.5+t-78.5 26.5q-47 -26 -78 -58.5t-31 -80.5q0 -54 43.5 -88t117.5 -34z" />+ <glyph glyph-name="nine" unicode="9"+d="M281 310q38 0 81 20t82 65q-10 94 -51.5 142t-112.5 48q-29 0 -53.5 -10t-42.5 -28.5t-28.5 -44.5t-10.5 -57q0 -66 34.5 -100.5t101.5 -34.5zM257 -12q-59 0 -102.5 19t-75.5 48l46 52q24 -23 57 -37t70 -14q38 0 72.5 14t61 46.5t42.5 84.5t18 129q-39 -38 -85.5 -60+t-95.5 -22q-44 0 -80.5 12.5t-62.5 37t-40.5 61.5t-14.5 86q0 46 17 83.5t46.5 64.5t68 42t80.5 15q52 0 97 -19t78 -57.5t51.5 -96t18.5 -134.5q0 -96 -22.5 -163.5t-59.5 -110t-85 -62t-100 -19.5z" />+ <glyph glyph-name="colon" unicode=":"+d="M300 346q-34 0 -57.5 23t-23.5 61t23.5 61.5t57.5 23.5t57.5 -23.5t23.5 -61.5t-23.5 -61t-57.5 -23zM300 -12q-34 0 -57.5 23t-23.5 61t23.5 61.5t57.5 23.5t57.5 -23.5t23.5 -61.5t-23.5 -61t-57.5 -23z" />+ <glyph glyph-name="semicolon" unicode=";"+d="M300 346q-34 0 -57.5 23t-23.5 61t23.5 61.5t57.5 23.5t57.5 -23.5t23.5 -61.5t-23.5 -61t-57.5 -23zM220 -213l-23 52q62 28 93 67.5t33 99.5q-5 -2 -9.5 -2h-9.5q-32 0 -55 18.5t-23 56.5q0 37 24 56.5t56 19.5q45 0 67.5 -34.5t22.5 -93.5q0 -88 -46.5 -148.5+t-129.5 -91.5z" />+ <glyph glyph-name="less" unicode="<"+d="M493 48l-373 253v62l373 253v-79l-301 -203v-4l301 -203v-79z" />+ <glyph glyph-name="equal" unicode="="+d="M85 406v62h430v-62h-430zM85 193v62h430v-62h-430z" />+ <glyph glyph-name="greater" unicode=">"+d="M107 48v79l301 203v4l-301 203v79l373 -253v-62z" />+ <glyph glyph-name="question" unicode="?"+d="M242 232q-6 36 3 64t26.5 51t39.5 43t41.5 39.5t32.5 40.5t13 47q0 42 -27.5 69.5t-82.5 27.5q-38 0 -70.5 -15.5t-59.5 -42.5l-49 45q34 35 80 58t104 23q42 0 76 -11t58.5 -31.5t38 -49t13.5 -64.5q0 -34 -13.5 -60t-33 -48t-42 -41.5t-41 -41t-29 -46.5t-5.5 -57h-73z+M286 -12q-30 0 -51.5 21t-21.5 57q0 35 21.5 55.5t51.5 20.5t51.5 -20.5t21.5 -55.5q0 -36 -21.5 -57t-51.5 -21z" />+ <glyph glyph-name="at" unicode="@"+d="M341 -144q-59 0 -112 25.5t-93 75t-63.5 123.5t-23.5 170t22.5 168t62.5 120t93.5 72.5t115.5 24.5q52 0 90 -18t63 -50t37.5 -75.5t12.5 -94.5v-297h-50l-7 58h-4q-22 -28 -57.5 -49t-74.5 -21q-27 0 -50.5 9t-41 26t-27.5 41.5t-10 54.5q0 77 68 116t196 55v14+q0 36 -8.5 68t-26.5 56t-46.5 38t-67.5 14q-45 0 -86 -21t-72.5 -62.5t-50 -104t-18.5 -145.5q0 -80 18 -142.5t49 -105.5t73 -65.5t91 -22.5q45 0 78.5 11.5t62.5 33.5l28 -45q-39 -27 -80 -41t-91 -14zM370 146q56 0 112 64v126q-104 -14 -148 -41.5t-44 -73.5+q0 -35 21.5 -55t58.5 -20z" />+ <glyph glyph-name="A" unicode="A"+d="M232 367l-31 -100h196l-31 100q-17 55 -33.5 109.5t-31.5 111.5h-4q-16 -57 -32 -111.5t-33 -109.5zM32 0l221 656h94l221 -656h-88l-62 200h-238l-63 -200h-85z" />+ <glyph glyph-name="B" unicode="B"+d="M99 0v656h186q50 0 91.5 -9t71 -28t46 -49.5t16.5 -73.5q0 -49 -28 -88.5t-87 -54.5v-4q72 -11 112 -50t40 -107q0 -48 -18 -84t-50.5 -60t-78 -36t-100.5 -12h-201zM182 380h89q84 0 120.5 27t36.5 82q0 54 -38.5 75.5t-114.5 21.5h-93v-206zM182 70h106q85 0 131 29.5+t46 96.5q0 61 -45 87.5t-132 26.5h-106v-240z" />+ <glyph glyph-name="C" unicode="C"+d="M351 -12q-61 0 -113 23t-90.5 66.5t-60.5 107t-22 143.5q0 79 22 142t61 107t93 67.5t118 23.5q59 0 104.5 -24t74.5 -56l-47 -53q-26 27 -58 43.5t-74 16.5q-47 0 -85.5 -18.5t-65.5 -53t-42 -83.5t-15 -110q0 -62 15 -111.5t42 -84.5t65.5 -54t85.5 -19q45 0 80.5 19+t67.5 54l47 -51q-39 -45 -88 -70t-115 -25z" />+ <glyph glyph-name="D" unicode="D"+d="M87 0v656h162q149 0 226.5 -84t77.5 -241t-77.5 -244t-222.5 -87h-166zM170 68h73q113 0 168.5 69t55.5 194t-55.5 191t-168.5 66h-73v-520z" />+ <glyph glyph-name="E" unicode="E"+d="M114 0v656h406v-70h-322v-206h272v-71h-272v-238h332v-71h-416z" />+ <glyph glyph-name="F" unicode="F"+d="M133 0v656h403v-70h-319v-222h270v-70h-270v-294h-84z" />+ <glyph glyph-name="G" unicode="G"+d="M337 -12q-62 0 -114 23t-90 66.5t-59 107t-21 143.5q0 79 21.5 142.5t60 107t92 67t117.5 23.5q33 0 60 -7t49.5 -18.5t40 -25.5t31.5 -29l-47 -53q-24 26 -55 43t-79 17q-46 0 -83.5 -18.5t-64.5 -53t-41.5 -83.5t-14.5 -110q0 -62 13.5 -111.5t39 -84.5t63.5 -54+t86 -19q35 0 65 10.5t49 28.5v171h-131v69h208v-276q-31 -32 -81.5 -54t-114.5 -22z" />+ <glyph glyph-name="H" unicode="H"+d="M79 0v656h84v-275h274v275h84v-656h-84v309h-274v-309h-84z" />+ <glyph glyph-name="I" unicode="I"+d="M95 0v71h163v515h-163v70h410v-70h-163v-515h163v-71h-410z" />+ <glyph glyph-name="J" unicode="J"+d="M276 -12q-55 0 -108 26t-87 83l52 51q28 -45 65.5 -66t75.5 -21q71 0 103.5 37.5t32.5 118.5v370h-275v70h358v-447q0 -46 -11 -86.5t-36.5 -70.5t-67 -47.5t-102.5 -17.5z" />+ <glyph glyph-name="K" unicode="K"+d="M98 0v656h84v-329h3l276 329h95l-208 -249l232 -407h-94l-191 344l-113 -135v-209h-84z" />+ <glyph glyph-name="L" unicode="L"+d="M134 0v656h82v-585h325v-71h-407z" />+ <glyph glyph-name="M" unicode="M"+d="M72 0v656h102l92 -280l32 -106h4l31 106l93 280h102v-656h-80v328q0 24 1.5 55.5t4 63.5t4.5 62t4 51h-3l-37 -128l-94 -258h-60l-92 258l-38 128h-2q2 -21 4.5 -51t4.5 -62t3.5 -63.5t1.5 -55.5v-328h-78z" />+ <glyph glyph-name="N" unicode="N"+d="M82 0v656h92l210 -412l63 -136h2q-2 49 -6.5 102.5t-4.5 105.5v340h80v-656h-92l-210 412l-63 136h-2q2 -51 6.5 -102.5t4.5 -102.5v-343h-80z" />+ <glyph glyph-name="O" unicode="O"+d="M300 -12q-56 0 -102 23.5t-79.5 67.5t-52 107.5t-18.5 144.5q0 79 18.5 142t52 106t79.5 66t102 23q55 0 101.5 -23t80 -66t52 -106t18.5 -142q0 -81 -18.5 -144.5t-52 -107.5t-80 -67.5t-101.5 -23.5zM300 61q37 0 68 18.5t52.5 53.5t33.5 85t12 113q0 62 -12 111+t-33.5 83t-52.5 52t-68 18q-38 0 -68.5 -18t-52 -52t-33.5 -83t-12 -111q0 -63 12 -113t33.5 -85t52 -53.5t68.5 -18.5z" />+ <glyph glyph-name="P" unicode="P"+d="M102 0v656h198q54 0 99 -10t77 -32.5t49.5 -59.5t17.5 -91q0 -52 -17.5 -90t-50 -63t-77 -37.5t-98.5 -12.5h-115v-260h-83zM185 328h105q87 0 128 32.5t41 102.5q0 71 -42 98.5t-127 27.5h-105v-261z" />+ <glyph glyph-name="Q" unicode="Q"+d="M300 57q76 0 120.5 72t44.5 202q0 124 -44.5 195t-120.5 71t-120.5 -71t-44.5 -195q0 -130 44.5 -202t120.5 -72zM481 -163q-87 0 -142 44t-79 110q-48 8 -86.5 35t-66 70.5t-42.5 102.5t-15 132q0 79 18 142t51 106.5t79 66.5t102 23t102 -23t79 -66.5t51 -106.5+t18 -142q0 -71 -14.5 -129.5t-41 -101.5t-63.5 -70.5t-83 -36.5q17 -43 54 -64t88 -21q15 0 27.5 3t21.5 7l16 -67q-17 -6 -35 -10t-39 -4z" />+ <glyph glyph-name="R" unicode="R"+d="M100 0v656h204q50 0 92 -9.5t72.5 -31.5t47.5 -57t17 -86q0 -77 -40 -123t-107 -63l167 -286h-95l-158 277h-117v-277h-83zM183 345h109q77 0 117.5 31.5t40.5 95.5q0 65 -40.5 91t-117.5 26h-109v-244z" />+ <glyph glyph-name="S" unicode="S"+d="M305 -12q-72 0 -132.5 26t-105.5 71l50 58q37 -37 86 -59.5t106 -22.5q68 0 105.5 29t37.5 75q0 26 -9 44t-25 31t-37.5 23t-46.5 21l-94 41q-25 10 -50 24t-45.5 34t-33.5 47.5t-13 63.5q0 37 16 69t44.5 55.5t68 36.5t86.5 13q62 0 114 -22.5t88 -58.5l-44 -54+q-32 29 -71 45.5t-90 16.5q-57 0 -92 -25.5t-35 -70.5q0 -24 10.5 -40.5t27 -29t37.5 -21.5l42 -18l92 -40q30 -12 56.5 -27.5t46 -36t31 -48t11.5 -63.5q0 -39 -16 -73t-46 -59.5t-73 -40t-97 -14.5z" />+ <glyph glyph-name="T" unicode="T"+d="M258 0v586h-216v70h516v-70h-216v-586h-84z" />+ <glyph glyph-name="U" unicode="U"+d="M301 -12q-48 0 -89 14t-70.5 45.5t-46 80.5t-16.5 120v408h84v-410q0 -51 10.5 -86.5t29 -57t43.5 -31.5t55 -10t55 10t44 31.5t29.5 57t10.5 86.5v410h81v-408q0 -71 -16.5 -120t-45.5 -80.5t-69.5 -45.5t-88.5 -14z" />+ <glyph glyph-name="V" unicode="V"+d="M252 0l-209 656h88l106 -354q17 -59 31 -109t32 -108h4q9 29 17 55.5t15.5 52.5t15 53t15.5 56l105 354h85l-208 -656h-97z" />+ <glyph glyph-name="W" unicode="W"+d="M110 0l-100 657h94l48 -412q2 -21 4 -38t3.5 -34.5t3 -36.5t2.5 -43h3q4 24 8 43t7.5 36.5t7.5 34.5t9 37l64 244h80l62 -244q5 -20 9 -37t7.5 -34.5t7 -36.5t8.5 -43h4q1 24 2.5 43t3 36.5t3 34.5t3.5 37l46 413h90l-96 -657h-104l-64 264q-8 30 -13.5 59t-10.5 59h-3+q-5 -30 -10 -59t-13 -59l-64 -264h-102z" />+ <glyph glyph-name="X" unicode="X"+d="M54 0l196 339l-183 317h92l92 -168q13 -23 25 -44.5t28 -50.5h4q14 29 24.5 50.5t22.5 44.5l90 168h88l-183 -321l196 -335h-92l-99 177q-14 24 -27.5 49.5t-30.5 55.5h-4q-14 -30 -27 -55.5t-26 -49.5l-98 -177h-88z" />+ <glyph glyph-name="Y" unicode="Y"+d="M258 0v234l-220 422h88l99 -195q19 -38 37 -75.5t38 -77.5h4l39 78l38 76l95 194h86l-220 -422v-234h-84z" />+ <glyph glyph-name="Z" unicode="Z"+d="M65 0v50l366 537h-334v70h437v-50l-367 -536h372v-71h-474z" />+ <glyph glyph-name="bracketleft" unicode="["+d="M225 -152v860h277v-47h-211v-766h211v-47h-277z" />+ <glyph glyph-name="backslash" unicode="\"+d="M427 -160l-328 870h74l328 -870h-74z" />+ <glyph glyph-name="bracketright" unicode="]"+d="M98 -152v47h211v766h-211v47h277v-860h-277z" />+ <glyph glyph-name="asciicircum" unicode="^"+d="M111 284l153 386h72l153 -386h-72l-66 176l-49 133h-4l-49 -133l-66 -176h-72z" />+ <glyph glyph-name="underscore" unicode="_"+d="M60 -140v71h480v-71h-480z" />+ <glyph glyph-name="grave" unicode="`"+d="M321 568l-157 153l58 56l142 -168z" />+ <glyph glyph-name="a" unicode="a"+d="M246 -12q-34 0 -64 9.5t-52.5 27t-35.5 43t-13 58.5q0 41 19.5 71.5t62 52.5t109.5 36t161 22q-1 25 -8 47t-22 38.5t-39.5 26.5t-59.5 10q-48 0 -92 -18.5t-78 -39.5l-32 56q18 12 42.5 24.5t52 22.5t58.5 16.5t63 6.5q100 0 148.5 -54.5t48.5 -145.5v-298h-67l-7 66h-3+q-41 -32 -90.5 -55t-101.5 -23zM268 54q42 0 82.5 18.5t82.5 53.5v128q-78 -6 -130.5 -17t-84 -26.5t-44.5 -35t-13 -43.5q0 -21 9 -35.5t23.5 -24t34 -14t40.5 -4.5z" />+ <glyph glyph-name="b" unicode="b"+d="M320 -12q-35 0 -75.5 17.5t-75.5 48.5h-3l-7 -54h-66v712h82v-194l-3 -94h3q33 34 76.5 54t86.5 20q49 0 87 -17.5t63.5 -50t38.5 -78t13 -101.5q0 -62 -18 -111t-48.5 -83t-70.5 -51.5t-83 -17.5zM307 57q32 0 59 13.5t47 38t31 60.5t11 81q0 40 -8 73t-24.5 56.5+t-42.5 36.5t-62 13q-32 0 -68.5 -17.5t-74.5 -55.5v-242q35 -31 70.5 -44t61.5 -13z" />+ <glyph glyph-name="c" unicode="c"+d="M346 -12q-57 0 -105.5 17t-84.5 49.5t-56 80t-20 107.5q0 61 21.5 108.5t58.5 80.5t86.5 50t104.5 17q60 0 103.5 -21t73.5 -50l-41 -53q-30 26 -62.5 41t-70.5 15q-42 0 -77 -13.5t-59.5 -38.5t-38.5 -59.5t-14 -76.5t13.5 -76t38 -58.5t59 -38t76.5 -13.5+q45 0 82.5 17.5t67.5 43.5l37 -53q-41 -36 -90 -56t-103 -20z" />+ <glyph glyph-name="d" unicode="d"+d="M271 -12q-48 0 -86.5 17t-66.5 49.5t-43 79.5t-15 108q0 59 18.5 106.5t49 80.5t70.5 51t83 18q44 0 78.5 -16.5t66.5 -46.5h3l-4 90v187h82v-712h-68l-7 64h-3q-30 -31 -71.5 -53.5t-86.5 -22.5zM288 57q72 0 137 73v242q-33 31 -64.5 44t-63.5 13t-59.5 -13.5t-48 -38+t-32.5 -58.5t-12 -76q0 -88 37.5 -137t105.5 -49z" />+ <glyph glyph-name="e" unicode="e"+d="M330 -12q-55 0 -102.5 17t-83 50t-56 80.5t-20.5 108.5q0 59 20.5 106t55 80t79 50.5t93.5 17.5q52 0 93.5 -16.5t70 -46.5t43.5 -72t15 -93q0 -14 -1 -27t-3 -23h-383q8 -83 60.5 -124.5t128.5 -41.5q44 0 79.5 12.5t68.5 33.5l30 -54q-36 -24 -82.5 -41t-105.5 -17z+M318 433q-30 0 -57.5 -10t-49.5 -28.5t-37 -46.5t-21 -64h310q-5 75 -43.5 112t-101.5 37z" />+ <glyph glyph-name="f" unicode="f"+d="M242 0v419h-139v62l139 5v41q0 89 47.5 143t148.5 54q72 0 140 -28l-19 -62q-30 14 -55.5 18.5t-57.5 4.5q-66 0 -94.5 -33.5t-28.5 -93.5v-44h204v-67h-204v-419h-81z" />+ <glyph glyph-name="g" unicode="g"+d="M296 -224q-107 0 -165.5 35t-58.5 100q0 29 20.5 57t59.5 51v4q-20 11 -35 30t-15 50q0 23 15 47.5t43 43.5v4q-25 19 -42.5 50.5t-17.5 75.5q0 40 15.5 72t41.5 54.5t60.5 35t73.5 12.5q40 0 72 -12h201v-67h-126q17 -17 29 -43t12 -55q0 -39 -14.5 -70t-40 -52.5+t-60 -33t-73.5 -11.5q-19 0 -40.5 4.5t-41.5 13.5q-38 -24 -38 -56q0 -29 26.5 -42.5t74.5 -13.5h109q94 0 139.5 -26t45.5 -88q0 -34 -19 -65t-54 -54t-85 -37t-112 -14zM291 209q47 0 79.5 31t32.5 84q0 25 -9 46t-24 36t-35.5 23.5t-43.5 8.5t-43.5 -8.5t-35.5 -23.5+t-24 -36t-9 -46q0 -53 33 -84t79 -31zM302 -164q42 0 76 8t58 21.5t36.5 31t12.5 36.5q0 35 -27.5 47t-83.5 12h-95q-21 0 -39.5 1.5t-34.5 6.5q-35 -19 -48.5 -39.5t-13.5 -41.5q0 -38 40.5 -60.5t118.5 -22.5z" />+ <glyph glyph-name="h" unicode="h"+d="M93 0v712h82v-194l-5 -115h3q38 41 81.5 68t100.5 27q87 0 127.5 -49.5t40.5 -146.5v-302h-82v291q0 69 -26 102.5t-86 33.5q-22 0 -40.5 -5.5t-36.5 -16.5t-37 -27.5t-40 -38.5v-339h-82z" />+ <glyph glyph-name="i" unicode="i"+d="M316 0v419h-226v67h308v-486h-82zM348 588q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="j" unicode="j"+d="M194 -217q-38 0 -74 9.5t-65 23.5l27 61q26 -13 54.5 -20t56.5 -7q36 0 60 9t38 26t19.5 41.5t5.5 55.5v437h-226v67h308v-498q0 -45 -10 -82.5t-33.5 -65t-62.5 -42.5t-98 -15zM348 588q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5+z" />+ <glyph glyph-name="k" unicode="k"+d="M106 0v712h82v-482h4l262 256h94l-194 -191l220 -295h-92l-179 245l-115 -113v-132h-82z" />+ <glyph glyph-name="l" unicode="l"+d="M407 -12q-78 0 -119 44t-41 131v482h-173v67h255v-555q0 -54 26 -77.5t70 -23.5q43 0 91 22l21 -61q-34 -14 -62 -21.5t-68 -7.5z" />+ <glyph glyph-name="m" unicode="m"+d="M58 0v486h66l7 -64h2q19 34 44 55t67 21q71 0 92 -84q21 39 46.5 61.5t67.5 22.5q51 0 79.5 -38.5t28.5 -111.5v-348h-82v342q0 85 -52 85q-26 0 -42 -18.5t-36 -56.5v-352h-76v342q0 42 -11.5 63.5t-38.5 21.5q-26 0 -44 -18.5t-36 -56.5v-352h-82z" />+ <glyph glyph-name="n" unicode="n"+d="M93 0v486h68l7 -83h4q38 41 82 68t101 27q87 0 127.5 -49.5t40.5 -146.5v-302h-82v291q0 69 -26 102.5t-86 33.5q-22 0 -40.5 -5.5t-36.5 -16.5t-37 -27.5t-40 -38.5v-339h-82z" />+ <glyph glyph-name="o" unicode="o"+d="M300 -12q-48 0 -91.5 17t-76.5 49.5t-52.5 80t-19.5 107.5q0 61 19.5 108.5t52.5 80.5t76.5 50t91.5 17t91.5 -17t76.5 -50t52.5 -80.5t19.5 -108.5q0 -60 -19.5 -107.5t-52.5 -80t-76.5 -49.5t-91.5 -17zM300 56q35 0 63.5 13.5t49 38t31.5 58.5t11 76t-11 76.5+t-31.5 59.5t-49 38.5t-63.5 13.5t-63.5 -13.5t-49 -38.5t-31.5 -59.5t-11 -76.5t11 -76t31.5 -58.5t49 -38t63.5 -13.5z" />+ <glyph glyph-name="p" unicode="p"+d="M93 -205v691h68l7 -62h3q34 32 78.5 53t89.5 21q49 0 86.5 -17.5t63 -50t38.5 -78t13 -102.5q0 -62 -18 -110.5t-48.5 -82.5t-70.5 -51.5t-84 -17.5q-34 0 -73.5 16.5t-71.5 46.5h-3l4 -92v-164h-82zM305 57q66 0 108 51t42 142q0 40 -8 73t-24.5 56.5t-42.5 36.5t-62 13+q-32 0 -68.5 -17.5t-74.5 -55.5v-242q35 -31 70 -44t60 -13z" />+ <glyph glyph-name="q" unicode="q"+d="M425 -205v177l4 90h-3q-30 -31 -70.5 -52.5t-85.5 -21.5q-47 0 -86 17t-66.5 49.5t-42.5 79.5t-15 108q0 59 18.5 106.5t49 80.5t70.5 51t83 18q45 0 80 -17t70 -49h3l7 54h66v-691h-82zM288 57q72 0 137 73v242q-33 31 -64.5 44t-63.5 13t-59.5 -13.5t-48 -38+t-32.5 -58.5t-12 -76q0 -88 37.5 -137t105.5 -49z" />+ <glyph glyph-name="r" unicode="r"+d="M146 0v486h68l7 -115h3q38 59 93.5 93t123.5 34q27 0 50 -4.5t46 -15.5l-19 -71q-26 9 -43.5 13t-46.5 4q-55 0 -105.5 -31.5t-94.5 -107.5v-285h-82z" />+ <glyph glyph-name="s" unicode="s"+d="M310 -12q-72 0 -133 22.5t-106 53.5l38 54q42 -30 92.5 -48t118.5 -18q62 0 92.5 22.5t30.5 53.5q0 14 -5 26t-21.5 23t-46.5 21t-79 20q-95 20 -142.5 53.5t-47.5 88.5q0 29 13 54.5t38.5 44t63 29t87.5 10.5q56 0 108 -18.5t88 -43.5l-40 -53q-34 23 -75 37t-88 14+q-62 0 -87 -21t-25 -49q0 -32 33 -48.5t108 -32.5q61 -13 100 -27.5t61.5 -32.5t31 -40t8.5 -50q0 -30 -14 -56t-41.5 -46t-68 -31.5t-92.5 -11.5z" />+ <glyph glyph-name="t" unicode="t"+d="M394 -12q-53 0 -89 14.5t-58 41t-31.5 63.5t-9.5 82v230h-137v62l140 5l11 156h68v-156h239v-67h-239v-231q0 -33 6 -57.5t20 -41.5t38 -25.5t59 -8.5t63 6t54 16l18 -60q-33 -12 -69.5 -20.5t-82.5 -8.5z" />+ <glyph glyph-name="u" unicode="u"+d="M246 -12q-88 0 -128.5 49.5t-40.5 146.5v302h83v-291q0 -69 25.5 -102.5t86.5 -33.5q42 0 76 21.5t75 68.5v337h82v-486h-67l-7 85h-4q-37 -43 -80.5 -70t-100.5 -27z" />+ <glyph glyph-name="v" unicode="v"+d="M256 0l-205 486h83l112 -276q15 -37 28.5 -72.5t26.5 -70.5h4q13 35 25.5 70.5t27.5 72.5l112 276h79l-201 -486h-92z" />+ <glyph glyph-name="w" unicode="w"+d="M114 0l-106 486h82l58 -282q7 -35 12 -67t10 -67h4q5 35 12.5 67.5t15.5 66.5l60 252h82l58 -252q8 -35 16.5 -67t13.5 -67h4q6 35 10.5 67t11.5 67l58 282h76l-104 -486h-106l-56 232q-12 51 -24 144h-4q-12 -93 -24 -144l-54 -232h-106z" />+ <glyph glyph-name="x" unicode="x"+d="M64 0l185 252l-171 234h91l77 -107q13 -20 27.5 -41t29.5 -41h4q14 20 28 42t27 42l73 105h87l-173 -241l186 -245h-90l-85 112q-15 21 -31.5 44t-32.5 44h-4q-15 -22 -30 -43.5t-30 -44.5l-80 -112h-88z" />+ <glyph glyph-name="y" unicode="y"+d="M131 -209q-36 0 -64 10l17 65q10 -3 21.5 -5t22.5 -2q51 0 83 29.5t50 74.5l15 36l-227 487h83l119 -269q14 -32 29.5 -69t30.5 -72h4q13 35 26.5 71.5t25.5 69.5l106 269h78l-214 -526q-14 -36 -32 -67t-43 -53.5t-57.5 -35.5t-73.5 -13z" />+ <glyph glyph-name="z" unicode="z"+d="M71 0v44l333 375h-296v67h414v-44l-334 -375h343v-67h-460z" />+ <glyph glyph-name="braceleft" unicode="{"+d="M441 -152q-47 0 -82 6.5t-58 21.5t-34 40.5t-11 64.5q0 27 1.5 51.5t3 47.5l3 46t1.5 48q0 15 -6 28.5t-22 24.5t-44.5 18t-72.5 7v52q44 0 72.5 7t44.5 18t22 24.5t6 28.5q0 48 -4.5 94.5t-4.5 98.5q0 39 11 64.5t34 40.5t58 21.5t82 6.5h61v-47h-52q-38 0 -62.5 -5+t-38 -16t-18.5 -28.5t-5 -41.5q0 -43 3 -88.5t3 -92.5q0 -49 -19.5 -74.5t-71.5 -34.5v-4q52 -9 71.5 -34.5t19.5 -74.5q0 -51 -3 -93t-3 -88q0 -24 5 -41.5t18.5 -28.5t38 -16t62.5 -5h52v-47h-61z" />+ <glyph glyph-name="bar" unicode="|"+d="M263 -250v1000h74v-1000h-74z" />+ <glyph glyph-name="braceright" unicode="}"+d="M99 -152v47h51q38 0 62.5 5t38.5 16t19 28.5t5 41.5q0 46 -3 88t-3 93q0 49 19 74.5t71 34.5v4q-52 9 -71 34.5t-19 74.5q0 47 3 92.5t3 88.5q0 24 -5 41.5t-19 28.5t-38.5 16t-62.5 5h-51v47h61q47 0 81.5 -6.5t57.5 -21.5t34 -40.5t11 -64.5q0 -52 -4.5 -98.5+t-4.5 -94.5q0 -15 6 -28.5t22 -24.5t44.5 -18t72.5 -7v-52q-44 0 -72.5 -7t-44.5 -18t-22 -24.5t-6 -28.5q0 -25 1.5 -48l3 -46t3 -47.5t1.5 -51.5q0 -39 -11 -64.5t-34 -40.5t-57.5 -21.5t-81.5 -6.5h-61z" />+ <glyph glyph-name="asciitilde" unicode="~"+d="M388 257q-30 0 -53.5 13t-44 29t-40 29t-40.5 13q-23 0 -43.5 -17t-37.5 -69l-53 23q26 70 62 97.5t74 27.5q30 0 53.5 -13t44 -29t40 -29t40.5 -13q12 0 22.5 3.5t21 13t19.5 26.5t18 43l53 -24q-26 -70 -62 -97t-74 -27z" />+ <glyph glyph-name="uni00A0" unicode=" "+ />+ <glyph glyph-name="exclamdown" unicode="¡"+d="M260 -184l2 94l10 344h56l10 -344l2 -94h-80zM300 344q-30 0 -51.5 20.5t-21.5 56.5q0 35 21.5 56t51.5 21t51.5 -21t21.5 -56q0 -36 -21.5 -56.5t-51.5 -20.5z" />+ <glyph glyph-name="cent" unicode="¢"+d="M194 310q0 -67 31.5 -111t88.5 -57v335q-56 -13 -88 -57t-32 -110zM314 -33v104q-45 5 -82 23t-63.5 48.5t-41 72.5t-14.5 95q0 52 15.5 93.5t42.5 71.5t64 48t79 24v106h51v-103q44 -2 76 -19t55 -39l-40 -52q-20 18 -42.5 29t-48.5 13v-344q32 2 58 15.5t47 31.5+l36 -52q-30 -26 -66 -43t-75 -20v-103h-51z" />+ <glyph glyph-name="sterling" unicode="£"+d="M78 0v50q63 28 93.5 75.5t30.5 104.5q0 26 -8 55h-117v52l99 4q-11 32 -21.5 62.5t-10.5 62.5q0 42 15 76t42.5 58t66 37t86.5 13q62 0 104.5 -21.5t71.5 -53.5l-48 -47q-23 23 -52.5 38t-71.5 15q-66 0 -100.5 -32.5t-34.5 -84.5q0 -32 9.5 -61.5t20.5 -61.5h189v-56+h-173q6 -27 6 -56q0 -53 -18 -88t-54 -66v-4h328v-71h-453z" />+ <glyph glyph-name="currency" unicode="¤"+d="M102 83l-44 45l84 85q-17 23 -26.5 52t-9.5 64t9 64.5t26 52.5l-83 86l44 45l87 -90q48 37 111 37q62 0 111 -37l87 90l44 -45l-84 -86q17 -23 26.5 -52.5t9.5 -64.5t-9.5 -64t-26.5 -52l84 -85l-44 -45l-88 89q-23 -19 -51.5 -28.5t-58.5 -9.5q-62 0 -111 38zM300 195+q24 0 45.5 9.5t37.5 27.5t25.5 42.5t9.5 54.5t-9.5 54.5t-25.5 42.5t-37.5 27.5t-45.5 9.5t-45.5 -9.5t-37.5 -27.5t-25.5 -42.5t-9.5 -54.5t9.5 -54.5t25.5 -42.5t37.5 -27.5t45.5 -9.5z" />+ <glyph glyph-name="yen" unicode="¥"+d="M258 0v158h-181v48h181v65h-181v47h161l-185 320h85l92 -171q17 -33 33.5 -66.5t35.5 -68.5h4q18 35 35 68.5t35 66.5l92 171h82l-186 -320h162v-47h-183v-65h183v-48h-183v-158h-82z" />+ <glyph glyph-name="brokenbar" unicode="¦"+d="M263 -250v440h74v-440h-74zM263 310v440h74v-440h-74z" />+ <glyph glyph-name="section" unicode="§"+d="M287 -64q-55 0 -101 19t-78 52l50 45q26 -24 56.5 -38t72.5 -14q41 0 63.5 20t22.5 49q0 28 -21 47t-52 34t-68 29.5t-68 35.5t-52 51.5t-21 76.5q0 45 25.5 77t65.5 53q-14 16 -22.5 35.5t-8.5 45.5t9.5 49.5t28.5 41.5t47 28.5t66 10.5q50 0 90.5 -17t70.5 -40l-40 -53+q-26 20 -54 33t-63 13q-42 0 -61 -18.5t-19 -44.5q0 -27 21 -45t52.5 -33t68 -30t68 -36.5t52.5 -52t21 -76.5q0 -48 -24.5 -78t-66.5 -52q14 -16 22 -35.5t8 -45.5q0 -30 -12 -55t-33 -43t-50.5 -28.5t-65.5 -10.5zM162 348q0 -33 20.5 -54.5t52 -38t68 -30.5t68.5 -33+q32 14 49.5 33t17.5 53t-20.5 56t-51.5 38.5t-67.5 31t-68.5 32.5q-31 -16 -49.5 -36.5t-18.5 -51.5z" />+ <glyph glyph-name="dieresis" unicode="¨"+d="M203 588q-24 0 -39.5 16t-15.5 40q0 23 15.5 39.5t39.5 16.5t39.5 -16.5t15.5 -39.5q0 -24 -15.5 -40t-39.5 -16zM397 588q-24 0 -39.5 16t-15.5 40q0 23 15.5 39.5t39.5 16.5t39.5 -16.5t15.5 -39.5q0 -24 -15.5 -40t-39.5 -16z" />+ <glyph glyph-name="copyright" unicode="©"+d="M300 -11q-57 0 -106.5 23.5t-86 67t-57 105t-20.5 138.5q0 76 20.5 137.5t57 104t86 65.5t106.5 23t106.5 -23t86 -65.5t57 -104t20.5 -137.5q0 -77 -20.5 -138.5t-57 -105t-86 -67t-106.5 -23.5zM300 31q50 0 91.5 21t71 59.5t45.5 92t16 119.5t-16 119t-45.5 91+t-71 58.5t-91.5 20.5t-91.5 -20.5t-71 -58.5t-45.5 -91t-16 -119t16 -119.5t45.5 -92t71 -59.5t91.5 -21zM308 125q-34 0 -63.5 13.5t-51.5 39t-34.5 62t-12.5 83.5q0 43 13.5 78t36.5 60t52.5 38t62.5 13q35 0 59.5 -13.5t44.5 -33.5l-34 -39q-16 14 -31.5 22.5t-35.5 8.5+q-46 0 -74 -37.5t-28 -96.5q0 -66 26.5 -104.5t71.5 -38.5q26 0 45 10t36 24l30 -42q-23 -20 -49 -33.5t-64 -13.5z" />+ <glyph glyph-name="ordfeminine" unicode="ª"+d="M269 387q-45 0 -75.5 24.5t-30.5 67.5q0 53 53 81.5t166 37.5q-2 31 -18 53t-57 22q-29 0 -56 -10t-50 -24l-25 43q26 16 63.5 29t78.5 13q65 0 96.5 -35.5t31.5 -98.5v-195h-53l-4 38h-2q-25 -20 -55 -33t-63 -13zM285 436q26 0 49.5 10.5t47.5 29.5v83+q-86 -8 -121.5 -26.5t-35.5 -47.5q0 -26 18 -37.5t42 -11.5z" />+ <glyph glyph-name="guillemotleft" unicode="«"+d="M236 52l-153 160v80l153 160l39 -35l-127 -165l127 -166zM465 52l-153 160v80l153 160l39 -35l-127 -165l127 -166z" />+ <glyph glyph-name="logicalnot" unicode="¬"+d="M449 104v195h-364v62h430v-257h-66z" />+ <glyph glyph-name="uni00AD" unicode="­"+d="M85 299v62h430v-62h-430z" />+ <glyph glyph-name="registered" unicode="®"+d="M300 319q-39 0 -73.5 14.5t-60 40.5t-40 62t-14.5 80t14.5 80t40 62t60 40.5t73.5 14.5t73 -14.5t59.5 -40.5t40.5 -62t15 -80t-15 -80t-40.5 -62t-59.5 -40.5t-73 -14.5zM300 356q31 0 58.5 11.5t47 32.5t31 50.5t11.5 65.5q0 35 -11.5 64.5t-31 51t-47 33.5t-58.5 12+q-32 0 -59 -12t-47 -33.5t-31.5 -51t-11.5 -64.5q0 -36 11.5 -65.5t31.5 -50.5t47 -32.5t59 -11.5zM227 417v203h76q32 0 55.5 -14.5t23.5 -50.5q0 -18 -10.5 -33.5t-27.5 -21.5l46 -83h-46l-35 70h-41v-70h-41zM268 519h26q20 0 32 8.5t12 25.5q0 15 -9.5 24t-32.5 9h-28+v-67z" />+ <glyph glyph-name="macron" unicode="¯"+d="M167 601v57h266v-57h-266z" />+ <glyph glyph-name="degree" unicode="°"+d="M300 429q-25 0 -47.5 9t-40 25.5t-27.5 40t-10 52.5q0 30 10 53.5t27.5 40.5t40 26t47.5 9t48 -9t40 -26t27.5 -40.5t10.5 -53.5q0 -29 -10.5 -52.5t-27.5 -40t-40 -25.5t-48 -9zM300 475q34 0 55 23t21 58q0 37 -21 60t-55 23q-33 0 -54 -23t-21 -60q0 -35 21 -58+t54 -23z" />+ <glyph glyph-name="plusminus" unicode="±"+d="M267 127v177h-182v62h182v190h66v-190h182v-62h-182v-177h-66zM85 0v62h430v-62h-430z" />+ <glyph glyph-name="two.sups" unicode="²"+d="M162 395l-4 37q50 43 88.5 75.5t64.5 59.5t39 49.5t13 44.5q0 38 -23 60t-62 22q-28 0 -52.5 -16t-41.5 -41l-38 35q23 35 60.5 55.5t80.5 20.5q63 0 101.5 -32t38.5 -95q0 -28 -12.5 -53.5t-34.5 -51.5t-52 -54t-66 -62h184v-54h-284z" />+ <glyph glyph-name="three.sups" unicode="³"+d="M297 383q-51 0 -91.5 21t-63.5 55l42 33q19 -29 47.5 -43.5t61.5 -14.5q36 0 62 18t26 51q0 70 -131 70v40q60 0 88 20.5t28 50.5q0 28 -21.5 45t-58.5 17q-25 0 -49 -13t-41 -35l-38 34q26 31 59.5 48t77.5 17q27 0 51.5 -7.5t43 -21t29.5 -33t11 -43.5q0 -35 -19.5 -58+t-59.5 -38q43 -8 68.5 -33t25.5 -63q0 -27 -11.5 -48.5t-32 -37t-47.5 -23.5t-57 -8z" />+ <glyph glyph-name="acute" unicode="´"+d="M279 568l-43 41l142 168l58 -56z" />+ <glyph glyph-name="uni00B5" unicode="µ"+d="M84 -187v673h82v-291q0 -67 24.5 -101.5t78.5 -34.5q19 0 37 4t36.5 15t37 32t37.5 54v322h83q-2 -99 -4 -202.5t-2 -191.5q0 -20 8 -28t20 -8h7.5t10.5 2l11 -62q-18 -8 -47 -8q-38 0 -57.5 22.5t-22.5 81.5h-2q-30 -52 -69.5 -77t-84.5 -25q-33 0 -60.5 10.5+t-47.5 42.5q0 -38 0.5 -67.5t1 -55.5t2 -51.5t3.5 -55.5h-83z" />+ <glyph glyph-name="paragraph" unicode="¶"+d="M318 226q-53 0 -98 12.5t-78 39t-51.5 67.5t-18.5 98q0 59 18 99.5t49.5 66t74.5 36.5t93 11h43v-430h-32zM404 -80v736h81v-736h-81z" />+ <glyph glyph-name="periodcentered" unicode="·"+d="M300 263q-34 0 -57.5 23t-23.5 61t23.5 61.5t57.5 23.5t57.5 -23.5t23.5 -61.5t-23.5 -61t-57.5 -23z" />+ <glyph glyph-name="cedilla" unicode="¸"+d="M213 -226l-8 40q63 5 86 16.5t23 33.5q0 20 -17 31t-60 17l40 96h54l-26 -72q35 -8 54 -24t19 -47q0 -44 -42.5 -65.5t-122.5 -25.5z" />+ <glyph glyph-name="one.sups" unicode="¹"+d="M175 395v54h123v254h-105v41q41 6 67.5 15t49.5 26h52v-336h114v-54h-301z" />+ <glyph glyph-name="ordmasculine" unicode="º"+d="M300 387q-32 0 -60.5 11.5t-50 33t-34.5 52.5t-13 71t13 71.5t34.5 53.5t50 33t60.5 11t60.5 -11t50.5 -33t34.5 -53.5t12.5 -71.5t-12.5 -71t-34.5 -52.5t-50.5 -33t-60.5 -11.5zM300 439q43 0 67.5 32t24.5 84q0 53 -24.5 85t-67.5 32t-67.5 -32t-24.5 -85+q0 -52 24.5 -84t67.5 -32z" />+ <glyph glyph-name="guillemotright" unicode="»"+d="M136 52l-39 34l127 166l-127 165l39 35l153 -160v-80zM365 52l-39 34l127 166l-127 165l39 35l153 -160v-80z" />+ <glyph glyph-name="onequarter" unicode="¼"+d="M150 333v230h-82v42q33 5 53.5 13t41.5 20h50v-305h-63zM77 32l-49 45l183 188l33 -30zM389 391l-33 30l167 203l49 -45zM468 0v74h-162v31l113 212l46 -20l-97 -181h100v97h57v-97h50v-42h-50v-74h-57z" />+ <glyph glyph-name="onehalf" unicode="½"+d="M150 333v230h-82v42q33 5 53.5 13t41.5 20h50v-305h-63zM77 32l-49 45l183 188l33 -30zM389 391l-33 30l167 203l49 -45zM324 0v36q78 59 119.5 98t41.5 72q0 27 -15.5 43t-44.5 16q-20 0 -39 -11.5t-33 -30.5l-39 33q23 26 52.5 43.5t65.5 17.5q54 0 85 -26.5t31 -76.5+q0 -20 -9.5 -39.5t-26 -39t-38.5 -40t-47 -42.5h136v-53h-239z" />+ <glyph glyph-name="threequarters" unicode="¾"+d="M159 321q-35 0 -68.5 14t-58.5 40l32 39q15 -18 39.5 -30.5t51.5 -12.5t44.5 11t17.5 36q0 51 -96 51v38q42 0 61.5 14t19.5 37q0 20 -13 31.5t-42 11.5q-18 0 -38 -9.5t-35 -24.5l-30 38q19 20 49.5 32.5t65.5 12.5q47 0 76.5 -22t29.5 -62q0 -55 -56 -75+q32 -8 51.5 -27t19.5 -50q0 -45 -35 -69t-86 -24zM102 32l-49 45l183 188l33 -30zM414 391l-33 30l167 203l49 -45zM468 0v74h-162v31l113 212l46 -20l-97 -181h100v97h57v-97h50v-42h-50v-74h-57z" />+ <glyph glyph-name="questiondown" unicode="¿"+d="M307 -196q-42 0 -76 11t-58.5 31.5t-38 49t-13.5 64.5q0 34 13.5 60t33 48t42 41.5t41 41t28.5 46t6 57.5h73q6 -36 -3 -64t-26.5 -51t-39.5 -43t-41.5 -39.5t-32.5 -41t-13 -46.5q0 -42 27.5 -69t82.5 -27q38 0 70.5 15t59.5 42l49 -45q-34 -35 -80 -58t-104 -23z+M314 344q-30 0 -51.5 20.5t-21.5 56.5q0 35 21.5 56t51.5 21t51.5 -21t21.5 -56q0 -36 -21.5 -56.5t-51.5 -20.5z" />+ <glyph glyph-name="Agrave" unicode="À"+d="M232 367l-31 -100h196l-31 100q-17 55 -33.5 109.5t-31.5 111.5h-4q-16 -57 -32 -111.5t-33 -109.5zM32 0l221 656h94l221 -656h-88l-62 200h-238l-63 -200h-85zM329 697l-152 115l47 55l141 -128z" />+ <glyph glyph-name="Aacute" unicode="Á"+d="M232 367l-31 -100h196l-31 100q-17 55 -33.5 109.5t-31.5 111.5h-4q-16 -57 -32 -111.5t-33 -109.5zM32 0l221 656h94l221 -656h-88l-62 200h-238l-63 -200h-85zM271 697l-36 42l141 128l47 -55z" />+ <glyph glyph-name="Acircumflex" unicode="Â"+d="M232 367l-31 -100h196l-31 100q-17 55 -33.5 109.5t-31.5 111.5h-4q-16 -57 -32 -111.5t-33 -109.5zM32 0l221 656h94l221 -656h-88l-62 200h-238l-63 -200h-85zM188 699l-36 26l105 113h86l105 -113l-36 -26l-110 93h-4z" />+ <glyph glyph-name="Atilde" unicode="Ã"+d="M232 367l-31 -100h196l-31 100q-17 55 -33.5 109.5t-31.5 111.5h-4q-16 -57 -32 -111.5t-33 -109.5zM32 0l221 656h94l221 -656h-88l-62 200h-238l-63 -200h-85zM375 709q-28 0 -48 11t-36.5 24.5t-31 24.5t-32.5 11q-19 0 -32 -17t-16 -49l-56 4q3 57 30 90t72 33+q28 0 48 -11t36.5 -24.5t31 -24.5t32.5 -11q40 0 48 66l56 -4q-3 -58 -30 -90.5t-72 -32.5z" />+ <glyph glyph-name="Adieresis" unicode="Ä"+d="M232 367l-31 -100h196l-31 100q-17 55 -33.5 109.5t-31.5 111.5h-4q-16 -57 -32 -111.5t-33 -109.5zM32 0l221 656h94l221 -656h-88l-62 200h-238l-63 -200h-85zM209 715q-22 0 -36.5 14t-14.5 37t14.5 36.5t36.5 13.5t36 -13.5t14 -36.5t-14 -37t-36 -14zM391 715+q-22 0 -36 14t-14 37t14 36.5t36 13.5t36.5 -13.5t14.5 -36.5t-14.5 -37t-36.5 -14z" />+ <glyph glyph-name="Aring" unicode="Å"+d="M232 367l-31 -100h196l-31 100q-17 55 -33.5 109.5t-31.5 111.5h-4q-16 -57 -32 -111.5t-33 -109.5zM32 0l221 656h94l221 -656h-88l-62 200h-238l-63 -200h-85zM300 699q-42 0 -69.5 24.5t-27.5 65.5q0 42 27.5 66.5t69.5 24.5t69.5 -24.5t27.5 -66.5q0 -41 -27.5 -65.5+t-69.5 -24.5zM300 735q20 0 35.5 14t15.5 40t-15.5 40t-35.5 14q-22 0 -37 -14t-15 -40t15 -40t37 -14z" />+ <glyph glyph-name="AE" unicode="Æ"+d="M231 377l-46 -119h132v332h-3q-20 -54 -41.5 -106.5t-41.5 -106.5zM-1 0l264 656h319v-70h-189v-205h147v-71h-147v-239h198v-71h-274v191h-158l-73 -191h-87z" />+ <glyph glyph-name="Ccedilla" unicode="Ç"+d="M351 -12q-61 0 -113 23t-90.5 66.5t-60.5 107t-22 143.5q0 79 22 142t61 107t93 67.5t118 23.5q59 0 104.5 -24t74.5 -56l-47 -53q-26 27 -58 43.5t-74 16.5q-47 0 -85.5 -18.5t-65.5 -53t-42 -83.5t-15 -110q0 -62 15 -111.5t42 -84.5t65.5 -54t85.5 -19q45 0 80.5 19+t67.5 54l47 -51q-39 -45 -88 -70t-115 -25zM263 -226l-8 40q63 5 86 16.5t23 33.5q0 20 -17 31t-60 17l40 96h54l-26 -72q35 -8 54 -24t19 -47q0 -44 -42.5 -65.5t-122.5 -25.5z" />+ <glyph glyph-name="Egrave" unicode="È"+d="M114 0v656h406v-70h-322v-206h272v-71h-272v-238h332v-71h-416zM360 697l-152 115l47 55l141 -128z" />+ <glyph glyph-name="Eacute" unicode="É"+d="M114 0v656h406v-70h-322v-206h272v-71h-272v-238h332v-71h-416zM302 697l-36 42l141 128l47 -55z" />+ <glyph glyph-name="Ecircumflex" unicode="Ê"+d="M114 0v656h406v-70h-322v-206h272v-71h-272v-238h332v-71h-416zM219 699l-36 26l105 113h86l105 -113l-36 -26l-110 93h-4z" />+ <glyph glyph-name="Edieresis" unicode="Ë"+d="M114 0v656h406v-70h-322v-206h272v-71h-272v-238h332v-71h-416zM240 715q-22 0 -36.5 14t-14.5 37t14.5 36.5t36.5 13.5t36 -13.5t14 -36.5t-14 -37t-36 -14zM422 715q-22 0 -36 14t-14 37t14 36.5t36 13.5t36.5 -13.5t14.5 -36.5t-14.5 -37t-36.5 -14z" />+ <glyph glyph-name="Igrave" unicode="Ì"+d="M95 0v71h163v515h-163v70h410v-70h-163v-515h163v-71h-410zM329 697l-152 115l47 55l141 -128z" />+ <glyph glyph-name="Iacute" unicode="Í"+d="M95 0v71h163v515h-163v70h410v-70h-163v-515h163v-71h-410zM271 697l-36 42l141 128l47 -55z" />+ <glyph glyph-name="Icircumflex" unicode="Î"+d="M95 0v71h163v515h-163v70h410v-70h-163v-515h163v-71h-410zM188 699l-36 26l105 113h86l105 -113l-36 -26l-110 93h-4z" />+ <glyph glyph-name="Idieresis" unicode="Ï"+d="M95 0v71h163v515h-163v70h410v-70h-163v-515h163v-71h-410zM209 715q-22 0 -36.5 14t-14.5 37t14.5 36.5t36.5 13.5t36 -13.5t14 -36.5t-14 -37t-36 -14zM391 715q-22 0 -36 14t-14 37t14 36.5t36 13.5t36.5 -13.5t14.5 -36.5t-14.5 -37t-36.5 -14z" />+ <glyph glyph-name="Eth" unicode="Ð"+d="M87 0v314h-75v56l75 6v280h162q149 0 226.5 -84t77.5 -241t-77.5 -244t-222.5 -87h-166zM170 68h73q112 0 167.5 69t55.5 194t-55.5 191t-167.5 66h-73v-212h144v-62h-144v-246z" />+ <glyph glyph-name="Ntilde" unicode="Ñ"+d="M82 0v656h92l210 -412l63 -136h2q-2 49 -6.5 102.5t-4.5 105.5v340h80v-656h-92l-210 412l-63 136h-2q2 -51 6.5 -102.5t4.5 -102.5v-343h-80zM385 709q-28 0 -48 11t-36.5 24.5t-31 24.5t-32.5 11q-19 0 -32 -17t-16 -49l-56 4q3 57 30 90t72 33q28 0 48 -11t36.5 -24.5+t31 -24.5t32.5 -11q40 0 48 66l56 -4q-3 -58 -30 -90.5t-72 -32.5z" />+ <glyph glyph-name="Ograve" unicode="Ò"+d="M300 -12q-56 0 -102 23.5t-79.5 67.5t-52 107.5t-18.5 144.5q0 79 18.5 142t52 106t79.5 66t102 23q55 0 101.5 -23t80 -66t52 -106t18.5 -142q0 -81 -18.5 -144.5t-52 -107.5t-80 -67.5t-101.5 -23.5zM300 61q37 0 68 18.5t52.5 53.5t33.5 85t12 113q0 62 -12 111+t-33.5 83t-52.5 52t-68 18q-38 0 -68.5 -18t-52 -52t-33.5 -83t-12 -111q0 -63 12 -113t33.5 -85t52 -53.5t68.5 -18.5zM329 697l-152 115l47 55l141 -128z" />+ <glyph glyph-name="Oacute" unicode="Ó"+d="M300 -12q-56 0 -102 23.5t-79.5 67.5t-52 107.5t-18.5 144.5q0 79 18.5 142t52 106t79.5 66t102 23q55 0 101.5 -23t80 -66t52 -106t18.5 -142q0 -81 -18.5 -144.5t-52 -107.5t-80 -67.5t-101.5 -23.5zM300 61q37 0 68 18.5t52.5 53.5t33.5 85t12 113q0 62 -12 111+t-33.5 83t-52.5 52t-68 18q-38 0 -68.5 -18t-52 -52t-33.5 -83t-12 -111q0 -63 12 -113t33.5 -85t52 -53.5t68.5 -18.5zM271 697l-36 42l141 128l47 -55z" />+ <glyph glyph-name="Ocircumflex" unicode="Ô"+d="M300 -12q-56 0 -102 23.5t-79.5 67.5t-52 107.5t-18.5 144.5q0 79 18.5 142t52 106t79.5 66t102 23q55 0 101.5 -23t80 -66t52 -106t18.5 -142q0 -81 -18.5 -144.5t-52 -107.5t-80 -67.5t-101.5 -23.5zM300 61q37 0 68 18.5t52.5 53.5t33.5 85t12 113q0 62 -12 111+t-33.5 83t-52.5 52t-68 18q-38 0 -68.5 -18t-52 -52t-33.5 -83t-12 -111q0 -63 12 -113t33.5 -85t52 -53.5t68.5 -18.5zM188 699l-36 26l105 113h86l105 -113l-36 -26l-110 93h-4z" />+ <glyph glyph-name="Otilde" unicode="Õ"+d="M300 -12q-56 0 -102 23.5t-79.5 67.5t-52 107.5t-18.5 144.5q0 79 18.5 142t52 106t79.5 66t102 23q55 0 101.5 -23t80 -66t52 -106t18.5 -142q0 -81 -18.5 -144.5t-52 -107.5t-80 -67.5t-101.5 -23.5zM300 61q37 0 68 18.5t52.5 53.5t33.5 85t12 113q0 62 -12 111+t-33.5 83t-52.5 52t-68 18q-38 0 -68.5 -18t-52 -52t-33.5 -83t-12 -111q0 -63 12 -113t33.5 -85t52 -53.5t68.5 -18.5zM375 709q-28 0 -48 11t-36.5 24.5t-31 24.5t-32.5 11q-19 0 -32 -17t-16 -49l-56 4q3 57 30 90t72 33q28 0 48 -11t36.5 -24.5t31 -24.5t32.5 -11+q40 0 48 66l56 -4q-3 -58 -30 -90.5t-72 -32.5z" />+ <glyph glyph-name="Odieresis" unicode="Ö"+d="M300 -12q-56 0 -102 23.5t-79.5 67.5t-52 107.5t-18.5 144.5q0 79 18.5 142t52 106t79.5 66t102 23q55 0 101.5 -23t80 -66t52 -106t18.5 -142q0 -81 -18.5 -144.5t-52 -107.5t-80 -67.5t-101.5 -23.5zM300 61q37 0 68 18.5t52.5 53.5t33.5 85t12 113q0 62 -12 111+t-33.5 83t-52.5 52t-68 18q-38 0 -68.5 -18t-52 -52t-33.5 -83t-12 -111q0 -63 12 -113t33.5 -85t52 -53.5t68.5 -18.5zM209 715q-22 0 -36.5 14t-14.5 37t14.5 36.5t36.5 13.5t36 -13.5t14 -36.5t-14 -37t-36 -14zM391 715q-22 0 -36 14t-14 37t14 36.5t36 13.5t36.5 -13.5+t14.5 -36.5t-14.5 -37t-36.5 -14z" />+ <glyph glyph-name="multiply" unicode="×"+d="M146 126l-44 45l154 159l-154 158l44 45l154 -159l154 159l44 -45l-154 -158l154 -159l-44 -45l-154 160z" />+ <glyph glyph-name="Oslash" unicode="Ø"+d="M300 -12q-89 0 -154 60l-54 -80l-56 36l67 98q-26 43 -40.5 100.5t-14.5 128.5q0 79 18.5 142t52 106t79.5 66t102 23q87 0 152 -57l52 77l56 -36l-64 -94q27 -42 41.5 -99t14.5 -128q0 -81 -18.5 -144.5t-52 -107.5t-80 -67.5t-101.5 -23.5zM134 331q0 -87 23 -150+l249 364q-44 50 -106 50q-38 0 -68.5 -18t-52 -52t-33.5 -83t-12 -111zM300 61q37 0 68 18.5t52.5 53.5t33.5 85t12 113q0 89 -24 149l-250 -365q43 -54 108 -54z" />+ <glyph glyph-name="Ugrave" unicode="Ù"+d="M301 -12q-48 0 -89 14t-70.5 45.5t-46 80.5t-16.5 120v408h84v-410q0 -51 10.5 -86.5t29 -57t43.5 -31.5t55 -10t55 10t44 31.5t29.5 57t10.5 86.5v410h81v-408q0 -71 -16.5 -120t-45.5 -80.5t-69.5 -45.5t-88.5 -14zM329 697l-152 115l47 55l141 -128z" />+ <glyph glyph-name="Uacute" unicode="Ú"+d="M301 -12q-48 0 -89 14t-70.5 45.5t-46 80.5t-16.5 120v408h84v-410q0 -51 10.5 -86.5t29 -57t43.5 -31.5t55 -10t55 10t44 31.5t29.5 57t10.5 86.5v410h81v-408q0 -71 -16.5 -120t-45.5 -80.5t-69.5 -45.5t-88.5 -14zM271 697l-36 42l141 128l47 -55z" />+ <glyph glyph-name="Ucircumflex" unicode="Û"+d="M301 -12q-48 0 -89 14t-70.5 45.5t-46 80.5t-16.5 120v408h84v-410q0 -51 10.5 -86.5t29 -57t43.5 -31.5t55 -10t55 10t44 31.5t29.5 57t10.5 86.5v410h81v-408q0 -71 -16.5 -120t-45.5 -80.5t-69.5 -45.5t-88.5 -14zM188 699l-36 26l105 113h86l105 -113l-36 -26+l-110 93h-4z" />+ <glyph glyph-name="Udieresis" unicode="Ü"+d="M301 -12q-48 0 -89 14t-70.5 45.5t-46 80.5t-16.5 120v408h84v-410q0 -51 10.5 -86.5t29 -57t43.5 -31.5t55 -10t55 10t44 31.5t29.5 57t10.5 86.5v410h81v-408q0 -71 -16.5 -120t-45.5 -80.5t-69.5 -45.5t-88.5 -14zM209 715q-22 0 -36.5 14t-14.5 37t14.5 36.5+t36.5 13.5t36 -13.5t14 -36.5t-14 -37t-36 -14zM391 715q-22 0 -36 14t-14 37t14 36.5t36 13.5t36.5 -13.5t14.5 -36.5t-14.5 -37t-36.5 -14z" />+ <glyph glyph-name="Yacute" unicode="Ý"+d="M258 0v234l-220 422h88l99 -195q19 -38 37 -75.5t38 -77.5h4l39 78l38 76l95 194h86l-220 -422v-234h-84zM271 697l-36 42l141 128l47 -55z" />+ <glyph glyph-name="Thorn" unicode="Þ"+d="M101 0v656h84v-110h118q54 0 99 -10t76.5 -33t49 -59.5t17.5 -90.5q0 -52 -17.5 -90.5t-49.5 -63.5t-76.5 -37t-98.5 -12h-118v-150h-84zM185 218h107q87 0 128.5 32t41.5 103t-42.5 98t-127.5 27h-107v-260z" />+ <glyph glyph-name="germandbls" unicode="ß"+d="M401 -12q-42 0 -77 12t-67 33l33 58q28 -20 54 -29.5t55 -9.5q42 0 64.5 23.5t22.5 54.5q0 29 -15 48t-37.5 33.5t-48.5 27t-48.5 29t-37.5 39t-15 57.5q0 34 14 58.5t31 47t31 46t14 55.5q0 37 -22 61.5t-64 24.5q-55 0 -86.5 -37.5t-31.5 -112.5v-507h-82v519+q0 46 14 84t40 65t63 41.5t84 14.5q40 0 70.5 -12t51.5 -32.5t31.5 -47t10.5 -56.5q0 -38 -14 -64.5t-31 -48.5t-31 -42.5t-14 -46.5q0 -24 15 -40t37 -29.5t48.5 -26.5t48.5 -31t37 -44.5t15 -65.5q0 -32 -11.5 -59t-33 -47t-51.5 -31.5t-67 -11.5z" />+ <glyph glyph-name="agrave" unicode="à"+d="M246 -12q-34 0 -64 9.5t-52.5 27t-35.5 43t-13 58.5q0 41 19.5 71.5t62 52.5t109.5 36t161 22q-1 25 -8 47t-22 38.5t-39.5 26.5t-59.5 10q-48 0 -92 -18.5t-78 -39.5l-32 56q18 12 42.5 24.5t52 22.5t58.5 16.5t63 6.5q100 0 148.5 -54.5t48.5 -145.5v-298h-67l-7 66h-3+q-41 -32 -90.5 -55t-101.5 -23zM268 54q42 0 82.5 18.5t82.5 53.5v128q-78 -6 -130.5 -17t-84 -26.5t-44.5 -35t-13 -43.5q0 -21 9 -35.5t23.5 -24t34 -14t40.5 -4.5zM341 568l-157 153l58 56l142 -168z" />+ <glyph glyph-name="aacute" unicode="á"+d="M246 -12q-34 0 -64 9.5t-52.5 27t-35.5 43t-13 58.5q0 41 19.5 71.5t62 52.5t109.5 36t161 22q-1 25 -8 47t-22 38.5t-39.5 26.5t-59.5 10q-48 0 -92 -18.5t-78 -39.5l-32 56q18 12 42.5 24.5t52 22.5t58.5 16.5t63 6.5q100 0 148.5 -54.5t48.5 -145.5v-298h-67l-7 66h-3+q-41 -32 -90.5 -55t-101.5 -23zM268 54q42 0 82.5 18.5t82.5 53.5v128q-78 -6 -130.5 -17t-84 -26.5t-44.5 -35t-13 -43.5q0 -21 9 -35.5t23.5 -24t34 -14t40.5 -4.5zM299 568l-43 41l142 168l58 -56z" />+ <glyph glyph-name="acircumflex" unicode="â"+d="M246 -12q-34 0 -64 9.5t-52.5 27t-35.5 43t-13 58.5q0 41 19.5 71.5t62 52.5t109.5 36t161 22q-1 25 -8 47t-22 38.5t-39.5 26.5t-59.5 10q-48 0 -92 -18.5t-78 -39.5l-32 56q18 12 42.5 24.5t52 22.5t58.5 16.5t63 6.5q100 0 148.5 -54.5t48.5 -145.5v-298h-67l-7 66h-3+q-41 -32 -90.5 -55t-101.5 -23zM268 54q42 0 82.5 18.5t82.5 53.5v128q-78 -6 -130.5 -17t-84 -26.5t-44.5 -35t-13 -43.5q0 -21 9 -35.5t23.5 -24t34 -14t40.5 -4.5zM200 568l-35 32l114 140h82l114 -140l-35 -32l-118 113h-4z" />+ <glyph glyph-name="atilde" unicode="ã"+d="M246 -12q-34 0 -64 9.5t-52.5 27t-35.5 43t-13 58.5q0 41 19.5 71.5t62 52.5t109.5 36t161 22q-1 25 -8 47t-22 38.5t-39.5 26.5t-59.5 10q-48 0 -92 -18.5t-78 -39.5l-32 56q18 12 42.5 24.5t52 22.5t58.5 16.5t63 6.5q100 0 148.5 -54.5t48.5 -145.5v-298h-67l-7 66h-3+q-41 -32 -90.5 -55t-101.5 -23zM268 54q42 0 82.5 18.5t82.5 53.5v128q-78 -6 -130.5 -17t-84 -26.5t-44.5 -35t-13 -43.5q0 -21 9 -35.5t23.5 -24t34 -14t40.5 -4.5zM392 577q-27 0 -46 13t-35 29t-30.5 29t-31.5 13q-23 0 -34 -22t-13 -57l-55 3q1 29 7.5 54t18.5 43+t30.5 28.5t44.5 10.5q27 0 46 -13t35 -29t30.5 -29t32.5 -13q22 0 33 22t13 57l55 -4q-1 -29 -7.5 -53.5t-18.5 -42.5t-30.5 -28.5t-44.5 -10.5z" />+ <glyph glyph-name="adieresis" unicode="ä"+d="M246 -12q-34 0 -64 9.5t-52.5 27t-35.5 43t-13 58.5q0 41 19.5 71.5t62 52.5t109.5 36t161 22q-1 25 -8 47t-22 38.5t-39.5 26.5t-59.5 10q-48 0 -92 -18.5t-78 -39.5l-32 56q18 12 42.5 24.5t52 22.5t58.5 16.5t63 6.5q100 0 148.5 -54.5t48.5 -145.5v-298h-67l-7 66h-3+q-41 -32 -90.5 -55t-101.5 -23zM268 54q42 0 82.5 18.5t82.5 53.5v128q-78 -6 -130.5 -17t-84 -26.5t-44.5 -35t-13 -43.5q0 -21 9 -35.5t23.5 -24t34 -14t40.5 -4.5zM223 588q-24 0 -39.5 16t-15.5 40q0 23 15.5 39.5t39.5 16.5t39.5 -16.5t15.5 -39.5q0 -24 -15.5 -40+t-39.5 -16zM417 588q-24 0 -39.5 16t-15.5 40q0 23 15.5 39.5t39.5 16.5t39.5 -16.5t15.5 -39.5q0 -24 -15.5 -40t-39.5 -16z" />+ <glyph glyph-name="aring" unicode="å"+d="M246 -12q-34 0 -64 9.5t-52.5 27t-35.5 43t-13 58.5q0 41 19.5 71.5t62 52.5t109.5 36t161 22q-1 25 -8 47t-22 38.5t-39.5 26.5t-59.5 10q-48 0 -92 -18.5t-78 -39.5l-32 56q18 12 42.5 24.5t52 22.5t58.5 16.5t63 6.5q100 0 148.5 -54.5t48.5 -145.5v-298h-67l-7 66h-3+q-41 -32 -90.5 -55t-101.5 -23zM268 54q42 0 82.5 18.5t82.5 53.5v128q-78 -6 -130.5 -17t-84 -26.5t-44.5 -35t-13 -43.5q0 -21 9 -35.5t23.5 -24t34 -14t40.5 -4.5zM320 569q-52 0 -81 27.5t-29 68.5t29 68.5t81 27.5t81 -27.5t29 -68.5t-29 -68.5t-81 -27.5zM320 606+q24 0 40.5 17t16.5 42q0 26 -16.5 42.5t-40.5 16.5t-40.5 -16.5t-16.5 -42.5q0 -25 16.5 -42t40.5 -17z" />+ <glyph glyph-name="ae" unicode="æ"+d="M145 -12q-56 0 -92 35t-36 97q0 74 58.5 119.5t190.5 62.5q-2 71 -26 99.5t-62 28.5q-30 0 -60.5 -12t-53.5 -28l-31 56q30 20 69.5 36t82.5 16q44 0 75 -23t48 -77q25 54 62 77t78 23q38 0 66 -18t46.5 -48.5t27.5 -70.5t9 -85q0 -14 -1 -28.5t-3 -27.5h-261+q4 -77 36 -121t89 -44q28 0 51.5 9t43.5 23l30 -56q-25 -18 -57.5 -30.5t-70.5 -12.5q-51 0 -88.5 22.5t-61.5 64.5q-35 -42 -74.5 -64.5t-84.5 -22.5zM167 54q28 0 59 17.5t57 51.5q-17 54 -17 119v7q-51 -8 -84 -19.5t-53 -26.5t-28 -34t-8 -41q0 -35 20.5 -54.5+t53.5 -19.5zM443 433q-38 0 -70 -34t-40 -115h197q-4 149 -87 149z" />+ <glyph glyph-name="ccedilla" unicode="ç"+d="M346 -12q-57 0 -105.5 17t-84.5 49.5t-56 80t-20 107.5q0 61 21.5 108.5t58.5 80.5t86.5 50t104.5 17q60 0 103.5 -21t73.5 -50l-41 -53q-30 26 -62.5 41t-70.5 15q-42 0 -77 -13.5t-59.5 -38.5t-38.5 -59.5t-14 -76.5t13.5 -76t38 -58.5t59 -38t76.5 -13.5+q45 0 82.5 17.5t67.5 43.5l37 -53q-41 -36 -90 -56t-103 -20zM259 -226l-8 40q63 5 86 16.5t23 33.5q0 20 -17 31t-60 17l40 96h54l-26 -72q35 -8 54 -24t19 -47q0 -44 -42.5 -65.5t-122.5 -25.5z" />+ <glyph glyph-name="egrave" unicode="è"+d="M330 -12q-55 0 -102.5 17t-83 50t-56 80.5t-20.5 108.5q0 59 20.5 106t55 80t79 50.5t93.5 17.5q52 0 93.5 -16.5t70 -46.5t43.5 -72t15 -93q0 -14 -1 -27t-3 -23h-383q8 -83 60.5 -124.5t128.5 -41.5q44 0 79.5 12.5t68.5 33.5l30 -54q-36 -24 -82.5 -41t-105.5 -17z+M318 433q-30 0 -57.5 -10t-49.5 -28.5t-37 -46.5t-21 -64h310q-5 75 -43.5 112t-101.5 37zM337 568l-157 153l58 56l142 -168z" />+ <glyph glyph-name="eacute" unicode="é"+d="M330 -12q-55 0 -102.5 17t-83 50t-56 80.5t-20.5 108.5q0 59 20.5 106t55 80t79 50.5t93.5 17.5q52 0 93.5 -16.5t70 -46.5t43.5 -72t15 -93q0 -14 -1 -27t-3 -23h-383q8 -83 60.5 -124.5t128.5 -41.5q44 0 79.5 12.5t68.5 33.5l30 -54q-36 -24 -82.5 -41t-105.5 -17z+M318 433q-30 0 -57.5 -10t-49.5 -28.5t-37 -46.5t-21 -64h310q-5 75 -43.5 112t-101.5 37zM295 568l-43 41l142 168l58 -56z" />+ <glyph glyph-name="ecircumflex" unicode="ê"+d="M330 -12q-55 0 -102.5 17t-83 50t-56 80.5t-20.5 108.5q0 59 20.5 106t55 80t79 50.5t93.5 17.5q52 0 93.5 -16.5t70 -46.5t43.5 -72t15 -93q0 -14 -1 -27t-3 -23h-383q8 -83 60.5 -124.5t128.5 -41.5q44 0 79.5 12.5t68.5 33.5l30 -54q-36 -24 -82.5 -41t-105.5 -17z+M318 433q-30 0 -57.5 -10t-49.5 -28.5t-37 -46.5t-21 -64h310q-5 75 -43.5 112t-101.5 37zM196 568l-35 32l114 140h82l114 -140l-35 -32l-118 113h-4z" />+ <glyph glyph-name="edieresis" unicode="ë"+d="M330 -12q-55 0 -102.5 17t-83 50t-56 80.5t-20.5 108.5q0 59 20.5 106t55 80t79 50.5t93.5 17.5q52 0 93.5 -16.5t70 -46.5t43.5 -72t15 -93q0 -14 -1 -27t-3 -23h-383q8 -83 60.5 -124.5t128.5 -41.5q44 0 79.5 12.5t68.5 33.5l30 -54q-36 -24 -82.5 -41t-105.5 -17z+M318 433q-30 0 -57.5 -10t-49.5 -28.5t-37 -46.5t-21 -64h310q-5 75 -43.5 112t-101.5 37zM219 588q-24 0 -39.5 16t-15.5 40q0 23 15.5 39.5t39.5 16.5t39.5 -16.5t15.5 -39.5q0 -24 -15.5 -40t-39.5 -16zM413 588q-24 0 -39.5 16t-15.5 40q0 23 15.5 39.5t39.5 16.5+t39.5 -16.5t15.5 -39.5q0 -24 -15.5 -40t-39.5 -16z" />+ <glyph glyph-name="igrave" unicode="ì"+d="M316 0v419h-226v67h308v-486h-82zM369 568l-157 153l58 56l142 -168z" />+ <glyph glyph-name="iacute" unicode="í"+d="M316 0v419h-226v67h308v-486h-82zM327 568l-43 41l142 168l58 -56z" />+ <glyph glyph-name="icircumflex" unicode="î"+d="M316 0v419h-226v67h308v-486h-82zM228 568l-35 32l114 140h82l114 -140l-35 -32l-118 113h-4z" />+ <glyph glyph-name="idieresis" unicode="ï"+d="M316 0v419h-226v67h308v-486h-82zM251 588q-24 0 -39.5 16t-15.5 40q0 23 15.5 39.5t39.5 16.5t39.5 -16.5t15.5 -39.5q0 -24 -15.5 -40t-39.5 -16zM445 588q-24 0 -39.5 16t-15.5 40q0 23 15.5 39.5t39.5 16.5t39.5 -16.5t15.5 -39.5q0 -24 -15.5 -40t-39.5 -16z" />+ <glyph glyph-name="eth" unicode="ð"+d="M298 -12q-47 0 -90 16t-76 46.5t-52.5 74t-19.5 97.5q0 51 17 92.5t47.5 71t72 45.5t91.5 16q47 0 89 -21t70 -59q-14 66 -42.5 116t-72.5 89l-152 -78l-30 52l130 66q-26 18 -54.5 34t-60.5 32l38 52q38 -18 74.5 -38.5t69.5 -45.5l137 70l30 -50l-118 -61+q63 -61 101.5 -145t38.5 -203q0 -60 -16.5 -109.5t-47.5 -85t-75 -55t-99 -19.5zM300 56q40 0 69.5 14.5t49 41t29 62.5t9.5 80v22t-1 22q-35 47 -76 66t-80 19q-40 0 -70.5 -12t-51 -34t-31 -51.5t-10.5 -63.5q0 -38 13 -68.5t35 -52t52 -33.5t63 -12z" />+ <glyph glyph-name="ntilde" unicode="ñ"+d="M93 0v486h68l7 -83h4q38 41 82 68t101 27q87 0 127.5 -49.5t40.5 -146.5v-302h-82v291q0 69 -26 102.5t-86 33.5q-22 0 -40.5 -5.5t-36.5 -16.5t-37 -27.5t-40 -38.5v-339h-82zM390 577q-27 0 -46 13t-35 29t-30.5 29t-31.5 13q-23 0 -34 -22t-13 -57l-55 3q1 29 7.5 54+t18.5 43t30.5 28.5t44.5 10.5q27 0 46 -13t35 -29t30.5 -29t32.5 -13q22 0 33 22t13 57l55 -4q-1 -29 -7.5 -53.5t-18.5 -42.5t-30.5 -28.5t-44.5 -10.5z" />+ <glyph glyph-name="ograve" unicode="ò"+d="M300 -12q-48 0 -91.5 17t-76.5 49.5t-52.5 80t-19.5 107.5q0 61 19.5 108.5t52.5 80.5t76.5 50t91.5 17t91.5 -17t76.5 -50t52.5 -80.5t19.5 -108.5q0 -60 -19.5 -107.5t-52.5 -80t-76.5 -49.5t-91.5 -17zM300 56q35 0 63.5 13.5t49 38t31.5 58.5t11 76t-11 76.5+t-31.5 59.5t-49 38.5t-63.5 13.5t-63.5 -13.5t-49 -38.5t-31.5 -59.5t-11 -76.5t11 -76t31.5 -58.5t49 -38t63.5 -13.5zM321 568l-157 153l58 56l142 -168z" />+ <glyph glyph-name="oacute" unicode="ó"+d="M300 -12q-48 0 -91.5 17t-76.5 49.5t-52.5 80t-19.5 107.5q0 61 19.5 108.5t52.5 80.5t76.5 50t91.5 17t91.5 -17t76.5 -50t52.5 -80.5t19.5 -108.5q0 -60 -19.5 -107.5t-52.5 -80t-76.5 -49.5t-91.5 -17zM300 56q35 0 63.5 13.5t49 38t31.5 58.5t11 76t-11 76.5+t-31.5 59.5t-49 38.5t-63.5 13.5t-63.5 -13.5t-49 -38.5t-31.5 -59.5t-11 -76.5t11 -76t31.5 -58.5t49 -38t63.5 -13.5zM279 568l-43 41l142 168l58 -56z" />+ <glyph glyph-name="ocircumflex" unicode="ô"+d="M300 -12q-48 0 -91.5 17t-76.5 49.5t-52.5 80t-19.5 107.5q0 61 19.5 108.5t52.5 80.5t76.5 50t91.5 17t91.5 -17t76.5 -50t52.5 -80.5t19.5 -108.5q0 -60 -19.5 -107.5t-52.5 -80t-76.5 -49.5t-91.5 -17zM300 56q35 0 63.5 13.5t49 38t31.5 58.5t11 76t-11 76.5+t-31.5 59.5t-49 38.5t-63.5 13.5t-63.5 -13.5t-49 -38.5t-31.5 -59.5t-11 -76.5t11 -76t31.5 -58.5t49 -38t63.5 -13.5zM180 568l-35 32l114 140h82l114 -140l-35 -32l-118 113h-4z" />+ <glyph glyph-name="otilde" unicode="õ"+d="M300 -12q-48 0 -91.5 17t-76.5 49.5t-52.5 80t-19.5 107.5q0 61 19.5 108.5t52.5 80.5t76.5 50t91.5 17t91.5 -17t76.5 -50t52.5 -80.5t19.5 -108.5q0 -60 -19.5 -107.5t-52.5 -80t-76.5 -49.5t-91.5 -17zM300 56q35 0 63.5 13.5t49 38t31.5 58.5t11 76t-11 76.5+t-31.5 59.5t-49 38.5t-63.5 13.5t-63.5 -13.5t-49 -38.5t-31.5 -59.5t-11 -76.5t11 -76t31.5 -58.5t49 -38t63.5 -13.5zM372 577q-27 0 -46 13t-35 29t-30.5 29t-31.5 13q-23 0 -34 -22t-13 -57l-55 3q1 29 7.5 54t18.5 43t30.5 28.5t44.5 10.5q27 0 46 -13t35 -29t30.5 -29+t32.5 -13q22 0 33 22t13 57l55 -4q-1 -29 -7.5 -53.5t-18.5 -42.5t-30.5 -28.5t-44.5 -10.5z" />+ <glyph glyph-name="odieresis" unicode="ö"+d="M300 -12q-48 0 -91.5 17t-76.5 49.5t-52.5 80t-19.5 107.5q0 61 19.5 108.5t52.5 80.5t76.5 50t91.5 17t91.5 -17t76.5 -50t52.5 -80.5t19.5 -108.5q0 -60 -19.5 -107.5t-52.5 -80t-76.5 -49.5t-91.5 -17zM300 56q35 0 63.5 13.5t49 38t31.5 58.5t11 76t-11 76.5+t-31.5 59.5t-49 38.5t-63.5 13.5t-63.5 -13.5t-49 -38.5t-31.5 -59.5t-11 -76.5t11 -76t31.5 -58.5t49 -38t63.5 -13.5zM203 588q-24 0 -39.5 16t-15.5 40q0 23 15.5 39.5t39.5 16.5t39.5 -16.5t15.5 -39.5q0 -24 -15.5 -40t-39.5 -16zM397 588q-24 0 -39.5 16t-15.5 40+q0 23 15.5 39.5t39.5 16.5t39.5 -16.5t15.5 -39.5q0 -24 -15.5 -40t-39.5 -16z" />+ <glyph glyph-name="divide" unicode="÷"+d="M300 456q-23 0 -38.5 15t-15.5 39q0 23 15.5 38t38.5 15t38.5 -15t15.5 -38q0 -24 -15.5 -39t-38.5 -15zM300 96q-23 0 -38.5 15t-15.5 39q0 23 15.5 38t38.5 15t38.5 -15t15.5 -38q0 -24 -15.5 -39t-38.5 -15zM85 299v62h430v-62h-430z" />+ <glyph glyph-name="oslash" unicode="ø"+d="M300 -12q-79 0 -140 43l-52 -61l-46 42l53 62q-26 32 -40.5 74t-14.5 94q0 61 19.5 108.5t52.5 80.5t76.5 50t91.5 17q79 0 140 -43l52 61l46 -42l-53 -62q26 -32 40.5 -74.5t14.5 -95.5q0 -60 -19.5 -107.5t-52.5 -80t-76.5 -49.5t-91.5 -17zM145 242q0 -60 23 -106+l224 263q-38 33 -92 33q-35 0 -63.5 -14t-49 -39t-31.5 -60t-11 -77zM300 54q35 0 63.5 14t49 38.5t31.5 59t11 76.5q0 63 -23 107l-225 -263q19 -15 42.5 -23.5t50.5 -8.5z" />+ <glyph glyph-name="ugrave" unicode="ù"+d="M246 -12q-88 0 -128.5 49.5t-40.5 146.5v302h83v-291q0 -69 25.5 -102.5t86.5 -33.5q42 0 76 21.5t75 68.5v337h82v-486h-67l-7 85h-4q-37 -43 -80.5 -70t-100.5 -27zM317 568l-157 153l58 56l142 -168z" />+ <glyph glyph-name="uacute" unicode="ú"+d="M246 -12q-88 0 -128.5 49.5t-40.5 146.5v302h83v-291q0 -69 25.5 -102.5t86.5 -33.5q42 0 76 21.5t75 68.5v337h82v-486h-67l-7 85h-4q-37 -43 -80.5 -70t-100.5 -27zM275 568l-43 41l142 168l58 -56z" />+ <glyph glyph-name="ucircumflex" unicode="û"+d="M246 -12q-88 0 -128.5 49.5t-40.5 146.5v302h83v-291q0 -69 25.5 -102.5t86.5 -33.5q42 0 76 21.5t75 68.5v337h82v-486h-67l-7 85h-4q-37 -43 -80.5 -70t-100.5 -27zM176 568l-35 32l114 140h82l114 -140l-35 -32l-118 113h-4z" />+ <glyph glyph-name="udieresis" unicode="ü"+d="M246 -12q-88 0 -128.5 49.5t-40.5 146.5v302h83v-291q0 -69 25.5 -102.5t86.5 -33.5q42 0 76 21.5t75 68.5v337h82v-486h-67l-7 85h-4q-37 -43 -80.5 -70t-100.5 -27zM199 588q-24 0 -39.5 16t-15.5 40q0 23 15.5 39.5t39.5 16.5t39.5 -16.5t15.5 -39.5q0 -24 -15.5 -40+t-39.5 -16zM393 588q-24 0 -39.5 16t-15.5 40q0 23 15.5 39.5t39.5 16.5t39.5 -16.5t15.5 -39.5q0 -24 -15.5 -40t-39.5 -16z" />+ <glyph glyph-name="yacute" unicode="ý"+d="M131 -209q-36 0 -64 10l17 65q10 -3 21.5 -5t22.5 -2q51 0 83 29.5t50 74.5l15 36l-227 487h83l119 -269q14 -32 29.5 -69t30.5 -72h4q13 35 26.5 71.5t25.5 69.5l106 269h78l-214 -526q-14 -36 -32 -67t-43 -53.5t-57.5 -35.5t-73.5 -13zM283 568l-43 41l142 168l58 -56+z" />+ <glyph glyph-name="thorn" unicode="þ"+d="M93 -205v917h82v-201l-3 -87h3q34 34 76.5 54t85.5 20q49 0 87 -17.5t63.5 -50t39 -78t13.5 -102.5q0 -62 -18.5 -110.5t-49 -82.5t-70.5 -51.5t-83 -17.5q-36 0 -74 17t-70 46h-3l3 -92v-164h-82zM305 57q32 0 59.5 13.5t47.5 38t31.5 60.5t11.5 81q0 80 -32.5 129.5+t-105.5 49.5q-32 0 -68 -17.5t-74 -55.5v-242q35 -31 69.5 -44t60.5 -13z" />+ <glyph glyph-name="ydieresis" unicode="ÿ"+d="M131 -209q-36 0 -64 10l17 65q10 -3 21.5 -5t22.5 -2q51 0 83 29.5t50 74.5l15 36l-227 487h83l119 -269q14 -32 29.5 -69t30.5 -72h4q13 35 26.5 71.5t25.5 69.5l106 269h78l-214 -526q-14 -36 -32 -67t-43 -53.5t-57.5 -35.5t-73.5 -13zM207 588q-24 0 -39.5 16+t-15.5 40q0 23 15.5 39.5t39.5 16.5t39.5 -16.5t15.5 -39.5q0 -24 -15.5 -40t-39.5 -16zM401 588q-24 0 -39.5 16t-15.5 40q0 23 15.5 39.5t39.5 16.5t39.5 -16.5t15.5 -39.5q0 -24 -15.5 -40t-39.5 -16z" />+ <glyph glyph-name="Amacron" unicode="Ā"+d="M232 367l-31 -100h196l-31 100q-17 55 -33.5 109.5t-31.5 111.5h-4q-16 -57 -32 -111.5t-33 -109.5zM32 0l221 656h94l221 -656h-88l-62 200h-238l-63 -200h-85zM166 735v57h268v-57h-268z" />+ <glyph glyph-name="amacron" unicode="ā"+d="M246 -12q-34 0 -64 9.5t-52.5 27t-35.5 43t-13 58.5q0 41 19.5 71.5t62 52.5t109.5 36t161 22q-1 25 -8 47t-22 38.5t-39.5 26.5t-59.5 10q-48 0 -92 -18.5t-78 -39.5l-32 56q18 12 42.5 24.5t52 22.5t58.5 16.5t63 6.5q100 0 148.5 -54.5t48.5 -145.5v-298h-67l-7 66h-3+q-41 -32 -90.5 -55t-101.5 -23zM268 54q42 0 82.5 18.5t82.5 53.5v128q-78 -6 -130.5 -17t-84 -26.5t-44.5 -35t-13 -43.5q0 -21 9 -35.5t23.5 -24t34 -14t40.5 -4.5zM187 601v57h266v-57h-266z" />+ <glyph glyph-name="Abreve" unicode="Ă"+d="M232 367l-31 -100h196l-31 100q-17 55 -33.5 109.5t-31.5 111.5h-4q-16 -57 -32 -111.5t-33 -109.5zM32 0l221 656h94l221 -656h-88l-62 200h-238l-63 -200h-85zM300 705q-35 0 -61 10.5t-44 28t-28 41t-13 49.5l50 8q6 -35 29.5 -59.5t66.5 -24.5t66.5 24.5t29.5 59.5+l50 -8q-3 -26 -13 -49.5t-28 -41t-44 -28t-61 -10.5z" />+ <glyph glyph-name="abreve" unicode="ă"+d="M246 -12q-34 0 -64 9.5t-52.5 27t-35.5 43t-13 58.5q0 41 19.5 71.5t62 52.5t109.5 36t161 22q-1 25 -8 47t-22 38.5t-39.5 26.5t-59.5 10q-48 0 -92 -18.5t-78 -39.5l-32 56q18 12 42.5 24.5t52 22.5t58.5 16.5t63 6.5q100 0 148.5 -54.5t48.5 -145.5v-298h-67l-7 66h-3+q-41 -32 -90.5 -55t-101.5 -23zM268 54q42 0 82.5 18.5t82.5 53.5v128q-78 -6 -130.5 -17t-84 -26.5t-44.5 -35t-13 -43.5q0 -21 9 -35.5t23.5 -24t34 -14t40.5 -4.5zM320 571q-40 0 -69 13t-47.5 34.5t-28 48.5t-11.5 55l51 8q3 -19 10.5 -37.5t20.5 -33.5t31.5 -24+t42.5 -9t42.5 9t31.5 24t20.5 33.5t10.5 37.5l51 -8q-2 -28 -11.5 -55t-28.5 -48.5t-47.5 -34.5t-68.5 -13z" />+ <glyph glyph-name="Aogonek" unicode="Ą"+d="M515 -225q-44 0 -73.5 22.5t-29.5 68.5q0 23 8 43.5t20.5 37t28 30t30.5 23.5h-19l-62 200h-238l-63 -200h-85l221 656h94l221 -656q-38 -17 -64.5 -48t-26.5 -68q0 -26 16 -38.5t38 -12.5q17 0 29 6.5t21 14.5l26 -43q-17 -15 -40 -25.5t-52 -10.5zM232 367l-31 -100+h196l-31 100q-17 55 -33.5 109.5t-31.5 111.5h-4q-16 -57 -32 -111.5t-33 -109.5z" />+ <glyph glyph-name="aogonek" unicode="ą"+d="M456 -225q-44 0 -73.5 22.5t-29.5 70.5q0 45 28 79t67 58l-7 61h-3q-41 -32 -90.5 -55t-101.5 -23q-34 0 -64 9.5t-52.5 27t-35.5 43t-13 58.5q0 41 19.5 71.5t62 52.5t109.5 36t161 22q-1 25 -8 47t-22 38.5t-39.5 26.5t-59.5 10q-48 0 -92 -18.5t-78 -39.5l-32 56+q18 12 42.5 24.5t52 22.5t58.5 16.5t63 6.5q100 0 148.5 -54.5t48.5 -145.5v-298q-54 -24 -77.5 -54.5t-23.5 -61.5q0 -29 18 -42t41 -13q17 0 30 6t22 15l24 -39q-17 -17 -40.5 -26.5t-52.5 -9.5zM268 54q42 0 82.5 18.5t82.5 53.5v128q-78 -6 -130.5 -17t-84 -26.5+t-44.5 -35t-13 -43.5q0 -21 9 -35.5t23.5 -24t34 -14t40.5 -4.5z" />+ <glyph glyph-name="Cacute" unicode="Ć"+d="M351 -12q-61 0 -113 23t-90.5 66.5t-60.5 107t-22 143.5q0 79 22 142t61 107t93 67.5t118 23.5q59 0 104.5 -24t74.5 -56l-47 -53q-26 27 -58 43.5t-74 16.5q-47 0 -85.5 -18.5t-65.5 -53t-42 -83.5t-15 -110q0 -62 15 -111.5t42 -84.5t65.5 -54t85.5 -19q45 0 80.5 19+t67.5 54l47 -51q-39 -45 -88 -70t-115 -25zM317 697l-36 42l141 128l47 -55z" />+ <glyph glyph-name="cacute" unicode="ć"+d="M346 -12q-57 0 -105.5 17t-84.5 49.5t-56 80t-20 107.5q0 61 21.5 108.5t58.5 80.5t86.5 50t104.5 17q60 0 103.5 -21t73.5 -50l-41 -53q-30 26 -62.5 41t-70.5 15q-42 0 -77 -13.5t-59.5 -38.5t-38.5 -59.5t-14 -76.5t13.5 -76t38 -58.5t59 -38t76.5 -13.5+q45 0 82.5 17.5t67.5 43.5l37 -53q-41 -36 -90 -56t-103 -20zM325 568l-43 41l142 168l58 -56z" />+ <glyph glyph-name="Ccircumflex" unicode="Ĉ"+d="M351 -12q-61 0 -113 23t-90.5 66.5t-60.5 107t-22 143.5q0 79 22 142t61 107t93 67.5t118 23.5q59 0 104.5 -24t74.5 -56l-47 -53q-26 27 -58 43.5t-74 16.5q-47 0 -85.5 -18.5t-65.5 -53t-42 -83.5t-15 -110q0 -62 15 -111.5t42 -84.5t65.5 -54t85.5 -19q45 0 80.5 19+t67.5 54l47 -51q-39 -45 -88 -70t-115 -25zM234 699l-36 26l105 113h86l105 -113l-36 -26l-110 93h-4z" />+ <glyph glyph-name="ccircumflex" unicode="ĉ"+d="M346 -12q-57 0 -105.5 17t-84.5 49.5t-56 80t-20 107.5q0 61 21.5 108.5t58.5 80.5t86.5 50t104.5 17q60 0 103.5 -21t73.5 -50l-41 -53q-30 26 -62.5 41t-70.5 15q-42 0 -77 -13.5t-59.5 -38.5t-38.5 -59.5t-14 -76.5t13.5 -76t38 -58.5t59 -38t76.5 -13.5+q45 0 82.5 17.5t67.5 43.5l37 -53q-41 -36 -90 -56t-103 -20zM226 568l-35 32l114 140h82l114 -140l-35 -32l-118 113h-4z" />+ <glyph glyph-name="Cdotaccent" unicode="Ċ"+d="M351 -12q-61 0 -113 23t-90.5 66.5t-60.5 107t-22 143.5q0 79 22 142t61 107t93 67.5t118 23.5q59 0 104.5 -24t74.5 -56l-47 -53q-26 27 -58 43.5t-74 16.5q-47 0 -85.5 -18.5t-65.5 -53t-42 -83.5t-15 -110q0 -62 15 -111.5t42 -84.5t65.5 -54t85.5 -19q45 0 80.5 19+t67.5 54l47 -51q-39 -45 -88 -70t-115 -25zM346 714q-25 0 -42 15.5t-17 41.5q0 25 17 40.5t42 15.5t42 -15.5t17 -40.5q0 -26 -17 -41.5t-42 -15.5z" />+ <glyph glyph-name="cdotaccent" unicode="ċ"+d="M346 -12q-57 0 -105.5 17t-84.5 49.5t-56 80t-20 107.5q0 61 21.5 108.5t58.5 80.5t86.5 50t104.5 17q60 0 103.5 -21t73.5 -50l-41 -53q-30 26 -62.5 41t-70.5 15q-42 0 -77 -13.5t-59.5 -38.5t-38.5 -59.5t-14 -76.5t13.5 -76t38 -58.5t59 -38t76.5 -13.5+q45 0 82.5 17.5t67.5 43.5l37 -53q-41 -36 -90 -56t-103 -20zM346 588q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="Ccaron" unicode="Č"+d="M351 -12q-61 0 -113 23t-90.5 66.5t-60.5 107t-22 143.5q0 79 22 142t61 107t93 67.5t118 23.5q59 0 104.5 -24t74.5 -56l-47 -53q-26 27 -58 43.5t-74 16.5q-47 0 -85.5 -18.5t-65.5 -53t-42 -83.5t-15 -110q0 -62 15 -111.5t42 -84.5t65.5 -54t85.5 -19q45 0 80.5 19+t67.5 54l47 -51q-39 -45 -88 -70t-115 -25zM303 706l-105 113l36 26l110 -92h4l110 92l36 -26l-105 -113h-86z" />+ <glyph glyph-name="ccaron" unicode="č"+d="M346 -12q-57 0 -105.5 17t-84.5 49.5t-56 80t-20 107.5q0 61 21.5 108.5t58.5 80.5t86.5 50t104.5 17q60 0 103.5 -21t73.5 -50l-41 -53q-30 26 -62.5 41t-70.5 15q-42 0 -77 -13.5t-59.5 -38.5t-38.5 -59.5t-14 -76.5t13.5 -76t38 -58.5t59 -38t76.5 -13.5+q45 0 82.5 17.5t67.5 43.5l37 -53q-41 -36 -90 -56t-103 -20zM305 574l-114 140l35 32l118 -113h4l118 113l35 -32l-114 -140h-82z" />+ <glyph glyph-name="Dcaron" unicode="Ď"+d="M87 0v656h162q149 0 226.5 -84t77.5 -241t-77.5 -244t-222.5 -87h-166zM170 68h73q113 0 168.5 69t55.5 194t-55.5 191t-168.5 66h-73v-520zM257 706l-105 113l36 26l110 -92h4l110 92l36 -26l-105 -113h-86z" />+ <glyph glyph-name="dcaron" unicode="ď"+d="M254 -12q-45 0 -82 17t-63 49.5t-40.5 79.5t-14.5 108q0 59 17.5 106.5t46.5 80.5t67 51t79 18q42 0 74 -17t64 -46h3l-5 90v187h79v-712h-64l-7 64h-3q-29 -30 -68 -53t-83 -23zM271 57q65 0 129 73v242q-32 30 -61 43.5t-59 13.5t-56.5 -13.5t-46 -38t-31 -58.5+t-11.5 -76q0 -88 36 -137t100 -49zM548 548l-3 268h74v-81l-14 -187h-57z" />+ <glyph glyph-name="Dcroat" unicode="Đ"+d="M87 0v314h-75v56l75 6v280h162q149 0 226.5 -84t77.5 -241t-77.5 -244t-222.5 -87h-166zM170 68h73q112 0 167.5 69t55.5 194t-55.5 191t-167.5 66h-73v-212h144v-62h-144v-246z" />+ <glyph glyph-name="dcroat" unicode="đ"+d="M271 -12q-48 0 -86.5 16t-66.5 47.5t-43 76.5t-15 104q0 57 18.5 102.5t49 77.5t70.5 49t83 17q45 0 79 -17t66 -46h3l-4 90v57h-175v64h175v86h82v-86h73v-58l-73 -6v-562h-68l-7 64h-3q-30 -31 -71.5 -53.5t-86.5 -22.5zM288 57q72 0 137 73v222q-33 31 -64.5 44+t-62.5 13q-32 0 -60 -13t-48.5 -36t-32.5 -55.5t-12 -71.5q0 -83 37.5 -129.5t105.5 -46.5z" />+ <glyph glyph-name="Emacron" unicode="Ē"+d="M114 0v656h406v-70h-322v-206h272v-71h-272v-238h332v-71h-416zM197 735v57h268v-57h-268z" />+ <glyph glyph-name="emacron" unicode="ē"+d="M330 -12q-55 0 -102.5 17t-83 50t-56 80.5t-20.5 108.5q0 59 20.5 106t55 80t79 50.5t93.5 17.5q52 0 93.5 -16.5t70 -46.5t43.5 -72t15 -93q0 -14 -1 -27t-3 -23h-383q8 -83 60.5 -124.5t128.5 -41.5q44 0 79.5 12.5t68.5 33.5l30 -54q-36 -24 -82.5 -41t-105.5 -17z+M318 433q-30 0 -57.5 -10t-49.5 -28.5t-37 -46.5t-21 -64h310q-5 75 -43.5 112t-101.5 37zM183 601v57h266v-57h-266z" />+ <glyph glyph-name="Ebreve" unicode="Ĕ"+d="M114 0v656h406v-70h-322v-206h272v-71h-272v-238h332v-71h-416zM331 705q-35 0 -61 10.5t-44 28t-28 41t-13 49.5l50 8q6 -35 29.5 -59.5t66.5 -24.5t66.5 24.5t29.5 59.5l50 -8q-3 -26 -13 -49.5t-28 -41t-44 -28t-61 -10.5z" />+ <glyph glyph-name="ebreve" unicode="ĕ"+d="M330 -12q-55 0 -102.5 17t-83 50t-56 80.5t-20.5 108.5q0 59 20.5 106t55 80t79 50.5t93.5 17.5q52 0 93.5 -16.5t70 -46.5t43.5 -72t15 -93q0 -14 -1 -27t-3 -23h-383q8 -83 60.5 -124.5t128.5 -41.5q44 0 79.5 12.5t68.5 33.5l30 -54q-36 -24 -82.5 -41t-105.5 -17z+M318 433q-30 0 -57.5 -10t-49.5 -28.5t-37 -46.5t-21 -64h310q-5 75 -43.5 112t-101.5 37zM316 571q-40 0 -69 13t-47.5 34.5t-28 48.5t-11.5 55l51 8q3 -19 10.5 -37.5t20.5 -33.5t31.5 -24t42.5 -9t42.5 9t31.5 24t20.5 33.5t10.5 37.5l51 -8q-2 -28 -11.5 -55+t-28.5 -48.5t-47.5 -34.5t-68.5 -13z" />+ <glyph glyph-name="Edotaccent" unicode="Ė"+d="M114 0v656h406v-70h-322v-206h272v-71h-272v-238h332v-71h-416zM331 714q-25 0 -42 15.5t-17 41.5q0 25 17 40.5t42 15.5t42 -15.5t17 -40.5q0 -26 -17 -41.5t-42 -15.5z" />+ <glyph glyph-name="edotaccent" unicode="ė"+d="M330 -12q-55 0 -102.5 17t-83 50t-56 80.5t-20.5 108.5q0 59 20.5 106t55 80t79 50.5t93.5 17.5q52 0 93.5 -16.5t70 -46.5t43.5 -72t15 -93q0 -14 -1 -27t-3 -23h-383q8 -83 60.5 -124.5t128.5 -41.5q44 0 79.5 12.5t68.5 33.5l30 -54q-36 -24 -82.5 -41t-105.5 -17z+M318 433q-30 0 -57.5 -10t-49.5 -28.5t-37 -46.5t-21 -64h310q-5 75 -43.5 112t-101.5 37zM316 588q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="Eogonek" unicode="Ę"+d="M462 -225q-45 0 -74 22.5t-29 68.5q0 45 26.5 79.5t59.5 54.5h-330v656h405v-70h-321v-206h271v-71h-271v-238h331v-71h-4q-19 -3 -37.5 -14t-33 -27t-23.5 -35.5t-9 -39.5q0 -26 17 -38.5t38 -12.5q16 0 28 6.5t22 14.5l25 -43q-17 -15 -39.5 -25.5t-51.5 -10.5z" />+ <glyph glyph-name="eogonek" unicode="ę"+d="M422 -225q-45 0 -74 22.5t-29 70.5q0 40 21.5 71t54.5 60q-26 -9 -41.5 -10t-23.5 -1q-55 0 -102.5 17t-83 50t-56 80t-20.5 107t20.5 107.5t55 80.5t79 50.5t93.5 17.5q52 0 93.5 -16.5t70 -46.5t43.5 -72t15 -93q0 -14 -1 -27t-3 -23h-383q8 -83 60.5 -124.5+t128.5 -41.5q44 0 79.5 12.5t68.5 33.5l30 -54q-38 -27 -64.5 -48.5t-43 -40t-23.5 -36.5t-7 -37q0 -28 18 -41.5t41 -13.5q17 0 30 6t23 15l24 -39q-18 -17 -41.5 -26.5t-52.5 -9.5zM318 433q-30 0 -57.5 -10t-49.5 -28.5t-37 -46.5t-21 -64h310q-5 75 -43.5 112t-101.5 37+z" />+ <glyph glyph-name="Ecaron" unicode="Ě"+d="M114 0v656h406v-70h-322v-206h272v-71h-272v-238h332v-71h-416zM288 706l-105 113l36 26l110 -92h4l110 92l36 -26l-105 -113h-86z" />+ <glyph glyph-name="ecaron" unicode="ě"+d="M330 -12q-55 0 -102.5 17t-83 50t-56 80.5t-20.5 108.5q0 59 20.5 106t55 80t79 50.5t93.5 17.5q52 0 93.5 -16.5t70 -46.5t43.5 -72t15 -93q0 -14 -1 -27t-3 -23h-383q8 -83 60.5 -124.5t128.5 -41.5q44 0 79.5 12.5t68.5 33.5l30 -54q-36 -24 -82.5 -41t-105.5 -17z+M318 433q-30 0 -57.5 -10t-49.5 -28.5t-37 -46.5t-21 -64h310q-5 75 -43.5 112t-101.5 37zM275 574l-114 140l35 32l118 -113h4l118 113l35 -32l-114 -140h-82z" />+ <glyph glyph-name="Gcircumflex" unicode="Ĝ"+d="M337 -12q-62 0 -114 23t-90 66.5t-59 107t-21 143.5q0 79 21.5 142.5t60 107t92 67t117.5 23.5q33 0 60 -7t49.5 -18.5t40 -25.5t31.5 -29l-47 -53q-24 26 -55 43t-79 17q-46 0 -83.5 -18.5t-64.5 -53t-41.5 -83.5t-14.5 -110q0 -62 13.5 -111.5t39 -84.5t63.5 -54+t86 -19q35 0 65 10.5t49 28.5v171h-131v69h208v-276q-31 -32 -81.5 -54t-114.5 -22zM218 699l-36 26l105 113h86l105 -113l-36 -26l-110 93h-4z" />+ <glyph glyph-name="gcircumflex" unicode="ĝ"+d="M296 -224q-107 0 -165.5 35t-58.5 100q0 29 20.5 57t59.5 51v4q-20 11 -35 30t-15 50q0 23 15 47.5t43 43.5v4q-25 19 -42.5 50.5t-17.5 75.5q0 40 15.5 72t41.5 54.5t60.5 35t73.5 12.5q40 0 72 -12h201v-67h-126q17 -17 29 -43t12 -55q0 -39 -14.5 -70t-40 -52.5+t-60 -33t-73.5 -11.5q-19 0 -40.5 4.5t-41.5 13.5q-38 -24 -38 -56q0 -29 26.5 -42.5t74.5 -13.5h109q94 0 139.5 -26t45.5 -88q0 -34 -19 -65t-54 -54t-85 -37t-112 -14zM291 209q47 0 79.5 31t32.5 84q0 25 -9 46t-24 36t-35.5 23.5t-43.5 8.5t-43.5 -8.5t-35.5 -23.5+t-24 -36t-9 -46q0 -53 33 -84t79 -31zM302 -164q42 0 76 8t58 21.5t36.5 31t12.5 36.5q0 35 -27.5 47t-83.5 12h-95q-21 0 -39.5 1.5t-34.5 6.5q-35 -19 -48.5 -39.5t-13.5 -41.5q0 -38 40.5 -60.5t118.5 -22.5zM187 568l-35 32l114 140h82l114 -140l-35 -32l-118 113h-4z+" />+ <glyph glyph-name="Gbreve" unicode="Ğ"+d="M337 -12q-62 0 -114 23t-90 66.5t-59 107t-21 143.5q0 79 21.5 142.5t60 107t92 67t117.5 23.5q33 0 60 -7t49.5 -18.5t40 -25.5t31.5 -29l-47 -53q-24 26 -55 43t-79 17q-46 0 -83.5 -18.5t-64.5 -53t-41.5 -83.5t-14.5 -110q0 -62 13.5 -111.5t39 -84.5t63.5 -54+t86 -19q35 0 65 10.5t49 28.5v171h-131v69h208v-276q-31 -32 -81.5 -54t-114.5 -22zM330 705q-35 0 -61 10.5t-44 28t-28 41t-13 49.5l50 8q6 -35 29.5 -59.5t66.5 -24.5t66.5 24.5t29.5 59.5l50 -8q-3 -26 -13 -49.5t-28 -41t-44 -28t-61 -10.5z" />+ <glyph glyph-name="gbreve" unicode="ğ"+d="M296 -224q-107 0 -165.5 35t-58.5 100q0 29 20.5 57t59.5 51v4q-20 11 -35 30t-15 50q0 23 15 47.5t43 43.5v4q-25 19 -42.5 50.5t-17.5 75.5q0 40 15.5 72t41.5 54.5t60.5 35t73.5 12.5q40 0 72 -12h201v-67h-126q17 -17 29 -43t12 -55q0 -39 -14.5 -70t-40 -52.5+t-60 -33t-73.5 -11.5q-19 0 -40.5 4.5t-41.5 13.5q-38 -24 -38 -56q0 -29 26.5 -42.5t74.5 -13.5h109q94 0 139.5 -26t45.5 -88q0 -34 -19 -65t-54 -54t-85 -37t-112 -14zM291 209q47 0 79.5 31t32.5 84q0 25 -9 46t-24 36t-35.5 23.5t-43.5 8.5t-43.5 -8.5t-35.5 -23.5+t-24 -36t-9 -46q0 -53 33 -84t79 -31zM302 -164q42 0 76 8t58 21.5t36.5 31t12.5 36.5q0 35 -27.5 47t-83.5 12h-95q-21 0 -39.5 1.5t-34.5 6.5q-35 -19 -48.5 -39.5t-13.5 -41.5q0 -38 40.5 -60.5t118.5 -22.5zM307 571q-40 0 -69 13t-47.5 34.5t-28 48.5t-11.5 55l51 8+q3 -19 10.5 -37.5t20.5 -33.5t31.5 -24t42.5 -9t42.5 9t31.5 24t20.5 33.5t10.5 37.5l51 -8q-2 -28 -11.5 -55t-28.5 -48.5t-47.5 -34.5t-68.5 -13z" />+ <glyph glyph-name="Gdotaccent" unicode="Ġ"+d="M337 -12q-62 0 -114 23t-90 66.5t-59 107t-21 143.5q0 79 21.5 142.5t60 107t92 67t117.5 23.5q33 0 60 -7t49.5 -18.5t40 -25.5t31.5 -29l-47 -53q-24 26 -55 43t-79 17q-46 0 -83.5 -18.5t-64.5 -53t-41.5 -83.5t-14.5 -110q0 -62 13.5 -111.5t39 -84.5t63.5 -54+t86 -19q35 0 65 10.5t49 28.5v171h-131v69h208v-276q-31 -32 -81.5 -54t-114.5 -22zM330 714q-25 0 -42 15.5t-17 41.5q0 25 17 40.5t42 15.5t42 -15.5t17 -40.5q0 -26 -17 -41.5t-42 -15.5z" />+ <glyph glyph-name="gdotaccent" unicode="ġ"+d="M296 -224q-107 0 -165.5 35t-58.5 100q0 29 20.5 57t59.5 51v4q-20 11 -35 30t-15 50q0 23 15 47.5t43 43.5v4q-25 19 -42.5 50.5t-17.5 75.5q0 40 15.5 72t41.5 54.5t60.5 35t73.5 12.5q40 0 72 -12h201v-67h-126q17 -17 29 -43t12 -55q0 -39 -14.5 -70t-40 -52.5+t-60 -33t-73.5 -11.5q-19 0 -40.5 4.5t-41.5 13.5q-38 -24 -38 -56q0 -29 26.5 -42.5t74.5 -13.5h109q94 0 139.5 -26t45.5 -88q0 -34 -19 -65t-54 -54t-85 -37t-112 -14zM291 209q47 0 79.5 31t32.5 84q0 25 -9 46t-24 36t-35.5 23.5t-43.5 8.5t-43.5 -8.5t-35.5 -23.5+t-24 -36t-9 -46q0 -53 33 -84t79 -31zM302 -164q42 0 76 8t58 21.5t36.5 31t12.5 36.5q0 35 -27.5 47t-83.5 12h-95q-21 0 -39.5 1.5t-34.5 6.5q-35 -19 -48.5 -39.5t-13.5 -41.5q0 -38 40.5 -60.5t118.5 -22.5zM307 588q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5+t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="uni0122" unicode="Ģ"+d="M337 -12q-62 0 -114 23t-90 66.5t-59 107t-21 143.5q0 79 21.5 142.5t60 107t92 67t117.5 23.5q33 0 60 -7t49.5 -18.5t40 -25.5t31.5 -29l-47 -53q-24 26 -55 43t-79 17q-46 0 -83.5 -18.5t-64.5 -53t-41.5 -83.5t-14.5 -110q0 -62 13.5 -111.5t39 -84.5t63.5 -54+t86 -19q35 0 65 10.5t49 28.5v171h-131v69h208v-276q-31 -32 -81.5 -54t-114.5 -22zM243 -226l-8 40q63 5 86 16.5t23 31.5t-18 29.5t-53 12.5l18 38q65 -8 91 -25.5t26 -51.5q0 -44 -42.5 -65.5t-122.5 -25.5z" />+ <glyph glyph-name="uni0123" unicode="ģ"+d="M296 -224q-107 0 -165.5 35t-58.5 100q0 29 20.5 57t59.5 51v4q-20 11 -35 30t-15 50q0 23 15 47.5t43 43.5v4q-25 19 -42.5 50.5t-17.5 75.5q0 40 15.5 72t41.5 54.5t60.5 35t73.5 12.5q40 0 72 -12h201v-67h-126q17 -17 29 -43t12 -55q0 -39 -14.5 -70t-40 -52.5+t-60 -33t-73.5 -11.5q-19 0 -40.5 4.5t-41.5 13.5q-38 -24 -38 -56q0 -29 26.5 -42.5t74.5 -13.5h109q94 0 139.5 -26t45.5 -88q0 -34 -19 -65t-54 -54t-85 -37t-112 -14zM291 209q47 0 79.5 31t32.5 84q0 25 -9 46t-24 36t-35.5 23.5t-43.5 8.5t-43.5 -8.5t-35.5 -23.5+t-24 -36t-9 -46q0 -53 33 -84t79 -31zM302 -164q42 0 76 8t58 21.5t36.5 31t12.5 36.5q0 35 -27.5 47t-83.5 12h-95q-21 0 -39.5 1.5t-34.5 6.5q-35 -19 -48.5 -39.5t-13.5 -41.5q0 -38 40.5 -60.5t118.5 -22.5zM346 575q-65 7 -91 25t-26 52q0 44 42.5 65.5t122.5 26.5+l8 -41q-63 -4 -86 -15.5t-23 -32.5q0 -20 18 -29.5t53 -12.5z" />+ <glyph glyph-name="Hcircumflex" unicode="Ĥ"+d="M79 0v656h84v-275h274v275h84v-656h-84v309h-274v-309h-84zM188 699l-36 26l105 113h86l105 -113l-36 -26l-110 93h-4z" />+ <glyph glyph-name="hcircumflex" unicode="ĥ"+d="M93 0v712h82v-194l-5 -115h3q38 41 81.5 68t100.5 27q87 0 127.5 -49.5t40.5 -146.5v-302h-82v291q0 69 -26 102.5t-86 33.5q-22 0 -40.5 -5.5t-36.5 -16.5t-37 -27.5t-40 -38.5v-339h-82zM20 759l-36 26l105 113h86l105 -113l-36 -26l-110 93h-4z" />+ <glyph glyph-name="Hbar" unicode="Ħ"+d="M10 484v56l69 6v110h84v-110h274v110h84v-110h69v-62h-69v-484h-84v309h-274v-309h-84v484h-69zM163 381h274v103h-274v-103z" />+ <glyph glyph-name="hbar" unicode="ħ"+d="M93 0v562h-73v58l73 6v86h82v-86h213v-64h-213v-64l-5 -115h3q38 41 81.5 68t100.5 27q87 0 127.5 -49.5t40.5 -146.5v-282h-82v271q0 69 -26 102.5t-86 33.5q-22 0 -40.5 -5.5t-36.5 -16.5t-37 -27.5t-40 -38.5v-319h-82z" />+ <glyph glyph-name="Itilde" unicode="Ĩ"+d="M95 0v71h163v515h-163v70h410v-70h-163v-515h163v-71h-410zM375 709q-28 0 -48 11t-36.5 24.5t-31 24.5t-32.5 11q-19 0 -32 -17t-16 -49l-56 4q3 57 30 90t72 33q28 0 48 -11t36.5 -24.5t31 -24.5t32.5 -11q40 0 48 66l56 -4q-3 -58 -30 -90.5t-72 -32.5z" />+ <glyph glyph-name="itilde" unicode="ĩ"+d="M316 0v419h-226v67h308v-486h-82zM420 577q-27 0 -46 13t-35 29t-30.5 29t-31.5 13q-23 0 -34 -22t-13 -57l-55 3q1 29 7.5 54t18.5 43t30.5 28.5t44.5 10.5q27 0 46 -13t35 -29t30.5 -29t32.5 -13q22 0 33 22t13 57l55 -4q-1 -29 -7.5 -53.5t-18.5 -42.5t-30.5 -28.5+t-44.5 -10.5z" />+ <glyph glyph-name="Imacron" unicode="Ī"+d="M95 0v71h163v515h-163v70h410v-70h-163v-515h163v-71h-410zM166 735v57h268v-57h-268z" />+ <glyph glyph-name="imacron" unicode="ī"+d="M316 0v419h-226v67h308v-486h-82zM215 601v57h266v-57h-266z" />+ <glyph glyph-name="Ibreve" unicode="Ĭ"+d="M95 0v71h163v515h-163v70h410v-70h-163v-515h163v-71h-410zM300 705q-35 0 -61 10.5t-44 28t-28 41t-13 49.5l50 8q6 -35 29.5 -59.5t66.5 -24.5t66.5 24.5t29.5 59.5l50 -8q-3 -26 -13 -49.5t-28 -41t-44 -28t-61 -10.5z" />+ <glyph glyph-name="ibreve" unicode="ĭ"+d="M316 0v419h-226v67h308v-486h-82zM348 571q-40 0 -69 13t-47.5 34.5t-28 48.5t-11.5 55l51 8q3 -19 10.5 -37.5t20.5 -33.5t31.5 -24t42.5 -9t42.5 9t31.5 24t20.5 33.5t10.5 37.5l51 -8q-2 -28 -11.5 -55t-28.5 -48.5t-47.5 -34.5t-68.5 -13z" />+ <glyph glyph-name="Iogonek" unicode="Į"+d="M311 -225q-44 0 -73.5 22.5t-29.5 68.5q0 42 23 76t48 58h-184v71h163v515h-163v70h410v-70h-163v-515h163v-71h-158q-38 -29 -56 -58.5t-18 -57.5q0 -26 17 -38.5t37 -12.5q17 0 29 6.5t21 14.5l25 -43q-17 -15 -39.5 -25.5t-51.5 -10.5z" />+ <glyph glyph-name="iogonek" unicode="į"+d="M353 -225q-45 0 -74.5 22.5t-29.5 70.5q0 42 25.5 75t60.5 57h-19v419h-226v67h308v-491q-45 -22 -66.5 -51.5t-21.5 -59.5q0 -28 18 -41.5t42 -13.5q16 0 28.5 6t23.5 15l24 -39q-18 -17 -41.5 -26.5t-51.5 -9.5zM348 588q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5+t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="Idotaccent" unicode="İ"+d="M95 0v71h163v515h-163v70h410v-70h-163v-515h163v-71h-410zM300 714q-25 0 -42 15.5t-17 41.5q0 25 17 40.5t42 15.5t42 -15.5t17 -40.5q0 -26 -17 -41.5t-42 -15.5z" />+ <glyph glyph-name="dotlessi" unicode="ı"+d="M316 0v419h-226v67h308v-486h-82z" />+ <glyph glyph-name="IJ" unicode="IJ"+d="M112 0v656h83v-656h-83zM351 -165q-23 0 -41.5 4t-32.5 9l16 66q11 -4 23.5 -7t25.5 -3q38 0 50.5 25.5t12.5 70.5v656h83v-659q0 -74 -31.5 -118t-105.5 -44z" />+ <glyph glyph-name="ij" unicode="ij"+d="M112 0v486h82v-486h-82zM154 586q-26 0 -43.5 16t-17.5 42t17.5 42t43.5 16t43 -16t17 -42t-17 -42t-43 -16zM371 -217q-23 0 -40.5 4t-30.5 9l16 62q10 -3 21.5 -5.5t24.5 -2.5q37 0 48.5 25t11.5 70v541h82v-541q0 -74 -30 -118t-103 -44zM464 586q-26 0 -43.5 16+t-17.5 42t17.5 42t43.5 16t43 -16t17 -42t-17 -42t-43 -16z" />+ <glyph glyph-name="Jcircumflex" unicode="Ĵ"+d="M276 -12q-55 0 -108 26t-87 83l52 51q28 -45 65.5 -66t75.5 -21q71 0 103.5 37.5t32.5 118.5v370h-275v70h358v-447q0 -46 -11 -86.5t-36.5 -70.5t-67 -47.5t-102.5 -17.5zM212 699l-36 26l105 113h86l105 -113l-36 -26l-110 93h-4z" />+ <glyph glyph-name="jcircumflex" unicode="ĵ"+d="M194 -217q-38 0 -74 9.5t-65 23.5l27 61q26 -13 54.5 -20t56.5 -7q36 0 60 9t38 26t19.5 41.5t5.5 55.5v437h-226v67h308v-498q0 -45 -10 -82.5t-33.5 -65t-62.5 -42.5t-98 -15zM228 568l-35 32l114 140h82l114 -140l-35 -32l-118 113h-4z" />+ <glyph glyph-name="uni0136" unicode="Ķ"+d="M98 0v656h84v-329h3l276 329h95l-208 -249l232 -407h-94l-191 344l-113 -135v-209h-84zM251 -226l-8 40q63 5 86 16.5t23 31.5t-18 29.5t-53 12.5l18 38q65 -8 91 -25.5t26 -51.5q0 -44 -42.5 -65.5t-122.5 -25.5z" />+ <glyph glyph-name="uni0137" unicode="ķ"+d="M106 0v712h82v-482h4l262 256h94l-194 -191l220 -295h-92l-179 245l-115 -113v-132h-82zM248 -226l-8 40q63 5 86 16.5t23 31.5t-18 29.5t-53 12.5l18 38q65 -8 91 -25.5t26 -51.5q0 -44 -42.5 -65.5t-122.5 -25.5z" />+ <glyph glyph-name="kgreenlandic" unicode="ĸ"+d="M106 0v486h82v-256l3 1l263 255h94l-194 -193l220 -293h-92l-179 240l-115 -110v-130h-82z" />+ <glyph glyph-name="Lacute" unicode="Ĺ"+d="M134 0v656h82v-585h325v-71h-407zM161 697l-36 42l141 128l47 -55z" />+ <glyph glyph-name="lacute" unicode="ĺ"+d="M407 -12q-78 0 -119 44t-41 131v482h-173v67h255v-555q0 -54 26 -77.5t70 -23.5q43 0 91 22l21 -61q-34 -14 -62 -21.5t-68 -7.5zM257 757l-36 42l141 128l47 -55z" />+ <glyph glyph-name="uni013B" unicode="Ļ"+d="M134 0v656h82v-585h325v-71h-407zM262 -226l-8 40q63 5 86 16.5t23 31.5t-18 29.5t-53 12.5l18 38q65 -8 91 -25.5t26 -51.5q0 -44 -42.5 -65.5t-122.5 -25.5z" />+ <glyph glyph-name="uni013C" unicode="ļ"+d="M407 -12q-78 0 -119 44t-41 131v482h-173v67h255v-555q0 -54 26 -77.5t70 -23.5q43 0 91 22l21 -61q-34 -14 -62 -21.5t-68 -7.5zM298 -226l-8 40q63 5 86 16.5t23 31.5t-18 29.5t-53 12.5l18 38q65 -8 91 -25.5t26 -51.5q0 -44 -42.5 -65.5t-122.5 -25.5z" />+ <glyph glyph-name="Lcaron" unicode="Ľ"+d="M134 0v656h82v-585h325v-71h-407zM382 515l-3 268h74v-81l-14 -187h-57z" />+ <glyph glyph-name="lcaron" unicode="ľ"+d="M407 -12q-78 0 -119 44t-41 131v482h-173v67h255v-555q0 -54 26 -77.5t70 -23.5q43 0 91 22l21 -61q-34 -14 -62 -21.5t-68 -7.5zM404 548l-3 268h74v-81l-14 -187h-57z" />+ <glyph glyph-name="Ldot" unicode="Ŀ"+d="M134 0v656h82v-585h325v-71h-407zM467 287q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="ldot" unicode="ŀ"+d="M369 -12q-78 0 -119 44t-41 131v482h-173v67h255v-555q0 -54 26 -77.5t70 -23.5q43 0 91 22l21 -61q-34 -14 -62 -21.5t-68 -7.5zM569 286q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="Lslash" unicode="Ł"+d="M39 181l-29 53l124 66v356h82v-319l211 113l29 -53l-240 -128v-198h325v-71h-407v233z" />+ <glyph glyph-name="lslash" unicode="ł"+d="M407 -12q-78 0 -119 44t-41 131v172l-108 -64l-29 54l137 80v240h-173v67h255v-269l148 84l28 -54l-176 -100v-216q0 -54 26 -77.5t70 -23.5q43 0 91 22l21 -61q-34 -14 -62 -21.5t-68 -7.5z" />+ <glyph glyph-name="Nacute" unicode="Ń"+d="M82 0v656h92l210 -412l63 -136h2q-2 49 -6.5 102.5t-4.5 105.5v340h80v-656h-92l-210 412l-63 136h-2q2 -51 6.5 -102.5t4.5 -102.5v-343h-80zM281 697l-36 42l141 128l47 -55z" />+ <glyph glyph-name="nacute" unicode="ń"+d="M93 0v486h68l7 -83h4q38 41 82 68t101 27q87 0 127.5 -49.5t40.5 -146.5v-302h-82v291q0 69 -26 102.5t-86 33.5q-22 0 -40.5 -5.5t-36.5 -16.5t-37 -27.5t-40 -38.5v-339h-82zM297 568l-43 41l142 168l58 -56z" />+ <glyph glyph-name="uni0145" unicode="Ņ"+d="M82 0v656h92l210 -412l63 -136h2q-2 49 -6.5 102.5t-4.5 105.5v340h80v-656h-92l-210 412l-63 136h-2q2 -51 6.5 -102.5t4.5 -102.5v-343h-80zM213 -226l-8 40q63 5 86 16.5t23 31.5t-18 29.5t-53 12.5l18 38q65 -8 91 -25.5t26 -51.5q0 -44 -42.5 -65.5t-122.5 -25.5z+" />+ <glyph glyph-name="uni0146" unicode="ņ"+d="M93 0v486h68l7 -83h4q38 41 82 68t101 27q87 0 127.5 -49.5t40.5 -146.5v-302h-82v291q0 69 -26 102.5t-86 33.5q-22 0 -40.5 -5.5t-36.5 -16.5t-37 -27.5t-40 -38.5v-339h-82zM226 -226l-8 40q63 5 86 16.5t23 31.5t-18 29.5t-53 12.5l18 38q65 -8 91 -25.5t26 -51.5+q0 -44 -42.5 -65.5t-122.5 -25.5z" />+ <glyph glyph-name="Ncaron" unicode="Ň"+d="M82 0v656h92l210 -412l63 -136h2q-2 49 -6.5 102.5t-4.5 105.5v340h80v-656h-92l-210 412l-63 136h-2q2 -51 6.5 -102.5t4.5 -102.5v-343h-80zM267 706l-105 113l36 26l110 -92h4l110 92l36 -26l-105 -113h-86z" />+ <glyph glyph-name="ncaron" unicode="ň"+d="M93 0v486h68l7 -83h4q38 41 82 68t101 27q87 0 127.5 -49.5t40.5 -146.5v-302h-82v291q0 69 -26 102.5t-86 33.5q-22 0 -40.5 -5.5t-36.5 -16.5t-37 -27.5t-40 -38.5v-339h-82zM277 574l-114 140l35 32l118 -113h4l118 113l35 -32l-114 -140h-82z" />+ <glyph glyph-name="napostrophe" unicode="ʼn"+d="M196 0v486h68l7 -76h4q35 37 75 62.5t93 25.5q79 0 117 -48t38 -142v-308h-83v297q0 66 -23 98t-75 32q-39 0 -69.5 -20.5t-69.5 -60.5v-346h-82zM6 350l-28 48q47 26 74 65.5t30 92.5q-12 -6 -26 -6q-32 0 -51.5 19.5t-19.5 51.5q0 35 21 56.5t53 21.5q40 0 65 -32+t25 -89q0 -75 -38 -134t-105 -94z" />+ <glyph glyph-name="Eng" unicode="Ŋ"+d="M378 -12q-19 0 -40 3.5t-35 10.5l21 75q9 -5 20 -7.5t25 -2.5q20 0 37.5 12.5t30 43.5t19.5 82.5t7 129.5q0 74 -10.5 124t-30 80t-47 43t-60.5 13q-37 0 -78 -27t-69 -67v-501h-83v656h81v-77q32 37 75.5 63t91.5 26q46 0 86 -17.5t68.5 -57t45 -103t16.5 -155.5+q0 -95 -11.5 -161t-33.5 -107t-54 -60t-72 -19z" />+ <glyph glyph-name="eng" unicode="ŋ"+d="M387 -183q-23 0 -42.5 4.5t-33.5 9.5l16 63q11 -4 24 -7t27 -3q38 0 50.5 27t12.5 75v305q0 69 -26 102.5t-86 33.5q-22 0 -40.5 -5.5t-36.5 -16.5t-37 -27.5t-40 -38.5v-339h-82v486h68l7 -83h4q38 41 82 68t101 27q87 0 127.5 -49.5t40.5 -146.5v-316+q0 -78 -31.5 -123.5t-104.5 -45.5z" />+ <glyph glyph-name="Omacron" unicode="Ō"+d="M300 -12q-56 0 -102 23.5t-79.5 67.5t-52 107.5t-18.5 144.5q0 79 18.5 142t52 106t79.5 66t102 23q55 0 101.5 -23t80 -66t52 -106t18.5 -142q0 -81 -18.5 -144.5t-52 -107.5t-80 -67.5t-101.5 -23.5zM300 61q37 0 68 18.5t52.5 53.5t33.5 85t12 113q0 62 -12 111+t-33.5 83t-52.5 52t-68 18q-38 0 -68.5 -18t-52 -52t-33.5 -83t-12 -111q0 -63 12 -113t33.5 -85t52 -53.5t68.5 -18.5zM166 735v57h268v-57h-268z" />+ <glyph glyph-name="omacron" unicode="ō"+d="M300 -12q-48 0 -91.5 17t-76.5 49.5t-52.5 80t-19.5 107.5q0 61 19.5 108.5t52.5 80.5t76.5 50t91.5 17t91.5 -17t76.5 -50t52.5 -80.5t19.5 -108.5q0 -60 -19.5 -107.5t-52.5 -80t-76.5 -49.5t-91.5 -17zM300 56q35 0 63.5 13.5t49 38t31.5 58.5t11 76t-11 76.5+t-31.5 59.5t-49 38.5t-63.5 13.5t-63.5 -13.5t-49 -38.5t-31.5 -59.5t-11 -76.5t11 -76t31.5 -58.5t49 -38t63.5 -13.5zM167 601v57h266v-57h-266z" />+ <glyph glyph-name="Obreve" unicode="Ŏ"+d="M300 -12q-56 0 -102 23.5t-79.5 67.5t-52 107.5t-18.5 144.5q0 79 18.5 142t52 106t79.5 66t102 23q55 0 101.5 -23t80 -66t52 -106t18.5 -142q0 -81 -18.5 -144.5t-52 -107.5t-80 -67.5t-101.5 -23.5zM300 61q37 0 68 18.5t52.5 53.5t33.5 85t12 113q0 62 -12 111+t-33.5 83t-52.5 52t-68 18q-38 0 -68.5 -18t-52 -52t-33.5 -83t-12 -111q0 -63 12 -113t33.5 -85t52 -53.5t68.5 -18.5zM300 705q-35 0 -61 10.5t-44 28t-28 41t-13 49.5l50 8q6 -35 29.5 -59.5t66.5 -24.5t66.5 24.5t29.5 59.5l50 -8q-3 -26 -13 -49.5t-28 -41t-44 -28+t-61 -10.5z" />+ <glyph glyph-name="obreve" unicode="ŏ"+d="M300 -12q-48 0 -91.5 17t-76.5 49.5t-52.5 80t-19.5 107.5q0 61 19.5 108.5t52.5 80.5t76.5 50t91.5 17t91.5 -17t76.5 -50t52.5 -80.5t19.5 -108.5q0 -60 -19.5 -107.5t-52.5 -80t-76.5 -49.5t-91.5 -17zM300 56q35 0 63.5 13.5t49 38t31.5 58.5t11 76t-11 76.5+t-31.5 59.5t-49 38.5t-63.5 13.5t-63.5 -13.5t-49 -38.5t-31.5 -59.5t-11 -76.5t11 -76t31.5 -58.5t49 -38t63.5 -13.5zM300 571q-40 0 -69 13t-47.5 34.5t-28 48.5t-11.5 55l51 8q3 -19 10.5 -37.5t20.5 -33.5t31.5 -24t42.5 -9t42.5 9t31.5 24t20.5 33.5t10.5 37.5l51 -8+q-2 -28 -11.5 -55t-28.5 -48.5t-47.5 -34.5t-68.5 -13z" />+ <glyph glyph-name="Ohungarumlaut" unicode="Ő"+d="M300 -12q-56 0 -102 23.5t-79.5 67.5t-52 107.5t-18.5 144.5q0 79 18.5 142t52 106t79.5 66t102 23q55 0 101.5 -23t80 -66t52 -106t18.5 -142q0 -81 -18.5 -144.5t-52 -107.5t-80 -67.5t-101.5 -23.5zM300 61q37 0 68 18.5t52.5 53.5t33.5 85t12 113q0 62 -12 111+t-33.5 83t-52.5 52t-68 18q-38 0 -68.5 -18t-52 -52t-33.5 -83t-12 -111q0 -63 12 -113t33.5 -85t52 -53.5t68.5 -18.5zM228 703l-43 21l92 152l57 -32zM388 703l-43 21l93 152l56 -32z" />+ <glyph glyph-name="ohungarumlaut" unicode="ő"+d="M300 -12q-48 0 -91.5 17t-76.5 49.5t-52.5 80t-19.5 107.5q0 61 19.5 108.5t52.5 80.5t76.5 50t91.5 17t91.5 -17t76.5 -50t52.5 -80.5t19.5 -108.5q0 -60 -19.5 -107.5t-52.5 -80t-76.5 -49.5t-91.5 -17zM300 56q35 0 63.5 13.5t49 38t31.5 58.5t11 76t-11 76.5+t-31.5 59.5t-49 38.5t-63.5 13.5t-63.5 -13.5t-49 -38.5t-31.5 -59.5t-11 -76.5t11 -76t31.5 -58.5t49 -38t63.5 -13.5zM243 568l-46 21l87 172l58 -28zM394 568l-46 21l87 172l58 -28z" />+ <glyph glyph-name="OE" unicode="Œ"+d="M296 0q-125 0 -194 86.5t-69 244.5q0 157 70.5 241.5t195.5 84.5h282v-70h-194v-207h148v-71h-148v-238h204v-71h-295zM289 68h22v520h-22q-86 0 -128 -66t-42 -191q0 -126 42 -194.5t128 -68.5z" />+ <glyph glyph-name="oe" unicode="œ"+d="M188 56q22 0 39.5 13.5t30 38.5t19.5 59t7 76t-7 76t-19.5 59t-30 38.5t-39.5 13.5q-49 0 -74.5 -51.5t-25.5 -136.5q0 -84 25.5 -135t74.5 -51zM183 -12q-37 0 -68.5 17t-54.5 49.5t-36 80t-13 107.5q0 61 13 108.5t36.5 80.5t55 50t68.5 17q46 0 78.5 -29t52.5 -91+q20 62 55.5 91t82.5 29q36 0 63 -18t45 -48t27 -70.5t9 -85.5q0 -14 -1 -28.5t-3 -27.5h-246q5 -84 37.5 -124.5t81.5 -40.5q26 0 46 9t40 23l30 -56q-23 -18 -53.5 -30.5t-65.5 -12.5q-49 0 -88 28t-59 89q-21 -61 -54 -89t-79 -28zM446 433q-39 0 -66 -37t-32 -112h182+q-4 149 -84 149z" />+ <glyph glyph-name="Racute" unicode="Ŕ"+d="M100 0v656h204q50 0 92 -9.5t72.5 -31.5t47.5 -57t17 -86q0 -77 -40 -123t-107 -63l167 -286h-95l-158 277h-117v-277h-83zM183 345h109q77 0 117.5 31.5t40.5 95.5q0 65 -40.5 91t-117.5 26h-109v-244zM275 697l-36 42l141 128l47 -55z" />+ <glyph glyph-name="racute" unicode="ŕ"+d="M146 0v486h68l7 -115h3q38 59 93.5 93t123.5 34q27 0 50 -4.5t46 -15.5l-19 -71q-26 9 -43.5 13t-46.5 4q-55 0 -105.5 -31.5t-94.5 -107.5v-285h-82zM325 568l-43 41l142 168l58 -56z" />+ <glyph glyph-name="uni0156" unicode="Ŗ"+d="M100 0v656h204q50 0 92 -9.5t72.5 -31.5t47.5 -57t17 -86q0 -77 -40 -123t-107 -63l167 -286h-95l-158 277h-117v-277h-83zM183 345h109q77 0 117.5 31.5t40.5 95.5q0 65 -40.5 91t-117.5 26h-109v-244zM233 -226l-8 40q63 5 86 16.5t23 31.5t-18 29.5t-53 12.5l18 38+q65 -8 91 -25.5t26 -51.5q0 -44 -42.5 -65.5t-122.5 -25.5z" />+ <glyph glyph-name="uni0157" unicode="ŗ"+d="M146 0v486h68l7 -115h3q38 59 93.5 93t123.5 34q27 0 50 -4.5t46 -15.5l-19 -71q-26 9 -43.5 13t-46.5 4q-55 0 -105.5 -31.5t-94.5 -107.5v-285h-82zM111 -226l-8 40q63 5 86 16.5t23 31.5t-18 29.5t-53 12.5l18 38q65 -8 91 -25.5t26 -51.5q0 -44 -42.5 -65.5+t-122.5 -25.5z" />+ <glyph glyph-name="Rcaron" unicode="Ř"+d="M100 0v656h204q50 0 92 -9.5t72.5 -31.5t47.5 -57t17 -86q0 -77 -40 -123t-107 -63l167 -286h-95l-158 277h-117v-277h-83zM183 345h109q77 0 117.5 31.5t40.5 95.5q0 65 -40.5 91t-117.5 26h-109v-244zM261 706l-105 113l36 26l110 -92h4l110 92l36 -26l-105 -113h-86z+" />+ <glyph glyph-name="rcaron" unicode="ř"+d="M146 0v486h68l7 -115h3q38 59 93.5 93t123.5 34q27 0 50 -4.5t46 -15.5l-19 -71q-26 9 -43.5 13t-46.5 4q-55 0 -105.5 -31.5t-94.5 -107.5v-285h-82zM305 574l-114 140l35 32l118 -113h4l118 113l35 -32l-114 -140h-82z" />+ <glyph glyph-name="Sacute" unicode="Ś"+d="M305 -12q-72 0 -132.5 26t-105.5 71l50 58q37 -37 86 -59.5t106 -22.5q68 0 105.5 29t37.5 75q0 26 -9 44t-25 31t-37.5 23t-46.5 21l-94 41q-25 10 -50 24t-45.5 34t-33.5 47.5t-13 63.5q0 37 16 69t44.5 55.5t68 36.5t86.5 13q62 0 114 -22.5t88 -58.5l-44 -54+q-32 29 -71 45.5t-90 16.5q-57 0 -92 -25.5t-35 -70.5q0 -24 10.5 -40.5t27 -29t37.5 -21.5l42 -18l92 -40q30 -12 56.5 -27.5t46 -36t31 -48t11.5 -63.5q0 -39 -16 -73t-46 -59.5t-73 -40t-97 -14.5zM287 697l-36 42l141 128l47 -55z" />+ <glyph glyph-name="sacute" unicode="ś"+d="M310 -12q-72 0 -133 22.5t-106 53.5l38 54q42 -30 92.5 -48t118.5 -18q62 0 92.5 22.5t30.5 53.5q0 14 -5 26t-21.5 23t-46.5 21t-79 20q-95 20 -142.5 53.5t-47.5 88.5q0 29 13 54.5t38.5 44t63 29t87.5 10.5q56 0 108 -18.5t88 -43.5l-40 -53q-34 23 -75 37t-88 14+q-62 0 -87 -21t-25 -49q0 -32 33 -48.5t108 -32.5q61 -13 100 -27.5t61.5 -32.5t31 -40t8.5 -50q0 -30 -14 -56t-41.5 -46t-68 -31.5t-92.5 -11.5zM282 568l-43 41l142 168l58 -56z" />+ <glyph glyph-name="Scircumflex" unicode="Ŝ"+d="M305 -12q-72 0 -132.5 26t-105.5 71l50 58q37 -37 86 -59.5t106 -22.5q68 0 105.5 29t37.5 75q0 26 -9 44t-25 31t-37.5 23t-46.5 21l-94 41q-25 10 -50 24t-45.5 34t-33.5 47.5t-13 63.5q0 37 16 69t44.5 55.5t68 36.5t86.5 13q62 0 114 -22.5t88 -58.5l-44 -54+q-32 29 -71 45.5t-90 16.5q-57 0 -92 -25.5t-35 -70.5q0 -24 10.5 -40.5t27 -29t37.5 -21.5l42 -18l92 -40q30 -12 56.5 -27.5t46 -36t31 -48t11.5 -63.5q0 -39 -16 -73t-46 -59.5t-73 -40t-97 -14.5zM204 699l-36 26l105 113h86l105 -113l-36 -26l-110 93h-4z" />+ <glyph glyph-name="scircumflex" unicode="ŝ"+d="M310 -12q-72 0 -133 22.5t-106 53.5l38 54q42 -30 92.5 -48t118.5 -18q62 0 92.5 22.5t30.5 53.5q0 14 -5 26t-21.5 23t-46.5 21t-79 20q-95 20 -142.5 53.5t-47.5 88.5q0 29 13 54.5t38.5 44t63 29t87.5 10.5q56 0 108 -18.5t88 -43.5l-40 -53q-34 23 -75 37t-88 14+q-62 0 -87 -21t-25 -49q0 -32 33 -48.5t108 -32.5q61 -13 100 -27.5t61.5 -32.5t31 -40t8.5 -50q0 -30 -14 -56t-41.5 -46t-68 -31.5t-92.5 -11.5zM183 568l-35 32l114 140h82l114 -140l-35 -32l-118 113h-4z" />+ <glyph glyph-name="uni015E" unicode="Ş"+d="M305 -12q-72 0 -132.5 26t-105.5 71l50 58q37 -37 86 -59.5t106 -22.5q68 0 105.5 29t37.5 75q0 26 -9 44t-25 31t-37.5 23t-46.5 21l-94 41q-25 10 -50 24t-45.5 34t-33.5 47.5t-13 63.5q0 37 16 69t44.5 55.5t68 36.5t86.5 13q62 0 114 -22.5t88 -58.5l-44 -54+q-32 29 -71 45.5t-90 16.5q-57 0 -92 -25.5t-35 -70.5q0 -24 10.5 -40.5t27 -29t37.5 -21.5l42 -18l92 -40q30 -12 56.5 -27.5t46 -36t31 -48t11.5 -63.5q0 -39 -16 -73t-46 -59.5t-73 -40t-97 -14.5zM232 -226l-8 40q63 5 86 16.5t23 33.5q0 20 -17 31t-60 17l40 96h54+l-26 -72q35 -8 54 -24t19 -47q0 -44 -42.5 -65.5t-122.5 -25.5z" />+ <glyph glyph-name="uni015F" unicode="ş"+d="M310 -12q-72 0 -133 22.5t-106 53.5l38 54q42 -30 92.5 -48t118.5 -18q62 0 92.5 22.5t30.5 53.5q0 14 -5 26t-21.5 23t-46.5 21t-79 20q-95 20 -142.5 53.5t-47.5 88.5q0 29 13 54.5t38.5 44t63 29t87.5 10.5q56 0 108 -18.5t88 -43.5l-40 -53q-34 23 -75 37t-88 14+q-62 0 -87 -21t-25 -49q0 -32 33 -48.5t108 -32.5q61 -13 100 -27.5t61.5 -32.5t31 -40t8.5 -50q0 -30 -14 -56t-41.5 -46t-68 -31.5t-92.5 -11.5zM227 -226l-8 40q63 5 86 16.5t23 33.5q0 20 -17 31t-60 17l40 96h54l-26 -72q35 -8 54 -24t19 -47q0 -44 -42.5 -65.5+t-122.5 -25.5z" />+ <glyph glyph-name="Scaron" unicode="Š"+d="M305 -12q-72 0 -132.5 26t-105.5 71l50 58q37 -37 86 -59.5t106 -22.5q68 0 105.5 29t37.5 75q0 26 -9 44t-25 31t-37.5 23t-46.5 21l-94 41q-25 10 -50 24t-45.5 34t-33.5 47.5t-13 63.5q0 37 16 69t44.5 55.5t68 36.5t86.5 13q62 0 114 -22.5t88 -58.5l-44 -54+q-32 29 -71 45.5t-90 16.5q-57 0 -92 -25.5t-35 -70.5q0 -24 10.5 -40.5t27 -29t37.5 -21.5l42 -18l92 -40q30 -12 56.5 -27.5t46 -36t31 -48t11.5 -63.5q0 -39 -16 -73t-46 -59.5t-73 -40t-97 -14.5zM273 706l-105 113l36 26l110 -92h4l110 92l36 -26l-105 -113h-86z" />+ <glyph glyph-name="scaron" unicode="š"+d="M310 -12q-72 0 -133 22.5t-106 53.5l38 54q42 -30 92.5 -48t118.5 -18q62 0 92.5 22.5t30.5 53.5q0 14 -5 26t-21.5 23t-46.5 21t-79 20q-95 20 -142.5 53.5t-47.5 88.5q0 29 13 54.5t38.5 44t63 29t87.5 10.5q56 0 108 -18.5t88 -43.5l-40 -53q-34 23 -75 37t-88 14+q-62 0 -87 -21t-25 -49q0 -32 33 -48.5t108 -32.5q61 -13 100 -27.5t61.5 -32.5t31 -40t8.5 -50q0 -30 -14 -56t-41.5 -46t-68 -31.5t-92.5 -11.5zM262 574l-114 140l35 32l118 -113h4l118 113l35 -32l-114 -140h-82z" />+ <glyph glyph-name="uni0162" unicode="Ţ"+d="M258 0v586h-216v70h516v-70h-216v-586h-84zM213 -226l-8 40q63 5 86 16.5t23 33.5q0 20 -17 31t-60 17l40 96h54l-26 -72q35 -8 54 -24t19 -47q0 -44 -42.5 -65.5t-122.5 -25.5z" />+ <glyph glyph-name="uni0163" unicode="ţ"+d="M394 -12q-53 0 -89 14.5t-58 41t-31.5 63.5t-9.5 82v230h-137v62l140 5l11 156h68v-156h239v-67h-239v-231q0 -33 6 -57.5t20 -41.5t38 -25.5t59 -8.5t63 6t54 16l18 -60q-33 -12 -69.5 -20.5t-82.5 -8.5zM302 -226l-8 40q63 5 86 16.5t23 33.5q0 20 -17 31t-60 17l40 96+h54l-26 -72q35 -8 54 -24t19 -47q0 -44 -42.5 -65.5t-122.5 -25.5z" />+ <glyph glyph-name="Tcaron" unicode="Ť"+d="M258 0v586h-216v70h516v-70h-216v-586h-84zM257 706l-105 113l36 26l110 -92h4l110 92l36 -26l-105 -113h-86z" />+ <glyph glyph-name="tcaron" unicode="ť"+d="M394 -12q-53 0 -89 14.5t-58 41t-31.5 63.5t-9.5 82v230h-137v62l140 5l11 156h68v-156h239v-67h-239v-231q0 -33 6 -57.5t20 -41.5t38 -25.5t59 -8.5t63 6t54 16l18 -60q-33 -12 -69.5 -20.5t-82.5 -8.5zM399 548l-3 268h74v-81l-14 -187h-57z" />+ <glyph glyph-name="Tbar" unicode="Ŧ"+d="M116 306v58l90 4h52v218h-216v70h516v-70h-216v-218h142v-62h-142v-306h-84v306h-142z" />+ <glyph glyph-name="tbar" unicode="ŧ"+d="M70 220v58l136 6v135h-137v62l140 5l11 156h68v-156h239v-67h-239v-135h220v-64h-220v-32q0 -33 6 -57.5t20 -41.5t38 -25.5t59 -8.5t63 6t54 16l18 -60q-33 -12 -69.5 -20.5t-82.5 -8.5q-53 0 -89 14.5t-58 41t-31.5 63.5t-9.5 82v31h-136z" />+ <glyph glyph-name="Utilde" unicode="Ũ"+d="M301 -12q-48 0 -89 14t-70.5 45.5t-46 80.5t-16.5 120v408h84v-410q0 -51 10.5 -86.5t29 -57t43.5 -31.5t55 -10t55 10t44 31.5t29.5 57t10.5 86.5v410h81v-408q0 -71 -16.5 -120t-45.5 -80.5t-69.5 -45.5t-88.5 -14zM375 709q-28 0 -48 11t-36.5 24.5t-31 24.5t-32.5 11+q-19 0 -32 -17t-16 -49l-56 4q3 57 30 90t72 33q28 0 48 -11t36.5 -24.5t31 -24.5t32.5 -11q40 0 48 66l56 -4q-3 -58 -30 -90.5t-72 -32.5z" />+ <glyph glyph-name="utilde" unicode="ũ"+d="M246 -12q-88 0 -128.5 49.5t-40.5 146.5v302h83v-291q0 -69 25.5 -102.5t86.5 -33.5q42 0 76 21.5t75 68.5v337h82v-486h-67l-7 85h-4q-37 -43 -80.5 -70t-100.5 -27zM368 577q-27 0 -46 13t-35 29t-30.5 29t-31.5 13q-23 0 -34 -22t-13 -57l-55 3q1 29 7.5 54t18.5 43+t30.5 28.5t44.5 10.5q27 0 46 -13t35 -29t30.5 -29t32.5 -13q22 0 33 22t13 57l55 -4q-1 -29 -7.5 -53.5t-18.5 -42.5t-30.5 -28.5t-44.5 -10.5z" />+ <glyph glyph-name="Umacron" unicode="Ū"+d="M301 -12q-48 0 -89 14t-70.5 45.5t-46 80.5t-16.5 120v408h84v-410q0 -51 10.5 -86.5t29 -57t43.5 -31.5t55 -10t55 10t44 31.5t29.5 57t10.5 86.5v410h81v-408q0 -71 -16.5 -120t-45.5 -80.5t-69.5 -45.5t-88.5 -14zM166 735v57h268v-57h-268z" />+ <glyph glyph-name="umacron" unicode="ū"+d="M246 -12q-88 0 -128.5 49.5t-40.5 146.5v302h83v-291q0 -69 25.5 -102.5t86.5 -33.5q42 0 76 21.5t75 68.5v337h82v-486h-67l-7 85h-4q-37 -43 -80.5 -70t-100.5 -27zM163 601v57h266v-57h-266z" />+ <glyph glyph-name="Ubreve" unicode="Ŭ"+d="M301 -12q-48 0 -89 14t-70.5 45.5t-46 80.5t-16.5 120v408h84v-410q0 -51 10.5 -86.5t29 -57t43.5 -31.5t55 -10t55 10t44 31.5t29.5 57t10.5 86.5v410h81v-408q0 -71 -16.5 -120t-45.5 -80.5t-69.5 -45.5t-88.5 -14zM300 705q-35 0 -61 10.5t-44 28t-28 41t-13 49.5+l50 8q6 -35 29.5 -59.5t66.5 -24.5t66.5 24.5t29.5 59.5l50 -8q-3 -26 -13 -49.5t-28 -41t-44 -28t-61 -10.5z" />+ <glyph glyph-name="ubreve" unicode="ŭ"+d="M246 -12q-88 0 -128.5 49.5t-40.5 146.5v302h83v-291q0 -69 25.5 -102.5t86.5 -33.5q42 0 76 21.5t75 68.5v337h82v-486h-67l-7 85h-4q-37 -43 -80.5 -70t-100.5 -27zM296 571q-40 0 -69 13t-47.5 34.5t-28 48.5t-11.5 55l51 8q3 -19 10.5 -37.5t20.5 -33.5t31.5 -24+t42.5 -9t42.5 9t31.5 24t20.5 33.5t10.5 37.5l51 -8q-2 -28 -11.5 -55t-28.5 -48.5t-47.5 -34.5t-68.5 -13z" />+ <glyph glyph-name="Uring" unicode="Ů"+d="M301 -12q-48 0 -89 14t-70.5 45.5t-46 80.5t-16.5 120v408h84v-410q0 -51 10.5 -86.5t29 -57t43.5 -31.5t55 -10t55 10t44 31.5t29.5 57t10.5 86.5v410h81v-408q0 -71 -16.5 -120t-45.5 -80.5t-69.5 -45.5t-88.5 -14zM300 699q-42 0 -69.5 24.5t-27.5 65.5+q0 42 27.5 66.5t69.5 24.5t69.5 -24.5t27.5 -66.5q0 -41 -27.5 -65.5t-69.5 -24.5zM300 735q20 0 35.5 14t15.5 40t-15.5 40t-35.5 14q-22 0 -37 -14t-15 -40t15 -40t37 -14z" />+ <glyph glyph-name="uring" unicode="ů"+d="M246 -12q-88 0 -128.5 49.5t-40.5 146.5v302h83v-291q0 -69 25.5 -102.5t86.5 -33.5q42 0 76 21.5t75 68.5v337h82v-486h-67l-7 85h-4q-37 -43 -80.5 -70t-100.5 -27zM296 569q-52 0 -81 27.5t-29 68.5t29 68.5t81 27.5t81 -27.5t29 -68.5t-29 -68.5t-81 -27.5zM296 606+q24 0 40.5 17t16.5 42q0 26 -16.5 42.5t-40.5 16.5t-40.5 -16.5t-16.5 -42.5q0 -25 16.5 -42t40.5 -17z" />+ <glyph glyph-name="Uhungarumlaut" unicode="Ű"+d="M301 -12q-48 0 -89 14t-70.5 45.5t-46 80.5t-16.5 120v408h84v-410q0 -51 10.5 -86.5t29 -57t43.5 -31.5t55 -10t55 10t44 31.5t29.5 57t10.5 86.5v410h81v-408q0 -71 -16.5 -120t-45.5 -80.5t-69.5 -45.5t-88.5 -14zM228 703l-43 21l92 152l57 -32zM388 703l-43 21+l93 152l56 -32z" />+ <glyph glyph-name="uhungarumlaut" unicode="ű"+d="M246 -12q-88 0 -128.5 49.5t-40.5 146.5v302h83v-291q0 -69 25.5 -102.5t86.5 -33.5q42 0 76 21.5t75 68.5v337h82v-486h-67l-7 85h-4q-37 -43 -80.5 -70t-100.5 -27zM239 568l-46 21l87 172l58 -28zM390 568l-46 21l87 172l58 -28z" />+ <glyph glyph-name="Uogonek" unicode="Ų"+d="M318 -225q-45 0 -74 22.5t-29 68.5q0 21 6.5 39.5t16.5 34t22 28t22 21.5q-93 5 -148 68t-55 191v408h84v-410q0 -51 10.5 -86.5t28.5 -57t43 -31.5t55 -10t55.5 10t44 31.5t29.5 57t11 86.5v410h81v-408q0 -106 -35 -163.5t-103 -84.5q-59 -24 -81.5 -55t-22.5 -61+q0 -26 17 -38.5t38 -12.5q16 0 28 6.5t22 14.5l25 -43q-17 -15 -39.5 -25.5t-51.5 -10.5z" />+ <glyph glyph-name="uogonek" unicode="ų"+d="M446 -225q-44 0 -73.5 22.5t-29.5 70.5q0 43 28 75.5t67 56.5l-7 85h-4q-37 -43 -80.5 -70t-100.5 -27q-88 0 -128.5 49.5t-40.5 146.5v302h83v-291q0 -69 25.5 -102.5t86.5 -33.5q42 0 76 21.5t75 68.5v337h82v-491q-54 -24 -77.5 -53t-23.5 -58q0 -28 18 -41.5+t41 -13.5q17 0 30 6t22 15l24 -39q-17 -17 -40.5 -26.5t-52.5 -9.5z" />+ <glyph glyph-name="Wcircumflex" unicode="Ŵ"+d="M110 0l-100 657h94l48 -412q2 -21 4 -38t3.5 -34.5t3 -36.5t2.5 -43h3q4 24 8 43t7.5 36.5t7.5 34.5t9 37l64 244h80l62 -244q5 -20 9 -37t7.5 -34.5t7 -36.5t8.5 -43h4q1 24 2.5 43t3 36.5t3 34.5t3.5 37l46 413h90l-96 -657h-104l-64 264q-8 30 -13.5 59t-10.5 59h-3+q-5 -30 -10 -59t-13 -59l-64 -264h-102zM188 699l-36 26l105 113h86l105 -113l-36 -26l-110 93h-4z" />+ <glyph glyph-name="wcircumflex" unicode="ŵ"+d="M114 0l-106 486h82l58 -282q7 -35 12 -67t10 -67h4q5 35 12.5 67.5t15.5 66.5l60 252h82l58 -252q8 -35 16.5 -67t13.5 -67h4q6 35 10.5 67t11.5 67l58 282h76l-104 -486h-106l-56 232q-12 51 -24 144h-4q-12 -93 -24 -144l-54 -232h-106zM180 568l-35 32l114 140h82+l114 -140l-35 -32l-118 113h-4z" />+ <glyph glyph-name="Ycircumflex" unicode="Ŷ"+d="M258 0v234l-220 422h88l99 -195q19 -38 37 -75.5t38 -77.5h4l39 78l38 76l95 194h86l-220 -422v-234h-84zM188 699l-36 26l105 113h86l105 -113l-36 -26l-110 93h-4z" />+ <glyph glyph-name="ycircumflex" unicode="ŷ"+d="M131 -209q-36 0 -64 10l17 65q10 -3 21.5 -5t22.5 -2q51 0 83 29.5t50 74.5l15 36l-227 487h83l119 -269q14 -32 29.5 -69t30.5 -72h4q13 35 26.5 71.5t25.5 69.5l106 269h78l-214 -526q-14 -36 -32 -67t-43 -53.5t-57.5 -35.5t-73.5 -13zM184 568l-35 32l114 140h82+l114 -140l-35 -32l-118 113h-4z" />+ <glyph glyph-name="Ydieresis" unicode="Ÿ"+d="M258 0v234l-220 422h88l99 -195q19 -38 37 -75.5t38 -77.5h4l39 78l38 76l95 194h86l-220 -422v-234h-84zM209 715q-22 0 -36.5 14t-14.5 37t14.5 36.5t36.5 13.5t36 -13.5t14 -36.5t-14 -37t-36 -14zM391 715q-22 0 -36 14t-14 37t14 36.5t36 13.5t36.5 -13.5+t14.5 -36.5t-14.5 -37t-36.5 -14z" />+ <glyph glyph-name="Zacute" unicode="Ź"+d="M65 0v50l366 537h-334v70h437v-50l-367 -536h372v-71h-474zM288 697l-36 42l141 128l47 -55z" />+ <glyph glyph-name="zacute" unicode="ź"+d="M71 0v44l333 375h-296v67h414v-44l-334 -375h343v-67h-460zM301 568l-43 41l142 168l58 -56z" />+ <glyph glyph-name="Zdotaccent" unicode="Ż"+d="M65 0v50l366 537h-334v70h437v-50l-367 -536h372v-71h-474zM317 714q-25 0 -42 15.5t-17 41.5q0 25 17 40.5t42 15.5t42 -15.5t17 -40.5q0 -26 -17 -41.5t-42 -15.5z" />+ <glyph glyph-name="zdotaccent" unicode="ż"+d="M71 0v44l333 375h-296v67h414v-44l-334 -375h343v-67h-460zM322 588q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="Zcaron" unicode="Ž"+d="M65 0v50l366 537h-334v70h437v-50l-367 -536h372v-71h-474zM274 706l-105 113l36 26l110 -92h4l110 92l36 -26l-105 -113h-86z" />+ <glyph glyph-name="zcaron" unicode="ž"+d="M71 0v44l333 375h-296v67h414v-44l-334 -375h343v-67h-460zM281 574l-114 140l35 32l118 -113h4l118 113l35 -32l-114 -140h-82z" />+ <glyph glyph-name="longs" unicode="ſ"+d="M242 0v419h-139v62l139 5v41q0 89 47.5 143t148.5 54q72 0 140 -28l-19 -62q-30 14 -55.5 18.5t-57.5 4.5q-66 0 -94.5 -33.5t-28.5 -93.5v-530h-81z" />+ <glyph glyph-name="uni0180" unicode="ƀ"+d="M320 -12q-35 0 -75.5 17.5t-75.5 48.5h-3l-7 -54h-66v562h-73v59l73 5v86h82v-86h213v-64h-213v-67l-3 -91h3q33 34 76.5 54t86.5 20q49 0 87 -17t63.5 -47.5t38.5 -74.5t13 -98q0 -60 -18 -107t-48.5 -79.5t-70.5 -49.5t-83 -17zM307 57q64 0 106 48.5t42 134.5+q0 76 -32 122.5t-105 46.5q-32 0 -68.5 -17.5t-74.5 -55.5v-222q35 -31 70.5 -44t61.5 -13z" />+ <glyph glyph-name="uni018A" unicode="Ɗ"+d="M209 0v595q-57 -11 -86 -51t-29 -95q0 -48 19 -77t57 -52l-40 -58q-51 26 -80.5 70t-29.5 113q0 48 15.5 89t47 71t78 46.5t108.5 16.5q151 0 224.5 -86t73.5 -244q0 -162 -68.5 -250t-190.5 -88h-99zM292 68h21q82 0 125 70.5t43 199.5q0 122 -44.5 189t-144.5 72v-531z+" />+ <glyph glyph-name="uni018F" unicode="Ə"+d="M300 -12q-55 0 -99.5 24.5t-76 68.5t-48.5 106.5t-17 139.5v11.5t1 11.5h407q-4 118 -47 182t-123 64q-41 0 -74 -16t-58 -42l-40 57q31 32 74.5 52.5t101.5 20.5t104 -23.5t78.5 -67t49.5 -106t17 -141.5t-18.5 -142t-51.5 -107.5t-79 -68.5t-101 -24zM300 60+q69 0 113.5 57t52.5 169h-325q8 -114 49 -170t110 -56z" />+ <glyph glyph-name="uni0192" unicode="ƒ"+d="M132 -97q-26 0 -47 5.5t-36 12.5l16 62q14 -5 28.5 -9t30.5 -4q52 0 74.5 39.5t32.5 116.5l24 219h-104v59l70 4h41l6 56q13 100 53 152t124 52q26 0 50 -6t41 -14l-20 -62q-14 7 -29.5 11t-37.5 4q-25 0 -42.5 -11t-29.5 -29t-19 -41.5t-10 -48.5l-7 -63h142v-63h-149+l-27 -237q-6 -46 -17.5 -83.5t-31.5 -64.5t-51 -42t-75 -15z" />+ <glyph glyph-name="uni0193" unicode="Ɠ"+d="M525 588l-47 -53q-24 26 -55 43t-79 17q-46 0 -83.5 -18.5t-64.5 -53t-41.5 -83.5t-14.5 -110q0 -62 13.5 -111.5t39 -84.5t63.5 -54t86 -19q35 0 65 10.5t49 28.5v171h-131v69h208v-276q-31 -32 -81.5 -54t-114.5 -22q-62 0 -114 23t-90 66.5t-59 107t-21 143.5+q0 79 21.5 142.5t60 107t92 67t117.5 23.5q22 0 41.5 -3.5t36.5 -8.5q-7 20 -7 43q0 47 30.5 76t80.5 29q20 0 35.5 -4t27.5 -9l-16 -63q-8 3 -15.5 6t-18.5 3q-26 0 -40 -15.5t-14 -38.5q0 -27 10 -46.5t30 -48.5z" />+ <glyph glyph-name="Ohorn" unicode="Ơ"+d="M300 -12q-56 0 -102 23.5t-79.5 67.5t-52 107.5t-18.5 144.5q0 79 18.5 142t52 106t79.5 66t102 23q62 0 111 -28q78 16 78 86q0 15 -4 30.5t-11 27.5l65 29q11 -17 17 -37.5t6 -43.5q0 -51 -28 -82.5t-76 -43.5q45 -43 69.5 -112t24.5 -163q0 -81 -18.5 -144.5+t-52 -107.5t-80 -67.5t-101.5 -23.5zM300 61q37 0 68 18.5t52.5 53.5t33.5 85t12 113q0 62 -12 111t-33.5 83t-52.5 52t-68 18q-38 0 -68.5 -18t-52 -52t-33.5 -83t-12 -111q0 -63 12 -113t33.5 -85t52 -53.5t68.5 -18.5z" />+ <glyph glyph-name="ohorn" unicode="ơ"+d="M300 -12q-48 0 -91.5 17t-76.5 49.5t-52.5 80t-19.5 107.5q0 61 19.5 108.5t52.5 80.5t76.5 50t91.5 17q54 0 101 -21q42 9 64 32.5t22 66.5q0 15 -3.5 30.5t-11.5 27.5l64 30q11 -17 17 -38t6 -44q0 -29 -8.5 -51.5t-23 -39t-34 -28t-41.5 -18.5q40 -32 64 -83t24 -120+q0 -60 -19.5 -107.5t-52.5 -80t-76.5 -49.5t-91.5 -17zM300 56q35 0 63.5 13.5t49 38t31.5 58.5t11 76t-11 76.5t-31.5 59.5t-49 38.5t-63.5 13.5t-63.5 -13.5t-49 -38.5t-31.5 -59.5t-11 -76.5t11 -76t31.5 -58.5t49 -38t63.5 -13.5z" />+ <glyph glyph-name="Uhorn" unicode="Ư"+d="M301 -12q-48 0 -89 14t-70.5 45.5t-46 80.5t-16.5 120v408h84v-410q0 -51 10.5 -86.5t29 -57t43.5 -31.5t55 -10t55 10t44 31.5t29.5 57t10.5 86.5v410h33q41 5 62.5 23t21.5 60q0 15 -4 30.5t-11 27.5l65 28q11 -17 17 -37t6 -43q0 -58 -31.5 -86t-77.5 -39v-372+q0 -71 -16.5 -120t-45.5 -80.5t-69.5 -45.5t-88.5 -14z" />+ <glyph glyph-name="uhorn" unicode="ư"+d="M246 -12q-88 0 -128.5 49.5t-40.5 146.5v302h83v-291q0 -69 25.5 -102.5t86.5 -33.5q42 0 76 21.5t75 68.5v337h16q18 3 33.5 9t27.5 17t18.5 28t6.5 42q0 15 -3 30.5t-11 27.5l64 30q11 -17 17 -38t6 -44q0 -29 -8 -50.5t-21 -37t-29.5 -26t-34.5 -17.5v-457h-67l-7 85+h-4q-37 -43 -80.5 -70t-100.5 -27z" />+ <glyph glyph-name="uni01C2" unicode="ǂ"+d="M260 -205v359h-176v58l176 4v108h-176v58l176 4v326h80v-326h176v-62h-176v-108h176v-62h-176v-359h-80z" />+ <glyph glyph-name="uni01CD" unicode="Ǎ"+d="M232 367l-31 -100h196l-31 100q-17 55 -33.5 109.5t-31.5 111.5h-4q-16 -57 -32 -111.5t-33 -109.5zM32 0l221 656h94l221 -656h-88l-62 200h-238l-63 -200h-85zM257 706l-105 113l36 26l110 -92h4l110 92l36 -26l-105 -113h-86z" />+ <glyph glyph-name="uni01CE" unicode="ǎ"+d="M246 -12q-34 0 -64 9.5t-52.5 27t-35.5 43t-13 58.5q0 41 19.5 71.5t62 52.5t109.5 36t161 22q-1 25 -8 47t-22 38.5t-39.5 26.5t-59.5 10q-48 0 -92 -18.5t-78 -39.5l-32 56q18 12 42.5 24.5t52 22.5t58.5 16.5t63 6.5q100 0 148.5 -54.5t48.5 -145.5v-298h-67l-7 66h-3+q-41 -32 -90.5 -55t-101.5 -23zM268 54q42 0 82.5 18.5t82.5 53.5v128q-78 -6 -130.5 -17t-84 -26.5t-44.5 -35t-13 -43.5q0 -21 9 -35.5t23.5 -24t34 -14t40.5 -4.5zM279 574l-114 140l35 32l118 -113h4l118 113l35 -32l-114 -140h-82z" />+ <glyph glyph-name="uni01CF" unicode="Ǐ"+d="M95 0v71h163v515h-163v70h410v-70h-163v-515h163v-71h-410zM257 706l-105 113l36 26l110 -92h4l110 92l36 -26l-105 -113h-86z" />+ <glyph glyph-name="uni01D0" unicode="ǐ"+d="M316 0v419h-226v67h308v-486h-82zM307 574l-114 140l35 32l118 -113h4l118 113l35 -32l-114 -140h-82z" />+ <glyph glyph-name="uni01D1" unicode="Ǒ"+d="M300 -12q-56 0 -102 23.5t-79.5 67.5t-52 107.5t-18.5 144.5q0 79 18.5 142t52 106t79.5 66t102 23q55 0 101.5 -23t80 -66t52 -106t18.5 -142q0 -81 -18.5 -144.5t-52 -107.5t-80 -67.5t-101.5 -23.5zM300 61q37 0 68 18.5t52.5 53.5t33.5 85t12 113q0 62 -12 111+t-33.5 83t-52.5 52t-68 18q-38 0 -68.5 -18t-52 -52t-33.5 -83t-12 -111q0 -63 12 -113t33.5 -85t52 -53.5t68.5 -18.5zM257 706l-105 113l36 26l110 -92h4l110 92l36 -26l-105 -113h-86z" />+ <glyph glyph-name="uni01D2" unicode="ǒ"+d="M300 -12q-48 0 -91.5 17t-76.5 49.5t-52.5 80t-19.5 107.5q0 61 19.5 108.5t52.5 80.5t76.5 50t91.5 17t91.5 -17t76.5 -50t52.5 -80.5t19.5 -108.5q0 -60 -19.5 -107.5t-52.5 -80t-76.5 -49.5t-91.5 -17zM300 56q35 0 63.5 13.5t49 38t31.5 58.5t11 76t-11 76.5+t-31.5 59.5t-49 38.5t-63.5 13.5t-63.5 -13.5t-49 -38.5t-31.5 -59.5t-11 -76.5t11 -76t31.5 -58.5t49 -38t63.5 -13.5zM259 574l-114 140l35 32l118 -113h4l118 113l35 -32l-114 -140h-82z" />+ <glyph glyph-name="uni01D3" unicode="Ǔ"+d="M301 -12q-48 0 -89 14t-70.5 45.5t-46 80.5t-16.5 120v408h84v-410q0 -51 10.5 -86.5t29 -57t43.5 -31.5t55 -10t55 10t44 31.5t29.5 57t10.5 86.5v410h81v-408q0 -71 -16.5 -120t-45.5 -80.5t-69.5 -45.5t-88.5 -14zM257 706l-105 113l36 26l110 -92h4l110 92l36 -26+l-105 -113h-86z" />+ <glyph glyph-name="uni01D4" unicode="ǔ"+d="M246 -12q-88 0 -128.5 49.5t-40.5 146.5v302h83v-291q0 -69 25.5 -102.5t86.5 -33.5q42 0 76 21.5t75 68.5v337h82v-486h-67l-7 85h-4q-37 -43 -80.5 -70t-100.5 -27zM255 574l-114 140l35 32l118 -113h4l118 113l35 -32l-114 -140h-82z" />+ <glyph glyph-name="uni01D5" unicode="Ǖ"+d="M301 -12q-48 0 -89 14t-70.5 45.5t-46 80.5t-16.5 120v408h84v-410q0 -51 10.5 -86.5t29 -57t43.5 -31.5t55 -10t55 10t44 31.5t29.5 57t10.5 86.5v410h81v-408q0 -71 -16.5 -120t-45.5 -80.5t-69.5 -45.5t-88.5 -14zM197 715q-20 0 -32.5 13t-12.5 33t12.5 32.5+t32.5 12.5t33 -12.5t13 -32.5t-13 -33t-33 -13zM403 715q-20 0 -33 13t-13 33t13 32.5t33 12.5t32.5 -12.5t12.5 -32.5t-12.5 -33t-32.5 -13zM166 861v46h268v-46h-268z" />+ <glyph glyph-name="uni01D6" unicode="ǖ"+d="M246 -12q-88 0 -128.5 49.5t-40.5 146.5v302h83v-291q0 -69 25.5 -102.5t86.5 -33.5q42 0 76 21.5t75 68.5v337h82v-486h-67l-7 85h-4q-37 -43 -80.5 -70t-100.5 -27zM200 588q-20 0 -33 13t-13 32q0 20 13 33t33 13t32.5 -13t12.5 -33q0 -19 -12.5 -32t-32.5 -13z+M392 588q-20 0 -32.5 13t-12.5 32q0 20 12.5 33t32.5 13t33 -13t13 -33q0 -19 -13 -32t-33 -13zM162 750v47h267v-47h-267z" />+ <glyph glyph-name="uni01D7" unicode="Ǘ"+d="M301 -12q-48 0 -89 14t-70.5 45.5t-46 80.5t-16.5 120v408h84v-410q0 -51 10.5 -86.5t29 -57t43.5 -31.5t55 -10t55 10t44 31.5t29.5 57t10.5 86.5v410h81v-408q0 -71 -16.5 -120t-45.5 -80.5t-69.5 -45.5t-88.5 -14zM197 715q-20 0 -32.5 13t-12.5 33t12.5 32.5+t32.5 12.5t33 -12.5t13 -32.5t-13 -33t-33 -13zM403 715q-20 0 -33 13t-13 33t13 32.5t33 12.5t32.5 -12.5t12.5 -32.5t-12.5 -33t-32.5 -13zM299 823l-37 26l95 119l53 -36z" />+ <glyph glyph-name="uni01D8" unicode="ǘ"+d="M246 -12q-88 0 -128.5 49.5t-40.5 146.5v302h83v-291q0 -69 25.5 -102.5t86.5 -33.5q42 0 76 21.5t75 68.5v337h82v-486h-67l-7 85h-4q-37 -43 -80.5 -70t-100.5 -27zM200 588q-20 0 -33 13t-13 32q0 20 13 33t33 13t32.5 -13t12.5 -33q0 -19 -12.5 -32t-32.5 -13z+M392 588q-20 0 -32.5 13t-12.5 32q0 20 12.5 33t32.5 13t33 -13t13 -33q0 -19 -13 -32t-33 -13zM289 705l-35 24l82 115l49 -34z" />+ <glyph glyph-name="uni01D9" unicode="Ǚ"+d="M301 -12q-48 0 -89 14t-70.5 45.5t-46 80.5t-16.5 120v408h84v-410q0 -51 10.5 -86.5t29 -57t43.5 -31.5t55 -10t55 10t44 31.5t29.5 57t10.5 86.5v410h81v-408q0 -71 -16.5 -120t-45.5 -80.5t-69.5 -45.5t-88.5 -14zM197 715q-20 0 -32.5 13t-12.5 33t12.5 32.5+t32.5 12.5t33 -12.5t13 -32.5t-13 -33t-33 -13zM403 715q-20 0 -33 13t-13 33t13 32.5t33 12.5t32.5 -12.5t12.5 -32.5t-12.5 -33t-32.5 -13zM264 839l-99 96l33 27l100 -75h4l100 75l33 -27l-99 -96h-72z" />+ <glyph glyph-name="uni01DA" unicode="ǚ"+d="M246 -12q-88 0 -128.5 49.5t-40.5 146.5v302h83v-291q0 -69 25.5 -102.5t86.5 -33.5q42 0 76 21.5t75 68.5v337h82v-486h-67l-7 85h-4q-37 -43 -80.5 -70t-100.5 -27zM200 588q-20 0 -33 13t-13 32q0 20 13 33t33 13t32.5 -13t12.5 -33q0 -19 -12.5 -32t-32.5 -13z+M392 588q-20 0 -32.5 13t-12.5 32q0 20 12.5 33t32.5 13t33 -13t13 -33q0 -19 -13 -32t-33 -13zM262 720l-94 92l30 28l96 -73h4l96 73l30 -28l-94 -92h-68z" />+ <glyph glyph-name="uni01DB" unicode="Ǜ"+d="M301 -12q-48 0 -89 14t-70.5 45.5t-46 80.5t-16.5 120v408h84v-410q0 -51 10.5 -86.5t29 -57t43.5 -31.5t55 -10t55 10t44 31.5t29.5 57t10.5 86.5v410h81v-408q0 -71 -16.5 -120t-45.5 -80.5t-69.5 -45.5t-88.5 -14zM197 715q-20 0 -32.5 13t-12.5 33t12.5 32.5+t32.5 12.5t33 -12.5t13 -32.5t-13 -33t-33 -13zM403 715q-20 0 -33 13t-13 33t13 32.5t33 12.5t32.5 -12.5t12.5 -32.5t-12.5 -33t-32.5 -13zM301 823l-111 109l53 36l95 -119z" />+ <glyph glyph-name="uni01DC" unicode="ǜ"+d="M246 -12q-88 0 -128.5 49.5t-40.5 146.5v302h83v-291q0 -69 25.5 -102.5t86.5 -33.5q42 0 76 21.5t75 68.5v337h82v-486h-67l-7 85h-4q-37 -43 -80.5 -70t-100.5 -27zM200 588q-20 0 -33 13t-13 32q0 20 13 33t33 13t32.5 -13t12.5 -33q0 -19 -12.5 -32t-32.5 -13z+M392 588q-20 0 -32.5 13t-12.5 32q0 20 12.5 33t32.5 13t33 -13t13 -33q0 -19 -13 -32t-33 -13zM303 705l-96 105l49 34l82 -115z" />+ <glyph glyph-name="uni01E2" unicode="Ǣ"+d="M231 377l-46 -119h132v332h-3q-20 -54 -41.5 -106.5t-41.5 -106.5zM-1 0l264 656h319v-70h-189v-205h147v-71h-147v-239h198v-71h-274v191h-158l-73 -191h-87zM286 735v57h268v-57h-268z" />+ <glyph glyph-name="uni01E3" unicode="ǣ"+d="M145 -12q-56 0 -92 35t-36 97q0 74 58.5 119.5t190.5 62.5q-2 71 -26 99.5t-62 28.5q-30 0 -60.5 -12t-53.5 -28l-31 56q30 20 69.5 36t82.5 16q44 0 75 -23t48 -77q25 54 62 77t78 23q38 0 66 -18t46.5 -48.5t27.5 -70.5t9 -85q0 -14 -1 -28.5t-3 -27.5h-261+q4 -77 36 -121t89 -44q28 0 51.5 9t43.5 23l30 -56q-25 -18 -57.5 -30.5t-70.5 -12.5q-51 0 -88.5 22.5t-61.5 64.5q-35 -42 -74.5 -64.5t-84.5 -22.5zM167 54q28 0 59 17.5t57 51.5q-17 54 -17 119v7q-51 -8 -84 -19.5t-53 -26.5t-28 -34t-8 -41q0 -35 20.5 -54.5+t53.5 -19.5zM443 433q-38 0 -70 -34t-40 -115h197q-4 149 -87 149zM183 601v57h266v-57h-266z" />+ <glyph glyph-name="Gcaron" unicode="Ǧ"+d="M337 -12q-62 0 -114 23t-90 66.5t-59 107t-21 143.5q0 79 21.5 142.5t60 107t92 67t117.5 23.5q33 0 60 -7t49.5 -18.5t40 -25.5t31.5 -29l-47 -53q-24 26 -55 43t-79 17q-46 0 -83.5 -18.5t-64.5 -53t-41.5 -83.5t-14.5 -110q0 -62 13.5 -111.5t39 -84.5t63.5 -54+t86 -19q35 0 65 10.5t49 28.5v171h-131v69h208v-276q-31 -32 -81.5 -54t-114.5 -22zM287 706l-105 113l36 26l110 -92h4l110 92l36 -26l-105 -113h-86z" />+ <glyph glyph-name="gcaron" unicode="ǧ"+d="M296 -224q-107 0 -165.5 35t-58.5 100q0 29 20.5 57t59.5 51v4q-20 11 -35 30t-15 50q0 23 15 47.5t43 43.5v4q-25 19 -42.5 50.5t-17.5 75.5q0 40 15.5 72t41.5 54.5t60.5 35t73.5 12.5q40 0 72 -12h201v-67h-126q17 -17 29 -43t12 -55q0 -39 -14.5 -70t-40 -52.5+t-60 -33t-73.5 -11.5q-19 0 -40.5 4.5t-41.5 13.5q-38 -24 -38 -56q0 -29 26.5 -42.5t74.5 -13.5h109q94 0 139.5 -26t45.5 -88q0 -34 -19 -65t-54 -54t-85 -37t-112 -14zM291 209q47 0 79.5 31t32.5 84q0 25 -9 46t-24 36t-35.5 23.5t-43.5 8.5t-43.5 -8.5t-35.5 -23.5+t-24 -36t-9 -46q0 -53 33 -84t79 -31zM302 -164q42 0 76 8t58 21.5t36.5 31t12.5 36.5q0 35 -27.5 47t-83.5 12h-95q-21 0 -39.5 1.5t-34.5 6.5q-35 -19 -48.5 -39.5t-13.5 -41.5q0 -38 40.5 -60.5t118.5 -22.5zM266 574l-114 140l35 32l118 -113h4l118 113l35 -32+l-114 -140h-82z" />+ <glyph glyph-name="uni01EA" unicode="Ǫ"+d="M318 -225q-45 0 -74 22.5t-29 68.5q0 40 21.5 70t49.5 53q-58 4 -102.5 32t-74.5 73t-45.5 105.5t-15.5 131.5q0 79 18.5 141.5t52 106t79.5 66.5t102 23q55 0 101.5 -23.5t80 -67t52 -106t18.5 -140.5q0 -132 -46.5 -214t-134.5 -119q-46 -20 -69 -51.5t-23 -62.5+q0 -26 17 -38.5t38 -12.5q16 0 28 6.5t22 14.5l25 -43q-17 -15 -39.5 -25.5t-51.5 -10.5zM300 60q75 0 120.5 71t45.5 200q0 62 -12 111t-33.5 83t-52.5 52t-68 18q-38 0 -68.5 -18t-52 -52t-33.5 -83t-12 -111q0 -129 45.5 -200t120.5 -71z" />+ <glyph glyph-name="uni01EB" unicode="ǫ"+d="M324 -225q-43 0 -72 22.5t-29 70.5q0 39 21 69.5t47 51.5q-50 2 -92.5 21t-73 51.5t-48 78.5t-17.5 102q0 61 19.5 108.5t52.5 80.5t76.5 50t91.5 17t91.5 -17t76.5 -50t52.5 -80.5t19.5 -108.5q0 -51 -12 -89t-34.5 -67t-54 -50.5t-70.5 -38.5q-41 -18 -63 -50t-22 -63+q0 -29 18 -42t39 -13q19 0 32 6.5t22 14.5l24 -39q-17 -16 -40.5 -26t-54.5 -10zM300 55q35 0 63.5 13.5t49 38t31.5 59t11 76.5t-11 76.5t-31.5 59.5t-49 38.5t-63.5 13.5t-63.5 -13.5t-49 -38.5t-31.5 -59.5t-11 -76.5t11 -76.5t31.5 -59t49 -38t63.5 -13.5z" />+ <glyph glyph-name="uni01F4" unicode="Ǵ"+d="M337 -12q-62 0 -114 23t-90 66.5t-59 107t-21 143.5q0 79 21.5 142.5t60 107t92 67t117.5 23.5q33 0 60 -7t49.5 -18.5t40 -25.5t31.5 -29l-47 -53q-24 26 -55 43t-79 17q-46 0 -83.5 -18.5t-64.5 -53t-41.5 -83.5t-14.5 -110q0 -62 13.5 -111.5t39 -84.5t63.5 -54+t86 -19q35 0 65 10.5t49 28.5v171h-131v69h208v-276q-31 -32 -81.5 -54t-114.5 -22zM301 697l-36 42l141 128l47 -55z" />+ <glyph glyph-name="uni01F5" unicode="ǵ"+d="M296 -224q-107 0 -165.5 35t-58.5 100q0 29 20.5 57t59.5 51v4q-20 11 -35 30t-15 50q0 23 15 47.5t43 43.5v4q-25 19 -42.5 50.5t-17.5 75.5q0 40 15.5 72t41.5 54.5t60.5 35t73.5 12.5q40 0 72 -12h201v-67h-126q17 -17 29 -43t12 -55q0 -39 -14.5 -70t-40 -52.5+t-60 -33t-73.5 -11.5q-19 0 -40.5 4.5t-41.5 13.5q-38 -24 -38 -56q0 -29 26.5 -42.5t74.5 -13.5h109q94 0 139.5 -26t45.5 -88q0 -34 -19 -65t-54 -54t-85 -37t-112 -14zM291 209q47 0 79.5 31t32.5 84q0 25 -9 46t-24 36t-35.5 23.5t-43.5 8.5t-43.5 -8.5t-35.5 -23.5+t-24 -36t-9 -46q0 -53 33 -84t79 -31zM302 -164q42 0 76 8t58 21.5t36.5 31t12.5 36.5q0 35 -27.5 47t-83.5 12h-95q-21 0 -39.5 1.5t-34.5 6.5q-35 -19 -48.5 -39.5t-13.5 -41.5q0 -38 40.5 -60.5t118.5 -22.5zM286 568l-43 41l142 168l58 -56z" />+ <glyph glyph-name="uni01F8" unicode="Ǹ"+d="M82 0v656h92l210 -412l63 -136h2q-2 49 -6.5 102.5t-4.5 105.5v340h80v-656h-92l-210 412l-63 136h-2q2 -51 6.5 -102.5t4.5 -102.5v-343h-80zM339 697l-152 115l47 55l141 -128z" />+ <glyph glyph-name="uni01F9" unicode="ǹ"+d="M93 0v486h68l7 -83h4q38 41 82 68t101 27q87 0 127.5 -49.5t40.5 -146.5v-302h-82v291q0 69 -26 102.5t-86 33.5q-22 0 -40.5 -5.5t-36.5 -16.5t-37 -27.5t-40 -38.5v-339h-82zM339 568l-157 153l58 56l142 -168z" />+ <glyph glyph-name="Aringacute" unicode="Ǻ"+d="M232 367l-31 -100h196l-31 100q-17 55 -33.5 109.5t-31.5 111.5h-4q-16 -57 -32 -111.5t-33 -109.5zM32 0l221 656h94l221 -656h-88l-62 200h-238l-63 -200h-85zM300 699q-42 0 -69.5 24.5t-27.5 65.5q0 24 10 43t27 31l132 105l37 -50l-79 -42q30 -8 48.5 -31t18.5 -56+q0 -41 -27.5 -65.5t-69.5 -24.5zM300 735q20 0 35.5 14t15.5 40t-15.5 40t-35.5 14q-22 0 -37 -14t-15 -40t15 -40t37 -14z" />+ <glyph glyph-name="aringacute" unicode="ǻ"+d="M246 -12q-34 0 -64 9.5t-52.5 27t-35.5 43t-13 58.5q0 41 19.5 71.5t62 52.5t109.5 36t161 22q-1 25 -8 47t-22 38.5t-39.5 26.5t-59.5 10q-48 0 -92 -18.5t-78 -39.5l-32 56q18 12 42.5 24.5t52 22.5t58.5 16.5t63 6.5q100 0 148.5 -54.5t48.5 -145.5v-298h-67l-7 66h-3+q-41 -32 -90.5 -55t-101.5 -23zM268 54q42 0 82.5 18.5t82.5 53.5v128q-78 -6 -130.5 -17t-84 -26.5t-44.5 -35t-13 -43.5q0 -21 9 -35.5t23.5 -24t34 -14t40.5 -4.5zM320 569q-52 0 -81 27.5t-29 68.5q0 26 12 47t35 34l133 97l35 -50l-73 -35q37 -8 57.5 -33.5t20.5 -59.5+q0 -41 -29 -68.5t-81 -27.5zM320 606q24 0 40.5 17t16.5 42q0 26 -16.5 42.5t-40.5 16.5t-40.5 -16.5t-16.5 -42.5q0 -25 16.5 -42t40.5 -17z" />+ <glyph glyph-name="AEacute" unicode="Ǽ"+d="M231 377l-46 -119h132v332h-3q-20 -54 -41.5 -106.5t-41.5 -106.5zM-1 0l264 656h319v-70h-189v-205h147v-71h-147v-239h198v-71h-274v191h-158l-73 -191h-87zM391 697l-36 42l141 128l47 -55z" />+ <glyph glyph-name="aeacute" unicode="ǽ"+d="M145 -12q-56 0 -92 35t-36 97q0 74 58.5 119.5t190.5 62.5q-2 71 -26 99.5t-62 28.5q-30 0 -60.5 -12t-53.5 -28l-31 56q30 20 69.5 36t82.5 16q44 0 75 -23t48 -77q25 54 62 77t78 23q38 0 66 -18t46.5 -48.5t27.5 -70.5t9 -85q0 -14 -1 -28.5t-3 -27.5h-261+q4 -77 36 -121t89 -44q28 0 51.5 9t43.5 23l30 -56q-25 -18 -57.5 -30.5t-70.5 -12.5q-51 0 -88.5 22.5t-61.5 64.5q-35 -42 -74.5 -64.5t-84.5 -22.5zM167 54q28 0 59 17.5t57 51.5q-17 54 -17 119v7q-51 -8 -84 -19.5t-53 -26.5t-28 -34t-8 -41q0 -35 20.5 -54.5+t53.5 -19.5zM443 433q-38 0 -70 -34t-40 -115h197q-4 149 -87 149zM295 568l-43 41l142 168l58 -56z" />+ <glyph glyph-name="Oslashacute" unicode="Ǿ"+d="M300 -12q-89 0 -154 60l-54 -80l-56 36l67 98q-26 43 -40.5 100.5t-14.5 128.5q0 79 18.5 142t52 106t79.5 66t102 23q87 0 152 -57l52 77l56 -36l-64 -94q27 -42 41.5 -99t14.5 -128q0 -81 -18.5 -144.5t-52 -107.5t-80 -67.5t-101.5 -23.5zM134 331q0 -87 23 -150+l249 364q-44 50 -106 50q-38 0 -68.5 -18t-52 -52t-33.5 -83t-12 -111zM300 61q37 0 68 18.5t52.5 53.5t33.5 85t12 113q0 89 -24 149l-250 -365q43 -54 108 -54zM271 697l-36 42l141 128l47 -55z" />+ <glyph glyph-name="oslashacute" unicode="ǿ"+d="M300 -12q-79 0 -140 43l-52 -61l-46 42l53 62q-26 32 -40.5 74t-14.5 94q0 61 19.5 108.5t52.5 80.5t76.5 50t91.5 17q79 0 140 -43l52 61l46 -42l-53 -62q26 -32 40.5 -74.5t14.5 -95.5q0 -60 -19.5 -107.5t-52.5 -80t-76.5 -49.5t-91.5 -17zM145 242q0 -60 23 -106+l224 263q-38 33 -92 33q-35 0 -63.5 -14t-49 -39t-31.5 -60t-11 -77zM300 54q35 0 63.5 14t49 38.5t31.5 59t11 76.5q0 63 -23 107l-225 -263q19 -15 42.5 -23.5t50.5 -8.5zM279 568l-43 41l142 168l58 -56z" />+ <glyph glyph-name="uni0218" unicode="Ș"+d="M305 -12q-72 0 -132.5 26t-105.5 71l50 58q37 -37 86 -59.5t106 -22.5q68 0 105.5 29t37.5 75q0 26 -9 44t-25 31t-37.5 23t-46.5 21l-94 41q-25 10 -50 24t-45.5 34t-33.5 47.5t-13 63.5q0 37 16 69t44.5 55.5t68 36.5t86.5 13q62 0 114 -22.5t88 -58.5l-44 -54+q-32 29 -71 45.5t-90 16.5q-57 0 -92 -25.5t-35 -70.5q0 -24 10.5 -40.5t27 -29t37.5 -21.5l42 -18l92 -40q30 -12 56.5 -27.5t46 -36t31 -48t11.5 -63.5q0 -39 -16 -73t-46 -59.5t-73 -40t-97 -14.5zM226 -226l-8 40q63 5 86 16.5t23 31.5t-18 29.5t-53 12.5l18 38+q65 -8 91 -25.5t26 -51.5q0 -44 -42.5 -65.5t-122.5 -25.5z" />+ <glyph glyph-name="uni0219" unicode="ș"+d="M310 -12q-72 0 -133 22.5t-106 53.5l38 54q42 -30 92.5 -48t118.5 -18q62 0 92.5 22.5t30.5 53.5q0 14 -5 26t-21.5 23t-46.5 21t-79 20q-95 20 -142.5 53.5t-47.5 88.5q0 29 13 54.5t38.5 44t63 29t87.5 10.5q56 0 108 -18.5t88 -43.5l-40 -53q-34 23 -75 37t-88 14+q-62 0 -87 -21t-25 -49q0 -32 33 -48.5t108 -32.5q61 -13 100 -27.5t61.5 -32.5t31 -40t8.5 -50q0 -30 -14 -56t-41.5 -46t-68 -31.5t-92.5 -11.5zM222 -226l-8 40q63 5 86 16.5t23 31.5t-18 29.5t-53 12.5l18 38q65 -8 91 -25.5t26 -51.5q0 -44 -42.5 -65.5t-122.5 -25.5z+" />+ <glyph glyph-name="uni021A" unicode="Ț"+d="M258 0v586h-216v70h516v-70h-216v-586h-84zM213 -226l-8 40q63 5 86 16.5t23 31.5t-18 29.5t-53 12.5l18 38q65 -8 91 -25.5t26 -51.5q0 -44 -42.5 -65.5t-122.5 -25.5z" />+ <glyph glyph-name="uni021B" unicode="ț"+d="M394 -12q-53 0 -89 14.5t-58 41t-31.5 63.5t-9.5 82v230h-137v62l140 5l11 156h68v-156h239v-67h-239v-231q0 -33 6 -57.5t20 -41.5t38 -25.5t59 -8.5t63 6t54 16l18 -60q-33 -12 -69.5 -20.5t-82.5 -8.5zM292 -226l-8 40q63 5 86 16.5t23 31.5t-18 29.5t-53 12.5l18 38+q65 -8 91 -25.5t26 -51.5q0 -44 -42.5 -65.5t-122.5 -25.5z" />+ <glyph glyph-name="uni0237" unicode="ȷ"+d="M194 -217q-38 0 -74 9.5t-65 23.5l27 61q26 -13 54.5 -20t56.5 -7q36 0 60 9t38 26t19.5 41.5t5.5 55.5v437h-226v67h308v-498q0 -45 -10 -82.5t-33.5 -65t-62.5 -42.5t-98 -15z" />+ <glyph glyph-name="uni0243" unicode="Ƀ"+d="M105 0v162h-79v56l79 6v432h186q50 0 91.5 -9t71 -28t46 -49.5t16.5 -73.5q0 -49 -28 -88.5t-87 -54.5v-4q72 -11 112 -50t40 -107q0 -48 -18 -84t-50.5 -60t-78 -36t-100.5 -12h-201zM188 70h106q85 0 131 29.5t46 96.5q0 61 -45 87.5t-132 26.5h-106v-86h142v-62h-142+v-92zM188 380h89q84 0 120.5 27t36.5 82q0 54 -38.5 75.5t-114.5 21.5h-93v-206z" />+ <glyph glyph-name="uni0250" unicode="ɐ"+d="M292 -12q-100 0 -149 54.5t-49 145.5v298h68l7 -66h3q40 32 90 55t101 23q34 0 64.5 -9t53 -27t35.5 -43.5t13 -58.5q0 -41 -20 -71.5t-62.5 -52.5t-109 -36t-160.5 -21q1 -25 8 -47.5t22 -39t39 -26.5t59 -10q48 0 92.5 18.5t78.5 39.5l32 -56q-18 -12 -42.5 -24.5+t-52 -22.5t-58.5 -16.5t-63 -6.5zM177 232q78 6 130 17t83.5 26.5t45 35t13.5 43.5q0 21 -9 35.5t-23.5 24t-34 14t-40.5 4.5q-42 0 -82.5 -18.5t-82.5 -53.5v-128z" />+ <glyph glyph-name="uni0251" unicode="ɑ"+d="M270 -12q-47 0 -85.5 17t-66.5 49.5t-43 79.5t-15 108q0 59 18 106.5t49 80.5t71 51t84 18q43 0 79 -17t70 -49h3l7 54h66v-486h-68l-7 64h-3q-29 -31 -71 -53.5t-88 -22.5zM288 57q72 0 137 73v242q-33 31 -64.5 44t-63.5 13t-59.5 -13.5t-48 -38t-32.5 -58.5t-12 -76+q0 -88 37.5 -137t105.5 -49z" />+ <glyph glyph-name="uni0252" unicode="ɒ"+d="M320 -12q-36 0 -76 17.5t-75 48.5h-3l-7 -54h-66v486h68l7 -64h3q29 31 74 53.5t94 22.5t86.5 -17.5t63 -50t38.5 -78t13 -101.5q0 -62 -18 -111t-48.5 -83t-70.5 -51.5t-83 -17.5zM306 57q32 0 59 13t47 38t31.5 60t11.5 79q0 83 -32.5 132.5t-105.5 49.5+q-36 0 -73 -18.5t-69 -54.5v-242q35 -32 69.5 -44.5t61.5 -12.5z" />+ <glyph glyph-name="uni0253" unicode="ɓ"+d="M321 -12q-36 0 -76.5 17t-75.5 49h-3l-7 -54h-66v537q0 42 11 76t33.5 59t56.5 38.5t79 13.5q26 0 50 -5.5t43 -13.5l-19 -63q-17 8 -34 11.5t-32 3.5q-54 0 -79 -31t-27 -87l-4 -122h4q33 34 76.5 54t86.5 20q49 0 87 -17.5t63.5 -49t38.5 -77t13 -100.5q0 -62 -18 -110+t-48.5 -81t-70 -50.5t-82.5 -17.5zM307 57q31 0 58.5 13t47 37.5t31 59.5t11.5 79q0 79 -32.5 127.5t-104.5 48.5q-32 0 -69 -17.5t-74 -55.5v-235q35 -32 70.5 -44.5t61.5 -12.5z" />+ <glyph glyph-name="uni0254" unicode="ɔ"+d="M257 -12q-57 0 -107 20t-89 56l37 53q29 -26 67.5 -43.5t83.5 -17.5q42 0 76 13.5t58.5 38t38 58.5t13.5 76t-13 76.5t-36.5 59.5t-56 38.5t-71.5 13.5q-44 0 -79 -15t-66 -41l-42 53q31 29 78.5 50t113.5 21q52 0 98.5 -17t82 -50t56 -80.5t20.5 -108.5+q0 -60 -20.5 -107.5t-55.5 -80t-83.5 -49.5t-103.5 -17z" />+ <glyph glyph-name="uni0255" unicode="ɕ"+d="M361 54q55 0 83 16t28 41q0 18 -14 29.5t-46 11.5q-29 0 -65 -22t-70 -61q37 -15 84 -15zM185 -102l-67 28q12 32 26.5 61.5t31.5 55.5q-45 32 -70.5 82.5t-25.5 116.5q0 61 21.5 108.5t58 80.5t84.5 50t101 17q63 0 107 -20t76 -51l-40 -51q-29 27 -63.5 42t-76.5 15+q-40 0 -74 -14t-59 -39t-39.5 -60t-14.5 -78q0 -45 15.5 -80t43.5 -59q47 52 98 80t99 28q58 0 89 -27t31 -72q0 -52 -44.5 -88t-133.5 -36q-67 0 -125 23q-15 -26 -27.5 -54t-21.5 -59z" />+ <glyph glyph-name="uni0256" unicode="ɖ"+d="M546 -176q-63 0 -92 36.5t-29 100.5l2 100h-3q-29 -30 -69.5 -51.5t-85.5 -21.5q-47 0 -85.5 17t-66 49.5t-42.5 79.5t-15 108q0 59 18.5 106.5t49 80.5t70 51t82.5 18q44 0 78 -17t66 -46h3l-5 90v187h83v-733q0 -42 10.5 -65t39.5 -23q10 0 19 3t17 6l16 -63+q-11 -5 -26.5 -9t-34.5 -4zM288 57q70 0 134 73v242q-33 31 -65 44t-63 13t-58 -13.5t-47.5 -38t-32 -58.5t-11.5 -76q0 -88 38 -137t105 -49z" />+ <glyph glyph-name="uni0257" unicode="ɗ"+d="M269 -12q-95 0 -152 66t-57 188q0 59 18 106.5t48.5 80.5t70 51t82.5 18t77.5 -16.5t66.5 -46.5h3l-2 90v56q0 68 32 106.5t98 38.5q17 0 31 -2.5t25 -7.5l-16 -63q-7 2 -14.5 4t-16.5 2q-33 0 -46 -25t-13 -67v-567h-68l-7 64h-3q-29 -31 -70.5 -53.5t-86.5 -22.5z+M287 57q70 0 135 73v242q-33 31 -65 44t-64 13q-30 0 -57 -13.5t-47.5 -38t-32 -58.5t-11.5 -76q0 -88 37.5 -137t104.5 -49z" />+ <glyph glyph-name="uni0258" unicode="ɘ"+d="M290 433q-63 0 -105 -37t-48 -112h310q-11 72 -54 110.5t-103 38.5zM270 -12q-59 0 -105 17t-82 40l29 54q34 -21 69.5 -33t79.5 -12q37 0 70 10.5t58 31.5t40.5 52t19.5 72h-383q-2 9 -2.5 23t-0.5 27q0 51 16.5 93t47 72t73.5 46.5t95 16.5q48 0 91 -17.5t75 -50.5+t51 -80.5t19 -107.5t-20.5 -107t-56 -79.5t-83 -50t-101.5 -17.5z" />+ <glyph glyph-name="uni0259" unicode="ə"+d="M297 -12q-55 0 -97.5 17.5t-71.5 48.5t-44 74.5t-15 95.5q0 13 1 27t3 23h381q-8 79 -54 119t-121 40q-44 0 -80 -12.5t-69 -33.5l-30 54q37 23 83 40t105 17q55 0 101 -17.5t79 -50t51 -79.5t18 -107q0 -61 -18.5 -108.5t-51 -80.5t-76.5 -50t-94 -17zM295 54+q66 0 108.5 39t50.5 117h-311q5 -78 44.5 -117t107.5 -39z" />+ <glyph glyph-name="uni025A" unicode="ɚ"+d="M217 -12q-46 0 -81 16.5t-59 44.5t-37.5 66t-17.5 82l305 131q-17 56 -50.5 80.5t-76.5 24.5q-38 0 -66 -11.5t-54 -29.5l-29 56q32 23 69.5 36.5t86.5 13.5q68 0 118 -35t75 -104l73 32l43 -17q2 -29 6 -46.5t10 -27.5t14 -13.5t19 -3.5q10 0 19 5t15 10l22 -43+q-11 -9 -26.5 -17t-35.5 -8q-29 0 -55.5 20t-36.5 74l-53 -22q2 -16 3.5 -32.5t1.5 -33.5q0 -54 -14.5 -99.5t-41 -78.5t-63.5 -51.5t-83 -18.5zM216 53q28 0 51.5 12t39.5 34t25 53t9 68q0 14 -0.5 26t-1.5 24l-245 -104q14 -60 45.5 -86.5t76.5 -26.5z" />+ <glyph glyph-name="uni025B" unicode="ɛ"+d="M318 -12q-51 0 -92.5 9.5t-71.5 28.5t-46.5 46.5t-16.5 62.5q0 52 33 80t81 41v4q-42 16 -65.5 44t-23.5 64q0 33 15.5 57.5t43.5 40.5t66.5 24t84.5 8q61 0 109.5 -17t87.5 -45l-33 -54q-35 24 -72.5 37.5t-87.5 13.5q-64 0 -98 -18.5t-34 -56.5q0 -74 147 -74h53v-64+h-67q-77 0 -117.5 -18t-40.5 -60q0 -43 41 -65.5t117 -22.5q49 0 90.5 13.5t77.5 45.5l36 -54q-46 -40 -98.5 -55.5t-118.5 -15.5z" />+ <glyph glyph-name="uni025C" unicode="ɜ"+d="M280 -12q-60 0 -113 15.5t-105 57.5l36 54q42 -35 86 -48t89 -13q76 0 117 22.5t41 64.5t-38.5 60.5t-111.5 18.5h-84v64h72q70 0 104.5 19.5t34.5 55.5q0 74 -134 74q-53 0 -90.5 -13.5t-75.5 -41.5l-34 55q42 31 91.5 48t113.5 17q46 0 84.5 -8t66.5 -24t43.5 -41+t15.5 -58q0 -36 -21.5 -63.5t-65.5 -44.5v-4q50 -13 80.5 -40.5t30.5 -80.5q0 -35 -17 -62t-47.5 -46t-73.5 -28.5t-95 -9.5z" />+ <glyph glyph-name="uni025E" unicode="ɞ"+d="M327 -12q-57 0 -105.5 16t-84.5 48t-56 79.5t-20 109.5q0 63 21.5 111.5t57.5 80.5t83 48.5t98 16.5q40 0 75 -8t61 -24t40.5 -41t14.5 -58q0 -36 -21 -65t-63 -43v-4q22 -5 42 -15t35 -25t23.5 -35t8.5 -46q0 -70 -56.5 -108t-153.5 -38zM328 54q61 0 94 22.5t33 64.5+q0 40 -35.5 59.5t-89.5 19.5h-35v64h27q52 0 81 20t29 54q0 38 -29.5 56.5t-78.5 18.5q-38 0 -71 -13t-57 -37.5t-38 -60.5t-14 -81q0 -93 49.5 -140t134.5 -47z" />+ <glyph glyph-name="uni025F" unicode="ɟ"+d="M194 -217q-38 0 -74 9.5t-65 23.5l27 61q26 -13 54.5 -20t56.5 -7q36 0 60 9t38 26t19.5 41.5t5.5 55.5v224h-194v60l194 6v147h-226v67h308v-214h166v-66h-166v-218q0 -45 -10 -82.5t-33.5 -65t-62.5 -42.5t-98 -15z" />+ <glyph glyph-name="uni0260" unicode="ɠ"+d="M279 -216q-48 0 -95.5 13.5t-88.5 39.5l31 58q37 -24 76.5 -34.5t76.5 -10.5q70 0 106 34.5t37 93.5l4 97h-3q-28 -29 -68.5 -49.5t-85.5 -20.5q-47 0 -85.5 17t-66 48.5t-42.5 77t-15 102.5t18.5 103t49 78t70.5 49.5t83 17.5t78 -17t64 -46h3l-2 48q0 66 31.5 106+t99.5 40q17 0 31 -2.5t25 -7.5l-16 -63q-14 6 -31 6q-33 0 -46 -25t-13 -67v-494q0 -91 -60 -141.5t-166 -50.5zM288 73q69 0 134 73v226q-33 32 -65 44.5t-63 12.5t-58 -13t-47.5 -37t-32 -56.5t-11.5 -71.5q0 -82 38 -130t105 -48z" />+ <glyph glyph-name="uni0261" unicode="ɡ"+d="M280 -217q-48 0 -96.5 13t-88.5 39l30 59q38 -24 78 -34.5t77 -10.5q70 0 107.5 35t39.5 94l2 97h-3q-29 -29 -70 -49.5t-86 -20.5q-47 0 -85.5 17t-66.5 48.5t-43 77t-15 102.5t18 103t48.5 78t71 49.5t84.5 17.5q43 0 80 -17.5t69 -48.5h3l7 54h66v-505q0 -92 -59 -145+t-168 -53zM288 73q70 0 137 73v226q-33 31 -65 44t-64 13q-31 0 -58.5 -13t-48.5 -37t-33 -56.5t-12 -71.5q0 -82 38.5 -130t105.5 -48z" />+ <glyph glyph-name="uni0262" unicode="ɢ"+d="M339 -12q-54 0 -101.5 16.5t-83 49t-56 80t-20.5 109.5q0 60 21.5 107t58 80t84.5 50.5t102 17.5q65 0 107.5 -21t72.5 -49l-41 -52q-26 23 -56.5 40t-78.5 17q-38 0 -71.5 -12.5t-59 -37t-40.5 -60t-15 -80.5q0 -44 13.5 -79t38 -59.5t57.5 -37.5t72 -13q33 0 61.5 10+t49.5 27v112h-134v59h206v-205q-31 -29 -79 -49t-108 -20z" />+ <glyph glyph-name="uni0263" unicode="ɣ"+d="M302 -224q-56 0 -86 32.5t-30 85.5q0 18 4.5 35t13 35.5t19.5 40t25 47.5l-197 434h84l113 -266q14 -35 25.5 -62t26.5 -61h4q15 34 27 61t26 62l112 266h80l-193 -434q13 -26 24.5 -47.5t20 -40t13 -35.5t4.5 -35q0 -53 -30 -85.5t-86 -32.5zM302 -167q23 0 34 17t11 42+q0 26 -12 55.5t-31 63.5h-5q-18 -34 -30 -64.5t-12 -54.5q0 -25 11 -42t34 -17z" />+ <glyph glyph-name="uni0264" unicode="ɤ"+d="M300 -12q-86 0 -136 45t-50 124q0 56 36 107t93 99q-31 34 -56 50.5t-53 16.5t-48 -14l-26 60q16 11 38.5 16.5t45.5 5.5q41 0 78.5 -22.5t77.5 -64.5q39 42 77 64.5t79 22.5q23 0 45.5 -5.5t38.5 -16.5l-26 -60q-20 14 -48 14q-29 0 -53.5 -16.5t-55.5 -50.5+q57 -48 93 -99t36 -107q0 -79 -50 -124t-136 -45zM300 56q50 0 78.5 29t28.5 74q0 44 -30 84.5t-77 80.5q-47 -40 -77 -80.5t-30 -84.5q0 -45 28.5 -74t78.5 -29z" />+ <glyph glyph-name="uni0265" unicode="ɥ"+d="M425 -205v174l4 114q-39 -40 -83 -67.5t-101 -27.5q-87 0 -127.5 49.5t-40.5 146.5v302h82v-291q0 -69 26 -102.5t86 -33.5q22 0 40.5 5.5t36.5 16.5t37 27.5t40 38.5v339h82v-691h-82z" />+ <glyph glyph-name="uni0266" unicode="ɦ"+d="M93 0v537q0 42 11 76t33.5 59t56.5 38.5t79 13.5q26 0 50 -5.5t43 -13.5l-19 -63q-17 8 -34 11.5t-32 3.5q-54 0 -79 -31t-27 -87l-6 -143h4q38 40 81.5 67.5t100.5 27.5q87 0 127.5 -50t40.5 -147v-294h-82v284q0 69 -26 102t-86 33q-22 0 -40.5 -5.5t-36.5 -16.5+t-37 -27t-40 -38v-332h-82z" />+ <glyph glyph-name="uni0267" unicode="ɧ"+d="M384 -183q-24 0 -44 4.5t-34 9.5l16 63q11 -4 24.5 -7t28.5 -3q40 0 53 27t13 75v298q0 69 -26 102t-86 33q-22 0 -40.5 -5.5t-36.5 -16.5t-37 -27t-40 -38v-332h-82v537q0 42 11 76t33.5 59t56.5 38.5t79 13.5q26 0 49.5 -5.5t43.5 -13.5l-19 -63q-35 15 -66 15+q-54 0 -79 -31t-27 -87l-6 -143h4q38 40 81.5 67.5t100.5 27.5q87 0 127.5 -50t40.5 -147v-308q0 -78 -31.5 -123.5t-107.5 -45.5z" />+ <glyph glyph-name="uni0268" unicode="ɨ"+d="M132 210v56l184 6v147h-226v67h308v-214h166v-62h-166v-210h-82v210h-184zM348 588q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="uni026A" unicode="ɪ"+d="M86 0v67h172v352h-172v67h428v-67h-174v-352h174v-67h-428z" />+ <glyph glyph-name="uni026B" unicode="ɫ"+d="M407 -12q-78 0 -119 44t-41 131v482h-173v67h255v-555q0 -54 26 -77.5t70 -23.5q43 0 91 22l21 -61q-34 -14 -62 -21.5t-68 -7.5zM383 315q-33 0 -57 13t-44.5 29t-39.5 29t-41 13t-33 -21.5t-13 -56.5l-55 10q1 27 7 50.5t17.5 40.5t29 27t41.5 10q33 0 57.5 -13t45 -29+t39 -29t40.5 -13t33 21.5t13 55.5l55 -9q-2 -27 -7.5 -50.5t-17 -40.5t-29 -27t-41.5 -10z" />+ <glyph glyph-name="uni026C" unicode="ɬ"+d="M232 302q-84 0 -120 29.5t-36 76.5q0 38 25.5 62t64.5 24q28 0 47.5 -9.5t33.5 -24.5v185h-173v67h255v-346h140v-64h-140v-145q0 -54 26 -77.5t70 -23.5q43 0 91 22l21 -61q-34 -14 -62 -21.5t-68 -7.5q-78 0 -119 44t-41 131v139h-15zM214 366h33v6q0 23 -17.5 43.5+t-55.5 20.5q-14 0 -23 -8.5t-9 -23.5q0 -38 72 -38z" />+ <glyph glyph-name="uni026D" unicode="ɭ"+d="M406 -183q-78 0 -118.5 44t-40.5 131v653h-173v67h255v-726q0 -54 25.5 -77t69.5 -23q21 0 43 5t49 17l21 -62q-33 -12 -62 -20.5t-69 -8.5z" />+ <glyph glyph-name="uni026E" unicode="ɮ"+d="M358 -217q-75 0 -123.5 24t-79.5 54l41 52q26 -25 62.5 -43.5t92.5 -18.5q28 0 53 10.5t43.5 30t29 47t10.5 61.5q0 62 -35 97t-97 35q-26 0 -39.5 -3.5t-30.5 -11.5l-34 44l195 258h-285v-419h-82v712h82v-226h388v-44l-191 -252q52 4 91.5 -9.5t66.5 -39.5t41 -62+t14 -77q0 -53 -18 -93.5t-47.5 -68.5t-68 -42.5t-79.5 -14.5z" />+ <glyph glyph-name="uni026F" unicode="ɯ"+d="M542 486v-486h-66l-7 64h-2q-19 -34 -44 -55t-67 -21q-71 0 -92 84q-21 -39 -46.5 -61.5t-67.5 -22.5q-51 0 -79.5 38.5t-28.5 111.5v348h82v-342q0 -85 52 -85q26 0 42 18.5t36 56.5v352h76v-342q0 -42 11.5 -63.5t38.5 -21.5q26 0 44 18.5t36 56.5v352h82z" />+ <glyph glyph-name="uni0270" unicode="ɰ"+d="M464 -205v172l6 100h-4q-20 -37 -44 -58t-66 -21q-71 0 -92 84q-21 -39 -46.5 -61.5t-67.5 -22.5q-51 0 -79.5 38.5t-28.5 111.5v348h82v-342q0 -85 52 -85q26 0 42 18.5t36 56.5v352h76v-342q0 -42 11.5 -63.5t38.5 -21.5q26 0 44 18.5t36 56.5v352h82v-691h-78z" />+ <glyph glyph-name="uni0271" unicode="ɱ"+d="M435 -183q-20 0 -37 3.5t-29 8.5l16 63q8 -3 19 -5.5t22 -2.5q32 0 41 24t9 64v370q0 85 -52 85q-26 0 -42 -18.5t-36 -56.5v-352h-76v342q0 42 -11.5 63.5t-38.5 21.5q-26 0 -44 -18.5t-36 -56.5v-352h-82v486h66l7 -64h2q19 34 44 55t67 21q71 0 92 -84+q21 39 46.5 61.5t67.5 22.5q51 0 79.5 -38.5t28.5 -111.5v-380q0 -71 -28.5 -111t-94.5 -40z" />+ <glyph glyph-name="uni0272" unicode="ɲ"+d="M56 -183q-19 0 -34.5 4t-26.5 9l16 63q8 -3 17 -6t19 -3q29 0 39.5 23t10.5 65v514h68l7 -83h4q38 41 81 68t99 27q86 0 126.5 -49.5t40.5 -146.5v-302h-82v291q0 72 -26 104t-83 32q-22 0 -40.5 -5.5t-36.5 -16.5t-36 -27.5t-39 -38.5v-367q0 -72 -28 -113.5t-96 -41.5z+" />+ <glyph glyph-name="uni0273" unicode="ɳ"+d="M560 -183q-68 0 -95.5 41.5t-27.5 113.5v319q0 72 -26 104t-84 32q-43 0 -76 -22t-76 -66v-339h-82v486h68l7 -83h4q38 41 80.5 68t98.5 27q87 0 127.5 -49.5t40.5 -146.5v-330q0 -42 10.5 -65t39.5 -23q10 0 19 3t17 6l16 -63q-11 -5 -26.5 -9t-34.5 -4z" />+ <glyph glyph-name="uni0274" unicode="ɴ"+d="M96 0v486h79l188 -275q15 -23 33 -52t34 -52h4q-3 48 -5.5 93t-2.5 84v202h78v-486h-79l-188 275q-15 23 -33.5 52t-33.5 52h-4q3 -48 5.5 -93t2.5 -84v-202h-78z" />+ <glyph glyph-name="uni0275" unicode="ɵ"+d="M300 -12q-48 0 -91.5 16t-76.5 48t-52.5 79.5t-19.5 110.5t19.5 111t52.5 80.5t76.5 48.5t91.5 16t91.5 -16t76.5 -48.5t52.5 -80.5t19.5 -111t-19.5 -110.5t-52.5 -79.5t-76.5 -48t-91.5 -16zM300 434q-63 0 -105.5 -39t-53.5 -111h318q-11 72 -53.5 111t-105.5 39z+M300 53q68 0 111.5 43.5t49.5 123.5h-322q6 -80 49.5 -123.5t111.5 -43.5z" />+ <glyph glyph-name="uni0276" unicode="ɶ"+d="M238 -12q-42 0 -79.5 16.5t-65 48.5t-44 79.5t-16.5 110.5t16.5 110.5t44 79.5t65 48.5t79.5 16.5q24 0 46.5 -2t51.5 -10h241v-68h-190v-134h153v-64h-153v-152h200v-68h-251q-28 -7 -51 -9.5t-47 -2.5zM245 55q15 0 32.5 3.5t33.5 8.5v351q-15 5 -32.5 8.5t-33.5 3.5+q-27 0 -50 -11.5t-40 -35t-27 -58.5t-10 -82q0 -48 10 -83.5t27 -59t40 -34.5t50 -11z" />+ <glyph glyph-name="uni0278" unicode="ɸ"+d="M128 244q0 -85 37.5 -133.5t94.5 -53.5v372q-57 -5 -94.5 -52.5t-37.5 -132.5zM472 244q0 85 -37.5 132.5t-94.5 52.5v-372q57 5 94.5 53.5t37.5 133.5zM260 -205v196q-44 3 -83 20.5t-68.5 49.5t-47 78t-17.5 105q0 58 17.5 104t47 77.5t68.5 49t83 20.5v217h80v-217+q43 -3 82.5 -20.5t69 -49t47 -77.5t17.5 -104q0 -59 -17.5 -105t-47 -78t-69 -49.5t-82.5 -20.5v-196h-80z" />+ <glyph glyph-name="uni0279" unicode="ɹ"+d="M454 486v-486h-68l-7 115h-3q-38 -59 -93.5 -93t-123.5 -34q-27 0 -50 4.5t-46 15.5l19 71q26 -9 43.5 -13t46.5 -4q55 0 105.5 31.5t94.5 107.5v285h82z" />+ <glyph glyph-name="uni027A" unicode="ɺ"+d="M159 -12q-27 0 -50 4.5t-46 15.5l19 71q26 -9 43.5 -13t46.5 -4q55 0 105.5 31.5t94.5 107.5v511h82v-712h-68l-7 115h-3q-38 -59 -93.5 -93t-123.5 -34z" />+ <glyph glyph-name="uni027B" unicode="ɻ"+d="M436 -183q-74 0 -104 41.5t-30 116.5v117h-3q-25 -48 -62.5 -76t-86.5 -28q-21 0 -42.5 4.5t-44.5 15.5l19 71q22 -9 37.5 -13t39.5 -4q37 0 73.5 26.5t62.5 92.5v305h82v-501q0 -54 15 -77.5t53 -23.5q14 0 29.5 4.5t27.5 9.5l18 -62q-15 -8 -38 -13.5t-46 -5.5z" />+ <glyph glyph-name="uni027D" unicode="ɽ"+d="M333 -183q-53 0 -89 14.5t-57.5 41t-31 63.5t-9.5 82v468h68l7 -115h3q38 59 93.5 93t123.5 34q27 0 50 -4.5t46 -15.5l-19 -71q-26 9 -43.5 13t-46.5 4q-55 0 -105.5 -31.5t-94.5 -107.5v-268q0 -33 6 -57.5t20 -41.5t38 -25.5t59 -8.5t63 6t54 16l17 -60+q-33 -12 -68.5 -20.5t-83.5 -8.5z" />+ <glyph glyph-name="uni027E" unicode="ɾ"+d="M146 0v249q0 60 18 106.5t51 78t80 48t106 16.5q81 0 136 -20l-19 -71q-31 11 -55 14.5t-53 3.5q-36 0 -69 -11t-58 -34.5t-40 -60t-15 -87.5v-232h-82z" />+ <glyph glyph-name="uni0280" unicode="ʀ"+d="M99 0v486h240q39 0 73 -7.5t58.5 -24.5t38.5 -44.5t14 -67.5q0 -63 -36 -98.5t-87 -47.5l145 -196h-93l-137 190h-133v-190h-83zM182 254h143q55 0 85.5 21.5t30.5 64.5q0 44 -30.5 62t-85.5 18h-143v-166z" />+ <glyph glyph-name="uni0281" unicode="ʁ"+d="M501 486v-486h-240q-39 0 -73 7.5t-58.5 24.5t-38.5 44.5t-14 67.5q0 63 36 98.5t87 47.5l-145 196h93l137 -190h133v190h83zM418 232h-143q-55 0 -85.5 -21.5t-30.5 -64.5q0 -44 30.5 -62t85.5 -18h143v166z" />+ <glyph glyph-name="uni0282" unicode="ʂ"+d="M197 -183q-67 0 -96.5 41t-29.5 121v85l38 54q42 -30 92.5 -48t118.5 -18q62 0 92.5 22.5t30.5 53.5q0 14 -5 26t-21.5 23t-46.5 21t-79 20q-95 20 -142.5 53.5t-47.5 88.5q0 29 13 54.5t38.5 44t63 29t87.5 10.5q56 0 108 -18.5t88 -43.5l-40 -53q-34 23 -75 37t-88 14+q-62 0 -87 -21t-25 -49q0 -32 33 -48.5t108 -32.5q61 -13 100 -27.5t61.5 -32.5t31 -40t8.5 -50q0 -30 -14 -56t-41.5 -46t-68 -31.5t-92.5 -11.5q-45 0 -87 9.5t-78 25.5v-53q0 -39 12.5 -63t48.5 -24q13 0 25 2.5t21 5.5l16 -61q-12 -5 -30 -9t-41 -4z" />+ <glyph glyph-name="uni0283" unicode="ʃ"+d="M187 -217q-40 0 -71 9t-60 23l26 61q23 -11 46 -18.5t49 -7.5q25 0 41.5 8.5t25.5 24.5t12.5 38.5t3.5 49.5v567q0 88 38 138t128 50q36 0 62 -8.5t53 -22.5l-23 -61q-22 11 -41 18t-42 7q-28 0 -46 -8.5t-28.5 -24.5t-14.5 -38.5t-4 -49.5v-568q0 -88 -35 -137.5+t-120 -49.5z" />+ <glyph glyph-name="uni0284" unicode="ʄ"+d="M187 -217q-40 0 -71 9t-60 23l26 61q23 -11 46 -18.5t49 -7.5q25 0 41.5 8.5t25.5 24.5t12.5 38.5t3.5 49.5v251h-176v58l176 6v252q0 88 38 138t128 50q36 0 62 -8.5t53 -22.5l-23 -61q-22 11 -41 18t-42 7q-28 0 -46 -8.5t-28.5 -24.5t-14.5 -38.5t-4 -49.5v-252h174+v-64h-174v-252q0 -88 -35 -137.5t-120 -49.5z" />+ <glyph glyph-name="uni0287" unicode="ʇ"+d="M206 498q53 0 89 -14.5t58 -41t31.5 -63.5t9.5 -82v-230h137v-62l-140 -5l-11 -156h-68v156h-239v67h239v231q0 65 -26.5 99t-96.5 34q-35 0 -63 -6t-54 -16l-18 60q33 12 69.5 20.5t82.5 8.5z" />+ <glyph glyph-name="uni0288" unicode="ʈ"+d="M393 -183q-53 0 -89 14.5t-57.5 41t-31 63.5t-9.5 82v401h-137v62l140 5l11 156h68v-156h239v-67h-239v-402q0 -33 6 -57.5t20 -41.5t38 -25.5t59 -8.5t63 6t54 16l18 -60q-33 -12 -73 -20.5t-80 -8.5z" />+ <glyph glyph-name="uni0289" unicode="ʉ"+d="M272 60q38 0 66.5 19t63.5 63v112h-222v-66q0 -68 22 -98t70 -30zM246 -12q-77 0 -112.5 48t-35.5 142v76h-96v58l96 6v168h82v-168h222v168h82v-168h102v-64h-102v-254h-68l-6 76h-2q-35 -41 -73 -64.5t-89 -23.5z" />+ <glyph glyph-name="uni028A" unicode="ʊ"+d="M300 -12q-57 0 -101 18.5t-74.5 49.5t-46.5 71t-16 82q0 37 8.5 68.5t22 57t30 46t33.5 36.5v2h-106v67h195v-53q-43 -36 -71 -85t-28 -122q0 -34 9.5 -65t29 -54t48.5 -37t67 -14t67 14t48.5 37t29 54t9.5 65q0 73 -28 122t-71 85v53h195v-67h-106v-2q16 -16 33 -36.5+t30.5 -46t22 -57t8.5 -68.5q0 -42 -16 -82t-46.5 -71t-74.5 -49.5t-101 -18.5z" />+ <glyph glyph-name="uni028B" unicode="ʋ"+d="M297 -12q-47 0 -87.5 13t-70 40.5t-46 70t-16.5 100.5v274h83v-267q0 -44 11 -75t30 -50.5t44.5 -28.5t54.5 -9q37 0 66 17t49 47.5t30 71.5t10 89q0 74 -21.5 112.5t-66.5 38.5q-14 0 -19.5 -1.5t-15.5 -4.5l-13 64q14 4 27.5 6t37.5 2q71 0 113.5 -50t42.5 -155+q0 -66 -15.5 -122t-46 -96.5t-76 -63.5t-105.5 -23z" />+ <glyph glyph-name="uni028C" unicode="ʌ"+d="M344 486l205 -486h-83l-112 276q-15 37 -28.5 72.5t-26.5 70.5h-4q-13 -35 -25.5 -70.5t-27.5 -72.5l-112 -276h-79l201 486h92z" />+ <glyph glyph-name="uni028D" unicode="ʍ"+d="M486 486l106 -486h-82l-58 282q-7 35 -12 67t-10 67h-4q-5 -35 -12.5 -67.5t-15.5 -66.5l-60 -252h-82l-58 252q-8 35 -16.5 67t-13.5 67h-4q-6 -35 -10.5 -67t-11.5 -67l-58 -282h-76l104 486h106l56 -232q12 -51 24 -144h4q12 93 24 144l54 232h106z" />+ <glyph glyph-name="uni028E" unicode="ʎ"+d="M49 0l226 554q13 36 31 67t42 54t55 36t70 13q17 0 33.5 -2.5t30.5 -7.5l-18 -65q-9 3 -19.5 5t-22.5 2q-48 0 -78.5 -30t-47.5 -76l-27 -63l227 -487h-83l-119 269q-14 32 -29.5 69t-30.5 72h-4q-13 -35 -26.5 -71.5t-25.5 -69.5l-106 -269h-78z" />+ <glyph glyph-name="uni028F" unicode="ʏ"+d="M260 0v164l-203 322h89l85 -138q17 -32 34.5 -60.5t34.5 -61.5h4q17 33 33 61.5t36 60.5l84 138h88l-203 -322v-164h-82z" />+ <glyph glyph-name="uni0290" unicode="ʐ"+d="M559 -183q-68 0 -96 40.5t-28 106.5v36h-364v44l326 375h-289v67h407v-44l-327 -375h329v-95q0 -42 11 -65t40 -23q10 0 19 3t17 6l16 -63q-11 -5 -26.5 -9t-34.5 -4z" />+ <glyph glyph-name="uni0291" unicode="ʑ"+d="M358 -116l-62 10q5 29 10.5 55.5t12.5 50.5h-248v44l324 375h-287v67h395v-44l-323 -375q45 -1 83.5 -1.5t75.5 -0.5q57 151 153 151q39 0 64.5 -24.5t25.5 -65.5q0 -54 -39 -90t-117 -36h-45q-6 -25 -12 -53.5t-11 -62.5zM445 64q37 0 56 17.5t19 40.5q0 17 -9.5 25.5+t-24.5 8.5q-21 0 -42.5 -21t-41.5 -71h43z" />+ <glyph glyph-name="uni0292" unicode="ʒ"+d="M288 -217q-42 0 -76 8t-62 21.5t-50 30t-41 34.5l40 53q16 -15 34.5 -29.5t40.5 -25.5t48.5 -17.5t58.5 -6.5q33 0 63 11t52 31t35 48t13 63q0 65 -43 101.5t-124 36.5q-16 0 -28 -1.5t-22.5 -4.5t-21 -8t-24.5 -11l-33 46l251 256h-300v67h407v-44l-238 -248q24 6 43 6+q51 0 91 -14t67.5 -39.5t42.5 -61.5t15 -79q0 -54 -20 -95.5t-53 -70t-76.5 -43t-89.5 -14.5z" />+ <glyph glyph-name="uni0294" unicode="ʔ"+d="M239 0v311q49 28 84.5 52t58 49t33.5 51.5t11 59.5q0 61 -38.5 97t-110.5 36q-57 0 -96.5 -24.5t-65.5 -56.5l-44 53q16 18 37 35.5t47 31t58 21.5t70 8q47 0 88.5 -12.5t72 -38t48.5 -63t18 -86.5q0 -44 -14 -78t-39 -63.5t-60 -55t-76 -52.5v-275h-82z" />+ <glyph glyph-name="uni0295" unicode="ʕ"+d="M278 0v275q-42 27 -76.5 52.5t-59.5 55t-39 63.5t-14 78q0 49 17.5 86.5t48.5 63t72 38t88 12.5q39 0 70.5 -8t58 -21.5t47 -31t36.5 -35.5l-43 -53q-27 32 -66.5 56.5t-96.5 24.5q-71 0 -110 -36t-39 -97q0 -33 11 -59.5t34 -51.5t58.5 -49t84.5 -52v-311h-82z" />+ <glyph glyph-name="uni0298" unicode="ʘ"+d="M300 -12q-55 0 -99 22t-75.5 67.5t-48.5 115.5t-17 166q0 89 17 157.5t48.5 114.5t75.5 69.5t99 23.5t99.5 -23.5t76 -69.5t48.5 -114.5t17 -157.5q0 -96 -17 -166t-48.5 -115.5t-76 -67.5t-99.5 -22zM300 56q34 0 64 16t51.5 52t34 93.5t12.5 141.5q0 76 -12.5 132+t-34 93t-51.5 54.5t-64 17.5q-35 0 -64.5 -17.5t-51 -54.5t-34 -93t-12.5 -132q0 -84 12.5 -141.5t34 -93.5t51 -52t64.5 -16zM300 296q-25 0 -43.5 18t-18.5 45q0 29 18.5 46.5t43.5 17.5t43.5 -17.5t18.5 -46.5q0 -27 -18.5 -45t-43.5 -18z" />+ <glyph glyph-name="uni0299" unicode="ʙ"+d="M115 0v486h225q42 0 77 -7t59.5 -21.5t38.5 -38t14 -56.5q0 -41 -23 -66.5t-62 -37.5v-3q21 -5 40.5 -14t34 -23.5t23 -34t8.5 -45.5q0 -36 -15 -62t-42 -43.5t-64 -25.5t-81 -8h-233zM196 284h130q66 0 94.5 18.5t28.5 52.5t-27.5 49.5t-89.5 15.5h-136v-136zM196 66+h143q66 0 97.5 18.5t31.5 59.5q0 76 -134 76h-138v-154z" />+ <glyph glyph-name="uni029C" unicode="ʜ"+d="M93 0v486h82v-197h250v197h82v-486h-82v216h-250v-216h-82z" />+ <glyph glyph-name="uni029D" unicode="ʝ"+d="M418 -250q-15 29 -30.5 52t-32.5 43q-24 -29 -62 -45.5t-92 -16.5q-70 0 -107.5 33t-37.5 78t33 72.5t96 27.5q32 0 65 -8t66 -25v2v456h-226v67h308v-506q0 -41 -10 -72q26 -24 49.5 -55.5t44.5 -72.5zM200 -152q40 0 64 13.5t36 34.5q-29 21 -58 30t-58 9+q-32 0 -47 -11.5t-15 -28.5q0 -20 20 -33.5t58 -13.5zM348 588q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="uni029E" unicode="ʞ"+d="M412 -205v461h-4l-281 -256h-99l218 201l-192 285h85l159 -237l114 105v132h82v-691h-82z" />+ <glyph glyph-name="uni029F" unicode="ʟ"+d="M148 0v486h82v-419h302v-67h-384z" />+ <glyph glyph-name="uni02A1" unicode="ʡ"+d="M239 0v251h-165v58l76 5h102q83 48 128.5 98.5t45.5 110.5q0 61 -37.5 97t-107.5 36q-58 0 -98 -25t-68 -56l-44 53q16 18 37.5 35t48 30.5t59 22t71.5 8.5q46 0 87 -12.5t71 -38t47.5 -63t17.5 -86.5q0 -36 -12 -66t-31.5 -55.5t-46 -47.5t-54.5 -41h152v-63h-197v-251+h-82z" />+ <glyph glyph-name="uni02A2" unicode="ʢ"+d="M279 0v251h-197v58l76 5h76q-29 19 -55 41t-45.5 47.5t-31.5 55.5t-12 66q0 49 17.5 86.5t47.5 63t70.5 38t87.5 12.5q39 0 71.5 -8.5t59 -22t47.5 -30.5t38 -35l-44 -53q-28 31 -68 56t-98 25q-70 0 -108 -36t-38 -97q0 -60 46 -110.5t128 -98.5h179v-63h-165v-251h-82z+" />+ <glyph glyph-name="uni02A4" unicode="ʤ"+d="M172 57q26 0 45.5 21t34.5 54v240q-17 27 -33.5 42t-40.5 15q-21 0 -39 -13.5t-30.5 -38t-19.5 -59t-7 -75.5q0 -87 22.5 -136.5t67.5 -49.5zM450 -217q-50 0 -83 16.5t-59 42.5l39 52q20 -20 42.5 -31.5t54.5 -11.5q41 0 66.5 37t25.5 112q0 63 -22.5 97.5t-66.5 34.5+q-16 0 -26 -3.5t-24 -11.5l-33 52l146 250h-182v-419h-59l-7 58h-3q-16 -27 -42.5 -48.5t-61.5 -21.5q-34 0 -62.5 17t-49 50t-32 80t-11.5 107q0 58 13.5 105.5t36 81t52 51.5t62.5 18q30 0 52.5 -15t37.5 -41h2l-4 93v177h76v-226h269v-44l-141 -247q4 1 12 1+q36 0 63.5 -15.5t47 -42t29.5 -62.5t10 -76q0 -52 -13 -92.5t-35.5 -68t-53.5 -42t-66 -14.5z" />+ <glyph glyph-name="uni02A6" unicode="ʦ"+d="M328 -12q-65 0 -109 12.5t-71 36.5t-38.5 59t-11.5 80v243h-73v62l76 5l10 156h69v-156h188q30 12 68 12q37 0 69.5 -12.5t58.5 -35.5l-32 -48q-22 17 -43 26t-47 9q-29 0 -46.5 -15t-17.5 -43q0 -23 14 -38.5t35.5 -28.5t46.5 -27t46.5 -34t35.5 -48t14 -70+q0 -34 -13 -61t-41.5 -45.5t-74.5 -28.5t-113 -10zM332 52q92 0 127.5 22t35.5 60q0 31 -14.5 52t-36 36.5t-47 29.5t-47 31t-36 40t-14.5 58q0 20 5 38h-125v-244q0 -33 7.5 -56t25.5 -38t47 -22t72 -7z" />+ <glyph glyph-name="uni02A7" unicode="ʧ"+d="M353 -217q-22 0 -39.5 4t-30.5 9l17 62q9 -3 21 -5.5t25 -2.5q34 0 45 25t11 70v474h-199v-270q0 -45 15 -69.5t54 -24.5q14 0 29 4t29 9l15 -62q-20 -7 -42.5 -12.5t-45.5 -5.5q-38 0 -64.5 12t-42.5 33t-23 51t-7 66v269h-72v62l75 5l11 156h69v-156h199v80+q0 73 32.5 116.5t108.5 43.5q19 0 34 -4t26 -9l-16 -63q-8 3 -17 6t-19 3q-41 0 -54 -25.5t-13 -70.5v-618q0 -74 -30.5 -118t-100.5 -44z" />+ <glyph glyph-name="h.sups" unicode="ʰ"+d="M175 395v471h64v-129l-4 -69q24 23 52 39.5t64 16.5q57 0 83 -32.5t26 -94.5v-202h-64v194q0 42 -15.5 61.5t-51.5 19.5q-26 0 -45.5 -12.5t-44.5 -36.5v-226h-64z" />+ <glyph glyph-name="j.sups" unicode="ʲ"+d="M229 254q-26 0 -48.5 6.5t-40.5 15.5l20 47q17 -9 34 -13.5t32 -4.5q47 0 63 21.5t16 61.5v278h-142v50h206v-324q0 -30 -6.5 -55t-23 -43.5t-43.5 -29t-67 -10.5zM332 779q-21 0 -35 12.5t-14 32.5q0 21 14 34t35 13t34.5 -13t13.5 -34q0 -20 -13.5 -32.5t-34.5 -12.5z+" />+ <glyph glyph-name="r.sups" unicode="ʳ"+d="M243 395v321h54l5 -75h2q23 39 56 61t72 22q35 0 64 -13l-13 -54q-17 5 -29.5 7.5t-30.5 2.5q-31 0 -61.5 -20t-54.5 -70v-182h-64z" />+ <glyph glyph-name="w.sups" unicode="ʷ"+d="M141 395l-89 321h64l44 -179l20 -91h3l22 91l48 179h56l50 -179l21 -91h4l21 91l43 179h59l-87 -321h-75l-42 163l-22 91h-2l-20 -91l-44 -163h-74z" />+ <glyph glyph-name="y.sups" unicode="ʸ"+d="M198 258q-13 0 -23.5 2t-19.5 5l13 50q5 -2 12 -3.5t14 -1.5q29 0 47.5 18t29.5 45l7 23l-138 320h64l69 -169q8 -21 16.5 -44.5t17.5 -46.5h2q8 22 14.5 45.5t14.5 45.5l60 169h62l-130 -343q-9 -25 -21 -46t-28 -36.5t-36.5 -24t-46.5 -8.5z" />+ <glyph glyph-name="uni02B9" unicode="ʹ"+d="M257 434l22 256h81l-15 -100l-34 -156h-54z" />+ <glyph glyph-name="uni02BB" unicode="ʻ"+d="M299 350q-39 0 -64.5 31.5t-25.5 88.5q0 75 38 134.5t106 94.5l27 -48q-46 -27 -73 -66.5t-30 -91.5q12 6 26 6q31 0 50.5 -20t19.5 -52q0 -35 -21 -56t-53 -21z" />+ <glyph glyph-name="uni02BC" unicode="ʼ"+d="M245 350l-28 48q47 26 74 65.5t30 92.5q-12 -6 -26 -6q-32 0 -51.5 19.5t-19.5 51.5q0 35 21 56.5t53 21.5q40 0 65 -32t25 -89q0 -75 -38 -134t-105 -94z" />+ <glyph glyph-name="uni02BE" unicode="ʾ"+d="M226 538v50q58 0 88 24.5t30 69.5t-30 70t-88 25v49q91 3 137.5 -36t46.5 -108t-46.5 -108t-137.5 -36z" />+ <glyph glyph-name="uni02BF" unicode="ʿ"+d="M374 538q-91 -3 -137.5 36t-46.5 108t46.5 108t137.5 36v-49q-58 0 -88 -25t-30 -70t30 -69.5t88 -24.5v-50z" />+ <glyph glyph-name="uni02C1" unicode="ˁ"+d="M282 438v91q-25 16 -47.5 33.5t-39 37.5t-26 43.5t-9.5 52.5q0 32 12.5 56.5t34 41t49.5 25t59 8.5q48 0 81.5 -18t55.5 -41l-34 -40q-19 19 -42.5 32.5t-55.5 13.5q-43 0 -69.5 -21t-26.5 -58q0 -42 30 -74.5t91 -64.5v-118h-63z" />+ <glyph glyph-name="circumflex" unicode="ˆ"+d="M180 568l-35 32l114 140h82l114 -140l-35 -32l-118 113h-4z" />+ <glyph glyph-name="caron" unicode="ˇ"+d="M259 574l-114 140l35 32l118 -113h4l118 113l35 -32l-114 -140h-82z" />+ <glyph glyph-name="uni02C8" unicode="ˈ"+d="M272 397l-23 319h102l-23 -319h-56z" />+ <glyph glyph-name="uni02C9" unicode="ˉ"+d="M167 601v57h266v-57h-266z" />+ <glyph glyph-name="uni02CA" unicode="ˊ"+d="M279 568l-43 41l142 168l58 -56z" />+ <glyph glyph-name="uni02CB" unicode="ˋ"+d="M321 568l-157 153l58 56l142 -168z" />+ <glyph glyph-name="uni02CC" unicode="ˌ"+d="M249 -254l23 320h56l23 -320h-102z" />+ <glyph glyph-name="uni02D0" unicode="ː"+d="M202 0l93 162h10l93 -162h-196zM295 343l-93 160h196l-93 -160h-10z" />+ <glyph glyph-name="uni02D1" unicode="ˑ"+d="M295 343l-93 160h196l-93 -160h-10z" />+ <glyph glyph-name="breve" unicode="˘"+d="M300 571q-40 0 -69 13t-47.5 34.5t-28 48.5t-11.5 55l51 8q3 -19 10.5 -37.5t20.5 -33.5t31.5 -24t42.5 -9t42.5 9t31.5 24t20.5 33.5t10.5 37.5l51 -8q-2 -28 -11.5 -55t-28.5 -48.5t-47.5 -34.5t-68.5 -13z" />+ <glyph glyph-name="dotaccent" unicode="˙"+d="M300 588q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="ring" unicode="˚"+d="M300 569q-52 0 -81 27.5t-29 68.5t29 68.5t81 27.5t81 -27.5t29 -68.5t-29 -68.5t-81 -27.5zM300 606q24 0 40.5 17t16.5 42q0 26 -16.5 42.5t-40.5 16.5t-40.5 -16.5t-16.5 -42.5q0 -25 16.5 -42t40.5 -17z" />+ <glyph glyph-name="ogonek" unicode="˛"+d="M312 -225q-44 0 -73 22.5t-29 70.5q0 23 8 43t20.5 37t27.5 30.5t29 24.5h58q-38 -27 -60 -56.5t-22 -62.5q0 -29 18 -42t40 -13q18 0 31.5 6.5t22.5 14.5l24 -39q-17 -16 -41 -26t-54 -10z" />+ <glyph glyph-name="tilde" unicode="˜"+d="M372 577q-27 0 -46 13t-35 29t-30.5 29t-31.5 13q-23 0 -34 -22t-13 -57l-55 3q1 29 7.5 54t18.5 43t30.5 28.5t44.5 10.5q27 0 46 -13t35 -29t30.5 -29t32.5 -13q22 0 33 22t13 57l55 -4q-1 -29 -7.5 -53.5t-18.5 -42.5t-30.5 -28.5t-44.5 -10.5z" />+ <glyph glyph-name="hungarumlaut" unicode="˝"+d="M243 568l-46 21l87 172l58 -28zM394 568l-46 21l87 172l58 -28z" />+ <glyph glyph-name="uni02DE" unicode="˞"+d="M329 230q-32 0 -57 21t-39 75l-105 -43v63l146 60q5 -38 11.5 -62.5t14 -38t16.5 -18.5t19 -5q12 0 21 4.5t17 10.5l22 -43q-12 -9 -28 -16.5t-38 -7.5z" />+ <glyph glyph-name="uni02E0" unicode="ˠ"+d="M301 249q-39 0 -60 21.5t-21 57.5q0 23 10.5 46.5t29.5 58.5l-114 284h65l59 -166q8 -23 15 -41.5t14 -40.5h3q8 22 15 40.5t15 41.5l59 166h63l-113 -283q19 -35 29.5 -59t10.5 -47q0 -36 -20.5 -57.5t-59.5 -21.5zM301 291q14 0 20.5 9t6.5 23q0 34 -26 81h-3+q-12 -23 -19 -44t-7 -37q0 -14 7 -23t21 -9z" />+ <glyph glyph-name="l.sups" unicode="ˡ"+d="M381 387q-54 0 -79 29.5t-25 86.5v312h-81v51h145v-367q0 -32 14.5 -46t40.5 -14q20 0 50 10l12 -49q-20 -5 -37 -9t-40 -4z" />+ <glyph glyph-name="s.sups" unicode="ˢ"+d="M308 387q-43 0 -81 13t-65 32l30 41q26 -18 53.5 -28t64.5 -10q40 0 59 13t19 32q0 12 -7.5 20.5t-20 15t-28.5 11.5l-32 10q-21 7 -42.5 15t-38.5 18.5t-28 25.5t-11 35q0 40 35.5 66.5t99.5 26.5q36 0 67.5 -11t54.5 -26l-30 -40q-20 13 -42.5 21t-49.5 8+q-38 0 -54.5 -12.5t-16.5 -29.5q0 -10 7 -17.5t19 -13.5t27 -11t31 -10q22 -7 44 -14.5t39.5 -18.5t28.5 -26.5t11 -38.5q0 -40 -36.5 -68.5t-106.5 -28.5z" />+ <glyph glyph-name="x.sups" unicode="ˣ"+d="M159 395l111 168l-102 153h68l43 -66q8 -14 16.5 -27t16.5 -27h3q8 14 15.5 27t15.5 27l38 66h68l-104 -160l111 -161h-69l-47 69q-8 15 -18 29.5t-20 28.5h-2q-8 -14 -16.5 -28.5t-17.5 -29.5l-43 -69h-67z" />+ <glyph glyph-name="uni02E4" unicode="ˤ"+d="M282 395v179q-25 16 -47.5 33.5t-39 37.5t-26 43.5t-9.5 52.5q0 31 12.5 55.5t34 41t49.5 25t59 8.5q48 0 81.5 -18t55.5 -41l-34 -40q-19 19 -42.5 32.5t-55.5 13.5q-43 0 -69.5 -21t-26.5 -58q0 -42 30 -74.5t91 -64.5v-205h-63z" />+ <glyph glyph-name="uni0300" unicode="̀"+d="M321 568l-157 153l58 56l142 -168z" />+ <glyph glyph-name="uni0301" unicode="́"+d="M279 568l-43 41l142 168l58 -56z" />+ <glyph glyph-name="uni0302" unicode="̂"+d="M180 568l-35 32l114 140h82l114 -140l-35 -32l-118 113h-4z" />+ <glyph glyph-name="uni0303" unicode="̃"+d="M372 577q-27 0 -46 13t-35 29t-30.5 29t-31.5 13q-23 0 -34 -22t-13 -57l-55 3q1 29 7.5 54t18.5 43t30.5 28.5t44.5 10.5q27 0 46 -13t35 -29t30.5 -29t32.5 -13q22 0 33 22t13 57l55 -4q-1 -29 -7.5 -53.5t-18.5 -42.5t-30.5 -28.5t-44.5 -10.5z" />+ <glyph glyph-name="uni0304" unicode="̄"+d="M167 601v57h266v-57h-266z" />+ <glyph glyph-name="uni0305" unicode="̅"+d="M167 601v57h266v-57h-266z" />+ <glyph glyph-name="uni0306" unicode="̆"+d="M300 571q-40 0 -69 13t-47.5 34.5t-28 48.5t-11.5 55l51 8q3 -19 10.5 -37.5t20.5 -33.5t31.5 -24t42.5 -9t42.5 9t31.5 24t20.5 33.5t10.5 37.5l51 -8q-2 -28 -11.5 -55t-28.5 -48.5t-47.5 -34.5t-68.5 -13z" />+ <glyph glyph-name="uni0307" unicode="̇"+d="M300 588q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="uni0308" unicode="̈"+d="M203 588q-24 0 -39.5 16t-15.5 40q0 23 15.5 39.5t39.5 16.5t39.5 -16.5t15.5 -39.5q0 -24 -15.5 -40t-39.5 -16zM397 588q-24 0 -39.5 16t-15.5 40q0 23 15.5 39.5t39.5 16.5t39.5 -16.5t15.5 -39.5q0 -24 -15.5 -40t-39.5 -16z" />+ <glyph glyph-name="uni0309" unicode="̉"+d="M268 572l-9 40q24 6 40 16.5t16 30.5q0 43 -83 47l5 54q69 -2 106 -25.5t37 -68.5q0 -22 -9.5 -37.5t-25 -27t-35.5 -18.5t-42 -11z" />+ <glyph glyph-name="uni030A" unicode="̊"+d="M300 569q-52 0 -81 27.5t-29 68.5t29 68.5t81 27.5t81 -27.5t29 -68.5t-29 -68.5t-81 -27.5zM300 606q24 0 40.5 17t16.5 42q0 26 -16.5 42.5t-40.5 16.5t-40.5 -16.5t-16.5 -42.5q0 -25 16.5 -42t40.5 -17z" />+ <glyph glyph-name="uni030B" unicode="̋"+d="M243 568l-46 21l87 172l58 -28zM394 568l-46 21l87 172l58 -28z" />+ <glyph glyph-name="uni030C" unicode="̌"+d="M259 574l-114 140l35 32l118 -113h4l118 113l35 -32l-114 -140h-82z" />+ <glyph glyph-name="uni030F" unicode="̏"+d="M206 568l-99 165l58 28l87 -172zM357 568l-99 165l58 28l87 -172z" />+ <glyph glyph-name="uni0310" unicode="̐"+d="M300 571q-41 0 -70.5 13t-49 34.5t-29.5 48.5t-12 55l48 8q3 -20 11 -39.5t22 -34.5t34 -24.5t46 -9.5q25 0 45 9.5t34.5 24.5t22.5 34.5t11 39.5l48 -8q-2 -28 -12 -55t-29.5 -48.5t-49 -34.5t-70.5 -13zM300 701q-24 0 -40 15t-16 41t16 41t40 15t40 -15t16 -41+t-16 -41t-40 -15z" />+ <glyph glyph-name="uni0311" unicode="̑"+d="M195 568l-51 8q2 28 11.5 55t28 48.5t47.5 34.5t69 13t68.5 -13t47.5 -34.5t28.5 -48.5t11.5 -55l-51 -8q-3 19 -10.5 37.5t-20.5 33.5t-31.5 24t-42.5 9t-42.5 -9t-31.5 -24t-20.5 -33.5t-10.5 -37.5z" />+ <glyph glyph-name="uni0312" unicode="̒"+d="M303 553q-26 0 -42 19.5t-16 55.5q0 37 21 68.5t69 50.5l18 -34q-32 -14 -47 -32t-15 -38q8 2 13 2q17 0 31 -10.5t14 -33.5t-13 -35.5t-33 -12.5z" />+ <glyph glyph-name="uni0313" unicode="̓"+d="M265 553l-18 34q32 14 47 32t15 38q-8 -2 -13 -2q-17 0 -31 10.5t-14 33.5t13 35.5t33 12.5q26 0 42 -19.5t16 -55.5q0 -37 -21 -68.5t-69 -50.5z" />+ <glyph glyph-name="uni0318" unicode="̘"+d="M339 -249v72h-115v47h115v72h53v-191h-53z" />+ <glyph glyph-name="uni0319" unicode="̙"+d="M208 -249v191h53v-72h115v-47h-115v-72h-53z" />+ <glyph glyph-name="uni031A" unicode="̚"+d="M335 573v94h-111v47h161v-141h-50z" />+ <glyph glyph-name="uni031B" unicode="̛"+d="M299 434l-8 41q84 13 84 90q0 15 -4 28t-10 27l64 30q10 -18 16.5 -37t6.5 -42q0 -32 -12 -55.5t-32 -40.5t-47 -27t-58 -14z" />+ <glyph glyph-name="uni031C" unicode="̜"+d="M362 -257q-69 -2 -103.5 24t-34.5 71q0 46 34.5 72t103.5 24v-36q-38 0 -57.5 -16t-19.5 -44q0 -27 19.5 -43t57.5 -16v-36z" />+ <glyph glyph-name="uni031D" unicode="̝"+d="M184 -211v47h89v106h54v-106h89v-47h-232z" />+ <glyph glyph-name="uni031E" unicode="̞"+d="M273 -249v106h-89v47h232v-47h-89v-106h-54z" />+ <glyph glyph-name="uni031F" unicode="̟"+d="M273 -249v72h-89v47h89v72h54v-72h89v-47h-89v-72h-54z" />+ <glyph glyph-name="uni0320" unicode="̠"+d="M184 -150v47h232v-47h-232z" />+ <glyph glyph-name="uni0323" unicode="̣"+d="M300 -214q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="uni0324" unicode="̤"+d="M203 -207q-24 0 -39.5 16t-15.5 40q0 23 15.5 39.5t39.5 16.5t39.5 -16.5t15.5 -39.5q0 -24 -15.5 -40t-39.5 -16zM397 -207q-24 0 -39.5 16t-15.5 40q0 23 15.5 39.5t39.5 16.5t39.5 -16.5t15.5 -39.5q0 -24 -15.5 -40t-39.5 -16z" />+ <glyph glyph-name="uni0325" unicode="̥"+d="M300 -243q-52 0 -81 27.5t-29 68.5t29 68.5t81 27.5t81 -27.5t29 -68.5t-29 -68.5t-81 -27.5zM300 -206q24 0 40.5 17t16.5 42q0 26 -16.5 42.5t-40.5 16.5t-40.5 -16.5t-16.5 -42.5q0 -25 16.5 -42t40.5 -17z" />+ <glyph glyph-name="uni0326" unicode="̦"+d="M213 -226l-8 40q63 5 86 16.5t23 31.5t-18 29.5t-53 12.5l18 38q65 -8 91 -25.5t26 -51.5q0 -44 -42.5 -65.5t-122.5 -25.5z" />+ <glyph glyph-name="uni0327" unicode="̧"+d="M213 -226l-8 40q63 5 86 16.5t23 33.5q0 20 -17 31t-60 17l40 96h54l-26 -72q35 -8 54 -24t19 -47q0 -44 -42.5 -65.5t-122.5 -25.5z" />+ <glyph glyph-name="uni0328" unicode="̨"+d="M312 -225q-44 0 -73 22.5t-29 70.5q0 23 8 43t20.5 37t27.5 30.5t29 24.5h58q-38 -27 -60 -56.5t-22 -62.5q0 -29 18 -42t40 -13q18 0 31.5 6.5t22.5 14.5l24 -39q-17 -16 -41 -26t-54 -10z" />+ <glyph glyph-name="uni0329" unicode="̩"+d="M265 -266l6 195h58l6 -195h-70z" />+ <glyph glyph-name="uni032A" unicode="̪"+d="M177 -226v144h246v-144h-48v97h-150v-97h-48z" />+ <glyph glyph-name="uni032C" unicode="̬"+d="M259 -223l-114 140l35 32l118 -113h4l118 113l35 -32l-114 -140h-82z" />+ <glyph glyph-name="uni032E" unicode="̮"+d="M300 -230q-40 0 -69 13t-47.5 34.5t-28 48.5t-11.5 55l51 8q3 -19 10.5 -37.5t20.5 -33.5t31.5 -24t42.5 -9t42.5 9t31.5 24t20.5 33.5t10.5 37.5l51 -8q-2 -28 -11.5 -55t-28.5 -48.5t-47.5 -34.5t-68.5 -13z" />+ <glyph glyph-name="uni032F" unicode="̯"+d="M195 -236l-51 8q2 28 11.5 55t28 48.5t47.5 34.5t69 13t68.5 -13t47.5 -34.5t28.5 -48.5t11.5 -55l-51 -8q-3 19 -10.5 37.5t-20.5 33.5t-31.5 24t-42.5 9t-42.5 -9t-31.5 -24t-20.5 -33.5t-10.5 -37.5z" />+ <glyph glyph-name="uni0330" unicode="̰"+d="M372 -222q-27 0 -46 13t-35 29t-30.5 29t-31.5 13q-23 0 -34 -22t-13 -57l-55 3q1 29 7.5 54t18.5 43t30.5 28.5t44.5 10.5q27 0 46 -13t35 -29t30.5 -29t32.5 -13q22 0 33 22t13 57l55 -4q-1 -29 -7.5 -53.5t-18.5 -42.5t-30.5 -28.5t-44.5 -10.5z" />+ <glyph glyph-name="uni0331" unicode="̱"+d="M167 -169v57h266v-57h-266z" />+ <glyph glyph-name="uni0334" unicode="̴"+d="M394 173q-33 0 -57 13t-44.5 29t-39.5 29t-41 13t-33 -21.5t-13 -56.5l-55 10q1 27 7 50.5t17.5 40.5t29 27t41.5 10q33 0 57.5 -13t45 -29t39 -29t40.5 -13t33 21.5t13 55.5l55 -9q-2 -27 -7.5 -50.5t-17 -40.5t-29 -27t-41.5 -10z" />+ <glyph glyph-name="uni0339" unicode="̹"+d="M238 -257v36q38 0 57.5 16t19.5 43q0 28 -19.5 44t-57.5 16v36q69 2 103.5 -24t34.5 -72q0 -45 -34.5 -71t-103.5 -24z" />+ <glyph glyph-name="uni033A" unicode="̺"+d="M177 -225v143h48v-96h150v96h48v-143h-246z" />+ <glyph glyph-name="uni033B" unicode="̻"+d="M177 -240v163h246v-163h-246zM225 -200h150v84h-150v-84z" />+ <glyph glyph-name="uni033C" unicode="̼"+d="M182 -234l-52 6q-1 78 24 113t73 35q26 0 45 -13t27 -45h2q8 32 27.5 45t44.5 13q48 0 73 -35t24 -113l-52 -6q0 60 -13 80t-36 20t-34 -21t-11 -59v-19h-48v19q0 38 -11.5 59t-34.5 21t-35.5 -20t-12.5 -80z" />+ <glyph glyph-name="uni033D" unicode="̽"+d="M238 565l-32 30l61 57l-61 57l32 30l62 -58l62 58l32 -30l-61 -57l61 -57l-32 -30l-62 58z" />+ <glyph glyph-name="uni0342" unicode="͂"+d="M372 577q-27 0 -46 13t-35 29t-30.5 29t-31.5 13q-23 0 -34 -22t-13 -57l-55 3q1 29 7.5 54t18.5 43t30.5 28.5t44.5 10.5q27 0 46 -13t35 -29t30.5 -29t32.5 -13q22 0 33 22t13 57l55 -4q-1 -29 -7.5 -53.5t-18.5 -42.5t-30.5 -28.5t-44.5 -10.5z" />+ <glyph glyph-name="uni0345" unicode="ͅ"+d="M344 -201q-77 0 -77 92v47h64q-2 -13 -2 -27.5v-25.5q0 -17 9 -24t21 -7q4 0 8 0.5t14 2.5l9 -49q-10 -4 -19.5 -6.5t-26.5 -2.5z" />+ <glyph glyph-name="uni035F" unicode="͟"+d="M-193 -171v58h986v-58h-986z" />+ <glyph glyph-name="uni0361" unicode="͡"+d="M-130 600l-24 42q101 62 213.5 94.5t240.5 32.5t240.5 -32.5t213.5 -94.5l-24 -42q-96 58 -208.5 84.5t-221.5 26.5t-221.5 -26.5t-208.5 -84.5z" />+ <glyph glyph-name="uni0374" unicode="ʹ"+d="M257 449l22 241h81l-14 -92l-35 -149h-54z" />+ <glyph glyph-name="uni0375" unicode="͵"+d="M240 0l14 92l35 150h54l-22 -242h-81z" />+ <glyph glyph-name="uni037A" unicode="ͺ"+d="M344 -201q-77 0 -77 92v47h64q-2 -13 -2 -27.5v-25.5q0 -17 9 -24t21 -7q4 0 8 0.5t14 2.5l9 -49q-10 -4 -19.5 -6.5t-26.5 -2.5z" />+ <glyph glyph-name="uni037E" unicode=";"+d="M300 346q-34 0 -57.5 23t-23.5 61t23.5 61.5t57.5 23.5t57.5 -23.5t23.5 -61.5t-23.5 -61t-57.5 -23zM220 -213l-23 52q62 28 93 67.5t33 99.5q-5 -2 -9.5 -2h-9.5q-32 0 -55 18.5t-23 56.5q0 37 24 56.5t56 19.5q45 0 67.5 -34.5t22.5 -93.5q0 -88 -46.5 -148.5+t-129.5 -91.5z" />+ <glyph glyph-name="tonos" unicode="΄"+d="M322 559l-57 10l47 230l85 -15z" />+ <glyph glyph-name="dieresistonos" unicode="΅"+d="M185 595q-20 0 -33 11.5t-13 31.5q0 21 13 33.5t33 12.5t33 -12.5t13 -33.5q0 -20 -13 -31.5t-33 -11.5zM258 573l49 226l68 -13l-75 -222zM415 595q-20 0 -33 11.5t-13 31.5q0 21 13 33.5t33 12.5t33 -12.5t13 -33.5q0 -20 -13 -31.5t-33 -11.5z" />+ <glyph glyph-name="Alphatonos" unicode="Ά"+d="M248 367l-30 -100h183l-29 100q-16 55 -30.5 104.5t-29.5 108.5h-4q-16 -59 -30 -108.5t-30 -104.5zM54 0l210 656h94l210 -656h-88l-59 200h-223l-59 -200h-85zM93 389l-57 10l36 291l79 -10z" />+ <glyph glyph-name="anoteleia" unicode="·"+d="M300 340q-34 0 -57.5 23t-23.5 61t23.5 61.5t57.5 23.5t57.5 -23.5t23.5 -61.5t-23.5 -61t-57.5 -23z" />+ <glyph glyph-name="Epsilontonos" unicode="Έ"+d="M200 0v656h320v-70h-244v-206h194v-71h-194v-238h254v-71h-330zM81 389l-57 10l36 291l79 -10z" />+ <glyph glyph-name="Etatonos" unicode="Ή"+d="M194 0v656h76v-275h182v275h76v-656h-76v309h-182v-309h-76zM81 389l-57 10l36 291l79 -10z" />+ <glyph glyph-name="Iotatonos" unicode="Ί"+d="M185 0v71h118v515h-118v70h320v-70h-119v-515h119v-71h-320zM81 389l-57 10l36 291l79 -10z" />+ <glyph glyph-name="Omicrontonos" unicode="Ό"+d="M348 -12q-45 0 -82 23t-64 67t-42 108t-15 145q0 82 15 145t42 106t64 64.5t82 21.5t82.5 -21.5t64.5 -64.5t42 -106t15 -145q0 -83 -15 -147t-42 -107.5t-64.5 -66t-82.5 -22.5zM348 61q56 0 89.5 66.5t33.5 203.5q0 135 -34 199.5t-89 64.5t-88.5 -64t-33.5 -200+q0 -137 33.5 -203.5t88.5 -66.5zM81 389l-57 10l36 291l79 -10z" />+ <glyph glyph-name="Upsilontonos" unicode="Ύ"+d="M357 0v234l-169 422h77l73 -195q15 -42 28.5 -78.5t27.5 -74.5h4q14 38 27.5 76t27.5 77l75 195h74l-169 -422v-234h-76zM97 389l-57 10l36 291l79 -10z" />+ <glyph glyph-name="Omegatonos" unicode="Ώ"+d="M134 0v68h99v4q-42 60 -65 129.5t-23 163.5q0 66 14.5 121.5t40.5 96t63.5 63t83.5 22.5t83.5 -22.5t64 -63t40.5 -96t14 -121.5q0 -94 -23 -163.5t-65 -129.5v-4h99v-68h-172v61q39 59 59.5 127.5t20.5 163.5q0 55 -8 99.5t-23.5 76.5t-38 49.5t-51.5 17.5t-51.5 -17.5+t-38 -49.5t-23.5 -76.5t-8 -99.5q0 -95 20.5 -163.5t59.5 -127.5v-61h-172zM81 389l-57 10l36 291l79 -10z" />+ <glyph glyph-name="iotadieresistonos" unicode="ΐ"+d="M400 -12q-81 0 -117 44t-36 131v256h-166v67h249q-1 -41 -2 -84t-2 -85.5t-1.5 -83t-0.5 -76.5q0 -53 23.5 -77t70.5 -24q19 0 41 4.5t45 15.5l21 -61q-26 -12 -55.5 -19.5t-69.5 -7.5zM168 595q-20 0 -33 11.5t-13 31.5q0 21 13 33.5t33 12.5t33 -12.5t13 -33.5+q0 -20 -13 -31.5t-33 -11.5zM241 573l49 226l68 -13l-75 -222zM398 595q-20 0 -33 11.5t-13 31.5q0 21 13 33.5t33 12.5t33 -12.5t13 -33.5q0 -20 -13 -31.5t-33 -11.5z" />+ <glyph glyph-name="Alpha" unicode="Α"+d="M232 367l-31 -100h196l-31 100q-17 55 -33.5 109.5t-31.5 111.5h-4q-16 -57 -32 -111.5t-33 -109.5zM32 0l221 656h94l221 -656h-88l-62 200h-238l-63 -200h-85z" />+ <glyph glyph-name="Beta" unicode="Β"+d="M99 0v656h186q50 0 91.5 -9t71 -28t46 -49.5t16.5 -73.5q0 -49 -28 -88.5t-87 -54.5v-4q72 -11 112 -50t40 -107q0 -48 -18 -84t-50.5 -60t-78 -36t-100.5 -12h-201zM182 380h89q84 0 120.5 27t36.5 82q0 54 -38.5 75.5t-114.5 21.5h-93v-206zM182 70h106q85 0 131 29.5+t46 96.5q0 61 -45 87.5t-132 26.5h-106v-240z" />+ <glyph glyph-name="Gamma" unicode="Γ"+d="M135 0v656h400v-70h-317v-586h-83z" />+ <glyph glyph-name="uni0394" unicode="Δ"+d="M43 0v50l209 606h96l209 -606v-50h-514zM134 71h331l-97 293q-17 54 -33.5 109t-33.5 112h-4q-17 -57 -33.5 -112t-33.5 -109z" />+ <glyph glyph-name="Epsilon" unicode="Ε"+d="M114 0v656h406v-70h-322v-206h272v-71h-272v-238h332v-71h-416z" />+ <glyph glyph-name="Zeta" unicode="Ζ"+d="M65 0v50l366 537h-334v70h437v-50l-367 -536h372v-71h-474z" />+ <glyph glyph-name="Eta" unicode="Η"+d="M79 0v656h84v-275h274v275h84v-656h-84v309h-274v-309h-84z" />+ <glyph glyph-name="Theta" unicode="Θ"+d="M300 -12q-56 0 -102 24t-79.5 68.5t-52 108t-18.5 142.5t18.5 141.5t52 106t79.5 66.5t102 23q55 0 101.5 -23.5t80 -67t52 -106t18.5 -140.5q0 -79 -18.5 -142.5t-52 -108t-80 -68.5t-101.5 -24zM300 61q37 0 68 19t52.5 54.5t33.5 85t12 111.5q0 61 -12 110t-33.5 83+t-52.5 52.5t-68 18.5q-38 0 -68.5 -18.5t-52 -52.5t-33.5 -83t-12 -110q0 -62 12 -111.5t33.5 -85t52 -54.5t68.5 -19zM201 309v72h198v-72h-198z" />+ <glyph glyph-name="Iota" unicode="Ι"+d="M95 0v71h163v515h-163v70h410v-70h-163v-515h163v-71h-410z" />+ <glyph glyph-name="Kappa" unicode="Κ"+d="M98 0v656h84v-329h3l276 329h95l-208 -249l232 -407h-94l-191 344l-113 -135v-209h-84z" />+ <glyph glyph-name="Lambda" unicode="Λ"+d="M43 0l208 656h97l209 -656h-88l-106 355q-17 58 -31 108.5t-32 108.5h-4q-18 -58 -32 -108.5t-31 -108.5l-105 -355h-85z" />+ <glyph glyph-name="Mu" unicode="Μ"+d="M72 0v656h102l92 -280l32 -106h4l31 106l93 280h102v-656h-80v328q0 24 1.5 55.5t4 63.5t4.5 62t4 51h-3l-37 -128l-94 -258h-60l-92 258l-38 128h-2q2 -21 4.5 -51t4.5 -62t3.5 -63.5t1.5 -55.5v-328h-78z" />+ <glyph glyph-name="Nu" unicode="Ν"+d="M82 0v656h92l210 -412l63 -136h2q-2 49 -6.5 102.5t-4.5 105.5v340h80v-656h-92l-210 412l-63 136h-2q2 -51 6.5 -102.5t4.5 -102.5v-343h-80z" />+ <glyph glyph-name="Xi" unicode="Ξ"+d="M70 0v71h460v-71h-460zM145 309v71h310v-71h-310zM80 586v70h440v-70h-440z" />+ <glyph glyph-name="Omicron" unicode="Ο"+d="M300 -12q-56 0 -102 23.5t-79.5 67.5t-52 107.5t-18.5 144.5q0 79 18.5 142t52 106t79.5 66t102 23q55 0 101.5 -23t80 -66t52 -106t18.5 -142q0 -81 -18.5 -144.5t-52 -107.5t-80 -67.5t-101.5 -23.5zM300 61q37 0 68 18.5t52.5 53.5t33.5 85t12 113q0 62 -12 111+t-33.5 83t-52.5 52t-68 18q-38 0 -68.5 -18t-52 -52t-33.5 -83t-12 -111q0 -63 12 -113t33.5 -85t52 -53.5t68.5 -18.5z" />+ <glyph glyph-name="Pi" unicode="Π"+d="M79 0v656h442v-656h-84v586h-274v-586h-84z" />+ <glyph glyph-name="Rho" unicode="Ρ"+d="M102 0v656h198q54 0 99 -10t77 -32.5t49.5 -59.5t17.5 -91q0 -52 -17.5 -90t-50 -63t-77 -37.5t-98.5 -12.5h-115v-260h-83zM185 328h105q87 0 128 32.5t41 102.5q0 71 -42 98.5t-127 27.5h-105v-261z" />+ <glyph glyph-name="Sigma" unicode="Σ"+d="M75 0v50l226 283l-222 274v49h423v-70h-317l201 -251l-205 -264h351v-71h-457z" />+ <glyph glyph-name="Tau" unicode="Τ"+d="M258 0v586h-216v70h516v-70h-216v-586h-84z" />+ <glyph glyph-name="Upsilon" unicode="Υ"+d="M258 0v234l-220 422h88l99 -195q19 -38 37 -75.5t38 -77.5h4l39 78l38 76l95 194h86l-220 -422v-234h-84z" />+ <glyph glyph-name="Phi" unicode="Φ"+d="M106 332q0 -87 41.5 -141t114.5 -60v395q-73 -6 -114.5 -57.5t-41.5 -136.5zM494 332q0 85 -42 136.5t-114 57.5v-395q36 3 65 18.5t49 42t31 62t11 78.5zM262 -22v88q-54 3 -97.5 23t-74 54t-47.5 81.5t-17 107.5q0 58 17 105t47.5 80t74 52t97.5 22v87h76v-87+q54 -3 97.5 -22t74 -52t47.5 -80t17 -105q0 -60 -17 -107.5t-47.5 -81.5t-74 -54t-97.5 -23v-88h-76z" />+ <glyph glyph-name="Chi" unicode="Χ"+d="M54 0l196 339l-183 317h92l92 -168q13 -23 25 -44.5t28 -50.5h4q14 29 24.5 50.5t22.5 44.5l90 168h88l-183 -321l196 -335h-92l-99 177q-14 24 -27.5 49.5t-30.5 55.5h-4q-14 -30 -27 -55.5t-26 -49.5l-98 -177h-88z" />+ <glyph glyph-name="Psi" unicode="Ψ"+d="M258 0v243q-100 5 -157 63t-57 174v176h80v-172q0 -164 134 -174v346h84v-346q134 10 134 174v172h80v-176q0 -116 -57 -174t-157 -63v-243h-84z" />+ <glyph glyph-name="uni03A9" unicode="Ω"+d="M38 0v68h121v4q-21 20 -40.5 47.5t-35.5 62.5t-25.5 77t-9.5 92q0 69 17.5 127t50.5 100.5t79.5 66t104.5 23.5t104.5 -23.5t79.5 -66t50.5 -100.5t17.5 -127q0 -50 -9.5 -92t-25.5 -77t-35.5 -62.5t-40.5 -47.5v-4h121v-68h-210v61q24 24 45 52t36.5 62.5t24 76.5+t8.5 94q0 53 -11 98.5t-32 79t-52 52.5t-71 19t-71 -19t-52 -52.5t-32 -79t-11 -98.5q0 -52 8.5 -94t24 -76.5t36.5 -62.5t45 -52v-61h-210z" />+ <glyph glyph-name="Iotadieresis" unicode="Ϊ"+d="M95 0v71h163v515h-163v70h410v-70h-163v-515h163v-71h-410zM209 715q-22 0 -36.5 14t-14.5 37t14.5 36.5t36.5 13.5t36 -13.5t14 -36.5t-14 -37t-36 -14zM391 715q-22 0 -36 14t-14 37t14 36.5t36 13.5t36.5 -13.5t14.5 -36.5t-14.5 -37t-36.5 -14z" />+ <glyph glyph-name="Upsilondieresis" unicode="Ϋ"+d="M258 0v234l-220 422h88l99 -195q19 -38 37 -75.5t38 -77.5h4l39 78l38 76l95 194h86l-220 -422v-234h-84zM209 715q-22 0 -36.5 14t-14.5 37t14.5 36.5t36.5 13.5t36 -13.5t14 -36.5t-14 -37t-36 -14zM391 715q-22 0 -36 14t-14 37t14 36.5t36 13.5t36.5 -13.5+t14.5 -36.5t-14.5 -37t-36.5 -14z" />+ <glyph glyph-name="alphatonos" unicode="ά"+d="M253 -12q-44 0 -80 16t-61.5 47.5t-40 77t-14.5 105.5q0 63 18 112t48 82.5t69.5 51.5t82.5 18q25 0 49.5 -6.5t46 -21.5t38.5 -39.5t28 -59.5h3l20 115h82q-10 -48 -20.5 -100.5t-19.5 -103.5t-15 -96.5t-6 -78.5q0 -25 14 -38t34 -13q8 0 17 2.5t17 5.5l12 -63+q-11 -5 -26.5 -9t-37.5 -4q-43 0 -69 24t-26 75h-3q-32 -51 -71 -75t-89 -24zM270 57q25 0 49.5 12t44 32.5t32 48t15.5 58.5l7 91q-10 40 -25 65.5t-33 39.5t-37 19.5t-35 5.5q-28 0 -54 -12.5t-46.5 -36.5t-33 -60.5t-12.5 -84.5q0 -85 34 -131.5t94 -46.5zM346 559+l-57 10l47 230l85 -15z" />+ <glyph glyph-name="epsilontonos" unicode="έ"+d="M320 -12q-107 0 -168 38.5t-61 107.5q0 52 32.5 80t78.5 41v4q-43 16 -65 45t-22 63q0 33 15.5 58t43.5 41t66.5 24t84.5 8q54 0 102.5 -16t90.5 -46l-33 -55q-73 52 -158 52q-61 0 -95.5 -19t-34.5 -57q0 -33 33.5 -53t107.5 -20q14 0 28.5 0.5t32.5 2.5v-68+q-21 2 -39.5 2h-36.5q-150 0 -150 -80q0 -41 38.5 -64t117.5 -23q45 0 85.5 11.5t84.5 46.5l35 -55q-27 -20 -52 -33.5t-51 -21.5t-53 -11t-58 -3zM358 559l-57 10l47 230l85 -15z" />+ <glyph glyph-name="etatonos" unicode="ή"+d="M431 -179q1 60 2 122t2 123t1.5 119.5t0.5 111.5q0 69 -21.5 99.5t-72.5 30.5q-23 0 -42.5 -4.5t-38 -16.5t-38.5 -32t-42 -50v-324h-82v353q0 29 -1 62t-6 71h75l7 -95h3q41 56 85.5 81.5t103.5 25.5q78 0 112.5 -48t34.5 -142v-487h-83zM348 559l-57 10l47 230l85 -15z+" />+ <glyph glyph-name="iotatonos" unicode="ί"+d="M400 -12q-81 0 -117 44t-36 131v256h-166v67h249q-1 -41 -2 -84t-2 -85.5t-1.5 -83t-0.5 -76.5q0 -53 23.5 -77t70.5 -24q19 0 41 4.5t45 15.5l21 -61q-26 -12 -55.5 -19.5t-69.5 -7.5zM305 559l-57 10l47 230l85 -15z" />+ <glyph glyph-name="upsilondieresistonos" unicode="ΰ"+d="M294 -12q-99 0 -155 51.5t-56 157.5q0 39 2 78t2 78q0 29 -1.5 62t-6.5 71h80q5 -26 6 -53.5t1 -59.5q0 -19 -1 -42t-2 -47t-2 -47.5t-1 -44.5q0 -37 11 -63t29.5 -42t43 -23.5t51.5 -7.5q32 0 59 12t47 36.5t31 62.5t11 90q0 51 -9 105t-31 117l80 19q20 -60 32 -119+t12 -120q0 -66 -17 -116.5t-48 -85t-74 -52t-94 -17.5zM182 595q-20 0 -33 11.5t-13 31.5q0 21 13 33.5t33 12.5t33 -12.5t13 -33.5q0 -20 -13 -31.5t-33 -11.5zM255 573l49 226l68 -13l-75 -222zM412 595q-20 0 -33 11.5t-13 31.5q0 21 13 33.5t33 12.5t33 -12.5t13 -33.5+q0 -20 -13 -31.5t-33 -11.5z" />+ <glyph glyph-name="alpha" unicode="α"+d="M253 -12q-44 0 -80 16t-61.5 47.5t-40 77t-14.5 105.5q0 63 18 112t48 82.5t69.5 51.5t82.5 18q25 0 49.5 -6.5t46 -21.5t38.5 -39.5t28 -59.5h3l20 115h82q-10 -48 -20.5 -100.5t-19.5 -103.5t-15 -96.5t-6 -78.5q0 -25 14 -38t34 -13q8 0 17 2.5t17 5.5l12 -63+q-11 -5 -26.5 -9t-37.5 -4q-43 0 -69 24t-26 75h-3q-32 -51 -71 -75t-89 -24zM270 57q25 0 49.5 12t44 32.5t32 48t15.5 58.5l7 91q-10 40 -25 65.5t-33 39.5t-37 19.5t-35 5.5q-28 0 -54 -12.5t-46.5 -36.5t-33 -60.5t-12.5 -84.5q0 -85 34 -131.5t94 -46.5z" />+ <glyph glyph-name="beta" unicode="β"+d="M93 -179v674q0 49 12.5 91t37.5 72.5t63 48t89 17.5q37 0 71 -10.5t60.5 -32t42.5 -54t16 -76.5q0 -54 -27 -95t-79 -71v-4q75 -11 120 -61t45 -127q0 -49 -16.5 -87t-44 -64.5t-63 -40t-73.5 -13.5q-47 0 -93 16t-84 58q2 -62 3.5 -120.5t2.5 -120.5h-83zM327 57+q28 0 52.5 9.5t43 27.5t29 44.5t10.5 59.5q0 58 -35 97t-106 39q-26 0 -50 -6l-13 63q40 8 67.5 24t45 37t25.5 45t8 48q0 28 -8.5 49t-23.5 35t-34.5 21t-41.5 7q-57 0 -89.5 -44t-33.5 -133q-1 -88 -1.5 -173.5t-0.5 -173.5q35 -46 76.5 -61t79.5 -15z" />+ <glyph glyph-name="gamma" unicode="γ"+d="M255 -179q1 16 2 29.5t1.5 27t0.5 29v35.5q0 58 -18 130t-47 145.5t-67.5 141.5t-78.5 118l82 21q26 -33 52 -78t49.5 -97.5t43 -110.5t32.5 -115h4q54 95 92.5 191t52.5 198h82q-12 -62 -28 -117t-40 -111t-58.5 -117t-82.5 -136q6 -44 8 -93t2 -91h-84z" />+ <glyph glyph-name="delta" unicode="δ"+d="M300 -12q-45 0 -87.5 15t-75.5 43.5t-52.5 69.5t-19.5 93q0 44 15.5 80.5t42 65.5t62 50t76.5 35q-30 19 -56.5 38t-46 40t-30.5 45t-11 52q0 22 10 41.5t30.5 34.5t51.5 24t74 9q53 0 111.5 -10t129.5 -34l-20 -65q-74 26 -127 35.5t-95 9.5q-45 0 -64.5 -15t-19.5 -35+t12 -37.5t33.5 -34.5t51.5 -36t67 -42q36 -23 68 -47t55 -52.5t36.5 -63t13.5 -78.5q0 -52 -16 -94.5t-46 -73t-74 -47t-99 -16.5zM302 56q75 0 113.5 44.5t38.5 117.5q0 31 -10 57t-27.5 47.5t-41 40.5t-50.5 36q-85 -19 -132.5 -67.5t-47.5 -120.5q0 -36 13 -64.5+t34.5 -48.5t50 -31t59.5 -11z" />+ <glyph glyph-name="epsilon" unicode="ε"+d="M320 -12q-107 0 -168 38.5t-61 107.5q0 52 32.5 80t78.5 41v4q-43 16 -65 45t-22 63q0 33 15.5 58t43.5 41t66.5 24t84.5 8q54 0 102.5 -16t90.5 -46l-33 -55q-73 52 -158 52q-61 0 -95.5 -19t-34.5 -57q0 -33 33.5 -53t107.5 -20q14 0 28.5 0.5t32.5 2.5v-68+q-21 2 -39.5 2h-36.5q-150 0 -150 -80q0 -41 38.5 -64t117.5 -23q45 0 85.5 11.5t84.5 46.5l35 -55q-27 -20 -52 -33.5t-51 -21.5t-53 -11t-58 -3z" />+ <glyph glyph-name="zeta" unicode="ζ"+d="M467 -184l-66 27q26 32 37.5 50t11.5 38q0 11 -6 19t-21 15t-40.5 13t-64.5 14q-40 8 -76.5 22.5t-64.5 40.5t-44.5 66.5t-16.5 100.5t27 120.5t71.5 116.5t100 105t112.5 86h-61.5t-75.5 -1t-77.5 -2t-66.5 -2v67h377v-67h-5q-59 -35 -116 -84.5t-101.5 -105.5+t-72 -115.5t-27.5 -113.5q0 -43 11.5 -72t33 -48t52 -30t69.5 -18q40 -8 69.5 -16.5t49 -20.5t29 -29t9.5 -42q0 -23 -13.5 -57.5t-43.5 -76.5z" />+ <glyph glyph-name="eta" unicode="η"+d="M431 -179q1 60 2 122t2 123t1.5 119.5t0.5 111.5q0 69 -21.5 99.5t-72.5 30.5q-23 0 -42.5 -4.5t-38 -16.5t-38.5 -32t-42 -50v-324h-82v353q0 29 -1 62t-6 71h75l7 -95h3q41 56 85.5 81.5t103.5 25.5q78 0 112.5 -48t34.5 -142v-487h-83z" />+ <glyph glyph-name="theta" unicode="θ"+d="M300 -12q-53 0 -95 22t-71.5 67.5t-45.5 115.5t-16 166q0 180 61 272.5t167 92.5t167 -92.5t61 -272.5q0 -96 -16 -166t-45.5 -115.5t-71.5 -67.5t-95 -22zM300 656q-30 0 -56 -15t-45.5 -47t-31.5 -82.5t-14 -121.5h294q-2 71 -14 121.5t-31.5 82.5t-45.5 47t-56 15z+M300 56q30 0 56 14t45.5 46.5t31.5 85t14 129.5h-294q2 -77 13.5 -129.5t31 -85t46 -46.5t56.5 -14z" />+ <glyph glyph-name="iota" unicode="ι"+d="M400 -12q-81 0 -117 44t-36 131v256h-166v67h249q-1 -41 -2 -84t-2 -85.5t-1.5 -83t-0.5 -76.5q0 -53 23.5 -77t70.5 -24q19 0 41 4.5t45 15.5l21 -61q-26 -12 -55.5 -19.5t-69.5 -7.5z" />+ <glyph glyph-name="kappa" unicode="κ"+d="M484 -8q-22 25 -47.5 56t-51 65t-50 70t-43.5 72q-35 -38 -68 -83q-37 -54 -37 -147v-25h-77v353q0 29 -1.5 65t-8.5 68h82q5 -20 7 -50.5t2 -62.5v-152h4q30 52 69 97.5t83.5 81.5t91.5 61t94 37l9 -78q-48 -14 -97 -41.5t-98 -69.5q20 -38 47.5 -79t58 -81t62.5 -78+t62 -71z" />+ <glyph glyph-name="lambda" unicode="λ"+d="M145 -8l-89 8l224 497l-8 23q-24 71 -52.5 102.5t-73.5 31.5q-20 0 -34.5 -5t-27.5 -11l-21 68q17 8 38.5 13t53.5 5q38 0 67 -12t52.5 -37.5t42.5 -64t38 -91.5l198 -519h-89l-145 403h-4z" />+ <glyph glyph-name="uni03BC" unicode="μ"+d="M84 -187v673h82v-291q0 -67 24.5 -101.5t78.5 -34.5q19 0 37 4t36.5 15t37 32t37.5 54v322h83q-2 -99 -4 -202.5t-2 -191.5q0 -20 8 -28t20 -8h7.5t10.5 2l11 -62q-18 -8 -47 -8q-38 0 -57.5 22.5t-22.5 81.5h-2q-30 -52 -69.5 -77t-84.5 -25q-33 0 -60.5 10.5+t-47.5 42.5q0 -38 0.5 -67.5t1 -55.5t2 -51.5t3.5 -55.5h-83z" />+ <glyph glyph-name="nu" unicode="ν"+d="M257 0q-14 72 -35.5 138t-49.5 126t-60 113t-65 100l82 21q28 -39 56 -88.5t52 -103.5t43 -110.5t29 -110.5h4q25 47 49 97t44 101t33.5 102.5t17.5 100.5h83q-10 -63 -28 -122.5t-43.5 -119t-58 -119.5t-72.5 -125h-81z" />+ <glyph glyph-name="xi" unicode="ξ"+d="M470 -184l-66 27q26 32 37 50t11 38q0 11 -5.5 19t-20.5 15t-40.5 13t-64.5 14q-42 9 -80 22t-66.5 35t-45.5 55t-17 81q0 36 13 67.5t34.5 56.5t50.5 43t61 27v4q-48 20 -79.5 55.5t-31.5 88.5q0 42 20.5 73t57.5 50h-37.5t-33 -1t-34.5 -2t-41 -2v67h431v-67h-144+q-27 0 -52 -8t-43.5 -23t-29.5 -37.5t-11 -51.5q0 -26 12 -48t31.5 -38t44.5 -25t50 -9q23 0 39 0.5t39 4.5v-72q-23 4 -41.5 4.5t-41.5 0.5q-34 0 -66.5 -10t-57.5 -28.5t-40 -46t-15 -62.5q0 -36 13.5 -59.5t37 -38.5t55.5 -24t70 -16q41 -8 70.5 -16.5t48 -20.5t27 -29+t8.5 -42q0 -23 -13 -57.5t-44 -76.5z" />+ <glyph glyph-name="omicron" unicode="ο"+d="M300 -12q-48 0 -91 17t-75 49.5t-51 80t-19 107.5q0 61 19 108.5t51 80.5t75 50t91 17t91 -17t75 -50t51 -80.5t19 -108.5q0 -60 -19 -107.5t-51 -80t-75 -49.5t-91 -17zM300 56q35 0 63 13.5t47.5 38t30 58.5t10.5 76t-10.5 76.5t-30 59.5t-47.5 38.5t-63 13.5+t-63 -13.5t-47.5 -38.5t-30 -59.5t-10.5 -76.5t10.5 -76t30 -58.5t47.5 -38t63 -13.5z" />+ <glyph glyph-name="pi" unicode="π"+d="M503 -12q-58 0 -82 31t-24 91q0 19 0.5 54.5t1.5 78.5t2 89t1 86h-197q0 -103 -3.5 -209.5t-11.5 -213.5l-82 5q12 108 16 213.5t4 204.5h-101v63l69 5h477v-68h-92q-2 -41 -3.5 -88.5t-2.5 -92t-1 -80v-53.5q0 -26 11 -37t34 -11q5 0 11 1.5t16 4.5l12 -63+q-11 -5 -24 -8t-31 -3z" />+ <glyph glyph-name="rho" unicode="ρ"+d="M93 -179v427q0 63 18 110t48.5 78t71.5 46.5t88 15.5q108 0 164.5 -66t56.5 -182q0 -62 -18 -110.5t-47.5 -82.5t-68 -51.5t-78.5 -17.5q-42 0 -82.5 14t-75.5 55q1 -33 2 -61.5t1.5 -56.5t1.5 -57t1 -61h-83zM314 57q29 0 55 13.5t45 38t30 60.5t11 81q0 40 -8 73+t-25 56.5t-43 36.5t-63 13q-29 0 -55 -11.5t-46 -34t-31.5 -56.5t-11.5 -80v-124q18 -21 35.5 -34t35.5 -20t36 -9.5t35 -2.5z" />+ <glyph glyph-name="uni03C2" unicode="ς"+d="M438 -180l-66 26q26 33 39.5 55t13.5 44q0 12 -4 21.5t-15.5 18t-33 15.5t-56.5 14q-43 9 -84 25.5t-72.5 44t-50.5 69t-19 101.5q0 58 21 103.5t56.5 77t82 47.5t97.5 16q61 0 103 -19.5t74 -48.5l-42 -53q-30 27 -60 40t-71 13q-38 0 -70 -12.5t-55.5 -35.5t-37 -55.5+t-13.5 -72.5q0 -43 13.5 -72.5t37.5 -49t56.5 -31.5t70.5 -20q43 -9 71.5 -19t45 -23.5t23 -32t6.5 -43.5q0 -26 -15 -63.5t-46 -79.5z" />+ <glyph glyph-name="sigma" unicode="σ"+d="M290 -12q-47 0 -88.5 16.5t-73 48t-50 78.5t-18.5 107q0 64 19.5 110.5t52 77t74.5 45.5t88 15h278v-70q-43 3 -79.5 5t-78.5 3v-4q48 -26 74 -75t26 -118q0 -57 -17.5 -101t-47.5 -75t-71 -47t-88 -16zM290 56q31 0 57.5 12.5t45.5 35.5t29.5 56t10.5 74q0 36 -9 69.5+t-27 59t-44.5 40.5t-60.5 15q-63 0 -105 -44.5t-42 -135.5q0 -42 11 -75.5t30.5 -57.5t46 -36.5t57.5 -12.5z" />+ <glyph glyph-name="tau" unicode="τ"+d="M376 -12q-65 0 -91 35.5t-26 103.5v292h-193v62l70 5h398v-67h-194q-2 -78 -3 -153.5t-1 -144.5q0 -35 14.5 -50t43.5 -15q15 0 29.5 3t31.5 8l11 -64q-17 -6 -40.5 -10.5t-49.5 -4.5z" />+ <glyph glyph-name="upsilon" unicode="υ"+d="M294 -12q-99 0 -155 51.5t-56 157.5q0 39 2 78t2 78q0 29 -1.5 62t-6.5 71h80q5 -26 6 -53.5t1 -59.5q0 -19 -1 -42t-2 -47t-2 -47.5t-1 -44.5q0 -37 11 -63t29.5 -42t43 -23.5t51.5 -7.5q32 0 59 12t47 36.5t31 62.5t11 90q0 51 -9 105t-31 117l80 19q20 -60 32 -119+t12 -120q0 -66 -17 -116.5t-48 -85t-74 -52t-94 -17.5z" />+ <glyph glyph-name="phi" unicode="φ"+d="M128 244q0 -85 37.5 -133.5t94.5 -53.5v372q-57 -5 -94.5 -52.5t-37.5 -132.5zM472 244q0 85 -37.5 132.5t-94.5 52.5v-372q57 5 94.5 53.5t37.5 133.5zM260 -179v170q-44 3 -83 20.5t-68.5 49.5t-47 78t-17.5 105q0 58 17.5 104t47 77.5t68.5 49t83 20.5v127h80v-127+q43 -3 82.5 -20.5t69 -49t47 -77.5t17.5 -104q0 -59 -17.5 -105t-47 -78t-69 -49.5t-82.5 -20.5v-170h-80z" />+ <glyph glyph-name="chi" unicode="χ"+d="M139 -191l-83 12l206 342l-203 314l82 21l160 -262h4l137 250h87l-185 -322l216 -334l-80 -21l-175 287h-4z" />+ <glyph glyph-name="psi" unicode="ψ"+d="M262 -179v167q-52 1 -90 18t-63 47t-37 71t-12 91v138q0 29 -1 62t-6 71h80q4 -26 5 -53.5t1 -59.5q0 -21 -0.5 -44.5t-0.5 -45.5t-0.5 -41t-0.5 -31q0 -72 30 -114t95 -42v567h80v-566q63 5 97.5 54t34.5 146q0 28 -2 54t-6.5 52.5t-12 55t-19.5 61.5l76 19+q23 -63 33 -118.5t10 -121.5q0 -125 -55.5 -194.5t-155.5 -74.5v-168h-80z" />+ <glyph glyph-name="omega" unicode="ω"+d="M190 -12q-33 0 -61.5 15t-49.5 45t-33 75.5t-12 105.5q0 78 26.5 145t64.5 124l72 -33q-21 -30 -36.5 -59t-26 -59t-15.5 -62.5t-5 -70.5q0 -76 23 -117t58 -41q28 0 48.5 27t20.5 95q0 30 -2 60.5t-6 69.5h85q-4 -39 -5.5 -69.5t-1.5 -60.5q0 -35 5.5 -58.5t14.5 -37.5+t21.5 -20t26.5 -6q36 0 58 41.5t22 129.5q0 37 -4.5 67.5t-13.5 58.5t-23.5 55.5t-34.5 58.5l73 31q19 -29 35 -58t27.5 -61.5t18 -68.5t6.5 -78q0 -123 -42.5 -183.5t-111.5 -60.5q-35 0 -64.5 19.5t-46.5 61.5h-4q-17 -42 -44.5 -61.5t-62.5 -19.5z" />+ <glyph glyph-name="iotadieresis" unicode="ϊ"+d="M400 -12q-81 0 -117 44t-36 131v256h-166v67h249q-1 -41 -2 -84t-2 -85.5t-1.5 -83t-0.5 -76.5q0 -53 23.5 -77t70.5 -24q19 0 41 4.5t45 15.5l21 -61q-26 -12 -55.5 -19.5t-69.5 -7.5zM186 588q-24 0 -39.5 16t-15.5 40q0 23 15.5 39.5t39.5 16.5t39.5 -16.5t15.5 -39.5+q0 -24 -15.5 -40t-39.5 -16zM380 588q-24 0 -39.5 16t-15.5 40q0 23 15.5 39.5t39.5 16.5t39.5 -16.5t15.5 -39.5q0 -24 -15.5 -40t-39.5 -16z" />+ <glyph glyph-name="upsilondieresis" unicode="ϋ"+d="M294 -12q-99 0 -155 51.5t-56 157.5q0 39 2 78t2 78q0 29 -1.5 62t-6.5 71h80q5 -26 6 -53.5t1 -59.5q0 -19 -1 -42t-2 -47t-2 -47.5t-1 -44.5q0 -37 11 -63t29.5 -42t43 -23.5t51.5 -7.5q32 0 59 12t47 36.5t31 62.5t11 90q0 51 -9 105t-31 117l80 19q20 -60 32 -119+t12 -120q0 -66 -17 -116.5t-48 -85t-74 -52t-94 -17.5zM200 588q-24 0 -39.5 16t-15.5 40q0 23 15.5 39.5t39.5 16.5t39.5 -16.5t15.5 -39.5q0 -24 -15.5 -40t-39.5 -16zM394 588q-24 0 -39.5 16t-15.5 40q0 23 15.5 39.5t39.5 16.5t39.5 -16.5t15.5 -39.5q0 -24 -15.5 -40+t-39.5 -16z" />+ <glyph glyph-name="omicrontonos" unicode="ό"+d="M300 -12q-48 0 -91 17t-75 49.5t-51 80t-19 107.5q0 61 19 108.5t51 80.5t75 50t91 17t91 -17t75 -50t51 -80.5t19 -108.5q0 -60 -19 -107.5t-51 -80t-75 -49.5t-91 -17zM300 56q35 0 63 13.5t47.5 38t30 58.5t10.5 76t-10.5 76.5t-30 59.5t-47.5 38.5t-63 13.5+t-63 -13.5t-47.5 -38.5t-30 -59.5t-10.5 -76.5t10.5 -76t30 -58.5t47.5 -38t63 -13.5zM322 559l-57 10l47 230l85 -15z" />+ <glyph glyph-name="upsilontonos" unicode="ύ"+d="M294 -12q-99 0 -155 51.5t-56 157.5q0 39 2 78t2 78q0 29 -1.5 62t-6.5 71h80q5 -26 6 -53.5t1 -59.5q0 -19 -1 -42t-2 -47t-2 -47.5t-1 -44.5q0 -37 11 -63t29.5 -42t43 -23.5t51.5 -7.5q32 0 59 12t47 36.5t31 62.5t11 90q0 51 -9 105t-31 117l80 19q20 -60 32 -119+t12 -120q0 -66 -17 -116.5t-48 -85t-74 -52t-94 -17.5zM319 559l-57 10l47 230l85 -15z" />+ <glyph glyph-name="omegatonos" unicode="ώ"+d="M190 -12q-33 0 -61.5 15t-49.5 45t-33 75.5t-12 105.5q0 78 26.5 145t64.5 124l72 -33q-21 -30 -36.5 -59t-26 -59t-15.5 -62.5t-5 -70.5q0 -76 23 -117t58 -41q28 0 48.5 27t20.5 95q0 30 -2 60.5t-6 69.5h85q-4 -39 -5.5 -69.5t-1.5 -60.5q0 -35 5.5 -58.5t14.5 -37.5+t21.5 -20t26.5 -6q36 0 58 41.5t22 129.5q0 37 -4.5 67.5t-13.5 58.5t-23.5 55.5t-34.5 58.5l73 31q19 -29 35 -58t27.5 -61.5t18 -68.5t6.5 -78q0 -123 -42.5 -183.5t-111.5 -60.5q-35 0 -64.5 19.5t-46.5 61.5h-4q-17 -42 -44.5 -61.5t-62.5 -19.5zM322 559l-57 10l47 230+l85 -15z" />+ <glyph glyph-name="uni03D0" unicode="ϐ"+d="M329 -12q-41 0 -82.5 12.5t-76 40t-56 72.5t-21.5 111v271q0 49 12.5 91t38 73t64 48t90.5 17q35 0 68.5 -10.5t60 -32t42.5 -54t16 -76.5q0 -54 -29.5 -96t-83.5 -70v-4q40 -4 71.5 -20t54 -41t34.5 -58.5t12 -72.5q0 -47 -16.5 -84t-46 -63t-68.5 -40t-84 -14zM173 480+q0 -33 -0.5 -60t-0.5 -51q64 12 108.5 29t72 39t39.5 49t12 59q0 56 -32 84t-74 28q-60 0 -91.5 -44.5t-33.5 -132.5zM326 60q30 0 55 10t43 28t28 42.5t10 53.5q0 30 -8.5 55.5t-26 44t-44 29.5t-62.5 11q-15 0 -51 -5.5t-99 -22.5v-69q0 -54 16 -88t40 -54t51 -27.5+t48 -7.5z" />+ <glyph glyph-name="uni03D1" unicode="ϑ"+d="M158 541q0 -32 12.5 -63t45 -53.5t88.5 -31.5t142 3q-2 70 -15 120t-34.5 81t-51 45t-65.5 14q-54 0 -88 -31t-34 -84zM297 -12q-93 0 -144.5 49t-51.5 145q0 39 -1.5 62.5t-6.5 46.5h77q6 -14 7 -39.5t1 -59.5q0 -37 9.5 -63t26.5 -42t39 -23.5t48 -7.5q30 0 56 12.5+t45.5 45t31 87.5t13.5 140q-107 -15 -178 0.5t-113 47t-59.5 73.5t-17.5 80q0 41 15.5 74.5t42.5 57.5t63 37t77 13q125 0 188 -92.5t63 -269.5q0 -103 -16.5 -174.5t-47 -115.5t-73 -64t-94.5 -20z" />+ <glyph glyph-name="uni03D5" unicode="ϕ"+d="M128 244q0 -85 37.5 -133.5t94.5 -53.5v372q-57 -5 -94.5 -52.5t-37.5 -132.5zM472 244q0 85 -37.5 132.5t-94.5 52.5v-372q57 5 94.5 53.5t37.5 133.5zM260 -179v170q-44 3 -83 20.5t-68.5 49.5t-47 78t-17.5 105q0 58 17.5 104t47 77.5t68.5 49t83 20.5v127h80v-127+q43 -3 82.5 -20.5t69 -49t47 -77.5t17.5 -104q0 -59 -17.5 -105t-47 -78t-69 -49.5t-82.5 -20.5v-170h-80z" />+ <glyph glyph-name="uni03D7" unicode="ϗ"+d="M441 -187l-95 8q39 41 74 85t63 87q-22 25 -47.5 56t-51 64.5t-49.5 69.5t-43 72q-35 -38 -68 -83q-37 -54 -37 -147v-25h-77v353q0 29 -1.5 65t-8.5 68h82q5 -20 7 -50.5t2 -62.5v-152h4q30 52 69 97.5t83.5 81.5t91.5 61t94 37l9 -78q-48 -14 -97 -41.5t-98 -69.5+q20 -38 47.5 -79t58 -81t62.5 -78t62 -71q-33 -53 -69.5 -102.5t-66.5 -84.5z" />+ <glyph glyph-name="uni03D9" unicode="ϙ"+d="M300 54q72 0 112.5 51t40.5 137q0 85 -40.5 136.5t-112.5 51.5t-112.5 -51.5t-40.5 -136.5q0 -86 40.5 -137t112.5 -51zM263 -179v170q-42 6 -79 25t-64 51t-42.5 76t-15.5 99q0 61 19 109t51.5 80.5t75.5 49.5t92 17t92 -17t75.5 -49.5t51.5 -80.5t19 -109+q0 -54 -15 -97.5t-41.5 -75.5t-62.5 -51.5t-78 -26.5q1 -23 1.5 -42.5l1 -39t1 -41t1.5 -47.5h-83z" />+ <glyph glyph-name="uni03DB" unicode="ϛ"+d="M438 -180l-65 26q26 33 39 55t13 42q0 12 -3.5 21.5t-14.5 18t-32.5 16t-58.5 15.5q-44 10 -84.5 26.5t-72 43.5t-50 66t-18.5 95q0 62 20.5 107.5t56.5 75t84.5 44t104.5 14.5h156v-70q-31 2 -70 2h-81q-85 0 -135.5 -42.5t-50.5 -130.5q0 -39 13 -66t36 -46t56 -31.5+t72 -20.5q43 -9 71.5 -19.5t45 -24t23 -31.5t6.5 -43q0 -26 -15 -63.5t-46 -79.5z" />+ <glyph glyph-name="uni03DD" unicode="ϝ"+d="M146 -179v665h377v-67h-301l2 -217h266v-59h-265q0 -81 1 -157.5t3 -164.5h-83z" />+ <glyph glyph-name="uni03E1" unicode="ϡ"+d="M507 -179l-80 10q10 48 14 94t4 92q0 67 -10 126q-63 -29 -123.5 -57.5t-129.5 -63.5l-34 69l272 122q-15 63 -42 119q-69 -31 -135 -62t-141 -69l-34 69l278 125q-42 72 -100 131t-133 103l51 61q87 -53 154.5 -126t113 -160t69.5 -185.5t24 -202.5q0 -51 -4 -98.5+t-14 -96.5z" />+ <glyph glyph-name="uni0400" unicode="Ѐ"+d="M114 0v656h406v-70h-322v-206h272v-71h-272v-238h332v-71h-416zM360 697l-152 115l47 55l141 -128z" />+ <glyph glyph-name="uni0401" unicode="Ё"+d="M114 0v656h406v-70h-322v-206h272v-71h-272v-238h332v-71h-416zM240 715q-22 0 -36.5 14t-14.5 37t14.5 36.5t36.5 13.5t36 -13.5t14 -36.5t-14 -37t-36 -14zM422 715q-22 0 -36 14t-14 37t14 36.5t36 13.5t36.5 -13.5t14.5 -36.5t-14.5 -37t-36.5 -14z" />+ <glyph glyph-name="uni0402" unicode="Ђ"+d="M411 -12q-17 0 -35 3t-29 7l15 67q7 -3 17.5 -5.5t20.5 -2.5q16 0 32.5 6t30.5 21.5t23 41.5t9 65q0 74 -38.5 107.5t-107.5 33.5q-24 0 -48.5 -2.5t-43.5 -7.5v-322h-84v586h-168v70h462v-70h-210v-195q22 4 49.5 7t54.5 3q46 0 85.5 -12t68.5 -37t45 -65t16 -95+q0 -59 -14 -98t-37.5 -62.5t-53 -33.5t-60.5 -10z" />+ <glyph glyph-name="uni0403" unicode="Ѓ"+d="M135 0v656h400v-70h-317v-586h-83zM271 697l-36 42l141 128l47 -55z" />+ <glyph glyph-name="uni0404" unicode="Є"+d="M352 -12q-63 0 -115.5 22t-90.5 64.5t-59 106t-21 147.5q0 83 21.5 146.5t60 106.5t92 65t116.5 22q60 0 106.5 -24.5t75.5 -56.5l-46 -54q-26 28 -59 45t-75 17q-88 0 -142 -55t-65 -160h274v-71h-275q5 -125 58.5 -186.5t147.5 -61.5q47 0 83.5 19.5t68.5 54.5l46 -52+q-39 -45 -88.5 -70t-113.5 -25z" />+ <glyph glyph-name="uni0405" unicode="Ѕ"+d="M305 -12q-72 0 -132.5 26t-105.5 71l50 58q37 -37 86 -59.5t106 -22.5q68 0 105.5 29t37.5 75q0 26 -9 44t-25 31t-37.5 23t-46.5 21l-94 41q-25 10 -50 24t-45.5 34t-33.5 47.5t-13 63.5q0 37 16 69t44.5 55.5t68 36.5t86.5 13q62 0 114 -22.5t88 -58.5l-44 -54+q-32 29 -71 45.5t-90 16.5q-57 0 -92 -25.5t-35 -70.5q0 -24 10.5 -40.5t27 -29t37.5 -21.5l42 -18l92 -40q30 -12 56.5 -27.5t46 -36t31 -48t11.5 -63.5q0 -39 -16 -73t-46 -59.5t-73 -40t-97 -14.5z" />+ <glyph glyph-name="uni0406" unicode="І"+d="M95 0v71h163v515h-163v70h410v-70h-163v-515h163v-71h-410z" />+ <glyph glyph-name="uni0407" unicode="Ї"+d="M95 0v71h163v515h-163v70h410v-70h-163v-515h163v-71h-410zM209 715q-22 0 -36.5 14t-14.5 37t14.5 36.5t36.5 13.5t36 -13.5t14 -36.5t-14 -37t-36 -14zM391 715q-22 0 -36 14t-14 37t14 36.5t36 13.5t36.5 -13.5t14.5 -36.5t-14.5 -37t-36.5 -14z" />+ <glyph glyph-name="uni0408" unicode="Ј"+d="M276 -12q-55 0 -108 26t-87 83l52 51q28 -45 65.5 -66t75.5 -21q71 0 103.5 37.5t32.5 118.5v370h-275v70h358v-447q0 -46 -11 -86.5t-36.5 -70.5t-67 -47.5t-102.5 -17.5z" />+ <glyph glyph-name="uni0409" unicode="Љ"+d="M35 -12q-11 0 -21 1t-22 6l17 77q5 -2 9 -3t9 -1q9 0 17 5t15.5 22t14.5 49.5t14 87.5q14 109 21 213.5t10 210.5h237v-269h22q43 0 79.5 -10.5t62 -33t40 -57.5t14.5 -84q0 -105 -54 -153.5t-145 -48.5h-95v586h-92q-3 -90 -10 -178t-18 -193q-8 -69 -19 -113t-26 -69.5+t-35 -35t-45 -9.5zM356 68h16q65 0 96.5 31t31.5 101q0 63 -32 91.5t-99 28.5h-13v-252z" />+ <glyph glyph-name="uni040A" unicode="Њ"+d="M39 0v656h76v-275h152v275h76v-269h35q43 0 79 -10.5t62 -33t40 -57.5t14 -84q0 -53 -13.5 -91t-39 -62.5t-61.5 -36.5t-80 -12h-112v309h-152v-309h-76zM343 68h29q63 0 95 30t32 102q0 64 -32 92t-98 28h-26v-252z" />+ <glyph glyph-name="uni040B" unicode="Ћ"+d="M173 0v586h-168v70h461v-70h-210v-195q23 4 50.5 7t53.5 3q97 0 152 -45t55 -147v-209h-82v209q0 67 -34 95t-103 28q-23 0 -48 -2.5t-44 -7.5v-322h-83z" />+ <glyph glyph-name="uni040C" unicode="Ќ"+d="M102 0v656h83v-276h107l88 166q19 37 36.5 61t34.5 37.5t35.5 18.5t41.5 5q9 0 18.5 -1.5t17.5 -4.5l-15 -78q-6 2 -12 3t-11 1q-11 0 -20.5 -3t-19 -11.5t-21 -25t-25.5 -43.5l-81 -153l221 -352h-92l-196 309h-107v-309h-83zM288 697l-36 42l141 128l47 -55z" />+ <glyph glyph-name="uni040D" unicode="Ѝ"+d="M78 0v656h80v-340q0 -52 -4.5 -105.5t-6.5 -102.5h2l63 136l218 412h92v-656h-80v343q0 51 4.5 102.5t6.5 102.5h-2l-63 -136l-218 -412h-92zM333 697l-152 115l47 55l141 -128z" />+ <glyph glyph-name="uni040E" unicode="Ў"+d="M178 -12q-22 0 -36.5 2.5t-28.5 7.5l18 75q8 -3 17.5 -5t24.5 -2q32 0 51 12.5t33 40.5l14 35l-224 502h89l122 -292l50 -129h4l47 129l112 292h85l-215 -537q-25 -61 -62.5 -96t-100.5 -35zM304 705q-42 0 -70 10.5t-45.5 28.5t-26 41t-9.5 48l72 4q1 -35 19 -60.5+t60 -25.5q21 0 35.5 7t24 18.5t14 27t5.5 33.5l72 -4q-2 -25 -10 -48t-25.5 -41t-45.5 -28.5t-70 -10.5z" />+ <glyph glyph-name="uni040F" unicode="Џ"+d="M75 0v656h84v-585h282v585h84v-656h-182l-8 -188h-69v188h-191z" />+ <glyph glyph-name="uni0410" unicode="А"+d="M232 367l-31 -100h196l-31 100q-17 55 -33.5 109.5t-31.5 111.5h-4q-16 -57 -32 -111.5t-33 -109.5zM32 0l221 656h94l221 -656h-88l-62 200h-238l-63 -200h-85z" />+ <glyph glyph-name="uni0411" unicode="Б"+d="M99 0v656h405v-70h-322v-206h126q52 0 96 -10t75.5 -31.5t49.5 -56t18 -83.5q0 -103 -63.5 -151t-171.5 -48h-213zM182 70h116q85 0 126 28t41 96q0 63 -42 89.5t-127 26.5h-114v-240z" />+ <glyph glyph-name="uni0412" unicode="В"+d="M99 0v656h186q50 0 91.5 -9t71 -28t46 -49.5t16.5 -73.5q0 -49 -28 -88.5t-87 -54.5v-4q72 -11 112 -50t40 -107q0 -48 -18 -84t-50.5 -60t-78 -36t-100.5 -12h-201zM182 380h89q84 0 120.5 27t36.5 82q0 54 -38.5 75.5t-114.5 21.5h-93v-206zM182 70h106q85 0 131 29.5+t46 96.5q0 61 -45 87.5t-132 26.5h-106v-240z" />+ <glyph glyph-name="uni0413" unicode="Г"+d="M135 0v656h400v-70h-317v-586h-83z" />+ <glyph glyph-name="uni0414" unicode="Д"+d="M31 -188l-9 209v50h30q9 4 19 16.5t20.5 39.5t21.5 71t22 109q9 49 16 90t13.5 81t13 82.5t14.5 95.5h313v-585h73v-50l-9 -209h-73v188h-392v-188h-73zM210 293q-14 -85 -31 -138t-37 -84h280v515h-165q-7 -42 -12.5 -77.5t-10.5 -69t-11 -69t-13 -77.5z" />+ <glyph glyph-name="uni0415" unicode="Е"+d="M114 0v656h406v-70h-322v-206h272v-71h-272v-238h332v-71h-416z" />+ <glyph glyph-name="uni0416" unicode="Ж"+d="M2 0l139 351l-43 158q-8 26 -16 41.5t-15.5 23.5t-15.5 10.5t-16 2.5q-5 0 -10.5 -1t-10.5 -3l-13 80q7 2 19 3.5t21 1.5q19 0 36 -4.5t32 -17t28.5 -36t24.5 -62.5l47 -168h53v276h76v-276h53l47 168q11 39 23.5 62.5t27 36t31 17t35.5 4.5q9 0 23 -1.5t21 -3.5l-13 -80+q-5 2 -10.5 3t-10.5 1q-8 0 -16 -2.5t-15.5 -10.5t-15.5 -23.5t-16 -41.5l-43 -158l139 -351h-90l-110 309h-60v-309h-76v309h-60l-110 -309h-90z" />+ <glyph glyph-name="uni0417" unicode="З"+d="M301 -12q-72 0 -130 23t-109 74l47 57q44 -44 88.5 -62.5t102.5 -18.5q33 0 61.5 8.5t50 25t34 40.5t12.5 55q0 63 -47 93t-133 30h-74v64h54q88 0 127 28.5t39 84.5q0 52 -37 78.5t-94 26.5q-47 0 -86.5 -17t-70.5 -46l-45 56q36 35 89.5 57.5t114.5 22.5q47 0 86 -11.5+t66.5 -33t43 -53t15.5 -70.5q0 -52 -25 -91.5t-73 -56.5v-4q57 -11 94.5 -52.5t37.5 -109.5q0 -47 -18.5 -84t-51 -62.5t-76 -38.5t-93.5 -13z" />+ <glyph glyph-name="uni0418" unicode="И"+d="M78 0v656h80v-340q0 -52 -4.5 -105.5t-6.5 -102.5h2l63 136l218 412h92v-656h-80v343q0 51 4.5 102.5t6.5 102.5h-2l-63 -136l-218 -412h-92z" />+ <glyph glyph-name="uni0419" unicode="Й"+d="M78 0v656h80v-340q0 -52 -4.5 -105.5t-6.5 -102.5h2l63 136l218 412h92v-656h-80v343q0 51 4.5 102.5t6.5 102.5h-2l-63 -136l-218 -412h-92zM304 705q-42 0 -70 10.5t-45.5 28.5t-26 41t-9.5 48l72 4q1 -35 19 -60.5t60 -25.5q21 0 35.5 7t24 18.5t14 27t5.5 33.5l72 -4+q-2 -25 -10 -48t-25.5 -41t-45.5 -28.5t-70 -10.5z" />+ <glyph glyph-name="uni041A" unicode="К"+d="M102 0v656h83v-276h107l88 166q19 37 36.5 61t34.5 37.5t35.5 18.5t41.5 5q9 0 18.5 -1.5t17.5 -4.5l-15 -78q-6 2 -12 3t-11 1q-11 0 -20.5 -3t-19 -11.5t-21 -25t-25.5 -43.5l-81 -153l221 -352h-92l-196 309h-107v-309h-83z" />+ <glyph glyph-name="uni041B" unicode="Л"+d="M58 -12q-16 0 -29 2t-27 7l17 77q15 -6 28 -6q12 0 23 5.5t21 24t20 53t22 93.5q10 53 19.5 103t18.5 100.5t17.5 102t18.5 106.5h314v-656h-84v586h-165q-16 -91 -29.5 -175.5t-30.5 -175.5q-15 -75 -30 -123t-33 -75.5t-40.5 -38t-50.5 -10.5z" />+ <glyph glyph-name="uni041C" unicode="М"+d="M72 0v656h102l92 -280l32 -106h4l31 106l93 280h102v-656h-80v328q0 24 1.5 55.5t4 63.5t4.5 62t4 51h-3l-37 -128l-94 -258h-60l-92 258l-38 128h-2q2 -21 4.5 -51t4.5 -62t3.5 -63.5t1.5 -55.5v-328h-78z" />+ <glyph glyph-name="uni041D" unicode="Н"+d="M79 0v656h84v-275h274v275h84v-656h-84v309h-274v-309h-84z" />+ <glyph glyph-name="uni041E" unicode="О"+d="M300 -12q-56 0 -102 23.5t-79.5 67.5t-52 107.5t-18.5 144.5q0 79 18.5 142t52 106t79.5 66t102 23q55 0 101.5 -23t80 -66t52 -106t18.5 -142q0 -81 -18.5 -144.5t-52 -107.5t-80 -67.5t-101.5 -23.5zM300 61q37 0 68 18.5t52.5 53.5t33.5 85t12 113q0 62 -12 111+t-33.5 83t-52.5 52t-68 18q-38 0 -68.5 -18t-52 -52t-33.5 -83t-12 -111q0 -63 12 -113t33.5 -85t52 -53.5t68.5 -18.5z" />+ <glyph glyph-name="uni041F" unicode="П"+d="M79 0v656h442v-656h-84v586h-274v-586h-84z" />+ <glyph glyph-name="uni0420" unicode="Р"+d="M102 0v656h198q54 0 99 -10t77 -32.5t49.5 -59.5t17.5 -91q0 -52 -17.5 -90t-50 -63t-77 -37.5t-98.5 -12.5h-115v-260h-83zM185 328h105q87 0 128 32.5t41 102.5q0 71 -42 98.5t-127 27.5h-105v-261z" />+ <glyph glyph-name="uni0421" unicode="С"+d="M351 -12q-61 0 -113 23t-90.5 66.5t-60.5 107t-22 143.5q0 79 22 142t61 107t93 67.5t118 23.5q59 0 104.5 -24t74.5 -56l-47 -53q-26 27 -58 43.5t-74 16.5q-47 0 -85.5 -18.5t-65.5 -53t-42 -83.5t-15 -110q0 -62 15 -111.5t42 -84.5t65.5 -54t85.5 -19q45 0 80.5 19+t67.5 54l47 -51q-39 -45 -88 -70t-115 -25z" />+ <glyph glyph-name="uni0422" unicode="Т"+d="M258 0v586h-216v70h516v-70h-216v-586h-84z" />+ <glyph glyph-name="uni0423" unicode="У"+d="M178 -12q-22 0 -36.5 2.5t-28.5 7.5l18 75q8 -3 17.5 -5t24.5 -2q32 0 51 12.5t33 40.5l14 35l-224 502h89l122 -292l50 -129h4l47 129l112 292h85l-215 -537q-25 -61 -62.5 -96t-100.5 -35z" />+ <glyph glyph-name="uni0424" unicode="Ф"+d="M106 332q0 -82 38.5 -130t117.5 -55v364q-79 -6 -117.5 -52t-38.5 -127zM494 332q0 81 -38.5 127t-117.5 52v-364q79 7 117.5 55t38.5 130zM262 -12v95q-113 8 -174.5 71.5t-61.5 177.5q0 112 61.5 173.5t174.5 69.5v93h76v-93q113 -8 174.5 -69.5t61.5 -173.5+q0 -114 -61.5 -177.5t-174.5 -71.5v-95h-76z" />+ <glyph glyph-name="uni0425" unicode="Х"+d="M54 0l196 339l-183 317h92l92 -168q13 -23 25 -44.5t28 -50.5h4q14 29 24.5 50.5t22.5 44.5l90 168h88l-183 -321l196 -335h-92l-99 177q-14 24 -27.5 49.5t-30.5 55.5h-4q-14 -30 -27 -55.5t-26 -49.5l-98 -177h-88z" />+ <glyph glyph-name="uni0426" unicode="Ц"+d="M79 0v656h83v-585h273v585h83v-585h71v-50l-9 -209h-68v188h-433z" />+ <glyph glyph-name="uni0427" unicode="Ч"+d="M432 0v294q-25 -5 -55 -7.5t-70 -2.5q-56 0 -101 11t-76.5 36.5t-48 67t-16.5 101.5v156h82v-156q0 -83 43.5 -115t123.5 -32q39 0 68 2.5t50 7.5v293h84v-656h-84z" />+ <glyph glyph-name="uni0428" unicode="Ш"+d="M40 0v656h76v-585h146v585h76v-585h146v585h76v-656h-520z" />+ <glyph glyph-name="uni0429" unicode="Щ"+d="M38 0v656h74v-585h134v585h74v-585h134v585h74v-585h64v-50l-9 -209h-66v188h-479z" />+ <glyph glyph-name="uni042A" unicode="Ъ"+d="M201 0v586h-182v70h266v-269h55q50 0 93 -11t74 -33.5t48.5 -57.5t17.5 -83q0 -53 -16 -91t-45.5 -62.5t-71 -36.5t-93.5 -12h-146zM285 68h51q78 0 117.5 31t39.5 101q0 60 -41.5 90t-122.5 30h-44v-252z" />+ <glyph glyph-name="uni042B" unicode="Ы"+d="M55 0v656h76v-269h36q49 0 89.5 -10.5t69 -33t44.5 -57.5t16 -84q0 -105 -59 -153.5t-159 -48.5h-113zM131 68h30q75 0 113.5 31t38.5 101q0 63 -38.5 91.5t-115.5 28.5h-28v-252zM469 0v656h76v-656h-76z" />+ <glyph glyph-name="uni042C" unicode="Ь"+d="M98 0v656h84v-269h121q54 0 98.5 -10.5t76.5 -33t49.5 -57.5t17.5 -84q0 -53 -17 -91t-48.5 -62.5t-76 -36.5t-99.5 -12h-206zM182 68h111q84 0 127 31t43 101q0 63 -43 91.5t-129 28.5h-109v-252z" />+ <glyph glyph-name="uni042D" unicode="Э"+d="M258 -12q-67 0 -118.5 25t-93.5 70l46 52q34 -35 73.5 -54.5t90.5 -19.5q86 0 137.5 61.5t56.5 186.5h-275v71h274q-9 105 -59 160t-136 55q-43 0 -80.5 -16.5t-65.5 -45.5l-46 54q31 32 82.5 56.5t113.5 24.5t113 -22t87 -65t56 -106.5t20 -146.5q0 -84 -20.5 -147.5+t-57.5 -106t-87.5 -64.5t-110.5 -22z" />+ <glyph glyph-name="uni042E" unicode="Ю"+d="M380 -12q-80 0 -127 78.5t-51 242.5h-74v-309h-84v656h84v-275h75q7 149 53.5 218t123.5 69q84 0 134 -81t50 -255q0 -176 -50 -260t-134 -84zM380 61q24 0 42 15t30.5 47.5t19 84t6.5 124.5q0 72 -6.5 122t-19 81.5t-30.5 45.5t-42 14q-23 0 -41 -14t-30.5 -45.5+t-19.5 -81.5t-7 -122q0 -73 7 -124.5t19.5 -84t30.5 -47.5t41 -15z" />+ <glyph glyph-name="uni042F" unicode="Я"+d="M417 0v277h-121l-170 -277h-96l184 286q-66 16 -107.5 61.5t-41.5 124.5q0 51 17 86t47.5 57t73 31.5t92.5 9.5h206v-656h-84zM307 345h110v244h-110q-77 0 -117.5 -26t-40.5 -91q0 -64 40.5 -95.5t117.5 -31.5z" />+ <glyph glyph-name="uni0430" unicode="а"+d="M246 -12q-34 0 -64 9.5t-52.5 27t-35.5 43t-13 58.5q0 41 19.5 71.5t62 52.5t109.5 36t161 22q-1 25 -8 47t-22 38.5t-39.5 26.5t-59.5 10q-48 0 -92 -18.5t-78 -39.5l-32 56q18 12 42.5 24.5t52 22.5t58.5 16.5t63 6.5q100 0 148.5 -54.5t48.5 -145.5v-298h-67l-7 66h-3+q-41 -32 -90.5 -55t-101.5 -23zM268 54q42 0 82.5 18.5t82.5 53.5v128q-78 -6 -130.5 -17t-84 -26.5t-44.5 -35t-13 -43.5q0 -21 9 -35.5t23.5 -24t34 -14t40.5 -4.5z" />+ <glyph glyph-name="uni0431" unicode="б"+d="M311 -12q-56 0 -100 21t-74 61t-46 97t-16 128q0 121 22 195.5t62.5 118t98 63.5t128.5 31q22 3 37 5.5t27 5.5t21.5 6.5t21.5 9.5l17 -75q-20 -13 -47 -19.5t-60 -11.5q-59 -9 -102.5 -19.5t-73 -34.5t-46 -67t-22.5 -116q33 40 77.5 60.5t92.5 20.5q45 0 82 -15.5+t63.5 -45t41.5 -71.5t15 -95q0 -58 -16.5 -105t-46 -80t-70 -50.5t-87.5 -17.5zM310 56q65 0 100.5 51t35.5 134q0 75 -35.5 119.5t-101.5 44.5q-38 0 -77.5 -18.5t-76.5 -69.5v-38q0 -50 9.5 -91.5t29 -70.5t48.5 -45t68 -16z" />+ <glyph glyph-name="uni0432" unicode="в"+d="M104 0v486h225q42 0 77 -7t59.5 -21.5t38.5 -38t14 -56.5q0 -41 -23 -66.5t-62 -37.5v-3q21 -5 40.5 -14t34 -23.5t23 -34t8.5 -45.5q0 -36 -15 -62t-42 -43.5t-64 -25.5t-81 -8h-233zM185 284h130q66 0 94.5 18.5t28.5 52.5t-27.5 49.5t-89.5 15.5h-136v-136zM185 66+h143q66 0 97.5 18.5t31.5 59.5q0 76 -134 76h-138v-154z" />+ <glyph glyph-name="uni0433" unicode="г"+d="M146 0v486h377v-67h-295v-419h-82z" />+ <glyph glyph-name="uni0434" unicode="д"+d="M206 255q-8 -72 -21.5 -117t-31.5 -71h251v352h-179zM51 -172l-9 187v52h24q10 6 19.5 16.5t17.5 32.5t16 59t15 96l26 215h326v-419h71v-52l-9 -187h-71v172h-356v-172h-70z" />+ <glyph glyph-name="uni0435" unicode="е"+d="M330 -12q-55 0 -102.5 17t-83 50t-56 80.5t-20.5 108.5q0 59 20.5 106t55 80t79 50.5t93.5 17.5q52 0 93.5 -16.5t70 -46.5t43.5 -72t15 -93q0 -14 -1 -27t-3 -23h-383q8 -83 60.5 -124.5t128.5 -41.5q44 0 79.5 12.5t68.5 33.5l30 -54q-36 -24 -82.5 -41t-105.5 -17z+M318 433q-30 0 -57.5 -10t-49.5 -28.5t-37 -46.5t-21 -64h310q-5 75 -43.5 112t-101.5 37z" />+ <glyph glyph-name="uni0436" unicode="ж"+d="M6 0l132 262l-34 93q-15 40 -31 51.5t-32 11.5h-8.5t-8.5 -2l-12 77q5 3 13 4t17 1q39 0 68.5 -21t52.5 -81l42 -112h55v202h80v-202h55l42 112q23 60 52.5 81t68.5 21q18 0 30 -5l-12 -77q-5 2 -8.5 2h-8.5q-17 0 -32.5 -11.5t-30.5 -51.5l-34 -93l132 -262h-86+l-105 220h-63v-220h-80v220h-63l-105 -220h-86z" />+ <glyph glyph-name="uni0437" unicode="з"+d="M280 -12q-60 0 -113 15.5t-105 57.5l36 54q42 -35 86 -48t89 -13q76 0 117 22.5t41 64.5t-38.5 60.5t-111.5 18.5h-84v64h72q70 0 104.5 19.5t34.5 55.5q0 74 -134 74q-53 0 -90.5 -13.5t-75.5 -41.5l-34 55q42 31 91.5 48t113.5 17q46 0 84.5 -8t66.5 -24t43.5 -41+t15.5 -58q0 -36 -21.5 -63.5t-65.5 -44.5v-4q50 -13 80.5 -40.5t30.5 -80.5q0 -35 -17 -62t-47.5 -46t-73.5 -28.5t-95 -9.5z" />+ <glyph glyph-name="uni0438" unicode="и"+d="M100 0v486h80v-202q0 -39 -3 -85.5t-5 -93.5h4q14 23 32 52t32 52l184 277h76v-486h-80v202q0 39 3 85.5t5 94.5h-4q-14 -23 -32 -52.5t-32 -51.5l-184 -278h-76z" />+ <glyph glyph-name="uni0439" unicode="й"+d="M100 0v486h80v-202q0 -39 -3 -85.5t-5 -93.5h4q14 23 32 52t32 52l184 277h76v-486h-80v202q0 39 3 85.5t5 94.5h-4q-14 -23 -32 -52.5t-32 -51.5l-184 -278h-76zM311 572q-42 0 -71 12.5t-48 33t-28 47.5t-10 56l68 4q1 -21 5.5 -40.5t15 -33.5t27 -22.5t41.5 -8.5+t41.5 8.5t27 22.5t15 33.5t5.5 40.5l68 -4q-2 -29 -10.5 -56t-27.5 -47.5t-48 -33t-71 -12.5z" />+ <glyph glyph-name="uni043A" unicode="к"+d="M110 0v486h82v-200h128l59 108q16 31 31 51t30 32t31.5 16.5t36.5 4.5t32 -6l-14 -77q-5 2 -9.5 2.5t-10.5 0.5q-9 0 -17 -2.5t-16 -10t-17 -20t-20 -33.5l-53 -97l177 -255h-91l-149 219h-128v-219h-82z" />+ <glyph glyph-name="uni043B" unicode="л"+d="M74 -12q-14 0 -24 2t-21 6l16 76q5 -2 10 -3t12 -1q26 0 42 24.5t23 78.5q10 79 19 157.5t18 157.5h327v-486h-83v419h-179q-8 -67 -16 -134.5t-16 -134.5q-21 -162 -128 -162z" />+ <glyph glyph-name="uni043C" unicode="м"+d="M64 0v486h100l92 -228q11 -30 22 -59t21 -59h4q11 30 22 59t21 59l90 228h100v-486h-78v218q0 16 1 37.5t2.5 44l3 45t3.5 41.5h-4q-11 -29 -22 -59t-22 -57l-88 -224h-62l-92 224q-11 27 -21 57t-21 59h-4q1 -19 3 -41.5t3.5 -45t2.5 -44t1 -37.5v-218h-78z" />+ <glyph glyph-name="uni043D" unicode="н"+d="M93 0v486h82v-197h250v197h82v-486h-82v216h-250v-216h-82z" />+ <glyph glyph-name="uni043E" unicode="о"+d="M300 -12q-48 0 -91.5 17t-76.5 49.5t-52.5 80t-19.5 107.5q0 61 19.5 108.5t52.5 80.5t76.5 50t91.5 17t91.5 -17t76.5 -50t52.5 -80.5t19.5 -108.5q0 -60 -19.5 -107.5t-52.5 -80t-76.5 -49.5t-91.5 -17zM300 56q35 0 63.5 13.5t49 38t31.5 58.5t11 76t-11 76.5+t-31.5 59.5t-49 38.5t-63.5 13.5t-63.5 -13.5t-49 -38.5t-31.5 -59.5t-11 -76.5t11 -76t31.5 -58.5t49 -38t63.5 -13.5z" />+ <glyph glyph-name="uni043F" unicode="п"+d="M93 0v486h414v-486h-82v419h-250v-419h-82z" />+ <glyph glyph-name="uni0440" unicode="р"+d="M93 -205v691h68l7 -62h3q34 32 78.5 53t89.5 21q49 0 86.5 -17.5t63 -50t38.5 -78t13 -102.5q0 -62 -18 -110.5t-48.5 -82.5t-70.5 -51.5t-84 -17.5q-34 0 -73.5 16.5t-71.5 46.5h-3l4 -92v-164h-82zM305 57q66 0 108 51t42 142q0 40 -8 73t-24.5 56.5t-42.5 36.5t-62 13+q-32 0 -68.5 -17.5t-74.5 -55.5v-242q35 -31 70 -44t60 -13z" />+ <glyph glyph-name="uni0441" unicode="с"+d="M346 -12q-57 0 -105.5 17t-84.5 49.5t-56 80t-20 107.5q0 61 21.5 108.5t58.5 80.5t86.5 50t104.5 17q60 0 103.5 -21t73.5 -50l-41 -53q-30 26 -62.5 41t-70.5 15q-42 0 -77 -13.5t-59.5 -38.5t-38.5 -59.5t-14 -76.5t13.5 -76t38 -58.5t59 -38t76.5 -13.5+q45 0 82.5 17.5t67.5 43.5l37 -53q-41 -36 -90 -56t-103 -20z" />+ <glyph glyph-name="uni0442" unicode="т"+d="M259 0v419h-193v67h468v-67h-193v-419h-82z" />+ <glyph glyph-name="uni0443" unicode="у"+d="M131 -209q-36 0 -64 10l17 65q10 -3 21.5 -5t22.5 -2q51 0 83 29.5t50 74.5l15 36l-227 487h83l119 -269q14 -32 29.5 -69t30.5 -72h4q13 35 26.5 71.5t25.5 69.5l106 269h78l-214 -526q-14 -36 -32 -67t-43 -53.5t-57.5 -35.5t-73.5 -13z" />+ <glyph glyph-name="uni0444" unicode="ф"+d="M260 -205v155l2 74q-17 -14 -36 -25t-44 -11q-68 0 -109 66t-41 188q0 59 12.5 106.5t33 80.5t47.5 51t57 18q25 0 44 -10.5t36 -25.5l-2 74v176h80v-176l-2 -76q18 17 41 27.5t47 10.5q34 0 60.5 -17.5t44.5 -50t27.5 -78t9.5 -102.5q0 -62 -12.5 -110.5t-33 -82.5+t-48 -51.5t-57.5 -17.5q-20 0 -40.5 10.5t-38.5 25.5l2 -74v-155h-80zM201 57q32 0 61 35v304q-30 33 -65 33q-38 0 -60.5 -51.5t-22.5 -135.5q0 -87 21 -136t66 -49zM401 57q41 0 63 51t22 142q0 40 -4 73t-13.5 56.5t-25.5 36.5t-39 13q-33 0 -66 -34v-305+q17 -18 33.5 -25.5t29.5 -7.5z" />+ <glyph glyph-name="uni0445" unicode="х"+d="M64 0l185 252l-171 234h91l77 -107q13 -20 27.5 -41t29.5 -41h4q14 20 28 42t27 42l73 105h87l-173 -241l186 -245h-90l-85 112q-15 21 -31.5 44t-32.5 44h-4q-15 -22 -30 -43.5t-30 -44.5l-80 -112h-88z" />+ <glyph glyph-name="uni0446" unicode="ц"+d="M94 0v486h82v-419h239v419h82v-419h71v-52l-8 -187h-71v172h-395z" />+ <glyph glyph-name="uni0447" unicode="ч"+d="M408 0v196l-27.5 -5.5t-24.5 -4t-26 -2t-33 -0.5q-50 0 -89 10t-65.5 31.5t-40.5 55.5t-14 83v122h82v-122q0 -61 34.5 -87t109.5 -26q26 0 47 3t47 9v223h82v-486h-82z" />+ <glyph glyph-name="uni0448" unicode="ш"+d="M58 0v486h82v-419h122v419h76v-419h122v419h82v-486h-484z" />+ <glyph glyph-name="uni0449" unicode="щ"+d="M58 0v486h82v-419h118v419h76v-419h118v419h82v-419h60v-52l-8 -187h-65v172h-463z" />+ <glyph glyph-name="uni044A" unicode="ъ"+d="M201 0v419h-166v67h248v-179h74q87 0 140.5 -36.5t53.5 -115.5q0 -81 -53.5 -118t-140.5 -37h-156zM283 66h66q121 0 121 89q0 46 -29.5 67t-91.5 21h-66v-177z" />+ <glyph glyph-name="uni044B" unicode="ы"+d="M70 0v486h75v-179h68q81 0 130 -36t49 -116q0 -81 -49 -118t-130 -37h-143zM145 66h60q114 0 114 89q0 46 -28 67t-86 21h-60v-177zM455 0v486h75v-486h-75z" />+ <glyph glyph-name="uni044C" unicode="ь"+d="M125 0v486h83v-179h113q44 0 80.5 -9t62.5 -27.5t40 -47t14 -68.5q0 -41 -14 -70t-40 -48t-62.5 -28t-80.5 -9h-196zM208 66h104q125 0 125 89q0 46 -30.5 67t-94.5 21h-104v-177z" />+ <glyph glyph-name="uni044D" unicode="э"+d="M256 -12q-57 0 -107 18.5t-88 53.5l35 51q28 -26 67 -41.5t85 -15.5q84 0 135 41t57 125h-251v64h249q-11 75 -60.5 112t-121.5 37q-48 0 -83 -15t-63 -39l-39 50q32 29 78 49t112 20q53 0 100 -15.5t82.5 -47t56 -80t20.5 -113.5q0 -64 -20 -111.5t-55 -79t-83.5 -47.5+t-105.5 -16z" />+ <glyph glyph-name="uni044E" unicode="ю"+d="M384 -12q-72 0 -121.5 56t-55.5 169h-81v-213h-82v486h82v-200h82q9 107 57.5 159.5t118.5 52.5q39 0 72 -15.5t57 -47.5t37.5 -80t13.5 -113q0 -64 -13.5 -112t-37.5 -79.5t-57 -47t-72 -15.5zM382 56q45 0 71.5 45.5t26.5 140.5q0 96 -26.5 142t-71.5 46+q-47 0 -74.5 -46t-27.5 -142q0 -95 27.5 -140.5t74.5 -45.5z" />+ <glyph glyph-name="uni044F" unicode="я"+d="M418 0v190h-132l-138 -190h-93l145 196q-51 12 -87 47.5t-36 98.5q0 40 14 67.5t38.5 44.5t58.5 24.5t73 7.5h240v-486h-83zM275 254h143v166h-143q-55 0 -85.5 -18t-30.5 -62q0 -43 30.5 -64.5t85.5 -21.5z" />+ <glyph glyph-name="uni0450" unicode="ѐ"+d="M330 -12q-55 0 -102.5 17t-83 50t-56 80.5t-20.5 108.5q0 59 20.5 106t55 80t79 50.5t93.5 17.5q52 0 93.5 -16.5t70 -46.5t43.5 -72t15 -93q0 -14 -1 -27t-3 -23h-383q8 -83 60.5 -124.5t128.5 -41.5q44 0 79.5 12.5t68.5 33.5l30 -54q-36 -24 -82.5 -41t-105.5 -17z+M318 433q-30 0 -57.5 -10t-49.5 -28.5t-37 -46.5t-21 -64h310q-5 75 -43.5 112t-101.5 37zM337 568l-157 153l58 56l142 -168z" />+ <glyph glyph-name="uni0451" unicode="ё"+d="M330 -12q-55 0 -102.5 17t-83 50t-56 80.5t-20.5 108.5q0 59 20.5 106t55 80t79 50.5t93.5 17.5q52 0 93.5 -16.5t70 -46.5t43.5 -72t15 -93q0 -14 -1 -27t-3 -23h-383q8 -83 60.5 -124.5t128.5 -41.5q44 0 79.5 12.5t68.5 33.5l30 -54q-36 -24 -82.5 -41t-105.5 -17z+M318 433q-30 0 -57.5 -10t-49.5 -28.5t-37 -46.5t-21 -64h310q-5 75 -43.5 112t-101.5 37zM219 588q-24 0 -39.5 16t-15.5 40q0 23 15.5 39.5t39.5 16.5t39.5 -16.5t15.5 -39.5q0 -24 -15.5 -40t-39.5 -16zM413 588q-24 0 -39.5 16t-15.5 40q0 23 15.5 39.5t39.5 16.5+t39.5 -16.5t15.5 -39.5q0 -24 -15.5 -40t-39.5 -16z" />+ <glyph glyph-name="uni0452" unicode="ђ"+d="M334 -217q-19 0 -34.5 4t-26.5 9l16 62q8 -3 18.5 -5.5t21.5 -2.5q26 0 49 14t39.5 49t26 95.5t9.5 153.5q0 132 -34 188.5t-101 56.5q-38 0 -69.5 -21.5t-73.5 -66.5v-319h-82v564h-73v57l73 5v86h82v-86h213v-62h-213v-66l-5 -114h3q36 40 77 67t94 27q94 0 144 -76.5+t50 -230.5q0 -113 -14 -187.5t-40.5 -119t-64.5 -63t-85 -18.5z" />+ <glyph glyph-name="uni0453" unicode="ѓ"+d="M146 0v486h377v-67h-295v-419h-82zM328 568l-43 41l142 168l58 -56z" />+ <glyph glyph-name="uni0454" unicode="є"+d="M346 -12q-57 0 -106 16t-84.5 47.5t-55.5 79t-20 111.5t21.5 112.5t58.5 80t86.5 47.5t104.5 16q60 0 103 -19t75 -48l-39 -52q-29 25 -63 39.5t-76 14.5q-75 0 -126 -37.5t-63 -111.5h263v-64h-265q6 -83 57 -124.5t136 -41.5q46 0 84.5 16.5t67.5 41.5l34 -52+q-40 -35 -89.5 -53.5t-103.5 -18.5z" />+ <glyph glyph-name="uni0455" unicode="ѕ"+d="M310 -12q-72 0 -133 22.5t-106 53.5l38 54q42 -30 92.5 -48t118.5 -18q62 0 92.5 22.5t30.5 53.5q0 14 -5 26t-21.5 23t-46.5 21t-79 20q-95 20 -142.5 53.5t-47.5 88.5q0 29 13 54.5t38.5 44t63 29t87.5 10.5q56 0 108 -18.5t88 -43.5l-40 -53q-34 23 -75 37t-88 14+q-62 0 -87 -21t-25 -49q0 -32 33 -48.5t108 -32.5q61 -13 100 -27.5t61.5 -32.5t31 -40t8.5 -50q0 -30 -14 -56t-41.5 -46t-68 -31.5t-92.5 -11.5z" />+ <glyph glyph-name="uni0456" unicode="і"+d="M316 0v419h-226v67h308v-486h-82zM348 588q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="uni0457" unicode="ї"+d="M316 0v419h-226v67h308v-486h-82zM251 588q-24 0 -39.5 16t-15.5 40q0 23 15.5 39.5t39.5 16.5t39.5 -16.5t15.5 -39.5q0 -24 -15.5 -40t-39.5 -16zM445 588q-24 0 -39.5 16t-15.5 40q0 23 15.5 39.5t39.5 16.5t39.5 -16.5t15.5 -39.5q0 -24 -15.5 -40t-39.5 -16z" />+ <glyph glyph-name="uni0458" unicode="ј"+d="M194 -217q-38 0 -74 9.5t-65 23.5l27 61q26 -13 54.5 -20t56.5 -7q36 0 60 9t38 26t19.5 41.5t5.5 55.5v437h-226v67h308v-498q0 -45 -10 -82.5t-33.5 -65t-62.5 -42.5t-98 -15zM348 588q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5+z" />+ <glyph glyph-name="uni0459" unicode="љ"+d="M37 -12q-14 0 -23.5 2t-20.5 6l15 76q5 -2 9.5 -3t10.5 -1q20 0 36 23.5t24 79.5q11 78 16.5 155t9.5 160h246v-179h15q81 0 131 -36.5t50 -115.5q0 -81 -50 -118t-131 -37h-95v419h-96q-4 -67 -9 -138t-15 -143q-11 -77 -44 -113.5t-79 -36.5zM360 66h6q61 0 88.5 21.5+t27.5 67.5t-27.5 67t-88.5 21h-6v-177z" />+ <glyph glyph-name="uni045A" unicode="њ"+d="M58 0v486h80v-197h128v197h80v-179h27q83 0 131 -36t48 -116q0 -81 -48 -118t-131 -37h-107v216h-128v-216h-80zM346 66h18q59 0 86.5 21t27.5 68t-27.5 67.5t-86.5 20.5h-18v-177z" />+ <glyph glyph-name="uni045B" unicode="ћ"+d="M93 0v562h-73v58l73 6v86h82v-86h213v-64h-213v-64l-5 -115h3q38 41 81.5 68t100.5 27q87 0 127.5 -49.5t40.5 -146.5v-282h-82v271q0 69 -26 102.5t-86 33.5q-22 0 -40.5 -5.5t-36.5 -16.5t-37 -27.5t-40 -38.5v-319h-82z" />+ <glyph glyph-name="uni045C" unicode="ќ"+d="M110 0v486h82v-200h128l59 108q16 31 31 51t30 32t31.5 16.5t36.5 4.5t32 -6l-14 -77q-5 2 -9.5 2.5t-10.5 0.5q-9 0 -17 -2.5t-16 -10t-17 -20t-20 -33.5l-53 -97l177 -255h-91l-149 219h-128v-219h-82zM299 568l-43 41l142 168l58 -56z" />+ <glyph glyph-name="uni045D" unicode="ѝ"+d="M100 0v486h80v-202q0 -39 -3 -85.5t-5 -93.5h4q14 23 32 52t32 52l184 277h76v-486h-80v202q0 39 3 85.5t5 94.5h-4q-14 -23 -32 -52.5t-32 -51.5l-184 -278h-76zM332 568l-157 153l58 56l142 -168z" />+ <glyph glyph-name="uni045E" unicode="ў"+d="M131 -209q-36 0 -64 10l17 65q10 -3 21.5 -5t22.5 -2q51 0 83 29.5t50 74.5l15 36l-227 487h83l119 -269q14 -32 29.5 -69t30.5 -72h4q13 35 26.5 71.5t25.5 69.5l106 269h78l-214 -526q-14 -36 -32 -67t-43 -53.5t-57.5 -35.5t-73.5 -13zM304 572q-42 0 -71 12.5t-48 33+t-28 47.5t-10 56l68 4q1 -21 5.5 -40.5t15 -33.5t27 -22.5t41.5 -8.5t41.5 8.5t27 22.5t15 33.5t5.5 40.5l68 -4q-2 -29 -10.5 -56t-27.5 -47.5t-48 -33t-71 -12.5z" />+ <glyph glyph-name="uni045F" unicode="џ"+d="M103 0v486h82v-419h230v419h82v-486h-154l-9 -172h-70l-3 172h-158z" />+ <glyph glyph-name="uni0462" unicode="Ѣ"+d="M160 0v507h-136v68h136v125h83v-125h222v-68h-222v-136h66q54 0 98.5 -9.5t76.5 -30t49.5 -53.5t17.5 -80q0 -53 -16.5 -90.5t-47 -61.5t-74 -35t-98.5 -11h-155zM243 66h62q83 0 123.5 29.5t40.5 98.5q0 62 -41.5 88.5t-129.5 26.5h-55v-243z" />+ <glyph glyph-name="uni0463" unicode="ѣ"+d="M194 0v439h-153v67h153v116h82v-116h183v-67h-183v-132h76q43 0 78.5 -9t61 -27.5t39.5 -47t14 -68.5q0 -41 -14 -70t-39.5 -48t-61 -28t-78.5 -9h-158zM276 66h67q122 0 122 89q0 46 -30 67t-92 21h-67v-177z" />+ <glyph glyph-name="uni0472" unicode="Ѳ"+d="M300 -12q-56 0 -102.5 23t-79.5 66.5t-51.5 107.5t-18.5 146t18.5 144.5t51.5 105.5t79.5 65t102.5 22t102.5 -22t79.5 -65t51.5 -106t18.5 -144q0 -82 -18.5 -146t-51.5 -107.5t-79.5 -66.5t-102.5 -23zM300 598q-70 0 -114.5 -56.5t-52.5 -162.5h334+q-8 106 -52.5 162.5t-114.5 56.5zM300 58q74 0 119 65t50 188h-338q5 -123 50 -188t119 -65z" />+ <glyph glyph-name="uni0473" unicode="ѳ"+d="M300 -12q-48 0 -91.5 16t-76.5 48t-52.5 79.5t-19.5 110.5t19.5 111t52.5 80.5t76.5 48.5t91.5 16t91.5 -16t76.5 -48.5t52.5 -80.5t19.5 -111t-19.5 -110.5t-52.5 -79.5t-76.5 -48t-91.5 -16zM300 434q-63 0 -105.5 -39t-53.5 -111h318q-11 72 -53.5 111t-105.5 39z+M300 53q68 0 111.5 43.5t49.5 123.5h-322q6 -80 49.5 -123.5t111.5 -43.5z" />+ <glyph glyph-name="uni0474" unicode="Ѵ"+d="M248 0l-210 656h89l106 -354q16 -59 30 -109t33 -108h4q8 29 14.5 55.5t13.5 52.5t14 53t15 56l64 227q20 73 48.5 106t81.5 33q15 0 25.5 -2t22.5 -7l-17 -77q-5 2 -11.5 4t-14.5 2q-22 0 -34.5 -18.5t-23.5 -55.5l-148 -514h-102z" />+ <glyph glyph-name="uni0475" unicode="ѵ"+d="M249 0l-179 486h84l97 -276q11 -35 23 -71.5t23 -71.5h4q9 35 19.5 71t21.5 72l48 148q10 36 21 62.5t25.5 43.5t32.5 25.5t43 8.5q15 0 25.5 -2t22.5 -7l-17 -74q-9 6 -24 6q-21 0 -33 -18t-24 -55l-112 -348h-101z" />+ <glyph glyph-name="uni0490" unicode="Ґ"+d="M135 0v656h313l16 172h70l-9 -242h-307v-586h-83z" />+ <glyph glyph-name="uni0491" unicode="ґ"+d="M162 0v486h259l16 172h66l-8 -239h-251v-419h-82z" />+ <glyph glyph-name="uni0492" unicode="Ғ"+d="M140 0v300h-80v58l80 4v294h386v-70h-302v-224h168v-62h-168v-300h-84z" />+ <glyph glyph-name="uni0493" unicode="ғ"+d="M146 0v206h-74v56l74 6v218h377v-67h-295v-151h172v-62h-172v-206h-82z" />+ <glyph glyph-name="uni0496" unicode="Җ"+d="M547 -188v188h-39l-110 309h-60v-309h-76v309h-60l-110 -309h-90l139 351l-43 158q-8 26 -16 41.5t-15.5 23.5t-15.5 10.5t-16 2.5q-5 0 -10.5 -1t-10.5 -3l-13 80q7 2 19 3.5t21 1.5q19 0 36 -4.5t32 -17t28.5 -36t24.5 -62.5l47 -168h53v276h76v-276h53l47 168+q11 39 23.5 62.5t27 36t31 17t35.5 4.5q9 0 23 -1.5t21 -3.5l-13 -80q-5 2 -10.5 3t-10.5 1q-8 0 -16 -2.5t-15.5 -10.5t-15.5 -23.5t-16 -41.5l-43 -158l111 -280h45v-50l-9 -209h-59z" />+ <glyph glyph-name="uni0497" unicode="җ"+d="M541 -172v172h-33l-105 220h-63v-220h-80v220h-63l-105 -220h-86l132 262l-34 93q-15 40 -31 51.5t-32 11.5h-8.5t-8.5 -2l-12 77q5 3 13 4t17 1q39 0 68.5 -21t52.5 -81l42 -112h55v202h80v-202h55l42 112q23 60 52.5 81t68.5 21q18 0 30 -5l-12 -77q-5 2 -8.5 2h-8.5+q-17 0 -32.5 -11.5t-30.5 -51.5l-34 -93l98 -195h47v-52l-8 -187h-58z" />+ <glyph glyph-name="uni0498" unicode="Ҙ"+d="M264 -188v177q-60 5 -109 27.5t-93 67.5l47 57q44 -44 88.5 -62.5t102.5 -18.5q33 0 61.5 8.5t50 25t34 40.5t12.5 55q0 63 -47 93t-133 30h-74v64h54q88 0 127 28.5t39 84.5q0 52 -37 78.5t-94 26.5q-47 0 -86.5 -17t-70.5 -46l-45 56q36 35 89.5 57.5t114.5 22.5+q47 0 86 -11.5t66.5 -33t43 -53t15.5 -70.5q0 -52 -25 -91.5t-73 -56.5v-4q57 -11 94.5 -52.5t37.5 -109.5q0 -42 -14.5 -76t-41 -58.5t-62 -40t-77.5 -20.5l-8 -178h-73z" />+ <glyph glyph-name="uni0499" unicode="ҙ"+d="M250 -172l-4 161q-49 4 -94 20t-90 52l36 54q42 -35 86 -48t89 -13q76 0 117 22.5t41 64.5t-38.5 60.5t-111.5 18.5h-84v64h72q70 0 104.5 19.5t34.5 55.5q0 74 -134 74q-53 0 -90.5 -13.5t-75.5 -41.5l-34 55q42 31 91.5 48t113.5 17q46 0 84.5 -8t66.5 -24t43.5 -41+t15.5 -58q0 -36 -21.5 -63.5t-65.5 -44.5v-4q50 -13 80.5 -40.5t30.5 -80.5q0 -62 -50 -99t-135 -45l-9 -162h-69z" />+ <glyph glyph-name="uni049A" unicode="Қ"+d="M513 -188v188h-25l-196 309h-107v-309h-83v656h83v-276h107l88 166q19 37 36.5 61t34.5 37.5t35.5 18.5t41.5 5q9 0 18.5 -1.5t17.5 -4.5l-15 -78q-6 2 -12 3t-11 1q-11 0 -20.5 -3t-19 -11.5t-21 -25t-25.5 -43.5l-81 -153l176 -281h53v-50l-9 -209h-66z" />+ <glyph glyph-name="uni049B" unicode="қ"+d="M502 -172v172h-33l-149 219h-128v-219h-82v486h82v-200h128l59 108q16 31 31 51t30 32t31.5 16.5t36.5 4.5t32 -6l-14 -77q-5 2 -9.5 2.5t-10.5 0.5q-9 0 -17 -2.5t-16 -10t-17 -20t-20 -33.5l-53 -97l130 -188h60v-52l-8 -187h-63z" />+ <glyph glyph-name="uni04A0" unicode="Ҡ"+d="M205 0v586h-186v70h262v-276h66l75 166q18 39 33 62.5t30.5 37t32 18t36.5 4.5q19 0 33 -6l-14 -77q-9 3 -20 3q-8 0 -15.5 -2.5t-16 -11.5t-19 -25.5t-23.5 -43.5l-73 -154l194 -351h-81l-174 309h-64v-309h-76z" />+ <glyph glyph-name="uni04A1" unicode="ҡ"+d="M202 0v419h-169v67h244v-200h95l42 108q12 32 25.5 52.5t28.5 32t31.5 15.5t34.5 4q16 0 29 -5l-15 -77q-5 2 -8 2h-8q-17 0 -31.5 -11.5t-31.5 -54.5l-39 -101l152 -251h-79l-131 219h-95v-219h-75z" />+ <glyph glyph-name="uni04A2" unicode="Ң"+d="M79 0v656h84v-275h272v275h83v-585h71v-50l-9 -209h-64v188h-81v309h-272v-309h-84z" />+ <glyph glyph-name="uni04A3" unicode="ң"+d="M93 0v486h82v-197h240v197h82v-419h71v-52l-8 -187h-71v172h-74v216h-240v-216h-82z" />+ <glyph glyph-name="uni04AA" unicode="Ҫ"+d="M313 -188v178q-54 7 -99.5 33t-78.5 69t-51.5 102.5t-18.5 133.5q0 79 22 142t61 107t93 67.5t118 23.5q59 0 104.5 -24t74.5 -56l-47 -53q-26 27 -58 43.5t-74 16.5q-47 0 -85.5 -18.5t-65.5 -53t-42 -83.5t-15 -110q0 -62 15 -111.5t42 -84.5t65.5 -54t85.5 -19+q45 0 80.5 19t67.5 54l47 -51q-32 -38 -71 -61t-89 -31l-8 -179h-73z" />+ <glyph glyph-name="uni04AB" unicode="ҫ"+d="M303 -172l-3 163q-48 6 -88.5 26t-69.5 52t-45.5 75.5t-16.5 97.5q0 61 21.5 108.5t58.5 80.5t86.5 50t104.5 17q60 0 103.5 -21t73.5 -50l-41 -53q-30 26 -62.5 41t-70.5 15q-42 0 -77 -13.5t-59.5 -38.5t-38.5 -59.5t-14 -76.5t13.5 -76t38 -58.5t59 -38t76.5 -13.5+q45 0 82.5 17.5t67.5 43.5l37 -53q-34 -30 -73.5 -49t-84.5 -25l-9 -162h-69z" />+ <glyph glyph-name="uni04AE" unicode="Ү"+d="M258 0v234l-220 422h88l99 -195q19 -38 37 -75.5t38 -77.5h4l39 78l38 76l95 194h86l-220 -422v-234h-84z" />+ <glyph glyph-name="uni04AF" unicode="ү"+d="M262 -205v199l-211 492h84l110 -269q15 -37 29 -74t27 -71h4q13 34 26 71t28 74l110 269h80l-205 -492v-199h-82z" />+ <glyph glyph-name="uni04B0" unicode="Ұ"+d="M106 220v58l89 4h38l-195 374h88l99 -195q19 -38 37 -75.5t38 -77.5h4l39 78l38 76l95 194h86l-195 -374h127v-62h-152v-220h-84v220h-152z" />+ <glyph glyph-name="uni04B1" unicode="ұ"+d="M100 0v56l78 6h57l-184 424h84l110 -269q15 -37 29 -74t27 -71h4q13 34 26 71t28 74l110 269h80l-179 -424h130v-62h-156v-205h-82v205h-162z" />+ <glyph glyph-name="uni04B2" unicode="Ҳ"+d="M491 -188v188h-37l-99 177q-14 24 -27.5 49.5t-30.5 55.5h-4q-14 -30 -27 -55.5t-26 -49.5l-98 -177h-88l196 339l-183 317h92l92 -168q13 -23 25 -44.5t28 -50.5h4q14 29 24.5 50.5t22.5 44.5l90 168h88l-183 -321l154 -264h60v-50l-8 -209h-65z" />+ <glyph glyph-name="uni04B3" unicode="ҳ"+d="M481 -172v172h-36l-85 112q-15 21 -31.5 44t-32.5 44h-4q-15 -22 -30 -43.5t-30 -44.5l-80 -112h-88l185 252l-171 234h91l77 -107q13 -20 27.5 -41t29.5 -41h4q14 20 28 42t27 42l73 105h87l-173 -241l135 -178h76v-52l-8 -187h-71z" />+ <glyph glyph-name="uni04B6" unicode="Ҷ"+d="M427 0v294q-24 -5 -53.5 -7.5t-69.5 -2.5q-56 0 -100.5 11t-75 36.5t-47 67t-16.5 101.5v156h82v-156q0 -83 42.5 -115t122.5 -32q38 0 66 2.5t49 7.5v293h84v-585h71v-50l-9 -209h-70v188h-76z" />+ <glyph glyph-name="uni04B7" unicode="ҷ"+d="M402 0v196q-15 -3 -26.5 -5.5t-23.5 -4t-25.5 -2t-32.5 -0.5q-98 0 -152 40.5t-54 135.5v126h82v-126q0 -58 33.5 -83.5t107.5 -25.5q25 0 45.5 3t45.5 9v223h82v-419h71v-52l-8 -187h-71v172h-74z" />+ <glyph glyph-name="uni04BA" unicode="Һ"+d="M91 0v656h83v-258q24 4 52.5 7t66.5 3q56 0 100.5 -11t75 -36.5t47 -66.5t16.5 -100v-194h-82v194q0 41 -10.5 69t-31.5 45t-51.5 24t-70.5 7q-37 0 -64.5 -3t-47.5 -7v-329h-83z" />+ <glyph glyph-name="uni04BB" unicode="һ"+d="M93 0v712h82v-194l-5 -115h3q38 41 81.5 68t100.5 27q87 0 127.5 -49.5t40.5 -146.5v-302h-82v291q0 69 -26 102.5t-86 33.5q-22 0 -40.5 -5.5t-36.5 -16.5t-37 -27.5t-40 -38.5v-339h-82z" />+ <glyph glyph-name="uni04C0" unicode="Ӏ"+d="M95 0v71h163v515h-163v70h410v-70h-163v-515h163v-71h-410z" />+ <glyph glyph-name="uni04C1" unicode="Ӂ"+d="M2 0l139 351l-43 158q-8 26 -16 41.5t-15.5 23.5t-15.5 10.5t-16 2.5q-5 0 -10.5 -1t-10.5 -3l-13 80q7 2 19 3.5t21 1.5q19 0 36 -4.5t32 -17t28.5 -36t24.5 -62.5l47 -168h53v276h76v-276h53l47 168q11 39 23.5 62.5t27 36t31 17t35.5 4.5q9 0 23 -1.5t21 -3.5l-13 -80+q-5 2 -10.5 3t-10.5 1q-8 0 -16 -2.5t-15.5 -10.5t-15.5 -23.5t-16 -41.5l-43 -158l139 -351h-90l-110 309h-60v-309h-76v309h-60l-110 -309h-90zM300 705q-42 0 -70 10.5t-45.5 28.5t-26 41t-9.5 48l72 4q1 -35 19 -60.5t60 -25.5q21 0 35.5 7t24 18.5t14 27t5.5 33.5+l72 -4q-2 -25 -10 -48t-25.5 -41t-45.5 -28.5t-70 -10.5z" />+ <glyph glyph-name="uni04C2" unicode="ӂ"+d="M6 0l132 262l-34 93q-15 40 -31 51.5t-32 11.5h-8.5t-8.5 -2l-12 77q5 3 13 4t17 1q39 0 68.5 -21t52.5 -81l42 -112h55v202h80v-202h55l42 112q23 60 52.5 81t68.5 21q18 0 30 -5l-12 -77q-5 2 -8.5 2h-8.5q-17 0 -32.5 -11.5t-30.5 -51.5l-34 -93l132 -262h-86+l-105 220h-63v-220h-80v220h-63l-105 -220h-86zM300 572q-42 0 -71 12.5t-48 33t-28 47.5t-10 56l68 4q1 -21 5.5 -40.5t15 -33.5t27 -22.5t41.5 -8.5t41.5 8.5t27 22.5t15 33.5t5.5 40.5l68 -4q-2 -29 -10.5 -56t-27.5 -47.5t-48 -33t-71 -12.5z" />+ <glyph glyph-name="uni04CF" unicode="ӏ"+d="M407 -12q-78 0 -119 44t-41 131v482h-173v67h255v-555q0 -54 26 -77.5t70 -23.5q43 0 91 22l21 -61q-34 -14 -62 -21.5t-68 -7.5z" />+ <glyph glyph-name="uni04D0" unicode="Ӑ"+d="M232 367l-31 -100h196l-31 100q-17 55 -33.5 109.5t-31.5 111.5h-4q-16 -57 -32 -111.5t-33 -109.5zM32 0l221 656h94l221 -656h-88l-62 200h-238l-63 -200h-85zM300 705q-42 0 -70 10.5t-45.5 28.5t-26 41t-9.5 48l72 4q1 -35 19 -60.5t60 -25.5q21 0 35.5 7t24 18.5+t14 27t5.5 33.5l72 -4q-2 -25 -10 -48t-25.5 -41t-45.5 -28.5t-70 -10.5z" />+ <glyph glyph-name="uni04D1" unicode="ӑ"+d="M246 -12q-34 0 -64 9.5t-52.5 27t-35.5 43t-13 58.5q0 41 19.5 71.5t62 52.5t109.5 36t161 22q-1 25 -8 47t-22 38.5t-39.5 26.5t-59.5 10q-48 0 -92 -18.5t-78 -39.5l-32 56q18 12 42.5 24.5t52 22.5t58.5 16.5t63 6.5q100 0 148.5 -54.5t48.5 -145.5v-298h-67l-7 66h-3+q-41 -32 -90.5 -55t-101.5 -23zM268 54q42 0 82.5 18.5t82.5 53.5v128q-78 -6 -130.5 -17t-84 -26.5t-44.5 -35t-13 -43.5q0 -21 9 -35.5t23.5 -24t34 -14t40.5 -4.5zM320 572q-42 0 -71 12.5t-48 33t-28 47.5t-10 56l68 4q1 -21 5.5 -40.5t15 -33.5t27 -22.5t41.5 -8.5+t41.5 8.5t27 22.5t15 33.5t5.5 40.5l68 -4q-2 -29 -10.5 -56t-27.5 -47.5t-48 -33t-71 -12.5z" />+ <glyph glyph-name="uni04D4" unicode="Ӕ"+d="M231 377l-46 -119h132v332h-3q-20 -54 -41.5 -106.5t-41.5 -106.5zM-1 0l264 656h319v-70h-189v-205h147v-71h-147v-239h198v-71h-274v191h-158l-73 -191h-87z" />+ <glyph glyph-name="uni04D5" unicode="ӕ"+d="M145 -12q-56 0 -92 35t-36 97q0 74 58.5 119.5t190.5 62.5q-2 71 -26 99.5t-62 28.5q-30 0 -60.5 -12t-53.5 -28l-31 56q30 20 69.5 36t82.5 16q44 0 75 -23t48 -77q25 54 62 77t78 23q38 0 66 -18t46.5 -48.5t27.5 -70.5t9 -85q0 -14 -1 -28.5t-3 -27.5h-261+q4 -77 36 -121t89 -44q28 0 51.5 9t43.5 23l30 -56q-25 -18 -57.5 -30.5t-70.5 -12.5q-51 0 -88.5 22.5t-61.5 64.5q-35 -42 -74.5 -64.5t-84.5 -22.5zM167 54q28 0 59 17.5t57 51.5q-17 54 -17 119v7q-51 -8 -84 -19.5t-53 -26.5t-28 -34t-8 -41q0 -35 20.5 -54.5+t53.5 -19.5zM443 433q-38 0 -70 -34t-40 -115h197q-4 149 -87 149z" />+ <glyph glyph-name="uni04D6" unicode="Ӗ"+d="M114 0v656h406v-70h-322v-206h272v-71h-272v-238h332v-71h-416zM331 705q-42 0 -70 10.5t-45.5 28.5t-26 41t-9.5 48l72 4q1 -35 19 -60.5t60 -25.5q21 0 35.5 7t24 18.5t14 27t5.5 33.5l72 -4q-2 -25 -10 -48t-25.5 -41t-45.5 -28.5t-70 -10.5z" />+ <glyph glyph-name="uni04D7" unicode="ӗ"+d="M330 -12q-55 0 -102.5 17t-83 50t-56 80.5t-20.5 108.5q0 59 20.5 106t55 80t79 50.5t93.5 17.5q52 0 93.5 -16.5t70 -46.5t43.5 -72t15 -93q0 -14 -1 -27t-3 -23h-383q8 -83 60.5 -124.5t128.5 -41.5q44 0 79.5 12.5t68.5 33.5l30 -54q-36 -24 -82.5 -41t-105.5 -17z+M318 433q-30 0 -57.5 -10t-49.5 -28.5t-37 -46.5t-21 -64h310q-5 75 -43.5 112t-101.5 37zM316 572q-42 0 -71 12.5t-48 33t-28 47.5t-10 56l68 4q1 -21 5.5 -40.5t15 -33.5t27 -22.5t41.5 -8.5t41.5 8.5t27 22.5t15 33.5t5.5 40.5l68 -4q-2 -29 -10.5 -56t-27.5 -47.5+t-48 -33t-71 -12.5z" />+ <glyph glyph-name="uni04D8" unicode="Ә"+d="M300 -12q-55 0 -99.5 24.5t-76 68.5t-48.5 106.5t-17 139.5v11.5t1 11.5h407q-4 118 -47 182t-123 64q-41 0 -74 -16t-58 -42l-40 57q31 32 74.5 52.5t101.5 20.5t104 -23.5t78.5 -67t49.5 -106t17 -141.5t-18.5 -142t-51.5 -107.5t-79 -68.5t-101 -24zM300 60+q69 0 113.5 57t52.5 169h-325q8 -114 49 -170t110 -56z" />+ <glyph glyph-name="uni04D9" unicode="ә"+d="M297 -12q-55 0 -97.5 17.5t-71.5 48.5t-44 74.5t-15 95.5q0 13 1 27t3 23h381q-8 79 -54 119t-121 40q-44 0 -80 -12.5t-69 -33.5l-30 54q37 23 83 40t105 17q55 0 101 -17.5t79 -50t51 -79.5t18 -107q0 -61 -18.5 -108.5t-51 -80.5t-76.5 -50t-94 -17zM295 54+q66 0 108.5 39t50.5 117h-311q5 -78 44.5 -117t107.5 -39z" />+ <glyph glyph-name="uni04E2" unicode="Ӣ"+d="M78 0v656h80v-340q0 -52 -4.5 -105.5t-6.5 -102.5h2l63 136l218 412h92v-656h-80v343q0 51 4.5 102.5t6.5 102.5h-2l-63 -136l-218 -412h-92zM170 735v57h268v-57h-268z" />+ <glyph glyph-name="uni04E3" unicode="ӣ"+d="M100 0v486h80v-202q0 -39 -3 -85.5t-5 -93.5h4q14 23 32 52t32 52l184 277h76v-486h-80v202q0 39 3 85.5t5 94.5h-4q-14 -23 -32 -52.5t-32 -51.5l-184 -278h-76zM178 601v57h266v-57h-266z" />+ <glyph glyph-name="uni04E6" unicode="Ӧ"+d="M300 -12q-56 0 -102 23.5t-79.5 67.5t-52 107.5t-18.5 144.5q0 79 18.5 142t52 106t79.5 66t102 23q55 0 101.5 -23t80 -66t52 -106t18.5 -142q0 -81 -18.5 -144.5t-52 -107.5t-80 -67.5t-101.5 -23.5zM300 61q37 0 68 18.5t52.5 53.5t33.5 85t12 113q0 62 -12 111+t-33.5 83t-52.5 52t-68 18q-38 0 -68.5 -18t-52 -52t-33.5 -83t-12 -111q0 -63 12 -113t33.5 -85t52 -53.5t68.5 -18.5zM209 715q-22 0 -36.5 14t-14.5 37t14.5 36.5t36.5 13.5t36 -13.5t14 -36.5t-14 -37t-36 -14zM391 715q-22 0 -36 14t-14 37t14 36.5t36 13.5t36.5 -13.5+t14.5 -36.5t-14.5 -37t-36.5 -14z" />+ <glyph glyph-name="uni04E7" unicode="ӧ"+d="M300 -12q-48 0 -91.5 17t-76.5 49.5t-52.5 80t-19.5 107.5q0 61 19.5 108.5t52.5 80.5t76.5 50t91.5 17t91.5 -17t76.5 -50t52.5 -80.5t19.5 -108.5q0 -60 -19.5 -107.5t-52.5 -80t-76.5 -49.5t-91.5 -17zM300 56q35 0 63.5 13.5t49 38t31.5 58.5t11 76t-11 76.5+t-31.5 59.5t-49 38.5t-63.5 13.5t-63.5 -13.5t-49 -38.5t-31.5 -59.5t-11 -76.5t11 -76t31.5 -58.5t49 -38t63.5 -13.5zM203 588q-24 0 -39.5 16t-15.5 40q0 23 15.5 39.5t39.5 16.5t39.5 -16.5t15.5 -39.5q0 -24 -15.5 -40t-39.5 -16zM397 588q-24 0 -39.5 16t-15.5 40+q0 23 15.5 39.5t39.5 16.5t39.5 -16.5t15.5 -39.5q0 -24 -15.5 -40t-39.5 -16z" />+ <glyph glyph-name="uni04E8" unicode="Ө"+d="M300 -12q-56 0 -102.5 23t-79.5 66.5t-51.5 107.5t-18.5 146t18.5 144.5t51.5 105.5t79.5 65t102.5 22t102.5 -22t79.5 -65t51.5 -106t18.5 -144q0 -82 -18.5 -146t-51.5 -107.5t-79.5 -66.5t-102.5 -23zM300 598q-70 0 -114.5 -56.5t-52.5 -162.5h334+q-8 106 -52.5 162.5t-114.5 56.5zM300 58q74 0 119 65t50 188h-338q5 -123 50 -188t119 -65z" />+ <glyph glyph-name="uni04E9" unicode="ө"+d="M300 -12q-48 0 -91.5 16t-76.5 48t-52.5 79.5t-19.5 110.5t19.5 111t52.5 80.5t76.5 48.5t91.5 16t91.5 -16t76.5 -48.5t52.5 -80.5t19.5 -111t-19.5 -110.5t-52.5 -79.5t-76.5 -48t-91.5 -16zM300 434q-63 0 -105.5 -39t-53.5 -111h318q-11 72 -53.5 111t-105.5 39z+M300 53q68 0 111.5 43.5t49.5 123.5h-322q6 -80 49.5 -123.5t111.5 -43.5z" />+ <glyph glyph-name="uni04EE" unicode="Ӯ"+d="M178 -12q-22 0 -36.5 2.5t-28.5 7.5l18 75q8 -3 17.5 -5t24.5 -2q32 0 51 12.5t33 40.5l14 35l-224 502h89l122 -292l50 -129h4l47 129l112 292h85l-215 -537q-25 -61 -62.5 -96t-100.5 -35zM170 735v57h268v-57h-268z" />+ <glyph glyph-name="uni04EF" unicode="ӯ"+d="M131 -209q-36 0 -64 10l17 65q10 -3 21.5 -5t22.5 -2q51 0 83 29.5t50 74.5l15 36l-227 487h83l119 -269q14 -32 29.5 -69t30.5 -72h4q13 35 26.5 71.5t25.5 69.5l106 269h78l-214 -526q-14 -36 -32 -67t-43 -53.5t-57.5 -35.5t-73.5 -13zM171 601v57h266v-57h-266z" />+ <glyph glyph-name="uni04F2" unicode="Ӳ"+d="M178 -12q-22 0 -36.5 2.5t-28.5 7.5l18 75q8 -3 17.5 -5t24.5 -2q32 0 51 12.5t33 40.5l14 35l-224 502h89l122 -292l50 -129h4l47 129l112 292h85l-215 -537q-25 -61 -62.5 -96t-100.5 -35zM232 703l-43 21l92 152l57 -32zM392 703l-43 21l93 152l56 -32z" />+ <glyph glyph-name="uni04F3" unicode="ӳ"+d="M131 -209q-36 0 -64 10l17 65q10 -3 21.5 -5t22.5 -2q51 0 83 29.5t50 74.5l15 36l-227 487h83l119 -269q14 -32 29.5 -69t30.5 -72h4q13 35 26.5 71.5t25.5 69.5l106 269h78l-214 -526q-14 -36 -32 -67t-43 -53.5t-57.5 -35.5t-73.5 -13zM247 568l-46 21l87 172l58 -28z+M398 568l-46 21l87 172l58 -28z" />+ <glyph glyph-name="a.sups" unicode="ᵃ"+d="M269 387q-45 0 -75.5 24.5t-30.5 67.5q0 53 53 81.5t166 37.5q-2 31 -18 53t-57 22q-29 0 -56 -10t-50 -24l-25 43q26 16 63.5 29t78.5 13q65 0 96.5 -35.5t31.5 -98.5v-195h-53l-4 38h-2q-25 -20 -55 -33t-63 -13zM285 436q26 0 49.5 10.5t47.5 29.5v83+q-86 -8 -121.5 -26.5t-35.5 -47.5q0 -26 18 -37.5t42 -11.5z" />+ <glyph glyph-name="b.sups" unicode="ᵇ"+d="M327 387q-24 0 -49 10.5t-48 29.5h-1l-7 -32h-50v471h64v-129l-2 -56q23 19 49.5 31t54.5 12q66 0 100 -44.5t34 -119.5q0 -41 -12 -73t-32 -54.5t-46.5 -34t-54.5 -11.5zM314 440q40 0 66 31t26 89q0 51 -19.5 81t-65.5 30q-39 0 -85 -40v-161q21 -17 41 -23.5t37 -6.5z+" />+ <glyph glyph-name="d.sups" unicode="ᵈ"+d="M276 387q-63 0 -101 43.5t-38 124.5q0 39 12 70.5t32 53.5t46.5 33.5t55.5 11.5t50.5 -10t42.5 -27l-2 55v124h64v-471h-53l-5 36h-2q-20 -18 -46.5 -31t-55.5 -13zM291 440q44 0 83 40v160q-21 17 -40 24t-39 7q-39 0 -65.5 -30.5t-26.5 -84.5q0 -56 23 -86t65 -30z" />+ <glyph glyph-name="e.sups" unicode="ᵉ"+d="M320 387q-36 0 -68 11.5t-56 33t-37.5 52.5t-13.5 71q0 39 13.5 70.5t36.5 53t52.5 33.5t61.5 12q72 0 110.5 -41t38.5 -110q0 -11 -1 -19.5t-2 -15.5h-250q6 -51 40.5 -76.5t81.5 -25.5q27 0 50.5 6.5t44.5 18.5l22 -40q-54 -34 -124 -34zM312 674q-36 0 -66.5 -21.5+t-38.5 -66.5h196q-5 48 -29.5 68t-61.5 20z" />+ <glyph glyph-name="g.sups" unicode="ᵍ"+d="M298 249q-70 0 -109.5 22t-39.5 65q0 40 53 70v2q-13 8 -23 21t-10 33q0 16 10.5 32t28.5 28v3q-17 13 -29 33.5t-12 49.5q0 27 10.5 48.5t28 36.5t41 23t50.5 8q14 0 26 -1.5t23 -6.5h134v-48h-82q11 -11 18 -26.5t7 -34.5q0 -27 -9.5 -47.5t-26.5 -34.5t-40 -21.5+t-50 -7.5q-23 0 -53 11q-22 -14 -22 -34q0 -34 63 -34h71q64 0 95 -18t31 -59q0 -24 -13 -44.5t-37 -35.5t-58 -24t-76 -9zM297 538q29 0 49 18.5t20 51.5q0 32 -20 52t-49 20t-49 -20t-20 -52q0 -33 20 -51.5t49 -18.5zM304 291q54 0 85.5 18.5t31.5 41.5q0 21 -18.5 28.5+t-53.5 7.5h-59q-15 0 -26.5 1t-22.5 4q-21 -11 -29.5 -23.5t-8.5 -25.5q0 -23 25.5 -37.5t75.5 -14.5z" />+ <glyph glyph-name="k.sups" unicode="ᵏ"+d="M189 395v471h64v-310h2l159 160h72l-125 -128l140 -193h-71l-107 151l-70 -67v-84h-64z" />+ <glyph glyph-name="m.sups" unicode="ᵐ"+d="M70 395v321h50l6 -45h3q20 22 44.5 37.5t56.5 15.5q69 0 90 -60q23 24 49.5 42t59.5 18q53 0 76.5 -35t23.5 -91v-203h-62v194q0 38 -12 60t-47 22q-17 0 -35.5 -11t-41.5 -36v-229h-62v194q0 38 -12 60t-47 22q-18 0 -36.5 -11t-41.5 -36v-229h-62z" />+ <glyph glyph-name="o.sups" unicode="ᵒ"+d="M300 387q-32 0 -60.5 11.5t-50 33t-34.5 52.5t-13 71t13 71.5t34.5 53.5t50 33t60.5 11t60.5 -11t50.5 -33t34.5 -53.5t12.5 -71.5t-12.5 -71t-34.5 -52.5t-50.5 -33t-60.5 -11.5zM300 439q43 0 67.5 32t24.5 84q0 53 -24.5 85t-67.5 32t-67.5 -32t-24.5 -85+q0 -52 24.5 -84t67.5 -32z" />+ <glyph glyph-name="p.sups" unicode="ᵖ"+d="M172 262v454h52l5 -36h3q23 18 50 31t57 13q65 0 99 -44.5t34 -119.5q0 -41 -12 -73t-32 -54.5t-46.5 -34t-54.5 -11.5q-46 0 -93 36l2 -55v-106h-64zM314 440q40 0 66 31t26 89q0 51 -19.5 81t-65.5 30q-20 0 -41 -10t-44 -30v-161q21 -17 41 -23.5t37 -6.5z" />+ <glyph glyph-name="t.sups" unicode="ᵗ"+d="M369 387q-72 0 -100 37t-28 98v144h-77v48l80 2l8 100h53v-100h145v-50h-145v-145q0 -42 17 -63t62 -21q20 0 35.5 4t30.5 11l13 -47q-20 -8 -44 -13t-50 -5z" />+ <glyph glyph-name="u.sups" unicode="ᵘ"+d="M266 387q-55 0 -81 32.5t-26 93.5v203h64v-195q0 -41 15 -60t50 -19q26 0 46.5 11.5t44.5 38.5v224h64v-321h-52l-6 50h-2q-23 -26 -51.5 -42t-65.5 -16z" />+ <glyph glyph-name="v.sups" unicode="ᵛ"+d="M261 395l-122 321h66l62 -176q8 -24 15.5 -48t15.5 -47h2q8 23 15 47t15 48l62 176h62l-119 -321h-74z" />+ <glyph glyph-name="c.sups" unicode="ᶜ"+d="M346 387q-35 0 -65.5 11.5t-52.5 33t-34.5 52.5t-12.5 71t14 71.5t37.5 53.5t54 33t64.5 11q35 0 60 -11t43 -27l-32 -41q-15 12 -31.5 19.5t-36.5 7.5q-48 0 -78 -32t-30 -85q0 -52 29 -84t77 -32q25 0 45 9t37 21l27 -41q-24 -20 -53.5 -30.5t-61.5 -10.5z" />+ <glyph glyph-name="f.sups" unicode="ᶠ"+d="M277 395v271h-79v48l79 2v27q0 59 32.5 94.5t101.5 35.5q47 0 92 -17l-14 -47q-33 13 -71 13q-42 0 -60 -21t-18 -56v-29h128v-50h-128v-271h-63z" />+ <glyph glyph-name="z.sups" unicode="ᶻ"+d="M146 395v33l213 238h-189v50h279v-33l-212 -238h219v-50h-310z" />+ <glyph glyph-name="uni1E06" unicode="Ḇ"+d="M99 0v656h186q50 0 91.5 -9t71 -28t46 -49.5t16.5 -73.5q0 -49 -28 -88.5t-87 -54.5v-4q72 -11 112 -50t40 -107q0 -48 -18 -84t-50.5 -60t-78 -36t-100.5 -12h-201zM182 380h89q84 0 120.5 27t36.5 82q0 54 -38.5 75.5t-114.5 21.5h-93v-206zM182 70h106q85 0 131 29.5+t46 96.5q0 61 -45 87.5t-132 26.5h-106v-240zM174 -169v57h266v-57h-266z" />+ <glyph glyph-name="uni1E07" unicode="ḇ"+d="M320 -12q-35 0 -75.5 17.5t-75.5 48.5h-3l-7 -54h-66v712h82v-194l-3 -94h3q33 34 76.5 54t86.5 20q49 0 87 -17.5t63.5 -50t38.5 -78t13 -101.5q0 -62 -18 -111t-48.5 -83t-70.5 -51.5t-83 -17.5zM307 57q32 0 59 13.5t47 38t31 60.5t11 81q0 40 -8 73t-24.5 56.5+t-42.5 36.5t-62 13q-32 0 -68.5 -17.5t-74.5 -55.5v-242q35 -31 70.5 -44t61.5 -13zM177 -169v57h266v-57h-266z" />+ <glyph glyph-name="uni1E0C" unicode="Ḍ"+d="M87 0v656h162q149 0 226.5 -84t77.5 -241t-77.5 -244t-222.5 -87h-166zM170 68h73q113 0 168.5 69t55.5 194t-55.5 191t-168.5 66h-73v-520zM295 -214q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="uni1E0D" unicode="ḍ"+d="M271 -12q-48 0 -86.5 17t-66.5 49.5t-43 79.5t-15 108q0 59 18.5 106.5t49 80.5t70.5 51t83 18q44 0 78.5 -16.5t66.5 -46.5h3l-4 90v187h82v-712h-68l-7 64h-3q-30 -31 -71.5 -53.5t-86.5 -22.5zM288 57q72 0 137 73v242q-33 31 -64.5 44t-63.5 13t-59.5 -13.5t-48 -38+t-32.5 -58.5t-12 -76q0 -88 37.5 -137t105.5 -49zM304 -214q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="uni1E0E" unicode="Ḏ"+d="M87 0v656h162q149 0 226.5 -84t77.5 -241t-77.5 -244t-222.5 -87h-166zM170 68h73q113 0 168.5 69t55.5 194t-55.5 191t-168.5 66h-73v-520zM162 -169v57h266v-57h-266z" />+ <glyph glyph-name="uni1E0F" unicode="ḏ"+d="M271 -12q-48 0 -86.5 17t-66.5 49.5t-43 79.5t-15 108q0 59 18.5 106.5t49 80.5t70.5 51t83 18q44 0 78.5 -16.5t66.5 -46.5h3l-4 90v187h82v-712h-68l-7 64h-3q-30 -31 -71.5 -53.5t-86.5 -22.5zM288 57q72 0 137 73v242q-33 31 -64.5 44t-63.5 13t-59.5 -13.5t-48 -38+t-32.5 -58.5t-12 -76q0 -88 37.5 -137t105.5 -49zM171 -169v57h266v-57h-266z" />+ <glyph glyph-name="uni1E10" unicode="Ḑ"+d="M87 0v656h162q149 0 226.5 -84t77.5 -241t-77.5 -244t-222.5 -87h-166zM170 68h73q113 0 168.5 69t55.5 194t-55.5 191t-168.5 66h-73v-520zM200 -226l-8 40q63 5 86 16.5t23 33.5q0 20 -17 31t-60 17l40 96h54l-26 -72q35 -8 54 -24t19 -47q0 -44 -42.5 -65.5+t-122.5 -25.5z" />+ <glyph glyph-name="uni1E11" unicode="ḑ"+d="M271 -12q-48 0 -86.5 17t-66.5 49.5t-43 79.5t-15 108q0 59 18.5 106.5t49 80.5t70.5 51t83 18q44 0 78.5 -16.5t66.5 -46.5h3l-4 90v187h82v-712h-68l-7 64h-3q-30 -31 -71.5 -53.5t-86.5 -22.5zM288 57q72 0 137 73v242q-33 31 -64.5 44t-63.5 13t-59.5 -13.5t-48 -38+t-32.5 -58.5t-12 -76q0 -88 37.5 -137t105.5 -49zM209 -226l-8 40q63 5 86 16.5t23 33.5q0 20 -17 31t-60 17l40 96h54l-26 -72q35 -8 54 -24t19 -47q0 -44 -42.5 -65.5t-122.5 -25.5z" />+ <glyph glyph-name="uni1E16" unicode="Ḗ"+d="M114 0v656h406v-70h-322v-206h272v-71h-272v-238h332v-71h-416zM197 735v57h268v-57h-268zM313 827l-31 38l121 103l39 -48z" />+ <glyph glyph-name="uni1E17" unicode="ḗ"+d="M330 -12q-55 0 -102.5 17t-83 50t-56 80.5t-20.5 108.5q0 59 20.5 106t55 80t79 50.5t93.5 17.5q52 0 93.5 -16.5t70 -46.5t43.5 -72t15 -93q0 -14 -1 -27t-3 -23h-383q8 -83 60.5 -124.5t128.5 -41.5q44 0 79.5 12.5t68.5 33.5l30 -54q-36 -24 -82.5 -41t-105.5 -17z+M318 433q-30 0 -57.5 -10t-49.5 -28.5t-37 -46.5t-21 -64h310q-5 75 -43.5 112t-101.5 37zM183 601v57h266v-57h-266zM282 705l-32 39l135 99l38 -49z" />+ <glyph glyph-name="uni1E20" unicode="Ḡ"+d="M337 -12q-62 0 -114 23t-90 66.5t-59 107t-21 143.5q0 79 21.5 142.5t60 107t92 67t117.5 23.5q33 0 60 -7t49.5 -18.5t40 -25.5t31.5 -29l-47 -53q-24 26 -55 43t-79 17q-46 0 -83.5 -18.5t-64.5 -53t-41.5 -83.5t-14.5 -110q0 -62 13.5 -111.5t39 -84.5t63.5 -54+t86 -19q35 0 65 10.5t49 28.5v171h-131v69h208v-276q-31 -32 -81.5 -54t-114.5 -22zM196 735v57h268v-57h-268z" />+ <glyph glyph-name="uni1E21" unicode="ḡ"+d="M296 -224q-107 0 -165.5 35t-58.5 100q0 29 20.5 57t59.5 51v4q-20 11 -35 30t-15 50q0 23 15 47.5t43 43.5v4q-25 19 -42.5 50.5t-17.5 75.5q0 40 15.5 72t41.5 54.5t60.5 35t73.5 12.5q40 0 72 -12h201v-67h-126q17 -17 29 -43t12 -55q0 -39 -14.5 -70t-40 -52.5+t-60 -33t-73.5 -11.5q-19 0 -40.5 4.5t-41.5 13.5q-38 -24 -38 -56q0 -29 26.5 -42.5t74.5 -13.5h109q94 0 139.5 -26t45.5 -88q0 -34 -19 -65t-54 -54t-85 -37t-112 -14zM291 209q47 0 79.5 31t32.5 84q0 25 -9 46t-24 36t-35.5 23.5t-43.5 8.5t-43.5 -8.5t-35.5 -23.5+t-24 -36t-9 -46q0 -53 33 -84t79 -31zM302 -164q42 0 76 8t58 21.5t36.5 31t12.5 36.5q0 35 -27.5 47t-83.5 12h-95q-21 0 -39.5 1.5t-34.5 6.5q-35 -19 -48.5 -39.5t-13.5 -41.5q0 -38 40.5 -60.5t118.5 -22.5zM174 601v57h266v-57h-266z" />+ <glyph glyph-name="uni1E24" unicode="Ḥ"+d="M79 0v656h84v-275h274v275h84v-656h-84v309h-274v-309h-84zM300 -214q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="uni1E25" unicode="ḥ"+d="M93 0v712h82v-194l-5 -115h3q38 41 81.5 68t100.5 27q87 0 127.5 -49.5t40.5 -146.5v-302h-82v291q0 69 -26 102.5t-86 33.5q-22 0 -40.5 -5.5t-36.5 -16.5t-37 -27.5t-40 -38.5v-339h-82zM314 -214q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5+t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="uni1E26" unicode="Ḧ"+d="M79 0v656h84v-275h274v275h84v-656h-84v309h-274v-309h-84zM209 715q-22 0 -36.5 14t-14.5 37t14.5 36.5t36.5 13.5t36 -13.5t14 -36.5t-14 -37t-36 -14zM391 715q-22 0 -36 14t-14 37t14 36.5t36 13.5t36.5 -13.5t14.5 -36.5t-14.5 -37t-36.5 -14z" />+ <glyph glyph-name="uni1E27" unicode="ḧ"+d="M93 0v712h82v-194l-5 -115h3q38 41 81.5 68t100.5 27q87 0 127.5 -49.5t40.5 -146.5v-302h-82v291q0 69 -26 102.5t-86 33.5q-22 0 -40.5 -5.5t-36.5 -16.5t-37 -27.5t-40 -38.5v-339h-82zM41 775q-22 0 -36.5 14t-14.5 37t14.5 36.5t36.5 13.5t36 -13.5t14 -36.5+t-14 -37t-36 -14zM223 775q-22 0 -36 14t-14 37t14 36.5t36 13.5t36.5 -13.5t14.5 -36.5t-14.5 -37t-36.5 -14z" />+ <glyph glyph-name="uni1E28" unicode="Ḩ"+d="M79 0v656h84v-275h274v275h84v-656h-84v309h-274v-309h-84zM36 -226l-8 40q63 5 86 16.5t23 33.5q0 20 -17 31t-60 17l40 96h54l-26 -72q35 -8 54 -24t19 -47q0 -44 -42.5 -65.5t-122.5 -25.5z" />+ <glyph glyph-name="uni1E29" unicode="ḩ"+d="M93 0v712h82v-194l-5 -115h3q38 41 81.5 68t100.5 27q87 0 127.5 -49.5t40.5 -146.5v-302h-82v291q0 69 -26 102.5t-86 33.5q-22 0 -40.5 -5.5t-36.5 -16.5t-37 -27.5t-40 -38.5v-339h-82zM48 -226l-8 40q63 5 86 16.5t23 33.5q0 20 -17 31t-60 17l40 96h54l-26 -72+q35 -8 54 -24t19 -47q0 -44 -42.5 -65.5t-122.5 -25.5z" />+ <glyph glyph-name="uni1E2A" unicode="Ḫ"+d="M79 0v656h84v-275h274v275h84v-656h-84v309h-274v-309h-84zM300 -230q-40 0 -69 13t-47.5 34.5t-28 48.5t-11.5 55l51 8q3 -19 10.5 -37.5t20.5 -33.5t31.5 -24t42.5 -9t42.5 9t31.5 24t20.5 33.5t10.5 37.5l51 -8q-2 -28 -11.5 -55t-28.5 -48.5t-47.5 -34.5t-68.5 -13z+" />+ <glyph glyph-name="uni1E2B" unicode="ḫ"+d="M93 0v712h82v-194l-5 -115h3q38 41 81.5 68t100.5 27q87 0 127.5 -49.5t40.5 -146.5v-302h-82v291q0 69 -26 102.5t-86 33.5q-22 0 -40.5 -5.5t-36.5 -16.5t-37 -27.5t-40 -38.5v-339h-82zM314 -230q-40 0 -69 13t-47.5 34.5t-28 48.5t-11.5 55l51 8q3 -19 10.5 -37.5+t20.5 -33.5t31.5 -24t42.5 -9t42.5 9t31.5 24t20.5 33.5t10.5 37.5l51 -8q-2 -28 -11.5 -55t-28.5 -48.5t-47.5 -34.5t-68.5 -13z" />+ <glyph glyph-name="uni1E32" unicode="Ḳ"+d="M98 0v656h84v-329h3l276 329h95l-208 -249l232 -407h-94l-191 344l-113 -135v-209h-84zM338 -214q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="uni1E33" unicode="ḳ"+d="M106 0v712h82v-482h4l262 256h94l-194 -191l220 -295h-92l-179 245l-115 -113v-132h-82zM335 -214q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="uni1E34" unicode="Ḵ"+d="M98 0v656h84v-329h3l276 329h95l-208 -249l232 -407h-94l-191 344l-113 -135v-209h-84zM205 -169v57h266v-57h-266z" />+ <glyph glyph-name="uni1E35" unicode="ḵ"+d="M106 0v712h82v-482h4l262 256h94l-194 -191l220 -295h-92l-179 245l-115 -113v-132h-82zM202 -169v57h266v-57h-266z" />+ <glyph glyph-name="uni1E36" unicode="Ḷ"+d="M134 0v656h82v-585h325v-71h-407zM349 -214q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="uni1E37" unicode="ḷ"+d="M407 -12q-78 0 -119 44t-41 131v482h-173v67h255v-555q0 -54 26 -77.5t70 -23.5q43 0 91 22l21 -61q-34 -14 -62 -21.5t-68 -7.5zM385 -214q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="uni1E38" unicode="Ḹ"+d="M134 0v656h82v-585h325v-71h-407zM56 735v57h268v-57h-268zM349 -214q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="uni1E39" unicode="ḹ"+d="M407 -12q-78 0 -119 44t-41 131v482h-173v67h255v-555q0 -54 26 -77.5t70 -23.5q43 0 91 22l21 -61q-34 -14 -62 -21.5t-68 -7.5zM152 795v57h268v-57h-268zM385 -214q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="uni1E3A" unicode="Ḻ"+d="M134 0v656h82v-585h325v-71h-407zM216 -169v57h266v-57h-266z" />+ <glyph glyph-name="uni1E3B" unicode="ḻ"+d="M407 -12q-78 0 -119 44t-41 131v482h-173v67h255v-555q0 -54 26 -77.5t70 -23.5q43 0 91 22l21 -61q-34 -14 -62 -21.5t-68 -7.5zM252 -169v57h266v-57h-266z" />+ <glyph glyph-name="uni1E3E" unicode="Ḿ"+d="M72 0v656h102l92 -280l32 -106h4l31 106l93 280h102v-656h-80v328q0 24 1.5 55.5t4 63.5t4.5 62t4 51h-3l-37 -128l-94 -258h-60l-92 258l-38 128h-2q2 -21 4.5 -51t4.5 -62t3.5 -63.5t1.5 -55.5v-328h-78zM271 697l-36 42l141 128l47 -55z" />+ <glyph glyph-name="uni1E3F" unicode="ḿ"+d="M58 0v486h66l7 -64h2q19 34 44 55t67 21q71 0 92 -84q21 39 46.5 61.5t67.5 22.5q51 0 79.5 -38.5t28.5 -111.5v-348h-82v342q0 85 -52 85q-26 0 -42 -18.5t-36 -56.5v-352h-76v342q0 42 -11.5 63.5t-38.5 21.5q-26 0 -44 -18.5t-36 -56.5v-352h-82zM294 568l-43 41+l142 168l58 -56z" />+ <glyph glyph-name="uni1E40" unicode="Ṁ"+d="M72 0v656h102l92 -280l32 -106h4l31 106l93 280h102v-656h-80v328q0 24 1.5 55.5t4 63.5t4.5 62t4 51h-3l-37 -128l-94 -258h-60l-92 258l-38 128h-2q2 -21 4.5 -51t4.5 -62t3.5 -63.5t1.5 -55.5v-328h-78zM300 714q-25 0 -42 15.5t-17 41.5q0 25 17 40.5t42 15.5+t42 -15.5t17 -40.5q0 -26 -17 -41.5t-42 -15.5z" />+ <glyph glyph-name="uni1E41" unicode="ṁ"+d="M58 0v486h66l7 -64h2q19 34 44 55t67 21q71 0 92 -84q21 39 46.5 61.5t67.5 22.5q51 0 79.5 -38.5t28.5 -111.5v-348h-82v342q0 85 -52 85q-26 0 -42 -18.5t-36 -56.5v-352h-76v342q0 42 -11.5 63.5t-38.5 21.5q-26 0 -44 -18.5t-36 -56.5v-352h-82zM315 588+q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="uni1E42" unicode="Ṃ"+d="M72 0v656h102l92 -280l32 -106h4l31 106l93 280h102v-656h-80v328q0 24 1.5 55.5t4 63.5t4.5 62t4 51h-3l-37 -128l-94 -258h-60l-92 258l-38 128h-2q2 -21 4.5 -51t4.5 -62t3.5 -63.5t1.5 -55.5v-328h-78zM300 -214q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5+t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="uni1E43" unicode="ṃ"+d="M58 0v486h66l7 -64h2q19 34 44 55t67 21q71 0 92 -84q21 39 46.5 61.5t67.5 22.5q51 0 79.5 -38.5t28.5 -111.5v-348h-82v342q0 85 -52 85q-26 0 -42 -18.5t-36 -56.5v-352h-76v342q0 42 -11.5 63.5t-38.5 21.5q-26 0 -44 -18.5t-36 -56.5v-352h-82zM308 -214+q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="uni1E44" unicode="Ṅ"+d="M82 0v656h92l210 -412l63 -136h2q-2 49 -6.5 102.5t-4.5 105.5v340h80v-656h-92l-210 412l-63 136h-2q2 -51 6.5 -102.5t4.5 -102.5v-343h-80zM310 714q-25 0 -42 15.5t-17 41.5q0 25 17 40.5t42 15.5t42 -15.5t17 -40.5q0 -26 -17 -41.5t-42 -15.5z" />+ <glyph glyph-name="uni1E45" unicode="ṅ"+d="M93 0v486h68l7 -83h4q38 41 82 68t101 27q87 0 127.5 -49.5t40.5 -146.5v-302h-82v291q0 69 -26 102.5t-86 33.5q-22 0 -40.5 -5.5t-36.5 -16.5t-37 -27.5t-40 -38.5v-339h-82zM318 588q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z+" />+ <glyph glyph-name="uni1E46" unicode="Ṇ"+d="M82 0v656h92l210 -412l63 -136h2q-2 49 -6.5 102.5t-4.5 105.5v340h80v-656h-92l-210 412l-63 136h-2q2 -51 6.5 -102.5t4.5 -102.5v-343h-80zM300 -214q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="uni1E47" unicode="ṇ"+d="M93 0v486h68l7 -83h4q38 41 82 68t101 27q87 0 127.5 -49.5t40.5 -146.5v-302h-82v291q0 69 -26 102.5t-86 33.5q-22 0 -40.5 -5.5t-36.5 -16.5t-37 -27.5t-40 -38.5v-339h-82zM313 -214q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5+z" />+ <glyph glyph-name="uni1E48" unicode="Ṉ"+d="M82 0v656h92l210 -412l63 -136h2q-2 49 -6.5 102.5t-4.5 105.5v340h80v-656h-92l-210 412l-63 136h-2q2 -51 6.5 -102.5t4.5 -102.5v-343h-80zM167 -169v57h266v-57h-266z" />+ <glyph glyph-name="uni1E49" unicode="ṉ"+d="M93 0v486h68l7 -83h4q38 41 82 68t101 27q87 0 127.5 -49.5t40.5 -146.5v-302h-82v291q0 69 -26 102.5t-86 33.5q-22 0 -40.5 -5.5t-36.5 -16.5t-37 -27.5t-40 -38.5v-339h-82zM180 -169v57h266v-57h-266z" />+ <glyph glyph-name="uni1E52" unicode="Ṓ"+d="M300 -12q-56 0 -102 23.5t-79.5 67.5t-52 107.5t-18.5 144.5q0 79 18.5 142t52 106t79.5 66t102 23q55 0 101.5 -23t80 -66t52 -106t18.5 -142q0 -81 -18.5 -144.5t-52 -107.5t-80 -67.5t-101.5 -23.5zM300 61q37 0 68 18.5t52.5 53.5t33.5 85t12 113q0 62 -12 111+t-33.5 83t-52.5 52t-68 18q-38 0 -68.5 -18t-52 -52t-33.5 -83t-12 -111q0 -63 12 -113t33.5 -85t52 -53.5t68.5 -18.5zM166 735v57h268v-57h-268zM282 827l-31 38l121 103l39 -48z" />+ <glyph glyph-name="uni1E53" unicode="ṓ"+d="M300 -12q-48 0 -91.5 17t-76.5 49.5t-52.5 80t-19.5 107.5q0 61 19.5 108.5t52.5 80.5t76.5 50t91.5 17t91.5 -17t76.5 -50t52.5 -80.5t19.5 -108.5q0 -60 -19.5 -107.5t-52.5 -80t-76.5 -49.5t-91.5 -17zM300 56q35 0 63.5 13.5t49 38t31.5 58.5t11 76t-11 76.5+t-31.5 59.5t-49 38.5t-63.5 13.5t-63.5 -13.5t-49 -38.5t-31.5 -59.5t-11 -76.5t11 -76t31.5 -58.5t49 -38t63.5 -13.5zM167 601v57h266v-57h-266zM266 705l-32 39l135 99l38 -49z" />+ <glyph glyph-name="uni1E58" unicode="Ṙ"+d="M100 0v656h204q50 0 92 -9.5t72.5 -31.5t47.5 -57t17 -86q0 -77 -40 -123t-107 -63l167 -286h-95l-158 277h-117v-277h-83zM183 345h109q77 0 117.5 31.5t40.5 95.5q0 65 -40.5 91t-117.5 26h-109v-244zM304 714q-25 0 -42 15.5t-17 41.5q0 25 17 40.5t42 15.5t42 -15.5+t17 -40.5q0 -26 -17 -41.5t-42 -15.5z" />+ <glyph glyph-name="uni1E59" unicode="ṙ"+d="M146 0v486h68l7 -115h3q38 59 93.5 93t123.5 34q27 0 50 -4.5t46 -15.5l-19 -71q-26 9 -43.5 13t-46.5 4q-55 0 -105.5 -31.5t-94.5 -107.5v-285h-82zM346 588q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="uni1E5A" unicode="Ṛ"+d="M100 0v656h204q50 0 92 -9.5t72.5 -31.5t47.5 -57t17 -86q0 -77 -40 -123t-107 -63l167 -286h-95l-158 277h-117v-277h-83zM183 345h109q77 0 117.5 31.5t40.5 95.5q0 65 -40.5 91t-117.5 26h-109v-244zM320 -214q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5+t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="uni1E5B" unicode="ṛ"+d="M146 0v486h68l7 -115h3q38 59 93.5 93t123.5 34q27 0 50 -4.5t46 -15.5l-19 -71q-26 9 -43.5 13t-46.5 4q-55 0 -105.5 -31.5t-94.5 -107.5v-285h-82zM198 -214q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="uni1E5C" unicode="Ṝ"+d="M100 0v656h204q50 0 92 -9.5t72.5 -31.5t47.5 -57t17 -86q0 -77 -40 -123t-107 -63l167 -286h-95l-158 277h-117v-277h-83zM183 345h109q77 0 117.5 31.5t40.5 95.5q0 65 -40.5 91t-117.5 26h-109v-244zM170 735v57h268v-57h-268zM320 -214q-28 0 -47 17.5t-19 46.5+t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="uni1E5D" unicode="ṝ"+d="M146 0v486h68l7 -115h3q38 59 93.5 93t123.5 34q27 0 50 -4.5t46 -15.5l-19 -71q-26 9 -43.5 13t-46.5 4q-55 0 -105.5 -31.5t-94.5 -107.5v-285h-82zM213 601v57h266v-57h-266zM198 -214q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5+t-47 -17.5z" />+ <glyph glyph-name="uni1E5E" unicode="Ṟ"+d="M100 0v656h204q50 0 92 -9.5t72.5 -31.5t47.5 -57t17 -86q0 -77 -40 -123t-107 -63l167 -286h-95l-158 277h-117v-277h-83zM183 345h109q77 0 117.5 31.5t40.5 95.5q0 65 -40.5 91t-117.5 26h-109v-244zM187 -169v57h266v-57h-266z" />+ <glyph glyph-name="uni1E5F" unicode="ṟ"+d="M146 0v486h68l7 -115h3q38 59 93.5 93t123.5 34q27 0 50 -4.5t46 -15.5l-19 -71q-26 9 -43.5 13t-46.5 4q-55 0 -105.5 -31.5t-94.5 -107.5v-285h-82zM65 -169v57h266v-57h-266z" />+ <glyph glyph-name="uni1E60" unicode="Ṡ"+d="M305 -12q-72 0 -132.5 26t-105.5 71l50 58q37 -37 86 -59.5t106 -22.5q68 0 105.5 29t37.5 75q0 26 -9 44t-25 31t-37.5 23t-46.5 21l-94 41q-25 10 -50 24t-45.5 34t-33.5 47.5t-13 63.5q0 37 16 69t44.5 55.5t68 36.5t86.5 13q62 0 114 -22.5t88 -58.5l-44 -54+q-32 29 -71 45.5t-90 16.5q-57 0 -92 -25.5t-35 -70.5q0 -24 10.5 -40.5t27 -29t37.5 -21.5l42 -18l92 -40q30 -12 56.5 -27.5t46 -36t31 -48t11.5 -63.5q0 -39 -16 -73t-46 -59.5t-73 -40t-97 -14.5zM316 714q-25 0 -42 15.5t-17 41.5q0 25 17 40.5t42 15.5t42 -15.5+t17 -40.5q0 -26 -17 -41.5t-42 -15.5z" />+ <glyph glyph-name="uni1E61" unicode="ṡ"+d="M310 -12q-72 0 -133 22.5t-106 53.5l38 54q42 -30 92.5 -48t118.5 -18q62 0 92.5 22.5t30.5 53.5q0 14 -5 26t-21.5 23t-46.5 21t-79 20q-95 20 -142.5 53.5t-47.5 88.5q0 29 13 54.5t38.5 44t63 29t87.5 10.5q56 0 108 -18.5t88 -43.5l-40 -53q-34 23 -75 37t-88 14+q-62 0 -87 -21t-25 -49q0 -32 33 -48.5t108 -32.5q61 -13 100 -27.5t61.5 -32.5t31 -40t8.5 -50q0 -30 -14 -56t-41.5 -46t-68 -31.5t-92.5 -11.5zM303 588q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="uni1E62" unicode="Ṣ"+d="M305 -12q-72 0 -132.5 26t-105.5 71l50 58q37 -37 86 -59.5t106 -22.5q68 0 105.5 29t37.5 75q0 26 -9 44t-25 31t-37.5 23t-46.5 21l-94 41q-25 10 -50 24t-45.5 34t-33.5 47.5t-13 63.5q0 37 16 69t44.5 55.5t68 36.5t86.5 13q62 0 114 -22.5t88 -58.5l-44 -54+q-32 29 -71 45.5t-90 16.5q-57 0 -92 -25.5t-35 -70.5q0 -24 10.5 -40.5t27 -29t37.5 -21.5l42 -18l92 -40q30 -12 56.5 -27.5t46 -36t31 -48t11.5 -63.5q0 -39 -16 -73t-46 -59.5t-73 -40t-97 -14.5zM313 -214q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5+t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="uni1E63" unicode="ṣ"+d="M310 -12q-72 0 -133 22.5t-106 53.5l38 54q42 -30 92.5 -48t118.5 -18q62 0 92.5 22.5t30.5 53.5q0 14 -5 26t-21.5 23t-46.5 21t-79 20q-95 20 -142.5 53.5t-47.5 88.5q0 29 13 54.5t38.5 44t63 29t87.5 10.5q56 0 108 -18.5t88 -43.5l-40 -53q-34 23 -75 37t-88 14+q-62 0 -87 -21t-25 -49q0 -32 33 -48.5t108 -32.5q61 -13 100 -27.5t61.5 -32.5t31 -40t8.5 -50q0 -30 -14 -56t-41.5 -46t-68 -31.5t-92.5 -11.5zM309 -214q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="uni1E6C" unicode="Ṭ"+d="M258 0v586h-216v70h516v-70h-216v-586h-84zM300 -214q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="uni1E6D" unicode="ṭ"+d="M394 -12q-53 0 -89 14.5t-58 41t-31.5 63.5t-9.5 82v230h-137v62l140 5l11 156h68v-156h239v-67h-239v-231q0 -33 6 -57.5t20 -41.5t38 -25.5t59 -8.5t63 6t54 16l18 -60q-33 -12 -69.5 -20.5t-82.5 -8.5zM379 -214q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5+t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="uni1E6E" unicode="Ṯ"+d="M258 0v586h-216v70h516v-70h-216v-586h-84zM167 -169v57h266v-57h-266z" />+ <glyph glyph-name="uni1E6F" unicode="ṯ"+d="M394 -12q-53 0 -89 14.5t-58 41t-31.5 63.5t-9.5 82v230h-137v62l140 5l11 156h68v-156h239v-67h-239v-231q0 -33 6 -57.5t20 -41.5t38 -25.5t59 -8.5t63 6t54 16l18 -60q-33 -12 -69.5 -20.5t-82.5 -8.5zM246 -169v57h266v-57h-266z" />+ <glyph glyph-name="uni1E7E" unicode="Ṿ"+d="M252 0l-209 656h88l106 -354q17 -59 31 -109t32 -108h4q9 29 17 55.5t15.5 52.5t15 53t15.5 56l105 354h85l-208 -656h-97zM302 -214q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="uni1E7F" unicode="ṿ"+d="M256 0l-205 486h83l112 -276q15 -37 28.5 -72.5t26.5 -70.5h4q13 35 25.5 70.5t27.5 72.5l112 276h79l-201 -486h-92zM300 -214q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="Wgrave" unicode="Ẁ"+d="M110 0l-100 657h94l48 -412q2 -21 4 -38t3.5 -34.5t3 -36.5t2.5 -43h3q4 24 8 43t7.5 36.5t7.5 34.5t9 37l64 244h80l62 -244q5 -20 9 -37t7.5 -34.5t7 -36.5t8.5 -43h4q1 24 2.5 43t3 36.5t3 34.5t3.5 37l46 413h90l-96 -657h-104l-64 264q-8 30 -13.5 59t-10.5 59h-3+q-5 -30 -10 -59t-13 -59l-64 -264h-102zM329 697l-152 115l47 55l141 -128z" />+ <glyph glyph-name="wgrave" unicode="ẁ"+d="M114 0l-106 486h82l58 -282q7 -35 12 -67t10 -67h4q5 35 12.5 67.5t15.5 66.5l60 252h82l58 -252q8 -35 16.5 -67t13.5 -67h4q6 35 10.5 67t11.5 67l58 282h76l-104 -486h-106l-56 232q-12 51 -24 144h-4q-12 -93 -24 -144l-54 -232h-106zM321 568l-157 153l58 56+l142 -168z" />+ <glyph glyph-name="Wacute" unicode="Ẃ"+d="M110 0l-100 657h94l48 -412q2 -21 4 -38t3.5 -34.5t3 -36.5t2.5 -43h3q4 24 8 43t7.5 36.5t7.5 34.5t9 37l64 244h80l62 -244q5 -20 9 -37t7.5 -34.5t7 -36.5t8.5 -43h4q1 24 2.5 43t3 36.5t3 34.5t3.5 37l46 413h90l-96 -657h-104l-64 264q-8 30 -13.5 59t-10.5 59h-3+q-5 -30 -10 -59t-13 -59l-64 -264h-102zM271 697l-36 42l141 128l47 -55z" />+ <glyph glyph-name="wacute" unicode="ẃ"+d="M114 0l-106 486h82l58 -282q7 -35 12 -67t10 -67h4q5 35 12.5 67.5t15.5 66.5l60 252h82l58 -252q8 -35 16.5 -67t13.5 -67h4q6 35 10.5 67t11.5 67l58 282h76l-104 -486h-106l-56 232q-12 51 -24 144h-4q-12 -93 -24 -144l-54 -232h-106zM279 568l-43 41l142 168l58 -56+z" />+ <glyph glyph-name="Wdieresis" unicode="Ẅ"+d="M110 0l-100 657h94l48 -412q2 -21 4 -38t3.5 -34.5t3 -36.5t2.5 -43h3q4 24 8 43t7.5 36.5t7.5 34.5t9 37l64 244h80l62 -244q5 -20 9 -37t7.5 -34.5t7 -36.5t8.5 -43h4q1 24 2.5 43t3 36.5t3 34.5t3.5 37l46 413h90l-96 -657h-104l-64 264q-8 30 -13.5 59t-10.5 59h-3+q-5 -30 -10 -59t-13 -59l-64 -264h-102zM209 715q-22 0 -36.5 14t-14.5 37t14.5 36.5t36.5 13.5t36 -13.5t14 -36.5t-14 -37t-36 -14zM391 715q-22 0 -36 14t-14 37t14 36.5t36 13.5t36.5 -13.5t14.5 -36.5t-14.5 -37t-36.5 -14z" />+ <glyph glyph-name="wdieresis" unicode="ẅ"+d="M114 0l-106 486h82l58 -282q7 -35 12 -67t10 -67h4q5 35 12.5 67.5t15.5 66.5l60 252h82l58 -252q8 -35 16.5 -67t13.5 -67h4q6 35 10.5 67t11.5 67l58 282h76l-104 -486h-106l-56 232q-12 51 -24 144h-4q-12 -93 -24 -144l-54 -232h-106zM203 588q-24 0 -39.5 16+t-15.5 40q0 23 15.5 39.5t39.5 16.5t39.5 -16.5t15.5 -39.5q0 -24 -15.5 -40t-39.5 -16zM397 588q-24 0 -39.5 16t-15.5 40q0 23 15.5 39.5t39.5 16.5t39.5 -16.5t15.5 -39.5q0 -24 -15.5 -40t-39.5 -16z" />+ <glyph glyph-name="uni1E8E" unicode="Ẏ"+d="M258 0v234l-220 422h88l99 -195q19 -38 37 -75.5t38 -77.5h4l39 78l38 76l95 194h86l-220 -422v-234h-84zM300 714q-25 0 -42 15.5t-17 41.5q0 25 17 40.5t42 15.5t42 -15.5t17 -40.5q0 -26 -17 -41.5t-42 -15.5z" />+ <glyph glyph-name="uni1E8F" unicode="ẏ"+d="M131 -209q-36 0 -64 10l17 65q10 -3 21.5 -5t22.5 -2q51 0 83 29.5t50 74.5l15 36l-227 487h83l119 -269q14 -32 29.5 -69t30.5 -72h4q13 35 26.5 71.5t25.5 69.5l106 269h78l-214 -526q-14 -36 -32 -67t-43 -53.5t-57.5 -35.5t-73.5 -13zM304 588q-28 0 -47 17.5+t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="uni1E90" unicode="Ẑ"+d="M65 0v50l366 537h-334v70h437v-50l-367 -536h372v-71h-474zM205 699l-36 26l105 113h86l105 -113l-36 -26l-110 93h-4z" />+ <glyph glyph-name="uni1E91" unicode="ẑ"+d="M71 0v44l333 375h-296v67h414v-44l-334 -375h343v-67h-460zM202 568l-35 32l114 140h82l114 -140l-35 -32l-118 113h-4z" />+ <glyph glyph-name="uni1E92" unicode="Ẓ"+d="M65 0v50l366 537h-334v70h437v-50l-367 -536h372v-71h-474zM310 -214q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="uni1E93" unicode="ẓ"+d="M71 0v44l333 375h-296v67h414v-44l-334 -375h343v-67h-460zM314 -214q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="uni1E94" unicode="Ẕ"+d="M65 0v50l366 537h-334v70h437v-50l-367 -536h372v-71h-474zM177 -169v57h266v-57h-266z" />+ <glyph glyph-name="uni1E95" unicode="ẕ"+d="M71 0v44l333 375h-296v67h414v-44l-334 -375h343v-67h-460zM181 -169v57h266v-57h-266z" />+ <glyph glyph-name="uni1E96" unicode="ẖ"+d="M93 0v712h82v-194l-5 -115h3q38 41 81.5 68t100.5 27q87 0 127.5 -49.5t40.5 -146.5v-302h-82v291q0 69 -26 102.5t-86 33.5q-22 0 -40.5 -5.5t-36.5 -16.5t-37 -27.5t-40 -38.5v-339h-82zM181 -169v57h266v-57h-266z" />+ <glyph glyph-name="uni1E97" unicode="ẗ"+d="M394 -12q-53 0 -89 14.5t-58 41t-31.5 63.5t-9.5 82v230h-137v62l140 5l11 156h68v-156h239v-67h-239v-231q0 -33 6 -57.5t20 -41.5t38 -25.5t59 -8.5t63 6t54 16l18 -60q-33 -12 -69.5 -20.5t-82.5 -8.5zM166 723q-24 0 -39.5 16t-15.5 40q0 23 15.5 39.5t39.5 16.5+t39.5 -16.5t15.5 -39.5q0 -24 -15.5 -40t-39.5 -16zM360 723q-24 0 -39.5 16t-15.5 40q0 23 15.5 39.5t39.5 16.5t39.5 -16.5t15.5 -39.5q0 -24 -15.5 -40t-39.5 -16z" />+ <glyph glyph-name="uni1E9E" unicode="ẞ"+d="M390 -12q-49 0 -91 19t-70 54l40 53q25 -29 52 -42.5t62 -13.5q46 0 72.5 30.5t26.5 78.5q0 24 -7.5 45.5t-27 40t-53 33t-84.5 24.5l-6 54l124 154q-17 42 -48.5 61.5t-74.5 19.5q-65 0 -104 -45t-39 -141v-413h-84v428q0 55 16 99.5t45 75.5t71 48t95 17q84 0 135 -42+t75 -112l-121 -151q49 -15 83 -34.5t54 -44t29 -54t9 -63.5q0 -38 -12 -71t-35.5 -57t-56.5 -37.5t-75 -13.5z" />+ <glyph glyph-name="uni1EA0" unicode="Ạ"+d="M232 367l-31 -100h196l-31 100q-17 55 -33.5 109.5t-31.5 111.5h-4q-16 -57 -32 -111.5t-33 -109.5zM32 0l221 656h94l221 -656h-88l-62 200h-238l-63 -200h-85zM300 -214q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="uni1EA1" unicode="ạ"+d="M246 -12q-34 0 -64 9.5t-52.5 27t-35.5 43t-13 58.5q0 41 19.5 71.5t62 52.5t109.5 36t161 22q-1 25 -8 47t-22 38.5t-39.5 26.5t-59.5 10q-48 0 -92 -18.5t-78 -39.5l-32 56q18 12 42.5 24.5t52 22.5t58.5 16.5t63 6.5q100 0 148.5 -54.5t48.5 -145.5v-298h-67l-7 66h-3+q-41 -32 -90.5 -55t-101.5 -23zM268 54q42 0 82.5 18.5t82.5 53.5v128q-78 -6 -130.5 -17t-84 -26.5t-44.5 -35t-13 -43.5q0 -21 9 -35.5t23.5 -24t34 -14t40.5 -4.5zM300 -214q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="uni1EA2" unicode="Ả"+d="M232 367l-31 -100h196l-31 100q-17 55 -33.5 109.5t-31.5 111.5h-4q-16 -57 -32 -111.5t-33 -109.5zM32 0l221 656h94l221 -656h-88l-62 200h-238l-63 -200h-85zM268 698l-9 38q24 7 40 17t16 29q0 39 -83 42l9 48q66 -2 102 -22.5t36 -58.5q0 -22 -9 -37.5t-24.5 -27+t-35.5 -18t-42 -10.5z" />+ <glyph glyph-name="uni1EA3" unicode="ả"+d="M246 -12q-34 0 -64 9.5t-52.5 27t-35.5 43t-13 58.5q0 41 19.5 71.5t62 52.5t109.5 36t161 22q-1 25 -8 47t-22 38.5t-39.5 26.5t-59.5 10q-48 0 -92 -18.5t-78 -39.5l-32 56q18 12 42.5 24.5t52 22.5t58.5 16.5t63 6.5q100 0 148.5 -54.5t48.5 -145.5v-298h-67l-7 66h-3+q-41 -32 -90.5 -55t-101.5 -23zM268 54q42 0 82.5 18.5t82.5 53.5v128q-78 -6 -130.5 -17t-84 -26.5t-44.5 -35t-13 -43.5q0 -21 9 -35.5t23.5 -24t34 -14t40.5 -4.5zM288 572l-9 40q24 6 40 16.5t16 30.5q0 43 -83 47l5 54q69 -2 106 -25.5t37 -68.5q0 -22 -9.5 -37.5+t-25 -27t-35.5 -18.5t-42 -11z" />+ <glyph glyph-name="uni1EA4" unicode="Ấ"+d="M232 367l-31 -100h196l-31 100q-17 55 -33.5 109.5t-31.5 111.5h-4q-16 -57 -32 -111.5t-33 -109.5zM32 0l221 656h94l221 -656h-88l-62 200h-238l-63 -200h-85zM205 699l-34 26l93 90h72l93 -90l-34 -26l-93 69h-4zM421 763l-30 32l97 93l35 -39z" />+ <glyph glyph-name="uni1EA5" unicode="ấ"+d="M246 -12q-34 0 -64 9.5t-52.5 27t-35.5 43t-13 58.5q0 41 19.5 71.5t62 52.5t109.5 36t161 22q-1 25 -8 47t-22 38.5t-39.5 26.5t-59.5 10q-48 0 -92 -18.5t-78 -39.5l-32 56q18 12 42.5 24.5t52 22.5t58.5 16.5t63 6.5q100 0 148.5 -54.5t48.5 -145.5v-298h-67l-7 66h-3+q-41 -32 -90.5 -55t-101.5 -23zM268 54q42 0 82.5 18.5t82.5 53.5v128q-78 -6 -130.5 -17t-84 -26.5t-44.5 -35t-13 -43.5q0 -21 9 -35.5t23.5 -24t34 -14t40.5 -4.5zM215 570l-29 34l100 92h68l100 -92l-29 -34l-103 72h-4zM454 637l-35 28l87 120l49 -34z" />+ <glyph glyph-name="uni1EA6" unicode="Ầ"+d="M232 367l-31 -100h196l-31 100q-17 55 -33.5 109.5t-31.5 111.5h-4q-16 -57 -32 -111.5t-33 -109.5zM32 0l221 656h94l221 -656h-88l-62 200h-238l-63 -200h-85zM205 699l-34 26l93 90h72l93 -90l-34 -26l-93 69h-4zM179 763l-90 88l35 37l85 -95z" />+ <glyph glyph-name="uni1EA7" unicode="ầ"+d="M246 -12q-34 0 -64 9.5t-52.5 27t-35.5 43t-13 58.5q0 41 19.5 71.5t62 52.5t109.5 36t161 22q-1 25 -8 47t-22 38.5t-39.5 26.5t-59.5 10q-48 0 -92 -18.5t-78 -39.5l-32 56q18 12 42.5 24.5t52 22.5t58.5 16.5t63 6.5q100 0 148.5 -54.5t48.5 -145.5v-298h-67l-7 66h-3+q-41 -32 -90.5 -55t-101.5 -23zM268 54q42 0 82.5 18.5t82.5 53.5v128q-78 -6 -130.5 -17t-84 -26.5t-44.5 -35t-13 -43.5q0 -21 9 -35.5t23.5 -24t34 -14t40.5 -4.5zM215 570l-29 34l100 92h68l100 -92l-29 -34l-103 72h-4zM186 637l-113 112l48 36l100 -117z" />+ <glyph glyph-name="uni1EA8" unicode="Ẩ"+d="M232 367l-31 -100h196l-31 100q-17 55 -33.5 109.5t-31.5 111.5h-4q-16 -57 -32 -111.5t-33 -109.5zM32 0l221 656h94l221 -656h-88l-62 200h-238l-63 -200h-85zM205 699l-34 26l93 90h72l93 -90l-34 -26l-93 69h-4zM415 754l-11 35q19 5 32 12.5t13 23.5+q0 20 -16.5 28.5t-54.5 10.5l9 42q59 -2 89.5 -20t30.5 -53q0 -38 -28 -55.5t-64 -23.5z" />+ <glyph glyph-name="uni1EA9" unicode="ẩ"+d="M246 -12q-34 0 -64 9.5t-52.5 27t-35.5 43t-13 58.5q0 41 19.5 71.5t62 52.5t109.5 36t161 22q-1 25 -8 47t-22 38.5t-39.5 26.5t-59.5 10q-48 0 -92 -18.5t-78 -39.5l-32 56q18 12 42.5 24.5t52 22.5t58.5 16.5t63 6.5q100 0 148.5 -54.5t48.5 -145.5v-298h-67l-7 66h-3+q-41 -32 -90.5 -55t-101.5 -23zM268 54q42 0 82.5 18.5t82.5 53.5v128q-78 -6 -130.5 -17t-84 -26.5t-44.5 -35t-13 -43.5q0 -21 9 -35.5t23.5 -24t34 -14t40.5 -4.5zM215 570l-29 34l100 92h68l100 -92l-29 -34l-103 72h-4zM436 635l-9 35q19 5 30.5 14t11.5 25+q0 20 -16 29.5t-53 11.5l7 41q59 -2 90.5 -20t31.5 -53q0 -20 -8 -34t-21 -23.5t-29.5 -15.5t-34.5 -10z" />+ <glyph glyph-name="uni1EAA" unicode="Ẫ"+d="M232 367l-31 -100h196l-31 100q-17 55 -33.5 109.5t-31.5 111.5h-4q-16 -57 -32 -111.5t-33 -109.5zM32 0l221 656h94l221 -656h-88l-62 200h-238l-63 -200h-85zM205 699l-34 26l93 87h72l93 -87l-34 -26l-93 66h-4zM366 839q-24 0 -41 8t-31.5 17t-27.5 17t-28 8+q-18 0 -26.5 -12t-11.5 -34l-45 5q2 38 20 64.5t59 26.5q24 0 41 -7.5t31.5 -17t27.5 -17t28 -7.5q18 0 26.5 12t11.5 34l45 -5q-2 -39 -20 -65.5t-59 -26.5z" />+ <glyph glyph-name="uni1EAB" unicode="ẫ"+d="M246 -12q-34 0 -64 9.5t-52.5 27t-35.5 43t-13 58.5q0 41 19.5 71.5t62 52.5t109.5 36t161 22q-1 25 -8 47t-22 38.5t-39.5 26.5t-59.5 10q-48 0 -92 -18.5t-78 -39.5l-32 56q18 12 42.5 24.5t52 22.5t58.5 16.5t63 6.5q100 0 148.5 -54.5t48.5 -145.5v-298h-67l-7 66h-3+q-41 -32 -90.5 -55t-101.5 -23zM268 54q42 0 82.5 18.5t82.5 53.5v128q-78 -6 -130.5 -17t-84 -26.5t-44.5 -35t-13 -43.5q0 -21 9 -35.5t23.5 -24t34 -14t40.5 -4.5zM215 570l-29 34l100 88h68l100 -88l-29 -34l-103 69h-4zM385 710q-22 0 -39 6.5t-31.5 14.5t-28 14.5+t-27.5 6.5q-15 0 -22 -10t-11 -32l-43 4q4 39 20.5 64t51.5 25q22 0 39 -6.5t31.5 -14.5t28 -14.5t27.5 -6.5q15 0 22 10t11 32l43 -4q-4 -38 -20.5 -63.5t-51.5 -25.5z" />+ <glyph glyph-name="uni1EAC" unicode="Ậ"+d="M232 367l-31 -100h196l-31 100q-17 55 -33.5 109.5t-31.5 111.5h-4q-16 -57 -32 -111.5t-33 -109.5zM32 0l221 656h94l221 -656h-88l-62 200h-238l-63 -200h-85zM188 699l-36 26l105 113h86l105 -113l-36 -26l-110 93h-4zM300 -214q-28 0 -47 17.5t-19 46.5t19 46.5+t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="uni1EAD" unicode="ậ"+d="M246 -12q-34 0 -64 9.5t-52.5 27t-35.5 43t-13 58.5q0 41 19.5 71.5t62 52.5t109.5 36t161 22q-1 25 -8 47t-22 38.5t-39.5 26.5t-59.5 10q-48 0 -92 -18.5t-78 -39.5l-32 56q18 12 42.5 24.5t52 22.5t58.5 16.5t63 6.5q100 0 148.5 -54.5t48.5 -145.5v-298h-67l-7 66h-3+q-41 -32 -90.5 -55t-101.5 -23zM268 54q42 0 82.5 18.5t82.5 53.5v128q-78 -6 -130.5 -17t-84 -26.5t-44.5 -35t-13 -43.5q0 -21 9 -35.5t23.5 -24t34 -14t40.5 -4.5zM200 568l-35 32l114 140h82l114 -140l-35 -32l-118 113h-4zM300 -214q-28 0 -47 17.5t-19 46.5t19 46.5+t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="uni1EAE" unicode="Ắ"+d="M232 367l-31 -100h196l-31 100q-17 55 -33.5 109.5t-31.5 111.5h-4q-16 -57 -32 -111.5t-33 -109.5zM32 0l221 656h94l221 -656h-88l-62 200h-238l-63 -200h-85zM300 705q-35 0 -61 10.5t-44 28t-28 41t-13 49.5l47 8q6 -37 30 -62.5t69 -25.5t69 25.5t30 62.5l47 -8+q-3 -26 -13 -49.5t-28 -41t-44 -28t-61 -10.5zM303 803l-41 29l95 116l53 -36z" />+ <glyph glyph-name="uni1EAF" unicode="ắ"+d="M246 -12q-34 0 -64 9.5t-52.5 27t-35.5 43t-13 58.5q0 41 19.5 71.5t62 52.5t109.5 36t161 22q-1 25 -8 47t-22 38.5t-39.5 26.5t-59.5 10q-48 0 -92 -18.5t-78 -39.5l-32 56q18 12 42.5 24.5t52 22.5t58.5 16.5t63 6.5q100 0 148.5 -54.5t48.5 -145.5v-298h-67l-7 66h-3+q-41 -32 -90.5 -55t-101.5 -23zM268 54q42 0 82.5 18.5t82.5 53.5v128q-78 -6 -130.5 -17t-84 -26.5t-44.5 -35t-13 -43.5q0 -21 9 -35.5t23.5 -24t34 -14t40.5 -4.5zM320 571q-40 0 -69 13t-47.5 34.5t-28 48.5t-11.5 55l48 8q3 -20 10.5 -39.5t21 -34.5t32.5 -24.5+t44 -9.5t44 9.5t32.5 24.5t21 34.5t10.5 39.5l48 -8q-2 -28 -11.5 -55t-28.5 -48.5t-47.5 -34.5t-68.5 -13zM315 679l-39 29l88 124l52 -40z" />+ <glyph glyph-name="uni1EB0" unicode="Ằ"+d="M232 367l-31 -100h196l-31 100q-17 55 -33.5 109.5t-31.5 111.5h-4q-16 -57 -32 -111.5t-33 -109.5zM32 0l221 656h94l221 -656h-88l-62 200h-238l-63 -200h-85zM300 705q-35 0 -61 10.5t-44 28t-28 41t-13 49.5l47 8q6 -37 30 -62.5t69 -25.5t69 25.5t30 62.5l47 -8+q-3 -26 -13 -49.5t-28 -41t-44 -28t-61 -10.5zM297 803l-107 109l53 36l95 -116z" />+ <glyph glyph-name="uni1EB1" unicode="ằ"+d="M246 -12q-34 0 -64 9.5t-52.5 27t-35.5 43t-13 58.5q0 41 19.5 71.5t62 52.5t109.5 36t161 22q-1 25 -8 47t-22 38.5t-39.5 26.5t-59.5 10q-48 0 -92 -18.5t-78 -39.5l-32 56q18 12 42.5 24.5t52 22.5t58.5 16.5t63 6.5q100 0 148.5 -54.5t48.5 -145.5v-298h-67l-7 66h-3+q-41 -32 -90.5 -55t-101.5 -23zM268 54q42 0 82.5 18.5t82.5 53.5v128q-78 -6 -130.5 -17t-84 -26.5t-44.5 -35t-13 -43.5q0 -21 9 -35.5t23.5 -24t34 -14t40.5 -4.5zM320 571q-40 0 -69 13t-47.5 34.5t-28 48.5t-11.5 55l48 8q3 -20 10.5 -39.5t21 -34.5t32.5 -24.5+t44 -9.5t44 9.5t32.5 24.5t21 34.5t10.5 39.5l48 -8q-2 -28 -11.5 -55t-28.5 -48.5t-47.5 -34.5t-68.5 -13zM325 679l-101 113l52 40l88 -124z" />+ <glyph glyph-name="uni1EB2" unicode="Ẳ"+d="M232 367l-31 -100h196l-31 100q-17 55 -33.5 109.5t-31.5 111.5h-4q-16 -57 -32 -111.5t-33 -109.5zM32 0l221 656h94l221 -656h-88l-62 200h-238l-63 -200h-85zM300 705q-35 0 -61 10.5t-44 28t-28 41t-13 49.5l47 8q6 -37 30 -62.5t69 -25.5t69 25.5t30 62.5l47 -8+q-3 -26 -13 -49.5t-28 -41t-44 -28t-61 -10.5zM277 800l-10 35q18 5 31 12.5t13 23.5q0 20 -16.5 28.5t-53.5 10.5l8 42q59 -2 90 -20t31 -53q0 -19 -8 -32.5t-20.5 -23t-29.5 -15t-35 -8.5z" />+ <glyph glyph-name="uni1EB3" unicode="ẳ"+d="M246 -12q-34 0 -64 9.5t-52.5 27t-35.5 43t-13 58.5q0 41 19.5 71.5t62 52.5t109.5 36t161 22q-1 25 -8 47t-22 38.5t-39.5 26.5t-59.5 10q-48 0 -92 -18.5t-78 -39.5l-32 56q18 12 42.5 24.5t52 22.5t58.5 16.5t63 6.5q100 0 148.5 -54.5t48.5 -145.5v-298h-67l-7 66h-3+q-41 -32 -90.5 -55t-101.5 -23zM268 54q42 0 82.5 18.5t82.5 53.5v128q-78 -6 -130.5 -17t-84 -26.5t-44.5 -35t-13 -43.5q0 -21 9 -35.5t23.5 -24t34 -14t40.5 -4.5zM320 571q-40 0 -69 13t-47.5 34.5t-28 48.5t-11.5 55l48 8q3 -20 10.5 -39.5t21 -34.5t32.5 -24.5+t44 -9.5t44 9.5t32.5 24.5t21 34.5t10.5 39.5l48 -8q-2 -28 -11.5 -55t-28.5 -48.5t-47.5 -34.5t-68.5 -13zM293 682l-8 36q21 5 34.5 14t13.5 25q0 20 -17.5 29.5t-58.5 11.5l7 50q61 -2 95 -22t34 -60q0 -20 -8.5 -34.5t-22.5 -24.5t-32 -16t-37 -9z" />+ <glyph glyph-name="uni1EB4" unicode="Ẵ"+d="M232 367l-31 -100h196l-31 100q-17 55 -33.5 109.5t-31.5 111.5h-4q-16 -57 -32 -111.5t-33 -109.5zM32 0l221 656h94l221 -656h-88l-62 200h-238l-63 -200h-85zM300 708q-35 0 -60.5 8.5t-43 23.5t-27 34t-12.5 40l46 8q5 -27 28 -48t69 -21t69 21t28 48l46 -8+q-3 -21 -12.5 -40t-27 -34t-43 -23.5t-60.5 -8.5zM366 843q-24 0 -41 8t-31.5 17t-27.5 17t-28 8q-18 0 -26.5 -12t-11.5 -35l-45 5q2 39 20 65.5t59 26.5q24 0 41 -8t31.5 -17t27.5 -17t28 -8q18 0 26.5 12t11.5 34l45 -5q-2 -38 -20 -64.5t-59 -26.5z" />+ <glyph glyph-name="uni1EB5" unicode="ẵ"+d="M246 -12q-34 0 -64 9.5t-52.5 27t-35.5 43t-13 58.5q0 41 19.5 71.5t62 52.5t109.5 36t161 22q-1 25 -8 47t-22 38.5t-39.5 26.5t-59.5 10q-48 0 -92 -18.5t-78 -39.5l-32 56q18 12 42.5 24.5t52 22.5t58.5 16.5t63 6.5q100 0 148.5 -54.5t48.5 -145.5v-298h-67l-7 66h-3+q-41 -32 -90.5 -55t-101.5 -23zM268 54q42 0 82.5 18.5t82.5 53.5v128q-78 -6 -130.5 -17t-84 -26.5t-44.5 -35t-13 -43.5q0 -21 9 -35.5t23.5 -24t34 -14t40.5 -4.5zM320 571q-37 0 -63 9.5t-43.5 25t-26.5 34.5t-11 38l47 8q4 -25 27 -46.5t70 -21.5t70 21.5t27 46.5+l47 -8q-2 -19 -11 -38t-26.5 -34.5t-43.5 -25t-63 -9.5zM385 710q-22 0 -39 6.5t-31.5 14.5t-28 14.5t-27.5 6.5q-15 0 -22 -10.5t-11 -32.5l-47 5q4 38 21.5 63t54.5 25q22 0 39 -6.5t31.5 -14.5t28 -14.5t27.5 -6.5q15 0 22 10.5t11 31.5l47 -4q-4 -38 -21.5 -63+t-54.5 -25z" />+ <glyph glyph-name="uni1EB6" unicode="Ặ"+d="M232 367l-31 -100h196l-31 100q-17 55 -33.5 109.5t-31.5 111.5h-4q-16 -57 -32 -111.5t-33 -109.5zM32 0l221 656h94l221 -656h-88l-62 200h-238l-63 -200h-85zM300 705q-35 0 -61 10.5t-44 28t-28 41t-13 49.5l50 8q6 -35 29.5 -59.5t66.5 -24.5t66.5 24.5t29.5 59.5+l50 -8q-3 -26 -13 -49.5t-28 -41t-44 -28t-61 -10.5zM300 -214q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="uni1EB7" unicode="ặ"+d="M246 -12q-34 0 -64 9.5t-52.5 27t-35.5 43t-13 58.5q0 41 19.5 71.5t62 52.5t109.5 36t161 22q-1 25 -8 47t-22 38.5t-39.5 26.5t-59.5 10q-48 0 -92 -18.5t-78 -39.5l-32 56q18 12 42.5 24.5t52 22.5t58.5 16.5t63 6.5q100 0 148.5 -54.5t48.5 -145.5v-298h-67l-7 66h-3+q-41 -32 -90.5 -55t-101.5 -23zM268 54q42 0 82.5 18.5t82.5 53.5v128q-78 -6 -130.5 -17t-84 -26.5t-44.5 -35t-13 -43.5q0 -21 9 -35.5t23.5 -24t34 -14t40.5 -4.5zM320 571q-40 0 -69 13t-47.5 34.5t-28 48.5t-11.5 55l51 8q3 -19 10.5 -37.5t20.5 -33.5t31.5 -24+t42.5 -9t42.5 9t31.5 24t20.5 33.5t10.5 37.5l51 -8q-2 -28 -11.5 -55t-28.5 -48.5t-47.5 -34.5t-68.5 -13zM300 -214q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="uni1EB8" unicode="Ẹ"+d="M114 0v656h406v-70h-322v-206h272v-71h-272v-238h332v-71h-416zM333 -214q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="uni1EB9" unicode="ẹ"+d="M330 -12q-55 0 -102.5 17t-83 50t-56 80.5t-20.5 108.5q0 59 20.5 106t55 80t79 50.5t93.5 17.5q52 0 93.5 -16.5t70 -46.5t43.5 -72t15 -93q0 -14 -1 -27t-3 -23h-383q8 -83 60.5 -124.5t128.5 -41.5q44 0 79.5 12.5t68.5 33.5l30 -54q-36 -24 -82.5 -41t-105.5 -17z+M318 433q-30 0 -57.5 -10t-49.5 -28.5t-37 -46.5t-21 -64h310q-5 75 -43.5 112t-101.5 37zM316 -214q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="uni1EBA" unicode="Ẻ"+d="M114 0v656h406v-70h-322v-206h272v-71h-272v-238h332v-71h-416zM299 698l-9 38q24 7 40 17t16 29q0 39 -83 42l9 48q66 -2 102 -22.5t36 -58.5q0 -22 -9 -37.5t-24.5 -27t-35.5 -18t-42 -10.5z" />+ <glyph glyph-name="uni1EBB" unicode="ẻ"+d="M330 -12q-55 0 -102.5 17t-83 50t-56 80.5t-20.5 108.5q0 59 20.5 106t55 80t79 50.5t93.5 17.5q52 0 93.5 -16.5t70 -46.5t43.5 -72t15 -93q0 -14 -1 -27t-3 -23h-383q8 -83 60.5 -124.5t128.5 -41.5q44 0 79.5 12.5t68.5 33.5l30 -54q-36 -24 -82.5 -41t-105.5 -17z+M318 433q-30 0 -57.5 -10t-49.5 -28.5t-37 -46.5t-21 -64h310q-5 75 -43.5 112t-101.5 37zM284 572l-9 40q24 6 40 16.5t16 30.5q0 43 -83 47l5 54q69 -2 106 -25.5t37 -68.5q0 -22 -9.5 -37.5t-25 -27t-35.5 -18.5t-42 -11z" />+ <glyph glyph-name="uni1EBC" unicode="Ẽ"+d="M114 0v656h406v-70h-322v-206h272v-71h-272v-238h332v-71h-416zM406 709q-28 0 -48 11t-36.5 24.5t-31 24.5t-32.5 11q-19 0 -32 -17t-16 -49l-56 4q3 57 30 90t72 33q28 0 48 -11t36.5 -24.5t31 -24.5t32.5 -11q40 0 48 66l56 -4q-3 -58 -30 -90.5t-72 -32.5z" />+ <glyph glyph-name="uni1EBD" unicode="ẽ"+d="M330 -12q-55 0 -102.5 17t-83 50t-56 80.5t-20.5 108.5q0 59 20.5 106t55 80t79 50.5t93.5 17.5q52 0 93.5 -16.5t70 -46.5t43.5 -72t15 -93q0 -14 -1 -27t-3 -23h-383q8 -83 60.5 -124.5t128.5 -41.5q44 0 79.5 12.5t68.5 33.5l30 -54q-36 -24 -82.5 -41t-105.5 -17z+M318 433q-30 0 -57.5 -10t-49.5 -28.5t-37 -46.5t-21 -64h310q-5 75 -43.5 112t-101.5 37zM388 577q-27 0 -46 13t-35 29t-30.5 29t-31.5 13q-23 0 -34 -22t-13 -57l-55 3q1 29 7.5 54t18.5 43t30.5 28.5t44.5 10.5q27 0 46 -13t35 -29t30.5 -29t32.5 -13q22 0 33 22t13 57+l55 -4q-1 -29 -7.5 -53.5t-18.5 -42.5t-30.5 -28.5t-44.5 -10.5z" />+ <glyph glyph-name="uni1EBE" unicode="Ế"+d="M114 0v656h406v-70h-322v-206h272v-71h-272v-238h332v-71h-416zM236 699l-34 26l93 90h72l93 -90l-34 -26l-93 69h-4zM452 763l-30 32l97 93l35 -39z" />+ <glyph glyph-name="uni1EBF" unicode="ế"+d="M330 -12q-55 0 -102.5 17t-83 50t-56 80.5t-20.5 108.5q0 59 20.5 106t55 80t79 50.5t93.5 17.5q52 0 93.5 -16.5t70 -46.5t43.5 -72t15 -93q0 -14 -1 -27t-3 -23h-383q8 -83 60.5 -124.5t128.5 -41.5q44 0 79.5 12.5t68.5 33.5l30 -54q-36 -24 -82.5 -41t-105.5 -17z+M318 433q-30 0 -57.5 -10t-49.5 -28.5t-37 -46.5t-21 -64h310q-5 75 -43.5 112t-101.5 37zM211 570l-29 34l100 92h68l100 -92l-29 -34l-103 72h-4zM450 637l-35 28l87 120l49 -34z" />+ <glyph glyph-name="uni1EC0" unicode="Ề"+d="M114 0v656h406v-70h-322v-206h272v-71h-272v-238h332v-71h-416zM236 699l-34 26l93 90h72l93 -90l-34 -26l-93 69h-4zM210 763l-90 88l35 37l85 -95z" />+ <glyph glyph-name="uni1EC1" unicode="ề"+d="M330 -12q-55 0 -102.5 17t-83 50t-56 80.5t-20.5 108.5q0 59 20.5 106t55 80t79 50.5t93.5 17.5q52 0 93.5 -16.5t70 -46.5t43.5 -72t15 -93q0 -14 -1 -27t-3 -23h-383q8 -83 60.5 -124.5t128.5 -41.5q44 0 79.5 12.5t68.5 33.5l30 -54q-36 -24 -82.5 -41t-105.5 -17z+M318 433q-30 0 -57.5 -10t-49.5 -28.5t-37 -46.5t-21 -64h310q-5 75 -43.5 112t-101.5 37zM211 570l-29 34l100 92h68l100 -92l-29 -34l-103 72h-4zM182 637l-113 112l48 36l100 -117z" />+ <glyph glyph-name="uni1EC2" unicode="Ể"+d="M114 0v656h406v-70h-322v-206h272v-71h-272v-238h332v-71h-416zM236 699l-34 26l93 90h72l93 -90l-34 -26l-93 69h-4zM446 754l-11 35q19 5 32 12.5t13 23.5q0 20 -16.5 28.5t-54.5 10.5l9 42q59 -2 89.5 -20t30.5 -53q0 -38 -28 -55.5t-64 -23.5z" />+ <glyph glyph-name="uni1EC3" unicode="ể"+d="M330 -12q-55 0 -102.5 17t-83 50t-56 80.5t-20.5 108.5q0 59 20.5 106t55 80t79 50.5t93.5 17.5q52 0 93.5 -16.5t70 -46.5t43.5 -72t15 -93q0 -14 -1 -27t-3 -23h-383q8 -83 60.5 -124.5t128.5 -41.5q44 0 79.5 12.5t68.5 33.5l30 -54q-36 -24 -82.5 -41t-105.5 -17z+M318 433q-30 0 -57.5 -10t-49.5 -28.5t-37 -46.5t-21 -64h310q-5 75 -43.5 112t-101.5 37zM211 570l-29 34l100 92h68l100 -92l-29 -34l-103 72h-4zM432 635l-9 35q19 5 30.5 14t11.5 25q0 20 -16 29.5t-53 11.5l7 41q59 -2 90.5 -20t31.5 -53q0 -20 -8 -34t-21 -23.5+t-29.5 -15.5t-34.5 -10z" />+ <glyph glyph-name="uni1EC4" unicode="Ễ"+d="M114 0v656h406v-70h-322v-206h272v-71h-272v-238h332v-71h-416zM236 699l-34 26l93 87h72l93 -87l-34 -26l-93 66h-4zM397 839q-24 0 -41 8t-31.5 17t-27.5 17t-28 8q-18 0 -26.5 -12t-11.5 -34l-45 5q2 38 20 64.5t59 26.5q24 0 41 -7.5t31.5 -17t27.5 -17t28 -7.5+q18 0 26.5 12t11.5 34l45 -5q-2 -39 -20 -65.5t-59 -26.5z" />+ <glyph glyph-name="uni1EC5" unicode="ễ"+d="M330 -12q-55 0 -102.5 17t-83 50t-56 80.5t-20.5 108.5q0 59 20.5 106t55 80t79 50.5t93.5 17.5q52 0 93.5 -16.5t70 -46.5t43.5 -72t15 -93q0 -14 -1 -27t-3 -23h-383q8 -83 60.5 -124.5t128.5 -41.5q44 0 79.5 12.5t68.5 33.5l30 -54q-36 -24 -82.5 -41t-105.5 -17z+M318 433q-30 0 -57.5 -10t-49.5 -28.5t-37 -46.5t-21 -64h310q-5 75 -43.5 112t-101.5 37zM211 570l-29 34l100 88h68l100 -88l-29 -34l-103 69h-4zM381 710q-22 0 -39 6.5t-31.5 14.5t-28 14.5t-27.5 6.5q-15 0 -22 -10t-11 -32l-43 4q4 39 20.5 64t51.5 25q22 0 39 -6.5+t31.5 -14.5t28 -14.5t27.5 -6.5q15 0 22 10t11 32l43 -4q-4 -38 -20.5 -63.5t-51.5 -25.5z" />+ <glyph glyph-name="uni1EC6" unicode="Ệ"+d="M114 0v656h406v-70h-322v-206h272v-71h-272v-238h332v-71h-416zM219 699l-36 26l105 113h86l105 -113l-36 -26l-110 93h-4zM333 -214q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="uni1EC7" unicode="ệ"+d="M330 -12q-55 0 -102.5 17t-83 50t-56 80.5t-20.5 108.5q0 59 20.5 106t55 80t79 50.5t93.5 17.5q52 0 93.5 -16.5t70 -46.5t43.5 -72t15 -93q0 -14 -1 -27t-3 -23h-383q8 -83 60.5 -124.5t128.5 -41.5q44 0 79.5 12.5t68.5 33.5l30 -54q-36 -24 -82.5 -41t-105.5 -17z+M318 433q-30 0 -57.5 -10t-49.5 -28.5t-37 -46.5t-21 -64h310q-5 75 -43.5 112t-101.5 37zM196 568l-35 32l114 140h82l114 -140l-35 -32l-118 113h-4zM316 -214q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="uni1EC8" unicode="Ỉ"+d="M95 0v71h163v515h-163v70h410v-70h-163v-515h163v-71h-410zM268 698l-9 38q24 7 40 17t16 29q0 39 -83 42l9 48q66 -2 102 -22.5t36 -58.5q0 -22 -9 -37.5t-24.5 -27t-35.5 -18t-42 -10.5z" />+ <glyph glyph-name="uni1EC9" unicode="ỉ"+d="M316 0v419h-226v67h308v-486h-82zM316 572l-9 40q24 6 40 16.5t16 30.5q0 43 -83 47l5 54q69 -2 106 -25.5t37 -68.5q0 -22 -9.5 -37.5t-25 -27t-35.5 -18.5t-42 -11z" />+ <glyph glyph-name="uni1ECA" unicode="Ị"+d="M95 0v71h163v515h-163v70h410v-70h-163v-515h163v-71h-410zM300 -214q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="uni1ECB" unicode="ị"+d="M316 0v419h-226v67h308v-486h-82zM348 588q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5zM348 -214q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="uni1ECC" unicode="Ọ"+d="M300 -12q-56 0 -102 23.5t-79.5 67.5t-52 107.5t-18.5 144.5q0 79 18.5 142t52 106t79.5 66t102 23q55 0 101.5 -23t80 -66t52 -106t18.5 -142q0 -81 -18.5 -144.5t-52 -107.5t-80 -67.5t-101.5 -23.5zM300 61q37 0 68 18.5t52.5 53.5t33.5 85t12 113q0 62 -12 111+t-33.5 83t-52.5 52t-68 18q-38 0 -68.5 -18t-52 -52t-33.5 -83t-12 -111q0 -63 12 -113t33.5 -85t52 -53.5t68.5 -18.5zM300 -214q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="uni1ECD" unicode="ọ"+d="M300 -12q-48 0 -91.5 17t-76.5 49.5t-52.5 80t-19.5 107.5q0 61 19.5 108.5t52.5 80.5t76.5 50t91.5 17t91.5 -17t76.5 -50t52.5 -80.5t19.5 -108.5q0 -60 -19.5 -107.5t-52.5 -80t-76.5 -49.5t-91.5 -17zM300 56q35 0 63.5 13.5t49 38t31.5 58.5t11 76t-11 76.5+t-31.5 59.5t-49 38.5t-63.5 13.5t-63.5 -13.5t-49 -38.5t-31.5 -59.5t-11 -76.5t11 -76t31.5 -58.5t49 -38t63.5 -13.5zM300 -214q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="uni1ECE" unicode="Ỏ"+d="M300 -12q-56 0 -102 23.5t-79.5 67.5t-52 107.5t-18.5 144.5q0 79 18.5 142t52 106t79.5 66t102 23q55 0 101.5 -23t80 -66t52 -106t18.5 -142q0 -81 -18.5 -144.5t-52 -107.5t-80 -67.5t-101.5 -23.5zM300 61q37 0 68 18.5t52.5 53.5t33.5 85t12 113q0 62 -12 111+t-33.5 83t-52.5 52t-68 18q-38 0 -68.5 -18t-52 -52t-33.5 -83t-12 -111q0 -63 12 -113t33.5 -85t52 -53.5t68.5 -18.5zM268 698l-9 38q24 7 40 17t16 29q0 39 -83 42l9 48q66 -2 102 -22.5t36 -58.5q0 -22 -9 -37.5t-24.5 -27t-35.5 -18t-42 -10.5z" />+ <glyph glyph-name="uni1ECF" unicode="ỏ"+d="M300 -12q-48 0 -91.5 17t-76.5 49.5t-52.5 80t-19.5 107.5q0 61 19.5 108.5t52.5 80.5t76.5 50t91.5 17t91.5 -17t76.5 -50t52.5 -80.5t19.5 -108.5q0 -60 -19.5 -107.5t-52.5 -80t-76.5 -49.5t-91.5 -17zM300 56q35 0 63.5 13.5t49 38t31.5 58.5t11 76t-11 76.5+t-31.5 59.5t-49 38.5t-63.5 13.5t-63.5 -13.5t-49 -38.5t-31.5 -59.5t-11 -76.5t11 -76t31.5 -58.5t49 -38t63.5 -13.5zM268 572l-9 40q24 6 40 16.5t16 30.5q0 43 -83 47l5 54q69 -2 106 -25.5t37 -68.5q0 -22 -9.5 -37.5t-25 -27t-35.5 -18.5t-42 -11z" />+ <glyph glyph-name="uni1ED0" unicode="Ố"+d="M300 -12q-56 0 -102 23.5t-79.5 67.5t-52 107.5t-18.5 144.5q0 79 18.5 142t52 106t79.5 66t102 23q55 0 101.5 -23t80 -66t52 -106t18.5 -142q0 -81 -18.5 -144.5t-52 -107.5t-80 -67.5t-101.5 -23.5zM300 61q37 0 68 18.5t52.5 53.5t33.5 85t12 113q0 62 -12 111+t-33.5 83t-52.5 52t-68 18q-38 0 -68.5 -18t-52 -52t-33.5 -83t-12 -111q0 -63 12 -113t33.5 -85t52 -53.5t68.5 -18.5zM205 699l-34 26l93 90h72l93 -90l-34 -26l-93 69h-4zM421 763l-30 32l97 93l35 -39z" />+ <glyph glyph-name="uni1ED1" unicode="ố"+d="M300 -12q-48 0 -91.5 17t-76.5 49.5t-52.5 80t-19.5 107.5q0 61 19.5 108.5t52.5 80.5t76.5 50t91.5 17t91.5 -17t76.5 -50t52.5 -80.5t19.5 -108.5q0 -60 -19.5 -107.5t-52.5 -80t-76.5 -49.5t-91.5 -17zM300 56q35 0 63.5 13.5t49 38t31.5 58.5t11 76t-11 76.5+t-31.5 59.5t-49 38.5t-63.5 13.5t-63.5 -13.5t-49 -38.5t-31.5 -59.5t-11 -76.5t11 -76t31.5 -58.5t49 -38t63.5 -13.5zM195 570l-29 34l100 92h68l100 -92l-29 -34l-103 72h-4zM434 637l-35 28l87 120l49 -34z" />+ <glyph glyph-name="uni1ED2" unicode="Ồ"+d="M300 -12q-56 0 -102 23.5t-79.5 67.5t-52 107.5t-18.5 144.5q0 79 18.5 142t52 106t79.5 66t102 23q55 0 101.5 -23t80 -66t52 -106t18.5 -142q0 -81 -18.5 -144.5t-52 -107.5t-80 -67.5t-101.5 -23.5zM300 61q37 0 68 18.5t52.5 53.5t33.5 85t12 113q0 62 -12 111+t-33.5 83t-52.5 52t-68 18q-38 0 -68.5 -18t-52 -52t-33.5 -83t-12 -111q0 -63 12 -113t33.5 -85t52 -53.5t68.5 -18.5zM205 699l-34 26l93 90h72l93 -90l-34 -26l-93 69h-4zM179 763l-90 88l35 37l85 -95z" />+ <glyph glyph-name="uni1ED3" unicode="ồ"+d="M300 -12q-48 0 -91.5 17t-76.5 49.5t-52.5 80t-19.5 107.5q0 61 19.5 108.5t52.5 80.5t76.5 50t91.5 17t91.5 -17t76.5 -50t52.5 -80.5t19.5 -108.5q0 -60 -19.5 -107.5t-52.5 -80t-76.5 -49.5t-91.5 -17zM300 56q35 0 63.5 13.5t49 38t31.5 58.5t11 76t-11 76.5+t-31.5 59.5t-49 38.5t-63.5 13.5t-63.5 -13.5t-49 -38.5t-31.5 -59.5t-11 -76.5t11 -76t31.5 -58.5t49 -38t63.5 -13.5zM195 570l-29 34l100 92h68l100 -92l-29 -34l-103 72h-4zM166 637l-113 112l48 36l100 -117z" />+ <glyph glyph-name="uni1ED4" unicode="Ổ"+d="M300 -12q-56 0 -102 23.5t-79.5 67.5t-52 107.5t-18.5 144.5q0 79 18.5 142t52 106t79.5 66t102 23q55 0 101.5 -23t80 -66t52 -106t18.5 -142q0 -81 -18.5 -144.5t-52 -107.5t-80 -67.5t-101.5 -23.5zM300 61q37 0 68 18.5t52.5 53.5t33.5 85t12 113q0 62 -12 111+t-33.5 83t-52.5 52t-68 18q-38 0 -68.5 -18t-52 -52t-33.5 -83t-12 -111q0 -63 12 -113t33.5 -85t52 -53.5t68.5 -18.5zM205 699l-34 26l93 90h72l93 -90l-34 -26l-93 69h-4zM415 754l-11 35q19 5 32 12.5t13 23.5q0 20 -16.5 28.5t-54.5 10.5l9 42q59 -2 89.5 -20t30.5 -53+q0 -38 -28 -55.5t-64 -23.5z" />+ <glyph glyph-name="uni1ED5" unicode="ổ"+d="M300 -12q-48 0 -91.5 17t-76.5 49.5t-52.5 80t-19.5 107.5q0 61 19.5 108.5t52.5 80.5t76.5 50t91.5 17t91.5 -17t76.5 -50t52.5 -80.5t19.5 -108.5q0 -60 -19.5 -107.5t-52.5 -80t-76.5 -49.5t-91.5 -17zM300 56q35 0 63.5 13.5t49 38t31.5 58.5t11 76t-11 76.5+t-31.5 59.5t-49 38.5t-63.5 13.5t-63.5 -13.5t-49 -38.5t-31.5 -59.5t-11 -76.5t11 -76t31.5 -58.5t49 -38t63.5 -13.5zM195 570l-29 34l100 92h68l100 -92l-29 -34l-103 72h-4zM416 635l-9 35q19 5 30.5 14t11.5 25q0 20 -16 29.5t-53 11.5l7 41q59 -2 90.5 -20t31.5 -53+q0 -20 -8 -34t-21 -23.5t-29.5 -15.5t-34.5 -10z" />+ <glyph glyph-name="uni1ED6" unicode="Ỗ"+d="M300 -12q-56 0 -102 23.5t-79.5 67.5t-52 107.5t-18.5 144.5q0 79 18.5 142t52 106t79.5 66t102 23q55 0 101.5 -23t80 -66t52 -106t18.5 -142q0 -81 -18.5 -144.5t-52 -107.5t-80 -67.5t-101.5 -23.5zM300 61q37 0 68 18.5t52.5 53.5t33.5 85t12 113q0 62 -12 111+t-33.5 83t-52.5 52t-68 18q-38 0 -68.5 -18t-52 -52t-33.5 -83t-12 -111q0 -63 12 -113t33.5 -85t52 -53.5t68.5 -18.5zM205 699l-34 26l93 87h72l93 -87l-34 -26l-93 66h-4zM366 839q-24 0 -41 8t-31.5 17t-27.5 17t-28 8q-18 0 -26.5 -12t-11.5 -34l-45 5q2 38 20 64.5+t59 26.5q24 0 41 -7.5t31.5 -17t27.5 -17t28 -7.5q18 0 26.5 12t11.5 34l45 -5q-2 -39 -20 -65.5t-59 -26.5z" />+ <glyph glyph-name="uni1ED7" unicode="ỗ"+d="M300 -12q-48 0 -91.5 17t-76.5 49.5t-52.5 80t-19.5 107.5q0 61 19.5 108.5t52.5 80.5t76.5 50t91.5 17t91.5 -17t76.5 -50t52.5 -80.5t19.5 -108.5q0 -60 -19.5 -107.5t-52.5 -80t-76.5 -49.5t-91.5 -17zM300 56q35 0 63.5 13.5t49 38t31.5 58.5t11 76t-11 76.5+t-31.5 59.5t-49 38.5t-63.5 13.5t-63.5 -13.5t-49 -38.5t-31.5 -59.5t-11 -76.5t11 -76t31.5 -58.5t49 -38t63.5 -13.5zM195 570l-29 34l100 88h68l100 -88l-29 -34l-103 69h-4zM365 710q-22 0 -39 6.5t-31.5 14.5t-28 14.5t-27.5 6.5q-15 0 -22 -10t-11 -32l-43 4+q4 39 20.5 64t51.5 25q22 0 39 -6.5t31.5 -14.5t28 -14.5t27.5 -6.5q15 0 22 10t11 32l43 -4q-4 -38 -20.5 -63.5t-51.5 -25.5z" />+ <glyph glyph-name="uni1ED8" unicode="Ộ"+d="M300 -12q-56 0 -102 23.5t-79.5 67.5t-52 107.5t-18.5 144.5q0 79 18.5 142t52 106t79.5 66t102 23q55 0 101.5 -23t80 -66t52 -106t18.5 -142q0 -81 -18.5 -144.5t-52 -107.5t-80 -67.5t-101.5 -23.5zM300 61q37 0 68 18.5t52.5 53.5t33.5 85t12 113q0 62 -12 111+t-33.5 83t-52.5 52t-68 18q-38 0 -68.5 -18t-52 -52t-33.5 -83t-12 -111q0 -63 12 -113t33.5 -85t52 -53.5t68.5 -18.5zM188 699l-36 26l105 113h86l105 -113l-36 -26l-110 93h-4zM300 -214q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5+z" />+ <glyph glyph-name="uni1ED9" unicode="ộ"+d="M300 -12q-48 0 -91.5 17t-76.5 49.5t-52.5 80t-19.5 107.5q0 61 19.5 108.5t52.5 80.5t76.5 50t91.5 17t91.5 -17t76.5 -50t52.5 -80.5t19.5 -108.5q0 -60 -19.5 -107.5t-52.5 -80t-76.5 -49.5t-91.5 -17zM300 56q35 0 63.5 13.5t49 38t31.5 58.5t11 76t-11 76.5+t-31.5 59.5t-49 38.5t-63.5 13.5t-63.5 -13.5t-49 -38.5t-31.5 -59.5t-11 -76.5t11 -76t31.5 -58.5t49 -38t63.5 -13.5zM180 568l-35 32l114 140h82l114 -140l-35 -32l-118 113h-4zM300 -214q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5+t-47 -17.5z" />+ <glyph glyph-name="uni1EDA" unicode="Ớ"+d="M300 -12q-56 0 -102 23.5t-79.5 67.5t-52 107.5t-18.5 144.5q0 79 18.5 142t52 106t79.5 66t102 23q62 0 111 -28q78 16 78 86q0 15 -4 30.5t-11 27.5l65 29q11 -17 17 -37.5t6 -43.5q0 -51 -28 -82.5t-76 -43.5q45 -43 69.5 -112t24.5 -163q0 -81 -18.5 -144.5+t-52 -107.5t-80 -67.5t-101.5 -23.5zM300 61q37 0 68 18.5t52.5 53.5t33.5 85t12 113q0 62 -12 111t-33.5 83t-52.5 52t-68 18q-38 0 -68.5 -18t-52 -52t-33.5 -83t-12 -111q0 -63 12 -113t33.5 -85t52 -53.5t68.5 -18.5zM271 697l-36 42l141 128l47 -55z" />+ <glyph glyph-name="uni1EDB" unicode="ớ"+d="M300 -12q-48 0 -91.5 17t-76.5 49.5t-52.5 80t-19.5 107.5q0 61 19.5 108.5t52.5 80.5t76.5 50t91.5 17q54 0 101 -21q42 9 64 32.5t22 66.5q0 15 -3.5 30.5t-11.5 27.5l64 30q11 -17 17 -38t6 -44q0 -29 -8.5 -51.5t-23 -39t-34 -28t-41.5 -18.5q40 -32 64 -83t24 -120+q0 -60 -19.5 -107.5t-52.5 -80t-76.5 -49.5t-91.5 -17zM300 56q35 0 63.5 13.5t49 38t31.5 58.5t11 76t-11 76.5t-31.5 59.5t-49 38.5t-63.5 13.5t-63.5 -13.5t-49 -38.5t-31.5 -59.5t-11 -76.5t11 -76t31.5 -58.5t49 -38t63.5 -13.5zM279 568l-43 41l142 168l58 -56z" />+ <glyph glyph-name="uni1EDC" unicode="Ờ"+d="M300 -12q-56 0 -102 23.5t-79.5 67.5t-52 107.5t-18.5 144.5q0 79 18.5 142t52 106t79.5 66t102 23q62 0 111 -28q78 16 78 86q0 15 -4 30.5t-11 27.5l65 29q11 -17 17 -37.5t6 -43.5q0 -51 -28 -82.5t-76 -43.5q45 -43 69.5 -112t24.5 -163q0 -81 -18.5 -144.5+t-52 -107.5t-80 -67.5t-101.5 -23.5zM300 61q37 0 68 18.5t52.5 53.5t33.5 85t12 113q0 62 -12 111t-33.5 83t-52.5 52t-68 18q-38 0 -68.5 -18t-52 -52t-33.5 -83t-12 -111q0 -63 12 -113t33.5 -85t52 -53.5t68.5 -18.5zM329 697l-152 115l47 55l141 -128z" />+ <glyph glyph-name="uni1EDD" unicode="ờ"+d="M300 -12q-48 0 -91.5 17t-76.5 49.5t-52.5 80t-19.5 107.5q0 61 19.5 108.5t52.5 80.5t76.5 50t91.5 17q54 0 101 -21q42 9 64 32.5t22 66.5q0 15 -3.5 30.5t-11.5 27.5l64 30q11 -17 17 -38t6 -44q0 -29 -8.5 -51.5t-23 -39t-34 -28t-41.5 -18.5q40 -32 64 -83t24 -120+q0 -60 -19.5 -107.5t-52.5 -80t-76.5 -49.5t-91.5 -17zM300 56q35 0 63.5 13.5t49 38t31.5 58.5t11 76t-11 76.5t-31.5 59.5t-49 38.5t-63.5 13.5t-63.5 -13.5t-49 -38.5t-31.5 -59.5t-11 -76.5t11 -76t31.5 -58.5t49 -38t63.5 -13.5zM321 568l-157 153l58 56l142 -168z" />+ <glyph glyph-name="uni1EDE" unicode="Ở"+d="M300 -12q-56 0 -102 23.5t-79.5 67.5t-52 107.5t-18.5 144.5q0 79 18.5 142t52 106t79.5 66t102 23q62 0 111 -28q78 16 78 86q0 15 -4 30.5t-11 27.5l65 29q11 -17 17 -37.5t6 -43.5q0 -51 -28 -82.5t-76 -43.5q45 -43 69.5 -112t24.5 -163q0 -81 -18.5 -144.5+t-52 -107.5t-80 -67.5t-101.5 -23.5zM300 61q37 0 68 18.5t52.5 53.5t33.5 85t12 113q0 62 -12 111t-33.5 83t-52.5 52t-68 18q-38 0 -68.5 -18t-52 -52t-33.5 -83t-12 -111q0 -63 12 -113t33.5 -85t52 -53.5t68.5 -18.5zM268 698l-9 38q24 7 40 17t16 29q0 39 -83 42l9 48+q66 -2 102 -22.5t36 -58.5q0 -22 -9 -37.5t-24.5 -27t-35.5 -18t-42 -10.5z" />+ <glyph glyph-name="uni1EDF" unicode="ở"+d="M300 -12q-48 0 -91.5 17t-76.5 49.5t-52.5 80t-19.5 107.5q0 61 19.5 108.5t52.5 80.5t76.5 50t91.5 17q54 0 101 -21q42 9 64 32.5t22 66.5q0 15 -3.5 30.5t-11.5 27.5l64 30q11 -17 17 -38t6 -44q0 -29 -8.5 -51.5t-23 -39t-34 -28t-41.5 -18.5q40 -32 64 -83t24 -120+q0 -60 -19.5 -107.5t-52.5 -80t-76.5 -49.5t-91.5 -17zM300 56q35 0 63.5 13.5t49 38t31.5 58.5t11 76t-11 76.5t-31.5 59.5t-49 38.5t-63.5 13.5t-63.5 -13.5t-49 -38.5t-31.5 -59.5t-11 -76.5t11 -76t31.5 -58.5t49 -38t63.5 -13.5zM268 572l-9 40q24 6 40 16.5t16 30.5+q0 43 -83 47l5 54q69 -2 106 -25.5t37 -68.5q0 -22 -9.5 -37.5t-25 -27t-35.5 -18.5t-42 -11z" />+ <glyph glyph-name="uni1EE0" unicode="Ỡ"+d="M300 -12q-56 0 -102 23.5t-79.5 67.5t-52 107.5t-18.5 144.5q0 79 18.5 142t52 106t79.5 66t102 23q62 0 111 -28q78 16 78 86q0 15 -4 30.5t-11 27.5l65 29q11 -17 17 -37.5t6 -43.5q0 -51 -28 -82.5t-76 -43.5q45 -43 69.5 -112t24.5 -163q0 -81 -18.5 -144.5+t-52 -107.5t-80 -67.5t-101.5 -23.5zM300 61q37 0 68 18.5t52.5 53.5t33.5 85t12 113q0 62 -12 111t-33.5 83t-52.5 52t-68 18q-38 0 -68.5 -18t-52 -52t-33.5 -83t-12 -111q0 -63 12 -113t33.5 -85t52 -53.5t68.5 -18.5zM356 709q-28 0 -48 11t-36.5 24.5t-31 24.5+t-32.5 11q-19 0 -32 -17t-16 -49l-56 4q3 57 30 90t72 33q28 0 48 -11t36.5 -24.5t31 -24.5t32.5 -11q40 0 48 66l56 -4q-3 -58 -30 -90.5t-72 -32.5z" />+ <glyph glyph-name="uni1EE1" unicode="ỡ"+d="M300 -12q-48 0 -91.5 17t-76.5 49.5t-52.5 80t-19.5 107.5q0 61 19.5 108.5t52.5 80.5t76.5 50t91.5 17q54 0 101 -21q42 9 64 32.5t22 66.5q0 15 -3.5 30.5t-11.5 27.5l64 30q11 -17 17 -38t6 -44q0 -29 -8.5 -51.5t-23 -39t-34 -28t-41.5 -18.5q40 -32 64 -83t24 -120+q0 -60 -19.5 -107.5t-52.5 -80t-76.5 -49.5t-91.5 -17zM300 56q35 0 63.5 13.5t49 38t31.5 58.5t11 76t-11 76.5t-31.5 59.5t-49 38.5t-63.5 13.5t-63.5 -13.5t-49 -38.5t-31.5 -59.5t-11 -76.5t11 -76t31.5 -58.5t49 -38t63.5 -13.5zM353 577q-27 0 -46 13t-35 29t-30.5 29+t-31.5 13q-23 0 -34 -22t-13 -57l-55 3q1 29 7.5 54t18.5 43t30.5 28.5t44.5 10.5q27 0 46 -13t35 -29t30.5 -29t32.5 -13q22 0 33 22t13 57l55 -4q-1 -29 -7.5 -53.5t-18.5 -42.5t-30.5 -28.5t-44.5 -10.5z" />+ <glyph glyph-name="uni1EE2" unicode="Ợ"+d="M300 -12q-56 0 -102 23.5t-79.5 67.5t-52 107.5t-18.5 144.5q0 79 18.5 142t52 106t79.5 66t102 23q62 0 111 -28q78 16 78 86q0 15 -4 30.5t-11 27.5l65 29q11 -17 17 -37.5t6 -43.5q0 -51 -28 -82.5t-76 -43.5q45 -43 69.5 -112t24.5 -163q0 -81 -18.5 -144.5+t-52 -107.5t-80 -67.5t-101.5 -23.5zM300 61q37 0 68 18.5t52.5 53.5t33.5 85t12 113q0 62 -12 111t-33.5 83t-52.5 52t-68 18q-38 0 -68.5 -18t-52 -52t-33.5 -83t-12 -111q0 -63 12 -113t33.5 -85t52 -53.5t68.5 -18.5zM300 -214q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5+t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="uni1EE3" unicode="ợ"+d="M300 -12q-48 0 -91.5 17t-76.5 49.5t-52.5 80t-19.5 107.5q0 61 19.5 108.5t52.5 80.5t76.5 50t91.5 17q54 0 101 -21q42 9 64 32.5t22 66.5q0 15 -3.5 30.5t-11.5 27.5l64 30q11 -17 17 -38t6 -44q0 -29 -8.5 -51.5t-23 -39t-34 -28t-41.5 -18.5q40 -32 64 -83t24 -120+q0 -60 -19.5 -107.5t-52.5 -80t-76.5 -49.5t-91.5 -17zM300 56q35 0 63.5 13.5t49 38t31.5 58.5t11 76t-11 76.5t-31.5 59.5t-49 38.5t-63.5 13.5t-63.5 -13.5t-49 -38.5t-31.5 -59.5t-11 -76.5t11 -76t31.5 -58.5t49 -38t63.5 -13.5zM300 -214q-28 0 -47 17.5t-19 46.5+t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="uni1EE4" unicode="Ụ"+d="M301 -12q-48 0 -89 14t-70.5 45.5t-46 80.5t-16.5 120v408h84v-410q0 -51 10.5 -86.5t29 -57t43.5 -31.5t55 -10t55 10t44 31.5t29.5 57t10.5 86.5v410h81v-408q0 -71 -16.5 -120t-45.5 -80.5t-69.5 -45.5t-88.5 -14zM300 -214q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5+t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="uni1EE5" unicode="ụ"+d="M246 -12q-88 0 -128.5 49.5t-40.5 146.5v302h83v-291q0 -69 25.5 -102.5t86.5 -33.5q42 0 76 21.5t75 68.5v337h82v-486h-67l-7 85h-4q-37 -43 -80.5 -70t-100.5 -27zM307 -214q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="uni1EE6" unicode="Ủ"+d="M301 -12q-48 0 -89 14t-70.5 45.5t-46 80.5t-16.5 120v408h84v-410q0 -51 10.5 -86.5t29 -57t43.5 -31.5t55 -10t55 10t44 31.5t29.5 57t10.5 86.5v410h81v-408q0 -71 -16.5 -120t-45.5 -80.5t-69.5 -45.5t-88.5 -14zM268 698l-9 38q24 7 40 17t16 29q0 39 -83 42l9 48+q66 -2 102 -22.5t36 -58.5q0 -22 -9 -37.5t-24.5 -27t-35.5 -18t-42 -10.5z" />+ <glyph glyph-name="uni1EE7" unicode="ủ"+d="M246 -12q-88 0 -128.5 49.5t-40.5 146.5v302h83v-291q0 -69 25.5 -102.5t86.5 -33.5q42 0 76 21.5t75 68.5v337h82v-486h-67l-7 85h-4q-37 -43 -80.5 -70t-100.5 -27zM264 572l-9 40q24 6 40 16.5t16 30.5q0 43 -83 47l5 54q69 -2 106 -25.5t37 -68.5q0 -22 -9.5 -37.5+t-25 -27t-35.5 -18.5t-42 -11z" />+ <glyph glyph-name="uni1EE8" unicode="Ứ"+d="M301 -12q-48 0 -89 14t-70.5 45.5t-46 80.5t-16.5 120v408h84v-410q0 -51 10.5 -86.5t29 -57t43.5 -31.5t55 -10t55 10t44 31.5t29.5 57t10.5 86.5v410h33q41 5 62.5 23t21.5 60q0 15 -4 30.5t-11 27.5l65 28q11 -17 17 -37t6 -43q0 -58 -31.5 -86t-77.5 -39v-372+q0 -71 -16.5 -120t-45.5 -80.5t-69.5 -45.5t-88.5 -14zM271 697l-36 42l141 128l47 -55z" />+ <glyph glyph-name="uni1EE9" unicode="ứ"+d="M246 -12q-88 0 -128.5 49.5t-40.5 146.5v302h83v-291q0 -69 25.5 -102.5t86.5 -33.5q42 0 76 21.5t75 68.5v337h16q18 3 33.5 9t27.5 17t18.5 28t6.5 42q0 15 -3 30.5t-11 27.5l64 30q11 -17 17 -38t6 -44q0 -29 -8 -50.5t-21 -37t-29.5 -26t-34.5 -17.5v-457h-67l-7 85+h-4q-37 -43 -80.5 -70t-100.5 -27zM275 568l-43 41l142 168l58 -56z" />+ <glyph glyph-name="uni1EEA" unicode="Ừ"+d="M301 -12q-48 0 -89 14t-70.5 45.5t-46 80.5t-16.5 120v408h84v-410q0 -51 10.5 -86.5t29 -57t43.5 -31.5t55 -10t55 10t44 31.5t29.5 57t10.5 86.5v410h33q41 5 62.5 23t21.5 60q0 15 -4 30.5t-11 27.5l65 28q11 -17 17 -37t6 -43q0 -58 -31.5 -86t-77.5 -39v-372+q0 -71 -16.5 -120t-45.5 -80.5t-69.5 -45.5t-88.5 -14zM329 697l-152 115l47 55l141 -128z" />+ <glyph glyph-name="uni1EEB" unicode="ừ"+d="M246 -12q-88 0 -128.5 49.5t-40.5 146.5v302h83v-291q0 -69 25.5 -102.5t86.5 -33.5q42 0 76 21.5t75 68.5v337h16q18 3 33.5 9t27.5 17t18.5 28t6.5 42q0 15 -3 30.5t-11 27.5l64 30q11 -17 17 -38t6 -44q0 -29 -8 -50.5t-21 -37t-29.5 -26t-34.5 -17.5v-457h-67l-7 85+h-4q-37 -43 -80.5 -70t-100.5 -27zM317 568l-157 153l58 56l142 -168z" />+ <glyph glyph-name="uni1EEC" unicode="Ử"+d="M301 -12q-48 0 -89 14t-70.5 45.5t-46 80.5t-16.5 120v408h84v-410q0 -51 10.5 -86.5t29 -57t43.5 -31.5t55 -10t55 10t44 31.5t29.5 57t10.5 86.5v410h33q41 5 62.5 23t21.5 60q0 15 -4 30.5t-11 27.5l65 28q11 -17 17 -37t6 -43q0 -58 -31.5 -86t-77.5 -39v-372+q0 -71 -16.5 -120t-45.5 -80.5t-69.5 -45.5t-88.5 -14zM268 698l-9 38q24 7 40 17t16 29q0 39 -83 42l9 48q66 -2 102 -22.5t36 -58.5q0 -22 -9 -37.5t-24.5 -27t-35.5 -18t-42 -10.5z" />+ <glyph glyph-name="uni1EED" unicode="ử"+d="M246 -12q-88 0 -128.5 49.5t-40.5 146.5v302h83v-291q0 -69 25.5 -102.5t86.5 -33.5q42 0 76 21.5t75 68.5v337h16q18 3 33.5 9t27.5 17t18.5 28t6.5 42q0 15 -3 30.5t-11 27.5l64 30q11 -17 17 -38t6 -44q0 -29 -8 -50.5t-21 -37t-29.5 -26t-34.5 -17.5v-457h-67l-7 85+h-4q-37 -43 -80.5 -70t-100.5 -27zM264 572l-9 40q24 6 40 16.5t16 30.5q0 43 -83 47l5 54q69 -2 106 -25.5t37 -68.5q0 -22 -9.5 -37.5t-25 -27t-35.5 -18.5t-42 -11z" />+ <glyph glyph-name="uni1EEE" unicode="Ữ"+d="M301 -12q-48 0 -89 14t-70.5 45.5t-46 80.5t-16.5 120v408h84v-410q0 -51 10.5 -86.5t29 -57t43.5 -31.5t55 -10t55 10t44 31.5t29.5 57t10.5 86.5v410h33q41 5 62.5 23t21.5 60q0 15 -4 30.5t-11 27.5l65 28q11 -17 17 -37t6 -43q0 -58 -31.5 -86t-77.5 -39v-372+q0 -71 -16.5 -120t-45.5 -80.5t-69.5 -45.5t-88.5 -14zM375 709q-28 0 -48 11t-36.5 24.5t-31 24.5t-32.5 11q-19 0 -32 -17t-16 -49l-56 4q3 57 30 90t72 33q28 0 48 -11t36.5 -24.5t31 -24.5t32.5 -11q40 0 48 66l56 -4q-3 -58 -30 -90.5t-72 -32.5z" />+ <glyph glyph-name="uni1EEF" unicode="ữ"+d="M246 -12q-88 0 -128.5 49.5t-40.5 146.5v302h83v-291q0 -69 25.5 -102.5t86.5 -33.5q42 0 76 21.5t75 68.5v337h16q18 3 33.5 9t27.5 17t18.5 28t6.5 42q0 15 -3 30.5t-11 27.5l64 30q11 -17 17 -38t6 -44q0 -29 -8 -50.5t-21 -37t-29.5 -26t-34.5 -17.5v-457h-67l-7 85+h-4q-37 -43 -80.5 -70t-100.5 -27zM360 577q-27 0 -46 13t-35 29t-30.5 29t-31.5 13q-23 0 -34 -22t-13 -57l-55 3q1 29 7.5 54t18.5 43t30.5 28.5t44.5 10.5q27 0 46 -13t35 -29t30.5 -29t32.5 -13q22 0 33 22t13 57l55 -4q-1 -29 -7.5 -53.5t-18.5 -42.5t-30.5 -28.5+t-44.5 -10.5z" />+ <glyph glyph-name="uni1EF0" unicode="Ự"+d="M301 -12q-48 0 -89 14t-70.5 45.5t-46 80.5t-16.5 120v408h84v-410q0 -51 10.5 -86.5t29 -57t43.5 -31.5t55 -10t55 10t44 31.5t29.5 57t10.5 86.5v410h33q41 5 62.5 23t21.5 60q0 15 -4 30.5t-11 27.5l65 28q11 -17 17 -37t6 -43q0 -58 -31.5 -86t-77.5 -39v-372+q0 -71 -16.5 -120t-45.5 -80.5t-69.5 -45.5t-88.5 -14zM300 -214q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="uni1EF1" unicode="ự"+d="M246 -12q-88 0 -128.5 49.5t-40.5 146.5v302h83v-291q0 -69 25.5 -102.5t86.5 -33.5q42 0 76 21.5t75 68.5v337h16q18 3 33.5 9t27.5 17t18.5 28t6.5 42q0 15 -3 30.5t-11 27.5l64 30q11 -17 17 -38t6 -44q0 -29 -8 -50.5t-21 -37t-29.5 -26t-34.5 -17.5v-457h-67l-7 85+h-4q-37 -43 -80.5 -70t-100.5 -27zM307 -214q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="Ygrave" unicode="Ỳ"+d="M258 0v234l-220 422h88l99 -195q19 -38 37 -75.5t38 -77.5h4l39 78l38 76l95 194h86l-220 -422v-234h-84zM329 697l-152 115l47 55l141 -128z" />+ <glyph glyph-name="ygrave" unicode="ỳ"+d="M131 -209q-36 0 -64 10l17 65q10 -3 21.5 -5t22.5 -2q51 0 83 29.5t50 74.5l15 36l-227 487h83l119 -269q14 -32 29.5 -69t30.5 -72h4q13 35 26.5 71.5t25.5 69.5l106 269h78l-214 -526q-14 -36 -32 -67t-43 -53.5t-57.5 -35.5t-73.5 -13zM325 568l-157 153l58 56+l142 -168z" />+ <glyph glyph-name="uni1EF4" unicode="Ỵ"+d="M258 0v234l-220 422h88l99 -195q19 -38 37 -75.5t38 -77.5h4l39 78l38 76l95 194h86l-220 -422v-234h-84zM300 -214q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="uni1EF5" unicode="ỵ"+d="M131 -209q-36 0 -64 10l17 65q10 -3 21.5 -5t22.5 -2q51 0 83 29.5t50 74.5l15 36l-227 487h83l119 -269q14 -32 29.5 -69t30.5 -72h4q13 35 26.5 71.5t25.5 69.5l106 269h78l-214 -526q-14 -36 -32 -67t-43 -53.5t-57.5 -35.5t-73.5 -13zM458 -210q-28 0 -47 17.5+t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="uni1EF6" unicode="Ỷ"+d="M258 0v234l-220 422h88l99 -195q19 -38 37 -75.5t38 -77.5h4l39 78l38 76l95 194h86l-220 -422v-234h-84zM268 698l-9 38q24 7 40 17t16 29q0 39 -83 42l9 48q66 -2 102 -22.5t36 -58.5q0 -22 -9 -37.5t-24.5 -27t-35.5 -18t-42 -10.5z" />+ <glyph glyph-name="uni1EF7" unicode="ỷ"+d="M131 -209q-36 0 -64 10l17 65q10 -3 21.5 -5t22.5 -2q51 0 83 29.5t50 74.5l15 36l-227 487h83l119 -269q14 -32 29.5 -69t30.5 -72h4q13 35 26.5 71.5t25.5 69.5l106 269h78l-214 -526q-14 -36 -32 -67t-43 -53.5t-57.5 -35.5t-73.5 -13zM272 572l-9 40q24 6 40 16.5+t16 30.5q0 43 -83 47l5 54q69 -2 106 -25.5t37 -68.5q0 -22 -9.5 -37.5t-25 -27t-35.5 -18.5t-42 -11z" />+ <glyph glyph-name="uni1EF8" unicode="Ỹ"+d="M258 0v234l-220 422h88l99 -195q19 -38 37 -75.5t38 -77.5h4l39 78l38 76l95 194h86l-220 -422v-234h-84zM375 709q-28 0 -48 11t-36.5 24.5t-31 24.5t-32.5 11q-19 0 -32 -17t-16 -49l-56 4q3 57 30 90t72 33q28 0 48 -11t36.5 -24.5t31 -24.5t32.5 -11q40 0 48 66+l56 -4q-3 -58 -30 -90.5t-72 -32.5z" />+ <glyph glyph-name="uni1EF9" unicode="ỹ"+d="M131 -209q-36 0 -64 10l17 65q10 -3 21.5 -5t22.5 -2q51 0 83 29.5t50 74.5l15 36l-227 487h83l119 -269q14 -32 29.5 -69t30.5 -72h4q13 35 26.5 71.5t25.5 69.5l106 269h78l-214 -526q-14 -36 -32 -67t-43 -53.5t-57.5 -35.5t-73.5 -13zM376 577q-27 0 -46 13t-35 29+t-30.5 29t-31.5 13q-23 0 -34 -22t-13 -57l-55 3q1 29 7.5 54t18.5 43t30.5 28.5t44.5 10.5q27 0 46 -13t35 -29t30.5 -29t32.5 -13q22 0 33 22t13 57l55 -4q-1 -29 -7.5 -53.5t-18.5 -42.5t-30.5 -28.5t-44.5 -10.5z" />+ <glyph glyph-name="uni1FBD" unicode="᾽"+d="M268 572l-9 40q24 6 40 16.5t16 30.5q0 43 -83 47l5 54q69 -2 106 -25.5t37 -68.5q0 -22 -9.5 -37.5t-25 -27t-35.5 -18.5t-42 -11z" />+ <glyph glyph-name="uni1FBE" unicode="ι"+d="M346 -12q-51 0 -73 29.5t-22 83.5v305h83q-2 -81 -3.5 -160t-1.5 -151q0 -20 9.5 -29.5t25.5 -9.5q12 0 29 6l11 -62q-11 -5 -24.5 -8.5t-33.5 -3.5z" />+ <glyph glyph-name="uni1FBF" unicode="᾿"+d="M268 572l-9 40q24 6 40 16.5t16 30.5q0 43 -83 47l5 54q69 -2 106 -25.5t37 -68.5q0 -22 -9.5 -37.5t-25 -27t-35.5 -18.5t-42 -11z" />+ <glyph glyph-name="uni1FC0" unicode="῀"+d="M372 577q-27 0 -46 13t-35 29t-30.5 29t-31.5 13q-23 0 -34 -22t-13 -57l-55 3q1 29 7.5 54t18.5 43t30.5 28.5t44.5 10.5q27 0 46 -13t35 -29t30.5 -29t32.5 -13q22 0 33 22t13 57l55 -4q-1 -29 -7.5 -53.5t-18.5 -42.5t-30.5 -28.5t-44.5 -10.5z" />+ <glyph glyph-name="uni1FC1" unicode="῁"+d="M204 588q-20 0 -33 13t-13 32q0 20 13 33t33 13t32.5 -13t12.5 -33q0 -19 -12.5 -32t-32.5 -13zM396 588q-20 0 -32.5 13t-12.5 32q0 20 12.5 33t32.5 13t33 -13t13 -33q0 -19 -13 -32t-33 -13zM371 707q-26 0 -44 7.5t-33 17t-29 17t-32 7.5q-17 0 -29 -11.5t-15 -34.5+l-42 4q2 39 23 65.5t59 26.5q26 0 44 -7.5t33 -17t29 -17t32 -7.5q17 0 29 11.5t15 34.5l42 -4q-2 -39 -23 -65.5t-59 -26.5z" />+ <glyph glyph-name="uni1FCD" unicode="῍"+d="M180 577l-10 38q20 5 33.5 16t13.5 31q0 39 -73 43l4 51q59 -2 94 -23t35 -62q0 -22 -8.5 -38t-22 -27t-31 -18t-35.5 -11zM365 559l-63 197l74 14l39 -201z" />+ <glyph glyph-name="uni1FCE" unicode="῎"+d="M180 577l-10 38q20 5 33.5 16t13.5 31q0 39 -73 43l4 51q59 -2 94 -23t35 -62q0 -22 -8.5 -38t-22 -27t-31 -18t-35.5 -11zM362 559l-50 10l42 201l74 -14z" />+ <glyph glyph-name="uni1FCF" unicode="῏"+d="M365 715q-22 0 -39 6.5t-31.5 14.5t-28 14.5t-27.5 6.5q-15 0 -22 -10.5t-11 -31.5l-47 4q4 38 21.5 63t54.5 25q22 0 39 -6.5t31.5 -14.5t28 -14.5t27.5 -6.5q15 0 22 10.5t11 31.5l47 -4q-4 -38 -21.5 -63t-54.5 -25zM273 562l-8 33q18 5 30 12t12 18q0 14 -16 21.5+t-53 9.5l7 39q59 -2 90.5 -16.5t31.5 -44.5q0 -31 -29 -48t-65 -24z" />+ <glyph glyph-name="uni1FDD" unicode="῝"+d="M235 577q-18 4 -35.5 11t-31 18t-22 27t-8.5 38q0 41 35 62t94 23l4 -51q-73 -4 -73 -43q0 -20 13 -31t33 -16zM359 559l-64 197l75 14l38 -201z" />+ <glyph glyph-name="uni1FDE" unicode="῞"+d="M245 577q-18 4 -35.5 11t-31 18t-22 27t-8.5 38q0 41 35 62t94 23l4 -51q-73 -4 -73 -43q0 -20 13 -31t33 -16zM305 569l43 201l74 -14l-67 -197z" />+ <glyph glyph-name="uni1FDF" unicode="῟"+d="M327 562q-36 7 -65 24t-29 48q0 30 31.5 44.5t90.5 16.5l7 -39q-37 -2 -53 -9.5t-16 -21.5q0 -11 12 -18t30 -12zM159 719q4 38 21.5 63t54.5 25q22 0 39 -6.5t31.5 -14.5t28 -14.5t27.5 -6.5q15 0 22 10.5t11 31.5l47 -4q-4 -38 -21.5 -63t-54.5 -25q-22 0 -39 6.5+t-31.5 14.5t-28 14.5t-27.5 6.5q-15 0 -22 -10.5t-11 -31.5z" />+ <glyph glyph-name="uni1FED" unicode="῭"+d="M187 595q-18 0 -30 11.5t-12 30.5t12 30.5t30 11.5q17 0 29 -11.5t12 -30.5t-12 -30.5t-29 -11.5zM297 563l-64 197l66 14l41 -201zM413 595q-17 0 -29 11.5t-12 30.5t12 30.5t29 11.5q18 0 30 -11.5t12 -30.5t-12 -30.5t-30 -11.5z" />+ <glyph glyph-name="uni1FEE" unicode="΅"+d="M185 595q-20 0 -33 11.5t-13 31.5q0 21 13 33.5t33 12.5t33 -12.5t13 -33.5q0 -20 -13 -31.5t-33 -11.5zM258 573l49 226l68 -13l-75 -222zM415 595q-20 0 -33 11.5t-13 31.5q0 21 13 33.5t33 12.5t33 -12.5t13 -33.5q0 -20 -13 -31.5t-33 -11.5z" />+ <glyph glyph-name="uni1FEF" unicode="`"+d="M276 558l-67 197l85 15l39 -201z" />+ <glyph glyph-name="uni1FFD" unicode="´"+d="M322 559l-57 10l47 230l85 -15z" />+ <glyph glyph-name="uni1FFE" unicode="῾"+d="M332 574q-22 4 -42 10.5t-35.5 17.5t-25 26.5t-9.5 37.5q0 45 37 68.5t106 25.5l5 -54q-83 -4 -83 -47q0 -20 16 -30.5t40 -16.5z" />+ <glyph glyph-name="uni2007" unicode=" "+ />+ <glyph glyph-name="uni2010" unicode="‐"+d="M85 299v62h430v-62h-430z" />+ <glyph glyph-name="figuredash" unicode="‒"+d="M80 216v72h440v-72h-440z" />+ <glyph glyph-name="endash" unicode="–"+d="M80 216v72h440v-72h-440z" />+ <glyph glyph-name="emdash" unicode="—"+d="M0 216v72h600v-72h-600z" />+ <glyph glyph-name="uni2015" unicode="―"+d="M0 216v72h600v-72h-600z" />+ <glyph glyph-name="uni2016" unicode="‖"+d="M157 -250v1000h74v-1000h-74zM370 -250v1000h74v-1000h-74z" />+ <glyph glyph-name="underscoredbl" unicode="‗"+d="M60 -131v62h480v-62h-480zM60 -253v61h480v-61h-480z" />+ <glyph glyph-name="quoteleft" unicode="‘"+d="M299 350q-39 0 -64.5 31.5t-25.5 88.5q0 75 38 134.5t106 94.5l27 -48q-46 -27 -73 -66.5t-30 -91.5q12 6 26 6q31 0 50.5 -20t19.5 -52q0 -35 -21 -56t-53 -21z" />+ <glyph glyph-name="quoteright" unicode="’"+d="M245 350l-28 48q47 26 74 65.5t30 92.5q-12 -6 -26 -6q-32 0 -51.5 19.5t-19.5 51.5q0 35 21 56.5t53 21.5q40 0 65 -32t25 -89q0 -75 -38 -134t-105 -94z" />+ <glyph glyph-name="quotesinglbase" unicode="‚"+d="M245 -225l-28 48q47 26 74 65.5t30 92.5q-12 -6 -26 -6q-32 0 -51.5 19.5t-19.5 51.5q0 35 21 56.5t53 21.5q40 0 65 -32t25 -89q0 -75 -38 -134t-105 -94z" />+ <glyph glyph-name="quotereversed" unicode="‛"+d="M355 350q-67 35 -105 94t-38 134q0 57 25 89t65 32q32 0 53 -21.5t21 -56.5q0 -32 -19.5 -51.5t-51.5 -19.5q-14 0 -26 6q3 -53 30 -92.5t74 -65.5z" />+ <glyph glyph-name="quotedblleft" unicode="“"+d="M185 350q-39 0 -64.5 31.5t-25.5 88.5q0 75 38 134.5t106 94.5l27 -48q-46 -27 -73 -66.5t-30 -91.5q12 6 26 6q31 0 50.5 -20t19.5 -52q0 -35 -21 -56t-53 -21zM414 350q-39 0 -64.5 31.5t-25.5 88.5q0 75 38 134.5t106 94.5l27 -48q-46 -27 -73 -66.5t-30 -91.5+q12 6 26 6q31 0 50.5 -20t19.5 -52q0 -35 -21 -56t-53 -21z" />+ <glyph glyph-name="quotedblright" unicode="”"+d="M131 350l-28 48q47 26 74 65.5t30 92.5q-12 -6 -26 -6q-32 0 -51.5 19.5t-19.5 51.5q0 35 21 56.5t53 21.5q40 0 65 -32t25 -89q0 -75 -38 -134t-105 -94zM360 350l-28 48q47 26 74 65.5t30 92.5q-12 -6 -26 -6q-32 0 -51.5 19.5t-19.5 51.5q0 35 21 56.5t53 21.5+q40 0 65 -32t25 -89q0 -75 -38 -134t-105 -94z" />+ <glyph glyph-name="quotedblbase" unicode="„"+d="M131 -225l-28 48q47 26 74 65.5t30 92.5q-12 -6 -26 -6q-32 0 -51.5 19.5t-19.5 51.5q0 35 21 56.5t53 21.5q40 0 65 -32t25 -89q0 -75 -38 -134t-105 -94zM360 -225l-28 48q47 26 74 65.5t30 92.5q-12 -6 -26 -6q-32 0 -51.5 19.5t-19.5 51.5q0 35 21 56.5t53 21.5+q40 0 65 -32t25 -89q0 -75 -38 -134t-105 -94z" />+ <glyph glyph-name="dagger" unicode="†"+d="M265 -80l5 571l-143 -5v71l143 -5l-5 160h70l-5 -160l143 5v-71l-143 5l5 -571h-70z" />+ <glyph glyph-name="daggerdbl" unicode="‡"+d="M265 -80l5 160l-143 -5v71l143 -7l-5 177l5 177l-143 -7v71l143 -5l-5 160h70l-5 -160l143 5v-71l-143 7l5 -177l-5 -177l143 7v-71l-143 5l5 -160h-70z" />+ <glyph glyph-name="bullet" unicode="•"+d="M300 115q-30 0 -57 10.5t-47.5 30t-32.5 46.5t-12 60t12 60t32.5 46.5t47.5 30t57 10.5t57 -10.5t47.5 -30t32.5 -46.5t12 -60t-12 -60t-32.5 -46.5t-47.5 -30t-57 -10.5z" />+ <glyph glyph-name="ellipsis" unicode="…"+d="M102 -12q-29 0 -49.5 21t-20.5 54q0 34 20.5 54.5t49.5 20.5t49 -20.5t20 -54.5q0 -33 -20 -54t-49 -21zM300 -12q-29 0 -49.5 21t-20.5 54q0 34 20.5 54.5t49.5 20.5t49.5 -20.5t20.5 -54.5q0 -33 -20.5 -54t-49.5 -21zM498 -12q-29 0 -49 21t-20 54q0 34 20 54.5+t49 20.5t49.5 -20.5t20.5 -54.5q0 -33 -20.5 -54t-49.5 -21z" />+ <glyph glyph-name="uni202F" unicode=" "+ />+ <glyph glyph-name="perthousand" unicode="‰"+d="M165 389q-52 0 -84.5 34.5t-32.5 97.5q0 61 32.5 95t84.5 34t84.5 -34t32.5 -95q0 -63 -32.5 -97.5t-84.5 -34.5zM165 431q27 0 44.5 21.5t17.5 68.5q0 45 -17.5 66t-44.5 21t-45 -21t-18 -66q0 -47 18 -68.5t45 -21.5zM119 278l-14 31l446 201l24 -58zM165 -12+q-52 0 -84.5 34.5t-32.5 97.5q0 61 32.5 95t84.5 34t84.5 -34t32.5 -95q0 -63 -32.5 -97.5t-84.5 -34.5zM165 30q27 0 44.5 21.5t17.5 68.5q0 45 -17.5 65.5t-44.5 20.5t-45 -20.5t-18 -65.5q0 -47 18 -68.5t45 -21.5zM436 -12q-52 0 -84.5 34.5t-32.5 97.5q0 61 32.5 95+t84.5 34t84.5 -34t32.5 -95q0 -63 -32.5 -97.5t-84.5 -34.5zM436 30q27 0 44.5 21.5t17.5 68.5q0 45 -17.5 65.5t-44.5 20.5t-45 -20.5t-18 -65.5q0 -47 18 -68.5t45 -21.5z" />+ <glyph glyph-name="uni2032" unicode="′"+d="M257 434l22 256h81l-15 -100l-34 -156h-54z" />+ <glyph glyph-name="uni2033" unicode="″"+d="M170 434l22 256h81l-15 -100l-34 -156h-54zM345 434l22 256h81l-15 -100l-34 -156h-54z" />+ <glyph glyph-name="uni2035" unicode="‵"+d="M289 434l-34 156l-15 100h81l22 -256h-54z" />+ <glyph glyph-name="guilsinglleft" unicode="‹"+d="M350 52l-153 160v80l153 160l39 -35l-127 -165l127 -166z" />+ <glyph glyph-name="guilsinglright" unicode="›"+d="M250 52l-39 34l127 166l-127 165l39 35l153 -160v-80z" />+ <glyph glyph-name="exclamdbl" unicode="‼"+d="M139 232l-10 344l-2 94h80l-2 -94l-10 -344h-56zM167 -12q-30 0 -51.5 21t-21.5 57q0 35 21.5 55.5t51.5 20.5t51.5 -20.5t21.5 -55.5q0 -36 -21.5 -57t-51.5 -21zM393 232l-10 344l-2 94h80l-2 -94l-10 -344h-56zM421 -12q-30 0 -51.5 21t-21.5 57q0 35 21.5 55.5+t51.5 20.5t51.5 -20.5t21.5 -55.5q0 -36 -21.5 -57t-51.5 -21z" />+ <glyph glyph-name="uni203D" unicode="‽"+d="M254 232l-11 224l-4 76h70l-1 -76l-3 -107q15 19 33 36t33 35.5t25.5 40.5t10.5 51q0 45 -31.5 75t-92.5 30q-80 0 -141 -63l-48 44q35 38 85.5 61t109.5 23q44 0 80 -11.5t61.5 -32.5t39.5 -50t14 -63q0 -40 -13.5 -68.5t-33.5 -51t-43 -41t-42 -38t-31 -42t-9 -52.5+h-58zM282 -12q-28 0 -48.5 20.5t-20.5 54.5t20.5 54.5t48.5 20.5q29 0 49.5 -20.5t20.5 -54.5t-20.5 -54.5t-49.5 -20.5z" />+ <glyph glyph-name="uni203E" unicode="‾"+d="M62 577v54h476v-54h-476z" />+ <glyph glyph-name="uni203F" unicode="‿"+d="M300 -233q-128 0 -240.5 32.5t-213.5 95.5l24 41q96 -58 208.5 -84.5t221.5 -26.5t221.5 26.5t208.5 84.5l24 -41q-101 -63 -213.5 -95.5t-240.5 -32.5z" />+ <glyph glyph-name="fraction" unicode="⁄"+d="M77 32l-49 45l183 188l33 -30zM389 391l-33 30l167 203l49 -45z" />+ <glyph glyph-name="uni2047" unicode="⁇"+d="M102 232q-6 35 -0.5 63.5t18 53.5t28 46.5t30 43.5t24 45.5t9.5 50.5q0 33 -18 56t-55 23q-24 0 -43.5 -11t-39.5 -37l-41 49q29 33 63 50t76 17q31 0 56.5 -10t43.5 -27.5t28 -42t10 -52.5q0 -35 -10 -63.5t-25 -52.5t-32 -46.5t-30.5 -46t-20.5 -50t-2 -59.5h-69z+M146 -12q-30 0 -51.5 21t-21.5 57q0 35 21.5 55.5t51.5 20.5t51.5 -20.5t21.5 -55.5q0 -36 -21.5 -57t-51.5 -21zM382 232q-6 35 -0.5 63.5t18 53.5t28 46.5t30 43.5t24 45.5t9.5 50.5q0 33 -18 56t-55 23q-24 0 -43.5 -11t-39.5 -37l-41 49q29 33 63 50t76 17+q31 0 56.5 -10t43.5 -27.5t28 -42t10 -52.5q0 -35 -10 -63.5t-25 -52.5t-32 -46.5t-30.5 -46t-20.5 -50t-2 -59.5h-69zM426 -12q-30 0 -51.5 21t-21.5 57q0 35 21.5 55.5t51.5 20.5t51.5 -20.5t21.5 -55.5q0 -36 -21.5 -57t-51.5 -21z" />+ <glyph glyph-name="uni2048" unicode="⁈"+d="M102 232q-6 35 -0.5 63.5t18 53.5t28 46.5t30 43.5t24 45.5t9.5 50.5q0 33 -18 56t-55 23q-24 0 -43.5 -11t-39.5 -37l-41 49q29 33 63 50t76 17q31 0 56.5 -10t43.5 -27.5t28 -42t10 -52.5q0 -35 -10 -63.5t-25 -52.5t-32 -46.5t-30.5 -46t-20.5 -50t-2 -59.5h-69z+M146 -12q-30 0 -51.5 21t-21.5 57q0 35 21.5 55.5t51.5 20.5t51.5 -20.5t21.5 -55.5q0 -36 -21.5 -57t-51.5 -21zM412 232l-10 344l-2 94h80l-2 -94l-10 -344h-56zM440 -12q-30 0 -51.5 21t-21.5 57q0 35 21.5 55.5t51.5 20.5t51.5 -20.5t21.5 -55.5q0 -36 -21.5 -57+t-51.5 -21z" />+ <glyph glyph-name="uni2049" unicode="⁉"+d="M382 232q-6 35 -0.5 63.5t18 53.5t28 46.5t30 43.5t24 45.5t9.5 50.5q0 33 -18 56t-55 23q-24 0 -43.5 -11t-39.5 -37l-41 49q29 33 63 50t76 17q31 0 56.5 -10t43.5 -27.5t28 -42t10 -52.5q0 -35 -10 -63.5t-25 -52.5t-32 -46.5t-30.5 -46t-20.5 -50t-2 -59.5h-69z+M426 -12q-30 0 -51.5 21t-21.5 57q0 35 21.5 55.5t51.5 20.5t51.5 -20.5t21.5 -55.5q0 -36 -21.5 -57t-51.5 -21zM132 232l-10 344l-2 94h80l-2 -94l-10 -344h-56zM160 -12q-30 0 -51.5 21t-21.5 57q0 35 21.5 55.5t51.5 20.5t51.5 -20.5t21.5 -55.5q0 -36 -21.5 -57+t-51.5 -21z" />+ <glyph glyph-name="zero.sups" unicode="⁰"+d="M300 383q-72 0 -115.5 54t-43.5 154q0 99 43.5 152.5t115.5 53.5t115.5 -53.5t43.5 -152.5q0 -100 -43.5 -154t-115.5 -54zM300 434q43 0 70 39t27 118q0 78 -27 116.5t-70 38.5t-70 -38.5t-27 -116.5q0 -79 27 -118t70 -39z" />+ <glyph glyph-name="i.sups" unicode="ⁱ"+d="M316 395v271h-141v50h205v-321h-64zM343 779q-21 0 -34.5 12.5t-13.5 32.5q0 21 13.5 34t34.5 13t35 -13t14 -34q0 -20 -14 -32.5t-35 -12.5z" />+ <glyph glyph-name="four.sups" unicode="⁴"+d="M346 395v104h-198v33l154 265l47 -25l-132 -227h129v116h58v-116h58v-46h-58v-104h-58z" />+ <glyph glyph-name="five.sups" unicode="⁵"+d="M299 383q-55 0 -94 21t-63 55l42 33q40 -58 111 -58q39 0 64.5 24t25.5 62q0 40 -27 63t-69 23q-25 0 -43.5 -9t-35.5 -23l-32 22l19 189h232v-56h-180l-10 -96q16 8 34.5 11.5t37.5 3.5q28 0 53.5 -8.5t44 -25t29.5 -41t11 -56.5q0 -30 -11.5 -54.5t-31.5 -42.5+t-47.5 -27.5t-59.5 -9.5z" />+ <glyph glyph-name="six.sups" unicode="⁶"+d="M313 383q-75 0 -118.5 52t-43.5 144q0 55 14 96t38 68t57 40.5t71 13.5t62 -8.5t44 -22.5l-27 -44q-16 11 -34.5 17.5t-42.5 6.5q-48 0 -82 -36t-39 -111q44 41 108 41t98 -34.5t34 -90.5q0 -28 -10.5 -52t-29.5 -42t-44 -28t-55 -10zM312 434q35 0 58 22t23 58+q0 35 -21.5 57t-63.5 22q-25 0 -48.5 -9t-47.5 -35q5 -57 31.5 -86t68.5 -29z" />+ <glyph glyph-name="seven.sups" unicode="⁷"+d="M247 395q3 51 12.5 93.5t25 82.5t38.5 78.5t54 80.5h-221v55h293v-36q-37 -47 -61.5 -89t-39.5 -84t-22.5 -86t-10.5 -95h-68z" />+ <glyph glyph-name="eight.sups" unicode="⁸"+d="M299 383q-72 0 -110 31t-38 76q0 38 22.5 65.5t61.5 44.5v4q-33 20 -50.5 39t-17.5 51q0 46 36 74.5t96 28.5q62 0 98 -27.5t36 -75.5q0 -35 -20 -57t-49 -37v-4q42 -19 62 -43t20 -61q0 -47 -39 -78t-108 -31zM322 617q31 20 41.5 37t10.5 37q0 26 -20.5 41.5+t-55.5 15.5q-34 0 -53 -15.5t-19 -40.5q0 -29 27 -45t69 -30zM299 429q42 0 64.5 19.5t22.5 46.5q0 18 -9 30t-24.5 21t-35.5 16.5t-42 16.5q-35 -18 -49.5 -38.5t-14.5 -45.5q0 -26 21.5 -46t66.5 -20z" />+ <glyph glyph-name="nine.sups" unicode="⁹"+d="M290 586q25 0 48 9t47 34q-5 58 -31.5 87.5t-67.5 29.5q-35 0 -58 -22.5t-23 -57.5t21.5 -57.5t63.5 -22.5zM267 383q-38 0 -63 8.5t-43 21.5l26 45q16 -11 35 -17.5t43 -6.5q48 0 81.5 35.5t38.5 110.5q-44 -40 -108 -40q-63 0 -97.5 34.5t-34.5 89.5q0 28 10.5 52.5+t29.5 42.5t44.5 28t55.5 10q74 0 118 -52t44 -145q0 -55 -14 -96t-38 -68t-57 -40t-71 -13z" />+ <glyph glyph-name="parenleft.sups" unicode="⁽"+d="M344 316q-29 33 -49.5 63.5t-33.5 63t-19 68.5t-6 78t6 77.5t19 68t33.5 63.5t49.5 64l45 -26q-53 -62 -72 -121.5t-19 -125.5t19 -125t72 -122z" />+ <glyph glyph-name="parenright.sups" unicode="⁾"+d="M257 316l-46 26q53 63 72 122t19 125t-19 125.5t-72 121.5l46 26q28 -33 48.5 -64t33.5 -63.5t19 -68t6 -77.5t-6 -78t-19 -68.5t-33.5 -63t-48.5 -63.5z" />+ <glyph glyph-name="n.sups" unicode="ⁿ"+d="M175 395v321h53l5 -48h3q23 23 50.5 39.5t64.5 16.5q56 0 82.5 -32.5t26.5 -94.5v-202h-64v194q0 42 -15.5 61.5t-51.5 19.5q-26 0 -45.5 -12.5t-44.5 -36.5v-226h-64z" />+ <glyph glyph-name="zero.subs" unicode="₀"+d="M300 -189q-72 0 -115.5 54t-43.5 154q0 99 43.5 152.5t115.5 53.5t115.5 -53.5t43.5 -152.5q0 -100 -43.5 -154t-115.5 -54zM300 -138q43 0 70 39t27 118q0 78 -27 116.5t-70 38.5t-70 -38.5t-27 -116.5q0 -79 27 -118t70 -39z" />+ <glyph glyph-name="one.subs" unicode="₁"+d="M175 -177v54h123v254h-105v41q41 6 67.5 15t49.5 26h52v-336h114v-54h-301z" />+ <glyph glyph-name="two.subs" unicode="₂"+d="M162 -177l-4 37q50 43 88.5 75.5t64.5 59.5t39 49.5t13 44.5q0 38 -23 60t-62 22q-28 0 -52.5 -16t-41.5 -41l-38 35q23 35 60.5 55.5t80.5 20.5q63 0 101.5 -32t38.5 -95q0 -28 -12.5 -53.5t-34.5 -51.5t-52 -54t-66 -62h184v-54h-284z" />+ <glyph glyph-name="three.subs" unicode="₃"+d="M297 -189q-51 0 -91.5 21t-63.5 55l42 33q19 -29 47.5 -43.5t61.5 -14.5q36 0 62 18t26 51q0 70 -131 70v40q60 0 88 20.5t28 50.5q0 28 -21.5 45t-58.5 17q-25 0 -49 -13t-41 -35l-38 34q26 31 59.5 48t77.5 17q27 0 51.5 -7.5t43 -21t29.5 -33t11 -43.5+q0 -35 -19.5 -58t-59.5 -38q43 -8 68.5 -33t25.5 -63q0 -27 -11.5 -48.5t-32 -37t-47.5 -23.5t-57 -8z" />+ <glyph glyph-name="four.subs" unicode="₄"+d="M346 -177v104h-198v33l154 265l47 -25l-132 -227h129v116h58v-116h58v-46h-58v-104h-58z" />+ <glyph glyph-name="five.subs" unicode="₅"+d="M299 -189q-55 0 -94 21t-63 55l42 33q40 -58 111 -58q39 0 64.5 24t25.5 62q0 40 -27 63t-69 23q-25 0 -43.5 -9t-35.5 -23l-32 22l19 189h232v-56h-180l-10 -96q16 8 34.5 11.5t37.5 3.5q28 0 53.5 -8.5t44 -25t29.5 -41t11 -56.5q0 -30 -11.5 -54.5t-31.5 -42.5+t-47.5 -27.5t-59.5 -9.5z" />+ <glyph glyph-name="six.subs" unicode="₆"+d="M313 -189q-75 0 -118.5 52t-43.5 144q0 55 14 96t38 68t57 40.5t71 13.5t62 -8.5t44 -22.5l-27 -44q-16 11 -34.5 17.5t-42.5 6.5q-48 0 -82 -36t-39 -111q44 41 108 41t98 -34.5t34 -90.5q0 -28 -10.5 -52t-29.5 -42t-44 -28t-55 -10zM312 -138q35 0 58 22t23 58+q0 35 -21.5 57t-63.5 22q-25 0 -48.5 -9t-47.5 -35q5 -57 31.5 -86t68.5 -29z" />+ <glyph glyph-name="seven.subs" unicode="₇"+d="M247 -177q3 51 12.5 93.5t25 82.5t38.5 78.5t54 80.5h-221v55h293v-36q-37 -47 -61.5 -89t-39.5 -84t-22.5 -86t-10.5 -95h-68z" />+ <glyph glyph-name="eight.subs" unicode="₈"+d="M299 -189q-72 0 -110 31t-38 76q0 38 22.5 65.5t61.5 44.5v4q-33 20 -50.5 39t-17.5 51q0 46 36 74.5t96 28.5q62 0 98 -27.5t36 -75.5q0 -35 -20 -57t-49 -37v-4q42 -19 62 -43t20 -61q0 -47 -39 -78t-108 -31zM322 45q31 20 41.5 37t10.5 37q0 26 -20.5 41.5+t-55.5 15.5q-34 0 -53 -15.5t-19 -40.5q0 -29 27 -45t69 -30zM299 -143q42 0 64.5 19.5t22.5 46.5q0 18 -9 30t-24.5 21t-35.5 16.5t-42 16.5q-35 -18 -49.5 -38.5t-14.5 -45.5q0 -26 21.5 -46t66.5 -20z" />+ <glyph glyph-name="nine.subs" unicode="₉"+d="M290 14q25 0 48 9t47 34q-5 58 -31.5 87.5t-67.5 29.5q-35 0 -58 -22.5t-23 -57.5t21.5 -57.5t63.5 -22.5zM267 -189q-38 0 -63 8.5t-43 21.5l26 45q16 -11 35 -17.5t43 -6.5q48 0 81.5 35.5t38.5 110.5q-44 -40 -108 -40q-63 0 -97.5 34.5t-34.5 89.5q0 28 10.5 52.5+t29.5 42.5t44.5 28t55.5 10q74 0 118 -52t44 -145q0 -55 -14 -96t-38 -68t-57 -40t-71 -13z" />+ <glyph glyph-name="parenleft.subs" unicode="₍"+d="M344 -256q-29 33 -49.5 63.5t-33.5 63t-19 68.5t-6 78t6 77.5t19 68t33.5 63.5t49.5 64l45 -26q-53 -62 -72 -121.5t-19 -125.5t19 -125t72 -122z" />+ <glyph glyph-name="parenright.subs" unicode="₎"+d="M257 -256l-46 26q53 63 72 122t19 125t-19 125.5t-72 121.5l46 26q28 -33 48.5 -64t33.5 -63.5t19 -68t6 -77.5t-6 -78t-19 -68.5t-33.5 -63t-48.5 -63.5z" />+ <glyph glyph-name="uni0259.sups" unicode="ₔ"+d="M298 387q-36 0 -65 11.5t-49.5 32.5t-31 49.5t-10.5 62.5q0 11 1 20t2 15h250q-6 49 -37.5 73.5t-76.5 24.5q-50 0 -94 -25l-22 40q26 17 57 26t67 9q35 0 65.5 -11.5t53 -33.5t35 -53t12.5 -71q0 -39 -13 -70.5t-34.5 -53.5t-50 -34t-59.5 -12zM296 437q36 0 63.5 22.5+t34.5 70.5h-197q4 -50 31.5 -71.5t67.5 -21.5z" />+ <glyph glyph-name="colonmonetary" unicode="₡"+d="M365 584h-10t-10 -1l-60 -511q28 -16 59 -17l62 523q-20 6 -41 6zM181 321q0 -141 60 -213l54 462q-56 -26 -85 -90t-29 -159zM216 -102l14 123q-62 37 -98 112.5t-36 184.5q0 134 55.5 218t151.5 107l13 107l48 -8l-11 -92h17q11 0 22 -1.5t22 -3.5l12 105l48 -8+l-13 -113q43 -21 76 -57l-49 -47q-15 17 -36 31l-58 -499q30 7 55 24t48 44l49 -44q-32 -38 -71 -61.5t-89 -29.5l-12 -100l-48 8l11 91q-30 1 -60 11l-13 -110z" />+ <glyph glyph-name="franc" unicode="₣"+d="M148 0v124h-79v52l79 4v458h385v-71h-302v-197h253v-70h-253v-120h160v-56h-160v-124h-83z" />+ <glyph glyph-name="lira" unicode="₤"+d="M78 0v50q63 28 93.5 75.5t30.5 104.5v6h-124v44l87 5h29q-4 17 -10 33t-12 33h-94v46l77 3q-5 17 -8 33t-3 33q0 42 15 76t42.5 58t66 37t86.5 13q62 0 104.5 -21.5t71.5 -53.5l-48 -47q-23 23 -52.5 38t-71.5 15q-66 0 -100.5 -32.5t-34.5 -84.5q0 -17 2.5 -32.5+t7.5 -31.5h209v-49h-193q5 -16 10.5 -32.5t9.5 -33.5h173v-49h-167v-7q0 -53 -18 -88t-54 -66v-4h328v-71h-453z" />+ <glyph glyph-name="uni20A6" unicode="₦"+d="M170 563l9 -163h59l-64 163h-4zM426 74h4l-9 162h-58zM121 0v236h-75v43l75 5v68h-75v43l75 5v238h84l94 -238h115v238h65v-238h73v-48h-73v-68h73v-48h-73v-236h-84l-93 236h-116v-236h-65zM419 284l-4 68h-97l27 -68h74zM283 284l-26 68h-76l4 -68h98z" />+ <glyph glyph-name="peseta" unicode="₧"+d="M135 0v417h-93v51l93 5v165h148q45 0 84 -9t68.5 -28.5t48 -51t23.5 -76.5h76v-56h-76q-5 -44 -24 -76.5t-48.5 -53.5t-68 -31.5t-83.5 -10.5h-70v-245h-78zM213 581v-108h214q-8 59 -47 83.5t-108 24.5h-59zM213 302h59q69 0 108 29t47 86h-214v-115z" />+ <glyph glyph-name="uni20A9" unicode="₩"+d="M298 528l-14 -174h32l-14 174h-4zM408 68h4l12 130l10 98h-49l11 -98zM140 0l-36 296h-76v52l69 6l-34 284h76l29 -284h59l27 244h98l27 -244h60l28 284h71l-31 -284h63v-58h-70l-32 -296h-112l-34 296h-44l-32 -296h-106zM194 68h4l12 130l11 98h-47l10 -98z" />+ <glyph glyph-name="dong" unicode="₫"+d="M276 110q-76 0 -121.5 48.5t-45.5 140.5q0 41 14.5 74t39 56.5t56 36t64.5 12.5q39 0 65.5 -12t50.5 -34h3l-5 83v34h-155v49h155v67h71v-67h78v-44l-78 -5v-429h-58l-6 46h-3q-24 -25 -55 -40.5t-70 -15.5zM291 169q28 0 54 12.5t52 40.5v155q-27 22 -49.5 31.5+t-52.5 9.5q-23 0 -43.5 -9t-36 -25t-24.5 -37.5t-9 -46.5q0 -62 28.5 -96.5t80.5 -34.5zM121 0v49h378v-49h-378z" />+ <glyph glyph-name="Euro" unicode="€"+d="M374 -12q-99 0 -166 65t-86 183h-64v44l59 4q-1 8 -1 17v17v16.5t1 16.5h-59v44l64 5q19 118 89.5 184t176.5 66q51 0 95 -22.5t74 -55.5l-49 -47q-26 26 -55.5 42.5t-67.5 16.5q-73 0 -118.5 -48.5t-59.5 -135.5h294v-49h-299q-1 -8 -1 -15v-15v-18t1 -18h259v-49h-253+q14 -86 58 -134t113 -48q43 0 75.5 18t62.5 53l49 -44q-38 -44 -84 -68.5t-108 -24.5z" />+ <glyph glyph-name="uni20AE" unicode="₮"+d="M120 255l-22 43l160 75v201h-203v64h490v-64h-203v-166l138 64l22 -40l-160 -77v-72l138 64l22 -40l-160 -76v-231h-84v195l-138 -65l-22 43l160 75v72z" />+ <glyph glyph-name="uni20B1" unicode="₱"+d="M135 0v372h-93v40l93 6v58h-93v40l93 6v116h148q77 0 133.5 -26.5t79.5 -89.5h88v-46h-78q1 -8 1.5 -16t0.5 -16v-13.5t-1 -12.5h77v-46h-87q-21 -65 -78.5 -96t-135.5 -31h-70v-245h-78zM213 581v-59h199q-18 32 -53.5 45.5t-86.5 13.5h-59zM429 444q0 9 -0.5 16.5+t-1.5 15.5h-214v-58h214q1 6 1.5 12.5t0.5 13.5zM213 302h59q107 0 142 70h-201v-70z" />+ <glyph glyph-name="uni20B2" unicode="₲"+d="M311 -110v100q-50 6 -92 31t-72 67t-46.5 100t-16.5 130q0 70 16 127.5t45.5 100t71.5 68t94 33.5v101h60v-99q46 -4 85.5 -26t66.5 -53l-49 -46q-26 27 -55.5 43.5t-67.5 16.5q-44 0 -77.5 -18.5t-57 -52.5t-35.5 -83t-12 -109q0 -62 12 -111t34.5 -83t55 -52.5+t74.5 -18.5q32 0 61 11t45 26v169h-116v69h191v-270q-67 -62 -155 -71v-100h-60z" />+ <glyph glyph-name="uni20B4" unicode="₴"+d="M323 -12q-45 0 -82 11.5t-63.5 33t-41 52.5t-14.5 70q0 44 19 80h-80v43l69 5h46q18 20 40 36t45 31h-200v44l70 5h202q26 20 42.5 43t16.5 52q0 38 -27.5 64t-75.5 26q-41 0 -68 -15.5t-57 -48.5l-44 47q33 37 72 60t100 23q40 0 73 -11.5t57 -32.5t37 -50t13 -64+q0 -28 -8.5 -50.5t-23.5 -42.5h97v-49h-147q-23 -18 -48 -34t-48 -33h243v-48h-300q-16 -18 -25.5 -38.5t-9.5 -45.5q0 -43 30.5 -70t90.5 -27q45 0 81.5 20.5t69.5 52.5l38 -55q-36 -38 -85.5 -61t-103.5 -23z" />+ <glyph glyph-name="uni20B5" unicode="₵"+d="M181 321q0 -112 38.5 -182t110.5 -83v525q-72 -14 -110.5 -83t-38.5 -177zM330 -110v99q-52 5 -95 29.5t-74 66.5t-48 101t-17 132q0 71 16.5 129t47 100t74 68t96.5 33v97h53v-96q47 -3 86.5 -24.5t67.5 -52.5l-49 -47q-23 23 -48 38.5t-57 19.5v-527q34 5 61 22.5+t53 46.5l49 -44q-33 -38 -72.5 -62t-90.5 -29v-100h-53z" />+ <glyph glyph-name="uni20B8" unicode="₸"+d="M258 0v474h-203v44l82 4h408v-48h-203v-474h-84zM55 589v49h490v-49h-490z" />+ <glyph glyph-name="uni20B9" unicode="₹"+d="M108 252v67h79q83 0 131 29t53 89h-263v44l76 5h184q-12 46 -58.5 65t-122.5 19h-79v68h417v-49h-157q33 -15 54.5 -41.5t28.5 -61.5h74v-49h-72q-5 -77 -51 -120.5t-120 -57.5l208 -259h-93l-200 252h-89z" />+ <glyph glyph-name="uni20BA" unicode="₺"+d="M160 -12v273l-93 -43l-22 43l115 53v72l-93 -43l-22 42l115 54v199h84v-158l171 81l23 -43l-194 -91v-72l171 81l23 -43l-194 -91v-236q37 1 76 12t71.5 31.5t53 51t20.5 69.5q0 8 -0.5 18.5t-5.5 24.5l69 18q5 -17 6.5 -30.5t1.5 -26.5q0 -63 -29 -110t-80 -78+t-119.5 -45.5t-147.5 -12.5z" />+ <glyph glyph-name="uni20BD" unicode="₽"+d="M158 0v164h-116v44l116 5v67h-116v44l116 4v310h173q49 0 91.5 -10t73 -31.5t48 -55t17.5 -79.5q0 -48 -17.5 -82.5t-48.5 -56.5t-73 -32.5t-91 -10.5h-94v-67h258v-49h-258v-164h-79zM237 328h84q78 0 119.5 32.5t41.5 98.5q0 67 -41.5 94.5t-119.5 27.5h-84v-253z" />+ <glyph glyph-name="uni2105" unicode="℅"+d="M166 321q-30 0 -55 11t-44 32t-29.5 51.5t-10.5 69.5t12 69.5t32 52t46 32.5t54 11q32 0 55 -12t40 -27l-32 -39q-14 12 -28 20t-32 8q-36 0 -60.5 -32t-24.5 -83t23 -82.5t60 -31.5q23 0 41 9.5t32 21.5l28 -39q-23 -20 -50 -31t-57 -11zM78 32l-49 45l183 188l33 -30z+M390 391l-33 30l167 203l49 -45zM434 -12q-61 0 -100 44t-39 122t39 120.5t100 42.5t100 -42.5t39 -120.5t-39 -122t-100 -44zM434 38q32 0 55 28.5t23 87.5q0 60 -23 87t-55 27t-55 -27t-23 -87q0 -59 23 -87.5t55 -28.5z" />+ <glyph glyph-name="uni2113" unicode="ℓ"+d="M361 -12q-30 0 -57 9.5t-48 30t-35 53t-18 78.5q-26 -18 -54 -36l-33 52q23 15 44.5 30t41.5 31v267q0 58 11 99t30.5 67.5t46.5 38.5t58 12q57 0 93.5 -40t36.5 -115q0 -94 -52 -180.5t-144 -164.5v-25q0 -39 7 -65t19.5 -42t29 -23t34.5 -7q31 0 52.5 13.5t39.5 30.5+l33 -51q-26 -23 -59 -43t-77 -20zM282 517v-211q59 60 92.5 124t33.5 135q0 50 -16.5 71t-41.5 21q-27 0 -47.5 -33.5t-20.5 -106.5z" />+ <glyph glyph-name="uni2116" unicode="№"+d="M35 -12q-5 0 -13 0.5t-14 2.5l-6 65q15 0 22.5 8.5t7.5 33.5v540h86q3 -11 12.5 -42t22 -72t26 -86.5t25.5 -86.5t20.5 -72t11.5 -43q9 -29 19 -69t18 -69h4q-3 47 -6.5 86.5t-6.5 75t-4.5 69t-1.5 69.5v153q0 99 68 99q5 0 13 -0.5t15 -2.5l5 -65q-14 0 -21.5 -8.5+t-7.5 -33.5v-540h-88q-3 11 -12 42t-21 72t-25.5 87t-25.5 87t-21 72t-12 43q-4 14 -9 32t-10 37t-9.5 36.5t-8.5 31.5h-4q4 -47 7.5 -86.5t6.5 -75t4.5 -69t1.5 -69.5v-154q0 -98 -69 -98zM494 276q-23 0 -43.5 9.5t-36.5 29.5t-25 50.5t-9 72.5q0 41 9 71.5t25 50t36.5 29+t43.5 9.5q46 0 79 -39t33 -121q0 -83 -33 -122.5t-79 -39.5zM494 331q50 0 50 107q0 106 -50 106q-52 0 -52 -106q0 -107 52 -107zM408 168v54h172v-54h-172z" />+ <glyph glyph-name="uni2117" unicode="℗"+d="M300 -11q-57 0 -106.5 23.5t-86 67t-57 105t-20.5 138.5q0 76 20.5 137.5t57 104t86 65.5t106.5 23t106.5 -23t86 -65.5t57 -104t20.5 -137.5q0 -77 -20.5 -138.5t-57 -105t-86 -67t-106.5 -23.5zM300 31q50 0 91.5 21t71 59.5t45.5 92t16 119.5t-16 119t-45.5 91+t-71 58.5t-91.5 20.5t-91.5 -20.5t-71 -58.5t-45.5 -91t-16 -119t16 -119.5t45.5 -92t71 -59.5t91.5 -21zM193 137v363h114q28 0 53 -7t43.5 -21t29 -36.5t10.5 -52.5q0 -33 -10.5 -57.5t-29 -41t-43.5 -24.5t-53 -8h-49v-115h-65zM258 302h39q39 0 60 18.5t21 60.5+q0 36 -21.5 52t-59.5 16h-39v-147z" />+ <glyph glyph-name="uni2120" unicode="℠"+d="M125 354q-33 0 -60 12.5t-50 35.5l33 37q19 -17 37.5 -27.5t43.5 -10.5q23 0 36 10.5t13 28.5q0 20 -9.5 27.5t-32.5 18.5l-46 24q-22 11 -40.5 30.5t-18.5 54.5q0 39 28 63.5t76 24.5q28 0 53 -11t42 -27l-30 -39q-15 12 -32.5 21t-34.5 9q-23 0 -35 -11.5t-12 -26.5+t10.5 -24.5t30.5 -18.5l46 -23q29 -14 45 -33t16 -54q0 -18 -7.5 -34t-21.5 -29t-34.5 -20.5t-45.5 -7.5zM292 366v310h71l45 -114l27 -80h4l26 80l44 114h71v-310h-55v137l7 105h-4l-71 -187h-42l-72 187h-4l7 -105v-137h-54z" />+ <glyph glyph-name="trademark" unicode="™"+d="M91 366v256h-96v54h252v-54h-96v-256h-60zM292 366v310h71l45 -114l27 -80h4l26 80l44 114h71v-310h-55v137l7 105h-4l-71 -187h-42l-72 187h-4l7 -105v-137h-54z" />+ <glyph glyph-name="uni2126" unicode="Ω"+d="M38 0v68h121v4q-21 20 -40.5 47.5t-35.5 62.5t-25.5 77t-9.5 92q0 69 17.5 127t50.5 100.5t79.5 66t104.5 23.5t104.5 -23.5t79.5 -66t50.5 -100.5t17.5 -127q0 -50 -9.5 -92t-25.5 -77t-35.5 -62.5t-40.5 -47.5v-4h121v-68h-210v61q24 24 45 52t36.5 62.5t24 76.5+t8.5 94q0 53 -11 98.5t-32 79t-52 52.5t-71 19t-71 -19t-52 -52.5t-32 -79t-11 -98.5q0 -52 8.5 -94t24 -76.5t36.5 -62.5t45 -52v-61h-210z" />+ <glyph glyph-name="estimated" unicode="℮"+d="M300 -12q-57 0 -106.5 26.5t-87 72t-59 106.5t-21.5 131t21.5 131t59 106.5t87 72t106.5 26.5t106.5 -26.5t87 -72t59 -106.5t21.5 -131v-8h-414q-4 0 -4 -4v-224q0 -6 2.5 -10.5t5.5 -9.5q26 -29 61.5 -44.5t76.5 -15.5q53 0 100 30.5t82 81.5h38q-41 -60 -97.5 -96+t-124.5 -36zM160 334h280q6 0 6 6v224q0 12 -10 22q-26 26 -61 40t-73 14q-41 0 -76.5 -15.5t-61.5 -42.5q-3 -5 -5.5 -11t-2.5 -11v-220q0 -6 4 -6z" />+ <glyph glyph-name="uni2150" unicode="⅐"+d="M150 333v230h-82v42q33 5 53.5 13t41.5 20h50v-305h-63zM77 32l-49 45l183 188l33 -30zM389 391l-33 30l167 203l49 -45zM394 0q2 39 8.5 71.5t18.5 62t30 58.5t42 60h-169v53h243v-36q-32 -35 -52 -66.5t-32 -63t-17 -65.5t-7 -74h-65z" />+ <glyph glyph-name="uni2151" unicode="⅑"+d="M150 333v230h-82v42q33 5 53.5 13t41.5 20h50v-305h-63zM77 32l-49 45l183 188l33 -30zM389 391l-33 30l167 203l49 -45zM431 161q20 0 37.5 7.5t36.5 25.5q-5 39 -27 56.5t-48 17.5q-27 0 -42.5 -15t-15.5 -40q0 -23 14 -37.5t45 -14.5zM412 -12q-29 0 -51.5 9.5+t-41.5 23.5l26 40q14 -11 29.5 -17t35.5 -6q42 0 67 28.5t29 85.5q-19 -16 -41.5 -25t-48.5 -9q-51 0 -76.5 26.5t-25.5 68.5q0 44 32 74t83 30q59 0 98 -40.5t39 -111.5q0 -86 -42.5 -131.5t-111.5 -45.5z" />+ <glyph glyph-name="uni2152" unicode="⅒"+d="M165 401v162h-82v42q33 5 53.5 12.5t41.5 20.5h50v-237h-63zM119 278l-14 31l446 201l24 -58zM165 0v162h-82v42q33 5 53.5 12.5t41.5 20.5h50v-237h-63zM436 -12q-52 0 -84.5 34.5t-32.5 97.5q0 61 32.5 95t84.5 34t84.5 -34t32.5 -95q0 -63 -32.5 -97.5t-84.5 -34.5z+M436 30q27 0 44.5 21.5t17.5 68.5q0 45 -17.5 65.5t-44.5 20.5t-45 -20.5t-18 -65.5q0 -47 18 -68.5t45 -21.5z" />+ <glyph glyph-name="onethird" unicode="⅓"+d="M150 333v230h-82v42q33 5 53.5 13t41.5 20h50v-305h-63zM77 32l-49 45l183 188l33 -30zM389 391l-33 30l167 203l49 -45zM440 -12q-35 0 -68.5 14t-58.5 40l32 39q15 -18 39.5 -30.5t51.5 -12.5t44.5 11t17.5 36q0 51 -96 51v38q42 0 61.5 14t19.5 37q0 20 -13 31.5+t-42 11.5q-18 0 -38 -9.5t-35 -24.5l-30 38q19 20 49.5 32.5t65.5 12.5q47 0 76.5 -22t29.5 -62q0 -55 -56 -75q32 -8 51.5 -27t19.5 -50q0 -45 -35 -69t-86 -24z" />+ <glyph glyph-name="twothirds" unicode="⅔"+d="M43 333v36q78 59 119.5 98t41.5 72q0 27 -15.5 43t-44.5 16q-20 0 -39 -11.5t-33 -30.5l-39 33q23 26 52.5 43.5t65.5 17.5q54 0 85 -26.5t31 -76.5q0 -20 -9.5 -39.5t-26 -39t-38.5 -40t-47 -42.5h136v-53h-239zM77 32l-49 45l183 188l33 -30zM389 391l-33 30l167 203+l49 -45zM440 -12q-35 0 -68.5 14t-58.5 40l32 39q15 -18 39.5 -30.5t51.5 -12.5t44.5 11t17.5 36q0 51 -96 51v38q42 0 61.5 14t19.5 37q0 20 -13 31.5t-42 11.5q-18 0 -38 -9.5t-35 -24.5l-30 38q19 20 49.5 32.5t65.5 12.5q47 0 76.5 -22t29.5 -62q0 -55 -56 -75+q32 -8 51.5 -27t19.5 -50q0 -45 -35 -69t-86 -24z" />+ <glyph glyph-name="uni2155" unicode="⅕"+d="M150 333v230h-82v42q33 5 53.5 13t41.5 20h50v-305h-63zM77 32l-49 45l183 188l33 -30zM389 391l-33 30l167 203l49 -45zM442 -12q-42 0 -72 14t-57 40l32 39q17 -18 39.5 -30.5t52.5 -12.5q29 0 47.5 15t18.5 42q0 29 -18 43.5t-49 14.5q-20 0 -34.5 -6t-29.5 -17+l-31 20l17 155h189v-54h-139l-10 -70q24 12 56 12q50 0 81 -25.5t31 -73.5t-35 -77t-89 -29z" />+ <glyph glyph-name="uni2156" unicode="⅖"+d="M43 333v36q78 59 119.5 98t41.5 72q0 27 -15.5 43t-44.5 16q-20 0 -39 -11.5t-33 -30.5l-39 33q23 26 52.5 43.5t65.5 17.5q54 0 85 -26.5t31 -76.5q0 -20 -9.5 -39.5t-26 -39t-38.5 -40t-47 -42.5h136v-53h-239zM77 32l-49 45l183 188l33 -30zM389 391l-33 30l167 203+l49 -45zM442 -12q-42 0 -72 14t-57 40l32 39q17 -18 39.5 -30.5t52.5 -12.5q29 0 47.5 15t18.5 42q0 29 -18 43.5t-49 14.5q-20 0 -34.5 -6t-29.5 -17l-31 20l17 155h189v-54h-139l-10 -70q24 12 56 12q50 0 81 -25.5t31 -73.5t-35 -77t-89 -29z" />+ <glyph glyph-name="uni2157" unicode="⅗"+d="M159 321q-35 0 -68.5 14t-58.5 40l32 39q15 -18 39.5 -30.5t51.5 -12.5t44.5 11t17.5 36q0 51 -96 51v38q42 0 61.5 14t19.5 37q0 20 -13 31.5t-42 11.5q-18 0 -38 -9.5t-35 -24.5l-30 38q19 20 49.5 32.5t65.5 12.5q47 0 76.5 -22t29.5 -62q0 -55 -56 -75+q32 -8 51.5 -27t19.5 -50q0 -45 -35 -69t-86 -24zM77 32l-49 45l183 188l33 -30zM389 391l-33 30l167 203l49 -45zM442 -12q-42 0 -72 14t-57 40l32 39q17 -18 39.5 -30.5t52.5 -12.5q29 0 47.5 15t18.5 42q0 29 -18 43.5t-49 14.5q-20 0 -34.5 -6t-29.5 -17l-31 20l17 155+h189v-54h-139l-10 -70q24 12 56 12q50 0 81 -25.5t31 -73.5t-35 -77t-89 -29z" />+ <glyph glyph-name="uni2158" unicode="⅘"+d="M194 333v74h-162v31l113 212l46 -20l-97 -181h100v97h57v-97h50v-42h-50v-74h-57zM77 32l-49 45l183 188l33 -30zM389 391l-33 30l167 203l49 -45zM442 -12q-42 0 -72 14t-57 40l32 39q17 -18 39.5 -30.5t52.5 -12.5q29 0 47.5 15t18.5 42q0 29 -18 43.5t-49 14.5+q-20 0 -34.5 -6t-29.5 -17l-31 20l17 155h189v-54h-139l-10 -70q24 12 56 12q50 0 81 -25.5t31 -73.5t-35 -77t-89 -29z" />+ <glyph glyph-name="uni2159" unicode="⅙"+d="M150 333v230h-82v42q33 5 53.5 13t41.5 20h50v-305h-63zM77 32l-49 45l183 188l33 -30zM389 391l-33 30l167 203l49 -45zM454 -12q-59 0 -98 40.5t-39 111.5q0 86 42.5 131.5t111.5 45.5q30 0 52 -9t41 -23l-26 -41q-14 11 -29 17.5t-35 6.5q-43 0 -68.5 -29.5+t-29.5 -86.5q19 17 41.5 26t49.5 9q51 0 77 -26.5t26 -68.5q0 -21 -8.5 -40t-24 -33.5t-37 -22.5t-46.5 -8zM453 38q28 0 43 14.5t15 39.5q0 23 -14 38t-45 15q-40 0 -75 -35q6 -38 28 -55t48 -17z" />+ <glyph glyph-name="uni215A" unicode="⅚"+d="M161 321q-42 0 -72 14t-57 40l32 39q17 -18 39.5 -30.5t52.5 -12.5q29 0 47.5 15t18.5 42q0 29 -18 43.5t-49 14.5q-20 0 -34.5 -6t-29.5 -17l-31 20l17 155h189v-54h-139l-10 -70q24 12 56 12q50 0 81 -25.5t31 -73.5t-35 -77t-89 -29zM77 32l-49 45l183 188l33 -30z+M389 391l-33 30l167 203l49 -45zM454 -12q-59 0 -98 40.5t-39 111.5q0 86 42.5 131.5t111.5 45.5q30 0 52 -9t41 -23l-26 -41q-14 11 -29 17.5t-35 6.5q-43 0 -68.5 -29.5t-29.5 -86.5q19 17 41.5 26t49.5 9q51 0 77 -26.5t26 -68.5q0 -21 -8.5 -40t-24 -33.5t-37 -22.5+t-46.5 -8zM453 38q28 0 43 14.5t15 39.5q0 23 -14 38t-45 15q-40 0 -75 -35q6 -38 28 -55t48 -17z" />+ <glyph glyph-name="oneeighth" unicode="⅛"+d="M150 333v230h-82v42q33 5 53.5 13t41.5 20h50v-305h-63zM77 32l-49 45l183 188l33 -30zM389 391l-33 30l167 203l49 -45zM441 -12q-28 0 -51 7t-39.5 19t-25.5 28t-9 34q0 32 19.5 50.5t45.5 30.5v4q-23 14 -38.5 29.5t-15.5 42.5q0 18 9 33.5t24.5 27t36.5 17.5t44 6+q50 0 82.5 -23.5t32.5 -60.5q0 -28 -16.5 -44.5t-36.5 -27.5v-4q26 -11 44.5 -29.5t18.5 -51.5q0 -18 -9.5 -34t-26.5 -28t-39.5 -19t-49.5 -7zM461 177q20 12 28 25t8 28q0 18 -14.5 30t-41.5 12q-25 0 -40 -11.5t-15 -28.5q0 -22 22 -34t53 -21zM441 33q26 0 46.5 12.5+t20.5 32.5q0 14 -7.5 23.5t-19.5 16t-27.5 11.5t-32.5 10q-47 -22 -47 -59q0 -20 19.5 -33.5t47.5 -13.5z" />+ <glyph glyph-name="threeeighths" unicode="⅜"+d="M159 321q-35 0 -68.5 14t-58.5 40l32 39q15 -18 39.5 -30.5t51.5 -12.5t44.5 11t17.5 36q0 51 -96 51v38q42 0 61.5 14t19.5 37q0 20 -13 31.5t-42 11.5q-18 0 -38 -9.5t-35 -24.5l-30 38q19 20 49.5 32.5t65.5 12.5q47 0 76.5 -22t29.5 -62q0 -55 -56 -75+q32 -8 51.5 -27t19.5 -50q0 -45 -35 -69t-86 -24zM77 32l-49 45l183 188l33 -30zM389 391l-33 30l167 203l49 -45zM441 -12q-28 0 -51 7t-39.5 19t-25.5 28t-9 34q0 32 19.5 50.5t45.5 30.5v4q-23 14 -38.5 29.5t-15.5 42.5q0 18 9 33.5t24.5 27t36.5 17.5t44 6+q50 0 82.5 -23.5t32.5 -60.5q0 -28 -16.5 -44.5t-36.5 -27.5v-4q26 -11 44.5 -29.5t18.5 -51.5q0 -18 -9.5 -34t-26.5 -28t-39.5 -19t-49.5 -7zM461 177q20 12 28 25t8 28q0 18 -14.5 30t-41.5 12q-25 0 -40 -11.5t-15 -28.5q0 -22 22 -34t53 -21zM441 33q26 0 46.5 12.5+t20.5 32.5q0 14 -7.5 23.5t-19.5 16t-27.5 11.5t-32.5 10q-47 -22 -47 -59q0 -20 19.5 -33.5t47.5 -13.5z" />+ <glyph glyph-name="fiveeighths" unicode="⅝"+d="M161 321q-42 0 -72 14t-57 40l32 39q17 -18 39.5 -30.5t52.5 -12.5q29 0 47.5 15t18.5 42q0 29 -18 43.5t-49 14.5q-20 0 -34.5 -6t-29.5 -17l-31 20l17 155h189v-54h-139l-10 -70q24 12 56 12q50 0 81 -25.5t31 -73.5t-35 -77t-89 -29zM77 32l-49 45l183 188l33 -30z+M389 391l-33 30l167 203l49 -45zM441 -12q-28 0 -51 7t-39.5 19t-25.5 28t-9 34q0 32 19.5 50.5t45.5 30.5v4q-23 14 -38.5 29.5t-15.5 42.5q0 18 9 33.5t24.5 27t36.5 17.5t44 6q50 0 82.5 -23.5t32.5 -60.5q0 -28 -16.5 -44.5t-36.5 -27.5v-4q26 -11 44.5 -29.5+t18.5 -51.5q0 -18 -9.5 -34t-26.5 -28t-39.5 -19t-49.5 -7zM461 177q20 12 28 25t8 28q0 18 -14.5 30t-41.5 12q-25 0 -40 -11.5t-15 -28.5q0 -22 22 -34t53 -21zM441 33q26 0 46.5 12.5t20.5 32.5q0 14 -7.5 23.5t-19.5 16t-27.5 11.5t-32.5 10q-47 -22 -47 -59+q0 -20 19.5 -33.5t47.5 -13.5z" />+ <glyph glyph-name="seveneighths" unicode="⅞"+d="M113 333q2 39 8.5 71.5t18.5 62t30 58.5t42 60h-169v53h243v-36q-32 -35 -52 -66.5t-32 -63t-17 -65.5t-7 -74h-65zM77 32l-49 45l183 188l33 -30zM389 391l-33 30l167 203l49 -45zM441 -12q-28 0 -51 7t-39.5 19t-25.5 28t-9 34q0 32 19.5 50.5t45.5 30.5v4+q-23 14 -38.5 29.5t-15.5 42.5q0 18 9 33.5t24.5 27t36.5 17.5t44 6q50 0 82.5 -23.5t32.5 -60.5q0 -28 -16.5 -44.5t-36.5 -27.5v-4q26 -11 44.5 -29.5t18.5 -51.5q0 -18 -9.5 -34t-26.5 -28t-39.5 -19t-49.5 -7zM461 177q20 12 28 25t8 28q0 18 -14.5 30t-41.5 12+q-25 0 -40 -11.5t-15 -28.5q0 -22 22 -34t53 -21zM441 33q26 0 46.5 12.5t20.5 32.5q0 14 -7.5 23.5t-19.5 16t-27.5 11.5t-32.5 10q-47 -22 -47 -59q0 -20 19.5 -33.5t47.5 -13.5z" />+ <glyph glyph-name="uni2189" unicode="↉"+d="M167 321q-61 0 -100 44t-39 122t39 120.5t100 42.5t100 -42.5t39 -120.5t-39 -122t-100 -44zM167 371q32 0 55 28.5t23 87.5q0 60 -23 87t-55 27t-55 -27t-23 -87q0 -59 23 -87.5t55 -28.5zM77 32l-49 45l183 188l33 -30zM389 391l-33 30l167 203l49 -45zM440 -12+q-35 0 -68.5 14t-58.5 40l32 39q15 -18 39.5 -30.5t51.5 -12.5t44.5 11t17.5 36q0 51 -96 51v38q42 0 61.5 14t19.5 37q0 20 -13 31.5t-42 11.5q-18 0 -38 -9.5t-35 -24.5l-30 38q19 20 49.5 32.5t65.5 12.5q47 0 76.5 -22t29.5 -62q0 -55 -56 -75q32 -8 51.5 -27t19.5 -50+q0 -45 -35 -69t-86 -24z" />+ <glyph glyph-name="uni2190" unicode="←"+d="M289 -15l-272 265v4l272 265l43 -46l-201 -187h438v-68h-438l201 -187z" />+ <glyph glyph-name="arrowup" unicode="↑"+d="M266 -25v439l-187 -201l-46 42l265 272h4l265 -272l-46 -42l-187 201v-439h-68z" />+ <glyph glyph-name="uni2192" unicode="→"+d="M309 -15l-42 46l201 187h-439v68h439l-201 187l42 46l273 -265v-4z" />+ <glyph glyph-name="arrowdown" unicode="↓"+d="M298 -25l-265 273l46 42l187 -201v438h68v-438l187 201l46 -42l-265 -273h-4z" />+ <glyph glyph-name="arrowboth" unicode="↔"+d="M612 254v-4l-179 -213l-45 38l126 143h-428l126 -143l-45 -38l-179 213v4l179 213l45 -38l-126 -143h428l-126 143l45 38z" />+ <glyph glyph-name="arrowupdn" unicode="↕"+d="M302 -57h-4l-213 178l38 46l143 -126v421l-143 -126l-38 45l213 179h4l213 -179l-38 -45l-143 126v-421l143 126l38 -46z" />+ <glyph glyph-name="uni2196" unicode="↖"+d="M465 33l-311 310l10 -274l-63 -3l-5 380l3 3l380 -5l-2 -63l-275 10l310 -310z" />+ <glyph glyph-name="uni2197" unicode="↗"+d="M129 32l-48 48l310 310l-274 -9l-3 62l380 5l3 -3l-5 -380l-63 3l10 274z" />+ <glyph glyph-name="uni2198" unicode="↘"+d="M499 55l-380 5l3 63l274 -10l-310 310l48 48l310 -310l-9 274l62 3l5 -380z" />+ <glyph glyph-name="uni2199" unicode="↙"+d="M106 55l-3 3l5 380l63 -3l-10 -275l310 310l48 -47l-310 -311l274 10l3 -63z" />+ <glyph glyph-name="arrowupdnbse" unicode="↨"+d="M60 -138v64h480v-64h-480zM302 -57h-4l-213 178l38 46l143 -126v421l-143 -126l-38 45l213 179h4l213 -179l-38 -45l-143 126v-421l143 126l38 -46z" />+ <glyph glyph-name="uni21D0" unicode="⇐"+d="M289 -15l-272 265v4l272 265l43 -46l-112 -103h349v-54h-408l-67 -62v-4l67 -62h408v-54h-349l112 -103z" />+ <glyph glyph-name="uni21D1" unicode="⇑"+d="M79 213l-46 42l265 272h4l265 -272l-46 -42l-103 111v-349h-54v408l-62 67h-4l-62 -67v-408h-54v349z" />+ <glyph glyph-name="uni21D2" unicode="⇒"+d="M309 -15l-42 46l111 103h-349v54h408l67 62v4l-67 62h-408v54h349l-111 103l42 46l273 -265v-4z" />+ <glyph glyph-name="uni21D3" unicode="⇓"+d="M298 -25l-265 273l46 42l103 -111v348h54v-407l62 -67h4l62 67v407h54v-348l103 111l46 -42l-265 -273h-4z" />+ <glyph glyph-name="uni2200" unicode="∀"+d="M568 656l-221 -656h-94l-221 656h88l62 -200h238l63 200h85zM299 68h4q16 57 32 111.5t33 109.5l31 100h-196l31 -100q17 -55 33.5 -109.5t31.5 -111.5z" />+ <glyph glyph-name="partialdiff" unicode="∂"+d="M258 -12q-36 0 -69 13.5t-58 38t-40 60t-15 80.5q0 49 15 90.5t43 71.5t68 47t91 17q41 0 80.5 -19t68.5 -53q1 8 1 16.5v16.5q0 125 -38 181t-102 56q-32 0 -60 -13.5t-52 -37.5l-38 52q32 32 71.5 49.5t86.5 17.5q97 0 154.5 -76t57.5 -231q0 -84 -19 -153.5t-54 -119+t-84 -77t-108 -27.5zM266 56q65 0 109.5 54t60.5 154q-33 42 -68 59t-68 17q-37 0 -64.5 -12t-45.5 -32.5t-27 -49t-9 -61.5q0 -30 9 -53.5t24.5 -40.5t35.5 -26t43 -9z" />+ <glyph glyph-name="uni2203" unicode="∃"+d="M70 0v71h332v238h-272v71h272v206h-322v70h406v-656h-416z" />+ <glyph glyph-name="uni2206" unicode="∆"+d="M43 0v50l209 606h96l209 -606v-50h-514zM134 71h331l-97 293q-17 54 -33.5 109t-33.5 112h-4q-17 -57 -33.5 -112t-33.5 -109z" />+ <glyph glyph-name="product" unicode="∏"+d="M52 -120v758h496v-758h-85v685h-328v-685h-83z" />+ <glyph glyph-name="summation" unicode="∑"+d="M70 -120v53l238 326l-227 326v53h440v-71h-337v-4l212 -303l-222 -305v-4h375v-71h-479z" />+ <glyph glyph-name="minus" unicode="−"+d="M85 299v62h430v-62h-430z" />+ <glyph glyph-name="uni2215" unicode="∕"+d="M77 32l-49 45l183 188l33 -30zM389 391l-33 30l167 203l49 -45z" />+ <glyph glyph-name="uni2219" unicode="∙"+d="M297 263q-34 0 -57.5 23t-23.5 61t23.5 61.5t57.5 23.5t57.5 -23.5t23.5 -61.5t-23.5 -61t-57.5 -23z" />+ <glyph glyph-name="radical" unicode="√"+d="M303 -95l-150 428l-71 -32l-20 45l134 59l116 -346q5 -16 9 -32l8 -32h4q3 16 5.5 32t6.5 32l178 761h60l-218 -915h-62z" />+ <glyph glyph-name="infinity" unicode="∞"+d="M449 150q-55 0 -94.5 28.5t-77.5 90.5h-4q-11 -18 -25 -35.5t-31.5 -32t-39 -23t-47.5 -8.5q-27 0 -51.5 12t-43 33t-29 49t-10.5 60q0 39 11.5 70t31 52.5t46 33t57.5 11.5q25 0 45.5 -8t38 -22t31.5 -32t25 -39h4q31 53 70.5 85t93.5 32q33 0 61.5 -12.5t49 -35.5+t32 -54.5t11.5 -68.5q0 -42 -11.5 -76.5t-32 -58.5t-49 -37.5t-62.5 -13.5zM142 233q64 0 104 88q-25 49 -51 70.5t-55 21.5q-36 0 -57.5 -22.5t-21.5 -63.5t23.5 -67.5t57.5 -26.5zM446 229q45 0 69 30.5t24 73.5q0 48 -26 79.5t-74 31.5q-35 0 -65.5 -24.5t-60.5 -79.5+q33 -62 64 -86.5t69 -24.5z" />+ <glyph glyph-name="orthogonal" unicode="∟"+d="M85 104v452h66v-390h364v-62h-430z" />+ <glyph glyph-name="intersection" unicode="∩"+d="M96 104v251q0 49 15.5 88.5t42.5 67.5t64.5 43.5t81.5 15.5t81.5 -15.5t64.5 -43.5t42.5 -67.5t15.5 -88.5v-251h-65v239q0 78 -38 119.5t-101 41.5t-101 -41.5t-38 -119.5v-239h-65z" />+ <glyph glyph-name="integral" unicode="∫"+d="M233 -158q-31 0 -47 7l9 62q12 -4 35 -4q42 0 54.5 41t12.5 119q0 55 -6.5 118t-14 128t-14 128.5t-6.5 119.5q0 48 5.5 90t20.5 72.5t42 48t70 17.5q15 0 28 -2t19 -4l-10 -62q-7 2 -15.5 3t-19.5 1q-41 0 -53.5 -42.5t-12.5 -119.5q0 -54 6.5 -117t14.5 -128+t14.5 -128.5t6.5 -118.5q0 -49 -5.5 -91t-21 -72.5t-42.5 -48t-70 -17.5z" />+ <glyph glyph-name="uni2237" unicode="∷"+d="M161 425q-34 0 -57.5 23t-23.5 61t23.5 61.5t57.5 23.5t57.5 -23.5t23.5 -61.5t-23.5 -61t-57.5 -23zM161 67q-34 0 -57.5 23t-23.5 61t23.5 61.5t57.5 23.5t57.5 -23.5t23.5 -61.5t-23.5 -61t-57.5 -23zM440 425q-34 0 -57.5 23t-23.5 61t23.5 61.5t57.5 23.5+t57.5 -23.5t23.5 -61.5t-23.5 -61t-57.5 -23zM440 67q-34 0 -57.5 23t-23.5 61t23.5 61.5t57.5 23.5t57.5 -23.5t23.5 -61.5t-23.5 -61t-57.5 -23z" />+ <glyph glyph-name="approxequal" unicode="≈"+d="M388 364q-30 0 -53.5 13t-44 29t-40 29t-40.5 13q-23 0 -43.5 -17t-37.5 -69l-53 23q26 70 62 97.5t74 27.5q30 0 53.5 -13t44 -29t40 -29t40.5 -13q12 0 22.5 3.5t21 13t19.5 26.5t18 43l53 -24q-26 -70 -62 -97t-74 -27zM388 151q-30 0 -53.5 13t-44 29t-40 29+t-40.5 13q-23 0 -43.5 -17t-37.5 -69l-53 23q26 70 62 97.5t74 27.5q30 0 53.5 -13t44 -29t40 -29t40.5 -13q12 0 22.5 3.5t21 13t19.5 26.5t18 43l53 -24q-26 -70 -62 -97t-74 -27z" />+ <glyph glyph-name="notequal" unicode="≠"+d="M112 65l76 127h-103v62h139l91 152h-230v62h266l76 127h61l-76 -127h103v-62h-139l-91 -152h230v-62h-266l-76 -127h-61z" />+ <glyph glyph-name="equivalence" unicode="≡"+d="M85 514v62h430v-62h-430zM85 299v62h430v-62h-430zM85 85v62h430v-62h-430z" />+ <glyph glyph-name="lessequal" unicode="≤"+d="M85 0v62h430v-62h-430zM515 153l-430 153v74l430 153v-71l-210 -73l-135 -44v-4l135 -44l210 -73v-71z" />+ <glyph glyph-name="greaterequal" unicode="≥"+d="M85 0v62h430v-62h-430zM85 153v71l210 73l135 44v4l-135 44l-210 73v71l430 -153v-74z" />+ <glyph glyph-name="house" unicode="⌂"+d="M49 0v360l215 307h72l215 -307v-360h-502zM119 60h362v278l-97 143l-82 125h-4l-82 -125l-97 -143v-278z" />+ <glyph glyph-name="revlogicalnot" unicode="⌐"+d="M85 104v257h430v-62h-364v-195h-66z" />+ <glyph glyph-name="uni231C" unicode="⌜"+d="M225 0v695h277v-47h-211v-648h-66z" />+ <glyph glyph-name="uni231D" unicode="⌝"+d="M309 0v648h-211v47h277v-695h-66z" />+ <glyph glyph-name="uni231E" unicode="⌞"+d="M225 -86v724h66v-677h211v-47h-277z" />+ <glyph glyph-name="uni231F" unicode="⌟"+d="M98 -86v47h211v677h66v-724h-277z" />+ <glyph glyph-name="integraltp" unicode="⌠"+d="M340 -400h-75v961q0 48 5.5 90t21 72.5t42.5 48t70 17.5q14 0 27 -2t19 -4l-9 -62q-7 2 -15.5 3t-19.5 1q-41 0 -53.5 -42.5t-12.5 -119.5v-963z" />+ <glyph glyph-name="integralbt" unicode="⌡"+d="M201 -158q-31 0 -48 7l10 62q12 -4 35 -4q42 0 54.5 41t12.5 119v933h75v-929q0 -49 -5.5 -91t-21 -72.5t-42.5 -48t-70 -17.5z" />+ <glyph glyph-name="uni2500" unicode="─"+d="M-39 261v78h678v-78h-678z" />+ <glyph glyph-name="uni2501" unicode="━"+d="M-39 222v156h678v-156h-678z" />+ <glyph glyph-name="uni2502" unicode="│"+d="M261 -400v1400h78v-1400h-78z" />+ <glyph glyph-name="uni2503" unicode="┃"+d="M222 -400v1400h156v-1400h-156z" />+ <glyph glyph-name="uni2504" unicode="┄"+d="M433 261v78h134v-78h-134zM233 261v78h134v-78h-134zM33 261v78h134v-78h-134z" />+ <glyph glyph-name="uni2505" unicode="┅"+d="M433 222v156h134v-156h-134zM233 222v156h134v-156h-134zM33 222v156h134v-156h-134z" />+ <glyph glyph-name="uni2506" unicode="┆"+d="M261 567v266h78v-266h-78zM261 167v266h78v-266h-78zM261 -233v266h78v-266h-78z" />+ <glyph glyph-name="uni2507" unicode="┇"+d="M222 567v266h156v-266h-156zM222 167v266h156v-266h-156zM222 -233v266h156v-266h-156z" />+ <glyph glyph-name="uni2508" unicode="┈"+d="M469 261v78h112v-78h-112zM319 261v78h112v-78h-112zM169 261v78h112v-78h-112zM19 261v78h112v-78h-112z" />+ <glyph glyph-name="uni2509" unicode="┉"+d="M469 222v156h112v-156h-112zM319 222v156h112v-156h-112zM169 222v156h112v-156h-112zM19 222v156h112v-156h-112z" />+ <glyph glyph-name="uni250A" unicode="┊"+d="M261 638v225h78v-225h-78zM261 338v225h78v-225h-78zM261 38v225h78v-225h-78zM261 -263v225h78v-225h-78z" />+ <glyph glyph-name="uni250B" unicode="┋"+d="M222 638v225h156v-225h-156zM222 338v225h156v-225h-156zM222 38v225h156v-225h-156zM222 -263v225h156v-225h-156z" />+ <glyph glyph-name="uni250C" unicode="┌"+d="M639 261h-300v-661h-78v739h378v-78z" />+ <glyph glyph-name="uni250D" unicode="┍"+d="M639 222h-300v-622h-78v778h378v-156z" />+ <glyph glyph-name="uni250E" unicode="┎"+d="M639 261h-261v-661h-156v739h417v-78z" />+ <glyph glyph-name="uni250F" unicode="┏"+d="M639 222h-261v-622h-156v778h417v-156z" />+ <glyph glyph-name="uni2510" unicode="┐"+d="M339 -400h-78v661h-300v78h378v-739z" />+ <glyph glyph-name="uni2511" unicode="┑"+d="M339 -400h-78v622h-300v156h378v-778z" />+ <glyph glyph-name="uni2512" unicode="┒"+d="M378 -400h-156v661h-261v78h417v-739z" />+ <glyph glyph-name="uni2513" unicode="┓"+d="M378 -400h-156v622h-261v156h417v-778z" />+ <glyph glyph-name="uni2514" unicode="└"+d="M639 261h-378v739h78v-661h300v-78z" />+ <glyph glyph-name="uni2515" unicode="┕"+d="M639 222h-378v778h78v-622h300v-156z" />+ <glyph glyph-name="uni2516" unicode="┖"+d="M222 261v739h156v-661h261v-78h-417z" />+ <glyph glyph-name="uni2517" unicode="┗"+d="M222 222v778h156v-622h261v-156h-417z" />+ <glyph glyph-name="uni2518" unicode="┘"+d="M339 261h-378v78h300v661h78v-739z" />+ <glyph glyph-name="uni2519" unicode="┙"+d="M339 222h-378v156h300v622h78v-778z" />+ <glyph glyph-name="uni251A" unicode="┚"+d="M-39 261v78h261v661h156v-739h-417z" />+ <glyph glyph-name="uni251B" unicode="┛"+d="M-39 222v156h261v622h156v-778h-417z" />+ <glyph glyph-name="uni251C" unicode="├"+d="M639 261h-300v-661h-78v1400h78v-661h300v-78z" />+ <glyph glyph-name="uni251D" unicode="┝"+d="M639 222h-300v-622h-78v1400h78v-622h300v-156z" />+ <glyph glyph-name="uni251E" unicode="┞"+d="M639 261h-300v-661h-78v661h-39v739h156v-661h261v-78z" />+ <glyph glyph-name="uni251F" unicode="┟"+d="M639 261h-261v-661h-156v739h39v661h78v-661h300v-78z" />+ <glyph glyph-name="uni2520" unicode="┠"+d="M639 261h-261v-661h-156v1400h156v-661h261v-78z" />+ <glyph glyph-name="uni2521" unicode="┡"+d="M639 222h-300v-622h-78v622h-39v778h156v-622h261v-156z" />+ <glyph glyph-name="uni2522" unicode="┢"+d="M639 222h-261v-622h-156v778h39v622h78v-622h300v-156z" />+ <glyph glyph-name="uni2523" unicode="┣"+d="M639 222h-261v-622h-156v1400h156v-622h261v-156z" />+ <glyph glyph-name="uni2524" unicode="┤"+d="M339 -400h-78v661h-300v78h300v661h78v-1400z" />+ <glyph glyph-name="uni2525" unicode="┥"+d="M339 -400h-78v622h-300v156h300v622h78v-1400z" />+ <glyph glyph-name="uni2526" unicode="┦"+d="M339 -400h-78v661h-300v78h261v661h156v-739h-39v-661z" />+ <glyph glyph-name="uni2527" unicode="┧"+d="M378 -400h-156v661h-261v78h300v661h78v-661h39v-739z" />+ <glyph glyph-name="uni2528" unicode="┨"+d="M378 -400h-156v661h-261v78h261v661h156v-1400z" />+ <glyph glyph-name="uni2529" unicode="┩"+d="M339 -400h-78v622h-300v156h261v622h156v-778h-39v-622z" />+ <glyph glyph-name="uni252A" unicode="┪"+d="M378 -400h-156v622h-261v156h300v622h78v-622h39v-778z" />+ <glyph glyph-name="uni252B" unicode="┫"+d="M378 -400h-156v622h-261v156h261v622h156v-1400z" />+ <glyph glyph-name="uni252C" unicode="┬"+d="M639 261h-300v-661h-78v661h-300v78h678v-78z" />+ <glyph glyph-name="uni252D" unicode="┭"+d="M339 -400h-78v622h-300v156h378v-39h300v-78h-300v-661z" />+ <glyph glyph-name="uni252E" unicode="┮"+d="M639 222h-300v-622h-78v661h-300v78h300v39h378v-156z" />+ <glyph glyph-name="uni252F" unicode="┯"+d="M639 222h-300v-622h-78v622h-300v156h678v-156z" />+ <glyph glyph-name="uni2530" unicode="┰"+d="M639 261h-261v-661h-156v661h-261v78h678v-78z" />+ <glyph glyph-name="uni2531" unicode="┱"+d="M639 261h-261v-661h-156v622h-261v156h417v-39h261v-78z" />+ <glyph glyph-name="uni2532" unicode="┲"+d="M639 222h-261v-622h-156v661h-261v78h261v39h417v-156z" />+ <glyph glyph-name="uni2533" unicode="┳"+d="M639 222h-261v-622h-156v622h-261v156h678v-156z" />+ <glyph glyph-name="uni2534" unicode="┴"+d="M639 261h-678v78h300v661h78v-661h300v-78z" />+ <glyph glyph-name="uni2535" unicode="┵"+d="M639 261h-300v-39h-378v156h300v622h78v-661h300v-78z" />+ <glyph glyph-name="uni2536" unicode="┶"+d="M639 222h-378v39h-300v78h300v661h78v-622h300v-156z" />+ <glyph glyph-name="uni2537" unicode="┷"+d="M639 222h-678v156h300v622h78v-622h300v-156z" />+ <glyph glyph-name="uni2538" unicode="┸"+d="M639 261h-678v78h261v661h156v-661h261v-78z" />+ <glyph glyph-name="uni2539" unicode="┹"+d="M-39 222v156h261v622h156v-661h261v-78h-261v-39h-417z" />+ <glyph glyph-name="uni253A" unicode="┺"+d="M222 222v39h-261v78h261v661h156v-622h261v-156h-417z" />+ <glyph glyph-name="uni253B" unicode="┻"+d="M639 222h-678v156h261v622h156v-622h261v-156z" />+ <glyph glyph-name="uni253C" unicode="┼"+d="M639 261h-300v-661h-78v661h-300v78h300v661h78v-661h300v-78z" />+ <glyph glyph-name="uni253D" unicode="┽"+d="M639 261h-300v-661h-78v622h-300v156h300v622h78v-661h300v-78z" />+ <glyph glyph-name="uni253E" unicode="┾"+d="M639 222h-300v-622h-78v661h-300v78h300v661h78v-622h300v-156z" />+ <glyph glyph-name="uni253F" unicode="┿"+d="M639 222h-300v-622h-78v622h-300v156h300v622h78v-622h300v-156z" />+ <glyph glyph-name="uni2540" unicode="╀"+d="M639 261h-300v-661h-78v661h-300v78h261v661h156v-661h261v-78z" />+ <glyph glyph-name="uni2541" unicode="╁"+d="M639 261h-261v-661h-156v661h-261v78h300v661h78v-661h300v-78z" />+ <glyph glyph-name="uni2542" unicode="╂"+d="M639 261h-261v-661h-156v661h-261v78h261v661h156v-661h261v-78z" />+ <glyph glyph-name="uni2543" unicode="╃"+d="M378 222h-39v-622h-78v622h-300v156h261v622h156v-661h261v-78h-261v-39z" />+ <glyph glyph-name="uni2544" unicode="╄"+d="M639 222h-300v-622h-78v622h-39v39h-261v78h261v661h156v-622h261v-156z" />+ <glyph glyph-name="uni2545" unicode="╅"+d="M378 -400h-156v622h-261v156h300v622h78v-622h39v-39h261v-78h-261v-661z" />+ <glyph glyph-name="uni2546" unicode="╆"+d="M639 222h-261v-622h-156v661h-261v78h261v39h39v622h78v-622h300v-156z" />+ <glyph glyph-name="uni2547" unicode="╇"+d="M639 222h-300v-622h-78v622h-300v156h261v622h156v-622h261v-156z" />+ <glyph glyph-name="uni2548" unicode="╈"+d="M639 222h-261v-622h-156v622h-261v156h300v622h78v-622h300v-156z" />+ <glyph glyph-name="uni2549" unicode="╉"+d="M639 261h-261v-661h-156v622h-261v156h261v622h156v-661h261v-78z" />+ <glyph glyph-name="uni254A" unicode="╊"+d="M639 222h-261v-622h-156v661h-261v78h261v661h156v-622h261v-156z" />+ <glyph glyph-name="uni254B" unicode="╋"+d="M639 222h-261v-622h-156v622h-261v156h261v622h156v-622h261v-156z" />+ <glyph glyph-name="uni254C" unicode="╌"+d="M375 261v78h150v-78h-150zM75 261v78h150v-78h-150z" />+ <glyph glyph-name="uni254D" unicode="╍"+d="M375 222v156h150v-156h-150zM75 222v156h150v-156h-150z" />+ <glyph glyph-name="uni254E" unicode="╎"+d="M261 450v300h78v-300h-78zM261 -150v300h78v-300h-78z" />+ <glyph glyph-name="uni254F" unicode="╏"+d="M222 450v300h156v-300h-156zM222 -150v300h156v-300h-156z" />+ <glyph glyph-name="uni2550" unicode="═"+d="M-39 339v78h678v-78h-678zM-39 183v78h678v-78h-678z" />+ <glyph glyph-name="uni2551" unicode="║"+d="M339 -400v1400h78v-1400h-78zM183 -400v1400h78v-1400h-78z" />+ <glyph glyph-name="uni2552" unicode="╒"+d="M639 183h-300v-583h-78v817h378v-78h-300v-78h300v-78z" />+ <glyph glyph-name="uni2553" unicode="╓"+d="M339 -400v661h-78v-661h-78v739h456v-78h-222v-661h-78z" />+ <glyph glyph-name="uni2554" unicode="╔"+d="M639 339h-378v-739h-78v817h456v-78zM639 183h-222v-583h-78v661h300v-78z" />+ <glyph glyph-name="uni2555" unicode="╕"+d="M339 -400h-78v583h-300v78h300v78h-300v78h378v-817z" />+ <glyph glyph-name="uni2556" unicode="╖"+d="M339 -400v661h-78v-661h-78v661h-222v78h456v-739h-78z" />+ <glyph glyph-name="uni2557" unicode="╗"+d="M417 -400h-78v739h-378v78h456v-817zM261 -400h-78v583h-222v78h300v-661z" />+ <glyph glyph-name="uni2558" unicode="╘"+d="M261 183v817h78v-583h300v-78h-300v-78h300v-78h-378z" />+ <glyph glyph-name="uni2559" unicode="╙"+d="M183 261v739h78v-661h78v661h78v-661h222v-78h-456z" />+ <glyph glyph-name="uni255A" unicode="╚"+d="M339 339v661h78v-583h222v-78h-300zM183 183v817h78v-739h378v-78h-456z" />+ <glyph glyph-name="uni255B" unicode="╛"+d="M339 183h-378v78h300v78h-300v78h300v583h78v-817z" />+ <glyph glyph-name="uni255C" unicode="╜"+d="M417 261h-456v78h222v661h78v-661h78v661h78v-739z" />+ <glyph glyph-name="uni255D" unicode="╝"+d="M261 339h-300v78h222v583h78v-661zM417 183h-456v78h378v739h78v-817z" />+ <glyph glyph-name="uni255E" unicode="╞"+d="M639 183h-300v-583h-78v1400h78v-583h300v-78h-300v-78h300v-78z" />+ <glyph glyph-name="uni255F" unicode="╟"+d="M183 -400v1400h78v-1400h-78zM639 261h-222v-661h-78v1400h78v-661h222v-78z" />+ <glyph glyph-name="uni2560" unicode="╠"+d="M183 -400v1400h78v-1400h-78zM339 339v661h78v-583h222v-78h-300zM639 183h-222v-583h-78v661h300v-78z" />+ <glyph glyph-name="uni2561" unicode="╡"+d="M339 -400h-78v583h-300v78h300v78h-300v78h300v583h78v-1400z" />+ <glyph glyph-name="uni2562" unicode="╢"+d="M339 -400v1400h78v-1400h-78zM261 -400h-78v661h-222v78h222v661h78v-1400z" />+ <glyph glyph-name="uni2563" unicode="╣"+d="M339 -400v1400h78v-1400h-78zM261 339h-300v78h222v583h78v-661zM261 -400h-78v583h-222v78h300v-661z" />+ <glyph glyph-name="uni2564" unicode="╤"+d="M-39 339v78h678v-78h-678zM639 183h-300v-583h-78v583h-300v78h678v-78z" />+ <glyph glyph-name="uni2565" unicode="╥"+d="M339 -400v661h-78v-661h-78v661h-222v78h678v-78h-222v-661h-78z" />+ <glyph glyph-name="uni2566" unicode="╦"+d="M-39 339v78h678v-78h-678zM639 183h-222v-583h-78v661h300v-78zM261 -400h-78v583h-222v78h300v-661z" />+ <glyph glyph-name="uni2567" unicode="╧"+d="M639 339h-678v78h300v583h78v-583h300v-78zM-39 183v78h678v-78h-678z" />+ <glyph glyph-name="uni2568" unicode="╨"+d="M639 261h-678v78h222v661h78v-661h78v661h78v-661h222v-78z" />+ <glyph glyph-name="uni2569" unicode="╩"+d="M339 339v661h78v-583h222v-78h-300zM261 339h-300v78h222v583h78v-661zM-39 183v78h678v-78h-678z" />+ <glyph glyph-name="uni256A" unicode="╪"+d="M639 183h-300v-583h-78v583h-300v78h300v78h-300v78h300v583h78v-583h300v-78h-300v-78h300v-78z" />+ <glyph glyph-name="uni256B" unicode="╫"+d="M339 -400v661h-78v-661h-78v661h-222v78h222v661h78v-661h78v661h78v-661h222v-78h-222v-661h-78z" />+ <glyph glyph-name="uni256C" unicode="╬"+d="M339 339v661h78v-583h222v-78h-300zM261 339h-300v78h222v583h78v-661zM639 183h-222v-583h-78v661h300v-78zM261 -400h-78v583h-222v78h300v-661z" />+ <glyph glyph-name="uni256D" unicode="╭"+d="M261 -400v400q0 70 26.5 132t72.5 108t108 72.5t132 26.5h39v-78h-39q-54 0 -101.5 -20.5t-83 -56t-56 -83t-20.5 -101.5v-400h-78z" />+ <glyph glyph-name="uni256E" unicode="╮"+d="M339 0v-400h-78v400q0 54 -20.5 101.5t-56 83t-83 56t-101.5 20.5h-39v78h39q70 0 132 -26.5t108 -72.5t72.5 -108t26.5 -132z" />+ <glyph glyph-name="uni256F" unicode="╯"+d="M339 1000v-400q0 -70 -26.5 -132t-72.5 -108t-108 -72.5t-132 -26.5h-39v78h39q54 0 101.5 20.5t83 56t56 83t20.5 101.5v400h78z" />+ <glyph glyph-name="uni2570" unicode="╰"+d="M261 600v400h78v-400q0 -54 20.5 -101.5t56 -83t83 -56t101.5 -20.5h39v-78h-39q-70 0 -132 26.5t-108 72.5t-72.5 108t-26.5 132z" />+ <glyph glyph-name="uni2571" unicode="╱"+d="M0 -213l557 1113h43v-87l-557 -1113h-43v87z" />+ <glyph glyph-name="uni2572" unicode="╲"+d="M43 900l557 -1113v-87h-43l-557 1113v87h43z" />+ <glyph glyph-name="uni2573" unicode="╳"+d="M557 -300l-257 513l-257 -513h-43v87l257 513l-257 513v87h43l257 -513l257 513h43v-87l-257 -513l257 -513v-87h-43z" />+ <glyph glyph-name="uni2574" unicode="╴"+d="M-39 261v78h378v-78h-378z" />+ <glyph glyph-name="uni2575" unicode="╵"+d="M261 261v739h78v-739h-78z" />+ <glyph glyph-name="uni2576" unicode="╶"+d="M261 261v78h378v-78h-378z" />+ <glyph glyph-name="uni2577" unicode="╷"+d="M261 -400v739h78v-739h-78z" />+ <glyph glyph-name="uni2578" unicode="╸"+d="M-39 222v156h378v-156h-378z" />+ <glyph glyph-name="uni2579" unicode="╹"+d="M222 261v739h156v-739h-156z" />+ <glyph glyph-name="uni257A" unicode="╺"+d="M261 222v156h378v-156h-378z" />+ <glyph glyph-name="uni257B" unicode="╻"+d="M222 -400v739h156v-739h-156z" />+ <glyph glyph-name="uni257C" unicode="╼"+d="M639 222h-378v39h-300v78h300v39h378v-156z" />+ <glyph glyph-name="uni257D" unicode="╽"+d="M378 -400h-156v739h39v661h78v-661h39v-739z" />+ <glyph glyph-name="uni257E" unicode="╾"+d="M639 261h-300v-39h-378v156h378v-39h300v-78z" />+ <glyph glyph-name="uni257F" unicode="╿"+d="M378 261h-39v-661h-78v661h-39v739h156v-739z" />+ <glyph glyph-name="uni2580" unicode="▀"+d="M0 300v700h600v-700h-600z" />+ <glyph glyph-name="uni2581" unicode="▁"+d="M0 -400v175h600v-175h-600z" />+ <glyph glyph-name="uni2582" unicode="▂"+d="M0 -400v350h600v-350h-600z" />+ <glyph glyph-name="uni2583" unicode="▃"+d="M0 -400v525h600v-525h-600z" />+ <glyph glyph-name="uni2584" unicode="▄"+d="M0 -400v700h600v-700h-600z" />+ <glyph glyph-name="uni2585" unicode="▅"+d="M0 -400v875h600v-875h-600z" />+ <glyph glyph-name="uni2586" unicode="▆"+d="M0 -400v1050h600v-1050h-600z" />+ <glyph glyph-name="uni2587" unicode="▇"+d="M0 -400v1225h600v-1225h-600z" />+ <glyph glyph-name="uni2588" unicode="█"+d="M0 -400v1400h600v-1400h-600z" />+ <glyph glyph-name="uni2589" unicode="▉"+d="M0 -400v1400h525v-1400h-525z" />+ <glyph glyph-name="uni258A" unicode="▊"+d="M0 -400v1400h450v-1400h-450z" />+ <glyph glyph-name="uni258B" unicode="▋"+d="M0 -400v1400h375v-1400h-375z" />+ <glyph glyph-name="uni258C" unicode="▌"+d="M0 -400v1400h300v-1400h-300z" />+ <glyph glyph-name="uni258D" unicode="▍"+d="M0 -400v1400h225v-1400h-225z" />+ <glyph glyph-name="uni258E" unicode="▎"+d="M0 -400v1400h150v-1400h-150z" />+ <glyph glyph-name="uni258F" unicode="▏"+d="M0 -400v1400h75v-1400h-75z" />+ <glyph glyph-name="uni2590" unicode="▐"+d="M300 -400v1400h300v-1400h-300z" />+ <glyph glyph-name="uni2591" unicode="░"+d="M464 900q0 15 10.5 25.5t25.5 10.5t25.5 -10.5t10.5 -25.5t-10.5 -25.5t-25.5 -10.5t-25.5 10.5t-10.5 25.5zM264 900q0 15 10.5 25.5t25.5 10.5t25.5 -10.5t10.5 -25.5t-10.5 -25.5t-25.5 -10.5t-25.5 10.5t-10.5 25.5zM64 900q0 15 10.5 25.5t25.5 10.5t25.5 -10.5+t10.5 -25.5t-10.5 -25.5t-25.5 -10.5t-25.5 10.5t-10.5 25.5zM376 800q0 10 7 17t17 7t17 -7t7 -17t-7 -17t-17 -7t-17 7t-7 17zM176 800q0 10 7 17t17 7t17 -7t7 -17t-7 -17t-17 -7t-17 7t-7 17zM-24 800q0 10 7 17t17 7t17 -7t7 -17t-7 -17t-17 -7t-17 7t-7 17zM464 700+q0 15 10.5 25.5t25.5 10.5t25.5 -10.5t10.5 -25.5t-10.5 -25.5t-25.5 -10.5t-25.5 10.5t-10.5 25.5zM264 700q0 15 10.5 25.5t25.5 10.5t25.5 -10.5t10.5 -25.5t-10.5 -25.5t-25.5 -10.5t-25.5 10.5t-10.5 25.5zM64 700q0 15 10.5 25.5t25.5 10.5t25.5 -10.5t10.5 -25.5+t-10.5 -25.5t-25.5 -10.5t-25.5 10.5t-10.5 25.5zM376 600q0 10 7 17t17 7t17 -7t7 -17t-7 -17t-17 -7t-17 7t-7 17zM176 600q0 10 7 17t17 7t17 -7t7 -17t-7 -17t-17 -7t-17 7t-7 17zM-24 600q0 10 7 17t17 7t17 -7t7 -17t-7 -17t-17 -7t-17 7t-7 17zM464 500+q0 15 10.5 25.5t25.5 10.5t25.5 -10.5t10.5 -25.5t-10.5 -25.5t-25.5 -10.5t-25.5 10.5t-10.5 25.5zM264 500q0 15 10.5 25.5t25.5 10.5t25.5 -10.5t10.5 -25.5t-10.5 -25.5t-25.5 -10.5t-25.5 10.5t-10.5 25.5zM64 500q0 15 10.5 25.5t25.5 10.5t25.5 -10.5t10.5 -25.5+t-10.5 -25.5t-25.5 -10.5t-25.5 10.5t-10.5 25.5zM376 400q0 10 7 17t17 7t17 -7t7 -17t-7 -17t-17 -7t-17 7t-7 17zM176 400q0 10 7 17t17 7t17 -7t7 -17t-7 -17t-17 -7t-17 7t-7 17zM-24 400q0 10 7 17t17 7t17 -7t7 -17t-7 -17t-17 -7t-17 7t-7 17zM464 300+q0 15 10.5 25.5t25.5 10.5t25.5 -10.5t10.5 -25.5t-10.5 -25.5t-25.5 -10.5t-25.5 10.5t-10.5 25.5zM264 300q0 15 10.5 25.5t25.5 10.5t25.5 -10.5t10.5 -25.5t-10.5 -25.5t-25.5 -10.5t-25.5 10.5t-10.5 25.5zM64 300q0 15 10.5 25.5t25.5 10.5t25.5 -10.5t10.5 -25.5+t-10.5 -25.5t-25.5 -10.5t-25.5 10.5t-10.5 25.5zM376 200q0 10 7 17t17 7t17 -7t7 -17t-7 -17t-17 -7t-17 7t-7 17zM176 200q0 10 7 17t17 7t17 -7t7 -17t-7 -17t-17 -7t-17 7t-7 17zM-24 200q0 10 7 17t17 7t17 -7t7 -17t-7 -17t-17 -7t-17 7t-7 17zM464 100+q0 15 10.5 25.5t25.5 10.5t25.5 -10.5t10.5 -25.5t-10.5 -25.5t-25.5 -10.5t-25.5 10.5t-10.5 25.5zM264 100q0 15 10.5 25.5t25.5 10.5t25.5 -10.5t10.5 -25.5t-10.5 -25.5t-25.5 -10.5t-25.5 10.5t-10.5 25.5zM64 100q0 15 10.5 25.5t25.5 10.5t25.5 -10.5t10.5 -25.5+t-10.5 -25.5t-25.5 -10.5t-25.5 10.5t-10.5 25.5zM376 0q0 10 7 17t17 7t17 -7t7 -17t-7 -17t-17 -7t-17 7t-7 17zM176 0q0 10 7 17t17 7t17 -7t7 -17t-7 -17t-17 -7t-17 7t-7 17zM-24 0q0 10 7 17t17 7t17 -7t7 -17t-7 -17t-17 -7t-17 7t-7 17zM464 -100q0 15 10.5 25.5+t25.5 10.5t25.5 -10.5t10.5 -25.5t-10.5 -25.5t-25.5 -10.5t-25.5 10.5t-10.5 25.5zM264 -100q0 15 10.5 25.5t25.5 10.5t25.5 -10.5t10.5 -25.5t-10.5 -25.5t-25.5 -10.5t-25.5 10.5t-10.5 25.5zM64 -100q0 15 10.5 25.5t25.5 10.5t25.5 -10.5t10.5 -25.5t-10.5 -25.5+t-25.5 -10.5t-25.5 10.5t-10.5 25.5zM376 -200q0 10 7 17t17 7t17 -7t7 -17t-7 -17t-17 -7t-17 7t-7 17zM176 -200q0 10 7 17t17 7t17 -7t7 -17t-7 -17t-17 -7t-17 7t-7 17zM-24 -200q0 10 7 17t17 7t17 -7t7 -17t-7 -17t-17 -7t-17 7t-7 17zM464 -300q0 15 10.5 25.5+t25.5 10.5t25.5 -10.5t10.5 -25.5t-10.5 -25.5t-25.5 -10.5t-25.5 10.5t-10.5 25.5zM264 -300q0 15 10.5 25.5t25.5 10.5t25.5 -10.5t10.5 -25.5t-10.5 -25.5t-25.5 -10.5t-25.5 10.5t-10.5 25.5zM64 -300q0 15 10.5 25.5t25.5 10.5t25.5 -10.5t10.5 -25.5t-10.5 -25.5+t-25.5 -10.5t-25.5 10.5t-10.5 25.5zM376 -400q0 10 7 17t17 7t17 -7t7 -17t-7 -17t-17 -7t-17 7t-7 17zM176 -400q0 10 7 17t17 7t17 -7t7 -17t-7 -17t-17 -7t-17 7t-7 17zM-24 -400q0 10 7 17t17 7t17 -7t7 -17t-7 -17t-17 -7t-17 7t-7 17z" />+ <glyph glyph-name="uni2592" unicode="▒"+d="M446 900q0 23 15.5 38.5t38.5 15.5t38.5 -15.5t15.5 -38.5t-15.5 -38.5t-38.5 -15.5t-38.5 15.5t-15.5 38.5zM246 900q0 23 15.5 38.5t38.5 15.5t38.5 -15.5t15.5 -38.5t-15.5 -38.5t-38.5 -15.5t-38.5 15.5t-15.5 38.5zM46 900q0 23 15.5 38.5t38.5 15.5t38.5 -15.5+t15.5 -38.5t-15.5 -38.5t-38.5 -15.5t-38.5 15.5t-15.5 38.5zM364 800q0 15 10.5 25.5t25.5 10.5t25.5 -10.5t10.5 -25.5t-10.5 -25.5t-25.5 -10.5t-25.5 10.5t-10.5 25.5zM164 800q0 15 10.5 25.5t25.5 10.5t25.5 -10.5t10.5 -25.5t-10.5 -25.5t-25.5 -10.5t-25.5 10.5+t-10.5 25.5zM-36 800q0 15 10.5 25.5t25.5 10.5t25.5 -10.5t10.5 -25.5t-10.5 -25.5t-25.5 -10.5t-25.5 10.5t-10.5 25.5zM446 700q0 23 15.5 38.5t38.5 15.5t38.5 -15.5t15.5 -38.5t-15.5 -38.5t-38.5 -15.5t-38.5 15.5t-15.5 38.5zM246 700q0 23 15.5 38.5t38.5 15.5+t38.5 -15.5t15.5 -38.5t-15.5 -38.5t-38.5 -15.5t-38.5 15.5t-15.5 38.5zM46 700q0 23 15.5 38.5t38.5 15.5t38.5 -15.5t15.5 -38.5t-15.5 -38.5t-38.5 -15.5t-38.5 15.5t-15.5 38.5zM364 600q0 15 10.5 25.5t25.5 10.5t25.5 -10.5t10.5 -25.5t-10.5 -25.5t-25.5 -10.5+t-25.5 10.5t-10.5 25.5zM164 600q0 15 10.5 25.5t25.5 10.5t25.5 -10.5t10.5 -25.5t-10.5 -25.5t-25.5 -10.5t-25.5 10.5t-10.5 25.5zM-36 600q0 15 10.5 25.5t25.5 10.5t25.5 -10.5t10.5 -25.5t-10.5 -25.5t-25.5 -10.5t-25.5 10.5t-10.5 25.5zM446 500q0 23 15.5 38.5+t38.5 15.5t38.5 -15.5t15.5 -38.5t-15.5 -38.5t-38.5 -15.5t-38.5 15.5t-15.5 38.5zM246 500q0 23 15.5 38.5t38.5 15.5t38.5 -15.5t15.5 -38.5t-15.5 -38.5t-38.5 -15.5t-38.5 15.5t-15.5 38.5zM46 500q0 23 15.5 38.5t38.5 15.5t38.5 -15.5t15.5 -38.5t-15.5 -38.5+t-38.5 -15.5t-38.5 15.5t-15.5 38.5zM364 400q0 15 10.5 25.5t25.5 10.5t25.5 -10.5t10.5 -25.5t-10.5 -25.5t-25.5 -10.5t-25.5 10.5t-10.5 25.5zM164 400q0 15 10.5 25.5t25.5 10.5t25.5 -10.5t10.5 -25.5t-10.5 -25.5t-25.5 -10.5t-25.5 10.5t-10.5 25.5zM-36 400+q0 15 10.5 25.5t25.5 10.5t25.5 -10.5t10.5 -25.5t-10.5 -25.5t-25.5 -10.5t-25.5 10.5t-10.5 25.5zM446 300q0 23 15.5 38.5t38.5 15.5t38.5 -15.5t15.5 -38.5t-15.5 -38.5t-38.5 -15.5t-38.5 15.5t-15.5 38.5zM246 300q0 23 15.5 38.5t38.5 15.5t38.5 -15.5t15.5 -38.5+t-15.5 -38.5t-38.5 -15.5t-38.5 15.5t-15.5 38.5zM46 300q0 23 15.5 38.5t38.5 15.5t38.5 -15.5t15.5 -38.5t-15.5 -38.5t-38.5 -15.5t-38.5 15.5t-15.5 38.5zM364 200q0 15 10.5 25.5t25.5 10.5t25.5 -10.5t10.5 -25.5t-10.5 -25.5t-25.5 -10.5t-25.5 10.5t-10.5 25.5z+M164 200q0 15 10.5 25.5t25.5 10.5t25.5 -10.5t10.5 -25.5t-10.5 -25.5t-25.5 -10.5t-25.5 10.5t-10.5 25.5zM-36 200q0 15 10.5 25.5t25.5 10.5t25.5 -10.5t10.5 -25.5t-10.5 -25.5t-25.5 -10.5t-25.5 10.5t-10.5 25.5zM446 100q0 23 15.5 38.5t38.5 15.5t38.5 -15.5+t15.5 -38.5t-15.5 -38.5t-38.5 -15.5t-38.5 15.5t-15.5 38.5zM246 100q0 23 15.5 38.5t38.5 15.5t38.5 -15.5t15.5 -38.5t-15.5 -38.5t-38.5 -15.5t-38.5 15.5t-15.5 38.5zM46 100q0 23 15.5 38.5t38.5 15.5t38.5 -15.5t15.5 -38.5t-15.5 -38.5t-38.5 -15.5t-38.5 15.5+t-15.5 38.5zM364 0q0 15 10.5 25.5t25.5 10.5t25.5 -10.5t10.5 -25.5t-10.5 -25.5t-25.5 -10.5t-25.5 10.5t-10.5 25.5zM164 0q0 15 10.5 25.5t25.5 10.5t25.5 -10.5t10.5 -25.5t-10.5 -25.5t-25.5 -10.5t-25.5 10.5t-10.5 25.5zM-36 0q0 15 10.5 25.5t25.5 10.5t25.5 -10.5+t10.5 -25.5t-10.5 -25.5t-25.5 -10.5t-25.5 10.5t-10.5 25.5zM446 -100q0 23 15.5 38.5t38.5 15.5t38.5 -15.5t15.5 -38.5t-15.5 -38.5t-38.5 -15.5t-38.5 15.5t-15.5 38.5zM246 -100q0 23 15.5 38.5t38.5 15.5t38.5 -15.5t15.5 -38.5t-15.5 -38.5t-38.5 -15.5t-38.5 15.5+t-15.5 38.5zM46 -100q0 23 15.5 38.5t38.5 15.5t38.5 -15.5t15.5 -38.5t-15.5 -38.5t-38.5 -15.5t-38.5 15.5t-15.5 38.5zM364 -200q0 15 10.5 25.5t25.5 10.5t25.5 -10.5t10.5 -25.5t-10.5 -25.5t-25.5 -10.5t-25.5 10.5t-10.5 25.5zM164 -200q0 15 10.5 25.5t25.5 10.5+t25.5 -10.5t10.5 -25.5t-10.5 -25.5t-25.5 -10.5t-25.5 10.5t-10.5 25.5zM-36 -200q0 15 10.5 25.5t25.5 10.5t25.5 -10.5t10.5 -25.5t-10.5 -25.5t-25.5 -10.5t-25.5 10.5t-10.5 25.5zM446 -300q0 23 15.5 38.5t38.5 15.5t38.5 -15.5t15.5 -38.5t-15.5 -38.5t-38.5 -15.5+t-38.5 15.5t-15.5 38.5zM246 -300q0 23 15.5 38.5t38.5 15.5t38.5 -15.5t15.5 -38.5t-15.5 -38.5t-38.5 -15.5t-38.5 15.5t-15.5 38.5zM46 -300q0 23 15.5 38.5t38.5 15.5t38.5 -15.5t15.5 -38.5t-15.5 -38.5t-38.5 -15.5t-38.5 15.5t-15.5 38.5zM364 -400q0 15 10.5 25.5+t25.5 10.5t25.5 -10.5t10.5 -25.5t-10.5 -25.5t-25.5 -10.5t-25.5 10.5t-10.5 25.5zM164 -400q0 15 10.5 25.5t25.5 10.5t25.5 -10.5t10.5 -25.5t-10.5 -25.5t-25.5 -10.5t-25.5 10.5t-10.5 25.5zM-36 -400q0 15 10.5 25.5t25.5 10.5t25.5 -10.5t10.5 -25.5t-10.5 -25.5+t-25.5 -10.5t-25.5 10.5t-10.5 25.5z" />+ <glyph glyph-name="uni2593" unicode="▓"+d="M419 900q0 34 23.5 57.5t57.5 23.5t57.5 -23.5t23.5 -57.5t-23.5 -57.5t-57.5 -23.5t-57.5 23.5t-23.5 57.5zM219 900q0 34 23.5 57.5t57.5 23.5t57.5 -23.5t23.5 -57.5t-23.5 -57.5t-57.5 -23.5t-57.5 23.5t-23.5 57.5zM19 900q0 34 23.5 57.5t57.5 23.5t57.5 -23.5+t23.5 -57.5t-23.5 -57.5t-57.5 -23.5t-57.5 23.5t-23.5 57.5zM346 800q0 23 15.5 38.5t38.5 15.5t38.5 -15.5t15.5 -38.5t-15.5 -38.5t-38.5 -15.5t-38.5 15.5t-15.5 38.5zM146 800q0 23 15.5 38.5t38.5 15.5t38.5 -15.5t15.5 -38.5t-15.5 -38.5t-38.5 -15.5t-38.5 15.5+t-15.5 38.5zM-54 800q0 23 15.5 38.5t38.5 15.5t38.5 -15.5t15.5 -38.5t-15.5 -38.5t-38.5 -15.5t-38.5 15.5t-15.5 38.5zM419 700q0 34 23.5 57.5t57.5 23.5t57.5 -23.5t23.5 -57.5t-23.5 -57.5t-57.5 -23.5t-57.5 23.5t-23.5 57.5zM219 700q0 34 23.5 57.5t57.5 23.5+t57.5 -23.5t23.5 -57.5t-23.5 -57.5t-57.5 -23.5t-57.5 23.5t-23.5 57.5zM19 700q0 34 23.5 57.5t57.5 23.5t57.5 -23.5t23.5 -57.5t-23.5 -57.5t-57.5 -23.5t-57.5 23.5t-23.5 57.5zM346 600q0 23 15.5 38.5t38.5 15.5t38.5 -15.5t15.5 -38.5t-15.5 -38.5t-38.5 -15.5+t-38.5 15.5t-15.5 38.5zM146 600q0 23 15.5 38.5t38.5 15.5t38.5 -15.5t15.5 -38.5t-15.5 -38.5t-38.5 -15.5t-38.5 15.5t-15.5 38.5zM-54 600q0 23 15.5 38.5t38.5 15.5t38.5 -15.5t15.5 -38.5t-15.5 -38.5t-38.5 -15.5t-38.5 15.5t-15.5 38.5zM419 500q0 34 23.5 57.5+t57.5 23.5t57.5 -23.5t23.5 -57.5t-23.5 -57.5t-57.5 -23.5t-57.5 23.5t-23.5 57.5zM219 500q0 34 23.5 57.5t57.5 23.5t57.5 -23.5t23.5 -57.5t-23.5 -57.5t-57.5 -23.5t-57.5 23.5t-23.5 57.5zM19 500q0 34 23.5 57.5t57.5 23.5t57.5 -23.5t23.5 -57.5t-23.5 -57.5+t-57.5 -23.5t-57.5 23.5t-23.5 57.5zM346 400q0 23 15.5 38.5t38.5 15.5t38.5 -15.5t15.5 -38.5t-15.5 -38.5t-38.5 -15.5t-38.5 15.5t-15.5 38.5zM146 400q0 23 15.5 38.5t38.5 15.5t38.5 -15.5t15.5 -38.5t-15.5 -38.5t-38.5 -15.5t-38.5 15.5t-15.5 38.5zM-54 400+q0 23 15.5 38.5t38.5 15.5t38.5 -15.5t15.5 -38.5t-15.5 -38.5t-38.5 -15.5t-38.5 15.5t-15.5 38.5zM419 300q0 34 23.5 57.5t57.5 23.5t57.5 -23.5t23.5 -57.5t-23.5 -57.5t-57.5 -23.5t-57.5 23.5t-23.5 57.5zM219 300q0 34 23.5 57.5t57.5 23.5t57.5 -23.5t23.5 -57.5+t-23.5 -57.5t-57.5 -23.5t-57.5 23.5t-23.5 57.5zM19 300q0 34 23.5 57.5t57.5 23.5t57.5 -23.5t23.5 -57.5t-23.5 -57.5t-57.5 -23.5t-57.5 23.5t-23.5 57.5zM346 200q0 23 15.5 38.5t38.5 15.5t38.5 -15.5t15.5 -38.5t-15.5 -38.5t-38.5 -15.5t-38.5 15.5t-15.5 38.5z+M146 200q0 23 15.5 38.5t38.5 15.5t38.5 -15.5t15.5 -38.5t-15.5 -38.5t-38.5 -15.5t-38.5 15.5t-15.5 38.5zM-54 200q0 23 15.5 38.5t38.5 15.5t38.5 -15.5t15.5 -38.5t-15.5 -38.5t-38.5 -15.5t-38.5 15.5t-15.5 38.5zM419 100q0 34 23.5 57.5t57.5 23.5t57.5 -23.5+t23.5 -57.5t-23.5 -57.5t-57.5 -23.5t-57.5 23.5t-23.5 57.5zM219 100q0 34 23.5 57.5t57.5 23.5t57.5 -23.5t23.5 -57.5t-23.5 -57.5t-57.5 -23.5t-57.5 23.5t-23.5 57.5zM19 100q0 34 23.5 57.5t57.5 23.5t57.5 -23.5t23.5 -57.5t-23.5 -57.5t-57.5 -23.5t-57.5 23.5+t-23.5 57.5zM346 0q0 23 15.5 38.5t38.5 15.5t38.5 -15.5t15.5 -38.5t-15.5 -38.5t-38.5 -15.5t-38.5 15.5t-15.5 38.5zM146 0q0 23 15.5 38.5t38.5 15.5t38.5 -15.5t15.5 -38.5t-15.5 -38.5t-38.5 -15.5t-38.5 15.5t-15.5 38.5zM-54 0q0 23 15.5 38.5t38.5 15.5t38.5 -15.5+t15.5 -38.5t-15.5 -38.5t-38.5 -15.5t-38.5 15.5t-15.5 38.5zM419 -100q0 34 23.5 57.5t57.5 23.5t57.5 -23.5t23.5 -57.5t-23.5 -57.5t-57.5 -23.5t-57.5 23.5t-23.5 57.5zM219 -100q0 34 23.5 57.5t57.5 23.5t57.5 -23.5t23.5 -57.5t-23.5 -57.5t-57.5 -23.5t-57.5 23.5+t-23.5 57.5zM19 -100q0 34 23.5 57.5t57.5 23.5t57.5 -23.5t23.5 -57.5t-23.5 -57.5t-57.5 -23.5t-57.5 23.5t-23.5 57.5zM346 -200q0 23 15.5 38.5t38.5 15.5t38.5 -15.5t15.5 -38.5t-15.5 -38.5t-38.5 -15.5t-38.5 15.5t-15.5 38.5zM146 -200q0 23 15.5 38.5t38.5 15.5+t38.5 -15.5t15.5 -38.5t-15.5 -38.5t-38.5 -15.5t-38.5 15.5t-15.5 38.5zM-54 -200q0 23 15.5 38.5t38.5 15.5t38.5 -15.5t15.5 -38.5t-15.5 -38.5t-38.5 -15.5t-38.5 15.5t-15.5 38.5zM419 -300q0 34 23.5 57.5t57.5 23.5t57.5 -23.5t23.5 -57.5t-23.5 -57.5t-57.5 -23.5+t-57.5 23.5t-23.5 57.5zM219 -300q0 34 23.5 57.5t57.5 23.5t57.5 -23.5t23.5 -57.5t-23.5 -57.5t-57.5 -23.5t-57.5 23.5t-23.5 57.5zM19 -300q0 34 23.5 57.5t57.5 23.5t57.5 -23.5t23.5 -57.5t-23.5 -57.5t-57.5 -23.5t-57.5 23.5t-23.5 57.5zM346 -400q0 23 15.5 38.5+t38.5 15.5t38.5 -15.5t15.5 -38.5t-15.5 -38.5t-38.5 -15.5t-38.5 15.5t-15.5 38.5zM146 -400q0 23 15.5 38.5t38.5 15.5t38.5 -15.5t15.5 -38.5t-15.5 -38.5t-38.5 -15.5t-38.5 15.5t-15.5 38.5zM-54 -400q0 23 15.5 38.5t38.5 15.5t38.5 -15.5t15.5 -38.5t-15.5 -38.5+t-38.5 -15.5t-38.5 15.5t-15.5 38.5z" />+ <glyph glyph-name="uni2594" unicode="▔"+d="M0 825v175h600v-175h-600z" />+ <glyph glyph-name="uni2595" unicode="▕"+d="M525 -400v1400h75v-1400h-75z" />+ <glyph glyph-name="uni2596" unicode="▖"+d="M0 -400v700h300v-700h-300z" />+ <glyph glyph-name="uni2597" unicode="▗"+d="M300 -400v700h300v-700h-300z" />+ <glyph glyph-name="uni2598" unicode="▘"+d="M0 300v700h300v-700h-300z" />+ <glyph glyph-name="uni2599" unicode="▙"+d="M0 -400v1400h300v-700h300v-700h-600z" />+ <glyph glyph-name="uni259A" unicode="▚"+d="M0 300v700h300v-700h-300zM300 -400v700h300v-700h-300z" />+ <glyph glyph-name="uni259B" unicode="▛"+d="M600 300h-300v-700h-300v1400h600v-700z" />+ <glyph glyph-name="uni259C" unicode="▜"+d="M600 -400h-300v700h-300v700h600v-1400z" />+ <glyph glyph-name="uni259D" unicode="▝"+d="M300 300v700h300v-700h-300z" />+ <glyph glyph-name="uni259E" unicode="▞"+d="M300 1000h300v-700h-300v700zM0 300h300v-700h-300v700z" />+ <glyph glyph-name="uni259F" unicode="▟"+d="M600 -400h-600v700h300v700h300v-1400z" />+ <glyph glyph-name="uni25A0" unicode="■"+d="M87 117v426h426v-426h-426z" />+ <glyph glyph-name="uni25A1" unicode="□"+d="M73 103v454h454v-454h-454zM126 152h348v356h-348v-356z" />+ <glyph glyph-name="uni25AA" unicode="▪"+d="M166 129v266h268v-266h-268z" />+ <glyph glyph-name="uni25AB" unicode="▫"+d="M154 117v290h292v-290h-292zM203 162h194v200h-194v-200z" />+ <glyph glyph-name="filledrect" unicode="▬"+d="M0 196v112h600v-112h-600z" />+ <glyph glyph-name="triagup" unicode="▲"+d="M62 105v3l237 492h2l237 -492v-3h-476z" />+ <glyph glyph-name="uni25B3" unicode="△"+d="M62 105v3l237 492h2l237 -492v-3h-476zM137 149h326l-163 347z" />+ <glyph glyph-name="uni25B4" unicode="▴"+d="M139 129v3l160 293h2l160 -293v-3h-322z" />+ <glyph glyph-name="uni25B5" unicode="▵"+d="M117 117v3l182 326h2l182 -326v-3h-366zM191 160h218l-109 202z" />+ <glyph glyph-name="uni25B6" unicode="▶"+d="M62 109v475h3l493 -236v-3l-493 -236h-3z" />+ <glyph glyph-name="uni25B7" unicode="▷"+d="M62 109v475h3l493 -236v-3l-493 -236h-3zM109 186l345 160l-345 161v-321z" />+ <glyph glyph-name="uni25B8" unicode="▸"+d="M166 101v324h3l293 -161v-3l-293 -160h-3z" />+ <glyph glyph-name="uni25B9" unicode="▹"+d="M154 79v367h2l327 -182v-3l-327 -182h-2zM197 154l201 109l-201 108v-217z" />+ <glyph glyph-name="triagrt" unicode="►"+d="M21 109v475h3l601 -236v-3l-601 -236h-3z" />+ <glyph glyph-name="triagdn" unicode="▼"+d="M299 85l-237 492v3h476v-3l-237 -492h-2z" />+ <glyph glyph-name="uni25BD" unicode="▽"+d="M299 85l-237 492v3h476v-3l-237 -492h-2zM300 189l163 347h-326z" />+ <glyph glyph-name="uni25BE" unicode="▾"+d="M299 99l-160 293v3h322v-3l-160 -293h-2z" />+ <glyph glyph-name="uni25BF" unicode="▿"+d="M299 78l-182 326v3h366v-3l-182 -326h-2zM300 162l109 202h-218z" />+ <glyph glyph-name="uni25C0" unicode="◀"+d="M535 109l-493 236v3l493 236h3v-475h-3z" />+ <glyph glyph-name="uni25C1" unicode="◁"+d="M535 109l-493 236v3l493 236h3v-475h-3zM491 186v321l-344 -161z" />+ <glyph glyph-name="uni25C2" unicode="◂"+d="M431 101l-293 160v3l293 161h3v-324h-3z" />+ <glyph glyph-name="uni25C3" unicode="◃"+d="M444 79l-327 182v3l327 182h2v-367h-2zM403 154v217l-201 -108z" />+ <glyph glyph-name="triaglf" unicode="◄"+d="M576 109l-601 236v3l601 236h3v-475h-3z" />+ <glyph glyph-name="uni25C6" unicode="◆"+d="M300 75l-267 268l267 267l267 -267z" />+ <glyph glyph-name="uni25C9" unicode="◉"+d="M300 91q-51 0 -96.5 17.5t-79 50t-53.5 79t-20 105.5q0 58 20 104.5t53.5 79t79 50t96.5 17.5t96.5 -17.5t79 -50t53.5 -79t20 -104.5q0 -59 -20 -105.5t-53.5 -79t-79 -50t-96.5 -17.5zM300 141q39 0 74.5 13.5t62.5 39.5t43.5 63.5t16.5 85.5t-16.5 85.5t-43.5 63.5+t-62.5 39.5t-74.5 13.5t-74.5 -13.5t-62.5 -39.5t-43.5 -63.5t-16.5 -85.5t16.5 -85.5t43.5 -63.5t62.5 -39.5t74.5 -13.5zM300 199q-28 0 -53 10t-44.5 29t-31 45.5t-11.5 59.5q0 32 11.5 58.5t31 45t44.5 29t53 10.5t53 -10.5t44.5 -29t31 -45t11.5 -58.5+q0 -33 -11.5 -59.5t-31 -45.5t-44.5 -29t-53 -10z" />+ <glyph glyph-name="lozenge" unicode="◊"+d="M262 -10l-166 339l166 338h76l166 -338l-166 -339h-76zM298 59h4l64 133l65 137l-65 135l-64 134h-4l-64 -134l-65 -135l65 -137z" />+ <glyph glyph-name="uni25CB" unicode="○"+d="M300 94q-52 0 -95.5 18t-75 49.5t-49.5 75t-18 93.5t18 93.5t49.5 75t75 49.5t95.5 18t95.5 -18t75 -49.5t49.5 -75t18 -93.5t-18 -93.5t-49.5 -75t-75 -49.5t-95.5 -18zM300 144q39 0 72 14t57.5 38.5t38 58.5t13.5 75q0 40 -13.5 74.5t-38 59t-57.5 38.5t-72 14+t-72 -14t-57.5 -38.5t-38 -59t-13.5 -74.5q0 -41 13.5 -75t38 -58.5t57.5 -38.5t72 -14z" />+ <glyph glyph-name="uni25CC" unicode="◌"+d="M299 -12q-14 0 -24 9.5t-10 27.5q0 17 10 26.5t24 9.5q16 0 26 -9.5t10 -26.5q0 -18 -10 -27.5t-26 -9.5zM193 15q-14 0 -24.5 9.5t-10.5 28.5q0 17 10.5 26t24.5 9q15 0 25.5 -9t10.5 -26q0 -19 -10 -28.5t-26 -9.5zM405 15q-14 0 -24 9.5t-10 28.5q0 17 10 26t24 9+q15 0 25.5 -9t10.5 -26q0 -19 -9.5 -28.5t-26.5 -9.5zM115 97q-14 0 -24 9.5t-10 26.5q0 18 10 28t24 10q16 0 26 -10t10 -28q0 -17 -9.5 -26.5t-26.5 -9.5zM484 97q-14 0 -24.5 9.5t-10.5 26.5q0 18 10.5 28t24.5 10q15 0 25 -10t10 -28q0 -17 -9 -26.5t-26 -9.5zM87 206+q-14 0 -24 10t-10 27q0 18 10 27t24 9q16 0 26.5 -9t10.5 -27q0 -17 -10 -27t-27 -10zM511 206q-15 0 -25 10t-10 27q0 18 10 27t25 9q14 0 25 -9t11 -27q0 -17 -10 -27t-26 -10zM115 316q-14 0 -24 10t-10 28t10 27t24 9q16 0 26 -9t10 -27t-9.5 -28t-26.5 -10zM484 316+q-14 0 -24.5 9.5t-10.5 27.5q0 17 10.5 26.5t24.5 9.5q15 0 25 -9.5t10 -26.5q0 -37 -35 -37zM193 398q-14 0 -24.5 9.5t-10.5 26.5q0 19 10.5 28t24.5 9q15 0 25.5 -9t10.5 -28q0 -17 -10 -26.5t-26 -9.5zM405 397q-14 0 -24 10t-10 27q0 18 10 27.5t24 9.5q15 0 25.5 -9.5+t10.5 -27.5q0 -17 -9.5 -27t-26.5 -10zM299 424q-14 0 -24 10t-10 28q0 17 10 26.5t24 9.5q16 0 26 -9.5t10 -26.5q0 -18 -10 -28t-26 -10z" />+ <glyph glyph-name="uni25CF" unicode="●"+d="M300 105q-49 0 -90.5 17t-71.5 47t-47 71.5t-17 89.5t17 89.5t47 71.5t71.5 47t90.5 17t90.5 -17t71.5 -47t47 -71.5t17 -89.5t-17 -89.5t-47 -71.5t-71.5 -47t-90.5 -17z" />+ <glyph glyph-name="invbullet" unicode="◘"+d="M152 115v294h296v-294h-296zM300 127q29 0 54 10t43 28t28.5 43t10.5 54t-10.5 54t-28.5 43t-43 28t-54 10t-54 -10t-43 -28t-28.5 -43t-10.5 -54t10.5 -54t28.5 -43t43 -28t54 -10z" />+ <glyph glyph-name="invcircle" unicode="◙"+d="M68 100v460h464v-460h-464zM300 104q50 0 92 17t72 47.5t47 72t17 89.5t-17 89.5t-47 72t-72 47.5t-92 17t-92 -17t-72 -47.5t-47 -72t-17 -89.5t17 -89.5t47 -72t72 -47.5t92 -17zM300 153q-37 0 -68.5 13t-54 36.5t-35.5 56t-13 71.5t13 71.5t35.5 56t54 36.5t68.5 13+t68.5 -13t54 -36.5t35.5 -56t13 -71.5t-13 -71.5t-35.5 -56t-54 -36.5t-68.5 -13z" />+ <glyph glyph-name="uni25E6" unicode="◦"+d="M300 103q-35 0 -64.5 12t-51 33.5t-33.5 50.5t-12 63t12 63t33.5 50.5t51 33.5t64.5 12t64.5 -12t51 -33.5t33.5 -50.5t12 -63t-12 -63t-33.5 -50.5t-51 -33.5t-64.5 -12zM300 151q47 0 76.5 31t29.5 80t-29.5 80t-76.5 31t-76.5 -31t-29.5 -80t29.5 -80t76.5 -31z" />+ <glyph glyph-name="uni2610" unicode="☐"+d="M-25 -10v630l61 51h589v-620l-52 -61h-598zM18 33h532v564h-532v-564z" />+ <glyph glyph-name="uni2611" unicode="☑"+d="M250 104q-28 77 -62.5 145t-77.5 132l56 38q37 -58 67.5 -121t50.5 -126h4q32 110 84.5 219t118.5 206h-473v-564h532v532q-68 -95 -123.5 -208.5t-90.5 -242.5zM-25 -10v630l61 51h508q51 67 108 124l54 -50l-40.5 -40.5t-40.5 -43.5v-610l-52 -61h-598z" />+ <glyph glyph-name="uni2615" unicode="☕"+d="M248 39q-64 0 -115.5 23t-88 71t-56.5 121.5t-20 173.5q0 94 74 143.5t206 49.5q121 0 190 -39.5t83 -114.5q58 -11 92.5 -44.5t34.5 -102.5q0 -38 -15 -69t-40.5 -53.5t-59.5 -34.5t-72 -12q-35 -58 -91 -85t-122 -27zM248 80q61 0 110.5 24.5t76.5 81.5q42 0 73 11+t51.5 29t30.5 42.5t10 51.5q0 46 -29 78t-88 32q0 72 -60.5 112t-174.5 40q-113 0 -173.5 -43.5t-60.5 -118.5q0 -90 17 -154t48 -105.5t74 -61t95 -19.5zM248 326q-93 0 -142.5 22t-73.5 62q15 47 71.5 74.5t144.5 27.5t145 -28t72 -74q-12 -20 -30 -35.5t-44 -26.5+t-61 -16.5t-82 -5.5zM458 250q10 28 14.5 56t6.5 56q29 0 43 -10t14 -38q0 -32 -23 -48t-55 -16zM310 419q-43 29 -73 39.5t-58 10.5q-25 0 -38 -8t-13 -19q0 -8 6.5 -13.5t24.5 -9.5q-18 -5 -24.5 -10t-6.5 -13q0 -11 13 -19.5t38 -8.5q28 0 58 11t73 40zM314 419+q23 -14 40 -18.5t26 -4.5q11 0 18.5 6t7.5 17t-7.5 16.5t-18.5 5.5q-9 0 -26 -4t-40 -18z" />+ <glyph glyph-name="smileface" unicode="☺"+d="M300 39q-64 0 -117.5 21.5t-92 60.5t-60 92.5t-21.5 116.5t21.5 116.5t60 92.5t92 60.5t117.5 21.5t117.5 -21.5t92 -60.5t60 -92.5t21.5 -116.5t-21.5 -116.5t-60 -92.5t-92 -60.5t-117.5 -21.5zM300 84q53 0 97.5 18t76 50.5t49 77.5t17.5 100t-17.5 100t-49 77.5+t-76 50.5t-97.5 18t-97.5 -18t-76 -50.5t-49 -77.5t-17.5 -100t17.5 -100t49 -77.5t76 -50.5t97.5 -18zM221 340q-23 0 -35.5 17.5t-12.5 46.5t12.5 46.5t35.5 17.5t36 -17.5t13 -46.5t-13 -46.5t-36 -17.5zM379 340q-23 0 -36 17.5t-13 46.5t13 46.5t36 17.5t35.5 -17.5+t12.5 -46.5t-12.5 -46.5t-35.5 -17.5zM300 152q-66 0 -106.5 34.5t-48.5 95.5l34 13q14 -39 45 -57t76 -18t76 18t45 57l34 -13q-8 -61 -48.5 -95.5t-106.5 -34.5zM236 397q13 0 13 15t-13 15t-13 -15t13 -15zM393 397q13 0 13 15t-13 15q-12 0 -12 -15t12 -15z" />+ <glyph glyph-name="invsmileface" unicode="☻"+d="M300 59q-60 0 -110 20.5t-86 56.5t-55.5 85.5t-19.5 108.5t19.5 108.5t55.5 85.5t86 56.5t110 20.5t110 -20.5t86 -56.5t55.5 -85.5t19.5 -108.5t-19.5 -108.5t-55.5 -85.5t-86 -56.5t-110 -20.5zM220 345q23 0 35 18t12 45q0 26 -12 44t-35 18t-35.5 -18t-12.5 -44+q0 -27 12.5 -45t35.5 -18zM380 345q23 0 35.5 18t12.5 45q0 26 -12.5 44t-35.5 18t-35 -18t-12 -44q0 -27 12 -45t35 -18zM300 149q68 0 108 33t51 96l-34 13q-15 -39 -47 -58t-78 -19t-78 19t-47 58l-34 -13q11 -63 51 -96t108 -33zM208 394q-7 0 -12 4.5t-5 13.5t5 14+t12 5q6 0 11 -5t5 -14t-5 -13.5t-11 -4.5zM368 394q-7 0 -12 4.5t-5 13.5t5 14t12 5t12 -5t5 -14t-5 -13.5t-12 -4.5z" />+ <glyph glyph-name="sun" unicode="☼"+d="M300 192q30 0 55 10t43 28.5t28 44t10 55.5t-10 55.5t-28 44t-43 28.5t-55 10t-55 -10t-43 -28.5t-28 -44t-10 -55.5t10 -55.5t28 -44t43 -28.5t55 -10zM504 83l-88 90q-37 -28 -84 -34v-116h-64v116q-23 3 -43.5 11.5t-38.5 20.5l-90 -88l-43 44l88 87q-29 38 -36 85+h-108v62h108q3 23 12 43.5t22 38.5l-86 88l43 44l87 -88q18 13 39.5 22t45.5 12v116h64v-116q45 -6 83 -33l89 87l43 -44l-88 -86q28 -36 36 -84h108v-62h-108q-7 -46 -35 -83l87 -89z" />+ <glyph glyph-name="female" unicode="♀"+d="M300 299q37 0 68.5 13t54.5 36.5t36 55.5t13 71t-13 71t-36 55t-54.5 36t-68.5 13t-68.5 -13t-55 -36t-36.5 -55t-13 -71t13 -71t36.5 -55.5t55 -36.5t68.5 -13zM267 -46v128h-142v62h142v101q-45 6 -83 25.5t-65.5 50t-43 70t-15.5 84.5q0 49 18 91.5t50 74t76 49+t96 17.5t96 -17.5t76 -49t50 -74t18 -91.5q0 -45 -15.5 -84.5t-43 -70t-65.5 -50t-83 -25.5v-101h142v-62h-142v-128h-66z" />+ <glyph glyph-name="male" unicode="♂"+d="M228 9q-52 0 -96 17.5t-76 49t-50 74t-18 92.5q0 49 18 91.5t50 73.5t76 49t96 18q37 0 69.5 -9t59.5 -26l158 155l-176 -7v58l271 3l3 -3l-2 -272h-59l7 177l-150 -154q28 -30 43 -69.5t15 -84.5q0 -50 -18 -92.5t-50 -74t-76 -49t-95 -17.5zM228 66q37 0 68.5 13+t54.5 36t36.5 55.5t13.5 71.5q0 38 -13.5 70t-36.5 55.5t-54.5 36.5t-68.5 13t-68.5 -13t-55 -36.5t-36.5 -55.5t-13 -70q0 -39 13 -71.5t36.5 -55.5t55 -36t68.5 -13z" />+ <glyph glyph-name="spade" unicode="♠"+d="M105 0v40q33 5 61 17t50 35.5t37.5 61.5t24.5 94h-7q-23 -52 -57 -71t-76 -19q-56 0 -92.5 33t-36.5 103q0 45 13 85t46 87.5t88.5 108.5t141.5 149h4q85 -88 141 -149t89 -108.5t46 -87.5t13 -85q0 -70 -36.5 -103t-92.5 -33q-42 0 -76 19t-57 71h-7q9 -56 24.5 -94+t37.5 -61.5t50 -35.5t61 -17v-40h-390z" />+ <glyph glyph-name="club" unicode="♣"+d="M105 0v40q33 5 61 17t50 35.5t37.5 61.5t24.5 94h-7q-21 -50 -56.5 -68.5t-72.5 -18.5q-60 0 -96.5 42t-36.5 110q0 35 11 61.5t30 44t45 26.5t55 9q17 0 34 -4.5t40 -15.5l4 4q-25 22 -40 43.5t-22.5 41t-10 36t-2.5 29.5q0 27 11.5 50t31.5 39.5t46.5 26t57.5 9.5+t57.5 -9.5t46.5 -26t31.5 -39.5t11.5 -50q0 -13 -2.5 -29.5t-10 -36t-22.5 -41t-40 -43.5l4 -4q23 11 40 15.5t34 4.5q29 0 55 -9t45 -26.5t30 -44t11 -61.5q0 -34 -9.5 -62t-27 -48t-42 -31t-54.5 -11q-19 0 -37.5 4.5t-35.5 14.5t-31.5 26.5t-24.5 41.5h-7q9 -56 24.5 -94+t37.5 -61.5t50 -35.5t61 -17v-40h-390z" />+ <glyph glyph-name="heart" unicode="♥"+d="M302 -12h-4q-90 97 -146.5 171t-88 135.5t-43 114t-11.5 106.5q0 49 11 86t30.5 62t46 37.5t57.5 12.5q49 0 86 -26.5t58 -93.5h4q21 67 58.5 93.5t85.5 26.5q31 0 57.5 -12.5t46 -37.5t30.5 -62t11 -86q0 -54 -11.5 -106.5t-43 -114t-88 -135.5t-146.5 -171z" />+ <glyph glyph-name="diamond" unicode="♦"+d="M302 -12h-4l-293 367v4l293 365h4l293 -365v-4z" />+ <glyph glyph-name="musicalnote" unicode="♪"+d="M178 -24q-41 0 -71 19t-30 57q0 23 11.5 44t32 37.5t49.5 26t64 9.5q20 0 37 -3.5t24 -8.5v537h50q4 -10 8 -17.5t11.5 -15t19.5 -17t31 -22.5q34 -24 56 -47t35 -46.5t18 -49t5 -53.5q0 -39 -10.5 -73.5t-21.5 -57.5l-35 13q8 24 10.5 44.5t2.5 47.5q0 48 -32.5 89.5+t-92.5 60.5v-407q0 -41 -14 -72.5t-37.5 -52.5t-55 -31.5t-65.5 -10.5z" />+ <glyph glyph-name="musicalnotedbl" unicode="♫"+d="M104 -24q-40 0 -70 19t-30 57q0 23 11 44t30.5 37.5t47.5 26t61 9.5q20 0 37 -3.5t24 -8.5v517l378 60v-539q0 -41 -13.5 -72t-36.5 -52t-53.5 -31.5t-63.5 -10.5q-40 0 -69.5 19t-29.5 57q0 23 11 44t30.5 37.5t47 26t60.5 9.5q20 0 37 -3.5t24 -8.5v363l-267 -42v-388+q0 -41 -13.5 -72.5t-36.5 -52.5t-53 -31.5t-63 -10.5z" />+ <glyph glyph-name="uni2713" unicode="✓"+d="M145 -20q-30 83 -66.5 154.5t-84.5 140.5l56 38q42 -63 75.5 -130.5t56.5 -134.5h4q27 89 66 178t87 171.5t103 155.5t114 131l54 -50q-59 -55 -115 -124.5t-105 -151.5t-90 -174.5t-69 -193.5z" />+ <glyph glyph-name="uni2752" unicode="❒"+d="M73 103v405l59 49h395v-399l-51 -55h-403zM115 143h344v349h-344v-349z" />+ <glyph glyph-name="uni2764" unicode="❤"+d="M302 9h-4q-24 47 -60.5 78.5t-77.5 57.5t-82 51t-74.5 59t-54 82t-20.5 119q0 49 14.5 86.5t41 63t62.5 38.5t79 13q66 0 109.5 -29.5t62.5 -103.5h4q19 74 62.5 103.5t109.5 29.5q43 0 79 -13t62.5 -38.5t41 -63t14.5 -86.5q0 -71 -20.5 -119t-54 -82t-74.5 -59t-82 -51+t-77.5 -57.5t-60.5 -78.5z" />+ <glyph glyph-name="uni27E6" unicode="⟦"+d="M186 -152v860h316v-47h-172v-766h172v-47h-316zM238 -105h43v766h-43v-766z" />+ <glyph glyph-name="uni27E7" unicode="⟧"+d="M98 -152v47h172v766h-172v47h316v-860h-316zM319 -105h43v766h-43v-766z" />+ <glyph glyph-name="uni2E18" unicode="⸘"+d="M346 254l11 -224l4 -76h-70l1 76l3 107q-15 -19 -33 -36t-33 -35.5t-25.5 -40.5t-10.5 -51q0 -45 31.5 -75t92.5 -30q80 0 141 63l48 -44q-35 -38 -85.5 -61t-109.5 -23q-44 0 -80 11.5t-61.5 32.5t-39.5 50t-14 63q0 39 13.5 68t33.5 51.5t43 41t42 38t31 42t9 52.5h58z+M318 498q28 0 48.5 -20.5t20.5 -54.5t-20.5 -54.5t-48.5 -20.5q-29 0 -49.5 20.5t-20.5 54.5t20.5 54.5t49.5 20.5z" />+ <glyph glyph-name="uni2E22" unicode="⸢"+d="M226 278v430h276v-47h-211v-383h-65z" />+ <glyph glyph-name="uni2E23" unicode="⸣"+d="M309 278v370h-211v47h277v-417h-66z" />+ <glyph glyph-name="uni2E24" unicode="⸤"+d="M225 -152v430h66v-383h211v-47h-277z" />+ <glyph glyph-name="uni2E25" unicode="⸥"+d="M98 -152v47h211v383h66v-430h-277z" />+ <glyph glyph-name="uniE0A0" unicode=""+d="M180 -280h-81v281q0 59 13.5 100t35.5 70.5t50.5 50t58 38.5t58 37t50.5 45t35.5 62t13.5 89v225h-116l158 197l156 -197h-117v-243q0 -60 -13.5 -101.5t-35.5 -71t-50.5 -50t-58 -38.5t-58 -37t-50.5 -44.5t-35.5 -61.5t-13.5 -88v-263zM180 384l-81 -51v727h81v-676z+" />+ <glyph glyph-name="uniE0A1" unicode=""+d="M83 440v480h74v-418h224v-62h-298zM195 -166v478h82l180 -391h4l-18 215v176h74v-478h-84l-179 387h-4l19 -199v-188h-74z" />+ <glyph glyph-name="uniE0A2" unicode=""+d="M85 -70l-40 36v518l40 36h46v153q0 88 44 135.5t125 47.5t125 -47.5t44 -135.5v-153h46l40 -36v-518l-40 -36h-430zM246 59l44 -20h20l44 20l-26 169q29 11 42.5 31.5t13.5 47.5q0 35 -24.5 59t-59.5 24t-59.5 -24t-24.5 -59q0 -27 13.5 -47.5t42.5 -31.5zM199 520h202+v145q0 60 -25 93t-76 33t-76 -33t-25 -93v-145z" />+ <glyph glyph-name="uniE0B0" unicode=""+d="M0 -280v1320l600 -660z" />+ <glyph glyph-name="uniE0B1" unicode=""+d="M42 -225l-49 48l529 557l-529 557l49 48l569 -605z" />+ <glyph glyph-name="uniE0B2" unicode=""+d="M613 -280l-613 660l613 660v-1320z" />+ <glyph glyph-name="uniE0B3" unicode=""+d="M558 -225l-569 605l569 605l49 -48l-529 -557l529 -557z" />+ <glyph glyph-name="f_i" unicode="fi"+d="M118 0v419h-66v62l66 5v77q0 75 34.5 118t107.5 43q23 0 43.5 -4.5t37.5 -11.5l-17 -63q-29 12 -55 12q-69 0 -69 -94v-77h103v-67h-103v-419h-82zM414 0v486h82v-486h-82zM456 588q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="f_l" unicode="fl"+d="M123 0v419h-66v62l66 5v77q0 75 34.5 118t107.5 43q23 0 43.5 -4.5t37.5 -11.5l-18 -63q-27 12 -55 12q-68 0 -68 -94v-77h103v-67h-103v-419h-82zM488 -12q-47 0 -67 28t-20 82v614h82v-620q0 -20 7 -28t16 -8h7.5t10.5 2l11 -62q-9 -4 -20 -6t-27 -2z" />+ <glyph glyph-name="uniFE0E" unicode="︎"+d="M300 583q-8 0 -14 6t-6 15q0 8 6 14t14 6q9 0 14.5 -6t5.5 -14q0 -9 -5.5 -15t-14.5 -6zM300 33q-8 0 -14 6t-6 15q0 8 6 14t14 6q9 0 14.5 -6t5.5 -14q0 -9 -5.5 -15t-14.5 -6zM250 583q-8 0 -14 6t-6 15q0 8 6 14t14 6q9 0 14.5 -6t5.5 -14q0 -9 -5.5 -15t-14.5 -6z+M250 33q-8 0 -14 6t-6 15q0 8 6 14t14 6q9 0 14.5 -6t5.5 -14q0 -9 -5.5 -15t-14.5 -6zM200 583q-8 0 -14 6t-6 15q0 8 6 14t14 6q9 0 14.5 -6t5.5 -14q0 -9 -5.5 -15t-14.5 -6zM150 583q-8 0 -14 6t-6 15q0 8 6 14t14 6q9 0 14.5 -6t5.5 -14q0 -9 -5.5 -15t-14.5 -6z+M100 583q-8 0 -14 6t-6 15q0 8 6 14t14 6q9 0 14.5 -6t5.5 -14q0 -9 -5.5 -15t-14.5 -6zM50 583q-8 0 -14 6t-6 15q0 8 6 14t14 6q9 0 14.5 -6t5.5 -14q0 -9 -5.5 -15t-14.5 -6zM50 533q-8 0 -14 6t-6 15q0 8 6 14t14 6q9 0 14.5 -6t5.5 -14q0 -9 -5.5 -15t-14.5 -6zM50 483+q-8 0 -14 6t-6 15q0 8 6 14t14 6q9 0 14.5 -6t5.5 -14q0 -9 -5.5 -15t-14.5 -6zM50 433q-8 0 -14 6t-6 15q0 8 6 14t14 6q9 0 14.5 -6t5.5 -14q0 -9 -5.5 -15t-14.5 -6zM150 383q-8 0 -14 6t-6 15q0 8 6 14t14 6q9 0 14.5 -6t5.5 -14q0 -9 -5.5 -15t-14.5 -6zM100 383+q-8 0 -14 6t-6 15q0 8 6 14t14 6q9 0 14.5 -6t5.5 -14q0 -9 -5.5 -15t-14.5 -6zM50 383q-8 0 -14 6t-6 15q0 8 6 14t14 6q9 0 14.5 -6t5.5 -14q0 -9 -5.5 -15t-14.5 -6zM200 383q-8 0 -14 6t-6 15q0 8 6 14t14 6q9 0 14.5 -6t5.5 -14q0 -9 -5.5 -15t-14.5 -6zM200 333+q-8 0 -14 6t-6 15q0 8 6 14t14 6q9 0 14.5 -6t5.5 -14q0 -9 -5.5 -15t-14.5 -6zM200 283q-8 0 -14 6t-6 15q0 8 6 14t14 6q9 0 14.5 -6t5.5 -14q0 -9 -5.5 -15t-14.5 -6zM200 233q-8 0 -14 6t-6 15q0 8 6 14t14 6q9 0 14.5 -6t5.5 -14q0 -9 -5.5 -15t-14.5 -6zM200 183+q-8 0 -14 6t-6 15q0 8 6 14t14 6q9 0 14.5 -6t5.5 -14q0 -9 -5.5 -15t-14.5 -6zM200 133q-8 0 -14 6t-6 15q0 8 6 14t14 6q9 0 14.5 -6t5.5 -14q0 -9 -5.5 -15t-14.5 -6zM200 83q-8 0 -14 6t-6 15q0 8 6 14t14 6q9 0 14.5 -6t5.5 -14q0 -9 -5.5 -15t-14.5 -6zM200 33+q-8 0 -14 6t-6 15q0 8 6 14t14 6q9 0 14.5 -6t5.5 -14q0 -9 -5.5 -15t-14.5 -6zM350 583q-9 0 -14.5 6t-5.5 15q0 8 5.5 14t14.5 6q8 0 14 -6t6 -14q0 -9 -6 -15t-14 -6zM350 33q-9 0 -14.5 6t-5.5 15q0 8 5.5 14t14.5 6q8 0 14 -6t6 -14q0 -9 -6 -15t-14 -6zM400 583+q-9 0 -14.5 6t-5.5 15q0 8 5.5 14t14.5 6q8 0 14 -6t6 -14q0 -9 -6 -15t-14 -6zM450 583q-9 0 -14.5 6t-5.5 15q0 8 5.5 14t14.5 6q8 0 14 -6t6 -14q0 -9 -6 -15t-14 -6zM500 583q-9 0 -14.5 6t-5.5 15q0 8 5.5 14t14.5 6q8 0 14 -6t6 -14q0 -9 -6 -15t-14 -6zM550 583+q-9 0 -14.5 6t-5.5 15q0 8 5.5 14t14.5 6q8 0 14 -6t6 -14q0 -9 -6 -15t-14 -6zM550 533q-9 0 -14.5 6t-5.5 15q0 8 5.5 14t14.5 6q8 0 14 -6t6 -14q0 -9 -6 -15t-14 -6zM550 483q-9 0 -14.5 6t-5.5 15q0 8 5.5 14t14.5 6q8 0 14 -6t6 -14q0 -9 -6 -15t-14 -6zM550 433+q-9 0 -14.5 6t-5.5 15q0 8 5.5 14t14.5 6q8 0 14 -6t6 -14q0 -9 -6 -15t-14 -6zM450 383q-9 0 -14.5 6t-5.5 15q0 8 5.5 14t14.5 6q8 0 14 -6t6 -14q0 -9 -6 -15t-14 -6zM500 383q-9 0 -14.5 6t-5.5 15q0 8 5.5 14t14.5 6q8 0 14 -6t6 -14q0 -9 -6 -15t-14 -6zM550 383+q-9 0 -14.5 6t-5.5 15q0 8 5.5 14t14.5 6q8 0 14 -6t6 -14q0 -9 -6 -15t-14 -6zM400 383q-9 0 -14.5 6t-5.5 15q0 8 5.5 14t14.5 6q8 0 14 -6t6 -14q0 -9 -6 -15t-14 -6zM400 333q-9 0 -14.5 6t-5.5 15q0 8 5.5 14t14.5 6q8 0 14 -6t6 -14q0 -9 -6 -15t-14 -6zM400 283+q-9 0 -14.5 6t-5.5 15q0 8 5.5 14t14.5 6q8 0 14 -6t6 -14q0 -9 -6 -15t-14 -6zM400 233q-9 0 -14.5 6t-5.5 15q0 8 5.5 14t14.5 6q8 0 14 -6t6 -14q0 -9 -6 -15t-14 -6zM400 183q-9 0 -14.5 6t-5.5 15q0 8 5.5 14t14.5 6q8 0 14 -6t6 -14q0 -9 -6 -15t-14 -6zM400 133+q-9 0 -14.5 6t-5.5 15q0 8 5.5 14t14.5 6q8 0 14 -6t6 -14q0 -9 -6 -15t-14 -6zM400 83q-9 0 -14.5 6t-5.5 15q0 8 5.5 14t14.5 6q8 0 14 -6t6 -14q0 -9 -6 -15t-14 -6zM400 33q-9 0 -14.5 6t-5.5 15q0 8 5.5 14t14.5 6q8 0 14 -6t6 -14q0 -9 -6 -15t-14 -6z" />+ <glyph glyph-name="uniFE0F" unicode="️"+d="M300 579q-20 0 -20 20t20 20t20 -20t-20 -20zM41 372q-20 0 -20 20t20 20t20 -20t-20 -20zM58 431q-20 0 -20 20t20 20t20 -20t-20 -20zM91 481q-8 0 -14 6.5t-6 15.5q0 8 6 14t14 6q9 0 14.5 -6t5.5 -14q0 -9 -5.5 -15.5t-14.5 -6.5zM134 524q-8 0 -14 6.5t-6 15.5+t6 14.5t14 5.5q20 0 20 -20q0 -9 -5 -15.5t-15 -6.5zM186 554q-9 0 -14.5 6.5t-5.5 15.5q0 20 20 20t20 -20q0 -9 -5.5 -15.5t-14.5 -6.5zM242 572q-8 0 -14 6.5t-6 15.5t6 14.5t14 5.5q20 0 20 -20q0 -9 -5 -15.5t-15 -6.5zM565 308q-9 0 -14.5 6.5t-5.5 15.5q0 20 20 20+t20 -20q0 -9 -5.5 -15.5t-14.5 -6.5zM559 372q-20 0 -20 20t20 20t20 -20t-20 -20zM542 431q-20 0 -20 20t20 20t20 -20t-20 -20zM509 481q-9 0 -14.5 6.5t-5.5 15.5q0 8 5.5 14t14.5 6q8 0 14 -6t6 -14q0 -9 -6 -15.5t-14 -6.5zM466 524q-10 0 -15 6.5t-5 15.5q0 20 20 20+q8 0 14 -5.5t6 -14.5t-6 -15.5t-14 -6.5zM414 554q-9 0 -14.5 6.5t-5.5 15.5q0 20 20 20t20 -20q0 -9 -5.5 -15.5t-14.5 -6.5zM358 572q-10 0 -15 6.5t-5 15.5q0 20 20 20q8 0 14 -5.5t6 -14.5t-6 -15.5t-14 -6.5zM300 81q9 0 14.5 -6.5t5.5 -15.5q0 -8 -5.5 -14t-14.5 -6+t-14.5 6t-5.5 14q0 9 5.5 15.5t14.5 6.5zM35 350q20 0 20 -22q0 -8 -5.5 -14t-14.5 -6t-14.5 6t-5.5 14q0 22 20 22zM41 288q9 0 14.5 -6.5t5.5 -15.5q0 -8 -5.5 -14t-14.5 -6t-14.5 6t-5.5 14q0 9 5.5 15.5t14.5 6.5zM58 229q9 0 14.5 -6.5t5.5 -15.5q0 -8 -5.5 -14+t-14.5 -6t-14.5 6t-5.5 14q0 9 5.5 15.5t14.5 6.5zM91 177q20 0 20 -20t-20 -20q-8 0 -14 5.5t-6 14.5t6 14.5t14 5.5zM134 134q20 0 20 -22q0 -8 -5 -14t-15 -6q-8 0 -14 6t-6 14q0 11 6 16.5t14 5.5zM186 104q20 0 20 -22q0 -8 -5.5 -14t-14.5 -6t-14.5 6t-5.5 14+q0 22 20 22zM242 86q20 0 20 -22q0 -8 -5 -14t-15 -6q-8 0 -14 6t-6 14q0 11 6 16.5t14 5.5zM559 288q9 0 14.5 -6.5t5.5 -15.5q0 -8 -5.5 -14t-14.5 -6t-14.5 6t-5.5 14q0 9 5.5 15.5t14.5 6.5zM542 229q9 0 14.5 -6.5t5.5 -15.5q0 -8 -5.5 -14t-14.5 -6t-14.5 6t-5.5 14+q0 9 5.5 15.5t14.5 6.5zM509 177q8 0 14 -5.5t6 -14.5t-6 -14.5t-14 -5.5q-20 0 -20 20t20 20zM466 134q8 0 14 -5.5t6 -16.5q0 -8 -6 -14t-14 -6q-10 0 -15 6t-5 14q0 22 20 22zM414 104q20 0 20 -22q0 -8 -5.5 -14t-14.5 -6t-14.5 6t-5.5 14q0 22 20 22zM358 86+q8 0 14 -5.5t6 -16.5q0 -8 -6 -14t-14 -6q-10 0 -15 6t-5 14q0 22 20 22zM300 207q9 0 14.5 -6.5t5.5 -15.5q0 -8 -5.5 -14t-14.5 -6t-14.5 6t-5.5 14q0 9 5.5 15.5t14.5 6.5zM444 288q9 0 14.5 -6.5t5.5 -15.5q0 -8 -5.5 -14t-14.5 -6t-14.5 6t-5.5 14q0 9 5.5 15.5+t14.5 6.5zM409 240q9 0 14.5 -6.5t5.5 -15.5q0 -8 -5.5 -14t-14.5 -6t-14.5 6t-5.5 14q0 9 5.5 15.5t14.5 6.5zM358 213q8 0 14 -5.5t6 -14.5t-6 -14.5t-14 -5.5q-20 0 -20 20t20 20zM156 288q9 0 14.5 -6.5t5.5 -15.5q0 -8 -5.5 -14t-14.5 -6t-14.5 6t-5.5 14q0 9 5.5 15.5+t14.5 6.5zM191 240q9 0 14.5 -6.5t5.5 -15.5q0 -8 -5.5 -14t-14.5 -6t-14.5 6t-5.5 14q0 9 5.5 15.5t14.5 6.5zM242 213q20 0 20 -20t-20 -20q-8 0 -14 5.5t-6 14.5t6 14.5t14 5.5zM222 366q20 0 20 -20t-20 -20t-20 20t20 20zM262 396q9 0 14.5 -6.5t5.5 -15.5+q0 -8 -5.5 -14t-14.5 -6t-14.5 6t-5.5 14q0 9 5.5 15.5t14.5 6.5zM222 435q-20 0 -20 20t20 20t20 -20t-20 -20zM262 404q-9 0 -14.5 6.5t-5.5 15.5q0 8 5.5 14t14.5 6t14.5 -6t5.5 -14q0 -9 -5.5 -15.5t-14.5 -6.5zM182 396q9 0 14.5 -6.5t5.5 -15.5q0 -8 -5.5 -14+t-14.5 -6t-14.5 6t-5.5 14q0 9 5.5 15.5t14.5 6.5zM182 404q-9 0 -14.5 6.5t-5.5 15.5q0 8 5.5 14t14.5 6t14.5 -6t5.5 -14q0 -9 -5.5 -15.5t-14.5 -6.5zM378 366q20 0 20 -20t-20 -20t-20 20t20 20zM338 396q9 0 14.5 -6.5t5.5 -15.5q0 -8 -5.5 -14t-14.5 -6t-14.5 6+t-5.5 14q0 9 5.5 15.5t14.5 6.5zM378 435q-20 0 -20 20t20 20t20 -20t-20 -20zM338 404q-9 0 -14.5 6.5t-5.5 15.5q0 8 5.5 14t14.5 6t14.5 -6t5.5 -14q0 -9 -5.5 -15.5t-14.5 -6.5zM418 396q9 0 14.5 -6.5t5.5 -15.5q0 -8 -5.5 -14t-14.5 -6t-14.5 6t-5.5 14q0 9 5.5 15.5+t14.5 6.5zM418 404q-9 0 -14.5 6.5t-5.5 15.5q0 8 5.5 14t14.5 6t14.5 -6t5.5 -14q0 -9 -5.5 -15.5t-14.5 -6.5z" />+ <glyph glyph-name="uniFEFF" unicode=""+ />+ <glyph glyph-name="u1F3B5" unicode="🎵"+d="M178 -24q-41 0 -71 19t-30 57q0 23 11.5 44t32 37.5t49.5 26t64 9.5q20 0 37 -3.5t24 -8.5v537h50q4 -10 8 -17.5t11.5 -15t19.5 -17t31 -22.5q34 -24 56 -47t35 -46.5t18 -49t5 -53.5q0 -39 -10.5 -73.5t-21.5 -57.5l-35 13q8 24 10.5 44.5t2.5 47.5q0 48 -32.5 89.5+t-92.5 60.5v-407q0 -41 -14 -72.5t-37.5 -52.5t-55 -31.5t-65.5 -10.5z" />+ <glyph glyph-name="u1F3B6" unicode="🎶"+d="M104 -24q-40 0 -70 19t-30 57q0 23 11 44t30.5 37.5t47.5 26t61 9.5q20 0 37 -3.5t24 -8.5v517l378 60v-539q0 -41 -13.5 -72t-36.5 -52t-53.5 -31.5t-63.5 -10.5q-40 0 -69.5 19t-29.5 57q0 23 11 44t30.5 37.5t47 26t60.5 9.5q20 0 37 -3.5t24 -8.5v363l-267 -42v-388+q0 -41 -13.5 -72.5t-36.5 -52.5t-53 -31.5t-63 -10.5z" />+ <glyph glyph-name="u1F4A9" unicode="💩"+d="M300 14q-80 0 -137 6t-94.5 22.5t-55 44.5t-17.5 73q0 95 91 118q-18 14 -27 35.5t-9 54.5q0 54 30.5 83.5t78.5 38.5q-9 9 -15 20t-6 32q0 25 9.5 39.5t24.5 22.5t34.5 12.5t39.5 9.5t39 12.5t33 23.5q142 -39 142 -118q0 -20 -5 -31.5t-16 -22.5q48 -9 78.5 -38.5+t30.5 -83.5q0 -33 -9 -54.5t-27 -35.5q91 -23 91 -118q0 -45 -17.5 -73t-55 -44.5t-95 -22.5t-136.5 -6zM300 109q63 0 100 28t43 87h-286q6 -59 43 -87t100 -28zM148 312l28 -2q2 35 10.5 50.5t26.5 15.5t27 -15.5t11 -50.5l28 2q-1 65 -17.5 92.5t-48.5 27.5t-48 -27.5+t-17 -92.5zM321 312l28 -2q2 35 11 50.5t27 15.5t26.5 -15.5t10.5 -50.5l28 2q-1 65 -17 92.5t-48 27.5t-48.5 -27.5t-17.5 -92.5z" />+ <glyph glyph-name="u1F512" unicode="🔒"+d="M85 -70l-40 36v518l40 36h46v153q0 88 44 135.5t125 47.5t125 -47.5t44 -135.5v-153h46l40 -36v-518l-40 -36h-430zM246 59l44 -20h20l44 20l-26 169q29 11 42.5 31.5t13.5 47.5q0 35 -24.5 59t-59.5 24t-59.5 -24t-24.5 -59q0 -27 13.5 -47.5t42.5 -31.5zM199 520h202+v145q0 60 -25 93t-76 33t-76 -33t-25 -93v-145z" />+ <glyph glyph-name="u1F916" unicode="🤖"+d="M300 39q-90 0 -159.5 42.5t-103.5 126.5q-63 12 -63 140q0 38 10.5 56.5t35.5 23.5q22 98 96 145.5t184 47.5t184 -47.5t96 -145.5q25 -5 35.5 -23.5t10.5 -56.5q0 -128 -63 -140q-34 -84 -103.5 -126.5t-159.5 -42.5zM300 84q51 0 95 16t76 48.5t50.5 82.5t18.5 119+q0 61 -16.5 104t-48 70t-76 39.5t-99.5 12.5q-56 0 -100 -12.5t-75.5 -39.5t-48 -70t-16.5 -104q0 -69 18.5 -119t50.5 -82.5t76 -48.5t95 -16zM300 258q-98 0 -145.5 21t-47.5 75q0 83 51.5 121.5t141.5 38.5t141.5 -38.5t51.5 -121.5q0 -54 -47.5 -75t-145.5 -21zM147 332+l32 -2q2 33 10 47.5t26 14.5t26 -14.5t10 -47.5l32 2q-2 65 -19 92.5t-49 27.5t-49 -27.5t-19 -92.5zM317 332l32 -2q2 33 10 47.5t26 14.5t26 -14.5t10 -47.5l32 2q-2 65 -19 92.5t-49 27.5t-49 -27.5t-19 -92.5zM300 149q-15 0 -26 5.5t-11 18.5q0 9 7 12t30 3t30 -3+t7 -12q0 -13 -11 -18.5t-26 -5.5z" />+ <glyph glyph-name="uni00470303"+d="M337 -12q-62 0 -114 23t-90 66.5t-59 107t-21 143.5q0 79 21.5 142.5t60 107t92 67t117.5 23.5q33 0 60 -7t49.5 -18.5t40 -25.5t31.5 -29l-47 -53q-24 26 -55 43t-79 17q-46 0 -83.5 -18.5t-64.5 -53t-41.5 -83.5t-14.5 -110q0 -62 13.5 -111.5t39 -84.5t63.5 -54+t86 -19q35 0 65 10.5t49 28.5v171h-131v69h208v-276q-31 -32 -81.5 -54t-114.5 -22zM405 709q-28 0 -48 11t-36.5 24.5t-31 24.5t-32.5 11q-19 0 -32 -17t-16 -49l-56 4q3 57 30 90t72 33q28 0 48 -11t36.5 -24.5t31 -24.5t32.5 -11q40 0 48 66l56 -4q-3 -58 -30 -90.5+t-72 -32.5z" />+ <glyph glyph-name="uni004C00B7004C"+d="M68 0v656h76v-585h131v-71h-207zM246 272q-33 0 -55.5 22.5t-22.5 61.5t22.5 60.5t55.5 21.5t56.5 -21.5t23.5 -60.5t-23.5 -61.5t-56.5 -22.5zM348 0v656h76v-585h130v-71h-206z" />+ <glyph glyph-name="uni01320301"+d="M112 0v656h83v-656h-83zM351 -165q-23 0 -41.5 4t-32.5 9l16 66q11 -4 23.5 -7t25.5 -3q38 0 50.5 25.5t12.5 70.5v656h83v-659q0 -74 -31.5 -118t-105.5 -44zM126 697l-36 42l141 128l47 -55zM417 697l-36 42l141 128l47 -55z" />+ <glyph glyph-name="uni00670303"+d="M296 -224q-107 0 -165.5 35t-58.5 100q0 29 20.5 57t59.5 51v4q-20 11 -35 30t-15 50q0 23 15 47.5t43 43.5v4q-25 19 -42.5 50.5t-17.5 75.5q0 40 15.5 72t41.5 54.5t60.5 35t73.5 12.5q40 0 72 -12h201v-67h-126q17 -17 29 -43t12 -55q0 -39 -14.5 -70t-40 -52.5+t-60 -33t-73.5 -11.5q-19 0 -40.5 4.5t-41.5 13.5q-38 -24 -38 -56q0 -29 26.5 -42.5t74.5 -13.5h109q94 0 139.5 -26t45.5 -88q0 -34 -19 -65t-54 -54t-85 -37t-112 -14zM291 209q47 0 79.5 31t32.5 84q0 25 -9 46t-24 36t-35.5 23.5t-43.5 8.5t-43.5 -8.5t-35.5 -23.5+t-24 -36t-9 -46q0 -53 33 -84t79 -31zM302 -164q42 0 76 8t58 21.5t36.5 31t12.5 36.5q0 35 -27.5 47t-83.5 12h-95q-21 0 -39.5 1.5t-34.5 6.5q-35 -19 -48.5 -39.5t-13.5 -41.5q0 -38 40.5 -60.5t118.5 -22.5zM379 577q-27 0 -46 13t-35 29t-30.5 29t-31.5 13+q-23 0 -34 -22t-13 -57l-55 3q1 29 7.5 54t18.5 43t30.5 28.5t44.5 10.5q27 0 46 -13t35 -29t30.5 -29t32.5 -13q22 0 33 22t13 57l55 -4q-1 -29 -7.5 -53.5t-18.5 -42.5t-30.5 -28.5t-44.5 -10.5z" />+ <glyph glyph-name="uni006C00B7006C"+d="M230 -12q-64 0 -97.5 44t-33.5 131v482h-107v67h182v-555q0 -54 18 -77.5t48 -23.5q11 0 22 4t26 11l21 -62q-20 -8 -37.5 -14.5t-41.5 -6.5zM294 272q-33 0 -55.5 22.5t-22.5 61.5t22.5 60.5t55.5 21.5t56.5 -21.5t23.5 -60.5t-23.5 -61.5t-56.5 -22.5zM540 -12+q-63 0 -96.5 44t-33.5 131v482h-108v67h183v-555q0 -54 18 -77.5t48 -23.5q11 0 22 4t26 11l21 -62q-20 -8 -37.5 -14.5t-42.5 -6.5z" />+ <glyph glyph-name="uni01330301"+d="M112 0v486h82v-486h-82zM371 -217q-23 0 -40.5 4t-30.5 9l16 62q10 -3 21.5 -5.5t24.5 -2.5q37 0 48.5 25t11.5 70v541h82v-541q0 -74 -30 -118t-103 -44zM123 568l-43 41l142 168l58 -56zM433 568l-43 41l142 168l58 -56z" />+ <glyph glyph-name="uni014A.a"+d="M397 -165q-22 0 -39.5 3.5t-29.5 8.5l16 66q9 -3 20 -6t22 -3q32 0 42 26t10 70h-12l-210 412l-63 136h-2q2 -51 6.5 -102.5t4.5 -102.5v-343h-80v656h92l210 -412l63 -136h2q-2 49 -6.5 102.5t-4.5 105.5v340h80v-659q0 -75 -28.5 -118.5t-92.5 -43.5z" />+ <glyph glyph-name="a.a"+d="M270 -12q-47 0 -85.5 17t-66.5 49.5t-43 79.5t-15 108q0 59 18 106.5t49 80.5t71 51t84 18q43 0 79 -17t70 -49h3l7 54h66v-486h-68l-7 64h-3q-29 -31 -71 -53.5t-88 -22.5zM288 57q72 0 137 73v242q-33 31 -64.5 44t-63.5 13t-59.5 -13.5t-48 -38t-32.5 -58.5t-12 -76+q0 -88 37.5 -137t105.5 -49z" />+ <glyph glyph-name="agrave.a"+d="M270 -12q-47 0 -85.5 17t-66.5 49.5t-43 79.5t-15 108q0 59 18 106.5t49 80.5t71 51t84 18q43 0 79 -17t70 -49h3l7 54h66v-486h-68l-7 64h-3q-29 -31 -71 -53.5t-88 -22.5zM288 57q72 0 137 73v242q-33 31 -64.5 44t-63.5 13t-59.5 -13.5t-48 -38t-32.5 -58.5t-12 -76+q0 -88 37.5 -137t105.5 -49zM325 568l-157 153l58 56l142 -168z" />+ <glyph glyph-name="aacute.a"+d="M270 -12q-47 0 -85.5 17t-66.5 49.5t-43 79.5t-15 108q0 59 18 106.5t49 80.5t71 51t84 18q43 0 79 -17t70 -49h3l7 54h66v-486h-68l-7 64h-3q-29 -31 -71 -53.5t-88 -22.5zM288 57q72 0 137 73v242q-33 31 -64.5 44t-63.5 13t-59.5 -13.5t-48 -38t-32.5 -58.5t-12 -76+q0 -88 37.5 -137t105.5 -49zM283 568l-43 41l142 168l58 -56z" />+ <glyph glyph-name="acircumflex.a"+d="M270 -12q-47 0 -85.5 17t-66.5 49.5t-43 79.5t-15 108q0 59 18 106.5t49 80.5t71 51t84 18q43 0 79 -17t70 -49h3l7 54h66v-486h-68l-7 64h-3q-29 -31 -71 -53.5t-88 -22.5zM288 57q72 0 137 73v242q-33 31 -64.5 44t-63.5 13t-59.5 -13.5t-48 -38t-32.5 -58.5t-12 -76+q0 -88 37.5 -137t105.5 -49zM184 568l-35 32l114 140h82l114 -140l-35 -32l-118 113h-4z" />+ <glyph glyph-name="atilde.a"+d="M270 -12q-47 0 -85.5 17t-66.5 49.5t-43 79.5t-15 108q0 59 18 106.5t49 80.5t71 51t84 18q43 0 79 -17t70 -49h3l7 54h66v-486h-68l-7 64h-3q-29 -31 -71 -53.5t-88 -22.5zM288 57q72 0 137 73v242q-33 31 -64.5 44t-63.5 13t-59.5 -13.5t-48 -38t-32.5 -58.5t-12 -76+q0 -88 37.5 -137t105.5 -49zM376 577q-27 0 -46 13t-35 29t-30.5 29t-31.5 13q-23 0 -34 -22t-13 -57l-55 3q1 29 7.5 54t18.5 43t30.5 28.5t44.5 10.5q27 0 46 -13t35 -29t30.5 -29t32.5 -13q22 0 33 22t13 57l55 -4q-1 -29 -7.5 -53.5t-18.5 -42.5t-30.5 -28.5+t-44.5 -10.5z" />+ <glyph glyph-name="adieresis.a"+d="M270 -12q-47 0 -85.5 17t-66.5 49.5t-43 79.5t-15 108q0 59 18 106.5t49 80.5t71 51t84 18q43 0 79 -17t70 -49h3l7 54h66v-486h-68l-7 64h-3q-29 -31 -71 -53.5t-88 -22.5zM288 57q72 0 137 73v242q-33 31 -64.5 44t-63.5 13t-59.5 -13.5t-48 -38t-32.5 -58.5t-12 -76+q0 -88 37.5 -137t105.5 -49zM207 588q-24 0 -39.5 16t-15.5 40q0 23 15.5 39.5t39.5 16.5t39.5 -16.5t15.5 -39.5q0 -24 -15.5 -40t-39.5 -16zM401 588q-24 0 -39.5 16t-15.5 40q0 23 15.5 39.5t39.5 16.5t39.5 -16.5t15.5 -39.5q0 -24 -15.5 -40t-39.5 -16z" />+ <glyph glyph-name="amacron.a"+d="M270 -12q-47 0 -85.5 17t-66.5 49.5t-43 79.5t-15 108q0 59 18 106.5t49 80.5t71 51t84 18q43 0 79 -17t70 -49h3l7 54h66v-486h-68l-7 64h-3q-29 -31 -71 -53.5t-88 -22.5zM288 57q72 0 137 73v242q-33 31 -64.5 44t-63.5 13t-59.5 -13.5t-48 -38t-32.5 -58.5t-12 -76+q0 -88 37.5 -137t105.5 -49zM171 601v57h266v-57h-266z" />+ <glyph glyph-name="abreve.a"+d="M270 -12q-47 0 -85.5 17t-66.5 49.5t-43 79.5t-15 108q0 59 18 106.5t49 80.5t71 51t84 18q43 0 79 -17t70 -49h3l7 54h66v-486h-68l-7 64h-3q-29 -31 -71 -53.5t-88 -22.5zM288 57q72 0 137 73v242q-33 31 -64.5 44t-63.5 13t-59.5 -13.5t-48 -38t-32.5 -58.5t-12 -76+q0 -88 37.5 -137t105.5 -49zM304 571q-40 0 -69 13t-47.5 34.5t-28 48.5t-11.5 55l51 8q3 -19 10.5 -37.5t20.5 -33.5t31.5 -24t42.5 -9t42.5 9t31.5 24t20.5 33.5t10.5 37.5l51 -8q-2 -28 -11.5 -55t-28.5 -48.5t-47.5 -34.5t-68.5 -13z" />+ <glyph glyph-name="aring.a"+d="M270 -12q-47 0 -85.5 17t-66.5 49.5t-43 79.5t-15 108q0 59 18 106.5t49 80.5t71 51t84 18q43 0 79 -17t70 -49h3l7 54h66v-486h-68l-7 64h-3q-29 -31 -71 -53.5t-88 -22.5zM288 57q72 0 137 73v242q-33 31 -64.5 44t-63.5 13t-59.5 -13.5t-48 -38t-32.5 -58.5t-12 -76+q0 -88 37.5 -137t105.5 -49zM304 569q-52 0 -81 27.5t-29 68.5t29 68.5t81 27.5t81 -27.5t29 -68.5t-29 -68.5t-81 -27.5zM304 606q24 0 40.5 17t16.5 42q0 26 -16.5 42.5t-40.5 16.5t-40.5 -16.5t-16.5 -42.5q0 -25 16.5 -42t40.5 -17z" />+ <glyph glyph-name="aringacute.a"+d="M270 -12q-47 0 -85.5 17t-66.5 49.5t-43 79.5t-15 108q0 59 18 106.5t49 80.5t71 51t84 18q43 0 79 -17t70 -49h3l7 54h66v-486h-68l-7 64h-3q-29 -31 -71 -53.5t-88 -22.5zM288 57q72 0 137 73v242q-33 31 -64.5 44t-63.5 13t-59.5 -13.5t-48 -38t-32.5 -58.5t-12 -76+q0 -88 37.5 -137t105.5 -49zM304 569q-52 0 -81 27.5t-29 68.5q0 24 10 44t30 33l139 101l36 -50l-74 -35q38 -8 58.5 -33.5t20.5 -59.5q0 -41 -29 -68.5t-81 -27.5zM304 606q24 0 40.5 17t16.5 42q0 26 -16.5 42.5t-40.5 16.5t-40.5 -16.5t-16.5 -42.5q0 -25 16.5 -42+t40.5 -17z" />+ <glyph glyph-name="uni01CE.a"+d="M270 -12q-47 0 -85.5 17t-66.5 49.5t-43 79.5t-15 108q0 59 18 106.5t49 80.5t71 51t84 18q43 0 79 -17t70 -49h3l7 54h66v-486h-68l-7 64h-3q-29 -31 -71 -53.5t-88 -22.5zM288 57q72 0 137 73v242q-33 31 -64.5 44t-63.5 13t-59.5 -13.5t-48 -38t-32.5 -58.5t-12 -76+q0 -88 37.5 -137t105.5 -49zM263 574l-114 140l35 32l118 -113h4l118 113l35 -32l-114 -140h-82z" />+ <glyph glyph-name="uni1EA1.a"+d="M270 -12q-47 0 -85.5 17t-66.5 49.5t-43 79.5t-15 108q0 59 18 106.5t49 80.5t71 51t84 18q43 0 79 -17t70 -49h3l7 54h66v-486h-68l-7 64h-3q-29 -31 -71 -53.5t-88 -22.5zM288 57q72 0 137 73v242q-33 31 -64.5 44t-63.5 13t-59.5 -13.5t-48 -38t-32.5 -58.5t-12 -76+q0 -88 37.5 -137t105.5 -49zM304 -214q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="uni1EA3.a"+d="M270 -12q-47 0 -85.5 17t-66.5 49.5t-43 79.5t-15 108q0 59 18 106.5t49 80.5t71 51t84 18q43 0 79 -17t70 -49h3l7 54h66v-486h-68l-7 64h-3q-29 -31 -71 -53.5t-88 -22.5zM288 57q72 0 137 73v242q-33 31 -64.5 44t-63.5 13t-59.5 -13.5t-48 -38t-32.5 -58.5t-12 -76+q0 -88 37.5 -137t105.5 -49zM272 572l-9 40q24 6 40 16.5t16 30.5q0 43 -83 47l5 54q69 -2 106 -25.5t37 -68.5q0 -22 -9.5 -37.5t-25 -27t-35.5 -18.5t-42 -11z" />+ <glyph glyph-name="uni1EA5.a"+d="M270 -12q-47 0 -85.5 17t-66.5 49.5t-43 79.5t-15 108q0 59 18 106.5t49 80.5t71 51t84 18q43 0 79 -17t70 -49h3l7 54h66v-486h-68l-7 64h-3q-29 -31 -71 -53.5t-88 -22.5zM288 57q72 0 137 73v242q-33 31 -64.5 44t-63.5 13t-59.5 -13.5t-48 -38t-32.5 -58.5t-12 -76+q0 -88 37.5 -137t105.5 -49zM199 570l-29 34l100 92h68l100 -92l-29 -34l-103 72h-4zM438 637l-35 28l87 120l49 -34z" />+ <glyph glyph-name="uni1EA7.a"+d="M270 -12q-47 0 -85.5 17t-66.5 49.5t-43 79.5t-15 108q0 59 18 106.5t49 80.5t71 51t84 18q43 0 79 -17t70 -49h3l7 54h66v-486h-68l-7 64h-3q-29 -31 -71 -53.5t-88 -22.5zM288 57q72 0 137 73v242q-33 31 -64.5 44t-63.5 13t-59.5 -13.5t-48 -38t-32.5 -58.5t-12 -76+q0 -88 37.5 -137t105.5 -49zM199 570l-29 34l100 92h68l100 -92l-29 -34l-103 72h-4zM170 637l-113 112l48 36l100 -117z" />+ <glyph glyph-name="uni1EA9.a"+d="M270 -12q-47 0 -85.5 17t-66.5 49.5t-43 79.5t-15 108q0 59 18 106.5t49 80.5t71 51t84 18q43 0 79 -17t70 -49h3l7 54h66v-486h-68l-7 64h-3q-29 -31 -71 -53.5t-88 -22.5zM288 57q72 0 137 73v242q-33 31 -64.5 44t-63.5 13t-59.5 -13.5t-48 -38t-32.5 -58.5t-12 -76+q0 -88 37.5 -137t105.5 -49zM199 570l-29 34l100 92h68l100 -92l-29 -34l-103 72h-4zM420 635l-9 35q19 5 30.5 14t11.5 25q0 20 -16 29.5t-53 11.5l7 41q59 -2 90.5 -20t31.5 -53q0 -20 -8 -34t-21 -23.5t-29.5 -15.5t-34.5 -10z" />+ <glyph glyph-name="uni1EAB.a"+d="M270 -12q-47 0 -85.5 17t-66.5 49.5t-43 79.5t-15 108q0 59 18 106.5t49 80.5t71 51t84 18q43 0 79 -17t70 -49h3l7 54h66v-486h-68l-7 64h-3q-29 -31 -71 -53.5t-88 -22.5zM288 57q72 0 137 73v242q-33 31 -64.5 44t-63.5 13t-59.5 -13.5t-48 -38t-32.5 -58.5t-12 -76+q0 -88 37.5 -137t105.5 -49zM199 570l-29 34l100 88h68l100 -88l-29 -34l-103 69h-4zM369 710q-22 0 -39 6.5t-31.5 14.5t-28 14.5t-27.5 6.5q-15 0 -22 -10t-11 -32l-43 4q4 39 20.5 64t51.5 25q22 0 39 -6.5t31.5 -14.5t28 -14.5t27.5 -6.5q15 0 22 10t11 32l43 -4+q-4 -38 -20.5 -63.5t-51.5 -25.5z" />+ <glyph glyph-name="uni1EAD.a"+d="M270 -12q-47 0 -85.5 17t-66.5 49.5t-43 79.5t-15 108q0 59 18 106.5t49 80.5t71 51t84 18q43 0 79 -17t70 -49h3l7 54h66v-486h-68l-7 64h-3q-29 -31 -71 -53.5t-88 -22.5zM288 57q72 0 137 73v242q-33 31 -64.5 44t-63.5 13t-59.5 -13.5t-48 -38t-32.5 -58.5t-12 -76+q0 -88 37.5 -137t105.5 -49zM184 568l-35 32l114 140h82l114 -140l-35 -32l-118 113h-4zM304 -214q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="uni1EAF.a"+d="M270 -12q-47 0 -85.5 17t-66.5 49.5t-43 79.5t-15 108q0 59 18 106.5t49 80.5t71 51t84 18q43 0 79 -17t70 -49h3l7 54h66v-486h-68l-7 64h-3q-29 -31 -71 -53.5t-88 -22.5zM288 57q72 0 137 73v242q-33 31 -64.5 44t-63.5 13t-59.5 -13.5t-48 -38t-32.5 -58.5t-12 -76+q0 -88 37.5 -137t105.5 -49zM304 571q-40 0 -69 13t-47.5 34.5t-28 48.5t-11.5 55l48 8q3 -20 10.5 -39.5t21 -34.5t32.5 -24.5t44 -9.5t44 9.5t32.5 24.5t21 34.5t10.5 39.5l48 -8q-2 -28 -11.5 -55t-28.5 -48.5t-47.5 -34.5t-68.5 -13zM299 679l-39 29l88 124l52 -40z" />+ <glyph glyph-name="uni1EB1.a"+d="M270 -12q-47 0 -85.5 17t-66.5 49.5t-43 79.5t-15 108q0 59 18 106.5t49 80.5t71 51t84 18q43 0 79 -17t70 -49h3l7 54h66v-486h-68l-7 64h-3q-29 -31 -71 -53.5t-88 -22.5zM288 57q72 0 137 73v242q-33 31 -64.5 44t-63.5 13t-59.5 -13.5t-48 -38t-32.5 -58.5t-12 -76+q0 -88 37.5 -137t105.5 -49zM304 571q-40 0 -69 13t-47.5 34.5t-28 48.5t-11.5 55l48 8q3 -20 10.5 -39.5t21 -34.5t32.5 -24.5t44 -9.5t44 9.5t32.5 24.5t21 34.5t10.5 39.5l48 -8q-2 -28 -11.5 -55t-28.5 -48.5t-47.5 -34.5t-68.5 -13zM309 679l-101 113l52 40l88 -124z+" />+ <glyph glyph-name="uni1EB3.a"+d="M270 -12q-47 0 -85.5 17t-66.5 49.5t-43 79.5t-15 108q0 59 18 106.5t49 80.5t71 51t84 18q43 0 79 -17t70 -49h3l7 54h66v-486h-68l-7 64h-3q-29 -31 -71 -53.5t-88 -22.5zM288 57q72 0 137 73v242q-33 31 -64.5 44t-63.5 13t-59.5 -13.5t-48 -38t-32.5 -58.5t-12 -76+q0 -88 37.5 -137t105.5 -49zM304 571q-40 0 -69 13t-47.5 34.5t-28 48.5t-11.5 55l48 8q3 -20 10.5 -39.5t21 -34.5t32.5 -24.5t44 -9.5t44 9.5t32.5 24.5t21 34.5t10.5 39.5l48 -8q-2 -28 -11.5 -55t-28.5 -48.5t-47.5 -34.5t-68.5 -13zM277 682l-8 36q21 5 34.5 14+t13.5 25q0 20 -17.5 29.5t-58.5 11.5l7 50q61 -2 95 -22t34 -60q0 -20 -8.5 -34.5t-22.5 -24.5t-32 -16t-37 -9z" />+ <glyph glyph-name="uni1EB5.a"+d="M270 -12q-47 0 -85.5 17t-66.5 49.5t-43 79.5t-15 108q0 59 18 106.5t49 80.5t71 51t84 18q43 0 79 -17t70 -49h3l7 54h66v-486h-68l-7 64h-3q-29 -31 -71 -53.5t-88 -22.5zM288 57q72 0 137 73v242q-33 31 -64.5 44t-63.5 13t-59.5 -13.5t-48 -38t-32.5 -58.5t-12 -76+q0 -88 37.5 -137t105.5 -49zM304 571q-37 0 -63 9.5t-43.5 25t-26.5 34.5t-11 38l47 8q4 -25 27 -46.5t70 -21.5t70 21.5t27 46.5l47 -8q-2 -19 -11 -38t-26.5 -34.5t-43.5 -25t-63 -9.5zM369 710q-22 0 -39 6.5t-31.5 14.5t-28 14.5t-27.5 6.5q-15 0 -22 -10.5t-11 -32.5+l-47 5q4 38 21.5 63t54.5 25q22 0 39 -6.5t31.5 -14.5t28 -14.5t27.5 -6.5q15 0 22 10.5t11 31.5l47 -4q-4 -38 -21.5 -63t-54.5 -25z" />+ <glyph glyph-name="uni1EB7.a"+d="M270 -12q-47 0 -85.5 17t-66.5 49.5t-43 79.5t-15 108q0 59 18 106.5t49 80.5t71 51t84 18q43 0 79 -17t70 -49h3l7 54h66v-486h-68l-7 64h-3q-29 -31 -71 -53.5t-88 -22.5zM288 57q72 0 137 73v242q-33 31 -64.5 44t-63.5 13t-59.5 -13.5t-48 -38t-32.5 -58.5t-12 -76+q0 -88 37.5 -137t105.5 -49zM304 571q-40 0 -69 13t-47.5 34.5t-28 48.5t-11.5 55l51 8q3 -19 10.5 -37.5t20.5 -33.5t31.5 -24t42.5 -9t42.5 9t31.5 24t20.5 33.5t10.5 37.5l51 -8q-2 -28 -11.5 -55t-28.5 -48.5t-47.5 -34.5t-68.5 -13zM304 -214q-28 0 -47 17.5t-19 46.5+t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="aogonek.a"+d="M451 -225q-42 0 -70.5 22.5t-28.5 70.5q0 43 26 76t62 56l-8 64h-3q-29 -31 -71 -53.5t-88 -22.5q-47 0 -85.5 17t-66.5 49.5t-43 79.5t-15 108q0 59 18 106.5t49 80.5t71 51t84 18q43 0 79 -17t70 -49h3l7 54h66v-491q-52 -23 -73 -52.5t-21 -58.5q0 -28 16.5 -41.5+t38.5 -13.5q16 0 28 6.5t21 14.5l24 -39q-17 -16 -39.5 -26t-50.5 -10zM288 57q72 0 137 73v242q-33 31 -64.5 44t-63.5 13t-59.5 -13.5t-48 -38t-32.5 -58.5t-12 -76q0 -88 37.5 -137t105.5 -49z" />+ <glyph glyph-name="g.a"+d="M280 -217q-48 0 -96.5 13t-88.5 39l30 59q38 -24 78 -34.5t77 -10.5q70 0 107.5 35t39.5 94l2 97h-3q-29 -29 -70 -49.5t-86 -20.5q-47 0 -85.5 17t-66.5 48.5t-43 77t-15 102.5t18 103t48.5 78t71 49.5t84.5 17.5q43 0 80 -17.5t69 -48.5h3l7 54h66v-505q0 -92 -59 -145+t-168 -53zM288 73q70 0 137 73v226q-33 31 -65 44t-64 13q-31 0 -58.5 -13t-48.5 -37t-33 -56.5t-12 -71.5q0 -82 38.5 -130t105.5 -48z" />+ <glyph glyph-name="uni01F5.a"+d="M280 -217q-48 0 -96.5 13t-88.5 39l30 59q38 -24 78 -34.5t77 -10.5q70 0 107.5 35t39.5 94l2 97h-3q-29 -29 -70 -49.5t-86 -20.5q-47 0 -85.5 17t-66.5 48.5t-43 77t-15 102.5t18 103t48.5 78t71 49.5t84.5 17.5q43 0 80 -17.5t69 -48.5h3l7 54h66v-505q0 -92 -59 -145+t-168 -53zM288 73q70 0 137 73v226q-33 31 -65 44t-64 13q-31 0 -58.5 -13t-48.5 -37t-33 -56.5t-12 -71.5q0 -82 38.5 -130t105.5 -48zM289 568l-43 41l142 168l58 -56z" />+ <glyph glyph-name="gcircumflex.a"+d="M280 -217q-48 0 -96.5 13t-88.5 39l30 59q38 -24 78 -34.5t77 -10.5q70 0 107.5 35t39.5 94l2 97h-3q-29 -29 -70 -49.5t-86 -20.5q-47 0 -85.5 17t-66.5 48.5t-43 77t-15 102.5t18 103t48.5 78t71 49.5t84.5 17.5q43 0 80 -17.5t69 -48.5h3l7 54h66v-505q0 -92 -59 -145+t-168 -53zM288 73q70 0 137 73v226q-33 31 -65 44t-64 13q-31 0 -58.5 -13t-48.5 -37t-33 -56.5t-12 -71.5q0 -82 38.5 -130t105.5 -48zM190 568l-35 32l114 140h82l114 -140l-35 -32l-118 113h-4z" />+ <glyph glyph-name="gbreve.a"+d="M280 -217q-48 0 -96.5 13t-88.5 39l30 59q38 -24 78 -34.5t77 -10.5q70 0 107.5 35t39.5 94l2 97h-3q-29 -29 -70 -49.5t-86 -20.5q-47 0 -85.5 17t-66.5 48.5t-43 77t-15 102.5t18 103t48.5 78t71 49.5t84.5 17.5q43 0 80 -17.5t69 -48.5h3l7 54h66v-505q0 -92 -59 -145+t-168 -53zM288 73q70 0 137 73v226q-33 31 -65 44t-64 13q-31 0 -58.5 -13t-48.5 -37t-33 -56.5t-12 -71.5q0 -82 38.5 -130t105.5 -48zM310 571q-40 0 -69 13t-47.5 34.5t-28 48.5t-11.5 55l51 8q3 -19 10.5 -37.5t20.5 -33.5t31.5 -24t42.5 -9t42.5 9t31.5 24t20.5 33.5+t10.5 37.5l51 -8q-2 -28 -11.5 -55t-28.5 -48.5t-47.5 -34.5t-68.5 -13z" />+ <glyph glyph-name="gdotaccent.a"+d="M280 -217q-48 0 -96.5 13t-88.5 39l30 59q38 -24 78 -34.5t77 -10.5q70 0 107.5 35t39.5 94l2 97h-3q-29 -29 -70 -49.5t-86 -20.5q-47 0 -85.5 17t-66.5 48.5t-43 77t-15 102.5t18 103t48.5 78t71 49.5t84.5 17.5q43 0 80 -17.5t69 -48.5h3l7 54h66v-505q0 -92 -59 -145+t-168 -53zM288 73q70 0 137 73v226q-33 31 -65 44t-64 13q-31 0 -58.5 -13t-48.5 -37t-33 -56.5t-12 -71.5q0 -82 38.5 -130t105.5 -48zM310 588q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="uni0123.a"+d="M280 -217q-48 0 -96.5 13t-88.5 39l30 59q38 -24 78 -34.5t77 -10.5q70 0 107.5 35t39.5 94l2 97h-3q-29 -29 -70 -49.5t-86 -20.5q-47 0 -85.5 17t-66.5 48.5t-43 77t-15 102.5t18 103t48.5 78t71 49.5t84.5 17.5q43 0 80 -17.5t69 -48.5h3l7 54h66v-505q0 -92 -59 -145+t-168 -53zM288 73q70 0 137 73v226q-33 31 -65 44t-64 13q-31 0 -58.5 -13t-48.5 -37t-33 -56.5t-12 -71.5q0 -82 38.5 -130t105.5 -48zM349 575q-65 7 -91 25t-26 52q0 44 42.5 65.5t122.5 26.5l8 -41q-63 -4 -86 -15.5t-23 -32.5q0 -20 18 -29.5t53 -12.5z" />+ <glyph glyph-name="gcaron.a"+d="M280 -217q-48 0 -96.5 13t-88.5 39l30 59q38 -24 78 -34.5t77 -10.5q70 0 107.5 35t39.5 94l2 97h-3q-29 -29 -70 -49.5t-86 -20.5q-47 0 -85.5 17t-66.5 48.5t-43 77t-15 102.5t18 103t48.5 78t71 49.5t84.5 17.5q43 0 80 -17.5t69 -48.5h3l7 54h66v-505q0 -92 -59 -145+t-168 -53zM288 73q70 0 137 73v226q-33 31 -65 44t-64 13q-31 0 -58.5 -13t-48.5 -37t-33 -56.5t-12 -71.5q0 -82 38.5 -130t105.5 -48zM269 574l-114 140l35 32l118 -113h4l118 113l35 -32l-114 -140h-82z" />+ <glyph glyph-name="uni1E21.a"+d="M280 -217q-48 0 -96.5 13t-88.5 39l30 59q38 -24 78 -34.5t77 -10.5q70 0 107.5 35t39.5 94l2 97h-3q-29 -29 -70 -49.5t-86 -20.5q-47 0 -85.5 17t-66.5 48.5t-43 77t-15 102.5t18 103t48.5 78t71 49.5t84.5 17.5q43 0 80 -17.5t69 -48.5h3l7 54h66v-505q0 -92 -59 -145+t-168 -53zM288 73q70 0 137 73v226q-33 31 -65 44t-64 13q-31 0 -58.5 -13t-48.5 -37t-33 -56.5t-12 -71.5q0 -82 38.5 -130t105.5 -48zM177 601v57h266v-57h-266z" />+ <glyph glyph-name="uni00670303.a"+d="M280 -217q-48 0 -96.5 13t-88.5 39l30 59q38 -24 78 -34.5t77 -10.5q70 0 107.5 35t39.5 94l2 97h-3q-29 -29 -70 -49.5t-86 -20.5q-47 0 -85.5 17t-66.5 48.5t-43 77t-15 102.5t18 103t48.5 78t71 49.5t84.5 17.5q43 0 80 -17.5t69 -48.5h3l7 54h66v-505q0 -92 -59 -145+t-168 -53zM288 73q70 0 137 73v226q-33 31 -65 44t-64 13q-31 0 -58.5 -13t-48.5 -37t-33 -56.5t-12 -71.5q0 -82 38.5 -130t105.5 -48zM382 577q-27 0 -46 13t-35 29t-30.5 29t-31.5 13q-23 0 -34 -22t-13 -57l-55 3q1 29 7.5 54t18.5 43t30.5 28.5t44.5 10.5q27 0 46 -13+t35 -29t30.5 -29t32.5 -13q22 0 33 22t13 57l55 -4q-1 -29 -7.5 -53.5t-18.5 -42.5t-30.5 -28.5t-44.5 -10.5z" />+ <glyph glyph-name="i.a"+d="M99 0v67h197v352h-173v67h255v-419h186v-67h-465zM328 588q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="dotlessi.a"+d="M99 0v67h197v352h-173v67h255v-419h186v-67h-465z" />+ <glyph glyph-name="igrave.a"+d="M99 0v67h197v352h-173v67h255v-419h186v-67h-465zM345 568l-157 153l58 56l142 -168z" />+ <glyph glyph-name="iacute.a"+d="M99 0v67h197v352h-173v67h255v-419h186v-67h-465zM303 568l-43 41l142 168l58 -56z" />+ <glyph glyph-name="icircumflex.a"+d="M99 0v67h197v352h-173v67h255v-419h186v-67h-465zM204 568l-35 32l114 140h82l114 -140l-35 -32l-118 113h-4z" />+ <glyph glyph-name="itilde.a"+d="M99 0v67h197v352h-173v67h255v-419h186v-67h-465zM396 577q-27 0 -46 13t-35 29t-30.5 29t-31.5 13q-23 0 -34 -22t-13 -57l-55 3q1 29 7.5 54t18.5 43t30.5 28.5t44.5 10.5q27 0 46 -13t35 -29t30.5 -29t32.5 -13q22 0 33 22t13 57l55 -4q-1 -29 -7.5 -53.5t-18.5 -42.5+t-30.5 -28.5t-44.5 -10.5z" />+ <glyph glyph-name="idieresis.a"+d="M99 0v67h197v352h-173v67h255v-419h186v-67h-465zM227 588q-24 0 -39.5 16t-15.5 40q0 23 15.5 39.5t39.5 16.5t39.5 -16.5t15.5 -39.5q0 -24 -15.5 -40t-39.5 -16zM421 588q-24 0 -39.5 16t-15.5 40q0 23 15.5 39.5t39.5 16.5t39.5 -16.5t15.5 -39.5q0 -24 -15.5 -40+t-39.5 -16z" />+ <glyph glyph-name="imacron.a"+d="M99 0v67h197v352h-173v67h255v-419h186v-67h-465zM191 601v57h266v-57h-266z" />+ <glyph glyph-name="uni01D0.a"+d="M99 0v67h197v352h-173v67h255v-419h186v-67h-465zM283 574l-114 140l35 32l118 -113h4l118 113l35 -32l-114 -140h-82z" />+ <glyph glyph-name="iogonek.a"+d="M345 -225q-44 0 -73.5 22.5t-29.5 70.5q0 41 23 74t52 58h-218v67h197v352h-173v67h255v-419h186v-67h-181q-42 -29 -61 -59t-19 -57q0 -28 18 -41.5t41 -13.5q17 0 29.5 6t23.5 15l24 -39q-18 -17 -41.5 -26.5t-52.5 -9.5zM324 588q-28 0 -47 17.5t-19 46.5t19 46.5+t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="uni1EC9.a"+d="M99 0v67h197v352h-173v67h255v-419h186v-67h-465zM292 572l-9 40q24 6 40 16.5t16 30.5q0 43 -83 47l5 54q69 -2 106 -25.5t37 -68.5q0 -22 -9.5 -37.5t-25 -27t-35.5 -18.5t-42 -11z" />+ <glyph glyph-name="uni1ECB.a"+d="M99 0v67h197v352h-173v67h255v-419h186v-67h-465zM328 588q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5zM324 -214q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="uni012D.a"+d="M99 0v67h197v352h-173v67h255v-419h186v-67h-465zM324 571q-40 0 -69 13t-47.5 34.5t-28 48.5t-11.5 55l51 8q3 -19 10.5 -37.5t20.5 -33.5t31.5 -24t42.5 -9t42.5 9t31.5 24t20.5 33.5t10.5 37.5l51 -8q-2 -28 -11.5 -55t-28.5 -48.5t-47.5 -34.5t-68.5 -13z" />+ <glyph glyph-name="uni0268.a"+d="M116 220v58l180 6v135h-173v67h255v-202h170v-64h-170v-153h186v-67h-465v67h197v153h-180zM328 588q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="iogonek.d"+d="M353 -225q-45 0 -74.5 22.5t-29.5 70.5q0 42 25.5 75t60.5 57h-19v419h-226v67h308v-491q-45 -22 -66.5 -51.5t-21.5 -59.5q0 -28 18 -41.5t42 -13.5q16 0 28.5 6t23.5 15l24 -39q-18 -17 -41.5 -26.5t-51.5 -9.5z" />+ <glyph glyph-name="iogonek.da"+d="M345 -225q-44 0 -73.5 22.5t-29.5 70.5q0 41 23 74t52 58h-218v67h197v352h-173v67h255v-419h186v-67h-181q-42 -29 -61 -59t-19 -57q0 -28 18 -41.5t41 -13.5q17 0 29.5 6t23.5 15l24 -39q-18 -17 -41.5 -26.5t-52.5 -9.5z" />+ <glyph glyph-name="uni0268.d"+d="M132 210v56l184 6v147h-226v67h308v-214h166v-62h-166v-210h-82v210h-184z" />+ <glyph glyph-name="uni0268.da"+d="M116 220v58l180 6v135h-173v67h255v-202h170v-64h-170v-153h186v-67h-465v67h197v153h-180z" />+ <glyph glyph-name="uni029D.d"+d="M418 -250q-15 29 -30.5 52t-32.5 43q-24 -29 -62 -45.5t-92 -16.5q-70 0 -107.5 33t-37.5 78t33 72.5t96 27.5q32 0 65 -8t66 -25v2v456h-226v67h308v-506q0 -41 -10 -72q26 -24 49.5 -55.5t44.5 -72.5zM200 -152q40 0 64 13.5t36 34.5q-29 21 -58 30t-58 9+q-32 0 -47 -11.5t-15 -28.5q0 -20 20 -33.5t58 -13.5z" />+ <glyph glyph-name="l.a"+d="M99 0v67h197v578h-173v67h255v-645h186v-67h-465z" />+ <glyph glyph-name="lacute.a"+d="M99 0v67h197v578h-173v67h255v-645h186v-67h-465zM305 757l-36 42l141 128l47 -55z" />+ <glyph glyph-name="lcaron.a"+d="M99 0v67h197v578h-173v67h255v-645h186v-67h-465zM453 548l-3 268h74v-81l-14 -187h-57z" />+ <glyph glyph-name="uni013C.a"+d="M99 0v67h197v578h-173v67h255v-645h186v-67h-465zM241 -226l-8 40q63 5 86 16.5t23 31.5t-18 29.5t-53 12.5l18 38q65 -8 91 -25.5t26 -51.5q0 -44 -42.5 -65.5t-122.5 -25.5z" />+ <glyph glyph-name="uni1E37.a"+d="M99 0v67h197v578h-173v67h255v-645h186v-67h-465zM328 -214q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="uni1E39.a"+d="M99 0v67h197v578h-173v67h255v-645h186v-67h-465zM200 795v57h268v-57h-268zM328 -214q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="uni1E3B.a"+d="M99 0v67h197v578h-173v67h255v-645h186v-67h-465zM195 -169v57h266v-57h-266z" />+ <glyph glyph-name="lslash.a"+d="M99 0v67h197v268l-108 -64l-29 54l137 80v240h-173v67h255v-269l147 84l29 -54l-176 -100v-306h186v-67h-465z" />+ <glyph glyph-name="ldot.a"+d="M46 0v67h197v578h-173v67h255v-645h186v-67h-465zM569 286q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="uni006C00B7006C.a"+d="M-4 0v67h113v578h-107v67h182v-645h102v-67h-290zM315 0v67h105v578h-108v67h183v-645h109v-67h-289zM305 292q-24 0 -41.5 17t-17.5 46t17.5 45.5t41.5 16.5q23 0 40.5 -16.5t17.5 -45.5t-17.5 -46t-40.5 -17z" />+ <glyph glyph-name="uni026B.a"+d="M99 0v67h197v578h-173v67h255v-645h186v-67h-465zM431 315q-33 0 -57 13t-44.5 29t-39.5 29t-41 13t-33 -21.5t-13 -56.5l-55 10q1 27 7 50.5t17.5 40.5t29 27t41.5 10q33 0 57.5 -13t45 -29t39 -29t40.5 -13t33 21.5t13 55.5l55 -9q-2 -27 -7.5 -50.5t-17 -40.5t-29 -27+t-41.5 -10z" />+ <glyph glyph-name="uni026C.a"+d="M273 311q-74 0 -106.5 25.5t-32.5 63.5q0 33 24.5 55.5t63.5 22.5q26 0 44 -8t30 -21v196h-173v67h255v-354h140v-47h-140v-244h186v-67h-465v67h197v244h-23zM263 358h33v10q0 22 -17 43t-52 21q-21 0 -31 -9.5t-10 -23.5q0 -17 16.5 -29t60.5 -12z" />+ <glyph glyph-name="phi.a"+d="M260 -179v170q-44 3 -84.5 19.5t-71 48t-49 77.5t-18.5 107q0 75 30.5 140t76.5 119l64 -48q-22 -26 -38.5 -51t-28 -51t-17.5 -55t-6 -63q0 -81 39.5 -127t102.5 -52v241q0 106 41.5 154t105.5 48q75 0 115.5 -65t40.5 -179q0 -60 -18 -107.5t-48.5 -81t-71 -52+t-84.5 -21.5q1 -44 2 -86.5t2 -84.5h-85zM339 299q0 -61 0.5 -121.5t1.5 -122.5q62 6 101 56.5t39 138.5q0 83 -19.5 131t-57.5 48q-30 0 -47.5 -29t-17.5 -101z" />+ <glyph glyph-name="anoteleia.cap"+d="M300 523q-34 0 -57.5 23t-23.5 61t23.5 61.5t57.5 23.5t57.5 -23.5t23.5 -61.5t-23.5 -61t-57.5 -23z" />+ <glyph glyph-name="uni0430.a"+d="M270 -12q-47 0 -85.5 17t-66.5 49.5t-43 79.5t-15 108q0 59 18 106.5t49 80.5t71 51t84 18q43 0 79 -17t70 -49h3l7 54h66v-486h-68l-7 64h-3q-29 -31 -71 -53.5t-88 -22.5zM288 57q72 0 137 73v242q-33 31 -64.5 44t-63.5 13t-59.5 -13.5t-48 -38t-32.5 -58.5t-12 -76+q0 -88 37.5 -137t105.5 -49z" />+ <glyph glyph-name="uni04D1.a"+d="M270 -12q-47 0 -85.5 17t-66.5 49.5t-43 79.5t-15 108q0 59 18 106.5t49 80.5t71 51t84 18q43 0 79 -17t70 -49h3l7 54h66v-486h-68l-7 64h-3q-29 -31 -71 -53.5t-88 -22.5zM288 57q72 0 137 73v242q-33 31 -64.5 44t-63.5 13t-59.5 -13.5t-48 -38t-32.5 -58.5t-12 -76+q0 -88 37.5 -137t105.5 -49zM304 572q-42 0 -71 12.5t-48 33t-28 47.5t-10 56l68 4q1 -21 5.5 -40.5t15 -33.5t27 -22.5t41.5 -8.5t41.5 8.5t27 22.5t15 33.5t5.5 40.5l68 -4q-2 -29 -10.5 -56t-27.5 -47.5t-48 -33t-71 -12.5z" />+ <glyph glyph-name="uni0431.srb"+d="M295 -12q-41 0 -79 15t-67 42.5t-46.5 67.5t-17.5 90q0 92 52.5 147t139.5 82q-26 18 -50.5 35t-43.5 34.5t-31 36.5t-12 40q0 37 16 59t46.5 34.5t74 19t97.5 13.5q30 3 49.5 5t33.5 5t24 7t21 9l17 -75q-21 -11 -48 -17.5t-58 -10.5q-53 -6 -89 -9.5t-59 -9t-33 -14.5+t-10 -26q0 -13 11.5 -24t31 -23t45 -26.5t52.5 -33.5q34 -24 62 -48t48.5 -52t32 -62t11.5 -78q0 -51 -15.5 -94t-44 -74t-69.5 -48t-92 -17zM297 56q33 0 59 12.5t44 34.5t27.5 52.5t9.5 66.5q0 30 -8 54t-22.5 44.5t-34 38.5t-42.5 35q-78 -20 -123 -68t-45 -120+q0 -34 11 -61.5t30 -47t43.5 -30.5t50.5 -11z" />+ <glyph glyph-name="uni0456.a"+d="M99 0v67h197v352h-173v67h255v-419h186v-67h-465zM328 588q-28 0 -47 17.5t-19 46.5t19 46.5t47 17.5t47 -17.5t19 -46.5t-19 -46.5t-47 -17.5z" />+ <glyph glyph-name="zero.a"+d="M300 -12q-107 0 -168 86.5t-61 246.5q0 161 61 245t168 84t168 -84t61 -245q0 -160 -61 -246.5t-168 -86.5zM300 587q-67 0 -107 -59l243 -346q8 29 12 63t4 76q0 139 -42.5 202.5t-109.5 63.5zM300 51q32 0 59.5 15t47.5 47l-243 347q-8 -28 -12 -62.5t-4 -76.5+q0 -70 11 -121t31.5 -84t48.5 -49t61 -16z" />+ <glyph glyph-name="one.a"+d="M97 0v68h184v448l-116 -86l-42 48l176 160h64v-570h167v-68h-433z" />+ <glyph glyph-name="zero.onum"+d="M300 -12q-107 0 -168 78t-61 224q0 144 61 220t168 76t168 -76t61 -220q0 -146 -61 -224t-168 -78zM300 54q33 0 61 14t48.5 43t31.5 73.5t11 105.5q0 118 -42.5 173.5t-109.5 55.5t-109.5 -55.5t-42.5 -173.5q0 -61 11 -105.5t31.5 -73.5t48.5 -43t61 -14zM300 230+q-25 0 -43.5 17.5t-18.5 49.5q0 31 18.5 48.5t43.5 17.5t43.5 -17.5t18.5 -48.5q0 -32 -18.5 -49.5t-43.5 -17.5z" />+ <glyph glyph-name="one.onum"+d="M97 0v68h184v406h-143v53q57 8 95 19.5t69 27.5h61v-506h167v-68h-433z" />+ <glyph glyph-name="two.onum"+d="M73 0v49q165 110 250 193t85 147q0 58 -34 94t-105 36q-45 0 -83.5 -22.5t-69.5 -54.5l-47 47q43 44 92.5 70.5t117.5 26.5q48 0 86.5 -13.5t65.5 -39t41.5 -61t14.5 -79.5q0 -38 -19.5 -77t-55.5 -79.5t-87.5 -83t-115.5 -88.5q29 2 59.5 4t59.5 2h194v-71h-449z" />+ <glyph glyph-name="three.onum"+d="M287 -86q-83 0 -139 27.5t-91 62.5l42 54q32 -30 76.5 -52.5t106.5 -22.5q33 0 61 8.5t48.5 24t32 37.5t11.5 50q0 29 -12.5 53t-40.5 40.5t-72 25.5t-107 9v64q57 0 96.5 9t64.5 25.5t36.5 38.5t11.5 48q0 47 -35.5 75t-94.5 28q-45 0 -85 -18t-72 -47l-44 52+q40 35 91 57.5t113 22.5q45 0 83.5 -11t67 -32t44.5 -51.5t16 -69.5q0 -59 -38 -96.5t-98 -57.5v-4q32 -7 60.5 -21t50.5 -34.5t34.5 -47.5t12.5 -61q0 -44 -18 -78.5t-49.5 -58.5t-73.5 -36.5t-90 -12.5z" />+ <glyph glyph-name="four.onum"+d="M368 -74v168h-329v55l319 425h88v-413h99v-67h-99v-168h-78zM129 161h239v215q1 26 2 56.5t3 56.5h-5q-15 -25 -31.5 -49.5t-32.5 -47.5z" />+ <glyph glyph-name="five.onum"+d="M286 -86q-43 0 -77.5 7.5t-62 19.5t-50 28t-40.5 33l41 53q16 -14 34 -27t39.5 -23t48 -16t58.5 -6q34 0 63.5 10.5t51.5 29.5t34.5 46.5t12.5 62.5q0 68 -42.5 105t-114.5 37q-40 0 -68 -10t-62 -29l-44 28l21 311h361v-71h-288l-17 -193q28 13 54.5 19.5t63.5 6.5+q46 0 86 -11.5t69.5 -36.5t46.5 -63t17 -91t-19.5 -93.5t-52.5 -69t-75.5 -43t-88.5 -14.5z" />+ <glyph glyph-name="six.onum"+d="M322 -12q-52 0 -96.5 19t-77.5 57.5t-51.5 96t-18.5 134.5q0 96 22 163.5t59 110t85.5 62t100.5 19.5q59 0 102.5 -19.5t75.5 -48.5l-46 -51q-25 23 -58 36.5t-69 13.5q-38 0 -73 -14t-61.5 -46t-43 -84.5t-17.5 -129.5q39 38 86 60.5t95 22.5q44 0 80.5 -12.5t63 -37+t41 -61.5t14.5 -86q0 -46 -17.5 -83.5t-46.5 -64.5t-67.5 -42t-81.5 -15zM322 53q28 0 53 10t43 28.5t28.5 44t10.5 57.5q0 66 -35 100.5t-101 34.5q-38 0 -81.5 -20t-81.5 -66q9 -93 51.5 -141t112.5 -48z" />+ <glyph glyph-name="seven.onum"+d="M226 -74q4 92 17 168t38 144.5t63.5 132.5t93.5 132h-368v71h462v-51q-63 -73 -104 -139.5t-65.5 -136.5t-35.5 -147.5t-15 -173.5h-86z" />+ <glyph glyph-name="eight.onum"+d="M302 -12q-54 0 -97.5 13t-73.5 36.5t-46.5 55.5t-16.5 70q0 33 12 59t31 47t43.5 36.5t50.5 27.5v4q-40 25 -68.5 61.5t-28.5 87.5q0 37 14.5 67t41 51.5t62.5 33.5t79 12q47 0 83.5 -12.5t62 -35t39 -54t13.5 -68.5q0 -45 -28.5 -84.5t-68.5 -67.5v-4q26 -13 49 -28+t40 -34t26.5 -44.5t9.5 -59.5q0 -36 -15.5 -67t-44.5 -54t-71.5 -36t-97.5 -13zM352 348q80 58 80 128q0 48 -33 80.5t-96 32.5q-54 0 -87 -28t-33 -75q0 -29 13 -49.5t36 -36.5t53.5 -28.5t66.5 -23.5zM304 49q72 0 110 31t38 81q0 33 -15.5 55.5t-42.5 38.5t-63.5 28.5+t-78.5 26.5q-47 -26 -78 -58.5t-31 -80.5q0 -54 43.5 -88t117.5 -34z" />+ <glyph glyph-name="nine.onum"+d="M281 237q38 0 81 20t82 66q-8 97 -50 147.5t-114 50.5q-29 0 -53.5 -10t-42.5 -29t-28.5 -45t-10.5 -59q0 -68 34.5 -104.5t101.5 -36.5zM257 -86q-59 0 -102.5 19.5t-75.5 48.5l46 51q24 -23 57 -36.5t70 -13.5t71 14t60.5 46t43.5 84.5t19 129.5q-39 -38 -85.5 -60+t-95.5 -22q-44 0 -80.5 13t-62.5 38.5t-40.5 63.5t-14.5 88q0 46 17 84.5t46.5 66t68 42.5t80.5 15q52 0 97 -19t78 -57.5t51.5 -96t18.5 -134.5q0 -99 -22.5 -168.5t-59.5 -113t-85 -63.5t-100 -20z" />+ <glyph glyph-name="zero.b"+d="M300 -12q-107 0 -168 78t-61 224q0 144 61 220t168 76t168 -76t61 -220q0 -146 -61 -224t-168 -78zM300 523q-29 0 -53.5 -10t-44.5 -31l230 -330q20 55 20 138q0 60 -11 104t-31.5 72.5t-48.5 42.5t-61 14zM300 51q59 0 98 43l-229 331q-21 -53 -21 -135q0 -62 11 -107+t31.5 -74.5t48.5 -43.5t61 -14z" />+ <glyph glyph-name="one.b"+d="M97 0v68h184v393l-110 -82l-42 47l170 148h64v-506h167v-68h-433z" />+ <glyph glyph-name="zero.cap"+d="M300 -12q-107 0 -168 89t-61 254q0 166 61 251.5t168 85.5t168 -85.5t61 -251.5q0 -165 -61 -254t-168 -89zM300 54q33 0 61 16.5t48.5 50.5t31.5 86.5t11 123.5t-11 122t-31.5 84t-48.5 49t-61 16t-61 -16t-48.5 -49t-31.5 -84t-11 -122t11 -123.5t31.5 -86.5+t48.5 -50.5t61 -16.5zM300 271q-25 0 -43.5 17t-18.5 49t18.5 49t43.5 17t43.5 -17t18.5 -49t-18.5 -49t-43.5 -17z" />+ <glyph glyph-name="one.cap"+d="M97 0v68h184v489h-143v52q57 8 95 19t69 28h61v-588h167v-68h-433z" />+ <glyph glyph-name="two.cap"+d="M73 0v49q81 72 143.5 130t105 107.5t64.5 92t22 82.5q0 62 -34 101t-105 39q-45 0 -83.5 -22t-69.5 -54l-47 46q43 45 92.5 71t117.5 26q48 0 86.5 -14.5t65.5 -41.5t41.5 -64.5t14.5 -83.5q0 -45 -21.5 -90.5t-60.5 -94.5t-93 -101.5t-119 -112.5q29 2 59.5 4t59.5 2+h210v-71h-449z" />+ <glyph glyph-name="three.cap"+d="M287 -12q-83 0 -139 27.5t-91 62.5l42 54q32 -30 76.5 -53t106.5 -23q33 0 61 8.5t48.5 24.5t32 38.5t11.5 51.5t-12.5 53t-40.5 41t-72 26.5t-107 9.5v63q57 0 96.5 9.5t64.5 26t36.5 39.5t11.5 49q0 49 -35.5 77t-94.5 28q-45 0 -85 -18t-72 -46l-44 52q40 35 91 57+t113 22q45 0 83.5 -11t67 -32t44.5 -52t16 -71q0 -60 -38 -98.5t-98 -57.5v-4q32 -7 60.5 -21.5t50.5 -35.5t34.5 -48.5t12.5 -61.5q0 -44 -18 -78.5t-49.5 -58.5t-73.5 -37t-90 -13z" />+ <glyph glyph-name="four.cap"+d="M368 0v180h-329v55l319 421h88v-410h99v-66h-99v-180h-78zM129 246h239v209q1 28 2 59t3 58h-3q-15 -25 -32.5 -49t-34.5 -48z" />+ <glyph glyph-name="five.cap"+d="M286 -12q-43 0 -77.5 7.5t-62 19.5t-50 27.5t-40.5 32.5l41 57q16 -14 34 -28t40 -24.5t48 -17t58 -6.5q34 0 63.5 10.5t51.5 30t34.5 47.5t12.5 63q0 68 -42.5 106t-114.5 38q-40 0 -68 -9.5t-62 -29.5l-44 28l21 316h361v-70h-288l-17 -199q28 12 54.5 19t63.5 7+q46 0 86 -12t69.5 -37t46.5 -63.5t17 -90.5q0 -53 -19.5 -94.5t-52.5 -70t-75.5 -43t-88.5 -14.5z" />+ <glyph glyph-name="six.cap"+d="M321 -12q-52 0 -96.5 19.5t-77.5 59t-51.5 99t-18.5 138.5q0 99 22 168t59 112.5t85.5 63.5t100.5 20q59 0 102.5 -19t75.5 -48l-46 -51q-25 23 -58 36.5t-69 13.5q-38 0 -73 -14.5t-61.5 -48t-43 -88t-17.5 -133.5q38 39 85.5 61t95.5 22q44 0 80.5 -12.5t63 -38t41 -63+t14.5 -87.5q0 -47 -17.5 -85.5t-46.5 -66.5t-67.5 -43t-81.5 -15zM321 53q28 0 53 10.5t43 29.5t28.5 45.5t10.5 59.5q0 68 -35 103.5t-101 35.5q-38 0 -81.5 -20t-82.5 -66q10 -97 52 -147.5t113 -50.5z" />+ <glyph glyph-name="seven.cap"+d="M226 0q4 94 16.5 171.5t37.5 146.5t63.5 134t94.5 134h-368v70h462v-50q-65 -74 -106 -141.5t-65 -138.5t-35 -150t-14 -176h-86z" />+ <glyph glyph-name="eight.cap"+d="M302 -12q-54 0 -97.5 13.5t-73.5 37.5t-46.5 57.5t-16.5 72.5q0 33 12 60t31 48.5t43.5 37.5t50.5 28v4q-40 25 -68.5 63t-28.5 91q0 37 14.5 68t41 53t62.5 34t79 12q47 0 83.5 -13t62 -36t39 -54.5t13.5 -69.5q0 -48 -28 -89t-69 -69v-4q26 -13 49 -28t40 -34.5+t26.5 -45.5t9.5 -61q0 -37 -15.5 -69t-44.5 -56t-71.5 -37.5t-97.5 -13.5zM352 357q80 60 80 133q0 50 -33 83.5t-96 33.5q-54 0 -87 -29t-33 -77q0 -30 13 -52t36 -38.5t53.5 -29.5t66.5 -24zM304 49q72 0 110 32.5t38 84.5q0 34 -15.5 57t-42.5 39.5t-63.5 29.5t-78.5 27+q-48 -25 -78.5 -59t-30.5 -84q0 -55 43.5 -91t117.5 -36z" />+ <glyph glyph-name="nine.cap"+d="M281 319q38 0 81 20t82 65q-9 98 -51 149t-113 51q-29 0 -53.5 -10.5t-42.5 -30t-28.5 -46t-10.5 -59.5q0 -68 34.5 -103.5t101.5 -35.5zM257 -12q-59 0 -102.5 19t-75.5 48l46 52q24 -23 57 -37t70 -14q38 0 72.5 14.5t61 48t42.5 87.5t18 133q-39 -38 -85.5 -60+t-95.5 -22q-44 0 -80.5 12.5t-62.5 37.5t-40.5 63t-14.5 88q0 47 17 86t46.5 66.5t68 42.5t80.5 15q52 0 97 -19.5t78 -59t51.5 -99t18.5 -138.5q0 -98 -22.5 -167.5t-59.5 -113t-85 -63.5t-100 -20z" />+ <glyph glyph-name="zero.c"+d="M300 -12q-107 0 -168 89t-61 254q0 166 61 251.5t168 85.5t168 -85.5t61 -251.5q0 -165 -61 -254t-168 -89zM300 606q-68 0 -108 -63l243 -360q17 60 17 148q0 72 -11 124t-31.5 85.5t-48.5 49.5t-61 16zM300 51q33 0 60.5 16t47.5 50l-243 361q-17 -60 -17 -147+q0 -72 11 -125t31.5 -87.5t48.5 -51t61 -16.5z" />+ <glyph glyph-name="one.c"+d="M97 0v68h184v476l-110 -82l-42 47l170 147h64v-588h167v-68h-433z" />+ <glyph glyph-name="at.case"+d="M341 -18q-59 0 -112 22t-93 65t-63.5 106.5t-23.5 147.5q0 86 23 150.5t63 108t94.5 65t116.5 21.5q51 0 88.5 -16t62.5 -44t37 -65.5t12 -79.5v-290h-50l-7 58h-4q-22 -29 -57.5 -49.5t-74.5 -20.5q-27 0 -50.5 9t-41 26t-27.5 41.5t-10 54.5q0 76 68 115.5t196 55.5v10+q0 28 -8.5 53.5t-26.5 44.5t-45.5 30.5t-65.5 11.5q-45 0 -87 -18.5t-73.5 -55t-50.5 -91.5t-19 -128q0 -68 18 -120.5t49 -88.5t73 -55t91 -19q45 0 78.5 11.5t62.5 33.5l28 -45q-39 -26 -80 -40.5t-91 -14.5zM370 219q56 0 112 64v126q-104 -15 -148 -42t-44 -74+q0 -35 21.5 -54.5t58.5 -19.5z" />+ <glyph glyph-name="asterisk.a"+d="M197 316l-42 29l92 147l-143 57l16 46l147 -44l9 161h48l9 -159l147 42l16 -46l-143 -57l92 -147l-42 -29l-103 140z" />+ <glyph glyph-name="hyphen.a"+d="M134 216v72h332v-72h-332z" />+ <glyph glyph-name="uni00AD.a"+d="M134 216v72h332v-72h-332z" />+ <glyph glyph-name="uni2010.a"+d="M134 216v72h332v-72h-332z" />+ <glyph glyph-name="dollar.a"+d="M190 467q0 -30 28 -49t70 -35l31 166q-5 1 -9.5 1h-9.5q-51 0 -80.5 -22.5t-29.5 -60.5zM314 102q59 0 90 24.5t31 62.5q0 36 -31.5 58t-76.5 40l-34 -184q5 -1 10.5 -1h10.5zM304 34h-12t-12 1l-27 -148l-56 6l28 151q-42 11 -78 29t-62 40l39 57q25 -17 53.5 -32.5+t60.5 -24.5l36 195q-31 12 -60.5 26t-52.5 32t-37 42t-14 57q0 35 14.5 63.5t40.5 48.5t62 30.5t79 10.5h13t12 -1l25 134l56 -7l-25 -137q33 -10 59 -27t49 -39l-44 -48q-20 15 -38.5 26.5t-38.5 18.5l-33 -175q32 -12 63 -26.5t56 -34t40 -45.5t15 -62t-15.5 -65.5+t-43 -51t-66.5 -33t-86 -11.5z" />+ <glyph glyph-name="period.sups"+d="M300 384q-20 0 -34.5 13.5t-14.5 36.5t14.5 36.5t34.5 13.5t34.5 -13.5t14.5 -36.5t-14.5 -36.5t-34.5 -13.5z" />+ <glyph glyph-name="comma.sups"+d="M262 278l-18 39q30 11 47.5 30t16.5 46q-2 -1 -7 -1q-19 0 -33.5 10.5t-14.5 33.5t14.5 35.5t34.5 12.5q26 0 41.5 -19t15.5 -56q0 -45 -26 -79.5t-71 -51.5z" />+ <glyph glyph-name="period.subs"+d="M300 -188q-20 0 -34.5 13.5t-14.5 36.5t14.5 36.5t34.5 13.5t34.5 -13.5t14.5 -36.5t-14.5 -36.5t-34.5 -13.5z" />+ <glyph glyph-name="comma.subs"+d="M262 -294l-18 39q30 11 47.5 30t16.5 46q-2 -1 -7 -1q-19 0 -33.5 10.5t-14.5 33.5t14.5 35.5t34.5 12.5q26 0 41.5 -19t15.5 -56q0 -45 -26 -79.5t-71 -51.5z" />+ <glyph glyph-name="zero.dnom"+d="M300 -12q-61 0 -100 44t-39 122t39 120.5t100 42.5t100 -42.5t39 -120.5t-39 -122t-100 -44zM300 38q32 0 55 28.5t23 87.5q0 60 -23 87t-55 27t-55 -27t-23 -87q0 -59 23 -87.5t55 -28.5z" />+ <glyph glyph-name="one.dnom"+d="M290 0v230h-82v42q33 5 53.5 13t41.5 20h50v-305h-63z" />+ <glyph glyph-name="two.dnom"+d="M183 0v36q78 59 119.5 98t41.5 72q0 27 -15.5 43t-44.5 16q-20 0 -39 -11.5t-33 -30.5l-39 33q23 26 52.5 43.5t65.5 17.5q54 0 85 -26.5t31 -76.5q0 -20 -9.5 -39.5t-26 -39t-38.5 -40t-47 -42.5h136v-53h-239z" />+ <glyph glyph-name="three.dnom"+d="M299 -12q-35 0 -68.5 14t-58.5 40l32 39q15 -18 39.5 -30.5t51.5 -12.5t44.5 11t17.5 36q0 51 -96 51v38q42 0 61.5 14t19.5 37q0 20 -13 31.5t-42 11.5q-18 0 -38 -9.5t-35 -24.5l-30 38q19 20 49.5 32.5t65.5 12.5q47 0 76.5 -22t29.5 -62q0 -55 -56 -75+q32 -8 51.5 -27t19.5 -50q0 -45 -35 -69t-86 -24z" />+ <glyph glyph-name="four.dnom"+d="M334 0v74h-162v31l113 212l46 -20l-97 -181h100v97h57v-97h50v-42h-50v-74h-57z" />+ <glyph glyph-name="five.dnom"+d="M301 -12q-42 0 -72 14t-57 40l32 39q17 -18 39.5 -30.5t52.5 -12.5q29 0 47.5 15t18.5 42q0 29 -18 43.5t-49 14.5q-20 0 -34.5 -6t-29.5 -17l-31 20l17 155h189v-54h-139l-10 -70q24 12 56 12q50 0 81 -25.5t31 -73.5t-35 -77t-89 -29z" />+ <glyph glyph-name="six.dnom"+d="M313 -12q-59 0 -98 40.5t-39 111.5q0 86 42.5 131.5t111.5 45.5q30 0 52 -9t41 -23l-26 -41q-14 11 -29 17.5t-35 6.5q-43 0 -68.5 -29.5t-29.5 -86.5q19 17 41.5 26t49.5 9q51 0 77 -26.5t26 -68.5q0 -21 -8.5 -40t-24 -33.5t-37 -22.5t-46.5 -8zM312 38q28 0 43 14.5+t15 39.5q0 23 -14 38t-45 15q-40 0 -75 -35q6 -38 28 -55t48 -17z" />+ <glyph glyph-name="seven.dnom"+d="M253 0q2 39 8.5 71.5t18.5 62t30 58.5t42 60h-169v53h243v-36q-32 -35 -52 -66.5t-32 -63t-17 -65.5t-7 -74h-65z" />+ <glyph glyph-name="eight.dnom"+d="M300 -12q-28 0 -51 7t-39.5 19t-25.5 28t-9 34q0 32 19.5 50.5t45.5 30.5v4q-23 14 -38.5 29.5t-15.5 42.5q0 18 9 33.5t24.5 27t36.5 17.5t44 6q50 0 82.5 -23.5t32.5 -60.5q0 -28 -16.5 -44.5t-36.5 -27.5v-4q26 -11 44.5 -29.5t18.5 -51.5q0 -18 -9.5 -34t-26.5 -28+t-39.5 -19t-49.5 -7zM320 177q20 12 28 25t8 28q0 18 -14.5 30t-41.5 12q-25 0 -40 -11.5t-15 -28.5q0 -22 22 -34t53 -21zM300 33q26 0 46.5 12.5t20.5 32.5q0 14 -7.5 23.5t-19.5 16t-27.5 11.5t-32.5 10q-47 -22 -47 -59q0 -20 19.5 -33.5t47.5 -13.5z" />+ <glyph glyph-name="nine.dnom"+d="M290 161q20 0 37.5 7.5t36.5 25.5q-5 39 -27 56.5t-48 17.5q-27 0 -42.5 -15t-15.5 -40q0 -23 14 -37.5t45 -14.5zM271 -12q-29 0 -51.5 9.5t-41.5 23.5l26 40q14 -11 29.5 -17t35.5 -6q42 0 67 28.5t29 85.5q-19 -16 -41.5 -25t-48.5 -9q-51 0 -76.5 26.5t-25.5 68.5+q0 44 32 74t83 30q59 0 98 -40.5t39 -111.5q0 -86 -42.5 -131.5t-111.5 -45.5z" />+ <glyph glyph-name="parenleft.dnom"+d="M341 -76q-50 49 -77.5 104.5t-27.5 130.5t27.5 130.5t77.5 105.5l46 -33q-45 -45 -65 -94.5t-20 -108.5t20 -108.5t65 -94.5z" />+ <glyph glyph-name="parenright.dnom"+d="M259 -76l-46 32q45 45 65 94.5t20 108.5t-20 108.5t-65 94.5l46 33q50 -50 77.5 -105.5t27.5 -130.5t-27.5 -130.5t-77.5 -104.5z" />+ <glyph glyph-name="period.dnom"+d="M300 -11q-20 0 -34.5 13.5t-14.5 36.5t14.5 37t34.5 14t34.5 -14t14.5 -37t-14.5 -36.5t-34.5 -13.5z" />+ <glyph glyph-name="comma.dnom"+d="M262 -117l-18 39q30 11 47.5 30t16.5 46q-2 -1 -7 -1q-19 0 -33.5 10.5t-14.5 33.5t14.5 36t34.5 13q26 0 41.5 -19t15.5 -57q0 -45 -26 -79.5t-71 -51.5z" />+ <glyph glyph-name="zero.numr"+d="M300 276q-61 0 -100 44t-39 122t39 120.5t100 42.5t100 -42.5t39 -120.5t-39 -122t-100 -44zM300 326q32 0 55 28.5t23 87.5q0 60 -23 87t-55 27t-55 -27t-23 -87q0 -59 23 -87.5t55 -28.5z" />+ <glyph glyph-name="one.numr"+d="M290 288v230h-82v42q33 5 53.5 13t41.5 20h50v-305h-63z" />+ <glyph glyph-name="two.numr"+d="M183 288v36q78 59 119.5 98t41.5 72q0 27 -15.5 43t-44.5 16q-20 0 -39 -11.5t-33 -30.5l-39 33q23 26 52.5 43.5t65.5 17.5q54 0 85 -26.5t31 -76.5q0 -20 -9.5 -39.5t-26 -39t-38.5 -40t-47 -42.5h136v-53h-239z" />+ <glyph glyph-name="three.numr"+d="M299 276q-35 0 -68.5 14t-58.5 40l32 39q15 -18 39.5 -30.5t51.5 -12.5t44.5 11t17.5 36q0 51 -96 51v38q42 0 61.5 14t19.5 37q0 20 -13 31.5t-42 11.5q-18 0 -38 -9.5t-35 -24.5l-30 38q19 20 49.5 32.5t65.5 12.5q47 0 76.5 -22t29.5 -62q0 -55 -56 -75+q32 -8 51.5 -27t19.5 -50q0 -45 -35 -69t-86 -24z" />+ <glyph glyph-name="four.numr"+d="M334 288v74h-162v31l113 212l46 -20l-97 -181h100v97h57v-97h50v-42h-50v-74h-57z" />+ <glyph glyph-name="five.numr"+d="M301 276q-42 0 -72 14t-57 40l32 39q17 -18 39.5 -30.5t52.5 -12.5q29 0 47.5 15t18.5 42q0 29 -18 43.5t-49 14.5q-20 0 -34.5 -6t-29.5 -17l-31 20l17 155h189v-54h-139l-10 -70q24 12 56 12q50 0 81 -25.5t31 -73.5t-35 -77t-89 -29z" />+ <glyph glyph-name="six.numr"+d="M313 276q-59 0 -98 40.5t-39 111.5q0 86 42.5 131.5t111.5 45.5q30 0 52 -9t41 -23l-26 -41q-14 11 -29 17.5t-35 6.5q-43 0 -68.5 -29.5t-29.5 -86.5q19 17 41.5 26t49.5 9q51 0 77 -26.5t26 -68.5q0 -21 -8.5 -40t-24 -33.5t-37 -22.5t-46.5 -8zM312 326q28 0 43 14.5+t15 39.5q0 23 -14 38t-45 15q-40 0 -75 -35q6 -38 28 -55t48 -17z" />+ <glyph glyph-name="seven.numr"+d="M253 288q2 39 8.5 71.5t18.5 62t30 58.5t42 60h-169v53h243v-36q-32 -35 -52 -66.5t-32 -63t-17 -65.5t-7 -74h-65z" />+ <glyph glyph-name="eight.numr"+d="M300 276q-28 0 -51 7t-39.5 19t-25.5 28t-9 34q0 32 19.5 50.5t45.5 30.5v4q-23 14 -38.5 29.5t-15.5 42.5q0 18 9 33.5t24.5 27t36.5 17.5t44 6q50 0 82.5 -23.5t32.5 -60.5q0 -28 -16.5 -44.5t-36.5 -27.5v-4q26 -11 44.5 -29.5t18.5 -51.5q0 -18 -9.5 -34t-26.5 -28+t-39.5 -19t-49.5 -7zM320 465q20 12 28 25t8 28q0 18 -14.5 30t-41.5 12q-25 0 -40 -11.5t-15 -28.5q0 -22 22 -34t53 -21zM300 321q26 0 46.5 12.5t20.5 32.5q0 14 -7.5 23.5t-19.5 16t-27.5 11.5t-32.5 10q-47 -22 -47 -59q0 -20 19.5 -33.5t47.5 -13.5z" />+ <glyph glyph-name="nine.numr"+d="M290 449q20 0 37.5 7.5t36.5 25.5q-5 39 -27 56.5t-48 17.5q-27 0 -42.5 -15t-15.5 -40q0 -23 14 -37.5t45 -14.5zM271 276q-29 0 -51.5 9.5t-41.5 23.5l26 40q14 -11 29.5 -17t35.5 -6q42 0 67 28.5t29 85.5q-19 -16 -41.5 -25t-48.5 -9q-51 0 -76.5 26.5t-25.5 68.5+q0 44 32 74t83 30q59 0 98 -40.5t39 -111.5q0 -86 -42.5 -131.5t-111.5 -45.5z" />+ <glyph glyph-name="parenleft.numr"+d="M341 212q-50 49 -77.5 104.5t-27.5 130.5t27.5 130.5t77.5 105.5l46 -33q-45 -45 -65 -94.5t-20 -108.5t20 -108.5t65 -94.5z" />+ <glyph glyph-name="parenright.numr"+d="M259 212l-46 32q45 45 65 94.5t20 108.5t-20 108.5t-65 94.5l46 33q50 -50 77.5 -105.5t27.5 -130.5t-27.5 -130.5t-77.5 -104.5z" />+ <glyph glyph-name="period.numr"+d="M300 277q-20 0 -34.5 13.5t-14.5 36.5t14.5 37t34.5 14t34.5 -14t14.5 -37t-14.5 -36.5t-34.5 -13.5z" />+ <glyph glyph-name="comma.numr"+d="M262 171l-18 39q30 11 47.5 30t16.5 46q-2 -1 -7 -1q-19 0 -33.5 10.5t-14.5 33.5t14.5 36t34.5 13q26 0 41.5 -19t15.5 -57q0 -45 -26 -79.5t-71 -51.5z" />+ <glyph glyph-name="ordfeminine.a"+d="M276 387q-63 0 -101 43.5t-38 124.5q0 39 12 70.5t32 53.5t46.5 33.5t55.5 11.5q28 0 50.5 -9.5t45.5 -29.5h2l5 31h52v-321h-53l-5 36h-2q-20 -18 -46.5 -31t-55.5 -13zM291 440q46 0 83 40v160q-20 17 -40 24t-40 7q-38 0 -64.5 -30.5t-26.5 -84.5q0 -56 23 -86t65 -30+z" />+ <glyph glyph-name="q.sups"+d="M374 262v111l3 56q-20 -18 -46 -30t-55 -12q-63 0 -101 43.5t-38 124.5q0 39 12 70.5t32 53.5t46.5 33.5t55.5 11.5t51 -9.5t45 -29.5h2l5 31h52v-454h-64zM291 440q44 0 83 40v160q-21 17 -40 24t-39 7q-39 0 -65.5 -30.5t-26.5 -84.5q0 -56 23 -86t65 -30z" />+ <glyph glyph-name="egrave.sups"+d="M329 766l-112 110l45 41l102 -120zM320 387q-36 0 -68 11.5t-56 33t-37.5 52.5t-13.5 71q0 39 13.5 70.5t36.5 53t52.5 33.5t61.5 12q72 0 110.5 -41t38.5 -110q0 -11 -1 -19.5t-2 -15.5h-250q6 -51 40.5 -76.5t81.5 -25.5q27 0 50.5 6.5t44.5 18.5l22 -40+q-54 -34 -124 -34zM312 674q-36 0 -66.5 -21.5t-38.5 -66.5h196q-5 48 -29.5 68t-61.5 20z" />+ <glyph glyph-name="eacute.sups"+d="M295 766l-34 31l102 120l45 -41zM320 387q-36 0 -68 11.5t-56 33t-37.5 52.5t-13.5 71q0 39 13.5 70.5t36.5 53t52.5 33.5t61.5 12q72 0 110.5 -41t38.5 -110q0 -11 -1 -19.5t-2 -15.5h-250q6 -51 40.5 -76.5t81.5 -25.5q27 0 50.5 6.5t44.5 18.5l22 -40+q-54 -34 -124 -34zM312 674q-36 0 -66.5 -21.5t-38.5 -66.5h196q-5 48 -29.5 68t-61.5 20z" />+ <glyph glyph-name="a.supa"+d="M276 387q-63 0 -101 43.5t-38 124.5q0 39 12 70.5t32 53.5t46.5 33.5t55.5 11.5q28 0 50.5 -9.5t45.5 -29.5h2l5 31h52v-321h-53l-5 36h-2q-20 -18 -46.5 -31t-55.5 -13zM291 440q46 0 83 40v160q-20 17 -40 24t-40 7q-38 0 -64.5 -30.5t-26.5 -84.5q0 -56 23 -86t65 -30+z" />+ <glyph glyph-name="g.supa"+d="M283 255q-31 0 -63.5 9t-59.5 26l23 44q25 -15 51 -22t49 -7q45 0 67.5 21.5t23.5 57.5l1 56q-19 -17 -44.5 -29t-54.5 -12q-63 0 -101 43t-38 118q0 38 12.5 68.5t32.5 51.5t46.5 32.5t54.5 11.5t50.5 -9.5t44.5 -28.5h1l6 30h53v-333q0 -61 -40.5 -94.5t-114.5 -33.5z+M291 451q44 0 83 42v147q-20 17 -40 24t-40 7q-38 0 -65 -30t-27 -80q0 -51 23.5 -80.5t65.5 -29.5z" />+ <glyph glyph-name="i.supa"+d="M330 779q-21 0 -34.5 12.5t-13.5 32.5q0 21 13.5 34t34.5 13t34.5 -13t13.5 -34q0 -20 -13.5 -32.5t-34.5 -12.5zM173 395v50h130v221h-114v50h178v-271h124v-50h-318z" />+ <glyph glyph-name="colon.sups"+d="M300 384q-20 0 -34.5 13.5t-14.5 36.5t14.5 36.5t34.5 13.5t34.5 -13.5t14.5 -36.5t-14.5 -36.5t-34.5 -13.5zM300 609q-20 0 -34.5 13.5t-14.5 36.5t14.5 36.5t34.5 13.5t34.5 -13.5t14.5 -36.5t-14.5 -36.5t-34.5 -13.5z" />+ <glyph glyph-name="hyphen.sups"+d="M222 536v47h156v-47h-156z" />+ <glyph glyph-name="endash.sups"+d="M165 539v42h270v-42h-270z" />+ <glyph glyph-name="emdash.sups"+d="M61 539v42h478v-42h-478z" />+ <glyph glyph-name="slash.frac"+d="M77 32l-49 45l183 188l33 -30zM389 391l-33 30l167 203l49 -45z" />+ <glyph glyph-name="uni0300.cap"+d="M329 697l-152 115l47 55l141 -128z" />+ <glyph glyph-name="uni0300.g"+d="M276 558l-67 197l85 15l39 -201z" />+ <glyph glyph-name="uni0301.cap"+d="M271 697l-36 42l141 128l47 -55z" />+ <glyph glyph-name="uni0301.g"+d="M322 559l-57 10l47 230l85 -15z" />+ <glyph glyph-name="uni0302.cap"+d="M188 699l-36 26l105 113h86l105 -113l-36 -26l-110 93h-4z" />+ <glyph glyph-name="uni0303.cap"+d="M375 709q-28 0 -48 11t-36.5 24.5t-31 24.5t-32.5 11q-19 0 -32 -17t-16 -49l-56 4q3 57 30 90t72 33q28 0 48 -11t36.5 -24.5t31 -24.5t32.5 -11q40 0 48 66l56 -4q-3 -58 -30 -90.5t-72 -32.5z" />+ <glyph glyph-name="uni0304.cap"+d="M166 735v57h268v-57h-268z" />+ <glyph glyph-name="uni0305.cap"+d="M166 735v57h268v-57h-268z" />+ <glyph glyph-name="uni0306.c"+d="M300 572q-42 0 -71 12.5t-48 33t-28 47.5t-10 56l68 4q1 -21 5.5 -40.5t15 -33.5t27 -22.5t41.5 -8.5t41.5 8.5t27 22.5t15 33.5t5.5 40.5l68 -4q-2 -29 -10.5 -56t-27.5 -47.5t-48 -33t-71 -12.5z" />+ <glyph glyph-name="uni0306.cap"+d="M300 705q-35 0 -61 10.5t-44 28t-28 41t-13 49.5l50 8q6 -35 29.5 -59.5t66.5 -24.5t66.5 24.5t29.5 59.5l50 -8q-3 -26 -13 -49.5t-28 -41t-44 -28t-61 -10.5z" />+ <glyph glyph-name="uni0306.ccap"+d="M300 705q-42 0 -70 10.5t-45.5 28.5t-26 41t-9.5 48l72 4q1 -35 19 -60.5t60 -25.5q21 0 35.5 7t24 18.5t14 27t5.5 33.5l72 -4q-2 -25 -10 -48t-25.5 -41t-45.5 -28.5t-70 -10.5z" />+ <glyph glyph-name="uni0307.cap"+d="M300 714q-25 0 -42 15.5t-17 41.5q0 25 17 40.5t42 15.5t42 -15.5t17 -40.5q0 -26 -17 -41.5t-42 -15.5z" />+ <glyph glyph-name="uni0308.cap"+d="M209 715q-22 0 -36.5 14t-14.5 37t14.5 36.5t36.5 13.5t36 -13.5t14 -36.5t-14 -37t-36 -14zM391 715q-22 0 -36 14t-14 37t14 36.5t36 13.5t36.5 -13.5t14.5 -36.5t-14.5 -37t-36.5 -14z" />+ <glyph glyph-name="uni0309.cap"+d="M268 698l-9 38q24 7 40 17t16 29q0 39 -83 42l9 48q66 -2 102 -22.5t36 -58.5q0 -22 -9 -37.5t-24.5 -27t-35.5 -18t-42 -10.5z" />+ <glyph glyph-name="uni030A.cap"+d="M300 699q-42 0 -69.5 24.5t-27.5 65.5q0 42 27.5 66.5t69.5 24.5t69.5 -24.5t27.5 -66.5q0 -41 -27.5 -65.5t-69.5 -24.5zM300 735q20 0 35.5 14t15.5 40t-15.5 40t-35.5 14q-22 0 -37 -14t-15 -40t15 -40t37 -14z" />+ <glyph glyph-name="uni030B.cap"+d="M228 703l-43 21l92 152l57 -32zM388 703l-43 21l93 152l56 -32z" />+ <glyph glyph-name="uni030C.cap"+d="M257 706l-105 113l36 26l110 -92h4l110 92l36 -26l-105 -113h-86z" />+ <glyph glyph-name="uni030C.a"+d="M258 548l-3 268h74v-81l-14 -187h-57z" />+ <glyph glyph-name="uni030F.cap"+d="M212 703l-106 141l56 32l93 -152zM372 703l-106 141l57 32l92 -152z" />+ <glyph glyph-name="uni0311.cap"+d="M204 704l-50 8q3 26 13 49.5t28 41t44 28t61 10.5t61 -10.5t44 -28t28 -41t13 -49.5l-50 -8q-6 35 -29.5 59.5t-66.5 24.5t-66.5 -24.5t-29.5 -59.5z" />+ <glyph glyph-name="uni0312.g"+d="M332 574q-22 4 -42 10.5t-35.5 17.5t-25 26.5t-9.5 37.5q0 45 37 68.5t106 25.5l5 -54q-83 -4 -83 -47q0 -20 16 -30.5t40 -16.5z" />+ <glyph glyph-name="uni0313.g"+d="M268 572l-9 40q24 6 40 16.5t16 30.5q0 43 -83 47l5 54q69 -2 106 -25.5t37 -68.5q0 -22 -9.5 -37.5t-25 -27t-35.5 -18.5t-42 -11z" />+ <glyph glyph-name="uni0326.a"+d="M339 575q-65 7 -91 25t-26 52q0 44 42.5 65.5t122.5 26.5l8 -41q-63 -4 -86 -15.5t-23 -32.5q0 -20 18 -29.5t53 -12.5z" />+ <glyph glyph-name="uni0327.cap"+d="M213 -226l-8 40q63 5 86 16.5t23 33.5q0 20 -17 31t-60 17l40 96h54l-26 -72q35 -8 54 -24t19 -47q0 -44 -42.5 -65.5t-122.5 -25.5z" />+ <glyph glyph-name="uni0328.cap"+d="M314 -225q-45 0 -74 22.5t-29 68.5q0 23 8 43.5t20.5 37.5t27.5 31t29 25h61q-37 -26 -59 -56t-22 -63q0 -26 17 -38.5t38 -12.5q16 0 28 6.5t21 14.5l25 -43q-17 -15 -39.5 -25.5t-51.5 -10.5z" />+ <glyph glyph-name="uni03080301"+d="M204 588q-20 0 -33 13t-13 32q0 20 13 33t33 13t32.5 -13t12.5 -33q0 -19 -12.5 -32t-32.5 -13zM396 588q-20 0 -32.5 13t-12.5 32q0 20 12.5 33t32.5 13t33 -13t13 -33q0 -19 -13 -32t-33 -13zM293 705l-35 24l82 115l49 -34z" />+ <glyph glyph-name="uni03080301.cap"+d="M197 715q-20 0 -32.5 13t-12.5 33t12.5 32.5t32.5 12.5t33 -12.5t13 -32.5t-13 -33t-33 -13zM403 715q-20 0 -33 13t-13 33t13 32.5t33 12.5t32.5 -12.5t12.5 -32.5t-12.5 -33t-32.5 -13zM299 823l-37 26l95 119l53 -36z" />+ <glyph glyph-name="uni03080301.g"+d="M185 595q-20 0 -33 11.5t-13 31.5q0 21 13 33.5t33 12.5t33 -12.5t13 -33.5q0 -20 -13 -31.5t-33 -11.5zM258 573l49 226l68 -13l-75 -222zM415 595q-20 0 -33 11.5t-13 31.5q0 21 13 33.5t33 12.5t33 -12.5t13 -33.5q0 -20 -13 -31.5t-33 -11.5z" />+ <glyph glyph-name="uni03080300"+d="M204 588q-20 0 -33 13t-13 32q0 20 13 33t33 13t32.5 -13t12.5 -33q0 -19 -12.5 -32t-32.5 -13zM396 588q-20 0 -32.5 13t-12.5 32q0 20 12.5 33t32.5 13t33 -13t13 -33q0 -19 -13 -32t-33 -13zM307 705l-96 105l49 34l82 -115z" />+ <glyph glyph-name="uni03080300.cap"+d="M197 715q-20 0 -32.5 13t-12.5 33t12.5 32.5t32.5 12.5t33 -12.5t13 -32.5t-13 -33t-33 -13zM403 715q-20 0 -33 13t-13 33t13 32.5t33 12.5t32.5 -12.5t12.5 -32.5t-12.5 -33t-32.5 -13zM301 823l-111 109l53 36l95 -119z" />+ <glyph glyph-name="uni03080300.g"+d="M187 595q-18 0 -30 11.5t-12 30.5t12 30.5t30 11.5q17 0 29 -11.5t12 -30.5t-12 -30.5t-29 -11.5zM297 563l-64 197l66 14l41 -201zM413 595q-17 0 -29 11.5t-12 30.5t12 30.5t29 11.5q18 0 30 -11.5t12 -30.5t-12 -30.5t-30 -11.5z" />+ <glyph glyph-name="uni03080303"+d="M204 588q-20 0 -33 13t-13 32q0 20 13 33t33 13t32.5 -13t12.5 -33q0 -19 -12.5 -32t-32.5 -13zM396 588q-20 0 -32.5 13t-12.5 32q0 20 12.5 33t32.5 13t33 -13t13 -33q0 -19 -13 -32t-33 -13zM371 707q-26 0 -44 7.5t-33 17t-29 17t-32 7.5q-17 0 -29 -11.5t-15 -34.5+l-42 4q2 39 23 65.5t59 26.5q26 0 44 -7.5t33 -17t29 -17t32 -7.5q17 0 29 11.5t15 34.5l42 -4q-2 -39 -23 -65.5t-59 -26.5z" />+ <glyph glyph-name="uni03080304"+d="M204 588q-20 0 -33 13t-13 32q0 20 13 33t33 13t32.5 -13t12.5 -33q0 -19 -12.5 -32t-32.5 -13zM396 588q-20 0 -32.5 13t-12.5 32q0 20 12.5 33t32.5 13t33 -13t13 -33q0 -19 -13 -32t-33 -13zM166 750v47h267v-47h-267z" />+ <glyph glyph-name="uni03080304.cap"+d="M197 715q-20 0 -32.5 13t-12.5 33t12.5 32.5t32.5 12.5t33 -12.5t13 -32.5t-13 -33t-33 -13zM403 715q-20 0 -33 13t-13 33t13 32.5t33 12.5t32.5 -12.5t12.5 -32.5t-12.5 -33t-32.5 -13zM166 861v46h268v-46h-268z" />+ <glyph glyph-name="uni0308030C"+d="M204 588q-20 0 -33 13t-13 32q0 20 13 33t33 13t32.5 -13t12.5 -33q0 -19 -12.5 -32t-32.5 -13zM396 588q-20 0 -32.5 13t-12.5 32q0 20 12.5 33t32.5 13t33 -13t13 -33q0 -19 -13 -32t-33 -13zM266 720l-94 92l30 28l96 -73h4l96 73l30 -28l-94 -92h-68z" />+ <glyph glyph-name="uni0308030C.cap"+d="M197 715q-20 0 -32.5 13t-12.5 33t12.5 32.5t32.5 12.5t33 -12.5t13 -32.5t-13 -33t-33 -13zM403 715q-20 0 -33 13t-13 33t13 32.5t33 12.5t32.5 -12.5t12.5 -32.5t-12.5 -33t-32.5 -13zM264 839l-99 96l33 27l100 -75h4l100 75l33 -27l-99 -96h-72z" />+ <glyph glyph-name="uni03020301"+d="M195 570l-29 34l100 92h68l100 -92l-29 -34l-103 72h-4zM434 637l-35 28l87 120l49 -34z" />+ <glyph glyph-name="uni03020301.cap"+d="M205 699l-34 26l93 90h72l93 -90l-34 -26l-93 69h-4zM421 763l-30 32l97 93l35 -39z" />+ <glyph glyph-name="uni03020300"+d="M195 570l-29 34l100 92h68l100 -92l-29 -34l-103 72h-4zM166 637l-113 112l48 36l100 -117z" />+ <glyph glyph-name="uni03020300.cap"+d="M205 699l-34 26l93 90h72l93 -90l-34 -26l-93 69h-4zM179 763l-90 88l35 37l85 -95z" />+ <glyph glyph-name="uni03020309"+d="M195 570l-29 34l100 92h68l100 -92l-29 -34l-103 72h-4zM416 635l-9 35q19 5 30.5 14t11.5 25q0 20 -16 29.5t-53 11.5l7 41q59 -2 90.5 -20t31.5 -53q0 -20 -8 -34t-21 -23.5t-29.5 -15.5t-34.5 -10z" />+ <glyph glyph-name="uni03020309.cap"+d="M205 699l-34 26l93 90h72l93 -90l-34 -26l-93 69h-4zM415 754l-11 35q19 5 32 12.5t13 23.5q0 20 -16.5 28.5t-54.5 10.5l9 42q59 -2 89.5 -20t30.5 -53q0 -38 -28 -55.5t-64 -23.5z" />+ <glyph glyph-name="uni03020303"+d="M195 570l-29 34l100 88h68l100 -88l-29 -34l-103 69h-4zM365 710q-22 0 -39 6.5t-31.5 14.5t-28 14.5t-27.5 6.5q-15 0 -22 -10t-11 -32l-43 4q4 39 20.5 64t51.5 25q22 0 39 -6.5t31.5 -14.5t28 -14.5t27.5 -6.5q15 0 22 10t11 32l43 -4q-4 -38 -20.5 -63.5t-51.5 -25.5+z" />+ <glyph glyph-name="uni03020303.cap"+d="M205 699l-34 26l93 87h72l93 -87l-34 -26l-93 66h-4zM366 839q-24 0 -41 8t-31.5 17t-27.5 17t-28 8q-18 0 -26.5 -12t-11.5 -34l-45 5q2 38 20 64.5t59 26.5q24 0 41 -7.5t31.5 -17t27.5 -17t28 -7.5q18 0 26.5 12t11.5 34l45 -5q-2 -39 -20 -65.5t-59 -26.5z" />+ <glyph glyph-name="uni03060301"+d="M300 571q-40 0 -69 13t-47.5 34.5t-28 48.5t-11.5 55l48 8q3 -20 10.5 -39.5t21 -34.5t32.5 -24.5t44 -9.5t44 9.5t32.5 24.5t21 34.5t10.5 39.5l48 -8q-2 -28 -11.5 -55t-28.5 -48.5t-47.5 -34.5t-68.5 -13zM295 679l-39 29l88 124l52 -40z" />+ <glyph glyph-name="uni03060301.cap"+d="M300 705q-35 0 -61 10.5t-44 28t-28 41t-13 49.5l47 8q6 -37 30 -62.5t69 -25.5t69 25.5t30 62.5l47 -8q-3 -26 -13 -49.5t-28 -41t-44 -28t-61 -10.5zM303 803l-41 29l95 116l53 -36z" />+ <glyph glyph-name="uni03060300"+d="M300 571q-40 0 -69 13t-47.5 34.5t-28 48.5t-11.5 55l48 8q3 -20 10.5 -39.5t21 -34.5t32.5 -24.5t44 -9.5t44 9.5t32.5 24.5t21 34.5t10.5 39.5l48 -8q-2 -28 -11.5 -55t-28.5 -48.5t-47.5 -34.5t-68.5 -13zM305 679l-101 113l52 40l88 -124z" />+ <glyph glyph-name="uni03060300.cap"+d="M300 705q-35 0 -61 10.5t-44 28t-28 41t-13 49.5l47 8q6 -37 30 -62.5t69 -25.5t69 25.5t30 62.5l47 -8q-3 -26 -13 -49.5t-28 -41t-44 -28t-61 -10.5zM297 803l-107 109l53 36l95 -116z" />+ <glyph glyph-name="uni03060309"+d="M300 571q-40 0 -69 13t-47.5 34.5t-28 48.5t-11.5 55l48 8q3 -20 10.5 -39.5t21 -34.5t32.5 -24.5t44 -9.5t44 9.5t32.5 24.5t21 34.5t10.5 39.5l48 -8q-2 -28 -11.5 -55t-28.5 -48.5t-47.5 -34.5t-68.5 -13zM273 682l-8 36q21 5 34.5 14t13.5 25q0 20 -17.5 29.5+t-58.5 11.5l7 50q61 -2 95 -22t34 -60q0 -20 -8.5 -34.5t-22.5 -24.5t-32 -16t-37 -9z" />+ <glyph glyph-name="uni03060309.cap"+d="M300 705q-35 0 -61 10.5t-44 28t-28 41t-13 49.5l47 8q6 -37 30 -62.5t69 -25.5t69 25.5t30 62.5l47 -8q-3 -26 -13 -49.5t-28 -41t-44 -28t-61 -10.5zM277 800l-10 35q18 5 31 12.5t13 23.5q0 20 -16.5 28.5t-53.5 10.5l8 42q59 -2 90 -20t31 -53q0 -19 -8 -32.5+t-20.5 -23t-29.5 -15t-35 -8.5z" />+ <glyph glyph-name="uni03060303"+d="M300 571q-37 0 -63 9.5t-43.5 25t-26.5 34.5t-11 38l47 8q4 -25 27 -46.5t70 -21.5t70 21.5t27 46.5l47 -8q-2 -19 -11 -38t-26.5 -34.5t-43.5 -25t-63 -9.5zM365 710q-22 0 -39 6.5t-31.5 14.5t-28 14.5t-27.5 6.5q-15 0 -22 -10.5t-11 -32.5l-47 5q4 38 21.5 63+t54.5 25q22 0 39 -6.5t31.5 -14.5t28 -14.5t27.5 -6.5q15 0 22 10.5t11 31.5l47 -4q-4 -38 -21.5 -63t-54.5 -25z" />+ <glyph glyph-name="uni03060303.cap"+d="M300 708q-35 0 -60.5 8.5t-43 23.5t-27 34t-12.5 40l46 8q5 -27 28 -48t69 -21t69 21t28 48l46 -8q-3 -21 -12.5 -40t-27 -34t-43 -23.5t-60.5 -8.5zM366 843q-24 0 -41 8t-31.5 17t-27.5 17t-28 8q-18 0 -26.5 -12t-11.5 -35l-45 5q2 39 20 65.5t59 26.5q24 0 41 -8+t31.5 -17t27.5 -17t28 -8q18 0 26.5 12t11.5 34l45 -5q-2 -38 -20 -64.5t-59 -26.5z" />+ <glyph glyph-name="uni03020306"+d="M202 570l-31 24l95 83h68l95 -83l-31 -24l-96 62h-4zM300 705q-31 0 -53.5 7.5t-38 20.5t-23.5 28.5t-11 32.5l38 10q6 -22 26 -38t62 -16t62 16t26 38l38 -10q-3 -17 -11 -32.5t-23.5 -28.5t-38 -20.5t-53.5 -7.5z" />+ <glyph glyph-name="uni03020306.cap"+d="M205 699l-33 26l92 87h72l92 -87l-33 -26l-93 69h-4zM300 841q-66 0 -99 28t-38 66l46 8q5 -23 26 -39.5t65 -16.5t65 16.5t26 39.5l46 -8q-5 -38 -38 -66t-99 -28z" />+ <glyph glyph-name="uni03040301"+d="M167 601v57h266v-57h-266zM266 705l-32 39l135 99l38 -49z" />+ <glyph glyph-name="uni03040301.cap"+d="M166 735v57h268v-57h-268zM282 827l-31 38l121 103l39 -48z" />+ <glyph glyph-name="uni03120301"+d="M245 577q-18 4 -35.5 11t-31 18t-22 27t-8.5 38q0 41 35 62t94 23l4 -51q-73 -4 -73 -43q0 -20 13 -31t33 -16zM305 569l43 201l74 -14l-67 -197z" />+ <glyph glyph-name="uni03120300"+d="M235 577q-18 4 -35.5 11t-31 18t-22 27t-8.5 38q0 41 35 62t94 23l4 -51q-73 -4 -73 -43q0 -20 13 -31t33 -16zM359 559l-64 197l75 14l38 -201z" />+ <glyph glyph-name="uni03120303"+d="M327 562q-36 7 -65 24t-29 48q0 30 31.5 44.5t90.5 16.5l7 -39q-37 -2 -53 -9.5t-16 -21.5q0 -11 12 -18t30 -12zM159 719q4 38 21.5 63t54.5 25q22 0 39 -6.5t31.5 -14.5t28 -14.5t27.5 -6.5q15 0 22 10.5t11 31.5l47 -4q-4 -38 -21.5 -63t-54.5 -25q-22 0 -39 6.5+t-31.5 14.5t-28 14.5t-27.5 6.5q-15 0 -22 -10.5t-11 -31.5z" />+ <glyph glyph-name="uni03130301"+d="M180 577l-10 38q20 5 33.5 16t13.5 31q0 39 -73 43l4 51q59 -2 94 -23t35 -62q0 -22 -8.5 -38t-22 -27t-31 -18t-35.5 -11zM362 559l-50 10l42 201l74 -14z" />+ <glyph glyph-name="uni03130300"+d="M180 577l-10 38q20 5 33.5 16t13.5 31q0 39 -73 43l4 51q59 -2 94 -23t35 -62q0 -22 -8.5 -38t-22 -27t-31 -18t-35.5 -11zM365 559l-63 197l74 14l39 -201z" />+ <glyph glyph-name="uni03130303"+d="M365 715q-22 0 -39 6.5t-31.5 14.5t-28 14.5t-27.5 6.5q-15 0 -22 -10.5t-11 -31.5l-47 4q4 38 21.5 63t54.5 25q22 0 39 -6.5t31.5 -14.5t28 -14.5t27.5 -6.5q15 0 22 10.5t11 31.5l47 -4q-4 -38 -21.5 -63t-54.5 -25zM273 562l-8 33q18 5 30 12t12 18q0 14 -16 21.5+t-53 9.5l7 39q59 -2 90.5 -16.5t31.5 -44.5q0 -31 -29 -48t-65 -24z" />+ <glyph glyph-name="space.frac"+ />+ <glyph glyph-name="nbspace.frac"+ />+ </font>+</defs></svg>diff --git a/studio/public/fonts/source-code-pro/SourceCodePro-Regular.ttf b/studio/public/fonts/source-code-pro/SourceCodePro-Regular.ttfnew file mode 100644index 00000000000..2d08f66a44aBinary files /dev/null and b/studio/public/fonts/source-code-pro/SourceCodePro-Regular.ttf differdiff --git a/studio/public/fonts/source-code-pro/SourceCodePro-Regular.woff b/studio/public/fonts/source-code-pro/SourceCodePro-Regular.woffnew file mode 100644index 00000000000..eacf83e5376Binary files /dev/null and b/studio/public/fonts/source-code-pro/SourceCodePro-Regular.woff differdiff --git a/studio/public/fonts/source-code-pro/SourceCodePro-Regular.woff2 b/studio/public/fonts/source-code-pro/SourceCodePro-Regular.woff2new file mode 100644index 00000000000..21411ef400fBinary files /dev/null and b/studio/public/fonts/source-code-pro/SourceCodePro-Regular.woff2 differdiff --git a/studio/public/img/archive.svg b/studio/public/img/archive.svgnew file mode 100755index 00000000000..428882c87bd--- /dev/null+++ b/studio/public/img/archive.svg@@ -0,0 +1 @@+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-archive"><polyline points="21 8 21 21 3 21 3 8"></polyline><rect x="1" y="3" width="22" height="5"></rect><line x1="10" y1="12" x2="14" y2="12"></line></svg>\ No newline at end of filediff --git a/studio/public/img/book-open.svg b/studio/public/img/book-open.svgnew file mode 100755index 00000000000..5e0ca0ab73e--- /dev/null+++ b/studio/public/img/book-open.svg@@ -0,0 +1 @@+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-book-open"><path d="M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z"></path><path d="M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z"></path></svg>\ No newline at end of filediff --git a/studio/public/img/book.svg b/studio/public/img/book.svgnew file mode 100755index 00000000000..12ffcbc46cd--- /dev/null+++ b/studio/public/img/book.svg@@ -0,0 +1 @@+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-book"><path d="M4 19.5A2.5 2.5 0 0 1 6.5 17H20"></path><path d="M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z"></path></svg>\ No newline at end of filediff --git a/studio/public/img/bucket-filled.svg b/studio/public/img/bucket-filled.svgnew file mode 100644index 00000000000..abf6ea5e043--- /dev/null+++ b/studio/public/img/bucket-filled.svg@@ -0,0 +1,15 @@+<?xml version="1.0" encoding="UTF-8"?>+<svg width="23px" height="21px" viewBox="0 0 23 21" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">+ <!-- Generator: Sketch 59.1 (86144) - https://sketch.com -->+ <title>Group 6</title>+ <desc>Created with Sketch.</desc>+ <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">+ <g id="Group-6">+ <path d="M0,2 C4.08145016,2.66666667 7.74811683,3 11,3 C14.2518832,3 17.9185498,2.66666667 22,2 L19.1660126,18.0592619 C19.055643,18.6846956 18.6547827,19.2205336 18.0859564,19.5029965 C16.07617,20.5009988 13.7141845,21 11,21 C8.28582036,21 5.92383852,20.5010006 3.9140545,19.5030018 C3.34522199,19.2205451 2.94435968,18.6847049 2.83398858,18.0592686 L0,2 L0,2 Z" id="Rectangle" fill="#888888"></path>+ <ellipse id="Oval" fill="#727272" cx="11" cy="2" rx="11" ry="2"></ellipse>+ <circle id="Oval" fill="#727272" cx="11" cy="7.5" r="1.5"></circle>+ <path d="M11.5,8 C16.1151574,10.3589239 19.1151574,11.6922572 20.5,12 C21.8848426,12.3077428 21.8848426,11.6532252 20.5,10.0364473" id="Line" stroke="#727272" stroke-linecap="square"></path>+ <rect id="Rectangle" fill="#888888" transform="translate(19.706608, 9.250860) rotate(10.000000) translate(-19.706608, -9.250860) " x="18.7066082" y="7.75085981" width="2" height="3"></rect>+ </g>+ </g>+</svg>\ No newline at end of filediff --git a/studio/public/img/database.svg b/studio/public/img/database.svgnew file mode 100755index 00000000000..c296fbcfd55--- /dev/null+++ b/studio/public/img/database.svg@@ -0,0 +1 @@+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-database"><ellipse cx="12" cy="5" rx="9" ry="3"></ellipse><path d="M21 12c0 1.66-4 3-9 3s-9-1.34-9-3"></path><path d="M3 5v14c0 1.66 4 3 9 3s9-1.34 9-3V5"></path></svg>\ No newline at end of filediff --git a/studio/public/img/discord-icon.svg b/studio/public/img/discord-icon.svgnew file mode 100755index 00000000000..ca654007609--- /dev/null+++ b/studio/public/img/discord-icon.svg@@ -0,0 +1 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 127.14 96.36"><defs><style>.cls-1{fill:#5865f2;}</style></defs><g id="图层_2" data-name="图层 2"><g id="Discord_Logos" data-name="Discord Logos"><g id="Discord_Logo_-_Large_-_White" data-name="Discord Logo - Large - White"><path class="cls-1" d="M107.7,8.07A105.15,105.15,0,0,0,81.47,0a72.06,72.06,0,0,0-3.36,6.83A97.68,97.68,0,0,0,49,6.83,72.37,72.37,0,0,0,45.64,0,105.89,105.89,0,0,0,19.39,8.09C2.79,32.65-1.71,56.6.54,80.21h0A105.73,105.73,0,0,0,32.71,96.36,77.7,77.7,0,0,0,39.6,85.25a68.42,68.42,0,0,1-10.85-5.18c.91-.66,1.8-1.34,2.66-2a75.57,75.57,0,0,0,64.32,0c.87.71,1.76,1.39,2.66,2a68.68,68.68,0,0,1-10.87,5.19,77,77,0,0,0,6.89,11.1A105.25,105.25,0,0,0,126.6,80.22h0C129.24,52.84,122.09,29.11,107.7,8.07ZM42.45,65.69C36.18,65.69,31,60,31,53s5-12.74,11.43-12.74S54,46,53.89,53,48.84,65.69,42.45,65.69Zm42.24,0C78.41,65.69,73.25,60,73.25,53s5-12.74,11.44-12.74S96.23,46,96.12,53,91.08,65.69,84.69,65.69Z"/></g></g></g></svg>\ No newline at end of filediff --git a/studio/public/img/eastwood-fatal-error.svg b/studio/public/img/eastwood-fatal-error.svgnew file mode 100644index 00000000000..0b2090d9e91--- /dev/null+++ b/studio/public/img/eastwood-fatal-error.svg@@ -0,0 +1,4337 @@+<?xml version="1.0" encoding="iso-8859-1"?>+<!-- Generator: Adobe Illustrator 23.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->+<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"+ viewBox="0 0 800 600" style="enable-background:new 0 0 800 600;" xml:space="preserve">+<g id="Layer_2">+ <g>+ <path style="fill:#D8DAE0;" d="M543.713,513.986c-0.01,0.068-0.02,0.136-0.03,0.204c-35.52,0-71.04,0-106.56,0+ c0.006-0.079,0.005-0.157-0.004-0.236c11.638-0.004,23.276-0.008,34.914-0.011c7.079-0.002,14.158,0.001,21.237-0.002+ c0.584,0,1.136,0.089,1.539-0.604c2.812-4.822,5.654-9.627,8.528-14.412c0.524-0.872,0.455-1.074-0.601-1.082+ c-2.71-0.021-5.423,0.18-8.134-0.184c-1.234-0.166-2.597-0.684-3.691,0.53c-0.201,0.223-0.639,0.294-0.865-0.01+ c-0.298-0.4-0.01-0.731,0.26-1.051c1.443-1.704,2.747-3.511,3.994-5.362c2.539-3.769,5.042-7.562,7.644-11.287+ c3.057-4.376,6.172-8.712,9.319-13.022c2.911-3.987,5.893-7.923,8.859-11.869c0.335-0.446,0.758-1.084,1.209,0.103+ c0-1.971,0.126-3.783-0.058-5.562c-0.082-0.792-0.01-1.416,0.384-2.018c3.558-5.438,7.049-10.923,10.724-16.28+ c4.393-6.404,8.871-12.753,13.677-18.859c1.304-1.657,2.646-3.287,4.027-4.88c0.545-0.629,1.221-0.864,1.618,0.208+ c0.234,0.633,0.68,0.832,1.313,0.77c2.025-0.198,4.055-0.288,6.091-0.248c0.256,0.005,0.665,0.048,0.503-0.405+ c-0.099-0.276-0.328-0.597-0.731-0.42c-0.176,0.077-0.305,0.255-0.468,0.368c-0.91,0.627-1.511-0.251-2.079-0.602+ c-0.507-0.314,0.075-0.867,0.374-1.298c1.012-1.456,2.478-2.487,3.549-3.885c2.009-2.623,4.015-5.249,6.069-7.835+ c0.586-0.738,1.035-2.048,2.43-1.048c0.103,0.074,0.313,0.01,0.472-0.006c4.39-0.453,8.802-0.277,13.202-0.404+ c1.19-0.034,2.32,0.107,3.436-0.453c0.556-0.279,1.077-0.023,1.441,0.516c0.336,0.498,0.208,0.857-0.203,1.246+ c-0.343,0.325-0.583,0.757-0.905,1.108c-3.266,3.547-6.297,7.291-9.354,11.015c-0.5,0.608-1.025,1.112-1.945,1.228+ c-2.081,0.261-4.177,0.464-6.21,1.074c-0.584,0.175-0.957,0.39-1.318,0.867c-1.489,1.968-3.004,3.917-4.556,5.835+ c-5.291,6.535-10.236,13.326-15.042,20.22c-2.802,4.02-5.594,8.047-8.361,12.091c-3.466,5.066-6.895,10.158-10.352,15.23+ c-1.794,2.633-3.646,5.225-5.78,7.601c-0.351,0.391-0.745,0.767-1.293,0.802c-0.57,0.036-0.724-0.553-1.112-1.028+ c0.062,1.039-0.146,1.904,0.408,2.727c0.247,0.367,0.185,0.954-0.023,1.398c-0.967,2.059-1.778,4.201-2.991,6.133+ c-1.737,2.768-3.541,5.493-5.324,8.231c-0.891,1.369-1.794,2.73-2.705,4.086c-1.442,2.146-3.006,4.149-5.792,4.705+ c4.334,0.496,8.608-0.415,12.956-0.273c-0.081,0.287-0.088,0.416-0.148,0.51c-3.119,4.917-6.138,9.893-8.949,14.994+ c-0.134,0.243-0.348,0.54-0.64,0.471c-1.437-0.34-2.84,0.265-4.274,0.104c-0.862-0.097-1.744-0.018-2.617-0.018+ c0.002,0.081,0.003,0.161,0.005,0.242c0.394,0,0.788,0,1.183,0c9.758,0,19.517-0.004,29.275,0.002+ C535.396,513.952,539.555,513.973,543.713,513.986z M529.928,448.06c0.711-1.72,2.394-2.71,3.101-4.444+ c0.915-2.245,1.959-4.438,2.942-6.655c0.12-0.272,0.405-0.614-0.066-0.797c-0.897-0.35-1.231-1.024-1.117-2.32+ c-2.13,3.072-4.038,5.823-5.971,8.611c1.976,0.149,2.556,1.056,1.866,2.87C530.349,446.202,529.95,447.054,529.928,448.06z"/>+ <path style="fill:#BDBEC3;" d="M274.851,496.853c-2.869,0.019-5.739,0.038-8.608,0.057c0-7.44,0-14.88,0-22.32+ c0.266-0.198,0.221-0.49,0.221-0.763c0.007-4.091,0.013-8.183,0.014-12.274c0-0.31,0.053-0.645-0.236-0.883c0-11.6,0-23.2,0-34.8+ c2.505,0.579,5.079,0.614,7.609,0.628c3.533,0.02,7.078-0.225,10.593-0.735c5.226-0.759,10.256-2.252,15.23-3.965+ c0.844-0.291,1.129-0.21,1.012,0.825c-0.263,2.332-0.379,4.682-0.555,7.024c-0.296,3.93-0.827,7.83-1.315,11.735+ c-0.099,0.794,0.169,0.952,0.756,1.165c1.68,0.609,3.484,0.802,5.12,1.548c-0.147,0.183-0.318,0.351-0.436,0.551+ c-3.31,5.593-6.544,11.229-9.681,16.922c-2.982,5.414-6.025,10.793-9.04,16.189c-1.887,3.377-3.794,6.742-5.649,10.136+ C278.243,490.899,276.255,493.712,274.851,496.853z"/>+ <path style="fill:#FEFEFE;" d="M266.243,460.67c0.288,0.238,0.236,0.573,0.236,0.883c-0.001,4.091-0.007,8.183-0.014,12.274+ c0,0.273,0.045,0.565-0.221,0.763C266.243,469.95,266.243,465.31,266.243,460.67z"/>+ <path style="fill:#D1DBE3;" d="M739.764,428.27c-0.081-0.002-0.162-0.003-0.243-0.005c0-1.437,0-2.873,0-4.31+ c0.081-0.002,0.162-0.004,0.243-0.005C739.764,425.39,739.764,426.83,739.764,428.27z"/>+ <path style="fill:#BDBEC3;" d="M543.713,513.986c-4.159-0.013-8.317-0.034-12.476-0.037c-9.758-0.005-19.517-0.002-29.275-0.002+ c-0.394,0-0.788,0-1.183,0c-0.002-0.081-0.003-0.161-0.005-0.242c0.873,0,1.755-0.079,2.617,0.018+ c1.435,0.162,2.837-0.444,4.274-0.104c0.291,0.069,0.506-0.228,0.64-0.471c2.811-5.101,5.831-10.077,8.949-14.994+ c0.06-0.095,0.067-0.223,0.148-0.51c-4.348-0.141-8.622,0.769-12.956,0.273c2.787-0.557,4.351-2.56,5.792-4.705+ c0.911-1.356,1.813-2.717,2.705-4.086c1.784-2.738,3.588-5.463,5.324-8.231c1.213-1.932,2.024-4.074,2.991-6.133+ c0.208-0.444,0.27-1.031,0.023-1.398c-0.553-0.822-0.346-1.688-0.408-2.727c0.388,0.476,0.542,1.064,1.112,1.028+ c0.548-0.034,0.941-0.41,1.293-0.802c2.134-2.376,3.986-4.968,5.78-7.601c3.457-5.073,6.886-10.164,10.352-15.23+ c2.767-4.044,5.559-8.071,8.361-12.091c4.805-6.895,9.751-13.686,15.042-20.22c1.553-1.918,3.068-3.867,4.556-5.835+ c0.361-0.477,0.734-0.692,1.318-0.867c2.033-0.61,4.129-0.812,6.21-1.074c0.92-0.116,1.446-0.619,1.945-1.228+ c3.057-3.724,6.089-7.468,9.354-11.015c0.323-0.35,0.562-0.782,0.905-1.108c0.411-0.389,0.539-0.748,0.203-1.246+ c-0.364-0.539-0.885-0.795-1.441-0.516c-1.117,0.56-2.246,0.418-3.436,0.453c-4.4,0.128-8.812-0.049-13.202,0.404+ c-0.159,0.016-0.369,0.08-0.472,0.006c-1.395-1-1.844,0.309-2.43,1.048c-2.054,2.587-4.06,5.213-6.069,7.835+ c-1.071,1.398-2.536,2.43-3.549,3.885c-0.299,0.43-0.882,0.984-0.374,1.298c0.568,0.351,1.169,1.229,2.079,0.602+ c0.164-0.113,0.292-0.29,0.468-0.368c0.403-0.178,0.633,0.144,0.731,0.42c0.162,0.453-0.247,0.411-0.503,0.405+ c-2.036-0.04-4.065,0.05-6.091,0.248c-0.633,0.062-1.079-0.137-1.313-0.77c-0.396-1.072-1.072-0.837-1.618-0.208+ c-1.381,1.593-2.722,3.223-4.027,4.88c-4.806,6.106-9.284,12.455-13.677,18.859c-3.675,5.358-7.166,10.843-10.724,16.28+ c-0.394,0.602-0.466,1.227-0.384,2.018c0.184,1.78,0.058,3.591,0.058,5.562c-0.451-1.187-0.874-0.549-1.209-0.103+ c-2.966,3.946-5.948,7.882-8.859,11.869c-3.147,4.311-6.262,8.647-9.319,13.022c-2.602,3.725-5.105,7.519-7.644,11.287+ c-1.247,1.851-2.552,3.658-3.994,5.362c-0.27,0.319-0.558,0.651-0.26,1.051c0.226,0.304,0.664,0.233,0.865,0.01+ c1.094-1.213,2.457-0.695,3.691-0.53c2.711,0.364,5.424,0.163,8.134,0.184c1.056,0.008,1.125,0.21,0.601,1.082+ c-2.874,4.785-5.717,9.589-8.528,14.412c-0.404,0.692-0.955,0.604-1.539,0.604c-7.079,0.003-14.158,0-21.237,0.002+ c-11.638,0.003-23.276,0.007-34.914,0.011c-3.276-0.735-6.575-0.437-9.883-0.299c-3.034,0.126-6.076,0.044-9.115,0.047+ c-18.352,0.013-36.705,0.019-55.057,0.045c-1.471,0.002-2.861-0.196-4.134-0.971c-2.144-1.305-2.613-3.962-1.03-5.898+ c0.249-0.305,0.519-0.504,0.316-1.022c-0.873-2.231-0.358-3.516,1.782-4.706c1.597-0.887,3.347-1.313,5.126-1.553+ c1.458-0.196,2.942-0.262,4.415-0.265c9.036-0.018,18.075-0.133,27.108,0.042c7.504,0.145,15.008,0.353,22.514,0.447+ c4.946,0.062,9.893,0.248,14.834,0.486c2.253,0.109,4.528,0.337,6.57,1.639c0.331-1.108,0.582-2.144,1.297-2.999+ c0.546-0.653-0.095-0.594-0.464-0.595c-1.956-0.009-3.905-0.109-5.859-0.212c-9.264-0.489-18.538-0.269-27.808-0.274+ c-9.87-0.005-19.737,0.413-29.609,0.278c-0.792-0.011-1.585,0.149-2.378,0.216c-1.148,0.098-2.054-0.252-2.482-1.414+ c-0.351-0.952,0.083-2.029,1.126-2.761c1.48-1.04,3.175-1.454,4.939-1.654c-0.026,0.744-0.498,1.34-0.673,2.035+ c-0.141,0.561,0.1,0.993,0.612,0.856c0.689-0.185,1.095,0.083,1.603,0.426c0.368,0.249,0.86,0.173,1.211-0.186+ c0.502-0.513,1.067-0.987,1.47-1.571c2.468-3.578,4.695-7.307,6.874-11.066c3.641-6.28,7.117-12.654,10.458-19.093+ c4.679-9.018,10.111-17.643,14.139-27c0.007,16.395,0.009,32.79,0.045,49.185c0.001,0.533-0.482,1.558,0.452,1.56+ c0.94,0.002,0.455-1.024,0.456-1.556c0.032-12.636,0.024-25.273,0.027-37.909c0-0.559,0.029-1.119,0.045-1.678+ c0.664-0.106,0.834-0.722,1.109-1.169c2.314-3.765,4.625-7.533,6.875-11.337c3.102-5.244,6.167-10.51,9.212-15.787+ c1.773-3.073,3.502-6.173,5.048-9.369c0.21-0.433,0.672-1.071-0.464-0.815c-0.356,0.08-0.844,0.241-1.091-0.185+ c-0.204-0.353,0.127-0.679,0.284-0.987c1.379-2.701,2.729-5.417,4.172-8.083c0.936-1.728,2-3.381,0.69-5.372+ c1.7-1.609,3.786-2.642,5.788-3.774c2.537-1.434,5.158-2.721,7.761-4.035c0.619-0.313,0.87-0.514,0.546-1.316+ c-1.455-3.606,1.056-7.447,4.943-7.331c1.759,0.052,3.071-1.046,4.699-1.128c0.356-0.018,0.711-0.109,1.066-0.11+ c6.117-0.018,12.233-0.017,18.35-0.048c1.274-0.007,2.473,0.178,3.514,0.95c0.51,0.378,1.074,0.25,1.619,0.251+ c20.069,0.014,40.141-0.138,60.207,0.132c5.492,0.074,11.005,0.165,16.499,0.425c4.436,0.21,8.865,0.057,13.295,0.15+ c-0.409,0.375-0.85,0.722-1.219,1.133c-0.51,0.568-0.994,0.967-1.844,0.609c-0.432-0.182-0.935-0.036-1.314,0.359+ c-0.34,0.353-0.771,0.614-1.279,0.554c-0.852-0.101-1.476,0.338-2.02,0.858c-2.884,2.762-5.554,5.744-8.589,8.354+ c-0.244,0.21-0.694,0.46-0.366,0.87c0.273,0.342,0.668,0.562,1.164,0.307c0.312-0.161,0.872-0.451,0.952-0.359+ c0.911,1.035,2.068-0.074,3.152,0.458c1.082,0.531,2.277-0.425,3.285-1.044c2.019-1.239,3.992-0.674,5.801,0.283+ c0.903,0.478,1.584,0.633,2.404,0.165c0.881-0.503,1.82-0.764,2.811-0.917c0.373-0.058,0.833-0.177,0.966,0.198+ c0.534,1.51,1.335,0.857,2.08,0.284c3.113-2.392,5.741-5.293,8.396-8.155c1.223-1.318,0.915-2.628-0.682-3.489+ c-0.272-0.147-0.249-0.374-0.231-0.614c9.096-0.026,18.193-0.062,27.289-0.065c0.964,0,1.748-0.177,2.497-0.864+ c1.055-0.967,2.426-1.057,3.817-1.091c13.736-0.33,27.474-0.114,41.21-0.176c0.879-0.004,1.757,0.016,2.636,0.025+ c0.019,0.324-0.149,0.554-0.432,0.649c-1,0.337-1.324,1.167-1.64,2.059c-0.282,0.797-0.211,1.105,0.759,1.108+ c1.789,0.005,3.586-0.193,5.374,0.169c0.619,0.125,0.74,0.235,0.631,0.903c-0.62,3.801-1.4,7.575-2.107,11.358+ c-1.444,7.728-3.327,15.369-4.565,23.144c-0.873,5.486-2.023,10.928-3.004,16.398c-1.296,7.234-2.579,14.475-4.328,21.611+ c-1.885,7.689-3.252,15.476-4.798,23.229c-1.376,6.895-2.694,13.802-4.183,20.674c-1.254,5.786-2.508,11.571-3.762,17.357+ c-8.958,0.003-17.915,0.006-26.873,0.01c1.609-0.7,2.386-2.181,3.326-3.518c2.841-4.038,5.569-8.157,8.559-12.091+ c0.272-0.358,0.814-0.762,0.357-1.212c-0.418-0.411-1.058-0.357-1.538,0.034c-0.357,0.291-0.71,0.589-1.174,0.441+ c-1.562-0.499-3.074,0.024-4.596,0.205c-0.983,0.117-1.664-0.163-2.213-1.165c1.47,0.293,2.14-0.563,2.854-1.483+ c2.126-2.74,3.994-5.66,5.962-8.508c3.556-5.143,6.97-10.384,10.895-15.266c0.578-0.719,1.525-1.26,1.554-2.345+ c0.066-2.491-0.407-4.957-0.199-7.487c-0.64,0.084-0.78,0.769-1.467,0.673c0.217-0.379,0.324-0.744,0.566-0.957+ c1.085-0.955,1.147-2.194,1.12-3.504c-0.039-1.838,0.004-3.678-0.02-5.516c-0.005-0.362,0.243-0.905-0.254-1.05+ c-0.339-0.099-0.56,0.383-0.825,0.616c-0.089,0.079-0.162,0.176-0.235,0.271c-1.848,2.393-3.673,4.804-5.548,7.176+ c-5.652,7.15-11.12,14.437-16.545,21.76c-3.718,5.019-7.407,10.064-11.421,14.858c-0.146,0.175-0.412,0.32-0.3,0.594+ c0.116,0.281,0.411,0.191,0.635,0.191c2.319,0.007,4.637-0.004,6.956,0.012c0.373,0.003,0.862-0.193,1.087,0.264+ c0.315,0.639,0.637,0.434,1.014,0.098c0.233-0.207,0.488-0.527,0.814-0.236c0.316,0.282,0.02,0.596-0.112,0.865+ c-2.571,5.195-5.7,10.03-9.338,14.544c-0.4,0.497-1.032,0.936-0.963,1.724c-7.755,0.008-15.511,0.019-23.266,0.025+ C573.136,513.971,558.425,513.978,543.713,513.986z M458.257,451.291c-0.694,0.25-1.169,0.447-1.66,0.593+ c-3.706,1.103-7.03-0.655-7.83-4.162c-0.556-2.435,0.525-4.375,2.043-6.105c0.65-0.74,1.263-1.261-0.18-1.715+ c-0.245-0.077-0.463-0.323-0.634-0.538c-0.577-0.725-0.959-0.527-1.442,0.15c-1.639,2.301-3.367,4.538-4.983,6.854+ c-0.568,0.814-1.18,1.157-2.175,1.135c-2.678-0.06-5.358-0.013-8.038-0.027c-1.296-0.007-2.223,0.594-2.805,1.703+ c-0.615,1.173-0.083,2.097,1.228,2.085c0.792-0.007,1.27,0.252,1.253,1.046c-0.02,0.926,0.179,1.82,0.258,2.73+ c0.249,2.848,0.408,5.707,0.749,8.544c0.597,4.968,0.923,9.958,1.401,14.936c0.289,3.001,0.648,5.995,0.932,8.996+ c0.056,0.592,0.309,0.726,0.829,0.738c3.74,0.091,7.343,0.961,10.89,2.049c2.364,0.725,4.691,1.525,6.263,3.713+ c0.625,0.87,0.57,1.259-0.274,1.768c-0.387,0.233-0.797,0.513-1.009,1.128c1.288,0,2.507,0,3.726,0+ c0.515,0,0.619-0.379,0.771-0.769c0.608-1.561,1.578-2.826,2.945-3.839c3.037-2.25,6.362-3.979,9.762-5.581+ c0.582-0.274,0.847-0.422,0.388-1.094c-1.31-1.915-1.544-3.983-0.61-6.14c0.161-0.373,0.224-0.618-0.255-0.849+ c-2.897-1.396-3.81-4.371-2.821-6.927c0.099-0.257,0.285-0.575,0.06-0.785c-0.305-0.284-0.593,0.055-0.837,0.206+ c-1.375,0.85-2.845,1.469-4.447,1.681c-3.839,0.508-7-2.849-6.267-6.469c0.448-2.214,1.842-3.768,3.382-5.24+ c0.588-0.561,0.672-0.866-0.053-1.465c-1.875-1.549-2.453-3.593-1.723-5.923C457.34,452.939,457.802,452.225,458.257,451.291z+ M503.211,387.826c-0.026-0.102-0.051-0.204-0.076-0.307c-0.59,0-1.179-0.003-1.769,0.001c-0.289,0.002-0.607,0.02-0.529,0.434+ c0.058,0.308,0.305,0.502,0.614,0.422C502.046,388.224,502.625,388.013,503.211,387.826z"/>+ <path style="fill:#BDBEC3;" d="M739.52,423.955c0,1.437,0,2.873,0,4.31c-0.155,1.029-0.345,2.04-0.959,2.924+ c-1.501,2.157-4.499,1.969-5.691-0.378c-0.57-1.123-0.775-2.345-0.788-3.593c-0.007-0.631-0.101-1.131-0.886-1.114+ c-0.807,0.017-0.536,0.636-0.576,1.059c-0.165,1.745-0.233,3.504-0.486,5.236c-0.312,2.131-1.436,3.758-3.576,4.375+ c-1.879,0.542-3.56,0.044-4.863-1.481c-0.635-0.743-1.028-1.608-1.209-2.571c-0.12-0.637-0.363-0.912-1.144-0.753+ c-2.449,0.496-4.931-1.379-5.262-3.889c-0.129-0.982-0.206-1.971-0.337-3.251c-1.334,2.066-3.744,2.547-4.826,4.896+ c-1.587,3.444-5.501,4.768-8.859,2.407c-0.265-0.186-0.568-0.441-0.809-0.038c-0.304,0.509-0.74,1.024-0.699,1.624+ c0.032,0.477,0.579,0.303,0.904,0.3c2.287-0.019,4.545,0.042,6.644,1.161c2.986,1.592,4.006,5.235,2.235,8.097+ c-0.271,0.439-0.563,0.893-0.7,1.381c-0.431,1.529-1.236,2.763-2.607,3.591c-0.502,0.303-0.578,0.49-0.056,0.933+ c2.807,2.381,2.926,5.922,0.252,8.448c-0.709,0.67-0.66,0.907,0.13,1.413c2.219,1.42,3.011,3.978,2.065,6.498+ c-0.186,0.494-0.201,0.866,0.038,1.342c0.971,1.927,0.982,3.833-0.253,5.675c-0.25,0.373-0.41,0.699-0.07,1.182+ c2.729,3.883,1.241,7.863-3.309,8.956c-0.363,0.087-1.03-0.166-0.97,0.56c0.056,0.67,0.661,0.43,1.052,0.459+ c3.479,0.255,5.325,1.577,6.156,4.358c0.331,1.108,0.14,2.138-0.286,3.148c-0.238,0.566-0.185,0.992,0.152,1.541+ c1.268,2.066,1.053,4.122-0.335,6.047c-0.347,0.481-0.58,0.905-0.532,1.511c0.191,2.399-0.991,3.96-3.127,4.84+ c-0.656,0.27-0.795,0.433-0.318,1.041c1.286,1.638,1.441,3.448,0.462,5.274c-0.965,1.8-2.61,2.496-4.587,2.494+ c-7.96-0.006-15.919-0.019-23.879-0.029c0.394-2.67,0.841-5.334,1.172-8.012c0.546-4.416,1.28-8.802,2.024-13.186+ c0.864-5.089,1.91-10.146,2.764-15.236c1.191-7.093,2.615-14.141,4.009-21.194c1.688-8.539,3.604-17.031,5.326-25.562+ c2.129-10.549,4.469-21.062,5.888-31.75c0.76-5.727,1.515-11.439,1.357-17.23c-0.017-0.632-0.148-1.262-0.255-1.888+ c-0.066-0.382-0.318-0.657-0.692-0.75c-0.426-0.106-0.665,0.209-0.869,0.507c-0.229,0.335-0.31,0.715-0.338,1.129+ c-0.248,3.608-0.663,7.203-1.257,10.766c-0.868,5.209-1.725,10.419-2.78,15.598c-2.102,10.319-4.144,20.65-6.382,30.942+ c-1.756,8.077-3.443,16.169-4.953,24.296c-1.233,6.637-2.552,13.259-3.768,19.899c-0.801,4.375-1.505,8.769-2.218,13.159+ c-0.572,3.526-1.155,7.052-1.612,10.594c-0.34,2.638-0.94,5.243-1.038,7.913c-5.117,0.006-10.233,0.013-15.35,0.019+ c0.008-0.439-0.043-0.889,0.032-1.316c0.825-4.73,1.49-9.485,2.321-14.215c1.527-8.682,3.295-17.316,4.985-25.964+ c1.63-8.341,3.429-16.649,5.189-24.963c1.679-7.928,3.422-15.842,5.104-23.769c1.435-6.76,2.859-13.523,4.221-20.299+ c1.236-6.148,2.401-12.31,3.556-18.474c0.328-1.753,0.528-3.532,0.749-5.303c0.08-0.636-0.154-1.235-0.915-1+ c-1.068,0.331-2.352-0.151-3.239,0.908c-0.287,0.343-0.824,0.241-1.263,0.222c-0.596-0.026-0.68-0.308-0.37-0.778+ c0.743-1.126,0.873-2.462,1.27-3.707c5.015-0.002,10.031-0.003,15.046-0.005c-0.341,0.925-0.712,1.841-1.01,2.78+ c-0.132,0.415-0.608,0.899-0.117,1.303c0.501,0.412,1.057,0.118,1.563-0.14c1.634-0.831,1.448-2.5,1.806-3.918+ c3.591-0.046,7.177-0.038,10.771,0.103c4.509,0.177,9.031,0.054,13.547,0.042c1.088-0.003,2.109,0.308,3.156,0.489+ c1.36,0.235,2.804,0.499,4.215,0.093c0.038-0.011,0.075-0.027,0.113-0.041c1.25-0.457,2.662,0.152,3.726-0.181+ c1.197-0.374,2.324-0.642,3.538-0.595c1.324,0.051,2.321,1.062,2.123,2.358c-0.185,1.21,0.019,2.376,0.02,3.56+ c0.015,12.229,0.028,24.459,0.057,36.688c0.002,0.835-0.11,1.585-0.749,2.187c-0.14,0.132-0.255,0.32-0.314,0.504+ c-0.166,0.515-0.701,1.215-0.253,1.534c0.532,0.378,0.675-0.551,1.069-0.808c0.062-0.041,0.143-0.055,0.258-0.097+ C739.482,421.985,739.006,423.097,739.52,423.955z"/>+ <path style="fill:#D8DAE0;" d="M680.28,375.294c-0.397,1.245-0.527,2.581-1.27,3.707c-0.31,0.47-0.226,0.752,0.37,0.778+ c0.439,0.019,0.976,0.121,1.263-0.222c0.888-1.059,2.171-0.578,3.239-0.908c0.761-0.236,0.995,0.364,0.915,1+ c-0.222,1.771-0.421,3.55-0.749,5.303c-1.154,6.164-2.32,12.326-3.556,18.474c-1.362,6.775-2.787,13.538-4.221,20.299+ c-1.682,7.927-3.425,15.841-5.104,23.769c-1.761,8.315-3.559,16.623-5.189,24.963c-1.69,8.649-3.458,17.282-4.985,25.964+ c-0.832,4.73-1.496,9.485-2.321,14.215c-0.075,0.428-0.024,0.877-0.032,1.316c-3.202-0.004-6.403-0.008-9.605-0.012+ c1.254-5.786,2.508-11.571,3.762-17.357c1.489-6.872,2.807-13.779,4.183-20.674c1.547-7.753,2.914-15.54,4.798-23.229+ c1.749-7.135,3.032-14.377,4.328-21.611c0.98-5.47,2.13-10.912,3.004-16.398c1.238-7.775,3.121-15.416,4.565-23.144+ c0.707-3.783,1.486-7.556,2.107-11.358c0.109-0.667-0.012-0.777-0.631-0.903c-1.789-0.363-3.585-0.165-5.374-0.169+ c-0.97-0.003-1.041-0.311-0.759-1.108c0.316-0.893,0.641-1.723,1.64-2.059c0.282-0.095,0.45-0.325,0.432-0.649+ C674.153,375.286,677.217,375.29,680.28,375.294z"/>+ <path style="fill:#BDBEC3;" d="M383.388,476.002c-0.694-7.32-1.826-14.573-3.302-21.774c-0.319-1.557-0.525-3.138-0.792-4.706+ c-0.138-0.809,0.283-0.973,1-1.105c6.441-1.181,12.723-2.906,18.691-5.658c0.361-0.167,0.695-0.394,1.057-0.56+ c0.734-0.337,0.856-0.775,0.659-1.61c-1.234-5.225-2.058-10.524-2.729-15.851c-0.635-5.038-1.35-10.066-2.061-15.094+ c-0.107-0.76,0.151-1.037,0.874-1.036c5.796,0.008,11.592,0.018,17.387,0.002c0.695-0.002,0.891,0.264,0.882,0.921+ c-0.039,2.877-0.042,5.755-0.057,8.632c-0.594,0.207-0.785,0.765-1.035,1.245c-2.395,4.601-4.816,9.188-7.146,13.821+ c-2.617,5.203-5.539,10.238-8.422,15.29c-4.941,8.657-9.871,17.315-14.292,26.253+ C383.892,475.197,383.627,475.593,383.388,476.002z"/>+ <path style="fill:#D8DAE0;" d="M383.388,476.002c0.239-0.409,0.505-0.805,0.714-1.228c4.422-8.938,9.352-17.597,14.292-26.253+ c2.883-5.052,5.805-10.087,8.422-15.29c2.33-4.633,4.751-9.221,7.146-13.821c0.25-0.48,0.441-1.038,1.035-1.245+ c0.009,6.256,0.018,12.513,0.026,18.77c-4.029,9.358-9.46,17.982-14.139,27c-3.341,6.439-6.817,12.813-10.458,19.093+ c-2.179,3.759-4.406,7.488-6.874,11.066c-0.403,0.584-0.968,1.058-1.47,1.571c-0.351,0.359-0.843,0.435-1.211,0.186+ c-0.509-0.343-0.915-0.611-1.603-0.426c-0.512,0.137-0.754-0.295-0.612-0.856c0.175-0.696,0.647-1.291,0.673-2.035+ c1.153-0.621,2.462-0.599,3.697-0.864c0.85-0.182,1.071-0.568,1.073-1.384c0.013-4.457-0.235-8.898-0.72-13.327+ C383.344,476.643,383.383,476.321,383.388,476.002z"/>+ <path style="fill:#D8DAE0;" d="M274.851,496.853c1.404-3.141,3.392-5.953,5.036-8.96c1.855-3.394,3.762-6.759,5.649-10.136+ c3.015-5.396,6.058-10.775,9.04-16.189c3.136-5.693,6.37-11.329,9.681-16.922c0.118-0.2,0.289-0.368,0.436-0.551+ c2.376,0.194,4.679,0.811,7.017,1.223c0.936,0.165,1.869,0.348,2.802,0.522c-0.11,0.338-0.173,0.701-0.336,1.011+ c-3.682,6.996-7.401,13.974-11.058,20.983c-2.422,4.641-4.72,9.347-7.145,13.986c-1.756,3.359-3.688,6.626-5.428,9.993+ c-0.897,1.735-2.081,3.292-2.915,5.055C283.37,496.863,279.11,496.858,274.851,496.853z"/>+ <path style="fill:#D8DAE0;" d="M441.884,393.432c1.31,1.991,0.246,3.644-0.69,5.372c-1.444,2.666-2.793,5.383-4.172,8.083+ c-0.157,0.308-0.489,0.634-0.284,0.987c0.246,0.426,0.734,0.265,1.091,0.185c1.136-0.256,0.673,0.382,0.464,0.815+ c-1.546,3.196-3.275,6.296-5.048,9.369c-3.045,5.277-6.11,10.543-9.212,15.787c-2.25,3.804-4.561,7.572-6.875,11.337+ c-0.275,0.447-0.444,1.063-1.109,1.169c-0.01-6.735-0.02-13.469-0.03-20.204c0.79-1.425,1.548-2.869,2.377-4.271+ c2.29-3.874,4.57-7.755,6.951-11.572c0.424-0.679,0.526-1.183,0.23-1.848c0.22-0.059,0.577,0.005,0.604-0.255+ c0.034-0.322-0.312-0.269-0.533-0.277c-0.828-0.031-1.656-0.052-2.484-0.076c0.34-1.319,1.074-2.454,1.712-3.633+ c1.203-2.223,2.316-4.487,3.159-6.875c1.714,0.005,3.438-0.105,5.139,0.047c1.734,0.155,3.057-0.505,4.366-1.497+ C438.891,395.048,440.255,394.015,441.884,393.432z"/>+ <path style="fill:#BDBEC3;" d="M321.367,456.108c0.594,3.083,1.904,5.887,2.216,9.308c0.814,2.871,0.886,6.131,1.285,9.091+ c0.291,2.162,0.487,4.337,0.762,6.502c0.089,0.703-0.417,0.685-0.812,0.75c-1.087,0.179-2.036,0.588-2.891,1.31+ c-1.366,1.154-1.308,2.766-1.418,4.285c-0.074,1.027-0.41,1.824-1.088,2.561c-1.082,1.176-2.106,2.402-2.588,3.974+ c-0.143,0.468-0.48,0.712-0.939,0.822c-3.638,0.865-7.269,1.763-11.065,1.47c-1.755-0.135-3.493,0.08-5.21,0.457+ c-0.031-0.287,0.008-0.549,0.211-0.78c1.806-2.058,3.004-4.501,4.213-6.913c5.093-10.154,10.161-20.32,15.556-30.318+ C319.987,457.909,320.67,456.632,321.367,456.108z"/>+ <path style="fill:#BDBEC3;" d="M287.629,496.868c0.835-1.763,2.019-3.32,2.915-5.055c1.74-3.367,3.672-6.634,5.428-9.993+ c2.426-4.639,4.724-9.345,7.145-13.986c3.657-7.009,7.376-13.987,11.058-20.983c0.163-0.31,0.226-0.673,0.336-1.011+ c1.529,0.228,3.054,0.487,4.588,0.667c0.645,0.075,0.934,0.32,0.902,0.97c-0.04,0.791,0.384,1.551,0.173,2.358+ c-0.467,0.073-0.612,0.461-0.801,0.813c-2.884,5.371-5.825,10.713-8.642,16.119c-3.687,7.074-7.275,14.2-10.91,21.301+ c-0.236,0.46-0.523,0.895-0.752,1.358c-1.217,2.462-2.654,4.818-3.585,7.417C292.866,496.851,290.248,496.86,287.629,496.868z"/>+ <path style="fill:#D8DAE0;" d="M593.64,377.454c-0.018,0.24-0.041,0.467,0.231,0.614c1.597,0.86,1.905,2.17,0.682,3.489+ c-2.656,2.863-5.283,5.763-8.396,8.155c-0.745,0.573-1.546,1.226-2.08-0.284c-0.133-0.375-0.592-0.256-0.966-0.198+ c-0.991,0.153-1.931,0.415-2.811,0.917c-0.82,0.468-1.501,0.313-2.404-0.165c-1.809-0.957-3.782-1.522-5.801-0.283+ c-1.008,0.619-2.203,1.575-3.285,1.044c-1.084-0.532-2.241,0.577-3.152-0.458c-0.081-0.092-0.64,0.198-0.952,0.359+ c-0.496,0.255-0.891,0.035-1.164-0.307c-0.328-0.41,0.122-0.66,0.366-0.87c3.034-2.609,5.704-5.592,8.589-8.354+ c0.544-0.52,1.168-0.959,2.02-0.858c0.508,0.06,0.939-0.201,1.279-0.554c0.38-0.395,0.883-0.541,1.314-0.359+ c0.85,0.358,1.334-0.041,1.844-0.609c0.369-0.411,0.81-0.757,1.219-1.133c0.237-0.269,0.473-0.261,0.708,0.002+ c0.476,0.498,0.956,0.812,1.452,0.022C586.102,377.566,589.871,377.51,593.64,377.454z"/>+ <path style="fill:#BDBEC3;" d="M285.684,497.842c1.268-0.21,2.545-0.239,3.825-0.193c0.093,0.446-0.186,0.746-0.406,1.08+ c-1.949,2.958-3.901,5.913-5.83,8.884c-1.277,1.968-2.701,3.849-3.626,6.03c-3.274,0.013-6.549,0.017-9.823,0.049+ c-0.627,0.006-0.945-0.128-0.942-0.853c0.022-4.792,0.017-9.585-0.002-14.377c-0.002-0.623,0.22-0.84,0.838-0.836+ c4.991,0.033,9.983,0.043,14.974,0.06C284.941,498.263,285.285,498.226,285.684,497.842z"/>+ <path style="fill:#BDBEC3;" d="M404.968,397.343c3.078,0,6.155,0.029,9.232-0.018c0.855-0.013,1.085,0.269,1.072,1.094+ c-0.044,2.877-0.048,5.756,0,8.632c0.015,0.868-0.298,1.066-1.107,1.062c-5.835-0.028-11.671-0.03-17.506,0.006+ c-0.758,0.005-1.142-0.263-1.214-0.956c-0.318-3.049-0.61-6.1-0.914-9.15c-0.081-0.811,0.522-0.663,0.964-0.665+ C398.653,397.337,401.81,397.343,404.968,397.343z"/>+ <path style="fill:#D8DAE0;" d="M295.484,496.843c0.931-2.6,2.369-4.955,3.585-7.417c0.229-0.463,0.517-0.898,0.752-1.358+ c3.635-7.102,7.223-14.227,10.91-21.301c2.817-5.406,5.758-10.748,8.642-16.119c0.189-0.352,0.423-1.56,0.89-1.634+ c0.266,2.247,0.761,4.446,1.027,6.693c-0.291,1.374-1.304,2.203-1.693,2.923c-5.395,9.998-10.464,20.164-15.556,30.318+ c-1.21,2.412-2.407,4.854-4.213,6.913c-0.202,0.231-0.242,0.493-0.211,0.78C298.262,497.154,296.866,496.845,295.484,496.843z"/>+ <path style="fill:#D8DAE0;" d="M279.648,513.643c0.925-2.181,2.349-4.062,3.626-6.03c1.928-2.971,3.881-5.926,5.83-8.884+ c0.22-0.334,0.499-0.633,0.406-1.08c2.11-0.006,4.221-0.018,6.331-0.012c0.258,0.001,0.612-0.133,0.748,0.193+ c0.134,0.322-0.199,0.487-0.383,0.669c-1.103,1.087-1.792,2.359-2.163,3.89c-0.373,1.536-0.062,2.817,0.84,4.029+ c0.213,0.287,0.466,0.553,0.436,0.951c-1.38,2.032-2.847,4.01-3.84,6.278C287.535,513.646,283.591,513.644,279.648,513.643z"/>+ <path style="fill:#BDBEC3;" d="M428.034,397.524c-0.843,2.388-1.956,4.652-3.159,6.875c-0.638,1.179-1.372,2.314-1.712,3.633+ c-2.116,0.021-4.232,0.035-6.348,0.07c-0.525,0.009-0.781-0.133-0.833-0.723c-0.271-3.09-0.171-6.185-0.171-9.279+ c0-0.757,0.635-0.575,1.075-0.576C420.603,397.515,424.318,397.522,428.034,397.524z"/>+ <path style="fill:#BDBEC3;" d="M425.576,408.642c0.297,0.664,0.194,1.168-0.23,1.848c-2.381,3.818-4.662,7.698-6.951,11.572+ c-0.829,1.402-1.587,2.846-2.377,4.271c-0.005-5.496,0.005-10.991-0.032-16.487c-0.006-0.923,0.276-1.275,1.229-1.255+ C420.001,408.648,422.789,408.63,425.576,408.642z"/>+ <path style="fill:#BDBEC3;" d="M291.478,513.648c0.993-2.268,2.46-4.246,3.84-6.278c1.634,0.367,2.844,1.532,4.265,2.299+ c0.388,0.21,0.736,0.455,1.187,0.486c-0.192,1.289-1.172,2.19-1.647,3.34C296.581,513.847,294.028,513.646,291.478,513.648z"/>+ <path style="fill:#D8DAE0;" d="M299.124,513.495c0.476-1.15,1.456-2.05,1.647-3.34c1.311,0.753,2.914,0.853,4.119,1.842+ c-0.204,0.585-0.947,0.812-0.999,1.498C302.302,513.824,300.713,513.83,299.124,513.495z"/>+ <path style="fill:#D8DAE0;" d="M697.569,375.314c-0.359,1.418-0.172,3.087-1.806,3.918c-0.507,0.258-1.063,0.552-1.563,0.14+ c-0.491-0.404-0.015-0.888,0.117-1.303c0.298-0.939,0.669-1.855,1.01-2.78C696.075,375.21,696.823,375.19,697.569,375.314z"/>+ <path style="fill:#BDBEC3;" d="M303.891,513.495c0.052-0.687,0.795-0.913,0.999-1.498c1.078,0.255,2.156,0.511,3.235,0.763+ c0.265,0.062,0.608,0.058,0.526,0.468c-0.062,0.307-0.357,0.27-0.584,0.27C306.674,513.503,305.283,513.497,303.891,513.495z"/>+ <path style="fill:#B7BFC6;" d="M582.332,377.623c-0.496,0.79-0.975,0.475-1.452-0.022+ C581.365,377.608,581.849,377.615,582.332,377.623z"/>+ <path style="fill:#D1DBE3;" d="M285.684,497.842c-0.399,0.383-0.743,0.42-0.991-0.156+ C285.039,497.643,285.394,497.533,285.684,497.842z"/>+ <path style="fill:#D8DAE0;" d="M611.113,513.936c-0.069-0.788,0.562-1.227,0.963-1.724c3.638-4.514,6.766-9.349,9.338-14.544+ c0.133-0.268,0.429-0.582,0.112-0.865c-0.326-0.291-0.581,0.028-0.814,0.236c-0.377,0.336-0.699,0.542-1.014-0.098+ c-0.225-0.457-0.714-0.261-1.087-0.264c-2.319-0.016-4.637-0.005-6.956-0.012c-0.224-0.001-0.519,0.09-0.635-0.191+ c-0.113-0.273,0.153-0.419,0.3-0.594c4.014-4.793,7.703-9.839,11.421-14.858c5.425-7.323,10.893-14.611,16.545-21.76+ c1.875-2.372,3.699-4.783,5.548-7.176c0.073-0.095,0.146-0.192,0.235-0.271c0.264-0.234,0.485-0.715,0.825-0.616+ c0.497,0.145,0.249,0.688,0.254,1.05c0.024,1.839-0.019,3.678,0.02,5.516c0.028,1.31-0.034,2.549-1.12,3.504+ c-0.242,0.213-0.349,0.579-0.566,0.957c0.687,0.095,0.827-0.589,1.467-0.673c-0.208,2.53,0.265,4.996,0.199,7.487+ c-0.029,1.085-0.977,1.627-1.554,2.345c-3.925,4.882-7.339,10.122-10.895,15.266c-1.969,2.848-3.836,5.768-5.962,8.508+ c-0.714,0.92-1.383,1.776-2.854,1.483c0.55,1.002,1.23,1.282,2.213,1.165c1.522-0.181,3.033-0.704,4.596-0.205+ c0.464,0.148,0.817-0.149,1.174-0.441c0.479-0.391,1.119-0.445,1.538-0.034c0.457,0.45-0.085,0.853-0.357,1.212+ c-2.989,3.934-5.717,8.052-8.559,12.091c-0.941,1.337-1.717,2.818-3.326,3.518C618.48,513.945,614.797,513.941,611.113,513.936z"+ />+ <path style="fill:#D8DAE0;" d="M673.991,513.933c0.099-2.669,0.698-5.274,1.038-7.913c0.457-3.542,1.04-7.068,1.612-10.594+ c0.712-4.391,1.417-8.784,2.218-13.159c1.216-6.64,2.534-13.262,3.768-19.899c1.51-8.128,3.196-16.219,4.953-24.296+ c2.238-10.291,4.28-20.622,6.382-30.942c1.055-5.18,1.912-10.39,2.78-15.598c0.594-3.563,1.009-7.158,1.257-10.766+ c0.028-0.414,0.109-0.795,0.338-1.129c0.204-0.297,0.443-0.613,0.869-0.507c0.374,0.093,0.626,0.368,0.692,0.75+ c0.107,0.626,0.238,1.257,0.255,1.888c0.158,5.791-0.597,11.503-1.357,17.23c-1.419,10.688-3.758,21.2-5.888,31.75+ c-1.722,8.53-3.638,17.023-5.326,25.562c-1.394,7.054-2.819,14.101-4.009,21.194c-0.854,5.09-1.901,10.148-2.764,15.236+ c-0.744,4.383-1.478,8.77-2.024,13.186c-0.331,2.678-0.777,5.342-1.172,8.012C676.406,513.936,675.199,513.934,673.991,513.933z"+ />+ <path style="fill:#B7BFC6;" d="M529.928,448.06c0.022-1.007,0.421-1.858,0.755-2.736c0.69-1.814,0.11-2.721-1.866-2.87+ c1.933-2.787,3.841-5.539,5.971-8.611c-0.114,1.296,0.22,1.97,1.117,2.32c0.471,0.184,0.186,0.526,0.066,0.797+ c-0.983,2.217-2.026,4.41-2.942,6.655C532.322,445.351,530.639,446.34,529.928,448.06z"/>+ <path style="fill:#FEFEFE;" d="M503.211,387.826c-0.586,0.187-1.166,0.398-1.76,0.551c-0.309,0.079-0.556-0.114-0.614-0.422+ c-0.077-0.413,0.241-0.431,0.529-0.434c0.59-0.005,1.179-0.001,1.769-0.001C503.16,387.622,503.186,387.724,503.211,387.826z"/>+ </g>+</g>+<g id="Layer_12">+ <g>+ <g>+ <path style="fill:#C8C5E2;" d="M586.696,100.822c-0.168,3.688,0.869,6.936,3.625,9.486c1.882,1.741,4.316,2.383,6.716,2.922+ c5.17,1.16,9.774-0.265,13.906-3.422c1.912-1.46,3.584-3.159,4.845-5.23c0.378-0.62,0.795-0.802,1.447-0.266+ c2.026,1.666,4.128,3.234,6.119,4.95c3.217,2.773,5.651,6.118,7.667,9.816c2.196,4.027,3.165,8.248,2.538,12.862+ c-0.456,3.359-1.099,6.588-3.139,9.403c-0.452,0.623-0.819,0.828-1.568,0.545c-4.775-1.8-9.77-2.374-14.827-2.706+ c-6.892-0.453-13.484,0.629-19.667,3.713c-3.566,1.778-6.89,3.986-9.914,6.609c-0.717,0.622-1.58,1.095-2.07,1.958+ c-0.822,0.182-0.985-0.138-0.983-0.96c0.031-16.24,0.031-32.48,0-48.72c-0.002-0.822,0.155-1.034,0.985-0.984+ C583.812,100.885,585.256,100.822,586.696,100.822z"/>+ <path style="fill:#C8C5E2;" d="M663.271,122.438c-0.499,0.05-0.904-0.241-1.148-0.688c-1.969-3.611-4.635-7.664-7.181-10.894+ c-2.318-2.941-4.335-5.541-7.006-8.169c-0.393-0.386-1.896-1.273-1.812-1.938c5.12,0,11.291,0.084,16.411,0.056+ c0.6-0.003,0.738,0.136,0.736,0.736C663.247,108.182,663.271,115.797,663.271,122.438z"/>+ </g>+ <g>+ <path style="fill:#FFFFFF;" d="M572.243,141.5c1.538-0.663,3.076-1.327,4.837-2.086c-1.852,0-3.51,0-5.23,0+ c0-1.214,0-2.274,0-3.473c1.767,0,3.504,0,5.406,0c-0.325-2.255,1.12-2.745,2.542-2.905c-0.248-1.064-0.464-2.053-0.718-3.033+ c-0.067-0.258-0.235-0.494-0.38-0.725c-1.053-1.687-0.647-3.322,0.995-4.446c0.715-0.489,1.292-1.18,1.828-1.914+ c-2.089,0.337-4.205,0.479-5.636,2.286c-0.144,0.182-0.55,0.381-0.671,0.307c-0.23-0.141-0.467-0.467-0.483-0.73+ c-0.07-1.187,0.674-1.917,1.585-2.492c2.224-1.403,4.73-1.897,7.291-2.14c6.572-0.624,12.509,0.975,17.74,5.088+ c0.353,0.277,1.038,0.282,1.535,0.202c4.965-0.805,9.875-0.857,14.655,0.973c2.335,0.894,4.621,1.992,6.144,4.022+ c1.004,1.337,1.755,2.934,2.305,4.524c0.572,1.652-0.386,3.42-1.98,4.15c-0.306,0.14-0.771-0.112-1.163-0.111+ c-2.238,0.007-4.477,0.021-6.715,0.079c-0.227,0.006-0.586,0.274-0.648,0.488c-0.381,1.316-1.364,1.524-2.527,1.521+ c-7.675-0.022-15.35-0.032-23.025-0.045c-1.599-0.003-3.198,0.02-4.797-0.008c-1.804-0.031-3.497,0.165-5.243,0.864+ c-2.398,0.959-4.98,0.86-7.478,0.187C572.357,141.889,572.3,141.694,572.243,141.5z"/>+ <path style="fill:#FFFFFF;" d="M668.284,105.695c4.594,0.348,9.137-0.109,13.41,1.487c0.022,0.158,0.044,0.316,0.066,0.474+ c-0.55,0.231-1.083,0.589-1.655,0.67c-2.133,0.301-4.28,0.728-6.42,0.719c-10.509-0.043-21.017-0.208-31.526-0.343+ c-0.389-0.005-0.883-0.029-1.139-0.257c-0.371-0.331-0.783-0.864-0.768-1.296c0.011-0.308,0.668-0.789,1.086-0.848+ c1.182-0.168,2.397-0.096,3.581-0.254c0.39-0.052,0.823-0.451,1.066-0.807c0.489-0.72,0.738-1.629,1.303-2.268+ c2.572-2.911,5.845-5.014,9.636-5.322c3.285-0.267,6.66,0.619,9.32,2.981C667.727,101.947,668.529,103.582,668.284,105.695z"/>+ </g>+ </g>+</g>+<g id="Layer_7">+ <g>+ <g>+ <path style="fill:#D0A494;" d="M565.995,151.18c0.01-13.879,0.018-27.758,0.03-41.637c0.004-4.92,0.005-9.84,0.037-14.759+ c0.012-1.826,0.355-3.644-0.066-5.478c-0.167-0.729,0.384-1.314,1.066-1.351c1.506-0.081,3.043-0.679,4.534,0.206+ c0.337,0.2,0.857,0.123,1.293,0.123c11.84-0.005,23.681,0.088,35.519-0.05c22.877-0.267,45.753-0.042,68.629-0.136+ c0.746-0.003,1.462,0.044,2.188-0.389c0.777-0.464,1.717,0.172,1.746,1.173c0.105,3.59,0.698,7.149,0.646,10.744+ c-0.013,0.882,0.22,1.177,1.138,1.168c5.439-0.053,10.881,0.026,16.319-0.076c14.276-0.267,28.553-0.155,42.83-0.119+ c2.667,0.007,5.316,0.629,8.003,0.383c1.906-0.174,3.837-0.096,5.718-0.512c0.617-0.137,1.319-0.264,1.663,0.273+ c0.39,0.61,0.661,1.448,0.306,2.145c-0.298,0.585-0.31,1.137-0.309,1.728c0.007,4.28,0.019,8.56,0.029,12.84+ c0.001,0.379,0,0.758,0.123,1.165c1.659-2.566,3.333-5.075,4.669-7.788c1.238-2.513,2.593-4.96,4.205-7.255+ c0.721-1.027,1.592-1.895,2.808-2.347c1.337-0.496,2.271-0.074,3.018,1.124c0.842,1.352,0.874,2.647,0.284,4.093+ c-2.445,5.998-4.852,12.027-8.26,17.552c-2.478,4.017-4.367,8.322-6.614,12.448c-0.243,0.447-0.222,0.923-0.222,1.403+ c0.001,16.679-0.003,33.359,0.013,50.038c0.001,1.356,0.186,2.71,0.209,4.067c0.028,1.607-0.681,2.137-2.272,1.809+ c-0.312-0.064-0.636-0.141-0.948-0.119c-5.396,0.39-10.787-0.204-16.188-0.031c-5.394,0.173-10.798,0.024-16.198,0.017+ c-5.44-0.007-10.882,0.07-16.319-0.04c-7.715-0.156-15.431-0.154-23.146-0.191c-0.335-0.002-0.795-0.185-0.935,0.277+ c-0.135,0.446-0.171,0.912,0.168,1.36c1.258,1.66,0.834,2.835-1.218,3.364c-1.387,0.358-2.837,0.418-4.199,0.932+ c-0.386,0.146-0.579,0.236-0.652,0.671c-0.218,1.29-1.16,1.723-2.334,1.817c-0.874,0.07-1.752-0.009-2.629,0.151+ c-0.636,0.117-1.242,0.174-1.738,0.669c-0.247,0.246-0.632,0.397-1,0.327c-1.395-0.265-2.168,0.559-2.834,1.577+ c-0.419,0.641-0.995,1.012-1.754,1.133c-0.44,0.07-0.946,0.025-1.371,0.628c1.339,0.194,2.568,0.057,3.758,0.304+ c0.743,0.154,1.511,0.213,2.176,0.607c0.802,0.475,0.802,0.957-0.023,1.378c-1.127,0.575-2.358,0.704-3.609,0.702+ c-8.64-0.011-17.28-0.019-25.92-0.025c-0.439,0-0.878,0.024-1.316,0.037c-1.629-0.046-3.249-0.177-4.889-0.138+ c-3.073,0.073-6.151-0.068-9.227-0.102c-0.785-0.009-1.36-0.282-1.438-1.11c-0.078-0.829,0.56-1.073,1.214-1.218+ c0.308-0.068,0.634-0.071,0.952-0.072c0.484-0.001,0.706-0.093,0.597-0.696c-0.26-1.439,0.112-2.224,1.546-2.647+ c1.328-0.391,0.577-1.255,0.642-1.909c0.083-0.822-0.623-0.521-1.032-0.566c-1.287-0.14-2.16-0.82-2.234-1.783+ c-0.072-0.946,0.713-1.709,2.047-1.957c0.391-0.072,0.794-0.082,1.192-0.11c0.843-0.059,2.004,0.344,1.31-1.372+ c-0.335-0.828,0.384-1.505,1.291-1.677c0.465-0.088,0.956-0.054,1.435-0.054c10.317-0.002,20.634-0.013,30.951,0.017+ c0.916,0.003,1.336-0.161,1.425-1.188c0.144-1.669,0.39-3.328,0.39-5.009c-0.006-28.591-0.016-57.183,0.01-85.774+ c0.001-1.08-0.41-1.216-1.329-1.214c-13.276,0.02-26.554,0.137-39.828-0.032c-13.193-0.168-26.385-0.01-39.577-0.161+ c-1.018-0.012-1.456,0.135-1.458,1.334c-0.035,18.307-0.123,36.614-0.208,54.921c-0.005,1.194-0.055,2.404-1.688,2.53+ c-0.471,0.037-0.396,0.404-0.456,0.705c-0.211,1.055-0.416,2.111-0.655,3.159c-0.323,1.417-1.959,2.549-3.395,1.248+ c-0.594-0.538-0.727-0.172-0.721,0.401c0.011,1.08,0.013,2.16,0.043,3.239c0.022,0.789-0.204,1.461-0.971,1.757+ c-0.509,0.196-0.48,0.542-0.512,0.945c-0.076,0.958-0.593,1.668-1.552,1.663c-0.957-0.005-1.451-0.725-1.562-1.673+ c-0.06-0.514-0.201-1.027-0.196-1.539c0.006-0.757-0.064-1.265-1.055-1.281c-0.729-0.012-1.07-0.712-1.107-1.376+ c-0.122-2.188-0.643-4.35-0.528-6.546C566.63,157.055,566.007,154.136,565.995,151.18z M719.958,183.155c0-0.028,0-0.057,0-0.085+ c8.599,0,17.198-0.001,25.796,0.001c1.648,0,1.65,0.006,1.65-1.6c-0.001-19.664-0.003-39.328-0.005-58.993+ c0-3.393,0-6.786,0-10.179c0-1.663,0-1.659-1.608-1.473c-0.277,0.032-0.559,0.027-0.839,0.025+ c-9.229-0.072-18.458-0.023-27.688-0.152c-11.516-0.16-23.036-0.045-34.555-0.08c-0.861-0.003-1.063,0.285-1.069,1.099+ c-0.033,4.675-0.12,9.353-0.132,14.024c-0.052,18.826-0.181,37.654,0.113,56.48c0.014,0.928,0.302,1.188,1.175,1.102+ c3.783-0.371,7.578-0.071,11.367-0.128C702.76,183.067,711.36,183.155,719.958,183.155z"/>+ </g>+ </g>+</g>+<g id="Layer_8">+ <g>+ <g>+ <path style="fill:#B9897B;" d="M719.378,191.956c-3.394,0.194-7.628-0.077-11.853-0.28c-7.081-0.341-14.146-0.93-21.19-1.802+ c-6.191-0.766-12.297-1.885-18.256-3.724c-2.553-0.788-5.093-1.664-7.272-3.302c-0.385-0.289-0.912-0.607-0.624-1.138+ c0.343-0.634,0.847-0.124,1.238,0.055c5.566,2.556,11.525,3.586,17.51,4.482c6.312,0.945,12.675,1.33,19.042,1.723+ c10.946,0.676,21.896,0.475,32.845,0.362c4.864-0.051,9.726-0.411,14.585-0.691c3.818-0.22,7.632-0.524,11.445-0.821+ c0.464-0.036,0.694,0.037,0.692,0.522c0,0.08,0.005,0.16,0.004,0.24c-0.016,0.798,0.192,1.696-0.107,2.369+ c-0.353,0.793-1.369,0.299-2.077,0.418c-1.409,0.238-2.85,0.305-4.281,0.383c-3.465,0.19-6.933,0.309-10.396,0.523+ C733.869,191.694,727.051,191.99,719.378,191.956z"/>+ <path style="fill:#B9897B;" d="M668.713,193.457c0.81-0.034,1.618-0.043,2.407,0.193c0.444,0.566,1.225-0.047,1.679,0.482+ c-2.284,1.69-4.784,3.031-7.297,4.321c-6.678,3.428-13.403,6.769-20.599,9.015c-4.35,1.358-8.797,2.19-13.349,2.556+ c-2.156,0.173-4.304,0.156-6.457,0.205c-0.335,0.008-0.818,0.158-0.938-0.292c-0.134-0.504,0.368-0.641,0.711-0.817+ c1.307-0.67,2.761-0.796,4.17-0.994c7.411-1.039,14.409-3.412,21.227-6.403c5.523-2.424,10.957-5.03,16.262-7.901+ c0.54-0.292,1.081-0.516,1.709-0.415C668.376,193.64,668.529,193.694,668.713,193.457z"/>+ <path style="fill:#B9897B;" d="M602.821,212.359c3.145-1.851,6.311-3.469,9.641-4.765c6.956-2.707,13.942-5.344,20.846-8.179+ c4.761-1.955,9.536-3.931,13.893-6.734c1.721-1.107,3.334-2.364,4.339-4.211c0.175-0.323,0.793-0.795-0.091-1.11+ c-0.242-0.086-0.186-0.366,0.022-0.459c0.489-0.22,1.002-0.642,1.538-0.153c0.513,0.468,0.657,1.043,0.416,1.741+ c-0.755,2.183-2.102,3.931-3.872,5.371c-4.297,3.495-9.295,5.759-14.3,7.97c-6.868,3.034-13.923,5.605-21,8.108+ c-3.587,1.269-7.319,1.896-11.046,2.549C603.115,212.503,603.005,212.423,602.821,212.359z"/>+ <path style="fill:#B9897B;" d="M581.126,131.983c0.238,2.278,0.482,4.56-0.058,6.717c-0.576,2.299-1.782,4.392-3.939,5.636+ c-1.567,0.904-3.43,0.09-4.493-1.784c-1.326-2.336-1.837-4.928-2.272-7.524c-0.77-4.597-1.185-9.235-1.485-13.888+ c-0.433-6.724-0.755-13.45-1.022-20.183c-0.159-4.002,0.289-7.973,0.109-11.959c-0.029-0.642,0.25-0.936,0.926-0.94+ c0.739-0.004,0.709,0.453,0.708,0.957c-0.008,3.038-0.025,6.077-0.01,9.115c0.026,5.506,0.456,10.997,0.772,16.489+ c0.3,5.208,0.643,10.423,1.393,15.594c0.447,3.081,0.988,6.143,2.201,9.038c0.185,0.441,0.398,0.874,0.637,1.288+ c0.801,1.386,1.346,1.426,2.22,0.11c1.175-1.77,1.999-3.728,2.897-5.644C580.182,133.998,580.654,132.99,581.126,131.983z"/>+ <path style="fill:#B9897B;" d="M581.572,145.922c0,1.435-0.186,2.869-0.18,4.304c0.002,0.494,0.5,0.973,0.257,1.376+ c-1.113,1.841-2.137,3.748-3.74,5.243c-1.685,1.571-3.939,1.363-5.283-0.499c-1.796-2.488-2.535-5.402-3.271-8.298+ c-1.403-5.519-1.974-11.135-1.729-16.83c0.056-1.289-0.179-2.477-0.783-3.68c-0.725-1.444-0.446-3.14-0.563-4.717+ c-0.27-3.621-0.359-7.255-0.294-10.891c0.039-2.156,0.192-4.298,0.481-6.433c0.037-0.274,0.111-0.546,0.189-0.812+ c0.088-0.3,0.139-0.702,0.558-0.655c0.409,0.046,0.398,0.438,0.411,0.755c0.069,1.633,0.176,3.266,0.189,4.899+ c0.033,4.152-0.06,8.311,0.327,12.448c0.385,4.117,0.933,8.218,1.368,12.331c0.469,4.439,1.116,8.846,2.207,13.177+ c0.517,2.052,1.123,4.084,2.157,5.95c1.015,1.833,1.8,1.883,3.02,0.172c1.67-2.343,2.519-4.881,4.023-7.329+ c0.12-0.195,0.125-0.384,0.25-0.576C581.236,145.879,581.572,145.922,581.572,145.922z"/>+ <path style="fill:#B9897B;" d="M577.25,128.678c1.62-2.162,2.735-4.485,3.889-6.801c1.029,3.1,0.182,6.598-2.094,8.695+ c-1.423,1.311-3.013,1.119-3.997-0.546c-1.141-1.932-1.407-4.14-1.796-6.289c-0.817-4.511-1.19-9.073-1.516-13.644+ c-0.495-6.938-0.491-13.88-0.417-20.826c0.006-0.568-0.176-1.227,0.824-1.219c0.763,0.006,1.054,0.204,1.047,1.011+ c-0.032,3.356-0.049,6.713,0.01,10.069c0.156,8.932,0.895,17.807,2.856,26.546C576.28,126.672,576.53,127.676,577.25,128.678z"/>+ <path style="fill:#B9897B;" d="M682.1,138.77c0.037,0.303,0.041,0.343,0.047,0.382c0.577,3.413-0.748,6.16-2.806,8.784+ c-2.009,2.56-3.864,5.243-5.949,7.711c-0.331-0.137-0.296-0.352-0.303-0.544c-0.071-1.955-0.075-1.89-1.974-2.02+ c-4.083-0.279-8.04-1.176-11.83-2.726c-0.831-0.34-1.907-0.885-1.674-1.892c0.248-1.068,1.454-1.139,2.423-1.066+ c1.548,0.117,3.072,0.423,4.586,0.779c2.248,0.529,4.5,1.043,6.827,1.131c0.584,0.022,1.332,0.077,1.706,0.432+ c1.03,0.976,1.356,0.154,1.866-0.511C677.54,145.942,679.854,142.513,682.1,138.77z"/>+ <path style="fill:#B9897B;" d="M682.16,115.76c0,3.398,0.112,6.802-0.048,10.193c-0.079,1.676-1.14,3.131-1.916,4.608+ c-1.895,3.609-3.94,7.13-6.482,10.337c-0.169,0.213-0.369,0.402-0.615,0.668c-0.509-0.708-0.052-1.361-0.039-1.98+ c0.02-0.914-0.182-1.279-1.225-1.408c-3.407-0.421-6.788-1.035-9.855-2.726c-0.245-0.135-0.512-0.241-0.733-0.408+ c-0.485-0.366-1.065-0.829-0.8-1.459c0.335-0.794,0.995-0.199,1.445-0.034c3.39,1.246,6.929,1.824,10.464,2.435+ c0.52,0.09,0.845-0.068,1.097-0.494C677.137,129.267,680.71,122.993,682.16,115.76z"/>+ <path style="fill:#B9897B;" d="M708.597,110.7c-0.996-0.262-1.991,0.413-2.359-0.681c-0.361-1.07,0.149-1.978,0.997-2.624+ c1.32-1.007,2.847-1.599,4.442-2.027c4.065-1.092,8.2-1.547,12.406-1.768c4.783-0.252,9.486,0.048,14.143,1.063+ c2.294,0.5,4.604,1.064,6.507,2.584c0.815,0.651,1.348,1.461,1.269,2.567c-0.037,0.52-0.264,0.911-0.818,0.746+ c-0.77-0.23-1.567-0.084-2.39-0.215c0.983-1.039,0.952-1.318-0.324-1.984c-2.436-1.272-5.094-1.85-7.774-2.288+ c-3.311-0.541-6.656-0.821-10.01-0.699c-4.87,0.177-9.712,0.622-14.349,2.289c-0.599,0.215-1.194,0.466-1.749,0.776+ C707.4,109.102,707.364,109.52,708.597,110.7z"/>+ <path style="fill:#B9897B;" d="M689.859,102.217c-3.513,0.696-7.04,1.351-10.317,2.882c-0.612,0.286-1.144,0.714-1.637,1.194+ c-0.896,0.873-1.072,1.816-0.449,2.917c0.432,0.762,0.789,1.522-0.585,1.688c-0.396,0.048-0.439,0.399-0.483,0.728+ c-0.326,2.446-1.267,4.68-2.373,6.858c-0.107,0.21-0.223,0.431-0.26,0.659c-0.154,0.945-0.661,1.039-1.55,0.919+ c-2.33-0.313-4.49-1.031-6.523-2.197c-1.95-1.119-1.96-1.101-1.643-3.563c1.016,0.475,2.065,0.855,2.997,1.425+ c1.836,1.122,3.966,1.44,5.898,2.286c0.268,0.117,0.711,0.093,0.478-0.319c-0.69-1.213-0.02-2.315,0.177-3.447+ c0.078-0.446,0.125-0.788-0.084-1.237c-0.58-1.244,0.164-2.48,1.543-2.617c0.554-0.055,0.676-0.169,0.449-0.728+ c-0.95-2.34-0.338-4.221,1.908-5.739c2.465-1.667,5.281-2.396,8.171-2.879c1.1-0.184,2.21-0.338,3.332-0.207+ c0.839,0.098,1.372,0.423,0.937,1.39L689.859,102.217z"/>+ <path style="fill:#B9897B;" d="M584.965,162.967c-0.211,1.636-0.996,2.86-1.916,4.01c-1.327,1.658-2.745,3.216-4.697,4.168+ c-2.53,1.234-5.179,0.581-6.922-1.662c-2.194-2.823-3.082-6.188-3.93-9.552c-1.167-4.632-1.297-8.326-0.663-14.369+ c0.907,6.057,1.938,11.934,3.975,17.575c0.663,1.837,1.379,3.661,2.875,5.047c1.234,1.144,2.436,1.298,3.901,0.419+ c1.998-1.198,3.575-2.929,5.44-4.293C583.662,163.846,584.318,163.414,584.965,162.967z"/>+ <path style="fill:#B9897B;" d="M731.359,110.618c-5.612,0-11.224,0.006-16.836-0.014c-0.378-0.001-0.991,0.288-1.098-0.34+ c-0.085-0.498,0.492-0.633,0.823-0.906c2.655-2.19,5.865-2.216,9.036-2.295c2.952-0.074,5.907-0.044,8.86-0.008+ c1.639,0.02,3.234,0.376,4.805,0.843c0.519,0.154,0.932,0.43,1.28,0.834c0.317,0.367,0.4,0.786,0.245,1.228+ c-0.169,0.482-0.607,0.439-1.008,0.439c-2.036,0-4.071,0-6.107,0C731.359,110.472,731.359,110.545,731.359,110.618z"/>+ <path style="fill:#B9897B;" d="M578.003,97.184c-0.045,4.672-0.158,9.356,0.733,13.971c0.366,1.894,0.605,3.898,2.378,5.181+ c0.308,0.223,0.408,2.343,0.115,2.511c-0.736,0.423-1.387,0.067-1.956-0.4c-1.912-1.568-2.371-3.783-2.708-6.07+ c-0.544-3.682-0.598-7.408-0.59-11.098c0.008-3.94-0.081-7.906,0.399-11.84c0.029-0.236,0.144-0.465,0.153-0.7+ c0.025-0.614,0.4-0.686,0.896-0.668c0.593,0.021,0.581,0.417,0.581,0.835C578.002,91.666,578.003,94.425,578.003,97.184z"/>+ <path style="fill:#B9897B;" d="M655.283,88.006c7.513-0.552,13.915,1.635,18.803,7.505c1.107,1.329,1.769,2.918,2.208,4.6+ c0.169,0.647-0.018,0.831-0.666,0.892c-1.13,0.106-1.863-0.11-2.434-1.292c-1.92-3.977-5.359-6.306-9.242-8.107+ c-2.498-1.159-5.03-2.224-7.638-3.111C655.957,88.37,655.626,88.17,655.283,88.006z"/>+ <path style="fill:#B9897B;" d="M734.235,101.064c2.95,0.052,5.947-0.452,8.839,0.241c3.089,0.74,5.952,2.085,8.241,4.415+ c2.251,2.291,2.198,4.709-0.195,6.844c-0.808,0.721-1.741,1.269-2.722,1.73c-0.69,0.324-0.932,0.096-0.915-0.647+ c0.013-0.562,0.157-1.001,0.589-1.37c0.425-0.363,0.82-0.762,1.214-1.16c1.518-1.53,1.43-2.831-0.294-4.206+ c-2.36-1.882-5.135-2.883-7.98-3.731c-2.219-0.661-4.52-0.943-6.772-1.454C733.941,101.509,733.857,101.289,734.235,101.064z"/>+ <path style="fill:#B9897B;" d="M669.446,161.985c-5.23-0.361-10.194-1.724-14.901-4.026c-0.624-0.305-1.527-0.778-1.268-1.5+ c0.261-0.729,1.285-0.528,1.951-0.382c3.54,0.777,7.05,1.7,10.602,2.418c2.138,0.432,4.332,0.59,6.503,0.851+ c0.474,0.057,1.001-0.036,1.171,0.581c0.162,0.593-0.147,1.023-0.592,1.331C671.866,161.979,670.658,161.969,669.446,161.985z"/>+ <path style="fill:#B9897B;" d="M734.235,101.064c-0.378,0.225-0.294,0.445,0.007,0.663c-2.025-0.146-4.051-0.286-6.075-0.439+ c-2.44-0.185-4.872,0.088-7.292,0.257c-4.495,0.315-8.939,1.082-13.26,2.401c-2.405,0.734-4.766,1.61-6.868,3.05+ c-2.068,1.416-2.08,2.168-0.047,3.498c-1.311,0.587-2.146,0.469-2.856-0.406c-0.749-0.923-0.726-2.003,0.067-3.07+ c1.597-2.147,3.954-3.179,6.284-4.221c2.951-1.32,6.016-1.892,9.298-1.815C720.404,101.142,727.321,101.051,734.235,101.064z"/>+ <path style="fill:#B9897B;" d="M752.749,101.141c1.897-0.308,3.427-0.197,4.533,1.399c0.404,0.584,0.699,1.116,0.692,1.844+ c-0.024,2.637-0.025,5.274,0.002,7.911c0.008,0.733-0.218,1.302-0.735,1.815c-2.572,2.551-5.599,4.478-8.666,6.351+ c-0.698,0.426-0.913,0.147-0.892-0.578c0.016-0.557,0.034-1.131-0.08-1.67c-0.11-0.516,0.117-0.71,0.494-0.936+ c2.157-1.295,4.284-2.65,6.165-4.322c1.543-1.371,3.138-2.771,3.073-5.148c-0.047-1.734-1.059-2.977-2.099-4.185+ C754.511,102.782,753.664,102.045,752.749,101.141z"/>+ <path style="fill:#B9897B;" d="M689.842,102.23c2.766-2.108,5.977-1.415,9.073-1.439c1.355-0.011,2.709-0.002,4.075,0.06+ c-2.422,0.766-4.925,1.219-7.315,2.076c-1.988,0.714-4,1.369-5.812,2.493c-0.339,0.21-0.683,0.413-1.009,0.641+ c-1.781,1.246-1.729,2.128,0.168,3.212c1.217,0.696,2.532,1.125,4.223,1.51c-1.423,0.123-2.509,0.192-3.59,0.315+ c-1.674,0.19-2.835-0.733-3.801-1.866c-1.201-1.409-1.017-2.918,0.342-4.398c1.038-1.13,2.363-1.855,3.662-2.617L689.842,102.23z+ "/>+ <path style="fill:#B9897B;" d="M614.767,88.076c1.308,0,2.626-0.103,3.92,0.029c1.327,0.135,2.247,1.163,3.242,1.934+ c2.558,1.981,4.808,4.236,5.714,7.479c0.245,0.876,0.378,1.796,0.447,2.704c0.067,0.877-0.4,1.34-1.33,1.233+ c-0.784-0.09-1.727,0.193-1.699-1.195c0.073-3.633-2.254-5.93-4.737-8.07C618.602,90.703,616.698,89.446,614.767,88.076z"/>+ <path style="fill:#B9897B;" d="M642.069,87.973c1.442-0.202,2.707-0.212,3.878,0.392c3.015,1.555,6.104,3.006,8.669,5.286+ c1.763,1.567,3.021,3.491,3.69,5.777c0.175,0.6,0.057,0.881-0.641,0.905c-0.703,0.024-1.573,0.489-2.053,0.212+ c-0.49-0.283-0.58-1.24-0.871-1.89c-1.212-2.703-3.405-4.497-5.78-6.082c-1.925-1.285-3.922-2.463-5.892-3.68+ C642.731,88.685,642.372,88.514,642.069,87.973z"/>+ <path style="fill:#B9897B;" d="M585.185,98.007c0,0.2,0,0.4,0,0.6c-0.003,1.963-0.003,1.963-1.994,2.158+ c-1.243,0.122-1.796,0.875-1.685,2.106c0.096,1.071,0.072,2.153,0.088,3.23c0.003,0.227,0.035,0.542-0.285,0.556+ c-0.152,0.007-0.345-0.18-0.465-0.325c-0.318-0.382-0.406-0.86-0.483-1.336c-0.522-3.253-0.657-6.503,0.13-9.736+ c0.199-0.818,0.54-1.595,1.003-2.299c0.41-0.624,0.963-1.109,1.774-1.026c0.844,0.086,1.21,0.742,1.417,1.447+ C585.128,94.889,585.193,96.446,585.185,98.007z"/>+ <path style="fill:#B9897B;" d="M629.934,88.226c2.582-0.667,4.469,0.182,6.229,1.924c2.801,2.773,5.151,5.781,6.229,9.635+ c0.134,0.48,0.552,1.109-0.194,1.448c-0.843,0.383-2.407-0.02-2.591-0.637c-1.535-5.144-4.926-8.854-9.163-11.918+ C630.286,88.564,630.15,88.419,629.934,88.226z"/>+ <path style="fill:#B9897B;" d="M672.895,171.397c-0.093-2.537-0.099-4.712,1.646-6.668c2.707-3.033,5.202-6.258,7.509-9.668+ c-0.01,1.996,0.441,3.975-0.917,5.854c-2.478,3.431-5.043,6.79-7.688,10.091C673.354,171.121,673.2,171.184,672.895,171.397z"/>+ <path style="fill:#B9897B;" d="M672.799,194.132c-0.454-0.529-1.236,0.084-1.679-0.482c0.518-0.407,1.184,0.014,1.843-0.368+ c-3.127-0.614-6.01-1.598-8.615-3.274c-0.566-0.364-1.08-0.817-1.584-1.267c-0.323-0.288-0.728-0.671-0.375-1.12+ c0.305-0.387,0.816-0.245,1.228-0.079c0.85,0.343,1.669,0.772,2.533,1.072c3.765,1.309,7.536,2.602,11.392,3.627+ c0.572,0.152,1.327,0.199,1.23,1.011c-0.097,0.812-0.844,0.833-1.496,0.86c-0.442,0.018-0.878-0.01-1.294-0.183+ C674.889,193.475,673.824,193.495,672.799,194.132z"/>+ <path style="fill:#B9897B;" d="M589.104,103.804c-0.748-4.695-1.222-9.056-2.424-13.281c-0.087-0.307-0.245-0.618-0.235-0.923+ c0.017-0.509-0.92-1.105-0.029-1.489c1.035-0.446,2.012,0.015,2.329,0.934c1.335,3.868,1.955,7.882,2.418,11.928+ c0.048,0.419-0.015,0.814-0.415,1.047C590.122,102.386,589.635,102.894,589.104,103.804z"/>+ <path style="fill:#B9897B;" d="M670.552,146.116c-2.378,0.057-4.675-0.301-6.893-1.216c-1.335-0.551-1.546-1.844-2.042-2.915+ c-0.154-0.331,0.08-1.267,0.927-0.917c3.198,1.319,6.546,1.989,9.953,2.444c0.578,0.077,1.186,0.18,1.29,0.991+ c0.134,1.043-0.237,1.601-1.316,1.613C671.831,146.121,671.191,146.116,670.552,146.116z"/>+ <path style="fill:#B9897B;" d="M603.912,96.448c0.061,1.648-0.118,3.111-0.434,4.555c-0.198,0.905-0.946,1.246-2.147,0.961+ c-0.914-0.216-0.417-0.855-0.318-1.328c0.805-3.841,0.587-7.588-0.931-11.24c-0.159-0.381-0.922-0.984-0.123-1.24+ c0.637-0.203,1.591-0.477,2.111,0.508c0.733,1.387,1.282,2.84,1.56,4.38C603.841,94.219,604.011,95.408,603.912,96.448z"/>+ <path style="fill:#B9897B;" d="M747.816,125.552c-0.354-1.238,0.189-1.774,1.102-2.198c2.943-1.368,5.623-3.148,8.034-5.326+ c0.231-0.209,0.451-0.526,0.811-0.371c0.38,0.164,0.186,0.557,0.236,0.852c0.266,1.572-0.73,2.578-1.723,3.473+ c-2.235,2.015-4.806,3.563-7.56,4.746C747.015,127.458,748.102,125.809,747.816,125.552z"/>+ <path style="fill:#B9897B;" d="M671.575,128.827c-1.547,0.009-2.984-0.446-4.361-1.104c-1.332-0.636-2.646-1.31-3.969-1.964+ c-0.07-0.035-0.206-0.023-0.223-0.067c-0.411-1.088,0.718-1.756,0.768-2.768c0.023-0.475,0.508-0.004,0.726,0.123+ c2.37,1.375,4.972,2.14,7.568,2.926c0.267,0.081,0.534,0.165,0.798,0.256c0.754,0.261,1.236,0.86,1.213,1.585+ c-0.025,0.775-0.824,0.882-1.447,1.001C672.303,128.881,671.933,128.827,671.575,128.827z"/>+ <path style="fill:#B9897B;" d="M747.917,132.625c-0.327-1.003,0.31-1.589,1.296-2.106c2.792-1.465,5.54-3.01,7.881-5.168+ c0.177-0.163,0.373-0.334,0.633-0.252c0.291,0.092,0.244,0.368,0.269,0.601c0.109,1-0.115,1.877-0.823,2.638+ c-2.435,2.615-5.481,4.353-8.571,6.033c-0.555,0.302-0.708,0.057-0.688-0.475C747.928,133.538,747.917,133.178,747.917,132.625z"+ />+ <path style="fill:#B9897B;" d="M757.739,176.232c-0.02,1.708-0.015,1.736-1.692,1.995c-2.314,0.357-4.636,0.663-6.953,0.997+ c-0.759,0.11-1.173-0.032-1.141-0.971c0.094-2.764-0.289-2.102,2.256-2.574c1.953-0.362,3.918-0.659,5.883-0.95+ C757.756,174.483,757.759,174.506,757.739,176.232z"/>+ <path style="fill:#B9897B;" d="M747.934,155.606c-0.344-1.06,0.326-1.465,1.427-1.741c2.504-0.629,4.988-1.343,7.461-2.089+ c1.008-0.304,1.189,0.095,1.141,0.967c-0.069,1.231-0.355,2.099-1.83,2.414c-2.209,0.472-4.355,1.239-6.53,1.874+ C747.935,157.516,747.933,157.511,747.934,155.606z"/>+ <path style="fill:#B9897B;" d="M747.967,166.166c-0.255-1.003,0.239-1.432,1.416-1.604c2.559-0.375,5.096-0.9,7.632-1.416+ c0.625-0.127,0.738,0.044,0.769,0.621c0.119,2.195,0.144,2.223-1.959,2.702c-2.019,0.46-4.05,0.863-6.081,1.269+ C747.972,168.092,747.969,168.078,747.967,166.166z"/>+ <path style="fill:#B9897B;" d="M682.143,173.275c0,1.315-0.026,2.63,0.012,3.944c0.017,0.577-0.24,1.014-0.567,1.407+ c-1.046,1.257-2.019,2.57-3.138,3.772c-0.742,0.798-1.496,1.099-2.544,0.804c-0.483-0.136-1.005-0.129-1.716-0.211+ c2.693-3.309,5.499-6.332,7.668-9.852C681.953,173.185,682.048,173.23,682.143,173.275z"/>+ <path style="fill:#B9897B;" d="M610.842,98.975c0,0.36,0.03,0.722-0.005,1.079c-0.126,1.275-0.913,1.851-2.156,1.633+ c-0.466-0.082-0.471-0.398-0.391-0.713c1.11-4.37-0.508-8.142-2.554-11.83c-0.165-0.297-0.659-0.774-0.099-0.991+ c0.553-0.214,1.301-0.292,1.713,0.412c1.252,2.139,2.459,4.304,3.049,6.741C610.69,96.509,610.915,97.726,610.842,98.975z"/>+ <path style="fill:#B9897B;" d="M747.929,140.593c-0.299-0.978,0.366-1.433,1.285-1.775c2.552-0.951,4.915-2.294,7.309-3.572+ c0.419-0.223,0.947-0.919,1.3-0.399c0.363,0.535,0.384,1.406-0.262,1.969c-0.51,0.444-1.062,0.843-1.615,1.233+ c-2.062,1.454-4.244,2.688-6.583,3.651C747.969,142.274,747.929,142.279,747.929,140.593z"/>+ <path style="fill:#B9897B;" d="M672.716,175.403c-2.902-0.276-5.705-0.416-8.117-2.064c-0.292-0.199-0.582-0.425-0.804-0.694+ c-0.192-0.233-0.389-0.534-0.13-0.864c0.244-0.311,0.53-0.431,0.94-0.305c0.987,0.302,1.982,0.582,2.98,0.847+ c1.71,0.454,3.491,0.139,5.213,0.469c0.449,0.086,1.302-0.141,1.024,0.681C673.591,174.158,674.428,175.714,672.716,175.403z"/>+ <path style="fill:#B9897B;" d="M664.027,108.479c-0.669-3.677-0.562-3.647,2.201-5.688c0.993-0.734,2.064-1.365,3.207-1.839+ c0.642-0.266,1.49-1.163,1.983-0.307c0.543,0.943-0.715,1.211-1.284,1.644c-1.074,0.818-2.295,1.432-3.294,2.363+ C665.727,105.69,664.73,106.811,664.027,108.479z"/>+ <path style="fill:#B9897B;" d="M682.129,94.401c-1.459-2.772-3.484-4.6-5.603-6.546c1.526,0,3.055-0.065,4.575,0.032+ c0.621,0.039,1.025,0.586,1.027,1.283C682.132,90.791,682.129,92.412,682.129,94.401z"/>+ <path style="fill:#B9897B;" d="M640.805,107.508c1.85,0.002,1.851,0.002,1.33,1.591c-0.136,0.414-0.173,0.922-0.441,1.217+ c-0.393,0.432,0.04,1.7-1.216,1.281c-1.594-0.533-1.912-0.772-1.518-2.443C639.212,108.084,639.525,107.077,640.805,107.508z"/>+ <path style="fill:#B9897B;" d="M726.694,179.766c-1.651-0.257-3.303-0.512-4.954-0.772c-0.289-0.046-0.578-0.147-0.557-0.502+ c0.018-0.31,0.263-0.519,0.543-0.565c0.43-0.07,0.873-0.071,1.311-0.084c0.878-0.027,1.781,0.077,2.629-0.092+ c1.004-0.2,1.469-0.054,1.793,1.045C727.749,179.781,727.443,179.81,726.694,179.766z"/>+ <path style="fill:#B9897B;" d="M663.698,129.229c-0.489,0.356-0.805,0.651-1.177,0.837c-0.364,0.182-0.101,1.166-0.906,0.717+ c-0.817-0.455-1.82-0.745-2.094-1.789c-0.159-0.605,0.648-1.041,1.493-0.776C661.878,128.49,662.712,128.853,663.698,129.229z"/>+ <path style="fill:#B9897B;" d="M661.869,165.321c0.311,0.21,1.091-0.247,0.982,0.561c-0.076,0.563-0.499,1.257-1.094,1.223+ c-0.591-0.034-1.255-0.652-1.252-1.237C660.509,165.072,661.344,165.448,661.869,165.321z"/>+ <path style="fill:#B9897B;" d="M662.155,139.059c-0.351-0.195-0.591-0.446-0.578-0.843c0.014-0.418,0.258-0.649,0.674-0.658+ c0.381-0.009,0.519,0.239,0.348,0.534C662.421,138.401,662.66,138.914,662.155,139.059z"/>+ <path style="fill:#B9897B;" d="M668.713,193.457c-0.183,0.237-0.337,0.183-0.473-0.049+ C668.419,193.213,668.577,193.228,668.713,193.457z"/>+ </g>+ </g>+</g>+<g id="Layer_13">+ <g style="opacity:0.35;">+ <path style="fill:#B09FE2;" d="M673.444,182.741c0-1.04,0-2.08,0-3.12c0.386-2.08,0.422-4.16,0-6.24c0-0.96,0-1.92,0-2.88+ c0.356-0.261,0.251-0.651,0.251-0.994c0-19.429-0.005-38.858-0.011-58.286c24.205,0,48.41,0.007,72.615-0.025+ c0.93-0.001,1.108,0.24,1.088,1.117c-0.063,2.755-0.023,5.512-0.023,8.268c-0.308,0.4-0.308,0.8,0,1.2c0,0.16,0,0.32,0,0.48+ c-0.388,0.54-0.23,1.161-0.231,1.747c-0.013,19.555-0.016,39.11-0.021,58.665c-4.264,0.023-8.528,0.039-12.792,0.077+ c-0.454,0.004-0.963-0.184-1.356,0.231c-0.56,0-1.12,0-1.68,0c-0.327-0.66-0.328-1.387-0.447-2.093+ c-0.597-3.551-1.23-7.108-2.995-10.306c-2.804-5.082-7.013-8.522-12.48-10.464c-3.202-1.138-6.348-2.434-9.337-4.05+ c-3.385-1.831-5.614-4.682-6.246-8.482c-0.578-3.474,0.18-6.827,1.857-9.944c0.403-0.749,0.83-1.485,1.374-2.456+ c-1.968,0.735-3.432,1.767-4.785,2.922c-5.04,4.304-7.345,9.723-6.018,16.314c1.142,5.672,4.854,9.527,9.749,12.264+ c2.657,1.485,5.221,3.097,7.758,4.766c1.967,1.293,3.431,2.975,4.236,5.201c0.547,1.514,0.727,3.108,0.956,4.685+ c0.136,0.937-0.238,1.424-1.346,1.42c-9.995-0.037-19.991-0.022-29.986-0.015c-0.709,0.001-1.408,0.064-1.36-0.98+ c0.012-0.266-0.168-0.445-0.463-0.428c-0.238,0.014-0.373,0.181-0.363,0.394c0.053,1.136-0.742,1.013-1.467,1.013+ C677.762,182.738,675.603,182.74,673.444,182.741z"/>+ <path style="fill:#B09FE2;" d="M747.112,182.673c0.005-19.555,0.008-39.11,0.021-58.665c0-0.586-0.157-1.207,0.231-1.747+ c0,20.16,0,40.32,0,60.48C747.28,182.718,747.196,182.695,747.112,182.673z"/>+ <path style="fill:#B09FE2;" d="M673.684,111.221c0.005,19.429,0.011,38.858,0.011,58.286c0,0.343,0.106,0.732-0.251,0.994+ c0-19.401-0.002-38.802,0.015-58.203C673.459,111.947,673.182,111.486,673.684,111.221z"/>+ <path style="fill:#B09FE2;" d="M747.112,182.673c0.084,0.023,0.168,0.045,0.252,0.068c-0.132,0.598-0.593,0.212-0.84,0.214+ c-4.52,0.035-9.04,0.026-13.56,0.026c0.393-0.415,0.902-0.227,1.356-0.231C738.584,182.712,742.848,182.695,747.112,182.673z"/>+ <path style="fill:#B09FE2;" d="M673.444,173.381c0.422,2.08,0.386,4.16,0,6.24C673.444,177.541,673.444,175.461,673.444,173.381z"+ />+ <path style="fill:#B09FE2;" d="M747.364,121.781c-0.308-0.4-0.308-0.8,0-1.2C747.364,120.981,747.364,121.381,747.364,121.781z"/>+ </g>+</g>+<g id="Layer_3">+ <g>+ <g>+ <path style="fill:#E8C4B4;" d="M601.799,480.818c-0.396-0.526-0.971-0.506-1.528-0.467c-2.586,0.18-5.071-0.44-7.556-0.99+ c-1.333-0.295-2.636-0.515-4.02-0.441c-3.09,0.163-5.733-1.283-8.326-2.677c-1.35-0.726-2.666-1.434-4.174-1.717+ c-0.811-0.152-1.5-0.506-2.131-1.027c-1.721-1.42-3.671-2.565-5.156-4.272c-0.156-0.18-0.33-0.424-0.534-0.471+ c-3.567-0.822-4.881-4.116-7.027-6.46c-3.708-4.049-7.837-7.52-12.862-9.78c-1.805-0.812-3.769-1.288-5.687-1.826+ c-6.365-1.785-12.79-3.282-19.379-4.009c-4.682-0.517-9.207-1.858-13.786-2.88c-3.117-0.695-5.905-2.383-8.619-4.087+ c-1.149-0.721-2.314-1.417-3.453-2.153c-0.396-0.256-0.861-0.528-1.083-0.914c-1.363-2.368-3.265-4.32-4.888-6.484+ c-5.556-7.408-9.219-15.611-10.392-24.893c-0.259-2.047-0.378-4.116-0.733-6.163c-0.28-1.613-0.137-3.315,0.184-4.999+ c0.4-2.1,0.675-4.225,0.752-6.397c0.108-3.054,1.352-5.894,2.577-8.671c1.694-3.84,1.727-3.828-2.351-3.854+ c-1.92-0.012-3.84-0.017-5.76-0.014c-0.879,0.001-1.646-0.204-1.746-1.223c-0.115-1.175-0.939-1.017-1.738-1.12+ c-13.213-1.709-26.488-0.638-39.733-0.908c-3.119-0.064-6.246,0.111-9.358-0.043c-3.316-0.165-6.51,0.603-9.732,1.064+ c-1.565,0.224-3.004,0.045-4.48-0.182c-3.867-0.595-7.764-0.755-11.664-0.913c-0.742-0.03-1.402,0.286-2.103,0.413+ c-1.959,0.354-3.173-0.509-3.215-2.516c-0.055-2.647-0.567-5.218-0.945-7.815c-0.069-0.471-0.106-0.971-0.028-1.436+ c0.751-4.465-0.192-8.885-0.33-13.325c-0.005-0.159-0.028-0.322-0.006-0.477c0.158-1.098,0.098-2.3,0.547-3.265+ c0.59-1.271,2.029-0.328,3.053-0.716c2.799-1.059,5.967-0.742,8.662-2.262c0.332-0.187,0.78-0.318,1.148-0.271+ c2.631,0.337,4.775-1.06,7.06-1.937c2.64-1.013,3.786-3.094,3.804-5.794c0.038-5.68,0.169-11.368-0.087-17.037+ c-0.165-3.642-0.924-7.26-1.465-10.882c-0.565-3.778-1.013-7.586-1.825-11.312c-1.355-6.222-2.679-12.478-5.645-18.211+ c-0.147-0.284-0.343-0.567-0.396-0.871c-0.532-3.065-2.432-5.284-4.492-7.426c-1.227-1.276-2.887-1.95-4.442-2.096+ c-2.367-0.222-4.435-1.257-6.605-1.906c-6.286-1.883-12.148-4.75-17.661-8.399c-2.073-1.372-3.353-3.359-5.147-4.903+ c-0.758-0.653-0.85-1.573-0.673-2.434c0.479-2.328,1.538-4.53,1.476-6.979c-0.01-0.414,0.287-0.732,0.628-0.97+ c3.539-2.472,4.719-6.023,4.644-10.149c-0.117-6.418,0.428-4.82-4.722-8.585c-0.781-0.571-1.199-1.235-1.516-2.056+ c-1.006-2.61-2.344-5.053-3.603-7.528c-3.918,1.775-3.919,1.775-6.183-1.989c-0.206-0.342-0.443-0.679-0.574-1.05+ c-1.344-3.837-4.461-5.33-8.061-6.39c-2.278-0.67-4.503-0.553-6.804-0.641c-2.367-0.09-4.349,0.609-6.464,1.203+ c-4.272,1.2-6.804,4.352-8.657,8.058c-1.422,2.844-2.564,5.85-2.424,9.163c0.044,1.045-0.471,1.773-1.625,1.426+ c-0.796-0.239-1.439-0.061-2.028,0.356c-2.659,1.883-4.626,4.402-4.826,7.648c-0.154,2.498,0.473,5.073,1.875,7.311+ c0.169,0.27,0.511,0.684,0.709,0.514c1.598-1.377,2.259,1.166,3.662,0.841c0.496-0.115,0.82,0.676,0.812,1.279+ c-0.014,1.039,0.125,2.128-0.134,3.107c-0.915,3.452,0.367,7.457,0.981,10.816c0.234,1.279-0.823,3.403-1.487,4.469+ c-1.355,2.176-2.337,2.576-4.898,3.626c-1.91,0.784-3.647,1.983-5.503,2.912c-1.838,0.92-3.635,1.786-5.786,2.1+ c-2.485,0.363-4.728,1.874-7.266,2.346c-0.587,0.109-0.866,0.71-1.059,1.231c-1.319,3.563-3.675,6.403-6.171,9.187+ c-0.828,0.923-1.23,2.228-1.834,3.354c-1.44,2.679-2.979,5.295-5.218,7.404c-0.615,0.579-0.894,1.28-1.18,2.036+ c-0.678,1.791-1.405,3.565-2.174,5.318c-1.257,2.866-3.412,5.016-5.854,6.851c-1.34,1.007-2.319,2.216-2.854,3.739+ c-0.836,2.38-2.258,4.262-4.556,5.268c-1.692,0.741-2.38,2.065-2.73,3.661c-0.452,2.061-1.422,3.89-2.346,5.746+ c-0.214,0.429-0.373,0.958-0.721,1.234c-2.522,1.996-2.093,5.006-2.536,7.645c-0.261,1.554,0.725,3.056,1.59,4.402+ c0.291,0.452,0.924,0.755,0.642,1.41c-0.33,0.765-1.083,0.552-1.687,0.554c-4.88,0.021-9.76,0.018-14.64,0.022+ c-0.48,0-0.962-0.03-1.439,0.004c-0.604,0.042-1.406-0.241-1.681,0.534c-0.293,0.825-0.53,2.016,0.153,2.492+ c1.543,1.076,1.337,2.56,1.075,3.881c-0.584,2.946-0.33,5.893-0.383,8.84c-0.045,2.479,0.012,4.96-0.012,7.44+ c-0.013,1.374-1.462,2.893-2.772,2.973c-0.551,0.033-0.972-0.306-1.156-0.724c-1.818-4.127-4.876-7.956-4.592-12.657+ c0.247-4.086-0.237-8.274,1.054-12.28c0.072-0.222,0.175-0.457-0.08-0.757c-0.504-0.359-0.775,0.201-1.077,0.49+ c-1.095,1.052-2.052,2.232-3.064,3.361c-2.461,2.744-5.72,4.501-8.648,6.665c-0.597,0.441-1.642,0.597-1.98-0.035+ c-1.075-2.009-3.156-3.407-3.41-5.944c-0.107-1.068-0.043-1.716,0.8-2.483c3.501-3.185,3.823-7.926,0.906-11.538+ c-0.715-0.886-0.716-1.636,0.36-2.101c1.456-0.629,1.3-1.386,0.598-2.398c-0.555-0.801-0.86-1.707-1.185-2.61+ c-0.336-0.932-0.046-1.546,0.87-1.894c4.451-1.688,8.259-4.5,12.255-6.988c1.961-1.222,3.989-2.326,5.762-3.845+ c2.105-1.803,2.644-4.241,1.333-6.659c-0.038-0.07-0.063-0.165-0.123-0.201c-1.635-0.959-3.206-2.068-4.934-2.815+ c-1.309-0.566-2.646,0.089-3.867,0.769c-2.023,1.127-4.047,2.257-6.112,3.303c-1.865,0.945-2.217,0.672-2.252-1.501+ c-0.021-1.352-0.996-1.956-2.065-2.292c-2.357-0.741-4.737-0.779-6.991,0.381c-1.488,0.767-2.984,1.559-4.343,2.528+ c-1.911,1.364-3.986,2.349-6.167,3.145c-1.195,0.436-2.38,0.944-3.706,0.354c-0.502-0.223-1.131-0.208-1.649,0.023+ c-1.36,0.608-2.42-0.017-3.18-0.963c-1.01-1.256-2.367-2.12-3.407-3.304c-3.731-4.249-7.883-8.229-10.31-13.423+ c-1.949-4.17-3.832-8.402-4.162-13.153c-0.175-2.528-0.744-5.03-1.006-7.572c-0.321-3.121-0.65-6.168,0.507-9.208+ c0.359-0.943,0.366-2.044,0.468-3.057c0.32-3.175,1.52-6.014,2.926-8.805c0.396-0.786,0.836-1.553,1.171-2.364+ c2.134-5.164,5.601-9.435,9.181-13.613c1.314-1.534,1.276-3.406,1.642-5.159c1.193-5.718,3.778-10.509,8.241-14.427+ c3.878-3.405,8.234-5.627,13.089-7.204c3.718-1.207,7.366-2.618,11.196-3.459c2.651-0.582,5.32-1.046,8.046-1.016+ c3.989,0.044,8.007-0.354,11.951,0.463c2.557,0.53,5.167,0.946,7.545,2.122c0.614,0.304,1.23,0.389,1.857,0.226+ c2.703-0.701,5.422-1.348,8.051-2.307c0.449-0.164,0.96-0.288,0.984-0.877c0.02-0.481-0.445-0.63-0.765-0.832+ c-1.553-0.978-2.967-2.127-4.412-3.256c-6.206-4.849-10.307-11.028-12.178-18.651c-0.774-3.154-1.503-6.307-0.791-9.66+ c0.39-1.84-0.061-3.841,0.133-5.742c0.569-5.563,1.688-10.996,4.166-16.082c0.625-1.284,1.066-2.671,1.464-4.047+ c0.294-1.018-0.103-1.446-1.081-1.194c-1.767,0.456-3.51,0.899-5.12,1.918c-3.7,2.342-6.831,5.213-9.334,8.811+ c-0.672,0.965-1.344,1.964-2.305,2.738c-0.532,0.429-0.995,1.111-1.187,1.768c-0.978,3.344-2.954,6.156-4.575,9.173+ c-2.35,4.373-5.215,8.414-7.66,12.716c-0.236,0.415-0.439,0.878-0.77,1.207c-4.535,4.512-9.015,9.253-14.954,11.805+ c-4.847,2.083-9.923,3.626-15.377,4.028c-5.195,0.383-10.369,0.223-15.544,0.466c-2.685,0.126-5.233,0.759-7.582,2.495+ c-3.895,2.877-7.082,6.453-10.551,9.75c-1.11,1.055-2.23,1.836-3.81,2.268c-2.301,0.629-4.276,2.153-6.179,3.594+ c-1.127,0.853-2.297,1.326-3.619,1.712c-6.27,1.831-12.685,1.379-19.045,1.091c-2.996-0.135-5.757-1.779-8.598-2.807+ c-1.341-0.485-2.564-1.277-3.935-1.741c-0.669-0.226-1.401-0.55-1.864-1.052c-2.755-2.987-6.257-5.177-8.71-8.508+ c-3.475-4.718-6.818-9.555-8.647-15.116c-1.427-4.341-3.311-8.613-3.274-13.4c0.02-2.592-0.705-5.193-1.138-7.782+ c-0.12-0.72-0.376-1.547-0.056-2.124c1.401-2.524,0.898-5.336,1.175-7.976c0.633-6.024,2.818-11.358,5.656-16.62+ c3.446-6.39,8.364-11.458,13.536-16.352c2.684-2.539,5.864-4.37,9.189-5.95c0.442-0.21,0.939-0.457,1.304,0.012+ c0.438,0.561,0.086,1.086-0.35,1.458c-0.97,0.828-1.969,1.626-2.986,2.397c-2.092,1.587-5.368,5.587-6.656,7.995+ c-0.752,1.405-1.559,2.808-2.535,4.06c-2.63,3.373-3.699,7.403-4.956,11.354c-0.506,1.591-0.808,3.204-2.041,4.515+ c-0.832,0.885-0.774,2.293-0.814,3.424c-0.149,4.154-0.466,8.364,0.019,12.466c1.006,8.525,3.833,16.443,9.333,23.232+ c1.456,1.797,2.828,3.664,4.23,5.504c1.293,1.698,3.093,2.772,4.873,3.826c1.579,0.934,3.256,1.714,4.928,2.478+ c1.391,0.635,2.945,0.152,4.411,0.505c0.909,0.219,1.886,0.21,2.835,0.371c3.524,0.6,6.992-0.15,9.935-1.87+ c2.777-1.624,5.316-3.828,7.276-6.514c2.068-2.835,3.982-5.792,6.189-8.514c3.872-4.776,8.863-7.634,15.058-8.397+ c2.47-0.304,4.871-0.453,7.352-0.085c3.108,0.461,6.213-0.266,9.299-0.555c2.707-0.253,5.114-1.72,7.592-2.837+ c2.976-1.342,5.583-3.083,7.42-5.843c0.131-0.197,0.315-0.364,0.494-0.522c4.587-4.051,7.347-9.36,10.297-14.588+ c4.079-7.229,7.857-14.646,12.698-21.424c3.021-4.23,6.933-7.514,11.35-10.163c5.926-3.554,12.227-6.351,19.082-7.407+ c3.967-0.612,7.995-1.435,12.098-0.546c1.456,0.315,3.031,0.158,4.548,0.098c2.333-0.093,4.688,0.101,6.891,0.657+ c2.109,0.532,3.786-0.08,5.49-0.895c6.941-3.321,14.084-5.967,21.752-7.054c4.576-0.649,9.138-1.343,13.782-1.343+ c1.539,0,3.002,0.365,4.506,0.508c4.539,0.43,9.006,1.194,13.259,2.926c0.368,0.15,0.827,0.45,1.122,0.344+ c1.788-0.648,3.18,0.335,4.408,1.234c3.29,2.408,6.841,4.405,10.19,6.717c2.88,1.988,4.86,4.807,7.185,7.299+ c3.599,3.857,6.757,8.077,9.536,12.573c0.469,0.758,1.183,1.261,1.94,1.745c4.58,2.924,7.981,7.042,11.383,11.185+ c1.992,2.426,3.211,5.322,5.101,7.795c0.335,0.438,0.669,0.958,0.767,1.484c0.461,2.486,2.114,3.798,4.307,4.691+ c2.034,0.828,3.854,2.216,6.341,2.428c-0.494-3.185-0.96-6.221-1.435-9.255c-0.471-3.011-0.325-5.982-0.019-9.028+ c0.329-3.271,0.785-6.483,1.635-9.64c0.898-3.335,2.248-6.454,4.309-9.284c1.217-1.67,2.294-3.44,3.538-5.109+ c2.958-3.969,6.513-7.16,10.888-9.492c1.248-0.665,2.248-1.758,3.52-2.45c4.559-2.478,9.456-3.669,14.585-4.313+ c3.757-0.472,7.498-0.48,11.239-0.336c6.323,0.243,12.5,1.111,18.217,4.242c3.65,1.999,7.255,4.002,10.632,6.458+ c2.449,1.781,5.068,3.325,7.239,5.472c0.424,0.419,0.93,0.601,1.52,0.574c0.24-0.011,0.483,0.022,0.719-0.009+ c4.119-0.548,7.571,1.281,11.037,3.076c1.915,0.992,3.898,1.868,5.587,3.243c0.843,0.686,1.616,0.383,2.443-0.027+ c3.525-1.746,7.217-2.982,11.097-3.682c0.876-0.158,1.74-0.207,2.616-0.25c1.8-0.087,3.099-1.289,3.216-3.098+ c0.159-2.458-0.259-4.737-1.939-6.715c-2.228-2.624-4.405-5.374-5.589-8.607c-2.039-5.567-2.243-11.064,0.821-16.565+ c3.106-5.575,7.709-9.008,13.558-11.056c0.895-0.313,1.804-0.711,2.783-0.224c0.204,0.101,0.513,0.202,0.689,0.12+ c1.745-0.811,3.724-0.643,5.489-1.348c0.48,0,0.96,0,1.44,0c0.172,1.222-0.12,2.013-1.587,2.013c-0.701,0-1.4,0.292-2.103,0.432+ c-4.627,0.921-7.829,3.724-10.242,7.637c-1.519,2.464-1.398,5.167-1.446,7.889c-0.067,3.818,1.798,6.459,4.859,8.44+ c1.943,1.258,3.938,2.443,5.825,3.78c1.684,1.194,3.487,2.339,4.355,4.347c0.885,2.047,1.883,4.049,2.49,6.214+ c0.243,0.869,0.402,1.764,0.234,2.603c-0.313,1.569-0.363,3.144-0.499,4.725c-0.24,2.782-0.279,3.094,2.123,4.287+ c3.526,1.752,6.785,3.82,9.706,6.503c4.578,4.204,9.429,8.131,12.472,13.72c0.572,1.051,1.172,2.087,1.738,3.142+ c1.963,3.655,4.117,7.244,4.987,11.359c0.645,3.053,1.562,6.012,2.55,8.96c0.152,0.454,0.208,0.947,0.725,1.166+ c1.261-1.05,1.441-1.314,2.113-3.039c1.124-2.886,2.041-5.896,3.664-8.528c2.754-4.467,6.514-8.06,10.72-11.169+ c1.016-0.751,2.241-1.167,3.266-1.978c2.241-1.776,4.464-3.64,7.454-4.11c0.616-0.097,1.221-0.392,1.78-0.69+ c2.027-1.079,4.211-1.388,6.466-1.482c3.602-0.15,7.175,0.355,10.755,0.423c3.501,0.066,6.792,0.611,10.011,1.965+ c3.02,1.27,2.913,1.112,4.55-1.748c1.79-3.126,2.475-6.324,2.603-9.955c0.103-2.915-0.311-5.451-1.448-8.025+ c-2.873-6.509-6.442-12.449-12.813-16.183c-0.55-0.322-1.074-0.693-1.59-1.068c-1.831-1.329-1.871-1.327-3.574,0.312+ c-1.898,1.826-3.645,3.811-5.823,5.339c-4.684,3.287-9.888,3.297-14.853,1.442c-4.407-1.646-6.861-5.311-6.679-10.318+ c0.049-1.355,0.093-2.689,0.371-4.04c0.43-2.09,0.958-4.165,1.353-6.266c0.532-2.83-0.546-4.774-2.111-6.752+ c-0.822-1.039-1.752-1.497-3.132-0.991c-1.65,0.605-3.162-0.054-4.52-0.963c-2.104-1.408-2.127-3.432-0.049-4.836+ c1.266-0.855,2.692-1.462,4.221-1.609c4.181-0.402,8.098,0.435,11.68,2.697c1.477,0.933,2.78,2.149,4.483,2.721+ c0.46,0.155,0.814,0.549,0.977,1.009c0.634,1.793,1.456,3.49,1.706,5.45c0.365,2.869,0.307,5.733,0.413,8.601+ c0.065,1.766,1.41,3.414,3.008,3.44c2.239,0.037,4.454,0.343,6.68,0.418c3.551,0.12,7.102-0.222,10.65-0.316+ c7.113-0.189,14.234-0.056,21.352-0.065c1.189-0.002,2.183,0.397,2.988,1.275c0.862,0.94,1.698,1.929,2.594,2.807+ c1.569,1.538,2.301,3.904,4.619,4.706c0.425,0.147,0.369,0.647,0.482,1.022c0.16,0.528,0.306,1.117,0.645,1.525+ c2.517,3.027,4.213,6.579,6.375,9.829c1.065,1.602,1.448,3.297,1.578,5.175c0.167,2.417-0.374,4.759-0.467,7.14+ c-0.15,3.832,0.234,7.654,0.345,11.479c0.19,6.553,0.097,13.115,0.09,19.673c-0.009,9.245-0.043,18.491-0.081,27.736+ c-0.003,0.744-0.452,1.325-1.201,1.153c-1.835-0.423-3.634,0.094-5.455,0.053c-4.716-0.106-9.437-0.032-14.155-0.029+ c-2.399,0.001-4.799,0.003-7.198,0.006c-0.733,0.001-1.45-0.02-1.652,0.959c-0.944,4.577-3.906,8.164-6.067,12.133+ c-2.136,3.923-4.552,7.694-6.82,11.546c-0.908,1.542-0.862,1.651,0.562,2.706c0.32,0.237,0.671,0.434,0.995,0.666+ c8.429,6.028,13.57,14.252,16.078,24.203c0.225,0.892,0.57,1.393,1.443,1.664c0.757,0.235,1.447,0.674,2.187,0.976+ c3.805,1.554,6.984,4.124,10.416,6.293c2.855,1.804,5.558,3.752,7.918,6.152c2.4,2.44,4.681,4.966,6.376,8.001+ c1.633,2.924,2.788,3.153,4.683,0.767c1.872-2.357,4.291-4.03,6.453-6.022c2.781,3.088,4.707,4.556,7.013,4.976+ c-2.398-2.329-3.018-5.254-5.09-7.277c-1.319-1.287-2.388-2.782-3.496-4.243c-0.482-0.635-0.966-1.269-1.449-1.903+ c-0.197-0.259-0.428-0.524-0.778-0.391c-0.495,0.189-0.462,0.632-0.277,0.998c0.412,0.816,0.362,1.528-0.322,2.164+ c-1.002,0.188-1.599-0.447-2.294-1.019c-3.157-2.597-5.913-5.61-8.873-8.411c-3.083-2.918-5.715-6.169-8.09-9.711+ c-2.555-3.812-3.139-8.054-3.122-12.328c0.019-4.541,1.086-9.027,2.793-13.274c1.568-3.901,3.843-7.376,7.179-10.015+ c6.107-4.83,13.121-7.108,20.878-7.16c4.719-0.031,9.442,0.082,14.155-0.089c2.891-0.105,5.808-0.076,8.608-1.284+ c3.757-1.62,6.895-3.831,9.031-7.401c0.815-1.363,1.097-2.854,1.26-4.329c0.719-6.515-0.756-9.941-6.504-13.317+ c-2.272-1.335-4.6-2.576-6.844-3.955c-3.538-2.174-6.47-4.925-7.983-8.926c-0.79-2.089-1.797-4.161-1.5-6.465+ c0.411-3.186,1.198-6.323,2.992-9.014c1.22-1.83,2.489-3.729,4.571-4.812c0.582-0.302,1.185-0.801,1.711-0.209+ c0.521,0.587-0.282,0.932-0.546,1.369c-1.171,1.936-2.112,3.979-1.796,6.295c0.13,0.95,0.193,1.896,0.293,2.845+ c0.281,2.671,0.934,5.219,3.158,6.997c1.306,1.044,2.625,2.094,4.191,2.757c2.779,1.176,5.519,2.452,8.339,3.518+ c7.976,3.013,12.896,8.723,14.625,16.973c0.934,4.457,0.736,9.045-0.017,13.572c-0.63,3.783-2.503,6.903-5.286,9.418+ c-1.358,1.227-2.757,2.412-4.07,3.694c-0.451,0.441-1.003,0.783-1.528,1.142c-2.634,1.8-5.311,3.525-8.332,4.628+ c-2.535,0.926-4.961,2.069-7.68,2.579c-4.526,0.848-9.141,0.849-13.654,2.103c-4.011,1.114-8.109,1.573-11.211,4.789+ c-1.244,1.29-3.619,6.085-3.542,7.877c0.032,0.75,0.313,1.396,0.629,2.043c0.561,1.149,1.238,2.262,1.488,3.525+ c0.407,2.056,1.644,3.544,3.005,5.048c3.553,3.926,8.204,6.569,11.872,10.365c1.985,2.055,4.375,3.662,6.853,5.106+ c0.438,0.255,0.676,0.667,0.711,1.182c-0.642,0.489-1.209,1.025-1.496,1.82c-0.352,0.973-0.035,1.484,0.931,1.196+ c1.449-0.432,2.873-0.983,4.251-1.608c1.198-0.544,0.934-1.303,0.072-2.006c1.134-0.852,2.522-1.12,3.833-1.225+ c7.946-0.64,15.83-1.336,23.708,1.223c7.344,2.385,14.365,5.317,20.727,9.65c6.026,4.105,10.743,9.469,13.984,16.052+ c1.442,2.93,2.508,5.963,3.113,9.213c0.557,2.994,1.145,5.944,0.99,9.005c-0.069,1.357-0.069,2.719-0.062,4.078+ c0.015,3.086-0.725,6.01-1.926,8.822c-0.846,1.982-1.913,3.878-2.65,5.897c-1.132,3.102-2.609,6.019-4.549,8.658+ c-1.593,2.167-2.635,4.596-3.508,7.052c-1.021,2.874-1.331,5.875,0.031,8.866c1.045,2.297,1.53,4.9,3.963,6.312+ c0.065,0.038,0.116,0.113,0.156,0.181c1.651,2.81,4.674,3.297,7.364,3.747c5.534,0.926,11.195,0.961,16.365,3.714+ c1.505,0.801,2.664,1.628,3.447,3.056c0.423,0.772,0.925,1.479,1.43,2.199c2.544,3.628,3.403,7.57,2.633,12.027+ c-0.547,3.163-2.354,5.523-4.035,7.994c-0.788,1.159-1.98,2.05-3.032,3.016c-0.29,0.267-0.744,0.321-1.072-0.049+ c-0.241-0.271-0.185-0.594-0.037-0.89c0.106-0.213,0.256-0.404,0.386-0.605c2.664-4.114,1.746-9.263-0.943-12.689+ c-2.56-3.261-6.579-4.342-10.406-4.651c-4.83-0.39-9.688-0.535-14.526-1.012c-6.377-0.629-11.661-3.084-16.046-7.944+ c-3.286-3.642-5.387-7.685-6.395-12.369c-0.349-1.62-0.997-3.294-0.62-4.945c0.345-1.511,0.249-3.014,0.424-4.509+ c0.388-3.321,0.849-6.626,1.987-9.814c2.005-5.619,4.051-11.209,4.824-17.211c0.291-2.262,0.149-4.295-0.647-6.293+ c-1.632-4.096-3.27-8.261-7.995-9.857c-2.325-0.785-4.57-2.09-7.079-1.949c-3.091,0.174-6.168,0.57-9.173,1.503+ c-1.762,0.547-2.512,1.632-2.547,3.266c-0.078,3.67-0.301,7.328-0.498,10.991c-0.156,2.898-0.543,5.722-1.228,8.492+ c-2.21,8.936-6.698,16.68-12.684,23.608c-0.485,0.561-1.05,1.039-1.673,1.331c-1.696,0.795-3.026,2.073-4.438,3.224+ c-1.371,1.118-2.764,2.183-4.349,2.952c-4.654,2.257-9.332,4.465-13.994,6.706c-0.764,0.367-1.55,0.329-2.349,0.266+ c-1.205-0.095-1.777,0.404-2.237,1.606c-1.748,4.565-4.013,8.837-7.874,12.048c-0.613,0.509-1.136,1.125-1.708,1.684+ c-3.453,3.372-7.266,6.189-11.719,8.167c-4.297,1.909-8.51,3.805-13.359,4.054c-2.045,0.105-4.133,0.121-6.19,0.435+ c-4.367,0.666-8.769,0.508-13.135,0.067c-2.36-0.238-4.543-0.201-6.78,0.722c-3.39,1.399-6.859,2.649-10.461,3.389+ c-6.756,1.387-13.611,1.583-20.482,1.45c-1.678-0.032-3.384,0.112-5.028-0.145c-2.83-0.442-5.694-0.595-8.529-0.993+ c-1.986-0.279-3.983-0.506-5.726-1.349c-1.886-0.912-3.86-1.482-5.801-2.177c-2.106-0.754-4.225-1.471-6.227-2.474+ c-0.896-0.449-1.808-0.553-2.782-0.544c-2.079,0.02-4.182,0.183-6.23-0.075c-2.534-0.319-4.874-0.05-7.147,1.089+ c-1.141,0.572-2.316,1.078-3.493,1.573c-6.494,2.733-6.379,2.809-10.365,8.55c-2.764,3.981-4.433,8.023-4.403,13.062+ c0.032,5.383,1.987,9.896,5.028,13.855c2.502,3.257,5.975,5.785,9.86,7.433c4.251,1.803,8.531,3.473,13.014,4.74+ c8.064,2.279,16.036,4.947,23.38,9.14c1.322,0.755,2.668,1.688,3.406,2.902c0.777,1.279,1.718,2.227,2.81,3.154+ c1.033,0.877,2.138,1.752,2.903,2.843c1.63,2.325,3.736,4.168,5.809,6.025c1.307,1.171,2.683,2.274,3.887,3.551+ c1.784,1.891,3.879,3.297,6.208,4.425c1.589,0.769,3.318,1.205,4.873,1.984c3.853,1.932,6.734-0.377,10.402-1.901+ c-3.933-1.03-6.359-3.056-7.791-6.248c-0.128-0.287-0.315-0.556-0.516-0.799c-2.458-2.964-3.059-6.545-3.385-10.212+ c-0.034-0.382,0.018-0.841,0.206-1.161c0.582-0.99,0.718-2.109,1.041-3.172c1.152-3.793,3.734-6.257,7.318-7.7+ c4.13-1.663,8.486-1.262,12.784-1.116c1.078,0.037,2.137,0.556,3.109,1.168c2.84,1.788,5.499,3.655,7.585,6.45+ c2.028,2.717,3.045,5.595,3.394,9.013c1.579-1.194,3.326-2.051,4.58-3.68c2.398-3.117,4.606-6.303,5.668-10.165+ c0.316-1.147,0.807-2.26,1.331-3.333c1.043-2.137,2.531-3.771,4.869-4.658c2.763-1.048,5.421-2.38,8.502-2.08+ c0.533,0.052,1.254-0.165,1.39,0.578c0.145,0.797-0.579,0.784-1.114,0.899c-0.623,0.135-1.239,0.304-1.861,0.441+ c-0.979,0.215-1.744,0.749-2.386,1.504c-2.634,3.102-4.65,6.534-4.97,10.665c-0.336,4.334-1.474,8.319-3.293,12.321+ c-2.171,4.778-5.141,8.55-9.622,11.151c-0.954,0.554-1.587,1.218-2.059,2.2c-1.249,2.595-2.753,5.038-4.519,7.327+ c-0.889,1.152-1.658,2.255-3.285,2.538c-0.787,0.137-1.647,0.781-2.147,1.442c-0.873,1.156-2.059,1.722-3.274,2.319+ c-1.363,0.67-2.701,1.394-4.078,2.035c-3.22,1.499-6.182,3.661-9.896,3.917c-0.06,0.004-0.114,0.106-0.171,0.163+ C602.439,480.818,602.119,480.818,601.799,480.818z M245.272,265.776c0.181-0.541,0.298-0.752,0.319-0.972+ c0.486-5.036,1.733-9.841,4.271-14.262c0.515-0.898,0.863-1.931,1.524-2.699c2.138-2.484,3.262-5.666,5.611-7.994+ c0.337-0.334,0.702-0.772,0.395-1.27c-1.267-2.055-1.512-4.539-2.785-6.58c-0.986-1.582-2.255-2.616-4.329-2.276+ c-1.091,0.179-2.232,0.027-3.346,0.095c-1.909,0.118-3.966,0.159-5.574,1.08c-2.068,1.185-4.288,1.62-6.476,2.307+ c-3.207,1.008-6.214,2.473-9.034,4.316c-0.814,0.532-1.092,1.114-0.452,1.964c0.383,0.509,0.706,1.063,1.081,1.578+ c2.955,4.054,5.84,8.162,8.896,12.138C238.566,257.355,241.436,261.766,245.272,265.776z M448.085,130.748+ c-0.595-0.802-1.17-0.819-1.727-0.779c-2.861,0.208-5.719,0.446-8.579,0.66c-1.868,0.14-3.525,0.839-5.115,1.788+ c-0.959,0.572-1.97,1.068-2.989,1.527c-0.901,0.405-1.655,0.983-2.262,1.734c-1.655,2.046-3.467,3.978-4.79,6.272+ c-0.753,1.307-1.535,2.588-1.856,4.125c-0.766,3.667-0.538,7.306,0.133,10.937c0.279,1.511,1.134,1.924,2.405,1.168+ c2.692-1.601,5.168-3.448,6.932-6.138c1.224-1.867,2.53-3.727,4.216-5.196C439.811,142.179,443.218,135.909,448.085,130.748z+ M204.859,259.164c-0.719,0.599-0.923,1.197-0.92,1.848c0.008,2.039,0.086,4.107,0.21,6.106c0.146,2.368,0.967,4.824,2.251,6.988+ c3.119,5.258,7.96,8.333,13.42,10.627c0.366,0.154,0.76,0.317,1.091-0.051c0.241-0.268,0.154-0.595,0.051-0.898+ c-0.206-0.603-0.421-1.202-0.638-1.801c-1.556-4.296-3.774-8.135-6.651-11.764C210.771,266.558,207.828,262.923,204.859,259.164z+ M323.409,167.193c0.105,0.788-0.25,1.595,0.263,2.173c0.603,0.679,1.339-0.089,2.022-0.011c0.158,0.018,0.325-0.008,0.477,0.029+ c2.702,0.661,5.55,0.135,8.239,1.172c1.415,0.545,2.06-0.298,1.63-1.798c-1.192-4.157-2.716-8.147-5.299-11.696+ c-1.83-2.514-2.218-2.293-5.064-2.081c-1.439,0.107-2.553,1.339-2.48,2.349C323.439,160.642,323.856,163.951,323.409,167.193z+ M515.03,324.729c0.914-0.129,1.362-0.897,1.86-1.598c1.164-1.639,1.954-3.474,2.763-5.299c0.282-0.637,0.366-1.491,1.232-1.616+ c1.186-0.171,1.487-1.112,1.855-1.976c1.563-3.671,3.097-7.354,4.637-11.035c0.585-1.399,1.175-2.797,1.728-4.208+ c0.252-0.642,0.201-1.284-0.431-1.705c-0.608-0.405-1.217-0.295-1.763,0.162c-0.554,0.464-1.023,0.997-1.386,1.634+ c-1.145,2.012-2.361,3.984-3.457,6.021c-1.515,2.813-3.118,5.665-3.856,8.743c-0.823,3.435-2.268,6.606-3.35,9.922+ C514.764,324.074,514.649,324.376,515.03,324.729z M633.542,290.844c0.595,4.07,0.584,8.182,0.539,12.302+ c-0.008,0.688,0.088,1.37,0.03,2.09c-0.207,2.557-0.829,5.018-1.415,7.498c-0.588,2.489-0.295,3.026,1.933,4.228+ c0.703,0.379,1.403,0.769,2.134,1.086c1.488,0.644,2.246,0.159,1.874-1.425c-0.504-2.147-0.283-4.284-0.354-6.426+ c-0.053-1.596,0.169-3.239-0.135-4.781C637.165,300.431,636.11,295.448,633.542,290.844z M601.118,255.938+ c-0.021-0.743-0.396-1.068-0.782-1.33c-2.316-1.572-4.739-2.956-7.425-3.795c-1.439-0.45-2.915-0.865-4.442-0.734+ c-2.81,0.24-5.392,1.31-7.942,2.41c-1.013,0.437-1.936,1.108-2.844,1.752c-0.6,0.425-1.113,1.019-0.578,1.82+ c0.439,0.657,1.083,0.615,1.691,0.253c1.088-0.646,2.299-0.522,3.48-0.673c2.297-0.293,4.567-0.247,6.869-0.015+ c3.086,0.311,6.213-0.127,9.302,0.467C599.26,256.248,600.178,256.354,601.118,255.938z M290.697,218.356+ c-0.475-0.696-0.252-1.913-1.281-2.337c-0.848-0.349-1.59,0.257-2.108,0.807c-1.323,1.402-3.009,2.012-4.776,2.527+ c-0.762,0.222-1.487,0.612-2.26,0.741c-1.457,0.242-1.608,1.387-1.822,2.461c-0.169,0.846,0.209,1.623,0.902,2.07+ c1.046,0.675,2.005,0.111,2.839-0.526c2.22-1.696,4.539-3.19,7.222-4.072C290.102,219.8,290.645,219.291,290.697,218.356z+ M441.893,287.239c0.722-0.657,2.077-0.634,2.557-1.794c0.884-2.135,1.692-4.301,2.509-6.463+ c0.227-0.601,0.014-1.111-0.544-1.426c-0.561-0.316-1.094-0.18-1.523,0.263c-0.217,0.224-0.372,0.514-0.531,0.788+ c-1.119,1.936-2.227,3.879-3.352,5.811c-0.287,0.493-0.53,0.988-0.485,1.574C440.583,286.741,440.992,287.148,441.893,287.239z+ M289.423,257.21c1.786-2.058,1.992-4.42,2.691-6.57c0.244-0.751-0.09-1.549-1.046-1.433c-1.804,0.219-4.193,3.449-3.501,4.746+ C288.114,254.978,288.449,256.129,289.423,257.21z"/>+ <path style="fill:#E8C4B4;" d="M16.678,325.298c3.065-0.265,5.042,1.771,7.014,3.549c2.248,2.027,4.076,4.488,6.269,6.598+ c3.456,3.324,8.509,4.203,12.843,2.266c3.211-1.435,5.628-3.546,7.814-6.403c2.698-3.526,4.013-7.357,4.8-11.539+ c0.044-0.235,0.143-0.486,0.1-0.706c-0.887-4.458,0.268-8.897,0.106-13.358c-0.243-6.691,3.092-11.749,8.035-15.846+ c3.764-3.119,8.392-4.516,12.986-5.791c4.302-1.194,8.653-1.897,13.187-0.692c2.105,0.559,4.459,0.087,6.644,0.658+ c3.861,1.009,7.732,2.049,11.291,3.872c1.456,0.746,2.789,1.912,3.883,3.148c2.379,2.686,5.257,4.879,7.513,7.659+ c1.708,2.104,3.213,4.373,4.804,6.572c5.165,7.138,11.002,13.693,17.443,19.69c2.209,2.057,4.851,3.53,7.582,4.926+ c3.738,1.91,7.782,2.81,11.643,4.281c1.929,0.735,1.945,0.691,1.949,2.66c0.012,6.4,0.047,12.799,0.028,19.199+ c-0.008,2.941-0.208,3.123-3.002,2.374c-4.853-1.302-9.7-2.625-14.456-4.274c-2.04-0.707-3.371-2.352-5.194-3.359+ c-5.492-3.033-10.023-7.342-14.553-11.618c-2.579-2.434-4.117-5.684-6.388-8.338c-5.322-6.22-8.683-13.566-12.282-20.778+ c-1.848-3.704-4.614-6.484-8.06-8.63c-1.426-0.888-3.112-1.211-4.746-1.525c-2.283-0.439-4.518-1.01-6.643-1.95+ c-0.758-0.335-1.513-0.49-2.324-0.441c-4.199,0.254-8.253,1.283-11.897,3.289c-2.409,1.326-4.478,3.328-5.463,6.119+ c-1.714,4.859-2.463,9.834-2.287,15.007c0.083,2.443-0.463,4.934-1.822,7.062c-0.693,1.085-1.289,2.205-1.853,3.348+ c-2.25,4.56-5.665,8.166-9.768,10.987c-2.743,1.886-5.971,3.062-9.427,3.081c-2.228,0.012-4.447,0.086-6.681-0.354+ c-3.354-0.66-5.917-2.493-7.822-5.138c-2.416-3.355-4.824-6.712-6.718-10.45c-0.878-1.732-2.034-3.901-4.552-4.194+ C16.678,325.938,16.678,325.618,16.678,325.298z"/>+ <path style="fill:#E8C4B4;" d="M250.915,394.797c0.477-0.444,0.88-0.951,1.398-1.274c1.163-0.725,2.492-0.982,3.563-0.007+ c0.985,0.897,1.69,1.012,2.541-0.041c0.191-0.237,0.495-0.449,0.786-0.528c1.822-0.494,3.649-0.975,5.49-1.394+ c0.535-0.122,1.212-0.111,1.589,0.336c1.003,1.191,2.149,0.811,3.44,0.677c1.474-0.152,3.035-0.301,4.507,0.265+ c0.148,0.057,0.339,0.165,0.457,0.118c2.285-0.917,4.662,0.23,6.977-0.345c2.483-0.617,6.333,0.439,8.123,2.111+ c0.704-0.216,0.743-0.955,1.089-1.449c0.711-1.015,1.499-1.89,2.903-1.78c0.655,0.051,1.256-0.128,1.837-0.44+ c1.976-1.059,3.798-0.421,5.311,0.848c1.414,1.185,2.271,2.644,1.939,4.809c-0.42,2.741-0.227,5.558-0.52,8.348+ c-0.506,4.829-0.721,9.691-0.982,14.543c-0.057,1.06-0.688,1.313-1.464,1.591c-5.255,1.886-10.728,3.004-16.159,4.142+ c-2.529,0.53-5.224,0.867-8.01,0.512c-2.197-0.28-4.573-0.446-6.862-0.179c-2.063,0.241-3.902-0.621-5.837-1.023+ c-2.265-0.472-4.576-0.826-6.681-1.811c-3.654-1.71-7.432-3.226-10.663-5.708c-1.676-1.287-2.602-3.216-3.634-5.013+ c-0.558-0.972-1.101-1.918-1.879-2.755c-1.474-1.587-1.777-3.733-2.355-5.703c-0.761-2.59-1.792-5.133-1.824-7.901+ c-0.042-3.649,2.886-5.473,6.044-3.726c1.025,0.567,2.347,0.538,3.118,1.639c0.252,0.359,0.734,0.229,1.089-0.01+ c1.602-1.077,2.859-0.405,4.036,0.764C250.438,394.573,250.67,394.653,250.915,394.797z"/>+ <path style="fill:#E8C4B4;" d="M304.141,343.541c-0.002,2.875-0.138,5.758,0.027,8.623c0.32,5.564-0.114,11.119-0.018,16.678+ c0.01,0.556,0.034,1.116,0.105,1.667c0.216,1.677-0.429,2.446-2.011,2.266c-5.19-0.591-10.396-0.501-15.604-0.436+ c-2.787,0.035-3.458-0.794-2.586-3.465c0.592-1.813,0.402-3.627,0.431-5.451c0.013-0.814-0.433-1.131-1.197-1.137+ c-1.118-0.01-2.24,0.018-3.352-0.073c-1.71-0.139-1.886-0.544-2.136-2.189c-0.58-3.809-0.333-7.639-0.491-11.458+ c-0.023-0.558-0.052-1.121-0.01-1.676c0.098-1.314,0.355-1.455,1.651-1.287c3.388,0.44,6.775,0.935,10.205,0.866+ c2.809-0.056,5.161-1.511,7.63-2.59c0.619-0.27,0.755-1.002,1.093-1.535c0.213-0.336,0.389-0.704,0.642-1.007+ c1.716-2.06,2.725-4.387,2.874-7.092c0.034-0.618,0.313-1.234,0.542-1.827c0.184-0.474,0.577-0.803,1.108-0.758+ c0.636,0.054,0.99,0.489,1.071,1.103c0.052,0.393,0.028,0.796,0.028,1.195C304.144,337.153,304.143,340.347,304.141,343.541z"/>+ <path style="fill:#E8C4B4;" d="M200.313,356.479c-1.456,0-2.576,0.037-3.693-0.012c-0.809-0.036-1.549-0.476-1.267-1.34+ c0.822-2.519,0.154-5.079,0.385-7.607c0.065-0.715,0.005-1.442,0.082-2.155c0.138-1.272,0.768-2.525,1.875-2.884+ c1.423-0.462,2.681-1.775,4.464-1.041c1.623,0.668,1.786,0.707,1.33,2.399c-0.518,1.924-1.077,3.842-1.745,5.717+ c-0.33,0.928-0.099,1.407,0.611,2.023c0.883,0.767,1.856,1.461,2.947,1.382c1.145-0.084,2.338-0.53,3.35-1.102+ c0.77-0.435,0.746-1.534,0.963-2.37c0.138-0.534,0.042-1.132,0.203-1.655c0.281-0.914,1.184-1.156,1.876-0.481+ c0.742,0.725,1.357,1.599,1.679,2.585c0.457,1.4-0.162,2.852-1.471,3.081c-2.223,0.39-4.025,1.744-6.134,2.428+ C203.831,356.076,202.008,356.664,200.313,356.479z"/>+ <path style="fill:#E8C4B4;" d="M263.913,351.102c0-2.877-0.003-5.754,0.003-8.632c0.001-0.558-0.009-1.122,0.068-1.672+ c0.056-0.4,0.3-0.747,0.743-0.839c0.451-0.093,0.746,0.194,1.019,0.492c0.472,0.515,0.489,1.158,0.49,1.802+ c0.011,6.314,0.022,12.627,0.028,18.941c0,0.318-0.005,0.643-0.071,0.952c-0.087,0.405-0.316,0.74-0.752,0.833+ c-0.45,0.097-0.745-0.196-1.022-0.489c-0.552-0.585-0.486-1.321-0.486-2.038c-0.001-3.117,0-6.234,0-9.351+ C263.926,351.102,263.92,351.102,263.913,351.102z"/>+ <path style="fill:#E8C4B4;" d="M259.105,351.006c0,2.795,0.006,5.589-0.004,8.384c-0.003,0.713,0.118,1.46-0.242,2.117+ c-0.289,0.527-0.759,0.841-1.393,0.609c-0.518-0.189-0.614-0.595-0.615-1.141c-0.016-5.489-0.054-10.977-0.12-16.466+ c-0.014-1.13,0.153-2.219,0.387-3.314c0.133-0.624,0.393-1.054,1.099-0.978c0.716,0.077,0.872,0.605,0.873,1.207+ c0.005,3.194,0.002,6.388,0.002,9.581C259.096,351.006,259.101,351.006,259.105,351.006z"/>+ <path style="fill:#E8C4B4;" d="M249.449,350.893c0-2.793-0.005-5.587,0.005-8.38c0.002-0.556,0.017-1.119,0.112-1.664+ c0.077-0.436,0.437-0.64,0.883-0.626c0.443,0.014,0.775,0.231,0.847,0.675c0.076,0.469,0.097,0.951,0.098,1.428+ c0.016,5.826,0.024,11.652,0.033,17.479c0.001,0.319,0.009,0.64-0.016,0.957c-0.055,0.688-0.289,1.378-1.093,1.258+ c-0.768-0.115-1.308-0.726-1.082-1.569c0.298-1.11,0.18-2.221,0.194-3.331c0.027-2.075,0.008-4.15,0.008-6.225+ C249.443,350.893,249.446,350.893,249.449,350.893z"/>+ <path style="fill:#E8C4B4;" d="M272.97,353.201c-0.23,1.906,0.4,4.718-0.345,7.468c-0.103,0.381-0.103,0.813-0.287,1.146+ c-0.289,0.522-0.831,0.824-1.41,0.664c-0.611-0.168-0.854-0.734-0.739-1.339c1.007-5.27,0.939-10.599,0.91-15.927+ c-0.002-0.318,0.017-0.639,0.066-0.952c0.053-0.344,0.286-0.582,0.623-0.621c0.328-0.038,0.606,0.123,0.817,0.394+ c0.432,0.554,0.356,1.208,0.36,1.838C272.977,348.026,272.97,350.181,272.97,353.201z"/>+ <path style="fill:#E8C4B4;" d="M361.419,242.05c0-0.636-0.037-1.276,0.01-1.909c0.053-0.72,0.446-1.196,1.208-1.217+ c0.85-0.023,1.108,0.553,1.049,1.263c-0.096,1.161,0.322,2.158,0.747,3.203c0.545,1.344,0.124,2.458-0.786,2.581+ c-0.82,0.111-2.198-1.054-2.3-2.013c-0.066-0.63-0.012-1.272-0.012-1.909C361.362,242.05,361.391,242.05,361.419,242.05z"/>+ <path style="fill:#E8C4B4;" d="M515.03,324.729c-0.381-0.353-0.266-0.655-0.168-0.956c1.082-3.316,2.527-6.487,3.35-9.922+ c0.738-3.078,2.341-5.93,3.856-8.743c1.097-2.037,2.313-4.009,3.457-6.021c0.362-0.637,0.831-1.169,1.386-1.634+ c0.546-0.457,1.155-0.567,1.763-0.162c0.632,0.421,0.683,1.063,0.431,1.705c-0.553,1.412-1.143,2.809-1.728,4.208+ c-1.54,3.681-3.074,7.364-4.637,11.035c-0.368,0.864-0.669,1.805-1.855,1.976c-0.866,0.125-0.95,0.979-1.232,1.616+ c-0.809,1.825-1.599,3.66-2.763,5.299C516.392,323.832,515.944,324.6,515.03,324.729z"/>+ <path style="fill:#E8C4B4;" d="M677.721,263.794c-1.352-1.981-3.445-3.387-4.398-5.676c0.684-0.636,0.734-1.347,0.322-2.164+ c-0.185-0.366-0.218-0.809,0.277-0.998c0.349-0.133,0.581,0.132,0.778,0.391c0.483,0.635,0.967,1.268,1.449,1.903+ c1.109,1.461,2.178,2.956,3.496,4.243c2.072,2.023,2.692,4.948,5.09,7.277C682.427,268.35,680.501,266.882,677.721,263.794z"/>+ <path style="fill:#E8C4B4;" d="M441.893,287.239c-0.901-0.091-1.311-0.498-1.368-1.245c-0.045-0.587,0.198-1.082,0.485-1.574+ c1.125-1.933,2.232-3.876,3.352-5.811c0.159-0.274,0.314-0.564,0.531-0.788c0.43-0.444,0.962-0.579,1.523-0.263+ c0.558,0.314,0.771,0.824,0.544,1.426c-0.817,2.162-1.625,4.328-2.509,6.463C443.97,286.605,442.615,286.582,441.893,287.239z"/>+ <path style="fill:#E8C4B4;" d="M698.79,254.224c1.293,0.057,2.444-0.783,3.758-0.598c0.862,0.703,1.126,1.462-0.072,2.006+ c-1.378,0.625-2.802,1.176-4.251,1.608c-0.966,0.288-1.283-0.223-0.931-1.196C697.581,255.249,698.148,254.713,698.79,254.224z"+ />+ </g>+ </g>+</g>+<g id="Layer_4">+ <g>+ <g>+ <path style="fill:#6F6A7F;" d="M16.741,325.467c2.305-0.659,3.592,1.287,5.29,2.134c0.825,0.412,1.472,1.214,2.143,1.895+ c1.852,1.88,3.652,3.812,5.514,5.682c4.141,4.161,8.648,4.825,13.991,2.345c2.847-1.321,4.88-3.307,6.842-5.759+ c2.771-3.463,4.184-7.286,4.902-11.51c0.08-0.47,0.221-0.957,0.168-1.417c-0.587-5.037,0.117-10.062,0.152-15.092+ c0.024-3.471,1.661-6.541,3.726-9.202c3.693-4.759,8.264-8.529,14.194-10.126c3.771-1.016,7.667-1.712,11.616-1.441+ c6.947,0.478,13.808,1.412,20.346,4.032c2.443,0.979,4.528,2.451,6.196,4.39c2.092,2.432,4.577,4.452,6.719,6.832+ c1.241,1.379,2.299,2.86,3.348,4.352c5.538,7.87,11.769,15.146,18.705,21.805c2.477,2.379,5.381,4.146,8.489,5.717+ c3.889,1.967,8.097,2.882,12.104,4.423c1.168,0.449,1.544,0.894,1.52,2.203c-0.092,4.957,0.023,9.917,0.042,14.877+ c0.008,2.189-0.012,2.233-2.263,2.28c-2.313,0.048-4.634,0.181-6.911-0.488c-1.559-0.459-3.025-1.078-4.216-2.189+ c-1.107-1.033-2.386-1.597-3.875-1.677c-2.578-0.14-4.034-1.68-4.951-3.905c-0.457-1.107-0.819-2.258-1.337-3.335+ c-1.071-2.223-2.874-3.362-5.362-3.36c-0.96,0.001-1.922-0.012-2.879,0.044c-2.189,0.127-3.726-0.85-4.563-2.813+ c-0.737-1.731-1.905-2.96-3.279-4.262c-1.873-1.775-3.21-4.159-4.404-6.521c-0.577-1.141-1.087-2.313-1.838-3.362+ c-0.275-0.384-0.629-0.848-0.626-1.274c0.022-2.95-1.504-5.504-2.037-8.306c-0.68-3.574-2.133-5.05-5.723-5.785+ c-1.571-0.322-2.691-1.352-3.807-2.374c-0.465-0.426-0.964-0.931-1.176-1.5c-1.209-3.244-3.735-5.174-6.526-6.934+ c-1.463-0.922-2.919-1.356-4.528-0.727c-1.887,0.738-3.69,0.902-5.52-0.147c-0.632-0.362-1.39-0.327-2.113-0.33+ c-1.78-0.008-3.42-0.318-4.999-1.33c-1.934-1.239-5.066-0.182-6.522,1.942c-0.553,0.808-0.837,1.708-1.018,2.666+ c-0.194,1.029-0.514,2.035-1.348,2.751c-3.306,2.836-4.788,6.927-7.174,10.395c-0.42,3.291-0.84,6.583-1.26,9.874+ c1.776,4.307-0.114,8.032-1.68,11.914c-1.523,3.776-4.002,6.662-7.036,9.223c-3.571,3.014-7.707,4.434-12.327,4.513+ c-1.436,0.025-2.878-0.095-4.312-0.21c-3.658-0.293-6.546-2.087-8.737-4.907c-2.595-3.341-5.065-6.775-6.918-10.625+ c-0.867-1.802-2.32-3.233-3.907-4.478c-0.285-0.223-0.572-0.22-0.831,0.058C16.741,326.107,16.741,325.788,16.741,325.467z+ M131.767,333.89c0.027-1.66-0.985-2.974-2.367-3.073c-1.115-0.08-2.031,0.705-2.107,1.805c-0.103,1.489,1.429,3.344,2.793,3.383+ C131.18,336.035,131.744,335.325,131.767,333.89z M155.979,351.792c1.306,0.116,2.28-0.596,2.383-1.741+ c0.129-1.435-0.86-2.472-2.462-2.585c-1.476-0.104-2.577,0.642-2.626,1.78C153.223,350.407,154.562,351.666,155.979,351.792z+ M108.905,302.874c-0.078-0.878-1.279-2.225-1.967-2.253c-0.68-0.028-1.308,0.918-1.177,1.771+ c0.14,0.913,1.155,1.802,2.022,1.711C108.515,304.025,108.929,303.598,108.905,302.874z"/>+ <path style="fill:#6F6A7F;" d="M530.339,73.788c1.29-0.015,2.579-0.03,3.869-0.046c0.278,0.962-0.061,1.555-1.055,1.739+ c-0.629,0.117-1.265,0.197-1.892,0.32c-2.943,0.576-5.729,1.489-7.89,3.723c-0.111,0.115-0.213,0.283-0.35,0.322+ c-2.54,0.734-3.566,3.017-4.963,4.893c-1.184,1.59-1.843,3.364-1.008,5.35c0.462,1.099-0.028,2.064-0.382,3.004+ c-0.708,1.878-0.912,3.568,0.987,4.9c0.246,0.172,0.442,0.487,0.546,0.777c0.604,1.674,1.747,2.343,3.524,2.141+ c1.179-0.134,1.802,0.605,1.834,1.726c0.04,1.36,0.638,2.259,1.874,2.792c0.701,0.302,1.157,0.887,1.381,1.587+ c0.504,1.573,1.684,2.449,3.029,3.24c2.074,1.219,2.394,2.039,1.709,4.36c-0.269,0.911-0.705,1.779-1.12,2.64+ c-1.23,2.551-0.422,4.542,2.262,5.451c0.525,0.178,1.078,0.344,1.624,0.367c0.692,0.029,1.227,0.185,1.58,0.836+ c0.563,1.038,1.542,1.647,2.561,2.09c4.173,1.814,7.616,4.643,10.955,7.647c2.017,1.815,4.02,3.665,5.977,5.524+ c2.295,2.179,3.917,5.041,5.489,7.822c0.584,1.034,1.095,2.136,1.731,3.139c2.959,4.665,4.36,9.896,5.675,15.169+ c0.48,1.925,1.072,3.816,1.974,5.621c1.02-0.521,1.441-1.372,1.811-2.263c1.222-2.94,2.442-5.88,3.667-8.818+ c0.123-0.294,0.233-0.606,0.416-0.861c3.33-4.645,7.089-8.837,12.081-11.801c1.78-1.057,3.404-2.374,5.126-3.533+ c1.054-0.709,2.082-1.479,3.475-1.468c0.444,0.003,0.917-0.275,1.331-0.507c3.803-2.134,7.961-2.179,12.135-2.042+ c3.113,0.102,6.198,0.581,9.328,0.613c2.66,0.027,5.148,1.06,7.583,2.096c2.683,1.142,2.261,1.274,3.643-1.412+ c0.765-1.486,1.245-3.122,2.355-4.433c0.497-0.587,0.433-1.348,0.449-2.067c0.054-2.397-0.094-4.799,0.226-7.19+ c0.061-0.458,0.022-0.979-0.137-1.41c-2.415-6.515-5.717-12.499-10.771-17.368c-1.852-1.784-4.393-2.608-6.358-4.269+ c-0.594-0.502-1.028,0.014-1.425,0.398c-1.438,1.389-2.868,2.788-4.3,4.183c-2.292,2.234-4.969,3.727-8.138,4.325+ c-1.511,0.285-3.003,0.384-4.52,0.052c-0.698-0.153-1.419-0.279-2.13-0.279c-1.249-0.001-2.348-0.37-3.389-1.029+ c-3.765-2.383-6.064-5.559-5.777-10.248c0.132-2.164,0.351-4.28,1.095-6.346c0.739-2.052,0.874-4.281,0.733-6.389+ c-0.133-2.003-1.551-3.634-3.089-4.958c-0.68-0.585-1.509-0.183-2.298-0.043c-2.615,0.463-4.444-0.407-5.821-2.706+ c0.317-0.552,1.049-0.102,1.417-0.565c1.204-1.518,2.888-1.505,4.599-1.424c1.436,0.068,2.879,0.185,4.282-0.295+ c0.222-0.076,0.567-0.191,0.692-0.089c2.254,1.848,5.426,1.01,7.768,2.706c0.92,0.666,1.627,1.201,1.529,2.429+ c-0.064,0.803,0.017,1.635,0.527,2.296c1.687,2.186,0.885,4.178-0.503,6.06c-0.609,0.826-1.115,1.589-0.64,2.607+ c0.649,1.392,0.358,2.825,0.254,4.251c-0.029,0.396-0.14,0.786-0.207,1.179c-0.646,3.814,0.968,5.233,4.552,3.906+ c1.581-0.585,2.939-0.793,4.529,0.197c1.554,0.967,2.871,0.414,4.021-1.191c1.182-1.65,2.598-2.469,4.802-2.534+ c8.115-0.238,16.228-0.336,24.345-0.417c3.766-0.037,5.902,2.397,8.19,4.721c0.195,0.198,0.298,0.609,0.26,0.896+ c-0.373,2.824,1.487,4.593,3.104,6.413c0.841,0.946,1.153,1.847,0.839,3.04c-0.162,0.616-0.237,1.257-0.328,1.89+ c-0.409,2.859,0.801,4.454,3.673,4.724c0.947,0.089,1.921,0.033,2.869-0.077c0.795-0.093,1.151,0.199,1.401,0.919+ c0.326,0.936,0.488,1.879,0.238,2.826c-0.928,3.504,0.515,6.439,2.296,9.227c0.511,0.8,0.723,1.52,0.773,2.41+ c0.485,8.55,0.403,17.109,0.462,25.666c0.043,6.239,0.019,12.479,0.056,18.718c0.004,0.754-0.305,1.623,0.506,2.216+ c0.47,0.344,0.565,0.769,0.132,1.197c-0.402,0.396-0.816,0.669-1.476,0.405c-1.15-0.461-1.487-1.428-1.6-2.47+ c-0.093-0.864,0.069-1.752,0.076-2.63c0.007-0.877,0.075-1.777-0.087-2.628c-0.309-1.627-1.268-2.064-2.793-1.367+ c-0.992,0.453-1.989,1.425-3.071,0.53c-1.041-0.861-0.817-2.124-0.552-3.348c0.446-2.056,0.203-3.969-1.409-5.54+ c-0.749-0.73-0.932-1.653-0.596-2.658c0.284-0.85,0.371-1.727,0.27-2.607c-0.2-1.749-1.446-2.521-3.074-1.825+ c-0.872,0.373-1.638,0.987-2.463,1.473c-1.893,1.114-2.998,0.738-3.611-1.355c-0.632-2.157-1.376-4.262-2.456-6.233+ c-1.178-2.151-2.745-2.762-5.016-1.847c-2.331,0.94-3.607,2.721-4.025,5.24c-0.828,5-0.839,10.047-0.822,15.074+ c0.016,4.516-1.905,7.481-6.032,9.06c-1.66,0.635-2.582,1.796-3.053,3.425c-0.47,1.625-0.752,3.282-0.614,4.973+ c0.477,5.875-1.854,10.756-5.344,15.23c-1.532,1.963-3.567,2.553-5.884,1.749c-2.348-0.814-4.448-0.137-5.967,2.199+ c-1.058,1.626-1.97,3.298-3.941,3.992c-0.302,0.106-0.531,0.391-0.456,0.748c0.101,0.483,0.533,0.561,0.926,0.583+ c0.932,0.051,1.817-0.222,2.81,0.17c1.46,0.575,2.008,0.154,2.384-1.396c0.13-0.534,0.107-1.109,0.12-1.666+ c0.026-1.15,0.711-1.716,1.725-2.007c1.578-0.453,2.866-0.059,3.352,1.021c0.661,1.47-0.036,3.689-1.386,4.37+ c-0.21,0.106-0.463,0.126-0.686,0.211c-0.144,0.055-0.271,0.156-0.414,0.241c0.287,0.615,0.848,0.663,1.404,0.653+ c1.877-0.034,3.574,0.536,5.224,1.387c2.126,1.095,4.306,2.048,6.305,3.422c9.114,6.264,14.386,14.997,16.779,25.635+ c0.087,0.388,0.222,0.796,0.179,1.177c-0.479,4.193-0.15,8.448-1.077,12.612c-0.432,1.943-0.884,3.843-1.745,5.657+ c-0.999,2.107,0.276,3.846,1.291,5.489c0.487,0.788,1.577,1.216,2.578,0.785c1.341-0.578,2.523-0.207,3.662,0.416+ c1.252,0.685,2.588,0.946,3.942,0.713c2.765-0.477,4.579,0.728,5.437,3.19c0.762,2.186,2.146,2.644,4.233,2.481+ c2.884-0.225,4.897,1.535,5.212,4.386c0.109,0.985,0.316,1.877,0.966,2.647c1.622,1.922,1.939,4.146,1.468,6.541+ c-0.123,0.627-0.277,1.248-0.403,1.875c-0.535,2.649,0.046,4.938,2.278,6.612c1.452,1.089,1.852,2.616,1.715,4.243+ c-0.182,2.151,0.168,4.109,1.231,5.991c0.757,1.339,0.679,2.764,0.034,4.151c-0.506,1.087-1.028,2.167-1.542,3.25+ c-0.303,0.638-0.613,1.276-0.38,1.968c0.815,0.309,1.257-0.42,1.907-0.383c0.738,0.042,0.899-0.405,0.839-1.095+ c-0.093-1.07,0.26-2.063,0.844-2.947c0.795-1.202,1.622-1.342,2.828-0.535c0.198,0.132,0.351,0.329,0.544,0.47+ c1.651,1.208,3.684,0.424,4.083-1.613c0.121-0.618,0.07-1.275,0.055-1.914c-0.219-9.39-1.469-18.633-3.999-27.689+ c-0.322-1.152-0.672-2.261-1.494-3.224c-0.55-0.645-0.898-1.527-1.14-2.359c-0.72-2.476-1.744-4.804-3.134-6.969+ c-0.38-0.592-0.266-0.913,0.284-1.368c2.889-2.393,5.118-5.519,8.352-7.535c0.618-0.385,0.635-0.842,0.197-1.387+ c-0.606-0.755-1.241-1.529-2.149-1.871c-1.657-0.623-2.751-1.879-3.867-3.134c-1.914-2.152-3.821-4.309-5.228-6.85+ c-0.515-0.931-1.198-1.626-2.277-1.992c-1.94-0.658-3.143-2.108-3.868-3.999c-0.371-0.969-0.752-1.944-1.235-2.86+ c-0.885-1.681-1.378-3.37-0.856-5.295c0.433-1.597-0.379-2.745-1.589-3.722c-3.401-2.746-3.382-2.756-2.094-6.937+ c0.282-0.915,0.487-1.846,0.504-2.823c0.047-2.745,1.07-5.128,2.818-7.215c1.539-1.838,3.089-3.667,4.631-5.503+ c0.626-0.746,1.057-1.575,1.262-2.547c0.583-2.764,2.622-4.277,4.889-5.584c0.78-0.45,1.554-0.315,2.303,0.013+ c2.794,1.225,5.23,0.382,7.293-1.505c2.116-1.935,4.424-2.931,7.328-2.987c2.605-0.05,4.905,0.818,7.053,1.955+ c1.9,1.006,3.764,1.325,5.766,0.978c2.684-0.465,5.324-1.163,7.693-2.573c1.276-0.759,2.557-1.249,4.077-1.087+ c1.342,0.143,2.453-0.427,3.521-1.238c1.859-1.412,3.694-2.784,4.511-5.127c0.451-1.293,0.896-2.549,0.808-3.954+ c-0.093-1.486,0.351-2.761,1.37-3.943c1.964-2.279,1.997-3.751,0.354-6.274c-0.528-0.81-0.927-1.672-1.354-2.531+ c-1.11-2.234-2.671-3.981-5.265-4.478c-1.434-0.275-2.094-1.11-2.436-2.553c-0.71-2.992-2.571-4.449-5.637-4.616+ c-1.354-0.074-2.717,0.046-4.076,0.059c-2.294,0.023-3.33-0.535-4.023-2.636c-0.83-2.515-1.855-4.933-2.98-7.321+ c-0.671-1.425-0.809-2.94-0.454-4.457c0.766-3.275,1.784-6.461,3.25-9.51c0.57-1.185,1.594-1.734,2.527-2.448+ c0.347-0.266,0.777-0.251,1.062,0.125c0.223,0.293,0.077,0.62-0.148,0.854c-0.621,0.645-1.058,1.393-1.375,2.226+ c-1.603,4.218-0.965,8.306,0.735,12.32c0.449,1.059,1.321,1.805,2.206,2.492c2.096,1.625,4.438,2.74,6.9,3.771+ c3.88,1.624,7.898,3.04,11.364,5.544c2.771,2.002,5.104,4.333,6.253,7.678c0.439,1.277,1.17,2.45,1.704,3.698+ c1.234,2.88,1.082,5.969,1.136,8.988c0.083,4.598-0.405,9.118-3.137,13.074c-1.004,1.454-2.054,2.852-3.547,3.852+ c-0.331,0.222-0.73,0.415-0.947,0.726c-2.006,2.868-5.127,4.318-7.951,6.072c-2.139,1.329-4.541,2.268-7.016,2.948+ c-3.631,0.997-7.308,1.676-11.063,1.937c-0.319,0.022-0.65,0.022-0.952,0.112c-4.275,1.278-8.625,2.27-12.93,3.41+ c-3.067,0.813-5.623,2.899-6.787,6.162c-0.027,0.075-0.06,0.149-0.093,0.221c-1.944,4.225-2.185,3.975-0.09,8.264+ c1.004,2.056,1.182,4.503,2.987,6.184c1.287,1.198,2.509,2.468,3.819,3.639c1.906,1.703,3.862,3.345,6.001,4.763+ c1.404,0.931,2.193,2.506,3.588,3.493c2.392,1.693,4.709,3.494,7.032,5.283c0.538,0.414,1.024,0.344,1.558,0.112+ c6.307-2.745,12.998-2.214,19.618-2.315c3.661-0.056,7.097,0.964,10.537,2.036c7.91,2.465,15.392,5.816,22.004,10.867+ c5.279,4.032,9.414,9.058,12.248,15.099c3.807,8.117,4.819,16.623,3.431,25.438c-0.185,1.178-0.43,2.384-0.893,3.473+ c-2.497,5.871-4.582,11.952-8.396,17.175c-1.488,2.038-2.335,4.396-3.13,6.708c-0.884,2.568-0.771,5.196,0.043,7.973+ c0.996,3.397,3.206,5.781,5.296,8.352c0.099,0.122,0.216,0.287,0.35,0.316c2.179,0.477,4.031,2.054,6.317,2.066+ c4.355,0.025,8.508,1.345,12.788,1.828c0.574,0.065,1.032,0.413,1.487,0.741c0.389,0.28,0.736,0.679,1.169,0.826+ c4.575,1.56,5.893,5.847,7.572,9.566c1.714,3.797,1.111,7.969-0.665,11.644c-1.328,2.749-3.412,5.138-5.731,7.223+ c-0.315,0.283-0.755,0.456-1.101,0.233c-0.528-0.341-0.274-0.835-0.029-1.257c0.841-1.45,1.659-2.915,2.544-4.338+ c0.907-1.459,1.283-2.938,0.356-4.511c-0.536-0.91-0.477-1.814-0.179-2.769c0.582-1.863,0.239-3.473-1.363-4.713+ c-0.126-0.098-0.314-0.181-0.358-0.31c-0.828-2.436-2.517-3.081-4.905-2.479c-0.715,0.18-1.201-0.297-1.403-1.004+ c-0.11-0.384-0.168-0.79-0.33-1.151c-1.911-4.251-5-4.47-8.413-2.514c-1.168,0.67-2.201,1.59-3.251,2.449+ c-1.375,1.124-2.906,1.535-4.679,1.45c-1.671-0.081-3.37-0.064-5.026,0.15c-3.656,0.472-6.711-1.039-9.735-2.709+ c-3.322-1.834-5.882-4.714-7.552-7.851c-1.704-3.2-2.619-7.059-1.063-10.863c0.242-0.592,0.448-1.198,0.672-1.797+ c0.439-1.173,0.212-2.191-0.694-3.064c-0.46-0.444-0.866-0.949-1.354-1.36c-0.951-0.801-1.209-1.835-1.152-3.01+ c0.083-1.716,0.618-3.293,1.479-4.764c0.936-1.599,1.671-3.273,1.999-5.109c0.289-1.615,1.142-2.969,2.023-4.309+ c2.166-3.294,3.747-6.798,4.77-10.655c0.628-2.37,1.188-4.977,3.268-6.786c0.823-0.716,0.87-1.867,0.782-2.921+ c-0.094-1.12-0.267-2.29-0.902-3.207c-1.453-2.096-1.791-4.835-3.841-6.575c-0.4-0.34-0.343-0.857-0.422-1.329+ c-0.419-2.489-1.699-3.408-4.225-2.788c-1.366,0.335-2.695,0.306-4.042,0.209c-1.521-0.11-2.809-0.567-3.101-2.379+ c-0.225-1.395-1.27-1.997-2.554-2.139c-1.292-0.143-2.167-0.732-2.916-1.813c-1.334-1.925-3.506-2.185-5.415-0.671+ c-1.327,1.052-2.473,2.368-2.73,4.101c-0.215,1.45-0.945,2.313-2.215,2.85c-0.073,0.031-0.145,0.069-0.214,0.109+ c-2.838,1.644-3.246,2.364-2.729,5.622c0.216,1.359-0.103,2.564-0.271,3.864c-0.333,2.585-1.353,5.119-0.953,7.798+ c0.158,1.057-0.047,2.128-0.583,3.015c-1.103,1.825-1.607,3.82-1.933,5.876c-0.253,1.593-0.949,2.85-2.333,3.729+ c-1.066,0.677-1.752,1.632-1.822,2.94c-0.158,2.961-1.2,5.404-3.841,7.045c-0.822,0.51-1.313,1.407-1.309,2.449+ c0.011,2.571-1.617,4.455-2.777,6.516c-0.564,1.001-1.649,0.849-2.591,0.511c-0.823-0.295-1.58-0.787-2.413-1.043+ c-3.701-1.137-6.558,0.568-7.178,4.358c-0.243,1.484-0.924,2.301-2.395,2.531c-2.288,0.357-3.966,1.636-5.128,3.593+ c-0.672,1.131-1.591,1.7-2.916,1.779c-1.289,0.076-2.481,0.558-3.63,1.155c-1.418,0.737-2.853,1.445-4.298,2.13+ c-2.683,1.271-5.403,0.903-8.062-0.014c-1.603-0.552-2.007-0.605-2.836,1.056c-0.63,1.263-1.583,1.675-2.836,1.83+ c-1.927,0.239-2.201,0.044-2.219-1.984c-0.007-0.756,0.079-1.516-0.817-1.752c-0.88-0.232-1.375,0.444-1.639,1.1+ c-1.027,2.544-3.18,4.328-4.447,6.713c-0.32,0.603-0.69,1.092-0.304,1.729c0.321,0.53,0.877,0.691,1.465,0.57+ c0.684-0.14,1.251-0.547,1.183-1.287c-0.113-1.214,0.624-1.277,1.477-1.27c1.027,0.008,2.061-0.212,3.361,0.142+ c-1.804,1.72-2.646,4.002-5.381,4.756c-1.876,0.517-3.617,1.409-5.656,1.547c-1.287,0.087-2.685,0.5-2.856,2.34+ c-0.093,0.998-1.396,1.258-1.794,2.14c0.02,0.568,0.501,0.519,0.835,0.681c1.282,0.623,1.386,0.934,0.682,2.178+ c-0.354,0.625-0.752,1.229-1.175,1.81c-1.44,1.977-2.471,2.273-4.679,1.17c-1.277-0.637-2.279-0.584-3.526,0.241+ c-4.141,2.739-8.712,4.713-13.082,7.047c-0.279,0.149-0.605,0.364-0.884,0.332c-2.286-0.261-4.198,0.897-6.171,1.679+ c-4.264,1.691-8.69,2.979-13.181,3.457c-3.66,0.389-7.407,1.404-11.17,0.335c-0.736-0.209-1.6-0.077-2.388,0.026+ c-4.007,0.521-7.954,0.235-11.909-0.567c-6.422-1.302-12.882-2.41-19.025-4.83c-2.05-0.807-3.933-2.209-6.321-1.979+ c-0.206,0.02-0.458-0.143-0.648-0.278c-4.237-3.007-9.314-4.657-13.233-8.169c-0.603-0.54-1.162-0.748-1.94-0.491+ c-2.071,0.684-4.206,0.843-6.382,0.891c-2.33,0.052-4.231,1.008-4.891,3.458c-0.692,2.569-2.294,4.016-4.835,4.769+ c-1.919,0.569-3.788,1.128-5.807,1.323c-1.643,0.159-3.269,0.745-4.843,1.308c-1.386,0.495-1.85,1.867-1.201,3.391+ c0.371,0.872,0.952,1.66,1.47,2.465c1.314,2.042,1.389,4.06-0.165,5.996c-1.164,1.449-1.613,3.089-1.587,4.909+ c0.022,1.52-0.028,3.035-0.242,4.546c-0.28,1.981,0.329,3.786,1.177,5.545c0.335,0.694,0.86,1.105,1.494,1.485+ c1.706,1.023,1.742,1.144,1.289,3.06c-0.184,0.778-0.441,1.54-0.596,2.322c-0.723,3.635,0.529,6.415,4.019,7.729+ c3.299,1.242,6.269,3.138,9.561,4.35c1.392,0.513,2.498,1.393,3.371,2.591c1.422,1.953,3.207,3.562,4.978,5.182+ c1.359,1.244,2.919,1.931,4.797,1.788c1.613-0.123,3.163,0.115,4.709,0.637c1.543,0.521,3.171,0.377,4.75,0.094+ c2.56-0.459,5.079-0.446,7.593,0.287c0.761,0.222,1.568,0.289,2.351,0.437c0.47,0.089,1.041,0.06,1.386,0.322+ c1.777,1.35,3.618,2.577,5.592,3.628c0.777,0.414,0.759,1.424,0.77,2.18c0.031,2.191,0.834,3.765,2.809,4.899+ c1.386,0.796,2.409,2.077,2.617,3.816c0.116,0.974,0.525,1.85,1.172,2.587c0.782,0.891,1.669,1.4,2.957,1.027+ c3.256-0.943,6.308,0.421,9.421,0.986c0.938,0.17,1.471,0.942,1.521,1.929c0.032,0.637-0.002,1.278-0.025,1.916+ c-0.046,1.218,0.398,1.981,1.73,2.103c1.954,0.179,3.729,0.716,5.027,2.384c0.563,0.723,1.555,0.863,2.432,0.805+ c1.043-0.069,1.777,0.396,2.63,0.888c1.725,0.995,3.517,1.934,5.385,2.608c2.975,1.073,5.847,0.803,8.203-1.554+ c0.587-0.587,1.159-0.747,1.911-0.674c2.05,0.198,4.004,0.251,5.108-2.062c0.224-0.469,1.083-0.612,1.605-0.969+ c0.541-0.37,1.005-0.875,0.859-1.589c-0.173-0.847-0.87-0.794-1.527-0.718c-3.833,0.446-6.812-1.837-10.059-3.214+ c-0.842-0.357-1.551-1.129-2.199-1.825c-3.844-4.134-6.093-12.645-4.629-18.066c1.157-4.284,4.155-6.974,8.301-8.253+ c4.818-1.487,9.699-1.152,14.351,0.612c3.021,1.146,5.585,3.046,7.769,5.651c1.595,1.902,2.463,3.997,3.368,6.147+ c0.874,2.074,0.451,2.612-1.156,4.08c-2.474,2.261-5.128,1.153-7.72,0.688c-1.459-0.262-2.818-0.926-4.343-1.174+ c-2.631-0.428-5.168-3.981-5.224-6.756c-0.006-0.311,0.084-0.671-0.041-0.924c-0.958-1.929-0.442-3.527,1.218-4.928+ c-0.837-0.772-1.75-1.071-2.651-1.281c-2.02-0.47-3.453,0.548-3.697,2.626c-0.141,1.202-0.285,2.376-0.953,3.423+ c-0.126,0.198-0.333,0.514-0.262,0.641c0.996,1.784-0.474,2.676-1.28,3.871c-1.223,1.811-0.274,4.134,1.844,4.758+ c0.918,0.27,1.869,0.443,2.764,0.772c1.51,0.555,2.956,0.621,4.383-0.219c1.202-0.708,2.361-0.856,3.54,0.132+ c0.409,0.343,0.991,0.554,1.526,0.655c1.445,0.274,2.717,0.868,3.919,1.707c2.154,1.507,4.336,1.343,6.497-0.038+ c0.673-0.43,1.334-0.899,2.057-1.225c2.822-1.273,4.131-3.839,5.495-6.351c0.416-0.766,0.55-1.705,1.036-2.411+ c2.072-3.013,3.111-6.459,4.314-9.843c0.509-1.432,1.053-2.852,2.08-4.024c0.954-1.09,1.947-2.023,3.431-2.476+ c1.67-0.51,3.243-1.327,4.922-1.874c1.511-0.492,3.019-0.095,4.518-0.271c0.335-0.04,0.64,0.149,0.712,0.502+ c0.097,0.474-0.188,0.745-0.616,0.853c-1.547,0.39-3.125,0.68-4.64,1.167c-2.741,0.882-4.439,2.732-4.832,5.659+ c-0.203,1.514-0.528,2.869-1.789,4.026c-1.151,1.056-1.395,2.698-0.874,4.232c0.357,1.053,0.184,2.006,0.043,3.047+ c-0.554,4.086-2.138,7.837-3.67,11.598c-0.469,1.153-1.268,2.089-2.318,2.945c-1.852,1.51-3.609,3.112-5.767,4.192+ c-0.48,0.24-0.567,0.737-0.764,1.169c-1.097,2.412-2.491,4.653-4.039,6.792c-1.11,1.534-2.114,3.227-4.269,3.578+ c-0.427,0.07-0.869,0.451-1.175,0.802c-1.963,2.249-4.752,3.143-7.27,4.472c-2.613,1.379-5.269,2.675-7.907,4.007+ c-2.881-0.006-5.762-0.012-8.643-0.018c-2.698-0.587-5.304-1.642-8.165-1.359c-1.53,0.151-2.989-0.379-4.426-0.889+ c-1.97-0.7-3.774-1.735-5.595-2.733c-3.291-1.804-6.565-3.636-9.508-5.997c-0.608-0.488-1.158-1.095-2.08-1.041+ c-0.821,0.048-1.264-0.631-1.729-1.158c-1.427-1.62-2.823-3.267-4.219-4.914c-3.356-3.957-7.475-6.95-11.978-9.441+ c-1.693-0.936-3.639-1.174-5.458-1.767c-7.465-2.435-15.196-3.613-22.92-4.869c-4.716-0.767-9.437-1.657-13.942-3.348+ c-3.624-1.36-6.619-3.861-10.011-5.648c-0.261-0.137-0.49-0.425-0.624-0.696c-1.036-2.098-2.643-3.768-4.095-5.556+ c-6.591-8.115-10.251-17.449-11.349-27.788c-0.415-3.909,0.378-7.81,0.558-11.717c0.015-0.318,0.183-0.652,0.122-0.946+ c-0.909-4.378,1.155-8.102,2.563-11.983c0.43-1.184,1.604-2.251,0.769-3.74c-0.091-0.163,0.201-0.577,0.368-0.842+ c1.404-2.233,2.849-4.44,4.219-6.694c0.559-0.919,1.565-1.342,2.171-2.147c-0.008-0.522-0.389-0.44-0.671-0.469+ c-2.764-0.283-3.053-0.518-3.719-3.152c-0.117-0.462-0.145-0.947-0.235-1.416c-0.173-0.899-0.789-1.533-1.63-1.492+ c-3.297,0.16-6.672-0.118-9.381,2.567c-1.324,1.313-3.294,1.56-5.176,1.33c-0.861-0.105-1.749-0.326-2.53-0.694+ c-2.726-1.286-5.368-1.858-8.497-1.1c-3.43,0.831-4.982-0.518-5.922-3.94c-0.106-0.385-0.208-0.772-0.316-1.157+ c-0.773-2.763-1.852-3.646-4.748-3.831c-1.276-0.081-2.569-0.007-3.829-0.18c-1.738-0.238-2.25-0.932-1.851-2.638+ c0.456-1.951,0.832-3.904,0.979-5.9c0.059-0.797,0.136-1.597,0.117-2.393c-0.053-2.252-0.932-3.353-3.176-3.84+ c-1.638-0.355-3.305-0.577-4.962-0.843c-0.888-0.142-1.684-0.478-2.414-0.998c-2.217-1.58-2.677-3.032-1.724-5.571+ c0.281-0.748,0.603-1.481,0.934-2.208c0.626-1.376,0.721-2.696,0.082-4.152c-0.818-1.864-0.865-3.906-0.693-5.903+ c0.185-2.15,1.52-3.655,3.241-4.801c1.062-0.707,2.224-1.262,3.322-1.918c1.51-0.903,3.04-1.783,3.857-3.476+ c0.165-0.342,0.477-0.675,0.805-0.867c2.085-1.215,4.072-2.509,5.199-4.778c0.278-0.559,0.925-0.575,1.493-0.571+ c1.998,0.016,4.02-0.128,5.976,0.32c2.289,0.525,4.225-0.09,5.555-1.879c1.38-1.857,3.178-2.546,5.309-2.803+ c1.903-0.23,3.8-0.513,5.706-0.718c0.542-0.058,1.132-0.013,1.654,0.139c2.143,0.626,4.296,1.243,6.379,2.527+ c-0.676,1.129-1.432,2.276-0.927,3.67c0.236,0.651,0.757,1.005,1.384,1.23c2.241,0.801,3.945-0.14,4.867-2.729+ c1.116,0.069,2.124,0.433,3.14,0.953c1.315,0.673,1.869,0.271,1.654-1.115c-0.134-0.863-0.356-1.703-0.338-2.594+ c0.008-0.368-0.132-0.925-0.394-1.084c-2.14-1.299-3.28-4.056-6.104-4.31c-1.378-0.124-1.735-0.843-1.722-2.065+ c0.009-0.873-0.016-1.777-0.225-2.617c-0.591-2.383-2.293-3.228-4.551-2.298c-1.5,0.618-2.879,1.475-3.735,2.893+ c-1.385,2.294-3.45,3.443-5.995,3.982c-1.32,0.28-2.673,0.637-3.64,1.682c-0.521,0.563-1.14,0.493-1.764,0.505+ c-5.512,0.103-10.724,1.821-15.862,3.451c-3.682,1.168-7.523,2.606-10.098,5.963c0.011,0.024,0.05,0.24,0.121,0.251+ c0.982,0.15,1.931,0.322,2.095,1.562c0.149,1.119-0.746,1.497-1.441,1.999c-1.916,1.383-4.005,2.427-6.407,2.398+ c-1.518-0.019-2.244,0.782-2.58,1.995c-0.522,1.882-1.454,3.537-2.486,5.153c-4.666,7.311-6.386,15.254-5.15,23.838+ c0.068,0.47,0.211,0.944-0.135,1.53c-1.326-0.841-2.418,0.101-3.687,0.381c-2.433,0.537-3.719,2.189-5.24,3.784+ c-0.991,1.039-2.325,1.672-3.627,2.304c-0.652,0.317-0.749,0.769-0.041,1.236c3.803,2.507,5.923,1.578,9.365-0.852+ c0.442-0.312,0.456-0.588,0.136-1.154c-0.901-1.593-0.517-2.55,1.083-3.119c0.812-0.289,1.391-0.234,1.94,0.724+ c0.924,1.614,1.312,3.37,1.773,5.103c1.407,5.286,4.355,9.743,7.427,14.142c0.269,0.386,0.616,0.835,1.025,0.987+ c3.037,1.124,4.701,3.972,7.665,5.785c-2.491,0.48-4.617,0.214-6.725,0.249c-0.605,0.01-0.733-0.455-0.891-0.938+ c-0.586-1.786-1.936-2.433-3.713-2.38c-1.617,0.049-1.965,0.408-1.544,2.04c0.266,1.033-0.037,1.31-0.978,1.305+ c-1.195-0.006-2.203-0.196-3.328-0.909c-3.475-2.2-6.98-4.545-11.525-3.378c-2.02,0.518-3.276-1.352-4.925-2.025+ c-0.165-0.067-0.221-0.588-0.203-0.89c0.087-1.429-0.652-2.628-1.094-3.895c-0.568-1.629-1.52-2.088-3.172-1.702+ c-0.458,0.107-1.018,0.232-1.303,0.552c-1.597,1.798-3.568,1.354-5.536,1.05c-1.374-0.212-2.262-1.686-1.827-3.011+ c0.173-0.526,0.579-0.392,0.958-0.45c1.708-0.262,2.306-0.737,2.364-1.819c0.053-0.989-0.911-2.527-2.105-2.587+ c-1.807-0.091-1.735-1.135-1.745-2.363c-0.017-2.069-0.272-4.127-0.019-6.21c0.146-1.198,0.565-1.719,1.793-1.657+ c1.53,0.078,2.953-0.542,4.423-0.805c2.392-0.428,4.654-1.446,6.973-1.78c2.515-0.362,4.766-1.227,7.074-2.06+ c2.68-0.967,3.794-3.076,3.786-5.779c-0.018-6.156-0.097-12.312-0.216-18.467c-0.016-0.848,0.19-1.17,1.012-1.174+ c1.039-0.005,2.077-0.061,3.116-0.084c3.902-0.085,7.199-1.946,10.554-3.616c1.426-0.71,2.084-2.393,3.652-2.984+ c0.356-0.134,0.471-0.616,0.272-1.042c-0.152-0.325-0.445-0.487-0.765-0.48c-0.39,0.008-0.822,0.031-1.16,0.199+ c-1.538,0.764-3.161,0.062-4.728,0.32c-0.516,0.085-0.878-0.323-1.104-0.774c-0.143-0.285-0.234-0.596-0.364-0.888+ c-1.152-2.589-2.674-3.105-4.792-1.245c-1.466,1.288-3.261,1.587-4.894,2.335c-1.527,0.7-2.15,0.227-2.428-1.472+ c-0.491-2.997-1.005-5.992-1.391-9.002c-0.173-1.355-0.367-2.703-0.808-3.98c-0.398-1.152-0.171-1.774,1.009-2.168+ c1.212-0.406,2.374-0.964,3.328-1.858c1.939-1.817,1.473-5.333-0.862-6.584c-0.526-0.282-1.078-0.281-1.633-0.165+ c-0.544,0.114-1.07,0.352-1.616,0.403c-3.032,0.283-3.021,0.242-4.19-2.548c-0.895-2.135-1.64-4.353-2.617-6.418+ c-0.96-2.03-2.631-3.832-4.682-4.937c-1.432-0.772-2.926-1.61-4.735-1.465c-0.867,0.069-1.598-0.36-0.941-1.493+ c0.474-0.817,0.465-1.678,0.076-2.533c-0.434-0.954-1.15-1.625-2.224-1.484c-1.05,0.137-1.677,0.892-1.808,1.959+ c-0.068,0.549-0.024,1.111-0.03,1.667l0.042-0.039c-0.483,0.221-0.937,0.031-1.393-0.102c-0.809-0.237-1.232-0.684-0.917-1.588+ c0.544-1.564,0.386-3.146,0.125-4.741c-0.221-1.351-0.097-2.707,0.04-4.065c0.112-1.111,0.197-2.232,0.177-3.346+ c-0.033-1.929-0.88-3.45-2.73-4.122c-1.571-0.571-2.214-1.705-2.53-3.191c-0.581-2.734-0.664-5.324,0.427-8.086+ c1.996-5.051,3.138-10.385,4.272-15.698c0.3-1.407,0.688-2.759,1.292-4.09c1.08-2.379,0.96-5.021,1.086-7.553+ c0.372-7.509,0.332-15.034,0.102-22.544c-0.236-7.691-1.41-15.268-3.867-22.604c-0.189-0.565-0.627-1.128-0.191-1.909+ c1.612,1.38,2.997,2.821,3.75,4.86c1.044,2.827,1.918,3.327,4.862,2.906c1.234-0.177,2.219,0.334,3.161,0.878+ c2.669,1.539,5.027,1.202,7.195-0.919c0.114-0.111,0.265-0.187,0.369-0.306c3.499-3.999,7.917-4.076,12.29-2.251+ c3.992,1.666,6.942,0.704,9.667-2.212c0.988-1.057,2.093-1.915,3.409-2.589c2.689-1.376,3.101-2.455,2.332-5.364+ c-0.211-0.796-0.337-1.606-0.036-2.358c0.798-1.989,1.668-3.95,2.53-5.913c0.259-0.591,0.617-1.168,1.188-1.475+ c2.059-1.106,3.339-2.992,4.573-4.816c2.16-3.192,4.748-6.021,7.14-9.015c0.196-0.245,0.447-0.459,0.706-0.639+ c1.844-1.288,3.433-2.831,4.946-4.502c1.222-1.349,2.685-2.505,4.535-3.017c0.523-0.145,1.034-0.437,1.336-1.11+ c-1.154-1.524-2.731-1.978-4.596-1.7c-1.773,0.264-3.347,1.049-4.887,1.907c-0.981,0.547-1.853,0.995-2.458-0.514+ c-0.286-0.713-1.053-0.939-1.82-0.926c-0.399,0.007-0.8,0.037-1.194,0.101c-1.956,0.314-3.173-0.26-4.044-2.271+ c-1.379-3.182-4.896-3.789-8.133-1.689c-1.316,0.853-2.258,2.026-2.731,3.535c-0.239,0.762-0.391,1.552-0.643,2.309+ c-0.537,1.619-1.1,1.933-2.855,1.679c-0.475-0.069-0.949-0.146-1.426-0.195c-3.148-0.322-5.637,0.821-7.421,3.427+ c-1.155,1.687-2.478,3.084-4.54,3.691c-1.753,0.516-2.494,1.88-2.518,3.662c-0.03,2.246,0.146,4.478,0.554,6.684+ c0.267,1.445,0.887,2.732,1.993,3.746c1.957,1.795,2.371,3.916,1.234,6.296c-0.705,1.476-0.537,2.963-0.213,4.456+ c0.185,0.855,0.527,1.676,0.772,2.519c0.565,1.944,0.184,2.625-1.846,2.97c-4.898,0.831-9.862,0.839-14.806,1.047+ c-0.768,0.032-1.549-0.342-2.329-0.503c-1.168-0.242-1.789-0.996-1.996-2.12c-0.853-4.635-1.975-9.28-1.638-14.008+ c0.385-5.399,0.916-10.875,3.205-15.857c3.477-7.566,8.142-14.362,15.194-19.04c4.139-2.746,8.275-5.626,13.301-6.78+ c5.331-1.224,10.689-1.84,16.16-1.704c3.683,0.092,7.337,0.437,10.99,0.837c2.422,0.265,4.615,1.28,6.792,2.277+ c4.731,2.166,9.3,4.593,13.49,7.744c2.356,1.772,4.92,3.273,7.033,5.363c0.578,0.572,1.233,0.694,1.973,0.598+ c4.105-0.533,7.598,1.212,11.119,2.922c2.089,1.015,4.211,1.958,5.951,3.541c0.789,0.718,1.447,0.267,2.165-0.112+ c2.916-1.539,6.003-2.615,9.212-3.35c1.559-0.357,3.123-0.656,4.733-0.725c1.83-0.079,3.219-1.55,3.192-3.36+ c-0.037-2.436-0.449-4.714-2.21-6.644c-1.779-1.949-3.212-4.184-4.493-6.499c-2.736-4.945-3.286-10.197-1.43-15.471+ c2.638-7.493,8.267-11.934,15.702-14.268c0.301-0.094,0.664-0.228,0.935-0.142C527.259,75.072,528.789,74.388,530.339,73.788z+ M568.252,218.887c2.337-0.426,4.652-0.916,6.897-1.732c3.284-1.194,6.696-1.761,10.308-1.711+ c-0.437-0.683-1.03-0.704-1.501-0.945c-1.423-0.729-2.356-1.785-2.65-3.449c-0.448-2.539-1.927-3.262-4.283-2.267+ c-1.872,0.79-3.21,2.28-3.986,3.98c-1.128,2.473-2.833,4.367-4.755,6.157c-0.148,0.076-0.297,0.153-0.445,0.229+ c0.06,0.015,0.151,0.062,0.174,0.04C568.104,219.1,568.174,218.99,568.252,218.887z M461.72,256.377l-0.036-0.035+ c1.972,1.51,4.337,1.707,6.668,1.899c2.856,0.234,5.735,0.12,8.472,1.277c1.349,0.57,2.841,0.386,4.26,0.057+ c1.011-0.234,2.054-0.443,2.99-0.867c1.778-0.805,3.419-0.546,5.054,0.322c0.494,0.262,0.97,0.562,1.479,0.79+ c1.35,0.604,2.023,0.418,2.783-0.835c0.536-0.885,1.071-1.773,1.355-2.794c0.627-2.253,1.184-2.704,3.52-2.652+ c1.726,0.038,3.075-0.313,3.943-2.049c0.684-1.367,1.428-1.282,2.224,0.02c0.166,0.272,0.288,0.571,0.416,0.864+ c0.251,0.573,0.653,0.929,1.303,0.778c0.62-0.144,0.869-0.66,1.014-1.223c0.221-0.859-0.298-1.533-0.575-2.272+ c-0.753-2.01-1.185-4.085,0.177-5.962c1.054-1.453,1.153-2.919,0.724-4.535c-0.373-1.406-0.45-2.84-0.403-4.283+ c0.063-1.947-0.373-3.797-1.024-5.613c-1.193-3.325-2.864-6.394-4.873-9.295c-0.633-0.915-1.423-1.514-2.538-2+ c-0.145,1.26,0.258,2.154,0.764,2.943c1.445,2.253,2.125,4.688,2.535,7.342c0.766,4.954,0.726,9.676-1.81,14.196+ c-1.457,2.597-2.929,5.096-5.49,6.801c-5.193,3.456-11.003,4.954-17.103,5.709c-3.314,0.41-6.531-0.483-9.797-0.433+ c-4.766,0.073-9.373-0.82-13.97-1.914c-1.129-0.269-2.276-0.742-3.673-0.339c1.019,0.899,2.229,1.067,3.311,1.485+ c0.815,0.316,1.779,0.043,2.545,0.583C457.694,255.558,459.795,255.718,461.72,256.377z M565,352.469+ c1.034-0.253,1.793-0.01,2.561,0.221c0.887,0.266,1.766,0.207,2.516-0.369c2.017-1.547,4.342-1.964,6.793-1.857+ c1.654,0.072,3.015-0.493,3.992-1.78c1.661-2.187,3.813-3.866,5.725-5.792c1.313-1.322,2.554-1.818,4.461-1.176+ c2.978,1.003,5.998,0.149,8.529-1.296c3.645-2.081,6.692-4.957,7.861-9.275c0.245-0.906,0.705-1.664,1.696-1.816+ c2.488-0.382,4.203-1.774,5.467-3.886c0.361-0.603,0.946-1.08,1.46-1.584c1.119-1.097,1.915-2.354,2.069-3.95+ c0.125-1.29,0.794-2.227,1.847-2.938c0.53-0.357,1.049-0.736,1.539-1.146c2.759-2.307,4.07-6.514,2.823-9.512+ c-0.646-1.554-1.529-2.99-1.077-4.784c0.067-0.264-0.092-0.657-0.271-0.898c-0.948-1.278-1.725-2.821-2.964-3.708+ c-1.371-0.982-1.417-2.049-1.38-3.438c0.03-1.15,0.675-1.931,1.227-2.796c1.156-1.81,1.864-3.676,1.206-5.892+ c-1.071-3.606-3.399-5.457-7.18-5.502c-1.759-0.021-3.518,0.065-5.277,0.053c-1.474-0.01-2.662-0.503-3.117-2.085+ c-0.609-2.119-1.982-3.403-4.173-3.818c-0.848-0.161-1.294-0.603-1.426-1.603c-0.334-2.527-1.479-3.234-3.982-2.677+ c-2.081,0.464-4.005,1.383-5.377,2.978c-2.182,2.536-4.974,3.586-8.13,4.141c-1.044,0.183-1.613,0.031-2.121-0.912+ c-0.835-1.55-2.266-2.192-3.987-2.21c-0.895-0.01-1.75-0.14-2.537-0.594c-2.24-1.289-4.328-0.774-6.281,0.62+ c-3.319,2.371-5.945,5.321-7.445,9.181c-0.842,2.167-1.536,4.375-1.879,6.679c-0.227,1.522-1.064,2.428-2.572,2.772+ c-1.559,0.356-3.101,0.785-4.557,1.462c-1.705,0.792-3.375,1.796-3.972,3.624c-0.665,2.034-1.819,3.036-3.92,3.24+ c-0.838,0.082-1.676,0.531-2.437,0.951c-0.935,0.517-1.678,1.289-1.722,2.441c-0.061,1.611-1.047,2.633-2.161,3.576+ c-1.282,1.085-2.659,2.064-3.881,3.209c-2.875,2.694-2.815,5.188,0.286,7.612c1.306,1.021,2.019,2.135,2.133,3.786+ c0.165,2.404,1.523,3.963,3.789,4.746c0.378,0.131,0.744,0.296,1.125,0.413c1.258,0.388,1.817,1.25,1.698,2.537+ c-0.095,1.033-0.242,2.062-0.375,3.091c-0.277,2.15-0.061,4.215,1.547,5.808c1.315,1.302,1.774,2.777,1.584,4.561+ c-0.192,1.808,0.358,3.367,1.258,4.988c1.696,3.056,3.351,6.173,3.543,9.825c0.1,1.898,1.849,3.487,3.694,3.327+ c2.913-0.252,5.253,0.822,7.334,2.687c0.92,0.825,1.93,1.039,3.109,0.711c0.922-0.257,1.857-0.473,2.796-0.656+ c0.956-0.186,2.118-0.363,2.781,0.289c1.243,1.222,3.05,1.895,3.839,3.507c1.625,3.32,4.397,4.423,7.848,4.456+ c1.383,0.013,2.732,0.292,3.811,1.222c2.743,2.362,5.781,2.423,9.005,1.262c1.654-0.596,3.304-1.205,4.969-1.771+ c0.838-0.285,1.756-0.567,2.463,0.228c1.55,1.744,3.368,1.51,5.287,0.845c1.357-0.47,2.704-1.192,4.094-1.299+ c3.182-0.246,5.799-1.657,8.339-3.377c0.594-0.402,1.191-0.851,1.854-1.087c1.258-0.447,2.141-1.293,3.049-2.227+ c2.011-2.069,4.416-3.62,7.143-4.572c2.434-0.85,4.434-2.163,5.746-4.435c1.002-1.735,2.127-3.388,3.516-4.843+ c1.232-1.29,2.223-2.724,2.73-4.456c0.28-0.959,0.773-1.773,1.681-2.237c1.857-0.95,3.039-2.537,4.16-4.216+ c1.32-1.977,2.988-3.518,5.418-4.049c0.616-0.135,1.298-0.311,1.774-0.689c2.867-2.276,6.11-1.993,9.397-1.497+ c1.355,0.205,2.706,0.436,4.058,0.656c-1.329-0.982-2.608-1.804-4.32-1.888c-1.219-0.06-2.524-0.278-3.664-0.984+ c-0.844-0.523-1.839-0.48-2.804-0.296c-1.483,0.283-2.955,0.936-4.367,1.086c-3.595,0.382-6.231,2.475-8.825,4.488+ c-2.175,1.688-4.402,3.458-5.986,5.832c-0.378,0.567-0.968,1.287-1.757,0.989c-1.79-0.676-3.257,0.178-4.826,0.736+ c-0.976,0.347-2.078,0.617-3.021,0.077c-0.796-0.456-0.394-1.465-0.562-2.22c-0.017-0.078-0.021-0.159-0.037-0.237+ c-0.585-2.794-2.484-4.143-5.34-3.745c-0.895,0.125-1.752,0.043-2.608-0.198c-1.198-0.338-2.174-0.017-3.032,0.89+ c-1.375,1.452-2.828,2.829-4.195,4.288c-1.091,1.165-0.993,1.738,0.361,2.669c1.136,0.781,2.423,1.208,3.75,1.541+ c1.616,0.406,3.234,0.757,4.832,1.293c2.636,0.884,5.312,1.964,8.311,1.381c-2.604,2.279-5.114,4.586-8.198,6.136+ c-0.297,0.149-0.647,0.336-0.865,0.039c-1.421-1.941-3.732-1.576-5.648-2.22c-1.203-0.404-2.207-0.02-2.99,0.939+ c-0.456,0.559-0.843,1.213-1.549,1.463c-3.668,1.299-6.494,4.03-9.901,5.813c-2.446,1.28-4.699,1.002-7.372,1.123+ c0.766-1.18,1.869-1.798,1.403-3.014c-0.5-1.303-1.704-0.907-2.695-0.994c-0.159-0.014-0.319-0.02-0.479-0.033+ c-2.517-0.202-2.638-0.08-2.64,2.557c0,0.217-0.098,0.434-0.106,0.469c-5.022,1.063-9.472-0.455-13.991-2.183+ C571.658,359.49,567.99,356.675,565,352.469z M549.144,194.074c0,0.24-0.014,0.481,0.003,0.719+ c0.036,0.526-0.269,1.188,0.339,1.513c0.62,0.331,0.999-0.328,1.459-0.576c3.784-2.037,6.554-5.275,9.585-8.195+ c1.085-1.045,2.064-2.2,2.915-3.477c0.775-1.164,0.597-2.094-0.252-3.012c-0.541-0.585-1.184-1.074-1.739-1.647+ c-2.256-2.334-3.521-4.881-2.113-8.22c0.622-1.474,1.241-2.941,1.99-4.353c0.922-1.737,1.378-3.576,1.173-5.547+ c-0.356-3.425-3.033-4.631-5.796-2.604c-0.901,0.661-1.732,1.421-2.64,2.072c-0.575,0.412-1.239,0.885-1.984,0.51+ c-0.786-0.395-0.63-1.222-0.629-1.926c0.003-1.791,0.62-3.453,1.165-5.121c0.476-1.456,0.866-2.916,0.687-4.464+ c-0.237-2.05-1.421-3.48-3.105-3.804c-0.914-0.176-2.031,0.32-2.714-0.566c-0.653-0.846-0.483-1.991-0.733-2.99+ c-0.077-0.308-0.064-0.638-0.126-0.95c-0.46-2.301-1.264-4.476-2.679-6.356c-2.509-3.335-6.427-3.221-8.802,0.212+ c-0.787,1.137-1.238,2.415-1.434,3.778c-0.205,1.425-0.321,2.855-0.323,4.3c-0.003,1.998-0.081,3.996-0.16,5.993+ c-0.052,1.323-0.429,2.514-1.553,3.361c-1.682,1.269-1.739,2.964-1.108,4.748c0.371,1.049,0.826,2.097,1.421,3.033+ c1.48,2.33,2.28,4.911,3.091,7.511c0.744,2.385,0.811,4.603-0.341,6.954c-1.179,2.405-0.421,4.419,1.761,6.072+ c1.387,1.051,3.032,1.426,4.667,1.776c1.966,0.421,3.585,1.395,4.839,2.91C548.002,188.136,549.152,190.9,549.144,194.074z+ M558.547,260.355c1.883-0.558,3.517-1.053,5.158-1.525c1.29-0.371,2.598-0.634,3.156-2.155c0.173-0.47,0.748-0.819,1.189-1.158+ c1.434-1.103,2.329-0.91,3.079,0.822c0.281,0.65,0.594,0.912,1.208,0.828c2.006-0.275,3.938-1.245,6.036-0.625+ c3.72-1.16,7.507-1.235,11.347-0.791c1.502,0.174,3.029,0.154,4.546,0.169c3.77,0.038,7.494,0.439,11.143,1.395+ c0.968,0.254,1.962,0.427,2.703,1.347c0.581,0.721,1.441,0.365,1.431-0.571c-0.016-1.416,0.346-2.948-0.516-4.215+ c-0.842-1.237-0.494-2.229,0.273-3.272c0.33-0.448,0.643-0.924,0.87-1.43c0.76-1.697,0.301-3.202-1.494-3.597+ c-2.766-0.607-5.091-1.667-6.799-4.009c-0.486-0.667-1.451-0.846-1.91-1.721c-0.977-1.862-1.484-2.095-3.419-1.534+ c-1.772,0.514-3.594,0.747-5.373,1.194c-1.905,0.479-3.365,0.231-4.932-1.305c-2.816-2.762-6.554-1.744-7.969,1.899+ c-0.937,2.413-2.381,4.306-4.85,5.321c-0.962,0.395-1.824,0.989-2.567,1.737c-0.636,0.64-1.18,1.349-1.176,2.284+ c0.01,2.228-1.297,3.475-3.102,4.435c-2.83,1.506-4.997,3.952-7.768,5.551C558.717,259.484,558.723,259.714,558.547,260.355z+ M447.374,242.829c0.282-2.13,0.882-4.188,1.265-6.287c0.214-1.176-0.3-2.437,0.179-3.567c1.026-2.423,1.994-4.896,3.31-7.161+ c0.917-1.577,1.569-3.466,2.765-4.691c3.224-3.303,6.318-6.774,10.103-9.512c4.446-3.216,9.299-4.821,14.814-4.251+ c1.905,0.197,3.799,0.6,5.725,0.481c1.332-0.082,2.462,0.311,3.616,0.967c2.243,1.276,4.932,1.895,6.167,4.557+ c0.218,0.469,0.758,0.492,1.265,0.262c0.596-0.27,0.514-0.71,0.373-1.195c-0.432-1.481-1.27-2.744-2.277-3.864+ c-0.93-1.033-1.803-2.217-2.053-3.461c-0.325-1.612-1.139-2.68-2.171-3.83c-2.816-3.138-2.729-3.051-6.88-1.896+ c-4.39,1.221-5.403,0.22-7.116-2.807c-0.432-0.765-0.828-1.55-1.259-2.316c-0.194-0.346-0.435-0.724-0.895-0.647+ c-0.442,0.074-0.574,0.509-0.743,0.869c-0.527,1.13-0.095,2.178,0.251,3.247c0.601,1.855,0.428,2.966-1.169,3.631+ c-2.26,0.94-4.127,2.301-5.897,3.924c-0.561,0.514-1.409,0.729-2.145,1.034c-0.751,0.311-1.513,0.635-1.908,1.371+ c-0.603,1.122-1.592,1.755-2.643,2.351c-1.409,0.799-2.725,1.684-3.181,3.396c-0.076,0.287-0.3,0.593-0.543,0.768+ c-2.117,1.523-2.812,3.794-3.301,6.178c-0.293,1.43-0.915,2.682-1.749,3.896c-1.968,2.866-3.095,6.194-3.777,9.496+ C446.9,236.676,447.374,239.801,447.374,242.829z M492.365,129.338c-1.466-0.218-2.523-0.977-3.694-1.474+ c-3.681-1.561-6.315,0.026-6.295,3.988c0.014,2.857-1.177,4.643-3.787,5.684c-1.618,0.645-2.722,1.933-2.44,3.709+ c0.248,1.561,0.083,2.969-0.333,4.436c-0.145,0.51-0.141,1.158,0.046,1.647c0.467,1.225,0.155,2.284-0.237,3.463+ c-0.806,2.425-2.244,4.385-3.982,6.18c-1.055,1.091-2.124,2.169-3.147,3.289c-0.349,0.382-0.902,0.884-0.372,1.413+ c0.404,0.403,0.904-0.022,1.25-0.321c1.034-0.895,2.05-1.759,3.577-1.552c0.257,0.035,0.593-0.227,0.835-0.423+ c1.006-0.815,2.175-0.913,3.399-0.864c0.636,0.025,1.286,0.052,1.912-0.042c1.852-0.28,3.313-2.028,2.781-3.778+ c-0.995-3.271-0.085-6.363,0.67-9.41c1.175-4.743,3.863-8.712,7.236-12.209C490.782,132.037,491.755,131,492.365,129.338z+ M638.127,318.49c1.82-8.793-1.126-20.995-4.532-27.376c0.847,4.124,0.414,8.295,0.637,12.44+ c0.038,0.712,0.088,1.392,0.005,2.107c-0.325,2.781-0.974,5.498-1.552,8.23c-0.159,0.753-0.476,1.615,0.411,2.173+ C634.636,317.029,636.104,318.155,638.127,318.49z M496.205,170.987c-1.051-0.013-2.069,0.194-3.031,0.593+ c-1.745,0.724-2.256,1.829-1.647,3.637c0.579,1.72,1.657,3.02,3.26,3.963c1.152,0.678,2.146,0.889,3.304,0.095+ c0.63-0.431,1.237-0.753,2.185-0.408c1.417,0.516,2.253,0.083,2.597-0.864c0.376-1.035-0.046-2.255-1.221-2.752+ c-0.763-0.323-1.056-0.717-1.298-1.472C499.682,171.681,498.551,170.985,496.205,170.987z M611.856,276.491+ c0.159-0.009,0.319-0.007,0.476-0.027c1.443-0.185,2.9-0.449,3.723-1.8c0.857-1.406-0.247-2.367-0.986-3.378+ c-0.047-0.064-0.078-0.138-0.118-0.207c-2.096-3.618-2.357-3.701-6.116-1.93c-0.287,0.135-0.592,0.239-0.866,0.396+ c-1.147,0.654-1.735,1.66-1.579,2.965c0.176,1.464,0.618,2.921,2.204,3.385C609.638,276.2,610.719,276.577,611.856,276.491z+ M549.361,228.26c-0.916,0.223-1.668,0.42-2.426,0.587c-0.873,0.192-1.754,0.151-2.602-0.103+ c-3.827-1.147-7.012,2.252-6.239,6.045c0.302,1.482,0.546,2.96-0.015,4.443c0.841,0.122,1.196-0.348,1.575-0.732+ c1.343-1.36,2.734-2.681,3.983-4.124c0.961-1.109,1.982-2.05,3.373-2.565C548.482,231.264,549.408,230.288,549.361,228.26z+ M489.269,333.708c2.258,0.261,4.033,0.574,5.818,0.652c5.032,0.219,10.061-0.149,15.092-0.204+ c0.472-0.005,0.961-0.072,1.408-0.215c0.473-0.151,0.894-0.527,0.811-1.052c-0.204-1.297-1.157-2.045-2.196-2.689+ c-0.839-0.52-1.63-0.482-2.428,0.149c-2.66,2.106-5.589,2.921-8.926,1.844c-0.908-0.293-1.868-0.421-2.798-0.653+ C493.558,330.917,491.586,331.924,489.269,333.708z M534.751,335.752c0.268-0.039,0.662-0.092,1.055-0.154+ c1.422-0.221,2.645-0.78,3.064-2.277c0.427-1.523-0.416-2.59-1.52-3.495c-0.738-0.605-1.467-1.221-2.228-1.796+ c-1.467-1.109-5.577,0.146-6.179,1.879c-0.189,0.545-0.143,1.103,0.026,1.646C529.518,333.311,532.806,335.748,534.751,335.752z+ M589.99,352.045c1.916,0.027,3.634-1.136,4.286-2.836c0.681-1.776-0.205-2.863-1.554-3.792+ c-0.258-0.178-0.459-0.437-0.698-0.645c-0.892-0.779-1.901-0.827-2.867-0.256c-1.464,0.865-2.613,2.053-3.224,3.686+ c-0.198,0.529-0.449,1.195,0.017,1.571C587.158,350.749,588.225,352.04,589.99,352.045z M396.401,203.795+ c0.367-0.095,1.014-0.178,1.59-0.428c1.279-0.555,2.501-1.301,2.556-2.866c0.051-1.436-0.981-2.277-2.131-2.941+ c-0.889-0.514-1.921-0.744-2.692-1.509c-0.438-0.434-1.034-0.306-1.561-0.012c-1.658,0.927-2.449,2.697-1.993,4.47+ C392.792,202.932,393.868,203.824,396.401,203.795z M704.098,260.633c0.162,1.282,0.767,1.945,1.169,2.691+ c1.791,3.323,3.204,6.755,3.255,10.616c0.016,1.2,0.039,2.533,0.818,3.439c1.324,1.538,2.677,3.056,4.031,4.976+ C712.811,275.19,707.485,262.572,704.098,260.633z M514.076,370.174c-0.06-0.374-0.081-1.025-0.273-1.622+ c-0.899-2.799-3.389-3.052-4.929-1.233c-0.257,0.304-0.52,0.607-0.812,0.876c-0.94,0.866-2.092,1.688-1.625,3.185+ c0.489,1.57,2.105,1.5,3.327,1.963c0.282,0.107,0.632,0.069,0.947,0.045C512.884,373.22,514.037,372.2,514.076,370.174z+ M612.842,330.752c-2.248,0.015-3.519,0.982-3.54,2.691c-0.031,2.645,0.901,3.923,2.816,3.858+ c2.58-0.088,4.601-1.803,4.582-3.889C616.685,331.743,615.224,330.735,612.842,330.752z M565.47,366.734+ c-1.842-0.118-2.836,1.656-3.018,4.121c-0.141,1.902,1.455,3.181,3.651,3.121c2.003-0.055,3.123-1.164,3.12-3.092+ C569.22,368.726,567.405,366.718,565.47,366.734z M584.471,272.704c2.252-0.061,3.843-2.156,3.052-4.022+ c-0.719-1.697-3.094-2.988-4.899-2.663c-1.399,0.252-2.341,1.289-2.344,2.583C580.275,270.638,582.442,272.759,584.471,272.704z+ M515.114,297.044c1.232,0.363,2.111-0.048,2.54-1.178c0.436-1.149-0.039-2.036-1.117-2.537+ c-0.563-0.262-0.784-0.751-1.105-1.195c-0.723-1-1.689-1.425-2.909-1.108c-1.258,0.326-2.034,1.321-2.199,2.801+ c-0.147,1.319-0.037,2.562,1.206,3.384c0.569,0.376,1.185,0.416,1.821,0.169C513.93,297.154,514.481,296.748,515.114,297.044z+ M680.74,313.322c2.309-1.864,3.671-4.417,4.828-7.142c2.18-5.137,2.735-6.874,2.425-8.333c-0.894,0.963-1.604,2.001-2.193,3.14+ c-0.472,0.913-0.9,1.895-1.831,2.461c-1.115,0.677-1.558,1.74-1.882,2.927C681.459,308.684,681.028,311.026,680.74,313.322z+ M614.433,192.798c-0.035,1.297,0.223,2.533,0.879,3.655c0.459,0.785,1.096,1.409,2.1,1.294c0.878-0.1,1.389-0.711,1.694-1.495+ c0.5-1.285,0.681-2.62,0.419-3.975c-0.306-1.58-1.615-2.691-2.954-2.597C615.112,189.781,614.42,190.79,614.433,192.798z+ M689.684,290.482c0.011-0.726-0.09-1.427-0.386-2.1c-0.397-0.899-0.869-1.783-1.896-2.005c-1.178-0.254-1.636,0.762-2.206,1.506+ c-0.29,0.378-0.565,0.774-0.8,1.188c-0.708,1.246-0.589,2.458,0.278,3.573c0.765,0.983,2.08,1.327,3.229,0.915+ C689.085,293.134,689.661,292.14,689.684,290.482z M635.667,340.528c1.265,0.171,2.449-0.819,2.889-2.353+ c0.385-1.343-0.222-2.449-1.592-2.623c-1.578-0.201-3.185-0.105-4.732,0.24c-1.521,0.339-1.784,1.373-0.899,2.66+ C632.41,340.016,634.229,339.925,635.667,340.528z M452.593,208.98c1.019,0.013,2.451-0.583,3.252-1.352+ c1.397-1.341,1.181-2.788-0.534-3.641c-1.051-0.523-2.172-0.543-3.284-0.38c-1.489,0.218-2.344,1.144-2.271,2.321+ C449.851,207.461,451.247,208.964,452.593,208.98z M492.731,354.665c-0.001,0.027-0.002,0.053-0.003,0.08+ c-0.474,0-0.951-0.032-1.422,0.007c-0.746,0.062-1.406,0.335-1.702,1.086c-0.301,0.766,0.003,1.361,0.6,1.88+ c0.713,0.62,1.342,1.344,2.084,1.925c0.958,0.749,2.03,0.908,3.059,0.116c0.923-0.71,1.556-1.631,1.344-2.856+ c-0.217-1.255-1.16-1.836-2.31-2.09C493.847,354.695,493.282,354.71,492.731,354.665z M546.955,438.203+ c-0.397,0.025-0.797,0.035-1.192,0.077c-2.005,0.213-2.426,0.977-1.6,2.886c0.708,1.637,4.237,2.774,5.742,1.836+ c0.77-0.48,0.973-1.202,0.816-2.068C550.402,439.18,548.858,438.05,546.955,438.203z M554.872,287.118+ c-0.037-2.062-1.565-3.739-3.315-3.637c-1.504,0.087-2.644,1.16-2.678,2.519c-0.039,1.569,1.991,3.536,3.597,3.486+ C553.97,289.438,554.897,288.521,554.872,287.118z M738.092,275.227c-1.102-0.035-1.883,0.282-2.247,0.866+ c-0.492,0.79-0.239,1.51,0.227,2.206c0.395,0.591,0.729,1.237,1.198,1.761c1.025,1.143,2.747,1.135,3.787,0.052+ c1.074-1.119,1.033-2.401-0.165-3.531C740.069,275.802,739.087,275.312,738.092,275.227z M626.461,175.556+ c1.623-0.027,3.035-1.165,3.051-2.458c0.018-1.453-1.533-2.651-3.413-2.636c-1.7,0.014-3.075,1.079-3.068,2.377+ C623.038,174.178,624.813,175.584,626.461,175.556z M389.684,238.43c-0.103-0.415-0.194-0.969-0.381-1.487+ c-0.347-0.966-0.957-1.717-2.081-1.66c-1.19,0.06-1.853,0.856-2.166,1.932c-0.226,0.777-0.194,1.584-0.003,2.371+ c0.334,1.375,1.149,2.225,2.145,2.268c1.058,0.046,2.042-0.917,2.359-2.333C389.627,239.213,389.633,238.889,389.684,238.43z+ M566.122,175.074c-0.058-1.662-1.568-3.394-2.861-3.281c-1.25,0.109-2.107,1.494-2.052,3.319+ c0.005,0.159,0.009,0.318,0.032,0.475c0.238,1.643,1.332,2.661,2.647,2.468C565.147,177.871,566.172,176.502,566.122,175.074z+ M501.064,410.93c-0.076-2.266-0.807-3.351-2.233-3.318c-1.598,0.037-3.551,1.489-3.532,2.626+ c0.023,1.36,1.727,2.682,3.402,2.639C500.415,412.833,501.109,412.262,501.064,410.93z M703.335,318.771+ c0.074-0.647,0.163-1.041,0.157-1.435c-0.022-1.623-1.013-2.309-2.514-1.764c-1.498,0.544-2.228,1.714-2.091,3.351+ c0.123,1.463,1.167,2.315,2.795,2.283c1.343-0.027,1.579-0.343,1.651-2.214C703.34,318.835,703.335,318.676,703.335,318.771z+ M669.579,342.931c-0.313-0.777-0.315-1.872-1.108-2.461c-1.088-0.809-4.32,0.069-5.017,1.232+ c-0.474,0.791-0.358,1.499,0.227,2.198c0.534,0.639,1.048,1.273,1.997,0.839c0.892-0.408,1.852-0.458,2.793-0.626+ C669.039,344.01,669.535,343.742,669.579,342.931z M615.035,261.168c1.723,0.021,2.606-0.697,2.574-2.094+ c-0.031-1.356-1.5-2.7-2.891-2.646c-1.383,0.054-2.866,1.525-2.815,2.793C611.949,260.355,613.221,261.146,615.035,261.168z+ M666.605,243.138c0.026-0.753-0.275-1.413-0.66-2.018c-0.557-0.874-1.163-1.718-1.782-2.55+ c-0.307-0.412-0.517-1.155-1.224-0.837c-0.625,0.281-0.902,0.959-0.794,1.615c0.167,1.02,0.505,2.012,0.716,3.026+ c0.195,0.938,0.731,1.509,1.568,1.965C665.919,245.152,666.557,244.838,666.605,243.138z M465.439,289.647+ c1.28,0.039,2.002-0.621,1.997-1.823c-0.007-1.505-1.079-2.684-2.459-2.704c-1.517-0.022-3.163,1.144-3.253,2.306+ C461.628,288.659,463.166,289.578,465.439,289.647z M531.275,139.718c-0.037-1.321-0.237-2.075-0.836-2.66+ c-0.588-0.575-1.274-0.975-2.129-0.709c-0.868,0.27-1.199,0.998-1.273,1.821c-0.101,1.123,0.029,2.228,0.811,3.118+ c0.924,1.053,2.229,0.924,2.96-0.263C531.147,140.471,531.282,139.859,531.275,139.718z M541.945,185.622+ c-0.829,0.031-1.376,0.503-1.56,1.397c-0.294,1.434,1.058,3.546,2.495,3.904c1.348,0.336,2.516-0.72,2.378-2.15+ C545.142,187.569,543.246,185.719,541.945,185.622z M406.975,346.526c1.527,0.05,3.087-0.963,3.083-2.001+ c-0.004-0.997-1.38-2.097-2.734-2.187c-1.445-0.095-2.652,0.82-2.7,2.048C404.579,345.542,405.612,346.482,406.975,346.526z+ M418.168,170.867c0.237,0,0.476,0.017,0.711-0.003c0.69-0.061,1.216-0.378,1.414-1.068c0.18-0.627-0.179-1.033-0.646-1.399+ c-0.558-0.437-1.049-0.963-1.628-1.367c-1.113-0.776-2.549-0.535-3.136,0.47c-0.564,0.965-0.165,2.099,1.018,2.777+ C416.596,170.674,417.351,170.914,418.168,170.867z M452.893,309.005c1.288-0.045,2.386-0.898,2.429-1.887+ c0.038-0.862-2.015-2.557-3.114-2.571c-1.126-0.014-2.079,1.065-1.987,2.251C450.323,308.101,451.477,309.055,452.893,309.005z+ M618.579,465.377c-0.01-1.208-1.097-2.195-2.362-2.144c-1.14,0.046-2.387,1.231-2.369,2.251+ c0.016,0.905,1.441,2.384,2.317,2.405C617.301,467.917,618.589,466.576,618.579,465.377z M433.077,297.629+ c-0.842-0.123-1.573,0.053-2.114,0.765c-0.368,0.484-0.466,0.971-0.152,1.537c0.654,1.179,2.44,1.915,3.707,1.433+ c0.937-0.356,1.724-0.967,1.587-2.09c-0.121-0.999-0.904-1.429-1.845-1.554C433.868,297.668,433.47,297.658,433.077,297.629z+ M664.76,316.105c-0.057-1.182-1.179-2.081-2.502-2.005c-1.222,0.071-2.169,0.984-2.175,2.098+ c-0.007,1.262,1.225,2.572,2.375,2.526C663.606,318.678,664.817,317.3,664.76,316.105z M563.097,247.529+ c-0.222,0.046-0.625,0.081-0.994,0.212c-1.113,0.396-1.728,1.362-1.564,2.387c0.171,1.07,0.941,1.525,2.362,1.438+ c0.737-0.045,1.407-0.3,2.043-0.628c1.197-0.616,1.341-1.492,0.468-2.479C564.84,247.812,564.084,247.618,563.097,247.529z+ M660.686,288.999c-1.2-0.148-1.945,0.321-2.06,1.216c-0.126,0.983,1.26,3.136,2.223,3.434c0.69,0.214,1.259-0.026,1.689-0.56+ c0.575-0.713,0.893-1.509,0.472-2.418C662.533,289.643,661.646,289.181,660.686,288.999z M462.821,350.807+ c-1.473-0.015-2.386,0.742-2.436,2.018c-0.055,1.42,0.768,2.444,1.987,2.472c1.495,0.034,2.828-1.078,2.793-2.329+ C465.13,351.715,464.16,350.821,462.821,350.807z M410.835,218.541c-1.231,0.019-2.537,1.432-2.498,2.705+ c0.034,1.115,0.87,1.913,1.994,1.905c1.375-0.011,2.539-1.261,2.466-2.648C412.738,219.373,411.89,218.525,410.835,218.541z+ M659.502,172.463c0.013-1.664-0.722-2.884-1.796-2.977c-1.115-0.096-1.684,0.847-1.723,2.855+ c-0.03,1.532,0.545,2.345,1.685,2.383C658.831,174.762,659.49,173.95,659.502,172.463z M607.722,239.063+ c-1.435-0.031-2.347,0.937-1.895,2.01c0.464,1.102,2.662,2.31,3.787,2.081c0.894-0.182,1.405-0.946,1.165-1.742+ C610.443,240.296,608.87,239.088,607.722,239.063z M742.856,350.875c0.978-0.065,1.607-0.887,1.551-2.026+ c-0.069-1.403-1.193-2.59-2.369-2.502c-1.03,0.077-1.805,1.038-1.756,2.181C740.333,349.711,741.694,350.953,742.856,350.875z+ M404.408,195.438c0.027-1.082-1.005-2.102-2.142-2.121c-1.209-0.019-2.282,0.914-2.267,1.972+ c0.015,1.083,1.049,2.116,2.158,2.155C403.313,197.485,404.381,196.533,404.408,195.438z M669.884,209.844+ c1.318,0.024,2.538-1.072,2.564-2.305c0.025-1.209-0.751-2.046-1.857-2.002c-1.194,0.047-2.435,1.305-2.467,2.499+ C668.096,209.116,668.785,209.824,669.884,209.844z M646.389,110.428c-0.801,0.095-1.265,0.637-1.312,1.555+ c-0.072,1.375,1.207,3.042,2.418,3.119c0.914,0.058,1.528-0.408,1.753-1.274C649.551,112.654,647.723,110.41,646.389,110.428z+ M450.197,344.625c0.034-1.205-0.967-2.471-2.023-2.56c-0.997-0.084-2.153,1.004-2.196,2.068+ c-0.043,1.046,1.166,2.344,2.23,2.394C449.269,346.577,450.167,345.718,450.197,344.625z M485.913,266.279+ c0.044-1.11-1.102-2.134-2.388-2.135c-1.086-0.001-1.968,0.75-1.941,1.653c0.022,0.728,1.63,2.212,2.482,2.29+ C484.919,268.166,485.876,267.229,485.913,266.279z M472.978,150.752c-0.013-0.914-1.158-1.74-2.476-1.786+ c-1.08-0.038-2.031,0.877-1.99,1.915c0.041,1.041,0.976,1.834,2.113,1.791C471.864,152.625,472.992,151.705,472.978,150.752z+ M581.59,467.817c1.044,0.023,1.834-0.644,1.784-1.507c-0.056-0.958-1.441-2.204-2.508-2.254+ c-0.961-0.046-1.755,0.667-1.747,1.57C579.128,466.688,580.371,467.79,581.59,467.817z M453.547,116.177+ c0.095-1.082-0.557-1.865-1.605-1.929c-1.258-0.076-2.611,1.017-2.697,2.181c-0.071,0.952,0.519,1.621,1.531,1.736+ C452.149,118.321,453.44,117.395,453.547,116.177z M418.985,276.073c-0.016-1.213-0.759-1.991-1.869-1.955+ c-1.123,0.036-1.956,1.014-1.917,2.25c0.037,1.151,0.872,2.037,1.887,2.001C418.15,278.332,419.001,277.303,418.985,276.073z+ M703.958,265.42c-0.197-1.112-0.668-2.078-1.841-2.514c-1.182-0.44-2.128,0.332-1.819,1.555+ c0.189,0.749,0.563,1.481,0.989,2.131c0.354,0.54,0.948,0.856,1.652,0.572C703.698,266.858,703.977,266.246,703.958,265.42z+ M497.968,166.659c0.902-0.046,1.683-1.042,1.601-2.041c-0.091-1.097-1.156-1.969-2.358-1.93+ c-1.113,0.036-1.88,0.816-1.775,1.806C495.55,165.582,496.876,166.715,497.968,166.659z M548.191,223.027+ c0.005-0.947-1.245-2.024-2.307-1.987c-0.875,0.031-1.575,0.857-1.519,1.795c0.062,1.047,1.012,1.862,2.114,1.814+ C547.456,224.607,548.186,223.915,548.191,223.027z M412.198,148.315c0.048-0.944-0.879-2.009-1.853-2.129+ c-0.964-0.119-1.86,0.67-1.882,1.658c-0.023,1.014,0.89,1.932,1.949,1.963C411.378,149.834,412.154,149.186,412.198,148.315z+ M539.017,340.685c0.005-0.933-0.681-1.671-1.606-1.727c-1.049-0.064-1.994,0.861-1.975,1.933+ c0.016,0.915,0.758,1.738,1.595,1.771C538.007,342.699,539.011,341.7,539.017,340.685z M746.569,317.486+ c-0.035-0.692-0.574-1.156-1.291-1.112c-1.177,0.073-2.377,1.289-2.294,2.357c0.065,0.844,0.536,1.336,1.398,1.295+ C745.375,319.979,746.62,318.491,746.569,317.486z M427.598,118.86c0.017-1.015-0.627-1.742-1.551-1.748+ c-0.989-0.006-1.756,0.768-1.815,1.836c-0.057,1.014,0.544,1.829,1.404,1.906C426.614,120.94,427.58,119.959,427.598,118.86z+ M602.376,438.642c0.016-0.798-1.197-1.793-2.167-1.777c-0.895,0.015-1.47,0.823-1.464,2.061+ c0.005,0.944,0.461,1.487,1.424,1.478C601.222,440.395,602.359,439.457,602.376,438.642z M589.566,263.898+ c-0.061-0.943-1.014-1.727-1.989-1.58c-0.883,0.133-1.421,0.673-1.473,1.577c-0.054,0.933,0.868,1.736,1.877,1.696+ C588.921,265.554,589.624,264.803,589.566,263.898z M596.673,214.44c-0.547-1.362-1.391-1.754-2.489-1.797+ c-1.672-0.066-2.869,0.754-3.886,1.991C592.368,214.35,594.412,214.601,596.673,214.44z M502.667,258.022+ c-1.033,0.06-1.865,1.209-1.725,2.308c0.103,0.81,0.535,1.341,1.409,1.332c0.971-0.009,1.719-1.105,1.601-2.281+ C503.868,258.542,503.424,258.083,502.667,258.022z M544.436,353.321c-0.958-0.02-1.631,0.629-1.677,1.614+ c-0.046,1.009,0.585,1.719,1.531,1.72c1.017,0.001,1.906-0.82,1.884-1.739C546.152,354.034,545.397,353.341,544.436,353.321z+ M628.189,166.16c0.821-0.087,1.353-0.598,1.407-1.521c0.055-0.958-0.927-1.891-1.842-1.744+ c-0.917,0.148-1.364,0.761-1.363,1.672C626.392,165.523,627.14,166.207,628.189,166.16z M702.469,160.099+ c0.073-0.682-0.984-1.837-1.82-1.921c-0.837-0.084-1.357,0.344-1.47,1.171c-0.124,0.909,0.737,1.842,1.711,1.883+ C701.699,161.265,702.231,160.877,702.469,160.099z M526.384,114.704c0.856-0.095,1.393-0.598,1.472-1.522+ c0.078-0.924-0.673-1.773-1.562-1.754c-0.957,0.02-1.445,0.621-1.556,1.504C524.631,113.79,525.471,114.683,526.384,114.704z+ M604.396,266.792c0.835-0.024,1.614-0.881,1.577-1.735c-0.039-0.905-0.83-1.605-1.74-1.509+ c-0.926,0.097-1.388,0.657-1.421,1.562C602.778,266.024,603.543,266.817,604.396,266.792z M723.139,183.494+ c-0.927,0.029-1.803,1.06-1.718,1.999c0.077,0.85,0.587,1.26,1.423,1.285c1.063,0.031,1.902-0.769,1.794-1.759+ C724.539,184.113,723.99,183.611,723.139,183.494z M406.963,222.343c0.041-1.111-0.671-1.94-1.533-1.875+ c-0.897,0.068-1.448,0.595-1.544,1.493c-0.092,0.86,0.707,1.707,1.586,1.695C406.414,223.643,406.874,223.085,406.963,222.343z+ M682.196,334.115c-0.747,0.069-1.206,0.523-1.1,1.384c0.118,0.957,0.638,1.61,1.66,1.669c0.79,0.046,1.572-0.729,1.557-1.462+ C684.295,334.865,683.281,334.061,682.196,334.115z M603.921,105.169c-0.893,0.028-1.739,0.815-1.714,1.666+ c0.026,0.891,0.579,1.264,1.425,1.217c0.93-0.052,1.837-0.871,1.753-1.632C605.293,105.588,604.767,105.168,603.921,105.169z+ M574.403,375.084c-0.037-0.767-0.423-1.319-1.237-1.453c-0.764-0.126-1.504,0.606-1.517,1.459+ c-0.012,0.821,0.393,1.372,1.202,1.512C573.566,376.726,574.362,375.924,574.403,375.084z M483.758,193.776+ c-0.045-0.809-1.007-1.616-1.855-1.495c-0.698,0.1-1.197,0.471-1.155,1.264c0.046,0.868,0.963,1.628,1.836,1.499+ C483.289,194.941,483.749,194.552,483.758,193.776z M647.261,158.672c-0.1-0.795-0.486-1.411-1.32-1.438+ c-0.865-0.028-1.306,0.588-1.273,1.398c0.033,0.817,0.536,1.337,1.394,1.306C646.829,159.912,647.134,159.356,647.261,158.672z+ M572.551,243.502c-0.079-0.81-0.497-1.372-1.324-1.357c-0.813,0.014-1.318,0.565-1.292,1.383+ c0.022,0.698,0.48,1.176,1.198,1.225C571.98,244.811,572.423,244.318,572.551,243.502z M642.995,106.333+ c0.82-0.119,1.347-0.576,1.309-1.391c-0.033-0.706-0.547-1.138-1.268-1.108c-0.82,0.034-1.322,0.516-1.276,1.357+ C641.799,105.919,642.297,106.272,642.995,106.333z M745.785,280.342c0.71,0.015,1.157-0.379,1.152-1.119+ c-0.005-0.769-0.379-1.388-1.197-1.516c-0.732-0.114-1.194,0.285-1.313,1.013C744.292,279.541,744.903,280.279,745.785,280.342z+ M458.92,197.36c-0.039-0.785-0.433-1.271-1.174-1.284c-0.749-0.014-1.163,0.52-1.24,1.214c-0.081,0.731,0.321,1.299,1.038,1.368+ C458.409,198.741,458.801,198.127,458.92,197.36z M608.29,342.806c0.841-0.057,1.311-0.491,1.294-1.367+ c-0.015-0.754-0.42-1.234-1.17-1.226c-0.832,0.009-1.332,0.491-1.32,1.363C607.104,342.333,607.529,342.735,608.29,342.806z+ M396.481,256.325c0.679-0.064,1.14-0.488,1.103-1.217c-0.036-0.703-0.483-1.175-1.247-1.173+ c-0.77,0.001-1.221,0.462-1.184,1.189C395.189,255.824,395.668,256.255,396.481,256.325z M706.18,309.699+ c-0.682,0.073-1.136,0.437-1.136,1.195c0,0.622,0.313,1.065,0.969,1.132c0.743,0.076,1.247-0.287,1.322-1.025+ C707.41,310.249,706.923,309.865,706.18,309.699z M656.041,281.798c-0.095-0.609-0.476-0.948-1.118-0.886+ c-0.628,0.061-1.025,0.476-0.988,1.095c0.037,0.613,0.452,1.024,1.104,0.938C655.637,282.867,656.014,282.484,656.041,281.798z+ M613.36,470.728c0.588-0.14,0.953-0.514,0.931-1.142c-0.022-0.632-0.379-1.041-1.039-0.989c-0.632,0.05-0.995,0.471-0.953,1.103+ C612.339,470.304,612.675,470.708,613.36,470.728z M528.408,149.27c0.6-0.081,0.965-0.434,0.928-1.081+ c-0.036-0.631-0.425-1.039-1.053-1.005c-0.616,0.034-0.998,0.459-0.976,1.094C527.328,148.921,527.73,149.246,528.408,149.27z+ M584.126,355.168c-0.023-0.38-0.128-0.832-0.689-0.97c-0.541-0.133-0.933,0.117-1.082,0.639+ c-0.158,0.556,0.163,0.923,0.651,1.081C583.548,356.093,583.903,355.812,584.126,355.168z M587.89,468.085+ c-0.17-0.331-0.375-0.784-0.956-0.692c-0.519,0.082-0.823,0.446-0.748,0.996c0.059,0.435,0.355,0.698,0.798,0.701+ C587.548,469.093,587.818,468.749,587.89,468.085z M596.516,87.95c-0.013-0.532-0.315-0.887-0.83-0.941+ c-0.651-0.068-1.042,0.303-1.039,0.96c0.003,0.554,0.357,0.842,0.904,0.824C596.075,88.777,596.426,88.516,596.516,87.95z+ M512.056,247.723c-0.04-0.528-0.29-0.909-0.866-0.886c-0.542,0.022-0.877,0.37-0.855,0.92c0.018,0.436,0.338,0.726,0.755,0.779+ C511.651,248.608,511.963,248.286,512.056,247.723z"/>+ <path style="fill:#6F6A7F;" d="M211.637,299.061c-0.429,0.637-1.239,0.657-1.788,1.108c-0.543,0.446-1.022,0.256-1.457-0.219+ c-0.851-0.929-1.915-1.41-3.173-1.489c-1.044-0.066-1.268-0.727-1.25-1.651c0.021-1.118,0.024-2.248-0.114-3.354+ c-0.348-2.791-1.591-3.623-4.269-2.949c-0.387,0.097-0.759,0.25-1.14,0.37c-1.883,0.592-3.606,0.518-5.074-1.044+ c-0.362-0.385-0.933-0.707-1.45-0.786c-1.566-0.237-1.663-1.269-1.47-2.47c0.164-1.023,0.472-2.024,0.61-3.049+ c0.505-3.739-1.283-6.15-5.014-6.371c-2.685-0.159-4.324-1.499-5.311-3.786c-0.981-2.272-1.83-4.603-2.691-6.925+ c-0.794-2.141-0.447-4.275,0.293-6.337c0.82-2.285,1.525-4.515,0.703-6.988c-0.461-1.386,0.104-2.669,0.999-3.79+ c0.855-1.072,1.824-2.004,3.018-2.705c1.104-0.648,2.159-1.373,3.029-2.336c1.657-1.834,1.891-3.215,0.728-5.418+ c-0.448-0.849-0.621-1.593-0.186-2.481c0.985-2.013,1.961-4.035,2.006-6.349c0.003-0.154,0.035-0.359,0.135-0.452+ c2.027-1.885,1.638-4.549,2.286-6.89c1.572-5.68,4.152-10.807,9.335-14.045c8.406-5.252,17.309-9.329,27.27-10.613+ c5.346-0.689,10.697-0.347,16.042,0.085c0.312,0.025,0.707,0.017,0.913,0.196c1.938,1.692,4.51,1.436,6.737,2.226+ c0.36,0.128,0.816,0.173,1.179,0.075c3.006-0.813,6.071-1.425,8.982-2.566c0.205-0.08,0.353-0.306,0.515-0.453+ c-0.049-0.367-0.231-0.605-0.525-0.778c-1.791-1.053-3.399-2.339-5.026-3.635c-6.307-5.025-10.392-11.408-12.166-19.255+ c-0.422-1.866-0.657-3.777-0.908-5.676c-0.105-0.799-0.064-1.394,1.127-1.631c2.303-0.458,3.633-3.217,2.878-5.455+ c-0.363-1.077-1.038-1.897-2.262-1.74c-1.245,0.159-1.337-0.483-1.235-1.395c0.107-0.954,0.094-1.944,0.359-2.852+ c1.226-4.192,1.718-8.599,3.932-12.509c0.79-1.395,1.352-3.011,1.528-4.877c-2.446,0.204-4.612,0.709-6.427,2.076+ c-3.061,2.306-6.372,4.255-9.534,6.392c-3.195,2.16-5.83,4.507-7.943,7.708c-1.226,1.857-2.336,3.574-2.324,5.867+ c0.008,1.557-0.392,3.006-1.569,4.145c-0.226,0.219-0.462,0.486-0.555,0.776c-1.513,4.715-5.995,7.201-8.426,11.228+ c-0.278,0.46-0.732,0.914-1.212,1.135c-3.665,1.689-6.676,4.385-10.069,6.492c-1.751,1.088-3.456,1.51-5.452,0.895+ c-1.485-0.457-2.998-0.386-4.477,0.167c-1.281,0.479-2.602,0.728-3.983,0.763c-1.608,0.041-3.157,0.396-4.629,1.105+ c-0.859,0.414-1.782,0.708-2.696,0.992c-1.204,0.375-2.346,0.273-3.418-0.498c-2.742-1.973-5.716-2.668-9.082-1.849+ c-1.206,0.293-2.549,0.1-3.824,0.022c-1.522-0.093-2.802,0.361-4.002,1.284c-1.543,1.187-2.753,2.667-3.936,4.179+ c-0.399,0.51-0.667,1.093-0.705,1.756c-0.217,3.831-2.927,5.773-5.924,7.143c-1.927,0.881-3.677,1.832-5.223,3.261+ c-2.078,1.92-4.327,3.474-7.311,3.784c-1.309,0.136-2.571,0.839-3.826,1.356c-1.683,0.694-3.261,0.705-4.732-0.49+ c-1.961-1.592-4.105-1.839-6.54-1.21c-4.284,1.108-8.227,0.161-11.79-2.428c-2.657-1.931-5.267-3.908-7.245-6.593+ c-0.617-0.837-1.34-1.631-2.28-2.1c-3.688-1.836-4.446-5.225-4.642-8.84c-0.104-1.908,0.132-3.802-0.894-5.594+ c-0.529-0.924-0.177-2.06,0.103-3.055c0.659-2.339,0.009-4.067-2.162-5.227c-1.704-0.91-2.42-2.495-2.714-4.3+ c-0.36-2.208-0.693-4.422-0.984-6.64c-0.092-0.706-0.222-1.521,0.028-2.138c0.88-2.167,0.803-4.542,1.6-6.717+ c0.486-1.327,0.433-2.684-0.058-3.996c-0.717-1.916-0.266-3.598,0.884-5.191c0.888-1.232,1.736-2.493,2.602-3.741+ c1.055-1.52,1.965-3.073,2.174-4.994c0.12-1.108,0.706-2.111,1.467-2.973c1.13-1.28,1.952-2.739,2.359-4.399+ c0.447-1.824,1.52-3.176,3.102-4.088c1.494-0.861,2.584-2.073,3.643-3.402c1.143-1.433,2.485-2.709,3.758-4.036+ c1.026-1.069,2.619-1.127,3.745-2.047c0.222-0.182,0.628-0.126,0.871,0.155c0.309,0.357,0.26,0.804,0.004,1.095+ c-0.469,0.535-0.993,1.047-1.575,1.454c-1.856,1.301-3.463,2.832-4.691,4.747c-0.129,0.201-0.261,0.413-0.437,0.57+ c-3.415,3.036-5.132,7.265-7.647,10.931c-1.227,1.789-1.571,4.004-2.373,6.003c-0.993,2.475-1.119,5.256-3.086,7.426+ c-0.717,0.791-0.604,2.444-0.651,3.712c-0.206,5.511-0.227,10.985,0.883,16.465c1.18,5.825,3.361,11.135,6.652,16.039+ c1.965,2.928,4.235,5.62,6.417,8.379c0.849,1.073,1.885,1.981,3.078,2.649c3.111,1.741,6.134,3.477,9.886,3.89+ c4.202,0.462,8.252,0.176,12.323-0.676c0.707-0.148,1.346-0.449,1.874-0.999c1.498-1.562,3.166-2.927,4.896-4.23+ c0.686-0.517,1.22-1.263,1.743-1.965c1.908-2.561,3.731-5.171,5.413-7.898c1.732-2.809,4.122-5.102,7.034-6.749+ c1.471-0.832,3.018-1.262,4.791-1.219c1.562,0.038,3.28-0.176,4.672-0.828c1.644-0.77,3.249-0.873,4.894-0.651+ c3.778,0.509,7.511-0.001,11.236-0.392c2.731-0.287,5.131-1.721,7.608-2.833c2.584-1.161,4.939-2.613,6.672-4.933+ c0.476-0.637,1.05-1.211,1.634-1.755c4.165-3.879,6.875-8.759,9.59-13.666c4.024-7.273,7.883-14.649,12.625-21.502+ c4.128-5.966,9.892-9.921,16.259-13.107c0.622-0.311,1.385-0.447,2.087-0.467c1.673-0.047,3.142-0.608,4.436-1.604+ c2.992-2.306,6.542-2.861,10.13-3.231c1.586-0.164,3.188-0.145,4.773-0.409c1.757-0.293,3.412-0.14,5.102,0.689+ c3.119,1.531,6.562,1.986,9.977,2.404c1.988,0.243,3.671,0.925,5.004,2.497c1.076,1.269,2.548,1.893,4.215,2.033+ c1.557,0.131,2.975,0.542,4.014,1.844c0.289,0.362,0.702,0.73,1.129,0.857c2.304,0.689,4.134,2.04,5.703,3.817+ c0.662,0.75,1.575,1.096,2.534,1.262c3.149,0.544,5.126,2.527,6.285,5.333c0.483,1.169,0.918,1.372,2.115,0.993+ c1.069-0.339,2.068-0.654,3.02-1.298c1.183-0.8,2.523-1.367,3.896-2.087c-0.147-0.844-1.851-1.29-0.854-2.517+ c0.596-0.734,1.372-1.112,2.326-0.939c1.477,0.269,1.344,1.518,1.318,2.682c2.251-0.275,4.195-1.087,6.276-1.15+ c0.464-0.014,0.949-0.311,0.945-0.901c-0.003-0.435-0.288-0.746-0.714-0.853c-0.984-0.247-1.587-1.025-2.351-1.592+ c-2.05-1.521-4.538-1.898-6.955-2.335c-1.212-0.219-2.409,0.362-3.269,1.239c-1.272,1.297-2.789,1.777-4.534,1.83+ c-0.553,0.017-1.129,0.094-1.647,0.278c-0.82,0.292-1.338,0.026-1.858-0.61c-0.753-0.921-1.501-1.916-2.956-1.65+ c-0.438,0.08-0.716-0.29-0.989-0.58c-0.219-0.233-0.425-0.478-0.639-0.716c-1.383-1.533-2.684-3.01-4.995-3.376+ c-1.676-0.265-3.162-1.379-4.629-2.352c-2.262-1.5-4.857-2.384-7.469-3.667c2.778-1.599,5.554-2.712,8.335-3.832+ c9.462-3.811,19.317-5.705,29.482-5.54c5.91,0.096,11.779,1.003,17.348,3.224c0.732,0.292,1.402,0.664,2.282,0.305+ c0.808-0.33,1.575,0.189,2.23,0.616c4.751,3.097,9.631,6.01,14.094,9.527c1.246,0.982,1.958,2.481,3.051,3.652+ c3.656,3.916,7.166,7.965,10.02,12.529c0.283,0.453,0.738,0.839,0.65,1.866c-2.371-1.771-5.108-2.327-7.542-3.588+ c-3.057-1.584-6.048-3.343-9.704-2.931c-0.152,0.017-0.324-0.02-0.469-0.078c-3.628-1.447-7.545-1.192-11.301-1.895+ c-1.332-0.249-2.75-0.04-4.412-0.04c2.727,2.076,5.684,2.258,8.618,2.239c2.098-0.013,3.919,0.51,5.627,1.666+ c1.058,0.716,2.157,1.377,3.26,2.023c1.762,1.031,3.243,2.309,4.148,4.197c0.922,1.924,2.472,3.216,4.547,3.578+ c3.928,0.684,7.067,2.441,9.743,5.49c1.388,1.582,2.986,2.744,3.071,5.098c0.037,1.026,0.856,1.885,1.668,2.56+ c1.659,1.377,2.435,3.188,2.431,5.27c-0.007,3.342,1.516,5.936,4.079,7.768c3.147,2.249,3.646,5.466,3.883,8.861+ c0.095,1.357-0.734,2.425-1.544,3.425c-1.791,2.209-2.611,4.703-2.518,7.558c0.052,1.59,0.415,3.034,1.472,4.201+ c1.095,1.209,1.569,2.557,1.436,4.164c-0.13,1.561,0.236,3.006,1.035,4.361c0.943,1.599,0.892,3.241-0.141,4.752+ c-2.738,4.008-3.038,8.494-2.662,13.113c0.101,1.234-0.037,2.408-0.534,3.513c-1.239,2.756-1.732,5.615-1.571,8.637+ c0.143,2.69-0.88,4.938-2.838,6.722c-0.845-0.338-0.479-0.879-0.476-1.293c0.003-0.638,0.123-1.274,0.14-1.912+ c0.127-4.897-0.236-5.729-4.352-8.333c-1.113-0.704-1.68-1.576-2.154-2.703c-0.806-1.914-1.687-3.799-2.6-5.665+ c-0.82-1.677-0.858-1.661-2.449-0.812c-0.282,0.15-0.536,0.361-0.83,0.476c-0.905,0.354-1.675,0.301-2.287-0.624+ c-1.543-2.331-2.749-4.869-4.039-7.32c-0.677-1.286-0.955-2.971-1.637-4.402c-0.607-1.274-1.424-2.335-2.87-2.692+ c-0.977-0.241-1.359-1.051-1.839-1.776c-1.287-1.949-2.925-2.839-5.422-2.767c-2.496,0.072-5.024-0.501-7.431-1.389+ c-1.289-0.476-2.106-1.285-2.679-2.541c-1.271-2.788-2.455-3.203-5.323-2.078c-0.984,0.386-1.861,0.925-2.544,1.746+ c-0.906,1.087-1.965,1.865-3.47,1.838c-0.576-0.011-1.136,0.193-1.549,0.573c-1.122,1.032-2.427,1.722-3.855,2.084+ c0.094,1.002,0.811,0.877,1.288,0.887c2.291,0.049,4.605,0.215,6.871-0.026c2.903-0.309,5.578,0.243,8.154,1.439+ c2.177,1.01,4.371,1.96,6.622,2.795c1.122,0.416,2.119,1.115,3.037,1.896c0.237,0.202,0.463,0.468,0.34,0.817+ c-0.124,0.353-0.465,0.444-0.784,0.422c-5.143-0.344-9.302,1.567-12.56,5.5c-1.04,1.255-2.06,2.324-3.776,1.017+ c-0.164-0.125-0.501-0.165-0.694-0.087c-2.083,0.84-2.238-0.745-2.857-2.06c-1.594-3.39-2.998-6.879-5.145-10+ c-0.756-1.099-1.193-2.428-1.704-3.682c-0.337-0.825-0.671-1.625-1.407-2.191c0.991-1.135,2.036-1.798,3.661-1.237+ c0.864,0.299,1.789-0.15,2.118-1.132c0.31-0.924-0.316-1.48-1.015-1.948c-0.319-0.214-0.747-0.297-0.935-0.804+ c0.575-1.24,1.043-2.627,1.806-3.826c2.719-4.278,3.093-9.161,3.789-13.968c0.136-0.94,0.125-1.908,0.737-3.216+ c0.213,1.849-0.402,3.234-0.314,4.665c0.077,1.252,0.425,1.658,1.687,1.598c3.838-0.184,7.578,0.576,11.308,1.368+ c0.483,0.103,0.878,0.329,1.284,0.6c0.839,0.56,1.582,1.318,2.216-0.432c0.397-1.096,1.81-0.895,2.794-0.552+ c1.12,0.39,2.269,0.897,2.378,2.376c0.05,0.673-0.451,1.518,0.397,1.962c0.986,0.516,2.014,0.989,3.075,1.313+ c0.615,0.188,0.733-0.454,0.756-0.938c0.099-2.096-0.616-3.893-1.949-5.501c-1.675-2.02-3.346-4.049-4.916-6.15+ c-0.927-1.241-1.305-2.733-1.265-4.3c0.025-0.975-0.058-1.914-0.63-2.755c-0.471-0.692-0.981-1.155-1.943-1.119+ c-1.266,0.047-2.555,0.065-3.791-0.379c-0.45-0.162-1.002-0.18-1.288-0.58c-1.179-1.649-2.949-1.866-4.698-1.774+ c-3.976,0.21-7.967,0.319-11.887,1.186c-2.748,0.607-4.924,2.266-7.108,3.833c-1.416,1.016-1.869,2.866-1.997,4.505+ c-0.399,5.094-2.505,9.723-3.743,14.583c-0.683,2.682-0.482,4.971,1.268,7.207c1.179,1.507,2.219,3.137,3.496,4.566+ c2.377,2.658,3.868,5.642,3.892,9.286c0.012,1.798,0.526,3.509,1.611,4.946c1.887,2.498,1.881,5.307,1.027,8.009+ c-1.191,3.77-1.329,7.474-0.765,11.354c0.458,3.154,0.337,6.406,1.392,9.461c0.986,2.855,1.599,5.54,0.928,8.734+ c-0.526,2.504-0.75,4.944-2.196,7.162c-0.955,1.465-1.033,3.131-0.373,4.834c0.91,2.346,0.128,5.325-1.745,6.947+ c-0.543,0.47-1.165,0.849-1.709,1.319c-0.784,0.678-1.846,1.26-2.235,2.131c-1.59,3.563-5.076,3.837-8.093,4.736+ c-1.528,0.456-2.464,1.1-3.248,2.428c-1.705,2.884-3.308,5.841-5.628,8.332c-0.741,0.795-1.157,1.902-1.678,2.889+ c-0.97,1.839-1.879,3.712-3.239,5.313c-0.052,0.061-0.114,0.121-0.141,0.193c-1.184,3.138-3.516,5.625-4.899,8.651+ c-0.398,0.871-0.85,1.719-1.305,2.562c-0.87,1.614-1.958,2.765-4.03,2.906c-1.561,0.107-3.101,0.695-4.657,1.044+ c-1.869,0.419-3.046-0.196-4.018-1.732c-1.566-2.473-2.618-2.657-5.018-1.077c-0.952,0.627-1.657,1.489-2.41,2.318+ c-1.664,1.83-3.649,3.111-6.185,3.323c-1.759,0.147-2.378-0.531-2.176-2.19c0.095-0.781,0.461-0.999,1.2-1.175+ c1.554-0.371,2.207-1.248,2.266-2.638c0.063-1.492-0.775-2.984-2.106-3.36c-0.62-0.175-1.123-0.269-0.983-0.981+ c0.674-3.428-0.892-6.626-1.005-9.891c-0.103-2.962-0.931-5.613-1.604-8.366c-0.725-2.964-2.047-5.707-3.504-8.368+ c-0.615-1.124-0.721-2.2-0.591-3.442c0.515-4.912,1.861-9.582,4.321-13.842c1.83-3.169,3.728-6.323,6.024-9.2+ c0.392-0.492,0.763-1.035,1.549-1.302c0.864,0.876,0.943,2.073,1.111,3.207c0.669,4.504,1.245,9.023,1.98,13.516+ c0.319,1.952,0.744,3.88,1.997,5.582c0.951,1.292,1.007,3.013,1.242,4.587c0.312,2.083,0.914,4.044,2.009,5.847+ c-0.071,0.517,0.381,1.003-0.084,1.572c-1.486,1.819-0.731,3.791-0.162,5.669c0.354,1.17,1.698,1.32,2.44,0.339+ c0.829-1.097,1.084-2.335,0.298-3.557c-0.82-1.277-1.292-2.709-1.965-4.049c-0.309-4.444-0.173-8.962-2.096-13.145+ c-0.415-0.903-0.153-1.732,0.18-2.543c0.643-1.562,0.493-3.062,0.07-4.676c-0.744-2.843-1.48-5.702-0.305-8.684+ c0.461-1.169,0.266-2.55-0.142-3.782c-1.003-3.026-1.669-6.179-3.3-8.974c-0.45-0.77-0.742-1.576-0.812-2.48+ c-0.049-0.632-0.112-1.317-0.388-1.868c-0.983-1.959-1.288-4.045-1.567-6.19c-0.276-2.124-1.553-3.146-3.697-3.482+ c-0.789-0.124-1.584-0.256-2.379-0.279c-2.102-0.062-3.899-0.617-5.147-2.502c-0.675-1.02-1.763-1.604-2.959-1.924+ c-0.822-0.22-1.287-0.688-1.643-1.533c-0.993-2.352-2.944-3.179-5.48-2.503c-1.601,0.427-2.876,1.362-3.924,2.623+ c-0.46,0.553-0.879,1.143-1.36,1.676c-1.722,1.91-4.25,2.2-6.19,0.455c-1.294-1.164-2.575-1.815-4.306-1.524+ c-2.183,0.367-4.171,1.082-5.622,2.879c-0.867,1.074-1.201,2.312-0.816,3.598c0.353,1.179,0.224,2.126-0.48,3.131+ c-1.176,1.677-1.382,3.554-0.752,5.496c0.909,2.804,1.042,5.506,0.046,8.41c-1.047,3.053,0.134,5.537,2.928,7.03+ c2.114,1.129,3.498,2.672,4.038,5.041c0.572,2.509,2.029,4.511,4.036,6.078c3.047,2.379,5.774,5.047,7.908,8.292+ c1.145,1.741,2.898,2.731,4.687,3.628c1.352,0.678,2.378,1.527,2.751,3.085c0.244,1.02,0.925,1.839,1.601,2.643+ c0.873,1.038,1.711,2.11,2.516,3.202c1.602,2.174,2.215,4.512,1.467,7.225c-0.883,3.205-0.195,6.519-0.365,9.781+ c-0.088,1.674,0.744,3.219,1.863,4.568c2.126,2.564,2.318,5.296,0.362,7.844c-1.451,1.891-2.462,4.075-4.241,5.765+ c-1.45,1.377-1.73,3.384-1.672,5.352c0.076,2.572-0.212,5.093-0.74,7.611c-0.292,1.393-0.844,2.542-1.877,3.515+ c-1.575,1.482-3.114,2.998-3.587,5.255c-0.075,0.356-0.368,0.757-0.678,0.957c-2.065,1.332-3.964,3.065-6.37,3.676+ c-3.596,0.912-6.718,2.491-9.231,5.239c-0.283,0.309-0.544,0.954-1.106,0.46c-0.389-0.341-0.355-0.873-0.118-1.333+ c0.107-0.207,0.26-0.418,0.446-0.553c1.741-1.269,2.258-3.189,2.886-5.108c0.865-2.642,0.227-4.825-1.596-6.786+ c-0.855-0.92-0.791-1.367,0.262-2.043c1.439-0.924,1.435-0.922,0.689-2.43c-0.354-0.716-0.738-1.423-1.017-2.168+ c-0.534-1.426-0.382-1.864,0.979-2.429c4.014-1.667,7.593-4.053,11.165-6.483c1.444-0.982,3.111-1.629,4.65-2.478+ c2.648-1.462,4.188-4.988,3.403-7.713c-0.087-0.302-0.138-0.749-0.347-0.86c-1.68-0.885-3.06-2.313-4.9-2.872+ c-1.568-0.476-2.967,0.218-4.318,0.975c-1.88,1.053-3.76,2.11-5.676,3.097c-1.712,0.883-2.24,0.526-2.234-1.386+ c0.004-1.216-1.055-2.248-2.546-2.628c-2.785-0.709-5.351-0.164-7.793,1.229c-0.274-0.418,0.099-0.734,0.164-1.1+ c0.234-1.316-0.604-2.812-1.819-3.246c-0.815-0.292-1.583-0.214-2.176,0.48c-0.529,0.619-0.488,1.328-0.162,2.02+ c0.481,1.022,1.353,1.514,2.425,1.736C210.57,299.093,211.125,298.624,211.637,299.061z M273.055,282.276+ c-0.076-0.151-0.116-0.547-0.31-0.088c-0.054,0.129,0.182,0.201,0.335,0.058c-0.194,1.152,0.716,1.599,1.468,1.831+ c1.355,0.418,2.326,1.308,3.406,2.118c0.944,0.708,2.017,1.266,3.086,1.778c0.559,0.267,1.151,0.1,1.153-0.701+ c0.006-2.215-2.048-4.327-4.216-4.256C276.278,283.069,274.649,282.827,273.055,282.276z M281.262,150.775+ c-0.752-0.376-1.136,0.377-1.698,0.573c-1.642,0.574-2.65-0.077-2.729-1.83c-0.046-1.013,0.281-1.886,0.981-2.616+ c1.528-1.594,3.926-1.221,4.226,0.943c0.047,0.336-0.066,0.831,0.506,0.891c1.309-1.339,1.439-2.296,0.151-3.039+ c-1.76-1.016-3.12-2.453-4.659-3.705c-0.89-0.723-2.069-1.75-3.463-0.989c-2.921,1.594-5.604,5.542-2.554,9.168+ c1.519,1.805,1.51,2.138,0.385,4.227c-0.947,1.758-1.944,3.494-2.8,5.295c-1.054,2.216-1.018,4.295,0.969,6.107+ c1.537,1.402,2.281,3.251,2.501,5.308c0.224,2.093,1.157,3.899,2.396,6.174c0.152-3.294-0.24-6.066,0.021-8.827+ c0.057-0.605-0.505-0.669-0.876-0.949c-0.957-0.723-0.91-2.078,0.096-2.184c1.465-0.154,1.526-1.125,1.824-2.074+ c1.15-3.656,2.107-7.387,4.186-10.681c0.346-0.548,0.529-1.163,0.486-1.827c0.289-0.108,0.482-0.277,0.351-0.615+ c-0.017-0.043-0.172-0.087-0.191-0.066C281.179,150.27,280.989,150.491,281.262,150.775z M204.911,259.467+ c-1.42,1.963-1.166,9.03,0.943,13.396c3.086,6.387,8.555,9.989,15.485,12.486c-1.592-5.144-3.3-9.676-6.431-13.506+ C211.546,267.729,208.593,263.288,204.911,259.467z M289.666,257.301c0.224-0.417,0.39-0.778,0.601-1.11+ c1.229-1.938,1.186-4.268,1.982-6.349c1.812-4.734,1.547-9.698,1.38-14.631c-0.033-0.994-0.525-1.86-1.601-2.153+ c-1.035-0.281-1.887,0.152-2.582,0.867c-1.028,1.055-1.668,2.362-1.913,3.788c-0.276,1.608-0.864,2.806-2.513,3.446+ c-1.129,0.439-1.607,1.393-1.331,2.724C284.688,248.71,286.04,253.367,289.666,257.301z M286.685,212.721+ c-1.141-0.038-1.864,0.479-2.355,1.226c-0.873,1.327-2.06,2.149-3.534,2.682c-0.66,0.238-1.239,0.709-1.842,1.094+ c-1.787,1.139-1.884,1.446-0.922,3.211c0.298,0.547,0.65,0.992,0.679,1.711c0.09,2.251,1.484,3.068,3.228,1.75+ c2.436-1.841,4.983-3.386,7.852-4.435c0.834-0.305,1.239-0.977,0.739-1.915c-0.261-0.489-0.341-1.23-0.735-1.462+ c-0.976-0.574-1.067-1.457-1.201-2.38C288.418,212.992,287.577,212.708,286.685,212.721z M219.867,152.139+ c-0.15,0.931,0.097,1.551,0.752,2.003c0.6,0.413,1.289,0.435,1.757-0.048c1.262-1.303,1.704-3.082,2.471-4.67+ c0.074-0.154-0.1-0.452-0.203-0.662c-0.63-1.284-2.546-2.014-3.877-1.488c-1.226,0.484-1.768,1.484-1.182,2.637+ C220.003,150.731,220.49,151.411,219.867,152.139z M343.747,133.5c0.176,0,0.493,0.011,0.809-0.002+ c0.844-0.034,1.587-0.286,1.876-1.167c0.284-0.866-0.14-1.612-0.74-2.124c-1.385-1.183-2.99-1.774-4.834-1.236+ c-0.797,0.233-1.442,0.677-1.577,1.585c-0.148,0.995,0.351,1.675,1.145,2.163C341.397,133.316,342.469,133.557,343.747,133.5z+ M266.063,156.045c1.797-0.009,3.907-1.969,3.856-3.58c-0.04-1.245-1.107-2.22-2.368-2.164c-1.688,0.075-3.432,1.893-3.499,3.645+ C264.003,155.245,264.776,156.052,266.063,156.045z M304.816,193.158c0.085,1.048,0.413,2.181,1.29,3.067+ c0.753,0.761,1.702,0.867,2.635,0.444c0.971-0.44,1.379-1.301,1.22-2.348c-0.171-1.124-0.713-2.092-1.489-2.92+ c-0.642-0.686-1.433-1.065-2.35-0.723C305.09,191.063,304.804,191.964,304.816,193.158z M376.983,212.686+ c-0.065-0.38-0.116-0.941-0.262-1.477c-0.268-0.984-0.799-1.805-1.921-1.839c-1.142-0.035-1.681,0.748-1.94,1.765+ c-0.118,0.464-0.276,0.92-0.353,1.39c-0.324,1.998,0.619,3.596,2.118,3.628C376.041,216.184,377.002,214.842,376.983,212.686z+ M212.653,171.288c0.108-1.588-0.579-2.873-1.553-3.139c-0.878-0.24-2.279,0.666-2.747,1.86c-0.199,0.507-0.314,1.08-0.316,1.624+ c-0.006,1.354,0.684,2.447,1.589,2.678c1.09,0.278,2.016-0.356,2.662-1.866C212.472,172.013,212.573,171.545,212.653,171.288z+ M367.815,146.924c-0.08-1.121-0.894-1.764-1.328-2.605c-0.46-0.892-1.327-1.084-2.27-0.841c-0.964,0.249-1.468,0.956-1.616,1.88+ c-0.3,1.867,1.868,3.825,3.689,3.357C367.252,148.468,367.765,147.828,367.815,146.924z M168.966,183.376+ c1.714-0.037,2.739-0.786,2.719-1.987c-0.023-1.406-1.34-2.621-2.838-2.619c-1.637,0.003-2.929,1.162-2.826,2.535+ C166.121,182.627,167.241,183.414,168.966,183.376z M232.069,328.736c0.248-1.764-0.777-2.682-2.274-2.14+ c-1.36,0.492-2.225,1.538-2.679,2.886c-0.247,0.732-0.061,1.444,0.55,1.958c0.605,0.509,1.334,0.594,2.021,0.234+ C230.947,331.016,231.824,330.02,232.069,328.736z M268.959,271.599c0.129,0.816,0.268,1.676,0.752,2.437+ c0.465,0.732,1.089,1.159,1.981,1.029c0.919-0.134,1.32-0.781,1.514-1.617c0.205-0.884,0.058-1.75-0.194-2.585+ c-0.372-1.233-1.228-1.859-2.232-1.737C269.684,269.259,268.953,270.233,268.959,271.599z M241.888,300.263+ c-0.012,1.268,0.579,2.262,1.517,2.407c1.244,0.192,1.858-0.668,2.415-1.573c0.625-1.016,0.875-2.07,0.135-3.123+ c-0.508-0.723-1.264-0.995-2.103-0.695c-1.156,0.413-1.736,1.33-1.934,2.509C241.891,299.943,241.896,300.104,241.888,300.263z+ M301.933,119.17c0.984-0.027,1.944-0.134,2.432-1.164c0.478-1.01-0.193-1.65-0.81-2.285c-0.331-0.341-0.64-0.734-1.037-0.974+ c-1.142-0.69-2.686-0.199-3.267,0.981C298.453,117.349,299.867,119.163,301.933,119.17z M211.641,231.124+ c0.009-1.631-0.648-2.564-1.742-2.699c-1.107-0.136-2.062,0.558-2.39,1.897c-0.31,1.265-0.394,2.556,0.658,3.583+ c0.512,0.499,1.177,0.566,1.776,0.231C211.188,233.439,211.537,232.223,211.641,231.124z M378.019,172.157+ c0.033-1.179-0.585-2.451-1.398-2.874c-0.625-0.325-1.226-0.281-1.793,0.138c-1.058,0.781-1.073,1.893-0.896,3.024+ c0.219,1.399,1.05,2.263,2.068,2.251C377.109,174.684,377.979,173.59,378.019,172.157z M274.309,298.94+ c0.366-0.073,0.836-0.14,1.29-0.264c0.808-0.221,1.487-0.654,1.623-1.538c0.134-0.871-0.393-1.513-1.02-2.022+ c-0.845-0.685-2.59-0.617-3.578,0.093c-0.774,0.556-1.206,1.289-0.891,2.248C272.119,298.634,273.135,298.844,274.309,298.94z+ M269.652,184.416c-0.031,1.554,1.119,2.942,2.484,2.998c1.147,0.047,1.921-0.721,1.931-1.916+ c0.012-1.473-1.208-2.937-2.515-3.018C270.423,182.409,269.676,183.17,269.652,184.416z M308.281,258.267+ c1.23-0.003,2.601-1.389,2.606-2.636c0.004-1.048-0.935-1.979-1.979-1.963c-1.238,0.02-2.478,1.446-2.416,2.781+ C306.54,257.525,307.273,258.27,308.281,258.267z M287.918,128.201c1.176-0.028,1.925-0.702,1.857-1.672+ c-0.08-1.142-1.58-2.642-2.678-2.677c-1.038-0.033-1.968,0.912-1.939,1.971C285.193,127.12,286.487,128.235,287.918,128.201z+ M256.358,110.078c-1.302,0.034-2.313,0.925-2.225,1.962c0.087,1.035,1.096,1.755,2.451,1.749c1.41-0.007,2.42-0.756,2.381-1.768+ C258.925,110.99,257.657,110.045,256.358,110.078z M185.606,271.77c0.012-1.403-0.851-2.727-1.787-2.745+ c-0.774-0.014-1.829,1.591-1.819,2.769c0.01,1.1,0.895,2.116,1.852,2.126C184.853,273.931,185.595,273.02,185.606,271.77z+ M340.187,187.236c0.087-1.152-0.937-2.429-2.059-2.57c-0.974-0.122-1.885,0.606-2.019,1.614+ c-0.149,1.125,0.898,2.409,2.062,2.528C339.231,188.916,340.112,188.229,340.187,187.236z M185.195,250.805+ c0.021-0.975-0.654-1.669-1.623-1.67c-1.191-0.002-2.519,1.207-2.618,2.385c-0.079,0.934,0.595,1.761,1.497,1.836+ C183.616,253.453,185.169,252.009,185.195,250.805z M322.33,121.938c1.275,0.032,2.156-0.661,2.146-1.689+ c-0.011-1.082-1.402-2.218-2.692-2.198c-1.041,0.016-1.832,0.767-1.861,1.767C319.889,120.942,320.981,121.903,322.33,121.938z+ M100.514,187.696c-1.009-0.051-1.686,0.632-1.757,1.774c-0.088,1.405,0.746,2.604,1.802,2.59+ c0.852-0.011,1.831-1.089,1.902-2.095C102.539,188.877,101.571,187.75,100.514,187.696z M251.271,210.773+ c-0.995,0.014-1.742,0.827-1.71,1.863c0.035,1.142,0.987,2.003,2.201,1.992c1.019-0.009,1.754-0.637,1.766-1.508+ C253.541,212.085,252.265,210.759,251.271,210.773z M227.177,210.17c0.797-0.067,1.793,0.009,1.79-1.277+ c-0.003-1.079-1.108-2.028-2.254-2.007c-1.067,0.02-1.936,0.814-1.893,1.731C224.864,209.583,225.762,210.193,227.177,210.17z+ M325.597,124.979c-0.937,0.025-1.628,0.644-1.537,1.453c0.11,0.983,0.78,1.307,1.69,1.297c1.114-0.013,1.915-0.624,1.848-1.426+ C327.535,125.54,326.644,124.951,325.597,124.979z M265.634,165.926c0.06-0.88-0.563-1.671-1.329-1.648+ c-0.927,0.028-1.458,0.587-1.501,1.474c-0.042,0.879,0.424,1.572,1.331,1.628C265.069,167.439,265.474,166.733,265.634,165.926z+ M277.345,276.69c-0.793,0.136-1.207,0.673-1.219,1.475c-0.012,0.858,0.94,1.696,1.754,1.582+ c0.738-0.103,1.109-0.582,1.118-1.309C279.011,277.538,278.172,276.648,277.345,276.69z M295.672,130.366+ c0.827-0.098,1.344-0.501,1.374-1.35c0.033-0.958-0.539-1.449-1.416-1.568c-0.809-0.109-1.533,0.621-1.487,1.454+ C294.195,129.863,294.828,130.243,295.672,130.366z M216.076,168.384c0.842-0.117,1.334-0.63,1.375-1.543+ c0.041-0.897-0.588-1.586-1.399-1.486c-0.877,0.108-1.423,0.633-1.504,1.527C214.478,167.664,215.228,168.398,216.076,168.384z+ M175.52,180.988c-0.893,0.018-1.434,0.458-1.463,1.289c-0.034,0.963,0.626,1.445,1.503,1.52+ c0.834,0.071,1.409-0.386,1.404-1.249C176.959,181.628,176.383,181.118,175.52,180.988z M236.775,319.9+ c-0.755,0.249-1.135,0.791-1.054,1.599c0.083,0.822,0.56,1.348,1.406,1.239c0.825-0.106,1.213-0.73,1.116-1.534+ C238.147,320.405,237.62,319.968,236.775,319.9z M230.405,146.393c0.778-0.165,1.289-0.631,1.274-1.436+ c-0.015-0.82-0.524-1.325-1.362-1.268c-0.81,0.056-1.304,0.59-1.278,1.401C229.065,145.895,229.551,146.366,230.405,146.393z+ M196.171,288.407c0.764-0.055,1.382-0.375,1.416-1.239c0.03-0.756-0.507-1.154-1.201-1.201+ c-0.809-0.055-1.413,0.331-1.434,1.203C194.933,287.908,195.443,288.279,196.171,288.407z M131.645,204.319+ c-0.125-0.588-0.438-1.13-1.21-1.076c-0.77,0.054-1.392,0.437-1.375,1.311c0.015,0.824,0.679,0.993,1.336,1.015+ C131.151,205.595,131.535,205.145,131.645,204.319z M370.895,152.696c-0.194-0.65-0.603-1.207-1.451-1.139+ c-0.711,0.057-1.212,0.512-1.107,1.253c0.108,0.756,0.591,1.325,1.439,1.271C370.509,154.034,370.867,153.539,370.895,152.696z+ M242.341,291.836c-0.026-0.655-0.268-1.27-1.035-1.297c-0.737-0.026-1.151,0.534-1.178,1.225+ c-0.029,0.736,0.423,1.194,1.174,1.186C241.954,292.943,242.277,292.513,242.341,291.836z M208.976,223.158+ c0.611-0.177,1.038-0.594,1.017-1.3c-0.018-0.623-0.419-1.037-1.044-1.005c-0.723,0.037-1.117,0.522-1.08,1.245+ C207.901,222.715,208.295,223.061,208.976,223.158z M302.235,189.125c-0.169-0.418-0.443-0.898-1.101-0.861+ c-0.625,0.035-1.05,0.448-1.032,1.059c0.021,0.709,0.476,1.178,1.224,1.099C301.952,190.356,302.236,189.891,302.235,189.125z+ M248.436,118.493c0.506-0.119,0.919-0.389,0.91-0.938c-0.011-0.678-0.487-0.968-1.118-0.939+ c-0.535,0.025-0.922,0.336-0.898,0.895C247.359,118.163,247.782,118.482,248.436,118.493z M334.04,119.876+ c-0.073-0.354-0.23-0.758-0.81-0.797c-0.44-0.029-0.771,0.187-0.869,0.598c-0.126,0.531,0.171,0.918,0.663,1.042+ C333.558,120.853,333.894,120.553,334.04,119.876z M257.264,213.114c0.619,0.029,0.884-0.274,0.933-0.692+ c0.061-0.522-0.183-0.973-0.735-1.044c-0.549-0.071-0.923,0.272-0.944,0.823C256.498,212.749,256.838,213.065,257.264,213.114z"+ />+ <path style="fill:#6F6A7F;" d="M238.145,405.106c-0.162-0.616-0.3-1.239-0.489-1.846c-0.52-1.672-1.294-3.395,1.152-4.276+ c0.201-0.072,0.343-0.328,0.494-0.513c0.933-1.145,1.089-2.342,0.306-3.002c-1.025-0.864-1.918-0.374-2.735,0.416+ c-0.163,0.157-0.352,0.287-0.538,0.436c-0.586-1.733-0.46-2.458,0.824-3.506c1.164-0.951,2.41-2.201,4.038-1.167+ c1.268,0.805,2.962,0.847,3.892,2.223c0.273,0.403,0.65,0.392,1.029,0.132c1.931-1.321,3.438-0.513,4.886,1.158+ c0.856-1.029,1.65-2.018,3.081-2.068c1.373-0.048,2.149,0.852,3.067,1.83c1.356-1.394,2.72-2.603,4.81-2.226+ c0.38,0.069,0.856-0.358,1.28-0.571c1.344-0.673,2.648-0.692,3.752,0.418c0.597,0.601,1.076,0.613,1.885,0.38+ c1.775-0.511,3.611-0.248,5.415,0.046c0.153,0.025,0.295,0.12,0.441,0.186c1.263,0.573,2.183-0.716,3.427-0.605+ c1.065,0.095,1.957,1.181,3.178,0.431c1.002-0.616,2.148-0.611,3.226-0.102c0.56,0.265,1.083,0.094,1.635,0.077+ c1.045-0.032,2.027,0.15,2.664,1.382c-4.621,0.717-9.017,1.691-13.602,0.938c-2.19-0.36-4.464-0.203-6.699-0.287+ c-1.113-0.042-2.1,0.181-2.556,1.338c-0.361,0.918,0.161,1.79,1.545,2.655c2.496,1.56,5.274,2.261,8.16,2.57+ c6.552,0.703,12.963,0.132,18.954-2.758c2.377-1.146,4.776-2.211,7.21-3.212c0.28-0.115,0.541-0.372,0.885-0.224+ c0,1.56,0.076,3.119-0.016,4.668c-0.189,3.188-0.452,6.372-0.722,9.555c-0.069,0.815-0.272,1.565,0.764,1.985+ c0.447,0.181,0.339,0.652-0.03,0.962c-0.241,0.202-0.72,0.399-0.71,0.578c0.113,2.141-1.543,2.22-2.946,2.634+ c-0.454,0.134-0.905,0.344-1.299,0.605c-1.727,1.146-3.624,1.591-5.681,1.57c-2.266-0.024-4.166,0.817-5.78,2.455+ c-2.401,2.436-6.322,2.971-8.914,0.854c-1.855-1.515-3.788-1.901-5.957-1.795c-1.511,0.074-2.457-0.318-3.218-1.796+ c-1.246-2.418-3.822-2.603-5.977-0.375c-1.286,1.329-2.751,1.819-4.426,2.069c-0.924,0.138-7.548-2.26-8.177-2.939+ c-0.162-0.175-0.327-0.362-0.433-0.572c-1.131-2.257-2.801-3.643-5.475-3.531c-0.869,0.036-1.433-0.61-2.033-1.144+ c-1.674-1.492-2.463-3.495-3.233-5.514C238.546,405.343,238.421,405.173,238.145,405.106z M257.059,417.566+ c1.499,0.001,2.608-0.985,2.541-2.26c-0.066-1.265-1.382-2.427-2.795-2.469c-1.463-0.043-2.55,0.949-2.499,2.281+ C254.358,416.462,255.599,417.565,257.059,417.566z M281.631,420.383c1.181,0.037,2.007-0.398,2.259-1.168+ c0.3-0.916-0.23-1.52-0.863-2.041c-0.427-0.352-0.88-0.691-1.369-0.944c-1.258-0.651-2.168-0.501-2.738,0.386+ c-0.626,0.973-0.385,2.141,0.623,2.967C280.181,420.106,280.939,420.317,281.631,420.383z M247.017,402.858+ c0.03-1-0.766-1.867-1.728-1.882c-1.182-0.019-2.421,1.355-2.469,2.738c-0.037,1.067,0.501,1.793,1.385,1.869+ C245.429,405.688,246.977,404.189,247.017,402.858z"/>+ <path style="fill:#6F6A7F;" d="M297.315,344.071c0.469,1.516-0.348,2.285-0.879,3.139c-0.548,0.88-1.16,1.72-1.705,2.602+ c-0.163,0.264-0.182,0.614,0.036,0.898c0.253,0.329,0.632,0.251,0.847,0.058c1.13-1.014,2.61-1.445,3.766-2.478+ c2.042-1.827,4.558-2.891,7.197-3.609c0.446-0.121,0.951-0.08,1.422-0.034c0.191,0.019,0.425,0.214,0.526,0.392+ c0.187,0.33-0.003,0.68-0.275,0.815c-0.856,0.425-1.73,0.826-2.629,1.148c-1.028,0.368-1.57,0.966-1.5,2.122+ c0.129,2.141-0.23,4.275,0.258,6.441c0.306,1.359-0.018,2.858-0.042,4.295c-0.018,1.024-0.837,0.965-1.498,1.198+ c-2.536,0.891-3.873,2.512-3.774,5.202c0.147,4.007-0.488,4.265-4.934,5.788c-2.805,0.96-5.848,0.278-8.78,0.443+ c-0.887,0.05-1.238-0.482-1.173-1.396c0.16-2.228,0.297-4.459,0.355-6.691c0.048-1.861-0.007-1.858-1.793-1.939+ c-1.037-0.047-2.08-0.061-3.11-0.18c-1.016-0.117-1.501-0.565-1.824-1.756c-0.948-3.504-0.321-6.964-0.143-10.436+ c0.041-0.789,0.187-1.508-0.04-2.323c-0.335-1.203-0.004-1.52,1.273-1.654c2.02-0.211,4.01,0.104,5.935,0.604+ c2.436,0.633,4.724,0.454,7.017-0.523C293.603,345.451,295.404,344.81,297.315,344.071z M292.94,369.95+ c1.722-0.062,3.292-1.501,3.168-2.904c-0.105-1.198-1.278-2.238-2.417-2.144c-1.317,0.108-2.781,1.801-2.73,3.158+ C291.005,369.239,291.793,369.992,292.94,369.95z"/>+ <path style="fill:#6F6A7F;" d="M268.714,311.968c-3.059,1.333-3.79,4.127-4.973,6.569c-0.865,1.787-1.778,3.58-2.551,5.372+ c-1.445,3.35-2.401,6.973-0.391,10.566c0.116,0.208,0.221,0.435,0.386,0.599c0.42,0.42,1.247,0.648,0.793,1.48+ c-0.369,0.677-1.109,0.531-1.725,0.554c-5.833,0.22-11.675,0.38-17.495-0.053c-2.199-0.164-3.313,1.254-3.246,2.829+ c0.083,1.949,1.117,2.859,3.112,2.62c0.308-0.037,0.612-0.114,1.183-0.224c-0.384,3.263-0.723,6.391-0.662,9.658+ c-1.248-1.835-2.771-3.081-4.848-3.701c-1.032-0.308-1.197-1.464-1.281-2.403c-0.092-1.026,0.049-2.071,0.066-3.109+ c0.018-1.106,0.065-2.104-0.923-3.047c-1.078-1.029-0.37-4.094,1.233-5.052c1.633-0.975,2.487-2.451,3.354-3.959+ c1.354-2.355,2.686-4.729,3.883-7.166c1.059-2.157,2.552-3.828,4.716-5.043c0.453,0.82,0.417,2.223,1.831,2.017+ c1.003-0.146,1.772-0.828,2.02-1.836c0.265-1.08-0.648-1.297-1.404-1.571C254.836,314.25,262.873,311.544,268.714,311.968z"/>+ <path style="fill:#6F6A7F;" d="M252.229,229.5c-3.121,0.663-6.836,0.294-9.56,1.378c-4.28,1.702-8.899,2.42-12.971,4.648+ c-0.42,0.23-0.843,0.455-1.268,0.675c-1.123,0.583-3.699,2.077-4.013,1.861c-1.193-0.82-0.653-0.024-1.206-1.404+ c-0.71-1.773-1-1.744-1.669-3.534c-0.166-0.444-0.049-3.731,0.314-4.165c1.306-1.56,1.307-2.576,3.317-3.62+ c1.228-0.638,2.358-0.975,3.735-1.156c3.985-0.523,7.174-1.084,11.165-0.84c2.837,0.173,6.245,1.532,8.786,2.748+ C249.891,226.587,251.402,228.565,252.229,229.5z"/>+ <path style="fill:#6F6A7F;" d="M311.186,183.859c-1.172-1.702-1.055-3.445-1.373-5.062c-0.444-2.261-0.424-4.574-0.444-6.869+ c-0.011-1.192,0.207-2.392,0.727-3.491c0.611-1.29,1.368-2.509,1.602-3.961c0.089-0.55,0.524-0.933,0.957-1.322+ c1.305-1.171,2.621-2.345,3.781-3.653c0.835-0.941,1.815-1.439,2.997-1.814c0.186,0.838-0.127,1.544-0.397,2.142+ c-0.806,1.785-1.344,3.561-0.944,5.548c0.167,0.831-0.289,1.547-0.753,2.208c-0.55,0.783-1.123,1.55-1.686,2.324+ c-1.048,1.44-1.739,2.96-1.881,4.814c-0.157,2.052-0.849,4.042-0.909,6.137C312.831,182.014,312.018,182.875,311.186,183.859z"/>+ <path style="fill:#6F6A7F;" d="M486.433,366.752c-0.063,1.339-0.768,2.465-2.099,3.066c-1.551,0.7-3.178,1.117-4.769,0.049+ c-0.459-0.308-0.89-0.67-1.291-1.053c-1.361-1.299-1.363-2.634,0.087-3.859c0.788-0.665,1.581-1.213,1.978-2.274+ c0.382-1.02,1.322-1.274,2.388-0.938C484.563,362.322,486.421,364.744,486.433,366.752z"/>+ <path style="fill:#6F6A7F;" d="M195.844,347.821c0.018-0.212,0.056-0.845,0.128-1.476c0.357-3.126,1.926-4.658,5.057-4.949+ c1.92-0.179,2.935,0.996,2.422,2.876c-0.418,1.529-0.953,3.026-1.371,4.554c-0.28,1.023-0.714,1.723-1.929,1.679+ c-0.542-0.019-1.088,0.208-1.638,0.272C195.801,351.096,195.737,351.03,195.844,347.821z"/>+ <path style="fill:#6F6A7F;" d="M264.038,351.265c0-2.797-0.004-5.593,0.003-8.39c0.002-0.636-0.014-1.279,0.078-1.905+ c0.06-0.404,0.377-0.707,0.836-0.726c0.442-0.018,0.812,0.199,0.926,0.606c0.171,0.609,0.329,1.248,0.334,1.875+ c0.052,6.233,0.073,12.466,0.097,18.699c0.001,0.316-0.011,0.645-0.096,0.946c-0.115,0.408-0.403,0.69-0.856,0.708+ c-0.439,0.017-0.757-0.215-0.958-0.59c-0.273-0.51-0.293-1.07-0.293-1.634c0.002-3.196,0.001-6.393,0.001-9.589+ C264.087,351.265,264.062,351.265,264.038,351.265z"/>+ <path style="fill:#6F6A7F;" d="M448.288,355.081c3.082,0.005,4.308,2.102,2.804,4.816c-0.74,1.335-1.906,2.14-3.366,2.486+ c-1.576,0.373-2.351-0.002-3.007-1.529c-0.292-0.678-0.727-1.219-1.13-1.809c-0.743-1.087-0.595-1.844,0.405-2.702+ C444.851,355.608,446.653,355.078,448.288,355.081z"/>+ <path style="fill:#6F6A7F;" d="M377.892,248.721c0.276,2.965,0.918,5.869,0.671,8.792c-0.211,0.087-0.375,0.223-0.477,0.187+ c-2.144-0.775-2.127-0.766-3.509,0.871c-0.922,1.093-1.874,2.164-2.854,3.206c-0.507,0.538-1.145,1.008-1.852,0.325+ c-0.606-0.585-0.229-1.154,0.202-1.673C373.074,256.819,375.784,253.016,377.892,248.721z"/>+ <path style="fill:#6F6A7F;" d="M259.033,360.339c-1.671-0.728-2.047-1.895-2.052-3.364c-0.016-4.941-0.14-9.883,0.096-14.822+ c0.011-0.239,0.013-0.478,0.038-0.716c0.063-0.605,0.298-1.102,0.983-1.137c0.696-0.036,0.973,0.44,1.06,1.047+ c0.045,0.314,0.047,0.636,0.047,0.954c0.001,5.739,0.001,11.479-0.007,17.218C259.198,359.744,259.111,359.968,259.033,360.339z"+ />+ <path style="fill:#6F6A7F;" d="M273.057,352.445c-0.191,2.846,0.204,5.722-0.41,8.551c-0.119,0.547-0.085,1.212-0.867,1.143+ c-0.645-0.057-0.933-0.599-0.937-1.201c-0.014-2.385-0.125-4.78,0.05-7.153c0.176-2.384,0.186-4.765,0.253-7.147+ c0.009-0.318-0.024-0.641,0.021-0.953c0.101-0.709-0.335-1.878,0.851-1.833c0.985,0.037,0.908,1.153,0.943,1.914+ c0.072,1.588,0.072,3.18,0.095,4.77C273.064,351.173,273.057,351.809,273.057,352.445z"/>+ <path style="fill:#6F6A7F;" d="M251.534,347.821c0,1.997-0.002,3.995,0.001,5.992c0.001,0.706-0.108,1.247-1.04,1.202+ c-0.85-0.041-1.076-0.477-1.071-1.229c0.025-3.994,0.035-7.989,0.052-11.984c0.001-0.159,0.012-0.32,0.034-0.478+ c0.071-0.512,0.292-0.947,0.848-1.001c0.708-0.069,1.027,0.419,1.052,1.028c0.063,1.516,0.065,3.034,0.085,4.552+ c0.008,0.639,0.001,1.278,0.001,1.917C251.509,347.821,251.521,347.821,251.534,347.821z"/>+ <path style="fill:#6F6A7F;" d="M380.258,180.809c0.015-2.04,0.714-3.172,1.926-3.302c1.251-0.134,2.428,1.063,2.71,2.786+ c0.063,0.387,0.083,0.791,0.053,1.183c-0.111,1.469-1.256,2.74-2.46,2.767c-1.095,0.025-1.835-0.817-2.123-2.442+ C380.296,181.414,380.28,181.016,380.258,180.809z"/>+ <path style="fill:#6F6A7F;" d="M267.039,304.603c-0.039,1.508-3.291,3.663-4.709,3.125c-0.578-0.219-0.882-0.654-0.969-1.236+ c-0.222-1.502,1.673-3.818,3.177-3.903C265.792,302.518,267.066,303.545,267.039,304.603z"/>+ <path style="fill:#6F6A7F;" d="M183.387,282.857c-0.057-1.064,0.039-1.685,0.366-2.254c0.774-1.346,2.224-1.43,3.042-0.121+ c0.552,0.884,0.832,1.892,0.767,2.953c-0.077,1.258-0.775,2.123-1.773,2.193c-1.132,0.079-1.769-0.584-2.114-1.563+ C183.493,283.548,183.419,282.993,183.387,282.857z"/>+ <path style="fill:#6F6A7F;" d="M320.733,249.47c-0.072,0.292-0.13,0.86-0.353,1.355c-0.493,1.094-1.786,1.773-2.707,1.449+ c-1.173-0.412-1.453-1.377-1.372-2.487c0.034-0.468,0.137-0.946,0.301-1.385c0.457-1.228,1.475-1.814,2.582-1.544+ C320.226,247.114,320.771,247.939,320.733,249.47z"/>+ <path style="fill:#6F6A7F;" d="M435.035,341.585c1.395-0.004,2.155,0.709,2.108,1.977c-0.054,1.44-1.396,2.876-2.681,2.871+ c-1.257-0.006-2.431-1.537-2.329-3.107C432.213,342.075,432.745,341.864,435.035,341.585z"/>+ <path style="fill:#6F6A7F;" d="M386.099,251.567c-0.095,1.22-0.335,2.384-1.166,3.3c-0.837,0.923-2.031,0.669-2.376-0.531+ c-0.38-1.32-0.259-2.665,0.282-3.932c0.325-0.762,0.863-1.37,1.8-1.235c0.953,0.137,1.196,0.915,1.359,1.716+ C386.044,251.116,386.067,251.352,386.099,251.567z"/>+ <path style="fill:#6F6A7F;" d="M315.496,218.713c-0.054-1.067,0.055-1.775,0.339-2.437c0.334-0.781,0.878-1.342,1.812-1.247+ c0.96,0.098,1.315,0.792,1.437,1.634c0.164,1.129-0.043,2.216-0.511,3.245c-0.313,0.687-0.808,1.239-1.631,1.136+ c-0.82-0.103-1.16-0.76-1.321-1.498C315.536,219.161,315.503,218.765,315.496,218.713z"/>+ <path style="fill:#6F6A7F;" d="M220.87,218.908c-1.342-0.001-2.104-0.497-2.392-1.536c-0.274-0.989,0.273-1.671,1.064-2.172+ c1.07-0.677,2.647-0.62,3.585,0.134c0.584,0.47,0.994,1.032,0.671,1.847C223.444,218.077,221.881,218.923,220.87,218.908z"/>+ <path style="fill:#6F6A7F;" d="M370.522,241.153c0.229-1.139,0.794-2.263,1.973-2.933c1.227-0.697,2.466,0.03,2.535,1.421+ c0.064,1.288-1.411,3.32-2.653,3.654C371.176,243.619,370.361,242.756,370.522,241.153z"/>+ <path style="fill:#6F6A7F;" d="M417.214,139.723c0.011,1.147-0.762,2.045-1.809,2.103c-1.155,0.064-2.928-1.981-2.866-3.305+ c0.047-1.009,0.844-1.771,1.848-1.769C415.809,136.756,417.199,138.216,417.214,139.723z"/>+ <path style="fill:#6F6A7F;" d="M361.382,243.217c0.075-1.018,0.367-2.01,0.254-3.057c-0.063-0.586,0.297-1.11,0.961-1.129+ c0.768-0.023,1.154,0.468,1.132,1.21c-0.033,1.118,0.098,2.163,0.65,3.185c0.414,0.766,0.605,1.67-0.158,2.414+ c-0.306,0.299-0.721,0.373-1.085,0.119c-0.752-0.525-1.763-0.844-1.756-2.031C361.382,243.692,361.381,243.455,361.382,243.217z"+ />+ <path style="fill:#6F6A7F;" d="M290.876,394.312c0.209-1.595,1.13-2.648,2.126-2.572c2.127,0.162,4.064-2.31,6.394-0.323+ C296.944,393.545,293.987,393.801,290.876,394.312z"/>+ <path style="fill:#6F6A7F;" d="M381.024,207.423c0.039-1.196,0.465-2.022,1.142-2.728c0.598-0.625,1.326-0.926,2.133-0.505+ c0.791,0.412,1.004,1.184,0.895,2.026c-0.127,0.985-0.628,1.781-1.39,2.402c-0.565,0.46-1.189,0.853-1.937,0.431+ C381.172,208.655,380.946,208.001,381.024,207.423z"/>+ <path style="fill:#6F6A7F;" d="M252.579,222.737c-0.026-0.923,0.018-1.482,0.276-1.994c0.499-0.99,1.587-1.168,2.369-0.399+ c0.726,0.713,1.104,2.621,0.688,3.604c-0.332,0.786-0.854,1.387-1.796,1.293c-0.832-0.083-1.224-0.688-1.386-1.443+ C252.629,223.334,252.595,222.855,252.579,222.737z"/>+ <path style="fill:#6F6A7F;" d="M162.794,190.998c-1.158,0.027-2.184-0.661-2.353-1.576c-0.165-0.897,0.623-1.844,1.789-2.148+ c0.076-0.02,0.155-0.025,0.233-0.04c1.596-0.299,2.868,0.305,3.049,1.449C165.7,189.864,164.412,190.961,162.794,190.998z"/>+ <path style="fill:#6F6A7F;" d="M197.65,296.538c0.036-0.993,0.697-1.697,1.618-1.724c1.21-0.035,2.687,1.545,2.714,2.903+ c0.02,1.017-0.831,1.764-1.891,1.661C198.813,299.254,197.602,297.845,197.65,296.538z"/>+ <path style="fill:#6F6A7F;" d="M246.984,310.586c-0.142,1.034-0.061,2.026-0.685,2.848c-0.405,0.533-0.878,0.977-1.596,0.86+ c-0.82-0.133-1.193-0.731-1.327-1.501c-0.206-1.182,0.852-3.12,1.954-3.588C246.36,308.767,247.035,309.37,246.984,310.586z"/>+ <path style="fill:#6F6A7F;" d="M360.396,134.209c-0.013,0.97-0.806,1.653-1.932,1.665c-1.284,0.014-2.518-1.121-2.546-2.342+ c-0.023-0.999,0.762-1.82,1.776-1.859C358.94,131.626,360.412,133.008,360.396,134.209z"/>+ <path style="fill:#6F6A7F;" d="M91.092,178.118c-1.205-0.01-2.283-1.074-2.316-2.287c-0.028-1.025,0.769-1.761,1.854-1.712+ c1.133,0.051,2.38,1.257,2.378,2.298C93.007,177.386,92.171,178.128,91.092,178.118z"/>+ <path style="fill:#6F6A7F;" d="M398.146,371.526c-1.702,0.518-3.145-0.4-4.635,0.497c-0.532,0.32-1.007-0.287-1.153-0.879+ c-0.247-1.006-0.341-2.026-0.075-3.401C394.319,369.056,396.233,370.291,398.146,371.526z"/>+ <path style="fill:#6F6A7F;" d="M124.438,207.879c0.878,0.084,1.91,0.22,2.542,1.188c0.279,0.427,0.26,0.936-0.105,1.314+ c-0.81,0.838-1.868,0.776-2.888,0.628c-1.227-0.178-1.975-0.929-1.887-1.758C122.19,208.407,123.044,207.868,124.438,207.879z"/>+ <path style="fill:#6F6A7F;" d="M217.315,235.063c1.075-0.066,2.194,1.092,2.277,2.357c0.068,1.04-0.674,1.989-1.596,2.043+ c-1.028,0.06-2.002-1.132-2.061-2.52C215.889,235.833,216.414,235.118,217.315,235.063z"/>+ <path style="fill:#6F6A7F;" d="M332.035,191.322c-0.144,0.88-0.765,1.234-1.666,1.2c-1.257-0.047-2.345-1.278-2.273-2.556+ c0.054-0.961,0.775-1.676,1.661-1.648C330.864,188.353,332.126,189.969,332.035,191.322z"/>+ <path style="fill:#6F6A7F;" d="M227.224,339.22c-0.03,0.45-0.211,0.803-0.524,1.064c-0.808,0.674-1.759,1.108-2.772,1.303+ c-1.012,0.195-1.676-0.682-1.336-1.631c0.407-1.137,2.344-2.258,3.484-2.022C226.798,338.083,227.146,338.547,227.224,339.22z"/>+ <path style="fill:#6F6A7F;" d="M421.234,308.552c-1.088-0.02-2.18-0.885-2.23-1.766c-0.046-0.822,1.124-1.863,2.114-1.88+ c1.089-0.019,2.235,1.081,2.18,2.092C423.25,307.882,422.334,308.572,421.234,308.552z"/>+ <path style="fill:#6F6A7F;" d="M185.114,242.157c-0.078,1.056-1.563,2.355-2.691,2.354c-0.859-0.001-1.466-0.702-1.373-1.587+ c0.127-1.201,1.543-2.324,2.738-2.171C184.635,240.862,185.168,241.427,185.114,242.157z"/>+ <path style="fill:#6F6A7F;" d="M439.585,120.175c0.059,1.193-0.772,2.204-1.897,2.308c-1.042,0.096-1.79-0.605-1.814-1.699+ c-0.025-1.156,0.873-2.262,1.908-2.351C438.777,118.349,439.531,119.078,439.585,120.175z"/>+ <path style="fill:#6F6A7F;" d="M292.78,420.433c-0.137,0.987-0.898,1.261-1.653,1.526c-0.746,0.262-1.517,0.621-2.213-0.096+ c-0.459-0.474-0.394-0.998-0.045-1.514c0.565-0.835,2.067-1.41,2.955-1.101C292.383,419.442,292.776,419.803,292.78,420.433z"/>+ <path style="fill:#6F6A7F;" d="M401.929,365.973c-0.006,0.771-0.772,1.422-1.632,1.387c-0.936-0.038-1.686-0.91-1.685-1.959+ c0.001-0.945,0.614-1.654,1.385-1.603C400.774,363.851,401.935,365.158,401.929,365.973z"/>+ <path style="fill:#6F6A7F;" d="M112.222,311.418c0.031,0.711-0.2,1.272-0.97,1.392c-0.854,0.132-1.681-0.952-1.695-2.196+ c-0.009-0.787,0.259-1.433,1.143-1.525C111.525,309.002,112.218,310.102,112.222,311.418z"/>+ <path style="fill:#6F6A7F;" d="M478.511,293.166c-0.895-0.045-1.594-0.902-1.464-1.827c0.119-0.843,0.637-1.305,1.478-1.198+ c0.868,0.11,1.478,0.599,1.52,1.558C480.081,292.521,479.347,293.208,478.511,293.166z"/>+ <path style="fill:#6F6A7F;" d="M402.086,165.915c-0.099,0.677-0.594,0.894-1.175,0.971c-1.097,0.145-2.132-0.467-2.226-1.316+ c-0.074-0.668,0.287-1.058,0.912-1.174C400.306,164.266,402.043,165.352,402.086,165.915z"/>+ <path style="fill:#6F6A7F;" d="M266.995,420.963c-0.122,0.781-0.661,1.181-1.445,1.218c-0.824,0.039-1.487-0.745-1.339-1.566+ c0.137-0.755,0.533-1.335,1.39-1.33C266.34,419.289,267.055,420.165,266.995,420.963z"/>+ <path style="fill:#6F6A7F;" d="M128.318,213.865c-2.474-0.125-4.832-0.245-7.19-0.364+ C123.276,212.412,126.053,212.665,128.318,213.865z"/>+ <path style="fill:#6F6A7F;" d="M438.938,339.138c-0.044,0.714-0.504,1.084-1.216,1.103c-0.781,0.021-1.422-0.304-1.539-1.14+ c-0.105-0.745,0.365-1.172,1.074-1.292C438.064,337.672,438.89,338.318,438.938,339.138z"/>+ <path style="fill:#6F6A7F;" d="M259.116,308.601c-0.078,0.843-0.891,1.472-1.664,1.313c-0.63-0.129-0.953-0.541-0.86-1.178+ c0.116-0.797,0.642-1.298,1.419-1.309C258.723,307.418,259.134,307.894,259.116,308.601z"/>+ <path style="fill:#6F6A7F;" d="M417.891,133.969c-0.09,0.458-0.285,0.786-0.749,0.816c-0.676,0.043-1.418-0.752-1.273-1.393+ c0.115-0.506,0.473-0.875,1.013-0.778C417.611,132.746,417.874,133.311,417.891,133.969z"/>+ <path style="fill:#6F6A7F;" d="M383.393,217.103c-0.006,0.313-0.183,0.811-0.73,0.867c-0.784,0.08-0.865-0.599-0.883-1.146+ c-0.017-0.503,0.213-0.984,0.827-0.942C383.181,215.921,383.379,216.362,383.393,217.103z"/>+ <path style="fill:#6F6A7F;" d="M473.386,365.342c-0.091,0.68-0.455,1.035-1.12,1.016c-0.454-0.013-0.762-0.278-0.802-0.724+ c-0.062-0.692,0.409-1.047,0.994-1.115C472.983,364.458,473.359,364.776,473.386,365.342z"/>+ <path style="fill:#6F6A7F;" d="M320.112,254.964c0.542,0.116,0.861,0.439,0.824,0.974c-0.045,0.657-0.475,0.979-1.11,0.865+ c-0.542-0.097-0.748-0.543-0.67-1.055C319.236,255.226,319.57,254.935,320.112,254.964z"/>+ <path style="fill:#6F6A7F;" d="M211.117,346.951c0.061,0.525-0.396,0.58-0.72,0.731c-0.178,0.084-0.45,0.265-0.556-0.091+ c-0.13-0.435,0.059-0.755,0.477-0.89C210.609,346.607,210.918,346.622,211.117,346.951z"/>+ <path style="fill:#6F6A7F;" d="M324.051,156.898c-0.091-0.1-0.322-0.239-0.355-0.415c-0.071-0.374,0.231-0.527,0.544-0.532+ c0.271-0.005,0.384,0.22,0.323,0.468C324.508,156.637,324.432,156.873,324.051,156.898z"/>+ <path style="fill:#6F6A7F;" d="M416.264,160.589c0.641-0.462,1.245-0.736,1.428-0.235c0.212,0.582-0.481,0.306-0.781,0.377+ C416.777,160.763,416.614,160.672,416.264,160.589z"/>+ <path style="fill:#6F6A7F;" d="M390.162,262.603c0.266,0.177,0.086-0.254,0.184,0.05c0.014,0.044,0.015,0.134,0.009,0.135+ c-0.151,0.029-0.202-0.05-0.151-0.224L390.162,262.603z"/>+ <path style="fill:#6F6A7F;" d="M509.453,380.218c0.49-0.02,0.995,0.027,1.328,0.397c0.759,0.842,1.651,1.37,2.736,1.762+ c1.226,0.443,1.515,1.615,0.792,2.743c-0.874,1.364-2.184,2.309-3.587,3.044c-0.829,0.434-1.842,0.216-2.337-0.597+ c-0.62-1.019-1.378-1.931-2.008-2.927C505.258,382.874,507.109,380.276,509.453,380.218z"/>+ <path style="fill:#6F6A7F;" d="M668.661,298.515c-1.526,0.001-2.312-0.666-2.192-2.158c0.101-1.257,0.409-2.515,0.776-3.727+ c0.296-0.978,1.148-1.057,1.954-0.659c1.157,0.572,2.085,1.454,2.857,2.486c0.367,0.492,0.322,1.028,0.11,1.587+ C671.66,297.379,670.07,298.514,668.661,298.515z"/>+ <path style="fill:#6F6A7F;" d="M535.781,429.737c1.133,0.075,2.259,0.699,3.353,1.343c0.641,0.378,0.672,1.022,0.347,1.683+ c-0.539,1.095-1.756,1.693-2.976,1.411c-0.542-0.125-1.069-0.315-1.6-0.486c-1.041-0.335-1.983-0.77-1.788-2.13+ C533.268,430.506,534.315,429.752,535.781,429.737z"/>+ <path style="fill:#6F6A7F;" d="M745.289,298.52c-0.11,0.397-0.207,0.947-0.416,1.45c-0.312,0.753-0.791,1.398-1.684,1.496+ c-0.993,0.108-1.351-0.675-1.733-1.36c-0.805-1.443-1.182-2.88-0.068-4.391c0.961-1.303,2.145-1.362,3.048-0.033+ C744.982,296.485,745.181,297.414,745.289,298.52z"/>+ <path style="fill:#6F6A7F;" d="M629.027,188.465c-0.122,0.468-0.256,1.09-0.448,1.694c-0.254,0.801-0.665,1.486-1.651,1.421+ c-0.94-0.062-1.703-0.467-1.995-1.421c-0.184-0.603-0.317-1.241-0.346-1.869c-0.072-1.539,0.828-2.696,2.048-2.734+ C627.918,185.514,629.061,186.829,629.027,188.465z"/>+ <path style="fill:#6F6A7F;" d="M567.379,452.561c-1.367-0.137-0.907-2.053-1.748-2.992c-0.529-0.59-0.28-1.366,0.35-1.907+ c0.819-0.702,2.089-0.734,3.137-0.093c1.192,0.73,1.757,1.896,1.459,3.007C570.268,451.729,569.165,452.538,567.379,452.561z"/>+ <path style="fill:#6F6A7F;" d="M649.69,269.751c0.096,0.521-0.095,0.929-0.503,1.241c-0.963,0.739-2.436,0.344-3.527-0.939+ c-0.986-1.161-1.027-2.216-0.123-3.165c1.054-1.106,2.293-1.028,3.216,0.203C649.095,267.547,649.658,269.145,649.69,269.751z"/>+ <path style="fill:#6F6A7F;" d="M692.855,333.711c1.982-0.106,2.618,0.877,1.726,2.666c-0.965,1.933-2.01,2.181-3.387,0.723+ c-0.673-0.712-1.896-1.305-1.39-2.527c0.454-1.097,1.707-0.529,2.579-0.793C692.533,333.734,692.697,333.733,692.855,333.711z"/>+ <path style="fill:#6F6A7F;" d="M521.985,370.434c0.555,0.074,1.032,0.12,1.501,0.204c1.551,0.278,2.066,0.724,1.896,1.617+ c-0.25,1.31-1.869,2.496-2.979,2.096c-0.584-0.21-1.137-0.58-1.618-0.98c-0.609-0.506-0.736-1.226-0.45-1.957+ C520.636,370.643,521.278,370.388,521.985,370.434z"/>+ <path style="fill:#6F6A7F;" d="M656.483,237.506c-0.008,0.978-0.142,1.801-1.123,1.976c-0.841,0.149-1.307-0.485-1.612-1.155+ c-0.36-0.792-0.693-1.606-0.935-2.44c-0.219-0.757,0.031-1.43,0.77-1.809c0.869-0.445,1.555-0.077,2.051,0.636+ C656.239,235.583,656.423,236.602,656.483,237.506z"/>+ <path style="fill:#6F6A7F;" d="M673.49,200.185c-0.393-0.033-0.811,0.007-1.175-0.114c-0.811-0.271-0.962-1.034-0.944-1.727+ c0.016-0.647,0.665-0.538,1.113-0.561c1.22-0.062,2.294-0.561,3.37-1.07c0.659-0.312,1.255-0.233,1.64,0.43+ c0.34,0.586,0.057,1.092-0.395,1.463C676.05,199.467,674.963,200.272,673.49,200.185z"/>+ <path style="fill:#6F6A7F;" d="M725.772,283.692c-1.039,0.032-1.817-0.475-2.448-1.233c-0.369-0.443-0.567-0.954-0.258-1.53+ c0.293-0.546,0.789-0.774,1.367-0.793c0.912-0.03,1.701,0.333,2.373,0.923c0.486,0.426,0.902,0.936,0.667,1.648+ C727.206,283.516,726.536,283.703,725.772,283.692z"/>+ <path style="fill:#6F6A7F;" d="M652.738,172.602c-0.044,1.094-0.907,1.785-2.128,1.704c-1-0.066-1.651-1.011-1.547-2.245+ c0.092-1.084,0.84-1.713,1.923-1.617C652.005,170.533,652.783,171.491,652.738,172.602z"/>+ <path style="fill:#6F6A7F;" d="M650.403,364.15c-0.062,0.883-1.402,1.673-2.622,1.546c-0.932-0.097-1.752-1.042-1.708-1.969+ c0.042-0.872,0.911-1.406,2.174-1.335C649.521,362.464,650.467,363.236,650.403,364.15z"/>+ <path style="fill:#6F6A7F;" d="M637.846,154.923c1.139,0.207,1.503,1.006,1.766,1.834c0.241,0.759,0.363,1.571-0.374,2.162+ c-0.222,0.178-0.583,0.305-0.859,0.271c-0.878-0.106-1.34-0.714-1.616-1.511c-0.303-0.874-0.329-1.711,0.356-2.411+ C637.317,155.066,637.662,155.006,637.846,154.923z"/>+ <path style="fill:#6F6A7F;" d="M655.627,119.455c-1.091,0.036-2.007-0.899-2.053-2.023c-0.036-0.891,0.252-1.592,1.253-1.717+ c0.98-0.122,2.152,1.042,2.145,2.145C656.965,118.791,656.451,119.325,655.627,119.455z"/>+ <path style="fill:#6F6A7F;" d="M716.589,176.491c0.027,0.652,0.01,1.314-0.788,1.493c-0.626,0.14-1.037-0.275-1.345-0.754+ c-0.477-0.741-0.747-1.553-0.706-2.449c0.023-0.505,0.211-0.921,0.688-1.141c0.598-0.277,1.074,0.007,1.471,0.415+ C716.571,174.735,716.519,175.634,716.589,176.491z"/>+ <path style="fill:#6F6A7F;" d="M506.683,393.678c-1.469-0.166-1.969-0.775-1.776-2.14c0.12-0.853,0.594-1.255,1.434-1.207+ c1.14,0.065,2.433,1.417,2.2,2.347C508.306,393.614,507.613,393.872,506.683,393.678z"/>+ <path style="fill:#6F6A7F;" d="M607.412,445.976c-1.192-0.044-2.166-0.898-2.091-1.967c0.061-0.865,0.631-1.234,1.439-1.228+ c1.142,0.008,2.297,0.99,2.314,1.951C609.094,445.803,608.426,446.053,607.412,445.976z"/>+ <path style="fill:#6F6A7F;" d="M601.659,465.102c0.043,0.927-0.619,1.516-1.716,1.527c-0.868,0.008-1.739-0.766-1.774-1.577+ c-0.034-0.776,0.823-1.511,1.799-1.544C600.964,463.475,601.612,464.086,601.659,465.102z"/>+ <path style="fill:#6F6A7F;" d="M574.654,452.171c-0.019,0.78-0.793,1.467-1.601,1.373c-0.972-0.113-1.287-0.844-1.349-1.667+ c-0.064-0.851,0.442-1.321,1.28-1.348C573.873,450.499,574.675,451.319,574.654,452.171z"/>+ <path style="fill:#6F6A7F;" d="M659.104,354.515c-0.768,1.787-1.58,2.285-2.863,1.716c-0.562-0.249-0.896-0.647-0.764-1.301+ c0.13-0.646,0.651-0.584,1.119-0.575c0.474,0.009,0.948,0.05,1.421,0.081C658.385,354.459,658.753,354.489,659.104,354.515z"/>+ <path style="fill:#6F6A7F;" d="M656.88,208.723c-0.047-0.703,0.918-2.138,1.632-2.211c0.613-0.063,1.1,0.188,1.24,0.82+ c0.166,0.75-1.145,2.37-1.939,2.398C657.268,209.749,656.957,209.417,656.88,208.723z"/>+ <path style="fill:#6F6A7F;" d="M704.64,165.905c-0.196,0.712-0.754,0.73-1.329,0.666c-1.074-0.118-1.852-0.824-1.741-1.593+ c0.095-0.659,0.542-0.948,1.181-0.922C703.617,164.091,704.728,165.194,704.64,165.905z"/>+ <path style="fill:#6F6A7F;" d="M626.026,194.216c-0.053,0.689-0.313,1.302-1.075,1.302c-0.771,0-1.389-0.444-1.355-1.296+ c0.028-0.695,0.503-1.156,1.231-1.18C625.597,193.015,625.937,193.504,626.026,194.216z"/>+ <path style="fill:#6F6A7F;" d="M658.351,182.1c0.711,0.163,1.113,0.597,1.077,1.335c-0.036,0.733-0.46,1.238-1.192,1.185+ c-0.708-0.051-1.127-0.577-1.088-1.311C657.186,182.588,657.604,182.163,658.351,182.1z"/>+ <path style="fill:#6F6A7F;" d="M713.56,310.199c-0.001,0.231-0.025,0.473-0.295,0.523c-0.164,0.03-0.266-0.126-0.204-0.3+ c0.049-0.137,0.148-0.266,0.251-0.373C713.452,309.904,713.547,309.965,713.56,310.199z"/>+ <path style="fill:#6F6A7F;" d="M568.252,218.887c-0.078,0.103-0.148,0.213-0.24,0.302c-0.023,0.023-0.114-0.025-0.174-0.04+ c0.148-0.076,0.297-0.153,0.445-0.229L568.252,218.887z"/>+ <path style="fill:#6F6A7F;" d="M555.72,324.43c0.582-3.38,0.195-6.748,1.656-9.865c0.575-1.227,1.184-2.444,1.664-3.709+ c2.203-5.805,6.618-9.653,11.493-13.105c3.48-0.633,6.264-3.104,9.769-3.687c2.118-0.352,2.681-0.032,3.438,1.912+ c0.831,2.137,0.889,4.357,0.889,6.597c0,0.751-0.323,1.388-0.645,2.03c-1.391,2.771-3.091,5.377-4.353,8.219+ c-0.21,0.473-0.736,0.819-1.151,1.183c-3.333,2.924-7.364,4.651-11.215,6.731c-3.291,1.778-6.738,2.76-10.308,3.551+ C556.656,324.353,556.343,324.36,555.72,324.43z"/>+ <path style="fill:#6F6A7F;" d="M576.416,336.979c1.776-0.05,4.613,3.048,4.659,5.088c0.038,1.697-3.105,4.43-5.06,4.399+ c-1.228-0.019-4.404-3.496-4.424-4.843C571.563,339.831,574.469,337.034,576.416,336.979z"/>+ <path style="fill:#6F6A7F;" d="M542.461,318.053c-2.393-0.548-4.392-1.621-5.665-3.721c-0.638-1.053-0.284-2.145,0.82-2.881+ c1.256-0.838,2.696-1.064,4.124-0.768c1.39,0.289,2.766,0.748,4.075,1.305c1.355,0.576,1.742,2.06,0.939,3.435+ C545.798,317.057,544.177,317.692,542.461,318.053z"/>+ <path style="fill:#6F6A7F;" d="M611.584,321.393c-0.036,0.564-0.163,1.094-0.459,1.591c-1.571,2.643-5.787,3.078-7.803,0.797+ c-0.552-0.624-0.956-1.341-0.723-2.177c0.536-1.923,1.875-3.139,3.731-3.716c1.508-0.469,3.759,0.437,4.709,1.708+ C611.444,320.138,611.566,320.745,611.584,321.393z"/>+ <path style="fill:#6F6A7F;" d="M612.405,289.33c-1.143,0.224-2.119-0.186-3.018-0.679c-1.615-0.885-1.842-2.947-0.527-4.204+ c0.343-0.328,0.753-0.588,1.078-0.931c1.486-1.569,3.621-1.796,5.264-0.536c1.575,1.208,1.758,3.251,0.542,5.137+ C614.902,289.426,613.634,289.358,612.405,289.33z"/>+ <path style="fill:#6F6A7F;" d="M573.325,282.26c-2.345-0.099-4.075-1.637-4.353-3.868c-0.089-0.715,0.233-1.262,0.796-1.612+ c1.39-0.865,2.9-1.324,4.535-0.882c1.705,0.461,2.797,2.195,2.495,3.825C576.49,281.385,575.185,282.338,573.325,282.26z"/>+ <path style="fill:#6F6A7F;" d="M557.915,355.65c-0.061,1.227-0.866,2.037-2.02,2.572c-0.958,0.444-2.739,0.224-3.358-0.44+ c-0.618-0.662-0.715-1.432-0.156-2.167c0.52-0.684,0.488-1.242-0.07-1.898c-0.611-0.719-0.89-1.573-0.102-2.346+ c0.73-0.716,1.637-0.918,2.642-0.597C556.422,351.274,557.937,353.607,557.915,355.65z"/>+ <path style="fill:#6F6A7F;" d="M591.136,372.559c-1.79,0.032-3.116-0.268-4.298-0.981c-1.236-0.745-1.254-1.918-0.016-2.621+ c1.516-0.862,3.085-1.353,4.658,0.009c0.473,0.409,1.127,0.601,1.647,0.965c1.102,0.771,0.992,1.861-0.273,2.326+ C592.195,372.499,591.451,372.508,591.136,372.559z"/>+ <path style="fill:#6F6A7F;" d="M611.433,366.441c1.076,0.081,2.006,0.109,2.37,1.105c0.371,1.016-0.098,1.895-0.788,2.573+ c-0.769,0.755-1.758,1.056-2.812,0.602c-0.501-0.216-0.986-0.521-1.4-0.877c-1.149-0.989-0.91-2.479,0.504-2.978+ C610.042,366.607,610.847,366.552,611.433,366.441z"/>+ <path style="fill:#6F6A7F;" d="M624.339,341.81c0.475,0.133,1.163,0.32,1.846,0.52c0.57,0.167,1.025,0.481,1.108,1.114+ c0.096,0.738-0.335,1.192-0.93,1.521c-1.459,0.807-3.628-0.162-4.023-1.793C622.141,342.353,622.884,341.78,624.339,341.81z"/>+ <path style="fill:#6F6A7F;" d="M611.784,294.065c-0.144,0.869-0.788,1.088-1.564,1.084c-1.323-0.007-2.465-1.067-2.367-2.171+ c0.076-0.854,0.953-1.588,1.831-1.531C610.649,291.509,611.803,292.931,611.784,294.065z"/>+ <path style="fill:#6F6A7F;" d="M549.805,310.328c-0.962-0.068-1.794-1.14-1.69-2.204c0.092-0.944,0.653-1.399,1.578-1.359+ c0.956,0.041,1.731,0.927,1.722,1.902C551.405,309.611,550.652,310.389,549.805,310.328z"/>+ <path style="fill:#6F6A7F;" d="M584.026,333.787c0.01,1.319-0.833,2.409-1.736,2.391c-0.937-0.019-1.422-0.596-1.511-1.483+ c-0.103-1.034,0.839-2.025,1.874-1.972C583.44,332.762,583.988,333.127,584.026,333.787z"/>+ <path style="fill:#6F6A7F;" d="M566.21,283.132c0.019,0.666-1.121,1.579-1.858,1.527c-0.543-0.038-0.822-0.379-0.881-0.903+ c-0.095-0.853,0.481-1.508,1.366-1.525C565.516,282.218,566.048,282.456,566.21,283.132z"/>+ <path style="fill:#6F6A7F;" d="M605.938,363.759c1.234-1.293,2.637-1.218,4.452-1.193+ C608.792,363.353,607.515,363.751,605.938,363.759z"/>+ <path style="fill:#6F6A7F;" d="M598.081,370.154c0.231,0.082,0.442,0.194,0.365,0.491c-0.062,0.24-0.198,0.438-0.491,0.364+ c-0.24-0.061-0.441-0.196-0.364-0.489C597.651,370.283,597.778,370.088,598.081,370.154z"/>+ <path style="fill:#6F6A7F;" d="M604.564,364.102c-0.068-0.012-0.135-0.023-0.203-0.035c0,0.013-0.002,0.037,0,0.037+ c0.131,0.024,0.262,0.046,0.393,0.069C604.691,364.149,604.628,364.126,604.564,364.102z"/>+ <path style="fill:#6F6A7F;" d="M540.171,143.678c-0.192,1.11-0.122,2.183-0.79,3.067c-0.401,0.53-0.898,0.966-1.58,0.935+ c-0.796-0.036-1.318-0.574-1.565-1.291c-0.453-1.316-0.453-2.668-0.057-3.998c0.384-1.289,1.188-1.95,2.172-1.821+ c1.169,0.153,1.522,1.014,1.673,2.023C540.083,142.985,540.13,143.379,540.171,143.678z"/>+ <path style="fill:#6F6A7F;" d="M556.323,165.851c0.205-1.311,0.678-2.628,1.894-3.546c0.522-0.393,1.116-0.615,1.768-0.282+ c0.698,0.356,1.108,0.945,1.034,1.718c-0.156,1.639-0.914,3.011-2.164,4.064c-0.507,0.427-1.193,0.464-1.776,0.072+ C556.422,167.434,556.315,166.723,556.323,165.851z"/>+ <path style="fill:#6F6A7F;" d="M541.406,175.978c-0.02,0.398,0.008,0.804-0.067,1.19c-0.148,0.759-0.569,1.31-1.378,1.452+ c-0.804,0.141-1.407-0.197-1.798-0.879c-0.637-1.113-0.679-2.264-0.113-3.425c0.346-0.71,0.899-1.119,1.703-1.061+ c0.933,0.068,1.399,0.681,1.569,1.535C541.399,175.176,541.381,175.581,541.406,175.978z"/>+ <path style="fill:#6F6A7F;" d="M555.775,174.283c0.045,0.783-0.128,1.433-1.066,1.486c-0.853,0.049-1.433-0.699-1.426-1.78+ c0.005-0.774,0.239-1.417,1.111-1.528C555.173,172.362,555.733,173.135,555.775,174.283z"/>+ <path style="fill:#6F6A7F;" d="M539.921,168.06c0.068-0.49,0.348-0.85,0.886-0.856c0.646-0.007,1.016,0.407,1.024,1.021+ c0.008,0.621-0.36,1.055-1.014,0.998C540.19,169.169,539.894,168.73,539.921,168.06z"/>+ <path style="fill:#6F6A7F;" d="M583.256,243.874c-0.633-0.005-1.268,0.023-1.874-0.222c-1.251-0.506-1.807-1.408-1.578-2.578+ c0.253-1.295,1.203-2.204,2.423-2.215c0.546-0.005,1.108,0.108,1.636,0.258c1.555,0.444,2.424,1.595,2.258,2.913+ C585.965,243.262,585.048,243.852,583.256,243.874z"/>+ <path style="fill:#6F6A7F;" d="M596.24,241.761c0.707,0.113,1.177,0.491,1.177,1.235c0.001,0.709-0.37,1.293-1.104,1.269+ c-0.843-0.028-1.208-0.668-1.155-1.48C595.2,242.143,595.605,241.812,596.24,241.761z"/>+ <path style="fill:#6F6A7F;" d="M461.72,256.377c0.069-1.472,0.714-0.99,1.493-0.456c-0.471,0.585-1.108,0.094-1.529,0.421+ C461.684,256.343,461.72,256.377,461.72,256.377z"/>+ <polygon style="fill:#6F6A7F;" points="460.83,255.132 460.63,255.134 460.825,255.173 "/>+ <path style="fill:#6F6A7F;" d="M293.207,238.107c0.027,1.379-0.377,2.315-1.034,3.142c-0.417,0.524-0.968,0.847-1.669,0.653+ c-0.71-0.196-0.974-0.767-1.052-1.436c-0.124-1.068,0.172-2.052,0.707-2.959c0.427-0.724,1.027-1.29,1.939-1.01+ C292.991,236.772,293.202,237.553,293.207,238.107z"/>+ </g>+ </g>+</g>+<g id="Layer_5">+ <g>+ <g>+ <path style="fill:#C8BCC7;" d="M475.719,255.173c-0.48,0-0.864,0.224-1.344,0.224c-0.054-0.354-0.391,0.023-0.682-0.003+ c-1.069-0.095-2.136-0.239-3.207-0.275c-3.466-0.116-6.88-0.701-10.316-1.082c-3.455-0.383-6.757-1.433-10.072-2.432+ c-1.406-0.423-2.19,0.149-2.702-1.251c-0.091-0.25-0.16-1.481-0.312-1.708c0-1.04,0-2.072,0-3.112+ c0.835-3.221,1.204-6.715,2.135-9.917c0.787-2.707,1.266-5.455,2.482-8.079c1.797-3.88,4.215-7.29,7.137-10.289+ c5.404-5.545,11.74-9.494,19.726-10.037c2.461-0.168,4.961-0.467,7.356,0.441c0.828,0.314,1.669,0.508,2.522,0.717+ c1.776,0.436,3.535,0.921,4.829,2.413c1.838,2.118,3.453,4.398,5.048,6.692c1.002,1.441,1.788,2.868,2.108,4.78+ c0.52,3.114,1.678,6.13,2.191,9.295c0.234,1.443-0.156,2.666-0.477,4.06c-0.794,3.448-1.509,6.744-3.469,9.703+ c-0.983,1.485-2.33,3.287-3.844,4.219c-3.166,1.949-6.168,3.495-9.72,4.605c-2.672,0.835-5.457,1.173-8.266,1.247+ C476.44,255.394,475.895,254.568,475.719,255.173z M476.542,234.234c1.123-0.233,2.174-0.31,3.112-0.677+ c1.63-0.638,1.912-1.634,0.983-3.081c-0.428-0.668-0.991-1.248-1.476-1.881c-0.409-0.533-0.717-1.211-1.591-0.979+ c-0.904,0.241-1.647,0.692-1.808,1.688c-0.095,0.586-0.433,0.909-0.88,1.204c-0.868,0.571-1.71,1.182-2.59,1.732+ c-2.504,1.563-4.972,3.16-7.947,3.797c-2.027,0.434-3.552,1.928-5.214,3.065c-1.099,0.752-0.893,2.332,0.219,3.056+ c0.812,0.528,1.574,0.026,2.256-0.281c4.378-1.973,8.481-4.452,12.579-6.938C474.955,234.472,475.632,233.717,476.542,234.234z"+ />+ </g>+ </g>+</g>+<g id="Layer_6" style="opacity:0.48;">+ <g>+ <path style="fill:#B5B7E4;" d="M585.965,477.095c0.19-0.116,0.248-0.3,0.258-0.507c0.145-3.207,1.885-5.578,4.013-7.77+ c2.264-2.333,5.022-4.053,7.489-6.131c1.173-0.988,2.511-1.768,3.259-3.253c0.759-1.507,1.787-1.624,3.281-0.785+ c2.593,1.457,5.435,2.226,8.355,2.555c1.81,0.204,3.613,0.55,5.455,0.545c0.888-0.002,1.494,1.027,1.477,2.002+ c-0.035,2.09,0.176,4.089,0.995,6.112c1.511,3.728,2.609,7.611,2.6,11.707c-0.001,0.356-0.052,0.723,0.176,1.042+ c1.132,1.586,0.586,3.288-0.211,4.609c-1.046,1.735-2.641,3.061-4.942,3.085c-0.766,0.008-1.596,0.084-2.205,0.709+ c-0.4,0-0.8,0-1.2,0c-0.24-0.83-0.929-0.476-1.401-0.454c-5.361,0.257-10.546-0.576-15.596-2.366+ c-1.087-0.385-2.06-1.022-3.22-1.254c-2.774-0.554-5.001-1.915-6.517-4.409c-0.632-1.039-1.119-2.203-2.066-3.037+ C585.965,478.695,585.965,477.895,585.965,477.095z"/>+ <path style="fill:#B5B7E4;" d="M627.725,440.135c-1.515,1.141-2.581,2.53-2.945,4.477c-0.167,0.894-0.559,1.856-1.6,2.252+ c-0.342,0.13-0.704,0.32-1.04,0.188c-2.554-1.005-5.373-0.755-7.94-2.053c-2.456-1.241-3.455-3.028-3.734-5.499+ c-0.07-0.621-0.217-1.109-0.647-1.599c-1.194-1.363-0.65-3.318,1.031-4.019c1.314-0.548,2.63-0.391,3.992-0.218+ c2.338,0.296,4.609,0.864,6.885,1.435c0.987,0.247,1.928,0.546,2.448,1.538c0.158,0.302,0.47,0.48,0.774,0.525+ c1.285,0.193,2.165,0.908,2.776,2.013C627.725,439.495,627.725,439.815,627.725,440.135z"/>+ </g>+</g>+<g id="Layer_9">+ <g>+ <path style="fill:#5F5A63;" d="M766.666,507.107c-2.863,0.015-5.727,0.03-8.59,0.045c-2.125,0.252-4.317-0.565-6.406,0.402+ c-0.177,0.082-0.524,0.031-0.675-0.097c-1.715-1.446-3.622-2.722-4.507-4.927c-0.39-1.163-1.157-2.24-0.808-3.57+ c0.619-0.761,1.487-0.5,2.224-0.423c2.966,0.31,5.933,0.213,8.901,0.183c0.992,0,1.986,0.035,2.976-0.011+ c0.724-0.034,1.129,0.212,1.489,0.881c0.897,1.668,1.55,3.475,2.862,4.917c0.756,0.831,1.673,1.432,2.533,2.12+ C766.666,506.787,766.666,506.947,766.666,507.107z"/>+ <path style="fill:#F3E5D9;" d="M179.393,514.339c-0.006,0.069-0.009,0.138-0.009,0.208c-3.52,0-7.04,0-10.56,0+ c0.001-0.07-0.001-0.14-0.008-0.21C172.342,514.338,175.868,514.338,179.393,514.339z"/>+ <path style="fill:#F6E4DD;" d="M361.688,245.354c0.099,0.723,2.03,0.143,2.425,1.083c0.462,1.1-0.651,3.71-1.282,4.305+ c-0.372-0.2-1.465-1.351-1.601-1.93L361.688,245.354z M360.812,249.804c-0.016,1.058-0.25,2.045-0.741,2.989+ c-0.901,1.735-1.74,3.502-2.658,5.227c-0.714,1.343-1.6,2.587-2.842,3.532c-1.66,1.264-3.174,2.691-4.666,4.148+ c-0.393,0.384-0.765,0.365-1.26,0.269c-1.551,0.562-2.614,0.999-3.745,1.39c-2.122,0.103-4.244,0.49-6.364-0.018+ c-2.003-0.208-5.947-1.585-7.504-2.963l-4.344-5.441c-1.607-2.094-3.376-8.237-3.648-10.115c-0.384-2.651-0.678-5.335,0.237-7.974+ c0.15-0.434,0.11-0.947,0.094-1.421c-0.021-0.619,0.147-1.1,0.744-1.364c0.648-0.009,1.003,0.288,1.191,0.933+ c0.568,1.949,2.287,2.507,3.926,3.146c0.131-0.084,0.262-0.168,0.393-0.252l-0.018,0.011c0.733-0.156,1.186-0.744,1.745-1.159+ c1.347-0.998,1.827-1.01,3.096,0.082c0.726,0.626,1.501,0.804,2.378,0.354l-0.009,0.005c0.317-0.045,0.662,0.06,0.945-0.172+ c0.917-0.465,1.655-1.101,2.311-1.924c0.676-0.848,2.4-1.471,3.763-0.705l0.069,0.058l0.069-0.058+ c0.223-0.059,0.414-0.032,0.53,0.197c0.107,0.535,0.626,0.56,0.98,0.788c0.635,0.41,1.406,0.694,1.889,1.237+ c0.853,0.959,1.881,1.345,3.088,1.575c1.042,0.198,1.839-0.024,2.576-0.765c0.672-0.677,0.946-1.566,1.402-2.357+ c1.153-1.999,1.164-4.218,1.192-6.43c0.336-1.487-0.004-3.018,0.258-4.5c0.316-1.784,0.088-3.569,0.149-5.352+ c0.006-0.18-0.067-0.438-0.197-0.536c-0.656-0.493-0.694-1.221-0.737-1.916c-0.085-1.364-0.453-2.658-0.923-3.92+ c-0.201-0.537-0.318-1.057-0.314-1.618c0.41-0.215,0.645-0.578,0.826-0.983c0.694-1.546,2.311-1.961,3.552-2.805+ c0.67-0.456,1.804,0.278,2.003,1.338c0.158,0.844,0.597,1.446,1.065,2.059c0.809,1.059,0.766,2.511,1.673,3.513l-0.003-0.005+ c0.011,0.264-0.036,0.548,0.242,0.724l0-0.001c0.16,1.144-0.242,2.208-0.511,3.282c-0.18,0.717-0.79,1.094-1.479,1.25+ c-0.411,0.093-0.723,0.239-0.631,0.682c0.388,1.869-0.782,3.354-1.269,4.989c-0.389,1.306-0.481,2.649-0.849,3.942+ c-0.065,0.23-0.07,0.463,0.143,0.655c2.65,2.389,3.49,5.309,2.555,8.746c-0.282,1.037,0.322,2.026,0.136,3.06L360.812,249.804z+ M339.25,372.5c-2.754,4.889-7.962,11.229-10.845,16.045c-1.842-0.011-3.683-0.022-5.525-0.033+ c0.015-0.46,0.261-0.825,0.481-1.208c2.582-4.497,5.17-10.167,7.639-14.73L339.25,372.5z M320.117,372.942+ c-4.914-0.011-9.828-0.031-14.742-0.047c-1.27-4.089-0.706-8.25-0.484-12.398c0.079-1.477-0.101-2.938-0.21-4.406+ c-0.221-2.977,0.485-5.933,0.231-8.917c-0.287-3.368-0.465-6.74-0.556-10.124c-0.039-1.474-0.689-2.934-0.156-4.446+ c2.041,0.363,4.029,0.241,5.918-0.687c1.218-0.598,2.399-1.281,3.643-1.816c1.637-0.704,3.066-1.845,4.828-2.276+ c-0.099,0.462-0.593,0.491-0.852,0.779c-0.427,0.475-0.689,0.966-0.336,1.61c0.552,1.008,1.057,2.042,1.634,3.034+ c0.81,1.394,1.295,2.886,1.488,4.48c-0.197,0.01-0.459-0.059-0.581,0.042c-1.165,0.962-2.376,1.886-3.429,2.962+ c-0.607,0.62-0.1,1.151,0.615,1.215c0.721,0.065,1.418,0.201,2.115,0.365c0.496,0.117,0.701,0.285,0.711,0.957+ c0.012,0.869-0.518,1.572-0.424,2.431c0.269,2.451,1.346,4.704,1.677,7.146c0.111,0.82,0.938,1.181,1.787,0.97+ c0.612-0.152,0.844,0.111,1.104,0.593c0.5,0.929,0.649,1.967,1.017,2.931c0.372,0.977,1.246,1.512,2.19,1.612+ c0.915,0.097,1.303-0.76,1.659-1.501c0.183-0.38,0.179-0.769,0.2-1.167c0.04-0.764,0.879-1.279,1.198-0.754+ c0.843,1.384,2.158,1.725,3.516,2.111c0.035,0.01,0.059,0.053,0.092,0.075c0.799,0.551,2.988-0.032,3.004-0.944+ c0.028-1.578,1.286-1.769,2.178-2.199c1.841-0.888,3.553-1.947,5.203-3.134c0.33-0.237,0.716-0.422,0.541-0.931+ c-0.149-0.431-0.397-0.735-0.874-0.899c-1.064-0.367-2.057-0.109-3.025,0.276c-0.59,0.235-1.148,0.382-1.831,0.174+ c0.301-0.186,0.546-0.311,0.76-0.476c0.248-0.191,0.503-0.391,0.698-0.633c1.429-1.777,2.556-3.917,5.213-4.17+ c0.261-0.025,0.509-0.222,0.758-0.348c0.888-0.449,1.764-0.926,2.664-1.348c2.496-1.171,4.676-2.702,6.05-5.178+ c0.858-0.086,0.603-0.612,0.464-1.124c-0.722-2.647-2.005-5.078-2.972-7.63c-0.34-0.897-0.538-2.013-1.582-2.524l0.007,0.008+ c-0.015-0.201-0.052-0.389-0.257-0.49c-0.406-0.184-0.493-0.608-0.701-0.939c-1.256-2.001-3.221-2.5-5.364-1.552+ c-1.581,0.7-2.959,2.126-4.955,1.589c-0.153-0.041-0.366,0.133-0.548,0.214c-2.042,0.9-4.1,1.765-6.12,2.712+ c-2.756,1.291-5.357,2.796-6.891,5.608c-0.16,0.293-0.388,0.635-0.846,0.518c0.577-1,0.973-1.979-0.203-2.869+ c-0.132-0.1-0.143-0.363-0.201-0.554c-0.483-1.602-1.324-3.067-1.747-4.698c-0.233-0.897-0.88-1.012-1.464-0.301+ c-0.507,0.618-1.067,1.039-1.896,0.998c0.491-0.45,0.979-0.904,1.473-1.35c0.352-0.318,0.643-0.738,0.352-1.15+ c-0.994-1.403,0.106-1.792,1.028-2.31c0.238-0.134,0.447-0.332,0.64-0.53c0.542-0.556,0.815-1.249,0.491-1.961+ c-0.303-0.666-0.973-0.938-1.703-0.847c-1.042,0.13-2.003-0.239-3.002-0.421c0.514-0.066,1.029-0.03,1.537-0.073+ c1.656-0.138,2.778-1.147,3.178-2.765c0.348-1.41-0.679-1.868-1.609-2.406c-0.053-0.585-0.263-1.138-0.252-1.746+ c0.022-1.233-0.867-2.122-2.115-2.202c-0.469-0.03-0.994,0.109-1.379-0.214c-0.944-0.794-1.339-0.15-1.723,0.596+ c-0.078,0.015-0.161,0.053-0.234,0.04c-2.846-0.514-5.665-1.24-8.61-0.709c-0.852,0.154-0.905-0.77-1.176-1.289+ c-0.249-0.478,0.072-0.733,0.564-0.772c0.203,1.354,0.797,1.743,2.024,1.242c0.915-0.373,1.773-0.871,2.755-1.102+ c0.695-0.164,1.494-0.423,1.248-1.4c-0.248-0.984-0.968-1.225-1.944-1.062c-0.695,0.117-1.346,0.502-2.083,0.367+ c0.223-0.485,0.488-0.909,1.117-0.89c2.123,0.062,2.236-0.059,2.204-2.259c-0.007-0.486,0.025-0.943-0.518-1.227+ c-0.581-0.304-1.182-0.261-1.557,0.162c-1.494,1.685-3.707,2.503-5.09,4.31c-0.531,0.694-0.972,1.589-1.681,1.989+ c-2.475,1.397-4.627,3.247-7.008,4.775c-3.518,2.259-6.743,4.982-10.588,6.719c-2.147,0.97-3.359,2.603-3.828,4.863+ c-0.623,3.002-0.882,6.053-1.285,9.085c-0.152,1.14,0.334,1.987,1.025,2.664c0.61,0.597,1.586,0.458,2.264,0.079+ c1.915-1.069,4.168-1.368,5.962-2.687c0.741,0.52,1.339-0.179,2.005-0.268c2.13-0.284,4.18,0.149,6.236,0.538+ c0.572,0.108,1.064,0.189,1.593-0.133c0.482-0.293,0.905-0.094,1.282,0.291c0.342,0.349,0.448,0.703,0.309,1.19+ c-0.906,3.187-1.993,6.317-4.215,8.838c-1.651,1.874-3.722,3.13-6.312,3.495c-1.652,0.233-3.204,0.002-4.81-0.246+ c-1.821-0.281-3.652,0.196-5.485,0.222c-0.69,0.01-1.347-0.11-2.006-0.267c-0.192-0.046-0.385-0.116-0.555-0.213+ c-1.001-0.574-1.145-4.766-0.19-5.415c0.294-0.199,0.95-0.035,0.826-0.641c-0.149-0.723-0.139-1.542-0.719-2.101+ c-0.442-0.426-0.911-0.981-1.635-0.391c-0.113,0.092-0.315,0.158-0.45,0.126c-1.589-0.379-3.292,0.842-4.641,0.169+ c-2.006-1.001-3.421,0.232-5.075,0.625c-1.722,0.41-2.818-0.132-3.998-1.415c-1.759-1.912-2.683-4.093-2.351-6.628+ c0.3-2.296,1.023-4.522,1.766-6.726c0.704-2.09,1.46-4.132,2.958-5.824c0.506-0.572,0.423-1.416,0.685-2.123+ c0.668-1.801,2.125-2.793,3.51-3.918c1.526-1.239,2.763-2.761,3.51-4.59c0.733-1.795,1.95-3.286,2.914-4.932+ c0.643-1.097,2.175-1.125,3.035-2.041c1.897-2.019,3.936-3.916,4.393-6.895c0.327-2.134,1.932-3.602,3.119-5.284+ c1.663-2.357,3.724-4.4,4.731-7.261c0.899-2.556,2.828-4.602,4.512-6.721c0.492-0.619,0.773-1.289,1.073-1.977+ c1.326-3.041,3.907-4.503,6.872-5.5c3.093-1.04,6.172-2.12,9.268-3.151c1.927-0.641,3.472-1.938,5.197-2.926+ c0.45-0.258,0.859-0.711,1.331-0.783c2.383-0.365,4.601-5.725,4.601-5.725c2.334,6.714,7.428,11.113,7.428,11.113+ c0.325,2.727,0.848,6.223,1.168,8.954c0.308,2.638,1.168,5.158,1.21,7.868c0.064,4.097,0.997,8.14,1.15,12.254+ c0.069,1.857,0.203,3.746,0.865,5.53c-0.05,0.061-0.151,0.132-0.142,0.183c0.315,1.782-0.124,3.722,1.155,5.311+ c0.256,0.318,0.392,0.806,0.419,1.226c0.196,3.058,0.765,6.062,1.227,9.083c0.068,0.446,0.186,0.86,0.576,1.136+ c1.53,1.082,1.534,1.089,1.028,2.892c-0.114,0.406,0.87,1.855,1.35,1.875c0.641,0.027,0.689-0.611,0.798-1.004+ c0.67-2.419,1.4-4.818,2.158-7.212c0.27-0.854,0.702-1.714,0.558-2.671c0.539-1.148,1.094-2.291,0.968-3.616+ c0.516-0.038,0.581-0.467,0.711-0.832c0.572-1.608,1.201-3.234,2.189-4.592c0.822-1.13,0.888-2.268,0.914-3.507+ c0.066-0.546,0.417-1.042,0.285-1.623l-0.023,0.01c0.083-0.087,0.166-0.174,0.249-0.261c0.169-0.402,0.366-0.794,0.504-1.206+ c0.909-2.723,1.805-5.45,2.705-8.176c0.105-0.05,0.273-0.073,0.307-0.153c0.949-2.225,2.222-4.3,2.949-6.634+ c1.02-3.271,2.403-6.408,3.982-9.442c0.806-1.55,1.267-3.182,1.491-4.859c0.091-0.679,0.611-1.441,0.06-2.166+ c-0.046-0.464,0.199-0.847,0.364-1.247c0.653-1.585,1.197-3.205,1.635-4.863c0.125-0.472,0.181-0.862-0.338-1.109+ c0.779-2.619,1.783-5.152,2.898-7.644c0.039,0.27-0.119,0.703,0.138,0.782c1.122,0.344,1.384,1.504,2.143,2.205+ c5.664,5.225,11.996,9.116,19.565,10.963c3.082,0.752,6.203,1.431,9.19,2.57c1.934,0.737,3.432,1.968,4.961,3.367+ c3.059,2.797,4.1,6.974,5.291,10.648c1.74,5.368,3.106,10.421,4.35,15.93c0.903,4.001,1.544,8.036,2.039,12.092+ c0.249,2.044,0.645,4.087,0.575,6.172c-0.129,3.79,0.566,7.559,0.429,11.338c-0.096,2.653-0.566,5.292-0.509,7.963+ c0.005,0.225-0.199,0.476,0,0.679c0.945,0.965,0.352,1.953,0.016,2.9c-0.36,1.015-1.109,1.58-2.123,2.08+ c-3.588,1.768-7.468,2.727-11.312,3.232c-3.089,0.406-6.045,1.361-9.133,1.651c-1.435,0.134-1.596,0.504-1.442,1.906+ c0.121,1.107,0.058,2.236,0.06,3.355c0.005,2.86-0.029,5.72,0.005,8.579c0.045,3.783,0.581,7.519,1.111,11.258+ c0.139,0.981,0.098,1.994,0.061,2.99c-0.024,0.623-0.514,1.054-1.05,1.188c-1.185,0.296-2.419,0.553-3.541-0.215+ c-0.315-0.215-0.55-0.243-0.866-0.067c-0.909,0.508-1.903,0.507-2.91,0.506c-14.117-0.009-28.233-0.01-42.35,0.009+ L320.117,372.942z"/>+ <path style="fill:#B29687;" d="M179.393,514.339c-3.526-0.001-7.052-0.001-10.577-0.002c-11.516-0.013-23.032-0.031-34.548-0.039+ c-8.917-0.006-17.834-0.011-26.752,0.012c-1.483,0.004-2.926-0.365-4.415-0.318c-0.856,0.027-1.368-0.869-0.962-1.906+ c1.115-2.845,0.787-5.82,0.862-8.735c0.138-5.395,0.105-10.797,0.017-16.193c-0.043-2.635-0.159-5.271-0.139-7.908+ c0.004-0.532-0.066-0.829-0.7-1.004c-1.437-0.396-1.846-1.502-1.305-2.901c0.444-1.148-0.08-2.323-0.065-3.493+ c0.019-1.448,0.119-1.731,1.541-1.71c2.69,0.039,5.381,0.083,8.07,0.182c0.712,0.026,0.556-0.414,0.56-0.769+ c0.033-2.795,0.071-5.59,0.067-8.385c-0.015-8.436-0.067-16.872-0.049-25.308c0.002-0.954-0.343-1.529-1.137-1.846+ c-1.137-0.455-1.227-1.363-1.102-2.352c0.059-0.466,0.254-0.922,0.432-1.365c0.387-0.962,0.768-1.875,0.406-2.984+ c-0.249-0.762,0.025-1.585,0.367-2.324c0.681-1.471,2.137-2.029,3.575-1.287c0.692,0.357,1.405,0.443,2.091,0.29+ c1.702-0.379,3.387-0.294,5.112-0.225c2.348,0.094,4.714-0.042,7.062-0.209c4.115-0.294,8.232-0.154,12.347-0.17+ c10.436-0.04,20.873-0.024,31.31-0.043c0.688-0.001,1.344,0.072,1.995,0.302c5.799,2.048,11.74,3.602,17.712,5.045+ c0.155,0.037,0.309,0.141,0.458,0.133c2.108-0.122,4.067,0.565,6.09,0.987c2.215,0.461,4.47,0.683,6.654,1.375+ c1.157,0.367,1.434,1.098,1.34,2.064c-0.173,1.784-0.433,3.561-0.709,5.332c-0.222,1.427-0.966,2.504-2.473,2.708+ c-0.772,0.105-0.863,0.417-0.858,1.073c0.028,3.879,0.126,7.761-0.009,11.635c-0.148,4.272-0.088,8.537,0.025,12.805+ c0.012,0.439,0.013,0.884-0.047,1.317c-0.233,1.695-1.217,2.522-2.92,2.489c-2.333-0.044-2.324-0.045-2.126,2.273+ c0.112,1.311,0.228,2.624,0.269,3.938c0.023,0.741-0.161,1.355-1.083,1.607c-0.709,0.194-1.101,0.819-1.095,1.656+ c0.047,6.517,0.031,13.035,0.124,19.551c0.035,2.435-0.053,4.885,0.094,7.294c0.102,1.686-0.13,3.419,0.306,5.083+ c0.199,0.76,0.226,1.39-0.539,1.871c-0.793,0.498-1.662,0.621-2.365,0.076c-0.749-0.581-1.53-0.519-2.356-0.606+ C186.362,512.979,182.909,513.981,179.393,514.339z M188.86,499.746c0-2.104,0-4.045,0-6.145+ c-1.075,1.237-1.345,2.621-1.847,3.898c-0.117,0.299,0.024,0.476,0.286,0.53C188.171,498.208,188.446,498.938,188.86,499.746z+ M184.223,499.366c-1.662-0.177-2.752-1.003-3.466-2.35c-0.128-0.242-0.293-0.551-0.633-0.302+ c-0.392,0.287-0.145,0.541,0.108,0.77c0.852,0.774,1.397,1.722,1.637,2.852c0.056,0.265,0.189,0.628,0.552,0.371+ C182.984,500.309,183.712,500.117,184.223,499.366z"/>+ <path style="fill:#F6E4DD;" d="M325.778,446.317c-0.241-0.697-0.839-0.639-1.392-0.642c-1.827-0.01-3.656,0.05-5.48-0.02+ c-2.59-0.101-5.167-0.335-7.539-1.545c-1.183-0.603-2.509-0.322-3.758-0.566c-1.406-0.274-2.824-0.457-4.16-1.007+ c-0.943-0.389-1.94-0.006-2.908-0.208c-0.853-0.178-1.427-0.813-0.992-1.471c0.97-1.466,0.666-3.155,1.023-4.722+ c1.074-4.701,0.702-9.506,1.004-14.264c0.305-4.809,0.511-9.624,0.801-14.428c0.239-3.957,0.63-7.921,0.83-11.89+ c0.042-0.838,0.5-1.234,1.177-1.208c1.787,0.07,3.651-0.014,5.113,1.318c0.426,0.388,0.665,0.189,1.001-0.104+ c1.592-1.395,2.038-1.412,3.814-0.123c0.432,0.313,0.502,0.238,0.705-0.25c0.769-1.857,2.502-2.287,4.011-1.025+ c0.443,0.37,0.744,0.452,1.228,0.049c2.217-1.848,3.861-1.407,4.933,1.279c0.043,0.108,0.122,0.201,0.283,0.463+ c0.57-1.61,1.592-2.682,3.252-2.553c1.553,0.12,2.363,1.283,2.791,2.972c0.957-1.75,2.107-3.014,4.052-2.486+ c1.589,0.431,2.257,1.787,2.529,3.378c0.467-0.414,0.578-0.985,0.856-1.454c1.008-1.706,2.909-2.165,4.468-0.976+ c0.531,0.405,0.699,0.32,1.104-0.141c1.569-1.786,2.987-1.812,4.657-0.085c0.441,0.456,0.556,0.311,0.873-0.083+ c1.942-2.417,2.787-2.515,5.374-0.716c0.186,0.129,0.425,0.218,0.65,0.249c2.372,0.322,2.372,0.318,3.881,2.174+ c0.241-0.836,0.689-1.465,1.289-1.995c1.22-1.08,2.944-1.034,4.074,0.148c0.298,0.311,0.511,0.626,1.045,0.672+ c2.331,0.201,3.387,1.292,3.566,3.686c0.259,3.455,0.214,6.945,0.576,10.372c0.407,3.86-0.899,7.29-1.737,10.863+ c-0.327,1.395-0.744,2.769-1.128,4.149c-0.237,0.849,0.108,1.016,0.863,0.784c1.482-0.456,2.96-0.929,4.515-1.097+ c0.716-0.077,0.713-0.732,0.731-1.195c0.084-2.108,0.358-4.18,0.673-6.268c0.222-1.477-0.282-3.064-0.466-4.602+ c-0.459-3.839-0.782-7.689-0.63-11.558c0.042-1.064,0.456-2.045,1.512-2.553c0.474-0.228,0.694-0.616,0.923-1.047+ c1.069-2.016,3.074-2.433,4.748-0.918c0.728,0.659,1.279,0.716,1.907-0.027c0.077-0.091,0.169-0.215,0.269-0.231+ c1.543-0.25,2.978-1.37,4.527-1.033c1.403,0.305,2.413-0.296,3.465-0.815c1.762-0.87,3.274-0.243,3.483,1.695+ c0.234,2.173,0.309,4.363,0.509,6.54c0.24,2.61,0.487,5.221,0.836,7.818c0.176,1.305,0.152,2.614,0.306,3.922+ c0.381,3.235,0.526,6.497,0.781,9.748c0.097,1.242,0.78,2.313,1.092,3.509c0.616,2.363,0.816,4.775,1.275,7.151+ c0.218,1.132,0.454,2.192,1.1,3.222c0.768,1.225,0.389,2.713,0.228,4.086c-0.045,0.385-0.526,0.578-0.907,0.72+ c-3.415,1.271-6.769,2.766-10.271,3.716c-2.029,0.551-4.222,0.657-6.305,1.177c-2.163,0.54-4.345,0.918-6.585,1.027+ c-1.018,0.05-1.797-0.16-2.392-0.953c-0.261-0.348-0.464-0.729-0.911-0.272c-1.27,1.298-2.994,1.089-4.562,1.403+ c-0.846,0.169-1.814-0.111-2.494,0.675c-2.674,0.022-5.348,0.071-8.021,0.047c-0.72-0.006-1.397,0.378-2.124,0.15+ c-3.562-1.116-7.298-0.455-10.959-1.091c-2.982-0.518-6.262,0.262-9.348,0.932c-0.931,0.202-1.212,0.182-0.915-0.875+ c0.265-0.944-0.256-1.599-1.01-1.459C330.908,446.924,328.344,446.638,325.778,446.317z M373.817,436.69+ c-0.047-0.002-0.093-0.003-0.14-0.005c-0.123-2.138-0.247-4.276-0.371-6.414c-0.013-0.231,0.036-0.542-0.279-0.57+ c-0.221-0.02-0.48,0.073-0.679,0.19c-0.291,0.17-0.115,0.42-0.011,0.623c0.463,0.907,0.274,1.803-0.122,2.647+ c-0.433,0.925-1.152,1.649-2.076,2.069c-0.909,0.414-1.41,0.781-0.322,1.557c0.125,0.089,0.206,0.241,0.305,0.365+ c0.372,0.464,3.108,0.64,3.494,0.193C373.754,437.188,373.755,436.912,373.817,436.69z"/>+ <path style="fill:#A1A2AA;" d="M756.806,498.72c-2.969,0.03-5.936,0.126-8.901-0.183c-0.737-0.077-1.605-0.338-2.224,0.423+ c-0.534-0.296-0.65,0.008-0.596,0.448c0.083,0.667,0.158,1.342,0.334,1.987c0.145,0.53,0.392,1.061,1.069,1.135+ c0.886,2.205,2.793,3.481,4.507,4.927c0.151,0.128,0.498,0.179,0.675,0.097c2.088-0.968,4.28-0.15,6.406-0.402+ c2.101,1.773,1.739,3.806-0.567,5.268c-2.091,1.325-4.216,1.569-6.515,1.199c-1.441-0.232-2.769,0.269-4.128,0.515+ c-1.222,0.221-2.396,0.099-3.56-0.166c-1.207-0.275-2.375-0.256-3.534,0.131c-0.583,0.194-1.17,0.25-1.771,0.24+ c-11.838-0.188-23.676-0.05-35.514-0.018c-2.264,0.006-3.895-0.507-5.457-2.401c-1.666-2.02-2.409-4.102-2.3-6.552+ c0.054-1.221,0.171-2.451,0.268-3.675c0.266-3.361-0.05-6.71-0.047-10.063c0.013-14.94-0.04-29.88-0.034-44.821+ c0-1.199-0.503-2.352-0.229-3.559c1.105-0.967,2.525-0.947,3.83-1.021c1.285-0.073,2.592,0.257,3.889,0.41+ c-0.499,1.46-0.399,2.997-0.468,4.493c-0.25,5.428-0.152,10.867-0.208,16.299c-0.166,16.276-0.067,32.555-0.064,48.833+ c0,1.512,0.774,2.092,2.253,1.705c0.809-0.212,1.646-0.372,2.451-0.278c1.059,0.125,1.409-0.419,1.46-1.265+ c0.183-3.063,0.444-6.129,0.451-9.194c0.045-18.398,0.029-36.796,0.03-55.194c0-1.719-0.021-3.438-0.032-5.157+ c0.436-0.032,0.872-0.093,1.308-0.093c4.466,0.002,8.933-0.003,13.399,0.031c2.985,0.022,5.977,0.119,8.955,0.086+ c3.536-0.039,7.071-0.242,10.612-0.146c3.911,0.106,7.817-0.108,11.725-0.2c1.313-0.031,2.609,0.348,3.93,0.187+ c0.834,1.119,0.616,2.369,0.599,3.655c-0.047,3.394,0.115,6.79,0.128,10.186c0.045,12.309,0.039,24.618,0.114,36.927+ C759.061,495.641,758.654,497.458,756.806,498.72z"/>+ <path style="fill:#5B5465;" d="M325.778,446.317c2.566,0.321,5.13,0.607,7.712,0.13c0.754-0.139,1.274,0.516,1.01,1.459+ c-0.297,1.057-0.016,1.077,0.915,0.875c3.086-0.669,6.366-1.45,9.348-0.932c3.66,0.636,7.397-0.025,10.959,1.091+ c0.728,0.228,1.405-0.157,2.124-0.15c2.673,0.024,5.347-0.025,8.021-0.047c1.957,0.045,3.955-0.141,5.859,0.199+ c2.024,0.362,3.819-0.174,5.698-0.597c1.434-0.323,1.944,0.019,2.105,1.485c0.745,6.797,2.154,13.508,2.777,20.306+ c0.26,2.836,0.232,5.749,0.796,8.529c0.909,4.476,0.981,8.992,1.253,13.505c0.062,1.032-0.004,2.081-0.115,3.111+ c-0.067,0.629-0.28,1.329-1.037,1.461c-0.788,0.137-0.971-0.538-1.184-1.102c-0.088-0.233-0.19-0.467-0.462-0.49+ c-0.296-0.025-0.39,0.227-0.48,0.452c-0.434,1.081-1.091,1.594-2.205,0.826c-0.276-0.19-0.41-0.125-0.554,0.131+ c-0.337,0.597-0.813,1.128-1.529,0.817c-0.814-0.354-1.397-1.035-1.672-1.915c-0.058-0.186-0.057-0.397-0.049-0.595+ c0.22-5.674-0.15-11.369,0.452-17.022c0.312-2.934-0.096-5.826-0.036-8.739c0.108-5.273,0.457-10.552-0.197-15.817+ c-0.034-0.271-0.057-0.544-0.106-1.015c-1.991,1.145-3.878,2.229-5.876,3.378c0.632,0.487,1.474,0.723,1.362,1.662+ c-0.116,0.973-0.876,1.411-1.603,1.805c-0.689,0.373-0.917,0.899-0.999,1.629c-0.798,7.142-0.532,14.297-0.311,21.453+ c0.018,0.586,0.19,0.77,0.778,0.661c0.557-0.104,1.035,0.119,1.309,0.636c0.246,0.462,0.285,1.071-0.128,1.328+ c-1.146,0.713-0.725,1.984-1.178,2.936c-0.561,1.179,0.571,2.529-0.237,3.737c1.216,2.176,0.149,4.264-0.273,6.368+ c-0.088,0.437,0.017,0.652,0.356,0.887c0.811,0.563,0.869,1.278,0.339,2.075c-0.578,0.27-1.067-0.011-1.596-0.208+ c-1.694-0.634-3.16-1.707-4.836-2.428c-2.282-0.982-4.658-1.584-6.945-2.475c-2.544-0.991-5.135-1.224-7.847-1.06+ c-4.057,0.245-7.671,1.658-11.08,3.737c-0.48,0.293-0.873,0.301-1.317-0.021c-1.56-1.13-3.315-1.926-4.966-2.9+ c-3.344-1.973-6.892-2.55-10.669-1.556c-0.458,0.12-0.877,0.399-1.379,0.34c-0.944-1.096-0.083-1.905,0.56-2.571+ c0.789-0.816,1.353-1.768,1.968-2.684c0.574-0.853,0.897-1.794,0.84-2.921c-0.123-2.412,1.457-4.208,3.859-4.514+ c0.601-0.077,0.717-0.28,0.698-0.808c-0.239-6.483-0.928-12.853-3.187-19.038c-1.46-3.998-2.205-8.239-2.189-12.556+ c0.002-0.476-0.096-0.952-0.109-1.43c-0.032-1.127,0.583-1.751,1.701-1.546C323.417,446.408,324.597,446.24,325.778,446.317z"/>+ <path style="fill:#A1A2AA;" d="M444.815,451.194c11.237-0.011,22.475-0.018,33.712-0.043c0.663-0.001,0.952,0.194,0.893,0.889+ c-0.243,2.849-0.458,5.7-0.692,8.55c-0.101,1.229-0.111,2.461-0.224,3.694c-0.283,3.091-0.309,6.204-0.537,9.301+ c-0.272,3.694-0.665,7.378-0.974,11.07c-0.276,3.294-0.48,6.593-0.767,9.886c-0.262,3.004-0.593,6.002-0.89,9.002+ c-0.176,1.777-0.44,3.552-0.482,5.332c-0.026,1.094-0.419,1.334-1.423,1.33c-7.758-0.033-15.517-0.019-23.275-0.02+ c-0.349-3.042-0.694-6.085-1.048-9.127c-0.483-4.152-0.961-8.3-1.271-12.474c-0.38-5.123-0.682-10.253-1.134-15.37+ c-0.266-3.016-0.566-6.027-0.78-9.048C445.614,459.837,445.189,455.517,444.815,451.194z"/>+ <path style="fill:#A1A2AA;" d="M305.375,372.895c4.914,0.016,9.828,0.036,14.742,0.047c3.517,0.008,7.033,0.019,10.55-0.008+ c0.854-0.007,0.951,0.216,0.556,0.946c-2.469,4.564-5.28,8.926-7.861,13.423c-0.22,0.383-0.466,0.747-0.481,1.208+ c-0.559,0.02-1.117,0.059-1.676,0.059c-32.662,0.004-65.324,0.005-97.985,0.006c0.167-0.358,0.294-0.741,0.504-1.071+ c3.188-4.992,6.672-9.779,10.125-14.587c23.483,0.001,46.965,0.002,70.448,0.001C304.657,372.92,305.016,372.904,305.375,372.895z+ "/>+ <path style="fill:#B29687;" d="M242.102,508.994c0.106-1.01-0.368-2.495,0.623-3.783c0.161-0.209,0.079-0.62,0.079-0.937+ c-0.006-6.837,0.042-13.674-0.051-20.51c-0.044-3.191-0.552-6.383-0.486-9.567c0.04-1.931-0.172-3.484-1.554-4.941+ c-0.802-0.845-0.947-2.178-1.296-3.322c-0.665-2.177-1.825-4.059-3.307-5.761c-0.131-0.151-0.267-0.298-0.385-0.459+ c-0.602-0.822-1.332-1.831-0.777-2.716c0.451-0.72,1.634-0.295,2.469-0.192c3.048,0.374,6.076,0.76,9.087-0.284+ c0.549-0.19,0.762-0.383,0.805-0.959c0.082-1.083,0.764-1.699,1.782-1.993c0.865-0.249,1.766-0.316,2.61-0.109+ c2.012,0.493,4.041,0.466,6.079,0.406c1.36-0.04,2.717-0.063,4.057,0.22c0.512,0.108,1.003,0.082,1.528,0.003+ c2.624-0.395,3.915,1.248,2.947,3.726c-0.145,0.371-0.154,0.683,0.022,1.025c0.527,1.025,0.638,2.139,0.626,3.262+ c-0.089,8.194-0.149,16.388-0.312,24.58c-0.056,2.792-0.363,5.578-0.384,8.376c-0.006,0.761-0.73,1.633,0.376,2.198+ c0.17,0.087,0.431,0.266,0.514,0.207c1.153-0.804,1.025,0.202,1.364,0.832c1.049,1.949,0.623,4.001,0.506,6.002+ c-0.102,1.751-0.181,3.513-0.251,5.26c-0.044,1.099,0.183,2.255,0.161,3.398c-0.011,0.584-0.149,0.906-0.805,0.873+ c-1.229-0.063-2.474,0.132-3.68-0.276c-0.26-0.088-0.562-0.185-0.818-0.137c-4.246,0.804-8.534,0.262-12.799,0.419+ c-2.511,0.093-5.025,0.12-7.536,0.219c-0.738,0.029-1.05-0.132-1.09-0.961C242.147,511.858,242.066,510.624,242.102,508.994z"/>+ <path style="fill:#A1A2AA;" d="M193.537,388.526c-0.519,0.017-1.038,0.047-1.557,0.047c-23.866,0.003-47.733-0.007-71.599,0.031+ c-1.206,0.002-1.541-0.282-1.518-1.508c0.081-4.356,0.048-8.715,0.017-13.072c-0.005-0.784,0.144-1.122,1.037-1.121+ c27.464,0.025,54.929,0.023,82.393,0.026c0.12,0,0.239,0.013,0.359,0.021c-2.306,3.754-4.648,7.487-6.901,11.273+ C194.943,385.607,193.844,386.868,193.537,388.526z"/>+ <path style="fill:#5F5A63;" d="M702.407,442.639c-1.297-0.153-2.605-0.483-3.889-0.41c-1.305,0.074-2.725,0.053-3.83,1.021+ c-0.472-0.265-0.31-0.745-0.238-1.069c0.325-1.467,0.102-3.032,0.807-4.429c0.237-0.47,0.3-0.964,0.19-1.508+ c-0.167-0.825,0.192-1.562,0.539-2.288c1.706-3.577,3.648-6.992,6.458-9.849c0.886-0.9,1.901-1.45,3.154-1.511+ c2.433-0.119,4.862-0.08,7.3-0.008c4.07,0.121,8.148,0.012,12.222-0.029c5.153-0.051,10.315-0.34,15.454-0.112+ c2.604,0.115,5.245-0.139,7.842,0.429c3.155,0.69,6.848,4.46,7.653,7.582c0.376,1.46,0.644,3.034,1.698,4.302+ c0.363,0.437,0.372,1.205,0.454,1.833c0.233,1.781,0.396,3.572,0.637,5.352c0.078,0.576-0.05,0.845-0.65,0.804+ c-1.321,0.161-2.617-0.218-3.931-0.188c-3.908,0.092-7.814,0.306-11.725,0.2c-3.541-0.096-7.077,0.107-10.612,0.146+ c-2.978,0.033-5.97-0.063-8.955-0.086c-4.466-0.034-8.932-0.028-13.399-0.031c-0.436,0-0.872,0.06-1.307,0.092+ c-0.728-0.19-1.518-0.411-2.206-0.392C704.857,442.523,703.591,441.914,702.407,442.639z"/>+ <path style="fill:#DCA89E;" d="M343.837,238.384c-1.364-0.767-3.087-0.143-3.763,0.705c-0.656,0.822-1.393,1.458-2.31,1.923+ c-0.336-0.058-0.682-0.167-0.946,0.173l0.009-0.005c-1.099,0.117-1.936-0.26-2.49-1.252c-0.721-1.291-1.129-1.414-2.398-0.628+ c-1.02,0.632-1.948,1.384-2.331,2.603l0.018-0.011c-0.171,0.023-0.347,0.036-0.393,0.252c-1.639-0.639-3.358-1.197-3.926-3.146+ c-0.188-0.645-0.543-0.942-1.191-0.933c-0.261-0.91-0.922-1.855,0.226-2.645c0.4-0.01,0.606,0.314,0.898,0.499+ c0.895,0.567,1.793,1.168,2.948,0.855c0.349,0.115,0.641-0.092,0.957-0.167c0.56-0.071,1.167,0.216,1.68-0.218+ c0.513-0.031,1.061,0.041,1.529-0.12c0.519-0.178,1.161,0.052,1.562-0.634c0.95-1.625,1.43-3.321,1.182-5.201+ c0.32-1.538-0.479-2.712-1.266-3.89c-0.497-2.155-1.964-3.164-4.456-3.064c-0.931-0.618-1.915-0.54-2.962-0.334+ c-1.447,0.285-1.963-0.384-1.412-1.755c0.301-0.748,0.581-1.502,0.323-2.3c-0.27-0.835-0.223-1.667,0.046-2.447+ c0.234-0.68,0.036-1.154-0.363-1.639c0.257-1.744,0.387-3.675,1.652-4.911c1.681-1.642,3.006-3.592,4.817-5.116+ c3.321-2.794,7.184-4.076,11.429-4.292c3.247-0.165,6.392,0.286,9.234,2.07c1.033,0.649,1.879,1.467,2.657,2.387+ c0.462,0.546,0.898,1.367,1.482,1.51c1.689,0.415,1.645,1.775,1.88,2.964c0.198,1.006-0.683,1.397-1.389,1.705+ c-1.176,0.514-2.104,1.257-2.817,2.318c-0.267,0.397-0.492,0.729-0.085,1.145c-0.003,0.561,0.114,1.08,0.314,1.618+ c0.471,1.261,0.838,2.556,0.923,3.92c0.043,0.696,0.081,1.424,0.737,1.916c0.13,0.098,0.147,0.362,0.197,0.536+ c0.462,1.599,1.34,3.502,1.024,5.286c-0.262,1.482-1.096,3.079-1.432,4.565c-0.861,2.506-1.285,5.149-2.618,7.513+ c-1.066,1.891-1.786,2.131-3.85,1.131c-0.449-0.218-0.908-0.571-1.174-0.983c-0.835-1.294-2.159-1.477-3.485-1.707+ c-0.116-0.229-0.307-0.256-0.529-0.198C343.929,238.359,343.883,238.36,343.837,238.384z M350.702,229.229+ c0.005-0.61-0.121-1.188-0.419-1.725c0.054-0.631,0.009-1.211-0.732-1.437c-0.234-0.878-0.646-1.583-1.663-1.691l-0.019-0.013+ c-0.082-0.061-0.165-0.123-0.247-0.184c-0.392-0.185-0.727-0.5-1.191-0.52c-1.554-0.965-3.044-1.195-4.821-0.291+ c-2.662,1.354-3.857,3.337-4.14,6.308c-0.271,2.835,0.687,4.591,3.234,5.625c0.419,0.17,0.787,0.438,1.014,0.816+ c0.624,1.039,1.428,0.902,2.31,0.422c0.308-0.007,0.617-0.015,0.925-0.022c0.794,0.188,1.671,0.808,2.194-0.419+ c0.272-0.026,0.591,0.033,0.808-0.09C350.422,234.611,351.477,231.788,350.702,229.229z"/>+ <path style="fill:#DCA89E;" d="M290.506,332.389c-1.793,1.318-4.046,1.618-5.962,2.687c-0.678,0.378-1.654,0.518-2.264-0.079+ c-0.691-0.677-1.177-1.523-1.025-2.664c0.404-3.032,0.662-6.083,1.285-9.085c0.469-2.26,1.681-3.893,3.828-4.863+ c3.845-1.736,7.07-4.46,10.588-6.719c2.381-1.529,4.533-3.378,7.008-4.775c0.709-0.4,1.15-1.295,1.681-1.989+ c1.382-1.807,3.596-2.625,5.09-4.31c0.375-0.423,0.976-0.466,1.557-0.162c0.544,0.284,0.511,0.741,0.518,1.227+ c0.032,2.2-0.081,2.321-2.204,2.259c-0.629-0.018-0.895,0.406-1.118,0.89c0,0-0.016-0.012-0.016-0.012+ c-0.347-0.018-0.48,0.192-0.53,0.493c-0.525,0.451-1.324,0.633-1.454,1.475c-0.492,0.039-0.813,0.294-0.564,0.772+ c0.271,0.519,0.323,1.443,1.176,1.289c2.945-0.532,5.764,0.195,8.61,0.709c0.073,0.013,0.156-0.026,0.234-0.039+ c0.862,0.09,1.724,0.177,2.586,0.27c1.558,0.168,2.043,0.63,1.974,2.157c-0.034,0.759,0.162,1.112,0.91,1.139+ c0.93,0.538,1.957,0.996,1.609,2.406c-0.399,1.618-1.522,2.627-3.178,2.765c-0.508,0.042-1.023,0.007-1.537,0.073+ c0.999,0.182,1.96,0.551,3.002,0.421c0.73-0.091,1.399,0.182,1.703,0.847c0.325,0.713,0.051,1.406-0.491,1.961+ c-0.193,0.198-0.402,0.396-0.64,0.53c-0.922,0.518-2.022,0.907-1.028,2.31c0.292,0.412,0,0.832-0.352,1.15+ c-0.494,0.447-0.983,0.9-1.473,1.35l-0.002-0.001c-0.15,0.009-0.237,0.081-0.242,0.238l0,0c-0.218-0.032-0.391,0.027-0.485,0.243+ l0.009-0.008c-0.083,0.082-0.166,0.163-0.249,0.245l0.007-0.005c-0.209-0.009-0.395,0.026-0.486,0.247l0.006-0.005+ c-1.762,0.431-3.191,1.573-4.828,2.276c-1.245,0.535-2.425,1.217-3.643,1.816c-1.889,0.928-3.877,1.05-5.918,0.687+ c-1.332-0.647-2.789-0.584-4.199-0.641c-1.557-0.063-3.093-0.217-4.625-0.47C293.643,331.207,292.09,331.877,290.506,332.389z"/>+ <path style="fill:#F6E4DD;" d="M318.087,494.258c0.502,0.059,0.921-0.22,1.379-0.34c3.777-0.993,7.324-0.416,10.669,1.556+ c1.651,0.974,3.406,1.771,4.966,2.9c0.444,0.322,0.836,0.314,1.317,0.021c3.409-2.079,7.023-3.492,11.08-3.737+ c2.712-0.164,5.303,0.069,7.847,1.06c2.287,0.891,4.663,1.494,6.945,2.475c1.676,0.721,3.141,1.794,4.836,2.428+ c0.529,0.198,1.018,0.478,1.596,0.208c0.353,1.631,2.518,2.917,4.047,2.339c0.909-0.344,1.708,0.115,2.557,0.185+ c0.302,0.025,0.593,0.266,0.86-0.068c1.502,1.138,3.444,1.252,5.044,2.163c0.081,0.326,0.162,0.652,0.243,0.979+ c-0.179,0.198-0.422,0.186-0.661,0.216c-3.809,0.486-7.65,0.295-11.468,0.389c-8.427,0.208-16.864,0.113-25.295,0.042+ c-2.297-0.019-4.588-0.448-6.888-0.591c-2.025-0.126-4.162-0.546-6.064,0.108c-3.232,1.111-6.542,1.233-9.815,1.055+ c-3.481-0.188-6.808-1.438-10.109-2.576c-0.675-0.233-1.244-0.832-1.979-0.801c-1.989,0.084-3.734-0.929-5.643-1.26+ c-1.742-0.302-3.47-0.807-5.232-0.647c-1.188,0.108-2.604,0.047-3.33,1.407c-0.761-0.999-0.527-3.457,0.43-4.572+ c1.359-1.585,3.156-2.286,5.168-2.386c1.465-0.072,2.941-0.126,4.408,0.193c1.861,0.404,3.583-0.474,5.362-0.766+ c2.425-0.397,4.806-1.06,7.209-1.595C317.814,494.588,318.03,494.548,318.087,494.258z"/>+ <path style="fill:#A1A2AA;" d="M328.405,388.545c2.883-4.816,5.845-9.588,8.599-14.477c0.796-1.413,1.899-0.979,2.951-1.176+ c10.235,0.01,20.469,0.022,30.704,0.031c3.039,0.003,6.077,0.023,9.115-0.015c0.782-0.01,1.03,0.231,1.024,1.02+ c-0.031,4.558-0.025,9.116-0.002,13.673c0.004,0.701-0.177,0.986-0.937,0.985C362.708,388.56,345.557,388.554,328.405,388.545z"/>+ <path style="fill:#E3B3A0;" d="M294.986,503.769c0.726-1.36,2.142-1.299,3.33-1.407c1.762-0.16,3.49,0.345,5.232,0.647+ c1.909,0.331,3.654,1.344,5.643,1.26c0.735-0.031,1.304,0.569,1.979,0.801c3.301,1.138,6.628,2.388,10.109,2.576+ c3.274,0.177,6.583,0.056,9.815-1.055c1.902-0.654,4.039-0.234,6.064-0.108c2.3,0.143,4.591,0.572,6.888,0.591+ c8.432,0.071,16.868,0.165,25.295-0.042c3.819-0.094,7.659,0.097,11.468-0.389c0.238-0.03,0.481-0.018,0.661-0.216+ c0.679,0.084,1.16-0.506,1.808-0.528l-0.006-0.031c0.587,0.606,0.949,1.249,0.605,2.148c-0.117,0.307-0.037,0.715,0.029,1.062+ c0.464,2.457-1.203,4.434-3.672,4.369c-0.751-0.02-1.424,0.402-2.207,0.399c-9.858-0.042-19.719,0.092-29.573-0.124+ c-5.074-0.111-10.131,0.174-15.197,0.165c-2.28-0.004-4.506-0.66-6.737-0.484c-3.64,0.288-7.257,0.099-10.878-0.087+ c-2.263-0.116-4.565-0.187-6.732-0.926c-4.522-1.543-9.046-3.104-12.788-6.261C295.368,505.492,294.907,504.777,294.986,503.769z"+ />+ <path style="fill:#A1A2AA;" d="M435.453,372.952c8.987-0.01,17.974-0.02,26.961-0.03c-0.592,1.583-1.674,2.88-2.515,4.318+ c-2.208,3.774-4.442,7.533-6.666,11.298c-8.893,0.005-17.785,0.009-26.677,0.014c1.28-2.692,2.731-5.291,4.265-7.846+ C432.369,378.124,433.909,375.537,435.453,372.952z"/>+ <path style="fill:#A1A2AA;" d="M446.922,510.171c-2.118,0.006-4.237-0.016-6.354,0.031c-0.871,0.019-1.152-0.289-1.225-1.169+ c-0.432-5.187-0.953-10.367-1.404-15.553c-0.238-2.732-0.357-5.475-0.599-8.207c-0.252-2.844-0.597-5.68-0.883-8.521+ c-0.191-1.895-0.337-3.795-0.524-5.691c-0.292-2.958-0.598-5.915-0.904-8.871c-0.246-2.367-0.487-4.735-0.76-7.099+ c-0.109-0.942-0.299-1.874-0.45-2.811c-0.122-0.763,0.043-1.178,0.979-1.142c1.916,0.073,3.836,0.03,5.753,0.035+ c0.339,3.4,0.67,6.8,1.021,10.198c0.445,4.309,0.921,8.614,1.353,12.924c0.214,2.137,0.316,4.285,0.55,6.419+ c0.424,3.869,0.883,7.735,1.374,11.596c0.401,3.153,0.602,6.328,1.122,9.469C446.433,504.556,446.909,507.339,446.922,510.171z"/>+ <path style="fill:#A1A2AA;" d="M401.389,388.535c-6.271,0.014-12.541,0.018-18.812,0.052c-0.714,0.004-0.862-0.294-0.859-0.931+ c0.019-4.593,0.038-9.187-0.012-13.78c-0.011-0.994,0.499-0.96,1.19-0.96c9.147,0.009,18.294,0.005,27.441,0.004+ c-0.997,2.534-2.582,4.748-3.906,7.102C404.814,382.896,403.075,385.7,401.389,388.535z"/>+ <path style="fill:#F6E4DD;" d="M193.537,388.526c0.307-1.658,1.406-2.919,2.23-4.303c2.254-3.786,4.595-7.519,6.901-11.273+ c0.274-0.333,0.656-0.231,1.001-0.231c4.377-0.005,8.753-0.005,13.13,0c0.345,0,0.729-0.099,0.986,0.259+ c-1.042,2.551-2.605,4.811-4.006,7.161c-1.685,2.827-3.615,5.504-5.159,8.418C203.593,388.546,198.565,388.536,193.537,388.526z"+ />+ <path style="fill:#D4D5E1;" d="M446.922,510.171c-0.013-2.831-0.49-5.615-0.949-8.392c-0.52-3.142-0.721-6.316-1.122-9.469+ c-0.491-3.861-0.951-7.727-1.374-11.596c-0.234-2.134-0.335-4.283-0.55-6.419c-0.433-4.31-0.909-8.615-1.353-12.924+ c-0.351-3.398-0.681-6.799-1.021-10.198c1.421,0.007,2.842,0.014,4.263,0.022c0.374,4.323,0.799,8.643,1.105,12.971+ c0.214,3.021,0.514,6.033,0.78,9.048c0.451,5.117,0.754,10.247,1.134,15.37c0.309,4.175,0.788,8.322,1.271,12.474+ c0.354,3.042,0.699,6.085,1.048,9.127C449.077,510.18,447.999,510.175,446.922,510.171z"/>+ <path style="fill:#F6E4DD;" d="M401.389,388.535c1.686-2.834,3.425-5.639,5.042-8.513c1.324-2.354,2.909-4.567,3.906-7.102+ c4.297,0.013,8.593,0.027,12.889,0.04c-0.206,0.38-0.397,0.77-0.619,1.14c-2.859,4.762-5.717,9.524-8.291,14.449+ C410.006,388.545,405.698,388.54,401.389,388.535z"/>+ <path style="fill:#F47E82;" d="M345.707,306.707c0.126,1.326-0.429,2.469-0.968,3.616c-0.239,0.014-0.482,0.004-0.715,0.046+ c-1.253,0.225-1.768-0.227-2.159-1.382c-0.733-2.165-1.042-4.409-1.32-6.642c-0.519-4.18-1.69-8.35,0.086-12.575+ c0.955-2.272,1.7-4.643,2.622-6.938c0.168-0.417,0.398-0.819,0.805-1.01c0.854-0.402,1.154-1.156,1.386-1.975+ c1.278-1.926,2.555-3.852,3.833-5.778c0.243-0.078,0.278-0.272,0.268-0.489l-0.007,0.008c0.568-0.079,0.851-0.442,0.967-0.97+ l-0.009,0.012c0.078-0.071,0.156-0.143,0.234-0.214c0.509-0.8,1.001-1.613,1.531-2.399c2.278-3.383,4.773-6.61,6.551-10.334+ c1.189-2.489,2.719-4.814,3.604-7.459c0.164-0.491,0.362-0.962,0.415-1.481c1.169-1.102,1.575-2.462,1.359-4.031+ c0.492-1.064-0.132-2.374,0.741-3.354c1.49-0.023,1.947,0.379,1.916,1.849c-0.022,1.06-0.162,2.117-0.25,3.175l-0.011,0.021+ c-1.115,2.492-2.119,5.025-2.898,7.644c-0.783,0.562-0.698,1.561-1.16,2.305c-1.149,1.854-2.314,3.716-3.368,5.608+ c-1.246,2.236-2.567,4.375-4.169,6.356c-0.056,0.212-0.113,0.424-0.169,0.637l0.007-0.009c-0.145,0.056-0.351,0.07-0.427,0.176+ c-1.15,1.617-2.283,3.246-3.421,4.872l0.006-0.008c-0.08,0.152-0.16,0.304-0.24,0.456l-0.029,0.037+ c-0.057,0.061-0.113,0.122-0.17,0.184c-2.194,2.783-3.946,5.812-5.082,9.181c-0.27,0.273-0.164,0.655-0.279,0.973+ c-0.966,1.434-1.539,2.97-1.761,4.726c-0.341,2.693-0.93,5.388-0.55,8.087C343.237,302.172,343.045,305.041,345.707,306.707z"/>+ <path style="fill:#F6E4DD;" d="M233.85,372.919c-3.453,4.808-6.937,9.595-10.125,14.587c-0.211,0.33-0.337,0.712-0.504,1.071+ c-2.621-0.022-5.242-0.044-7.862-0.066c0.533-1.519,1.555-2.756,2.412-4.079c2.484-3.83,5.451-7.346,7.457-11.487+ c0.204-0.253,0.491-0.228,0.77-0.228c2.397,0,4.794,0,7.191,0C233.43,372.716,233.67,372.717,233.85,372.919z"/>+ <path style="fill:#A1A2AA;" d="M469.818,372.986c3.338-0.282,3.338-0.282,3.338,3.02c0,3.787-0.024,7.573,0.018,11.359+ c0.01,0.891-0.167,1.253-1.168,1.235c-3.865-0.07-7.731-0.045-11.597-0.055c2.661-3.673,4.731-7.709,7.073-11.578+ C468.276,375.652,469.31,374.47,469.818,372.986z"/>+ <path style="fill:#B29687;" d="M449.403,447.353c-1.397,0.001-2.794,0.008-4.191-0.004c-0.298-0.003-0.683,0.125-0.832-0.274+ c-0.106-0.285,0.067-0.538,0.24-0.764c2.771-3.65,5.55-7.293,8.302-10.957c0.389-0.517,0.854-0.584,1.366-0.417+ c2.534,0.827,5.055,1.695,7.59,2.523c0.601,0.196,0.411,0.448,0.139,0.757c-2.482,2.808-4.966,5.615-7.153,8.665+ c-0.3,0.418-0.693,0.478-1.15,0.475C452.276,447.346,450.839,447.352,449.403,447.353z"/>+ <path style="fill:#5F5A63;" d="M456.594,448.09c7.512,0,15.024,0.007,22.536-0.012c0.651-0.002,1.264,0.1,1.856,0.32+ c0.66,0.246,0.836,0.811,0.758,1.451c-0.084,0.69-0.639,0.59-1.11,0.59c-11.747,0.003-23.495,0.003-35.242,0.004+ c-4.346,0-8.693,0.004-13.039-0.009c-0.375-0.001-0.868,0.201-1.102-0.221c-0.272-0.489,0.088-0.943,0.342-1.32+ c0.461-0.683,1.19-0.883,1.989-0.883c7.671,0.002,15.341,0.001,23.012,0.001C456.594,448.038,456.594,448.064,456.594,448.09z"/>+ <path style="fill:#CFCDD5;" d="M373.145,228.764c-0.765,2.37-0.457,5.014-0.585,7.633c-0.065,1.329-0.967,2.404-1.95,2.61+ c-0.953,0.199-3.024-0.818-3.596-1.764c-1.453-2.402-1.961-5.086-2.38-7.809c-0.436-2.828,0.673-5.17,2.371-7.227+ c1.384-1.678,3.568-1.297,4.675,0.599C372.718,224.587,372.833,226.581,373.145,228.764z"/>+ <path style="fill:#F6E4DD;" d="M469.818,372.986c-0.508,1.485-1.541,2.666-2.337,3.981c-2.341,3.869-4.411,7.905-7.073,11.578+ c-2.392-0.002-4.784-0.005-7.176-0.007c2.224-3.765,4.458-7.524,6.666-11.298c0.841-1.437,1.923-2.735,2.515-4.318+ C464.882,372.943,467.35,372.964,469.818,372.986z"/>+ <path style="fill:#A1A2AA;" d="M225.228,372.944c-2.006,4.141-4.973,7.657-7.457,11.487c-0.858,1.323-1.879,2.56-2.412,4.079+ c-2.246,0.015-4.492,0.031-6.738,0.046c1.544-2.914,3.474-5.591,5.159-8.418c1.401-2.35,2.964-4.61,4.006-7.161+ C220.266,372.966,222.747,372.955,225.228,372.944z"/>+ <path style="fill:#5F5A63;" d="M457.193,510.83c5.512,0,11.023,0.022,16.534-0.022c0.917-0.007,1.208,0.258,1.093,1.143+ c-0.1,0.768,0.315,1.677-1.138,1.671c-11.063-0.045-22.126-0.027-33.189-0.019c-0.798,0.001-1.423-0.057-0.973-1.124+ c0.065-0.154-0.019-0.388-0.074-0.573c-0.262-0.89,0.143-1.135,0.973-1.13c5.311,0.031,10.622,0.039,15.934,0.054+ C456.634,510.831,456.914,510.83,457.193,510.83z"/>+ <path style="fill:#A1A2AA;" d="M414.315,388.55c2.574-4.925,5.432-9.688,8.291-14.449c0.222-0.37,0.414-0.76,0.619-1.14+ c2.167-0.005,4.333-0.01,6.5-0.015c-1.693,2.94-3.397,5.874-5.076,8.822c-1.302,2.286-2.915,4.385-4.076,6.755+ C418.487,388.532,416.401,388.541,414.315,388.55z"/>+ <path style="fill:#F6E4DD;" d="M420.573,388.523c1.161-2.371,2.774-4.469,4.076-6.755c1.679-2.948,3.383-5.882,5.076-8.822+ c1.909,0.002,3.819,0.004,5.728,0.006c-1.544,2.585-3.084,5.172-4.633,7.754c-1.533,2.555-2.984,5.154-4.265,7.846+ C424.561,388.542,422.567,388.532,420.573,388.523z"/>+ <path style="fill:#CFCDD5;" d="M325.008,215.005c0.398,0.484,0.597,0.958,0.363,1.639c-0.268,0.78-0.316,1.612-0.046,2.447+ c0.258,0.798-0.023,1.552-0.323,2.3c-0.55,1.37-0.035,2.04,1.412,1.755c1.047-0.206,2.03-0.284,2.962,0.334+ c-1.022,3.503-1.649,7.093-2.407,10.656c-0.276,1.299-0.142,2.196,1.218,2.638c-1.155,0.313-2.053-0.288-2.948-0.855+ c-0.292-0.185-0.499-0.509-0.898-0.499c-0.76-1.615-1.436-3.26-2.034-4.947c-0.64-1.806-0.273-3.381,0.753-4.855+ c0.363-0.522,0.493-0.705-0.014-1.309c-0.665-0.791-1.135-1.924-0.793-2.992c0.499-1.558,0.715-3.172,1.164-4.732+ C323.64,215.801,323.835,214.879,325.008,215.005z"/>+ <path style="fill:#B29687;" d="M461.876,447.37c-1.719,0-3.437,0.008-5.156-0.007c-0.289-0.003-0.677,0.154-0.826-0.266+ c-0.122-0.345,0.079-0.598,0.295-0.854c2.155-2.559,4.326-5.106,6.434-7.704c0.498-0.613,0.914-0.701,1.489-0.248+ c2.065,1.626,4.113,3.272,6.191,4.88c0.5,0.387,0.429,0.719,0.062,1.08c-0.857,0.843-1.667,1.723-2.27,2.77+ c-0.261,0.453-0.682,0.342-1.064,0.345C465.313,447.375,463.594,447.369,461.876,447.37z"/>+ <path style="fill:#57576C;" d="M383.273,505.869l0.006,0.031c-0.616-0.457-1.341-0.417-2.051-0.45+ c-1.6-0.911-3.541-1.025-5.044-2.163c-0.294-0.577-1.552-0.742-0.76-1.784c0.703-0.924,1.461-1.021,2.626-0.348+ c0.483,0.279,0.97,0.555,1.475,0.787c0.478,0.22,0.87,0.21,1.412-0.121c1.072-0.655,2.347-0.697,3.557-0.4+ c0.811,0.199,1.067,0.926,0.992,1.71c-0.104,1.091-0.266,2.179-1.509,2.618C383.757,505.827,383.509,505.831,383.273,505.869z"/>+ <path style="fill:#CFCDD5;" d="M362.987,217.908c-0.093-1.33-0.529-2.565-1.056-3.774c-0.096-0.22-0.243-0.423-0.301-0.651+ c-0.256-1.009,0.161-1.721,1.063-2.143c1-0.467,1.662,0.07,2.002,0.92c0.903,2.255,1.78,4.529,2.317,6.904+ c0.167,0.738,0.334,1.66-0.675,2.062c-0.878,0.35-2.116-0.341-2.603-1.412c-0.179-0.392-0.187-0.858-0.509-1.189l0,0.001+ c-0.015-0.263,0.037-0.549-0.242-0.724L362.987,217.908z"/>+ <path style="fill:#F3E5D9;" d="M273.218,343.457c0.022,0.591-0.212,1.047-0.822,1.124c-0.673,0.085-1.544-1.043-1.563-1.981+ c-0.017-0.792-0.154-1.696,1.017-1.803C272.684,340.72,273.152,341.658,273.218,343.457z"/>+ <path style="fill:#B29687;" d="M470.706,447.365c-0.461-0.1-1.224,0.292-1.489-0.2c-0.328-0.609,0.46-1.01,0.8-1.443+ c0.395-0.503,0.771-1.348,1.484-1.205c0.703,0.141,0.664,1.074,0.929,1.667c0.361,0.807,0.221,1.311-0.819,1.186+ C471.336,447.337,471.055,447.365,470.706,447.365z"/>+ <path style="fill:#F3E5D9;" d="M746.488,502.53c-0.677-0.074-0.924-0.605-1.069-1.135c-0.177-0.645-0.252-1.32-0.334-1.987+ c-0.055-0.44,0.062-0.745,0.596-0.448C745.331,500.29,746.098,501.367,746.488,502.53z"/>+ <path style="fill:#DCA89E;" d="M355.307,337.907c-1.375,2.477-3.555,4.007-6.05,5.178c-0.901,0.423-1.776,0.899-2.664,1.348+ c-0.249,0.126-0.497,0.323-0.758,0.348c-2.657,0.253-3.785,2.393-5.213,4.17c-0.195,0.242-0.449,0.442-0.698,0.633+ c-0.214,0.165-0.458,0.29-0.76,0.476c0.683,0.208,1.241,0.06,1.831-0.174c0.969-0.385,1.961-0.642,3.025-0.276+ c0.477,0.164,0.726,0.468,0.874,0.899c0.175,0.509-0.211,0.694-0.541,0.931c-1.649,1.186-3.362,2.245-5.203,3.134+ c-0.892,0.43-2.15,0.621-2.178,2.199c-0.016,0.912-2.206,1.495-3.004,0.944c-0.033-0.023-0.057-0.065-0.092-0.075+ c-1.358-0.386-2.673-0.727-3.516-2.111c-0.32-0.525-1.159-0.01-1.198,0.754c-0.021,0.398-0.017,0.786-0.2,1.167+ c-0.356,0.74-0.743,1.598-1.659,1.501c-0.944-0.1-1.817-0.635-2.19-1.612c-0.368-0.965-0.517-2.002-1.017-2.931+ c-0.259-0.482-0.492-0.745-1.104-0.593c-0.849,0.211-1.676-0.15-1.787-0.97c-0.331-2.442-1.409-4.696-1.677-7.146+ c-0.094-0.859,0.005-1.415-0.007-2.285c-0.009-0.672,0.03-0.114-0.467-0.23c-0.697-0.164-0.708-0.58-1.429-0.645+ c-0.715-0.064-1.721-1.188-1.114-1.808c1.054-1.076,2.344-2.5,3.51-3.462c0.122-0.101,0.304,0.468,0.501,0.458+ c0.151,0.261,0.378,0.408,0.675,0.45c0.071,0.383-0.359,0.798,0.05,0.907c0.485,0.128,0.405-0.63,0.649-0.907+ c0.203-0.231,0.862-0.281,1.014-0.557c0.168-0.325,0.313-0.671,0.708-0.793c0.28-0.284,0.559-0.568,0.839-0.853+ c0.028-0.052,0.066-0.095,0.115-0.129c0.151-0.166,0.289-0.338,0.254-0.584l-0.004,0.005c0.153-0.01,0.233-0.091,0.239-0.244+ l0.001-0.001c0.481-0.022,0.57-0.306,0.476-0.713l0.004-0.015c0.458,0.117,0.686-0.225,0.846-0.518+ c1.534-2.813,4.134-4.317,6.891-5.608c2.02-0.946,4.078-1.811,6.12-2.712c0.182-0.08,0.396-0.255,0.548-0.214+ c1.996,0.537,3.374-0.89,4.955-1.589c2.142-0.948,4.108-0.449,5.364,1.552c0.208,0.331,0.294,0.755,0.701,0.939+ c0.086,0.163,0.171,0.327,0.257,0.49l-0.007-0.008C352.764,330.321,354.1,334.09,355.307,337.907z"/>+ <path style="fill:#AD9981;" d="M338.535,267.341c0.901,0.818,1.229,1.815,1.247,3.047c0.033,2.245,0.863,4.364,1.439,6.499+ c0.498,1.845-0.3,3.412-0.524,5.087c-0.135,1.01-0.25,2.164-1.409,2.85c-0.415,0.245-0.579,1.085-0.622,1.749+ c-0.038,0.582-0.064,1.206-0.733,1.524c-0.22,0.104-0.329,0.378-0.285,0.618c0.466,2.536-0.128,5.142,0.517,7.664+ c0.182,0.711,0.115,1.366-0.499,1.838c-0.291,0.224-0.363,0.483-0.391,0.815c-0.037,0.444-0.124,0.937-0.596,1.09+ c-0.507,0.164-0.743-0.351-1.069-0.617c-0.663-1.784-0.796-3.673-0.866-5.53c-0.153-4.114-1.086-8.157-1.15-12.254+ c-0.043-2.71-0.902-5.229-1.21-7.868c-0.319-2.731-0.487-5.472-0.812-8.2c-0.033-0.281-0.065-0.584,0.289-0.696+ c0.461-0.146,0.871-0.007,1.22,0.302C334.64,266.637,336.532,267.133,338.535,267.341z"/>+ <path style="fill:#AD9981;" d="M345.467,285.841c1.136-3.369,2.888-6.398,5.082-9.181c0.057-0.061,0.113-0.123,0.17-0.184+ l0.029-0.037c0.08-0.152,0.16-0.304,0.24-0.456l-0.006,0.008c0.481-0.17,0.989-0.28,1.283-0.775+ c0.848-1.428,1.709-2.849,2.565-4.272l-0.007,0.009c0.237-0.164,0.281-0.38,0.169-0.637c1.602-1.981,2.923-4.121,4.169-6.356+ c1.054-1.892,2.219-3.754,3.368-5.608c0.461-0.744,0.377-1.743,1.16-2.305c0.519,0.247,0.463,0.636,0.338,1.108+ c-0.438,1.658-0.982,3.278-1.635,4.863c-0.165,0.4-0.41,0.783-0.364,1.247c-1.612,3.126-2.248,6.603-3.539,9.847+ c-1.06,2.662-1.909,5.414-3.081,8.023c-0.796,1.772-1.707,3.482-2.169,5.384c-0.9,2.726-1.796,5.453-2.705,8.176+ c-0.138,0.412-0.334,0.805-0.504,1.206c-0.083,0.087-0.166,0.174-0.249,0.261l0.023-0.01c-1.045,0.103-1.805-0.136-1.737-1.413+ c0.018-0.337-0.103-0.618-0.49-0.687c-0.081-0.164-0.161-0.328-0.242-0.492c0.42-0.528,0.555-1.08,0.302-1.749+ c-0.319-0.846,0.364-1.699,0.072-2.547c-0.39-1.132-0.387-2.523-1.881-2.977C345.677,286.242,345.586,285.995,345.467,285.841z"/>+ <path style="fill:#AD9981;" d="M345.444,279.845c-0.839,0.087-1.112-0.371-1.548-1.079c-1.061-1.723-0.274-3.107,0.393-4.575+ c0.51-1.122,0.995-2.262,1.591-3.337c0.472-0.851,0.287-1.529-0.32-2.144c-0.386-0.391-0.636-0.804-0.66-1.351+ c0.554-1.033,2.211-1.687,3.745-1.39c0.473,0.092,0.834,0.113,1.208-0.22c1.727-1.537,3.47-3.056,5.198-4.591+ c0.996-0.885,1.744-1.975,2.363-3.138c0.918-1.725,1.757-3.492,2.658-5.227c0.49-0.944,0.724-1.931,0.741-2.989+ c0.005-0.354,0.076-0.775,0.474-0.882c0.473-0.127,0.469,0.325,0.536,0.612c0.136,0.579,1.032,0.983,0.956,1.726+ c-0.052,0.518-0.198,0.472-0.362,0.962c-0.885,2.646-2.415,4.97-3.604,7.459c-1.778,3.723-4.273,6.95-6.551,10.334+ c-0.53,0.787-1.022,1.599-1.531,2.399c-0.078,0.071-0.156,0.143-0.234,0.214l0.009-0.012c-0.587,0.06-0.874,0.419-0.967,0.97+ l0.007-0.008c-0.089,0.163-0.179,0.326-0.268,0.489C347.999,275.993,346.722,277.919,345.444,279.845z"/>+ <path style="fill:#AFCFA9;" d="M323.619,336.829c-0.395,0.122-0.54,0.468-0.708,0.793c-0.571,0.186-1.142,0.371-1.713,0.556+ c-0.297-0.043-0.525-0.189-0.675-0.45c-0.192-1.593-0.677-3.085-1.487-4.479c-0.577-0.993-1.082-2.027-1.634-3.034+ c-0.352-0.643-0.09-1.134,0.336-1.61c0.259-0.289,0.754-0.318,0.852-0.779l-0.006,0.005c0.216,0.023,0.394-0.028,0.486-0.247+ l-0.007,0.005c0.083-0.082,0.166-0.163,0.249-0.245l-0.009,0.008c0.22,0.035,0.405,0,0.485-0.243l0,0+ c0.151-0.008,0.251-0.068,0.242-0.238l0.002,0.001c0.83,0.041,1.389-0.379,1.896-0.998c0.584-0.712,1.231-0.597,1.464,0.301+ c0.423,1.631,1.265,3.096,1.747,4.698c0.057,0.191,0.069,0.454,0.201,0.554c1.176,0.89,0.78,1.869,0.203,2.869l-0.004,0.015+ c-0.373,0.094-0.513,0.345-0.476,0.713l-0.001,0.001c-0.158,0.005-0.225,0.098-0.239,0.244l0.004-0.005+ c-0.257,0.12-0.275,0.344-0.254,0.584c-0.048,0.034-0.086,0.077-0.115,0.129C323.856,335.945,323.566,336.219,323.619,336.829z"/>+ <path style="fill:#FEFEFE;" d="M353.24,286.52c0.462-1.902,1.372-3.612,2.169-5.384c1.173-2.609,2.022-5.361,3.081-8.023+ c1.291-3.243,1.926-6.721,3.539-9.847c0.551,0.725,0.031,1.488-0.06,2.166c-0.224,1.677-0.684,3.309-1.491,4.859+ c-1.579,3.034-2.963,6.171-3.982,9.442c-0.727,2.334-2,4.408-2.949,6.634C353.513,286.447,353.345,286.47,353.24,286.52z"/>+ <path style="fill:#BF877D;" d="M307.489,306.762c0.13-0.841,0.929-1.023,1.454-1.475c0.29-0.043,0.612-0.05,0.529-0.493+ c0,0,0.016,0.012,0.016,0.012c0.737,0.135,1.388-0.25,2.083-0.367c0.976-0.164,1.697,0.078,1.944,1.062+ c0.246,0.977-0.553,1.236-1.248,1.4c-0.982,0.231-1.839,0.729-2.755,1.102C308.286,308.504,307.693,308.116,307.489,306.762z"/>+ <path style="fill:#FEFEFE;" d="M344.504,238.581c1.326,0.229,2.651,0.412,3.485,1.707c0.266,0.412,0.725,0.766,1.174,0.983+ c2.064,1,2.784,0.76,3.85-1.131c1.333-2.364,1.756-5.007,2.618-7.513c-0.027,2.213-0.038,4.432-1.191,6.431+ c-0.456,0.791-0.73,1.68-1.402,2.357c-0.737,0.742-1.534,0.963-2.576,0.765c-1.207-0.23-2.235-0.616-3.088-1.575+ c-0.483-0.543-1.254-0.827-1.889-1.237C345.13,239.141,344.611,239.117,344.504,238.581z"/>+ <path style="fill:#FEFEFE;" d="M355.307,337.907c-1.207-3.816-2.542-7.586-4.09-11.279c1.044,0.511,1.241,1.627,1.582,2.524+ c0.968,2.552,2.251,4.983,2.972,7.63C355.91,337.295,356.164,337.82,355.307,337.907z"/>+ <path style="fill:#FEFEFE;" d="M329.608,241.902c0.383-1.22,1.311-1.971,2.331-2.603c1.269-0.786,1.677-0.663,2.398,0.628+ c0.554,0.992,1.391,1.37,2.49,1.252c-0.877,0.45-1.651,0.272-2.378-0.354c-1.269-1.092-1.749-1.08-3.096-0.082+ C330.794,241.157,330.341,241.746,329.608,241.902z"/>+ <path style="fill:#57576C;" d="M349.521,297.775c-0.409,0.276-0.787,0.77-1.347,0.414c-0.475-0.302-0.783-0.783-0.765-1.371+ c0.029-0.923,0.11-1.844,0.169-2.765c0.388,0.069,0.508,0.35,0.491,0.687c-0.068,1.277,0.692,1.516,1.737,1.413+ C349.938,296.734,349.587,297.23,349.521,297.775z"/>+ <path style="fill:#FEFEFE;" d="M322.414,313.059c-0.748-0.027-0.944-0.381-0.91-1.139c0.069-1.527-0.416-1.989-1.974-2.157+ c-0.862-0.093-1.724-0.18-2.586-0.27c0.384-0.746,0.779-1.39,1.723-0.596c0.385,0.324,0.91,0.184,1.379,0.214+ c1.248,0.08,2.137,0.969,2.115,2.202C322.151,311.92,322.361,312.473,322.414,313.059z"/>+ <path style="fill:#9AA5AF;" d="M331.655,372.324c-1.079,0.164-1.826,0.136-2.575-0.07+ C329.821,371.992,330.566,371.891,331.655,372.324z"/>+ <path style="fill:#FEFEFE;" d="M336.817,241.184c0.264-0.34,0.61-0.231,0.946-0.173+ C337.48,241.245,337.135,241.14,336.817,241.184z"/>+ <path style="fill:#FEFEFE;" d="M362.983,217.903c0.279,0.175,0.227,0.461,0.242,0.724+ C362.947,218.452,362.995,218.168,362.983,217.903z"/>+ <path style="fill:#FEFEFE;" d="M351.223,326.636c-0.086-0.163-0.171-0.327-0.257-0.49+ C351.171,326.246,351.209,326.435,351.223,326.636z"/>+ <path style="fill:#FEFEFE;" d="M329.233,242.143c0.046-0.216,0.223-0.23,0.393-0.252+ C329.495,241.975,329.364,242.059,329.233,242.143z"/>+ <path style="fill:#FEFEFE;" d="M324.344,254.387c0.033,0.019,0.065,0.039,0.098,0.058c-0.032-0.02-0.064-0.04-0.096-0.06+ L324.344,254.387z"/>+ <path style="fill:#FEFEFE;" d="M343.837,238.384c0.046-0.024,0.092-0.024,0.138,0c0,0-0.069,0.059-0.069,0.059L343.837,238.384z"+ />+ <path style="fill:#57576C;" d="M349.783,296.163c0.083-0.087,0.166-0.174,0.249-0.261+ C349.949,295.989,349.866,296.076,349.783,296.163z"/>+ <path style="fill:#F3E5D9;" d="M188.86,499.746c-0.414-0.808-0.689-1.538-1.561-1.717c-0.262-0.054-0.403-0.232-0.286-0.53+ c0.502-1.277,0.772-2.661,1.847-3.898C188.86,495.701,188.86,497.642,188.86,499.746z"/>+ <path style="fill:#F3E5D9;" d="M184.223,499.366c-0.511,0.751-1.239,0.943-1.802,1.342c-0.363,0.257-0.496-0.106-0.552-0.371+ c-0.241-1.13-0.785-2.078-1.637-2.852c-0.252-0.229-0.5-0.483-0.108-0.77c0.34-0.249,0.505,0.06,0.633,0.302+ C181.471,498.363,182.561,499.188,184.223,499.366z"/>+ <path style="fill:#FEFEFE;" d="M373.817,436.69c-0.063,0.222-0.063,0.498-0.2,0.657c-0.386,0.447-3.122,0.271-3.494-0.193+ c-0.1-0.124-0.18-0.276-0.305-0.365c-1.088-0.776-0.587-1.143,0.322-1.557c0.924-0.42,1.643-1.145,2.076-2.069+ c0.395-0.844,0.585-1.74,0.122-2.647c-0.104-0.203-0.28-0.453,0.011-0.623c0.199-0.116,0.458-0.209,0.679-0.19+ c0.315,0.028,0.265,0.339,0.279,0.57c0.124,2.138,0.247,4.276,0.371,6.414C373.724,436.687,373.771,436.688,373.817,436.69z"/>+ <path style="fill:#D4D5E1;" d="M702.407,442.639c1.183-0.725,2.45-0.116,3.667-0.15c0.687-0.019,1.478,0.203,2.206,0.392+ c0.011,1.719,0.032,3.438,0.032,5.157c-0.001,18.398,0.015,36.796-0.03,55.194c-0.007,3.065-0.268,6.131-0.451,9.194+ c-0.051,0.845-0.4,1.389-1.46,1.265c-0.805-0.095-1.643,0.066-2.451,0.278c-1.48,0.387-2.253-0.193-2.253-1.705+ c-0.003-16.278-0.102-32.557,0.064-48.833c0.055-5.432-0.042-10.87,0.208-16.299C702.008,445.636,701.908,444.1,702.407,442.639z"+ />+ <path style="fill:#CFCDD5;" d="M344.027,236.538c-0.883,0.481-1.687,0.617-2.31-0.422c-0.227-0.378-0.596-0.646-1.014-0.816+ c-2.547-1.033-3.505-2.79-3.234-5.625c0.284-2.971,1.478-4.955,4.14-6.308c1.777-0.904,3.267-0.674,4.821,0.291+ c-0.415,0.614-0.98,1.104-1.172,1.893c-0.647,2.652-1.322,5.298-2.071,7.923C342.832,234.72,342.461,235.865,344.027,236.538z"/>+ <path style="fill:#FEFEFE;" d="M328.187,236.773c-1.36-0.442-1.494-1.34-1.218-2.638c0.758-3.563,1.385-7.153,2.407-10.656+ c2.491-0.1,3.958,0.909,4.456,3.064c-0.718,0.368-0.315,1.071-0.441,1.603c-0.498,2.117-0.915,4.254-1.328,6.391+ c-0.068,0.354-0.247,0.854,0.23,1.06c0.397,0.172,0.618-0.25,0.886-0.47c0.802-0.656,1.288-1.498,1.485-2.512+ c0.141-0.728,0.288-1.455,0.432-2.182c0.248,1.88-0.232,3.576-1.182,5.201c-0.401,0.686-1.043,0.455-1.562,0.634+ c-0.468,0.161-1.016,0.089-1.529,0.12c-0.113-1.733,0.299-3.383,0.742-5.04c0.501-1.874,0.917-3.771,1.357-5.661+ c0.151-0.648-0.326-1.045-0.789-1.156c-0.525-0.126-0.516,0.468-0.582,0.835c-0.254,1.401-0.456,2.813-0.743,4.207+ c-0.485,2.36-0.65,4.797-1.664,7.032C328.829,236.682,328.536,236.888,328.187,236.773z"/>+ <path style="fill:#FEFEFE;" d="M344.027,236.538c-1.566-0.673-1.195-1.818-0.84-3.065c0.749-2.624,1.424-5.271,2.071-7.923+ c0.192-0.789,0.758-1.278,1.172-1.893c0.464,0.02,0.799,0.335,1.191,0.519c0.082,0.061,0.165,0.123,0.248,0.185l0.018,0.013+ c0.229,0.486,0.29,0.994,0.154,1.513c-0.934,3.57-1.894,7.133-3.089,10.628C344.644,236.524,344.336,236.531,344.027,236.538z"/>+ <path style="fill:#CFCDD5;" d="M344.953,236.516c1.195-3.495,2.155-7.058,3.089-10.628c0.136-0.518,0.075-1.026-0.154-1.513+ c1.017,0.109,1.429,0.813,1.663,1.691c-0.686,1.115-0.803,2.407-1.07,3.639c-0.462,2.126-1.346,4.167-1.334,6.391+ C346.623,237.325,345.747,236.705,344.953,236.516z"/>+ <path style="fill:#FEFEFE;" d="M347.147,236.097c-0.012-2.224,0.872-4.265,1.334-6.391c0.268-1.232,0.384-2.524,1.07-3.639+ c0.741,0.226,0.786,0.806,0.732,1.437c-0.78,2.365-1.034,4.841-1.594,7.265c0.645-0.354,0.805-0.981,1.091-1.535+ c0.651-1.261,0.641-2.665,0.922-4.006c0.775,2.559-0.28,5.382-2.747,6.778C347.738,236.13,347.419,236.071,347.147,236.097z"/>+ <path style="fill:#CFCDD5;" d="M335.098,230.433c-0.144,0.727-0.291,1.454-0.432,2.182c-0.197,1.015-0.682,1.856-1.485,2.512+ c-0.268,0.219-0.489,0.641-0.886,0.47c-0.477-0.206-0.299-0.706-0.23-1.06c0.413-2.136,0.83-4.273,1.328-6.391+ c0.125-0.532-0.278-1.235,0.441-1.603C334.618,227.721,335.417,228.895,335.098,230.433z"/>+ <path style="fill:#CFCDD5;" d="M329.144,236.606c1.014-2.235,1.179-4.672,1.664-7.032c0.287-1.394,0.489-2.806,0.743-4.207+ c0.067-0.368,0.057-0.961,0.582-0.835c0.463,0.111,0.94,0.508,0.789,1.156c-0.439,1.89-0.856,3.787-1.357,5.661+ c-0.443,1.657-0.855,3.306-0.742,5.04C330.311,236.822,329.705,236.535,329.144,236.606z"/>+ <path style="fill:#CFCDD5;" d="M350.702,229.229c-0.281,1.341-0.271,2.745-0.922,4.006c-0.286,0.553-0.446,1.18-1.091,1.535+ c0.56-2.424,0.814-4.9,1.594-7.265C350.581,228.041,350.707,228.619,350.702,229.229z"/>+ <path style="fill:#F3E5D9;" d="M347.87,224.363c-0.083-0.062-0.165-0.123-0.248-0.185+ C347.705,224.24,347.787,224.301,347.87,224.363z"/>+ <path style="fill:#F3E5D9;" d="M309.473,304.794c0.083,0.443-0.239,0.45-0.529,0.493+ C308.993,304.987,309.126,304.776,309.473,304.794z"/>+ <path style="fill:#F3E5D9;" d="M319.069,327.584c-0.092,0.22-0.27,0.27-0.486,0.247+ C318.674,327.61,318.86,327.575,319.069,327.584z"/>+ <path style="fill:#F3E5D9;" d="M319.787,327.109c-0.081,0.243-0.266,0.277-0.485,0.243+ C319.396,327.136,319.569,327.077,319.787,327.109z"/>+ <path style="fill:#F3E5D9;" d="M320.029,326.871c0.009,0.17-0.091,0.23-0.242,0.238+ C319.791,326.952,319.879,326.88,320.029,326.871z"/>+ <path style="fill:#F3E5D9;" d="M319.311,327.344c-0.083,0.082-0.166,0.163-0.249,0.245+ C319.145,327.508,319.228,327.426,319.311,327.344z"/>+ <path style="fill:#FEFEFE;" d="M381.229,505.449c0.709,0.033,1.435-0.007,2.051,0.45c-0.648,0.022-1.13,0.612-1.808,0.528+ C381.391,506.102,381.31,505.775,381.229,505.449z"/>+ <path style="fill:#57576C;" d="M347.336,293.561c-0.157-0.222-0.435-0.436-0.45-0.668c-0.052-0.771-0.299-1.385-0.857-1.957+ c-0.4-0.41-0.338-1.055-0.116-1.588c0.315-0.758,0.4-1.406-0.448-1.897c-0.161-0.093-0.187-0.419-0.276-0.638+ c0.115-0.318,0.008-0.699,0.279-0.973c0.119,0.154,0.21,0.401,0.362,0.447c1.494,0.454,1.491,1.845,1.881,2.977+ c0.292,0.848-0.391,1.702-0.072,2.547C347.891,292.481,347.756,293.034,347.336,293.561z"/>+ <path style="fill:#F3E5D9;" d="M354.83,270.944c-0.856,1.423-1.717,2.844-2.565,4.272c-0.294,0.496-0.802,0.605-1.283,0.775+ c1.137-1.626,2.27-3.255,3.421-4.872C354.479,271.013,354.685,271,354.83,270.944z"/>+ <path style="fill:#F3E5D9;" d="M349.538,273.587c0.094-0.551,0.38-0.911,0.967-0.97+ C350.389,273.146,350.106,273.509,349.538,273.587z"/>+ <path style="fill:#F3E5D9;" d="M354.992,270.316c0.113,0.257,0.068,0.472-0.169,0.637+ C354.879,270.741,354.936,270.528,354.992,270.316z"/>+ <path style="fill:#F3E5D9;" d="M349.277,274.068c0.089-0.163,0.179-0.326,0.268-0.489+ C349.554,273.796,349.52,273.989,349.277,274.068z"/>+ <path style="fill:#F3E5D9;" d="M350.989,275.983c-0.08,0.152-0.16,0.304-0.24,0.456+ C350.829,276.287,350.909,276.135,350.989,275.983z"/>+ <path style="fill:#F3E5D9;" d="M350.72,276.476c-0.057,0.061-0.114,0.123-0.17,0.184+ C350.606,276.598,350.663,276.537,350.72,276.476z"/>+ <path style="fill:#F3E5D9;" d="M350.497,272.629c0.078-0.071,0.156-0.143,0.234-0.214+ C350.652,272.486,350.574,272.558,350.497,272.629z"/>+ <path style="fill:#F3E5D9;" d="M323.619,336.829c-0.053-0.61,0.237-0.884,0.838-0.853+ C324.178,336.26,323.898,336.545,323.619,336.829z"/>+ <path style="fill:#F3E5D9;" d="M325.061,335.022c-0.036-0.368,0.104-0.618,0.476-0.713+ C325.631,334.716,325.542,335,325.061,335.022z"/>+ <path style="fill:#F3E5D9;" d="M324.572,335.847c-0.021-0.241-0.004-0.465,0.254-0.584+ C324.861,335.51,324.723,335.681,324.572,335.847z"/>+ <path style="fill:#F3E5D9;" d="M324.822,335.268c0.013-0.146,0.081-0.239,0.239-0.244+ C325.055,335.177,324.975,335.258,324.822,335.268z"/>+ </g>+</g>+<g id="Layer_10">+ <g>+ <path style="fill:#5F5A63;" d="M218.359,297.381c-0.035,0.304,0.208,0.273,0.385,0.316c1.807,0.435,2.808,1.668,3.458,3.334+ c0.382,0.978,0.139,1.532-0.757,2.026c-1.884,1.039-3.724,2.157-5.577,3.251c-0.222,0.131-0.549,0.191-0.533,0.609+ c0.525,0.244,0.902-0.151,1.276-0.362c4.723-2.667,9.461-5.307,14.139-8.051c3.513-2.06,8.382,0.501,8.543,4.566+ c0.107,2.717-0.789,4.669-3.449,5.924c-5.451,2.573-10.522,5.854-15.66,8.994c-0.909,0.555-1.299,0.473-1.665-0.5+ c-1.053-2.794-2.175-5.561-3.222-8.357c-0.221-0.59-0.727-1.215-0.179-1.911c0.037-0.047-0.05-0.283-0.092-0.286+ c-1.212-0.103-1.11-1.224-1.456-1.949c-0.279-0.585-0.642-0.743-1.218-0.705c-2.1,0.139-4.234-0.309-6.305,0.397+ c-0.324,0.11-0.716,0.06-1.071,0.026c-0.434-0.042-0.764-0.277-0.82-0.739c-0.058-0.475,0.236-0.799,0.651-0.88+ c3.259-0.634,5.831-2.705,8.682-4.176c1.195-0.616,2.471-0.964,3.669-1.529C217.559,297.381,217.959,297.381,218.359,297.381z"/>+ <path style="fill:#DBDDE4;" d="M687.083,375.218c0-2.037,0.045-4.641,0-6.677c-0.018-0.805,0.755-1.42,1.626-1.417+ c7.469,0.03,15.239,0.018,22.708,0c0.861-0.002,0.854,0.136,0.772,1.042c-0.182,2.021,0.024,5.081-0.002,7.115+ C704.107,375.282,695.163,375.218,687.083,375.218z"/>+ <path style="fill:#DBDDE4;" d="M712.833,374.918c0-2.031-0.104-4.597-0.167-6.626c-0.028-0.913,0.583-0.966,1.458-0.958+ c4.658,0.041,9.576,0.365,14.235,0.368c0,2.16-0.025,4.321,0.016,6.48c0.012,0.602,0.182,1.041-0.418,1.037+ C723.159,375.19,717.633,374.918,712.833,374.918z"/>+ <path style="fill:#DBDDE4;" d="M193.157,310.118c0.125-1.603-0.433-2.518-2.24-3.18c-0.315-0.116-1.62-0.174-1.708-0.583+ c-0.111-0.513,1.464-0.918,1.75-1.146c0.467-0.372,1.488-0.441,2.146-0.438c5.718,0.028,12.094-0.015,17.812,0+ c0.313,0.001,0.566-0.071,0.646,0.438c0.056,0.358-0.947,0.594-1.219,0.734c-6.219,3.186-11.764,7.256-17.718,10.891+ c-2.79,1.703-5.875,3.155-8.52,5.077c-0.235,0.17-0.85,0.209-0.541,0.71c0.208,0.338,0.443,0.007,0.781-0.204+ c1.284-0.803,2.388-1.574,3.614-2.458c2.459-1.773,5.511-2.975,8.119-4.502c2.855-1.671,5.553-3.79,8.422-5.436+ c2.63-1.509,5.608-3.058,8.083-4.812c0.598-0.424,0.516,0.306,0.691,0.764c1.383,3.609,2.752,7.224,4.151,10.826+ c0.836,2.152,1.687,4.299,2.598,6.42c0.284,0.661,0.194,0.946-0.439,1.303c-2.083,1.173-4.075,2.515-6.194,3.617+ c-1.508,0.785-1.867,2.22-1.798,3.488c0.081,1.509-0.603,2.32-1.627,2.916c-4.488,2.611-8.643,5.719-12.99,8.538+ c-1.015,0.658-1.426,1.541-1.424,2.706c0.01,5.558-0.018,11.117,0.029,16.675c0.009,1.053-0.204,1.503-1.368,1.428+ c-1.545-0.099-3.096,0.014-4.649,0.17c-1.052,0.106-1.429,0.547-1.436,1.478c-0.015,1.799-0.04,3.6,0.011,5.398+ c0.023,0.825-0.224,1.127-1.079,1.102c-1.918-0.055-3.839-0.044-5.758-0.005c-0.854,0.017-1.167-0.343-1.091-1.149+ c0.521-5.503,0.046-11.021,0.272-16.526c0.062-1.509-0.829-2.715-1.011-4.144c0,0.407,0,0.815,0,1.222+ c0.001,6.438-0.018,12.877,0.023,19.315c0.006,0.977-0.239,1.305-1.26,1.293c-4.518-0.053-9.038-0.047-13.556-0.003+ c-0.956,0.009-1.934,0.22-1.931-0.821c0.035-13.996-0.014-28.348,0-42.344c0.003-3.18,2.198-5.637,4.542-7.68+ c2.71-2.363,5.43-4.395,8.243-6.601c0.403,1.373,1.939,2.209,3.181,2.443c3.478,0.654,6.915,0.261,10.248-0.796+ c1.257-0.398,2.577-0.912,3.444-2.055C193.425,312.841,192.898,311.656,193.157,310.118z M188.172,334.151+ c-0.079-0.07-0.158-0.141-0.236-0.211c0.351-0.842,0.035-1.076-0.799-0.925c-1.676,0.304-2.408,1.042-2.766,3.115+ c-0.284,1.65,0.003,3.21,1.402,4.315c1.023,0.807,2.145,0.527,3.231,0.05c0.264,0.348,0.023,0.743,0.746,0.722+ c0.883-0.025,1.19,0.066,1.812-0.801c1.633-2.275,1.827-4.36,0.354-6.792c-0.414-0.683-0.807-0.764-1.542-0.964+ c-0.726-0.198-1.188-0.462-1.059,0.491C188.852,333.391,188.466,333.719,188.172,334.151z M193.888,325.551+ c-0.137,0.824-0.03,1.812,0.287,2.688c0.954,2.638,2.418,4.777,5.449,5.459c1.241,0.279,2.603-0.237,3.793-0.448+ c2.477-0.438,3.573-0.618,4.896-2.229c2.588-3.15,2.172-6.429,0.917-9.938c-0.721-2.014-2.381-3.383-4.5-3.797+ c-1.892-0.37-3.584-0.631-5.562,0C196.335,318.189,193.691,321.49,193.888,325.551z"/>+ <path style="fill:#DBDDE4;" d="M260.654,372.02c-7.2,0-14.4-0.017-21.6,0.021c-0.985,0.005-1.319-0.254-1.286-1.268+ c0.072-2.238,0.059-4.48,0.004-6.719c-0.022-0.883,0.23-1.171,1.142-1.167c8.32,0.032,16.64,0.019,24.96,0.019+ c6.14,0,12.28,0.031,18.419-0.028c1.146-0.011,1.413,0.358,1.377,1.426c-0.074,2.197-0.065,4.4-0.003,6.599+ c0.026,0.924-0.301,1.138-1.173,1.134C275.214,372.006,267.934,372.02,260.654,372.02z"/>+ <path style="fill:#5F5A63;" d="M209.61,372.008c-6.397,0-12.795-0.032-19.191,0.03c-1.145,0.011-1.41-0.342-1.353-1.406+ c0.088-1.635,0.052-3.278,0.019-4.916c-0.013-0.654,0.162-0.913,0.868-0.91c8.476,0.043,16.952,0.06,25.427,0.083+ c3.539,0.01,7.079,0.011,10.618,0.031c1.194,0.007,2.389,0.085,3.583,0.078c0.583-0.003,0.751,0.217,0.741,0.777+ c-0.029,1.639-0.071,3.281,0.012,4.916c0.052,1.019-0.18,1.357-1.292,1.346C222.565,371.976,216.087,372.008,209.61,372.008z"/>+ <path style="fill:#DBDDE4;" d="M210.55,344.997c-0.255,2.763-1.352,5.105-2.231,7.511c-0.142,0.39-0.417,0.732-0.849,0.763+ c-1.839,0.132-3.57-0.179-5.056-1.371c-0.6-0.481-0.79-1.045-0.481-1.793c0.619-1.497,0.534-3.288,1.41-4.701+ c0.381-0.614,0.274-1.241,0.547-1.945c0.191-0.493,0.427-0.833,0.924-0.685c1.549,0.461,3.136,0.456,4.809,0.451+ c-0.487-1.171-0.206-2.206,0.687-3.134c1.086-1.128,2.478-1.401,3.925-1.416c0.865-0.009,1.556,0.432,2.026,1.254+ c1.006,1.759,2.078,3.481,3.14,5.208c0.468,0.761,0.44,1.768,1.279,2.367c0.23,0.164,0.743,0.896,0.037,0.963+ c-0.464,0.044-1.293,0.183-1.758,0.244c-1.72,0.227-2.912,1.259-3.862,2.577c-0.657,0.912-1.019,0.666-1.427-0.141+ C212.656,349.135,211.632,347.126,210.55,344.997z"/>+ <path style="fill:#5F5A63;" d="M193.528,309.657c-0.258,1.539-0.103,3.184-1.124,4.529c-0.867,1.143-2.335,2.384-3.592,2.783+ c-3.333,1.057-6.49,0.971-9.969,0.317c-1.242-0.233-3.222-1.698-3.625-3.071c-0.446-3.76,1.717-5.296,5.398-6.391+ c3.289-0.978,6.721-1.738,10.102-0.904C192.042,307.247,192.656,308.787,193.528,309.657z M191.274,311.723+ c-4.183,2.251-8.624,2.364-13.179,1.625C180.877,315.079,189.701,314.056,191.274,311.723z"/>+ <path style="fill:#DBDDE4;" d="M221.02,332.334c-0.224,2.259-1.377,4.111-2.636,5.915c-0.25,0.358-0.511,0.713-0.802,1.036+ c-0.304,0.337-0.566,0.426-0.971-0.005c-1.965-2.093-4.29-1.429-5.802-0.32c-0.958,0.703-1.989,1.505-2.125,2.908+ c-0.041,0.424-0.011,0.97-0.497,0.913c-1.772-0.207-4.837-0.667-6.531-1.266c-0.774-0.273,0.416-0.715,0.882-1.027+ c2.083-1.393,4.199-2.737,6.273-4.142c1.385-0.939,3.112-1.521,3.619-3.426c0.118-0.442,0.68-0.523,1.075-0.685+ c2.001-0.819,4.13-1.129,6.244-1.456C220.881,330.605,221.05,331.427,221.02,332.334z"/>+ <path style="fill:#DBDDE4;" d="M203.396,363.862c-1.959,0-3.918-0.018-5.877,0.01c-0.674,0.01-1.037-0.128-1.014-0.916+ c0.047-1.638,0.047-3.279,0-4.917c-0.023-0.802,0.364-0.97,1.026-0.888c3.901,0.487,7.818,0.149,11.727,0.203+ c0.975,0.013,1.357,0.324,1.164,1.233c-0.31,1.463-0.231,2.939-0.213,4.411c0.009,0.707-0.293,0.881-0.936,0.872+ C207.314,363.845,205.355,363.862,203.396,363.862z"/>+ <path style="fill:#957EC7;" d="M248.818,346.606c0.001,4.704-0.019,9.409,0.024,14.113c0.008,0.872-0.19,1.252-1.116,1.152+ c-1.1-0.118-2.97,0.8-3.712,0.111c-0.704-0.654-0.241-2.6-0.251-3.66c-0.035-3.986,0.088-7.758,0.081-11.743+ C245.359,346.588,247.303,346.597,248.818,346.606z"/>+ <path style="fill:#DBDDE4;" d="M216.46,363.862c-1.32,0-2.641-0.035-3.959,0.014c-0.793,0.03-1.141-0.168-1.132-1.054+ c0.014-1.509,0.182-3.03-0.194-4.532c-0.161-0.644,0.158-0.927,0.853-0.921c2.84,0.025,5.68,0.021,8.519,0+ c0.636-0.005,0.913,0.157,0.95,0.865c0.091,1.753-0.535,3.477-0.146,5.244c0.111,0.501-0.415,0.373-0.692,0.376+ C219.26,363.871,217.86,363.862,216.46,363.862z"/>+ <path style="fill:#AFCFA9;" d="M270.415,345.581c0.004,4.989,0.188,10.056,0.241,15.044c0.011,0.987-0.437,1.372-1.344,1.357+ c-2.194-0.037-3.002,0.842-2.999-1.388c0.006-4.629,0.21-10.317,0.218-14.946C267.652,345.278,269.287,345.334,270.415,345.581z"+ />+ <path style="fill:#E97899;" d="M263.633,348.371c-0.035,4.105-0.093,8.211-0.086,12.316c0.002,0.859,0.225,1.345-0.589,1.346+ c-2.777,0.004-3.839,0.743-3.84-1.991c-0.001-3.509,0.547-8.006,0.546-11.516C260.992,348.596,262.3,348.159,263.633,348.371z"/>+ <path style="fill:#CF595F;" d="M722.098,355.972c-0.001,3.236-0.035,6.473,0.017,9.708c0.014,0.887-0.308,1.105-1.108,1.057+ c-0.876-0.052-1.759-0.049-2.636-0.001c-0.742,0.041-1.064-0.146-1.054-0.984c0.038-3.275,0.002-6.551-0.006-9.827+ C718.906,355.911,720.503,355.785,722.098,355.972z"/>+ <path style="fill:#E7767C;" d="M277.178,348.932c0.013,3.998,0.343,8.32,0.385,12.318c0.008,0.774-0.559,0.71-1.353,0.722+ c-2.89,0.044-3.432,0.595-3.429-2.253c0.003-3.399-0.006-7.473,0-10.872C274.054,348.463,275.9,349.099,277.178,348.932z"/>+ <path style="fill:#EFC98E;" d="M256.422,350.779c0.003,3.354-0.02,6.708,0.027,10.061c0.012,0.843-0.243,1.127-1.081,1.078+ c-0.751-0.044-1.512,0.054-2.267,0.107c-0.672,0.047-1.232,0.33-1.178-0.272c0.312-3.457-0.085-7.756,0.118-11.212+ C253.43,350.558,255.033,350.762,256.422,350.779z"/>+ <path style="fill:#DBDDE4;" d="M256.422,350.779c-1.389-0.017-3.087-0.033-4.476-0.05c-0.058-2.857,0.018-5.702,0.001-8.567+ c-0.016-2.724,0.165-1.557,1.053-1.37c3.515-0.042,3.639-1.601,3.625,1.897C256.616,344.796,256.452,348.672,256.422,350.779z"/>+ <path style="fill:#DBDDE4;" d="M277.562,349c-1.278,0.166-3.508-0.384-4.782,0c-0.006-2.28,0.047-4.815,0-7.094+ c-0.016-0.797,0.495-1.34,1.375-1.344c2.799-0.013,3.404-0.007,3.406,2.781C277.564,345.064,277.557,347.28,277.562,349z"/>+ <path style="fill:#DBDDE4;" d="M263.633,348.371c-1.333-0.212-2.641,0.225-3.969,0.156c-0.008-2.154-0.27-4.935-0.32-7.089+ c-0.018-0.792,0.474-0.715,1.25-0.697c3.615,0.083,3.067-0.174,3.109,3.327C263.72,345.501,263.659,346.936,263.633,348.371z"/>+ <path style="fill:#DBDDE4;" d="M248.818,346.606c-1.516-0.009-3.459-0.018-4.974-0.027c-0.476-1.68,0.046-3.875,0-5.572+ c-0.012-0.425,0.644-0.215,0.969-0.216c1.079-0.003,2.297-0.019,3.375-0.051c0.661-0.02,0.664,0.614,0.655,1.19+ C248.817,343.489,248.824,345.048,248.818,346.606z"/>+ <path style="fill:#DBDDE4;" d="M722.098,355.972c-1.594-0.188-3.191-0.061-4.788-0.046c-0.229-1.256-0.219-2.524-0.233-3.794+ c-0.007-0.679,0.146-1.04,0.923-1.003c1.072,0.051,2.15,0.04,3.224,0.003c0.673-0.024,0.921,0.228,0.901,0.9+ C722.085,353.345,722.103,354.659,722.098,355.972z"/>+ <path style="fill:#DBDDE4;" d="M218.441,330.189c-1.766,0.569-3.628,0.78-5.362,1.497c-0.592,0.245-0.885,0.004-0.831-0.873+ c0.139-2.262,2.166-2.403,3.457-3.352c0.284-0.209,0.68-0.336,1.014-0.545c1.215-0.764,2.279-0.287,2.619,1.14+ c-0.021,0.363,0.143,0.611,0.468,0.76l-0.001,0c0.08,0.079,0.16,0.159,0.24,0.238l0.003,0.003+ c0.038,0.463-0.076,0.752-0.639,0.761C219.073,329.824,218.562,329.558,218.441,330.189z"/>+ <path style="fill:#DBDDE4;" d="M219.688,348.868c0.659,0.01,1.411,0.252,1.71,1.001c0.314,0.785-0.224,1.682-0.679,2.07+ c-1.139,0.972-2.813,1.637-4.399,1.53c-1.11-0.075-1.985-0.982-1.383-1.906C215.869,350.134,218.04,349.045,219.688,348.868z"/>+ <path style="fill:#DBDDE4;" d="M254.135,340.097c-0.917,0-1.834-0.021-2.75,0.008c-0.596,0.019-0.914-0.172-0.856-0.814+ c0.048-0.527-0.172-1.279,0.648-1.306c1.951-0.065,3.906-0.058,5.857-0.007c0.832,0.021,0.632,0.751,0.676,1.282+ c0.05,0.608-0.195,0.869-0.825,0.845C255.969,340.071,255.051,340.097,254.135,340.097z"/>+ <path style="fill:#DBDDE4;" d="M270.237,345.609c-1.128-0.248-2.585-0.331-3.706,0.038c-0.008-1.232-0.178-2.886-0.218-4.116+ c-0.022-0.663,0.796-0.774,1.468-0.801c2.49-0.1,2.659,0.322,2.582,2.708C270.338,344.214,270.561,344.837,270.237,345.609z"/>+ <path style="fill:#DBDDE4;" d="M246.271,340.098c-0.799,0-1.601-0.039-2.396,0.012c-0.761,0.048-1.079-0.191-1.055-1.004+ c0.024-0.775,0.21-1.197,1.086-1.174c1.637,0.043,3.276,0.041,4.914,0.013c0.949-0.016,0.949,0.568,0.99,1.264+ c0.048,0.813-0.366,0.923-1.022,0.897C247.95,340.073,247.11,340.097,246.271,340.098z"/>+ <path style="fill:#DBDDE4;" d="M719.491,350.184c-1.118,0-2.237-0.002-3.355,0.001c-0.477,0.001-1.539-0.045-1.573-0.622+ c-0.034-0.566,0.664-1.303,1.188-1.312c2.315-0.04,5.341-0.053,7.656-0.004c0.479,0.01,0.834,0.748,0.812,1.254+ c-0.024,0.555-0.847,0.688-1.373,0.686C721.727,350.18,720.609,350.184,719.491,350.184z"/>+ <path style="fill:#DBDDE4;" d="M261.557,340.097c-0.637,0-1.275-0.015-1.912,0.004c-0.676,0.02-1.239,0.057-1.228-0.945+ c0.011-0.961,0.373-1.259,1.285-1.222c1.313,0.053,2.632,0.064,3.943-0.002c0.884-0.044,1.049,0.329,1.066,1.119+ c0.018,0.871-0.318,1.119-1.123,1.056C262.915,340.055,262.234,340.097,261.557,340.097z"/>+ <path style="fill:#DBDDE4;" d="M275.361,337.948c0.759,0,1.519,0.018,2.277-0.005c0.736-0.023,0.97,0.342,0.974,1.032+ c0.004,0.714-0.173,1.147-0.999,1.13c-1.478-0.029-2.957-0.041-4.434,0.004c-0.881,0.027-0.814-0.519-0.823-1.098+ c-0.01-0.605-0.01-1.131,0.849-1.072C273.92,337.987,274.642,337.948,275.361,337.948z"/>+ <path style="fill:#DBDDE4;" d="M268.502,340.097c-0.559,0-1.12-0.021-1.678,0.006c-0.702,0.034-1.236,0.014-1.208-0.968+ c0.025-0.872,0.3-1.232,1.192-1.197c1.196,0.048,2.397,0.039,3.594,0.002c0.928-0.029,0.992,0.516,1.018,1.236+ c0.028,0.771-0.308,0.973-1.002,0.929C269.782,340.065,269.141,340.097,268.502,340.097z"/>+ <path style="fill:#8FDFA4;" d="M218.441,330.189c0.121-0.632,0.631-0.365,0.968-0.371c0.563-0.009,0.676-0.298,0.639-0.761+ c0.725,0.595,0.593,0.971-0.305,1.092C219.315,330.207,218.875,330.179,218.441,330.189z"/>+ <path style="fill:#8FDFA4;" d="M219.806,328.816c-0.325-0.149-0.49-0.397-0.468-0.76+ C219.698,328.183,219.793,328.475,219.806,328.816z"/>+ <path style="fill:#8FDFA4;" d="M220.045,329.054c-0.08-0.079-0.16-0.159-0.24-0.238+ C219.885,328.896,219.965,328.975,220.045,329.054z"/>+ <path style="fill:#5F5A63;" d="M189.25,340.956c-1.086,0.477-2.455,0.297-3.477-0.51c-1.399-1.105-2.057-2.733-1.773-4.383+ c0.357-2.074,1.46-2.744,3.136-3.047c0.835-0.151,1.499-0.76,1.15,0.082c-1.184,1.451-1.637,4.644-0.585,6.196+ c0.033,0.232,0.164,0.569,0.358,0.455c0.323-0.19,0.029-0.448-0.128-0.651c-0.658-1.685-0.4-3.324,0.241-4.946+ c0.294-0.433,0.68-0.76,1.143-0.999c1.878-0.046,2.599,0.508,3.063,2.365c0.258,1.034,0.117,2.06-0.151,3.061+ C191.722,340.467,191.124,341.412,189.25,340.956z"/>+ <path style="fill:#D4DEE7;" d="M191.274,311.723c-1.572,2.334-10.397,3.356-13.179,1.625+ C182.649,314.086,187.091,313.974,191.274,311.723z"/>+ <path style="fill:#5F5A63;" d="M201.22,319.514c-0.572-0.295-0.797,0.159-1.046,0.502c-1.691,2.326-1.648,4.912-1.081,7.556+ c0.361,1.683,1.245,3.096,2.436,4.319c0.225,0.231,1.284,0.756,1.179,1.082c-0.128,0.398-0.632,0.354-0.921,0.361+ c-2.699,0.062-5.745-2.043-6.568-4.622c-0.76-2.383-0.783-4.724,0.254-7.107c1.201-2.763,3.486-3.766,6.165-4.293+ c0.413-0.081,0.919,0.02,1.025,0.429c0.2,0.769,0.725-0.22,1.253-0.385c1.111-0.348,1.914,0.746,2.82,1.527+ c3.384,2.917,3.265,9.087,0.785,12.012c-1.716,2.025-4.165,2.246-6.147,0.064c-2.678-2.948-2.646-7.49-0.461-10.843+ C201.036,319.929,201.269,319.791,201.22,319.514z M206.625,324.775c0-0.279,0.039-0.565-0.007-0.836+ c-0.185-1.105-1.112-2.127-1.972-2.133c-1.213-0.008-1.699,0.819-2.05,1.828c-0.315,0.905-0.233,1.767,0.1,2.63+ c0.359,0.93,0.902,1.405,2.053,1.32c1.102-0.081,1.525-0.481,1.745-1.51C206.588,325.639,206.66,325.215,206.625,324.775z"/>+ <path style="fill:#D4DEE7;" d="M188.172,334.151c-0.641,1.621-0.899,3.261-0.241,4.946c-0.077,0.066-0.154,0.132-0.23,0.198+ c-1.052-1.553-0.947-3.903,0.237-5.354C188.015,334.01,188.093,334.081,188.172,334.151z"/>+ <path style="fill:#D4DEE7;" d="M187.931,339.097c0.157,0.203,0.451,0.461,0.128,0.651c-0.194,0.114-0.326-0.223-0.358-0.455+ C187.778,339.229,187.854,339.163,187.931,339.097z"/>+ <path style="fill:#D4DEE7;" d="M205.879,325.209c0.056,0.479-0.044,0.983-0.363,1.422c-0.57,0.787-1.537,0.716-1.887-0.174+ c-0.319-0.812-0.504-1.655-0.233-2.552c0.176-0.583,0.394-1.054,1.075-1.097c0.739-0.046,1.044,0.409,1.251,1.044+ C205.862,324.286,205.882,324.712,205.879,325.209z"/>+ </g>+</g>+<g id="Layer_15" style="opacity:0.24;">+ <g>+ <path style="fill:#390C44;" d="M319.607,309.446c1.162,0.295,1.894,0.972,2.382,2.122c0.669,1.579,1.57,3.06,2.423,4.68+ c-1.009,0.706-1.82,1.274-2.99,2.094c0.871,0.093,1.34,0.045,1.719,0.207c0.535,0.229,1.293,0.525,1.423,0.954+ c0.141,0.464-0.179,1.268-0.567,1.649c-0.729,0.715-1.653,1.231-2.496,1.83c1.166,1.723,1.15,2.6-0.523,3.676+ c-2.257,1.452-4.592,2.823-7.023,3.952c-1.86,0.864-3.884,1.469-5.899,1.874c-1.93,0.388-3.942,0.37-6.158,0.55+ c0.206,3.107-1.597,5.566-2.85,8.186c-2.058,4.303-5.412,5.871-10.393,5.262c-0.303-0.037-0.709-0.083-0.915,0.075+ c-1.519,1.161-3.066,0.284-4.593,0.107c-1.804-0.209-3.6-0.485-5.46-0.74c0,5.503,0,10.733,0,15.967+ c2.215,0.267,4.176,0.504,6.406,0.772c0,2.233,0,4.434,0,7.001c2.008-0.318,3.739-0.426,5.373-0.884+ c4.073-1.142,8.1-2.448,12.149-3.678c1.641-0.498,2.463-1.508,2.365-3.298c-0.032-0.58,0.342-1.183,0.51-1.713+ c-0.444-0.341-0.859-0.66-1.566-1.202c0.921-0.592,1.598-1.09,2.33-1.485c3.374-1.824,6.773-3.602,10.14-5.439+ c0.765-0.417,1.48-0.954,2.141-1.525c0.992-0.857,1.967-1.659,3.464-1.032c0.448-2.333,0.808-4.445,1.277-6.532+ c0.168-0.75,0.454-1.562,0.936-2.136c1.693-2.021,3.488-3.956,5.262-5.908c0.264-0.29,0.589-0.624,0.94-0.708+ c0.414-0.099,1.085-0.11,1.288,0.135c0.292,0.354,0.449,1.027,0.322,1.465c-0.141,0.49-0.63,0.903-1.026,1.291+ c-1.542,1.511-3.131,2.975-4.649,4.51c-0.479,0.484-1.022,1.096-1.132,1.72c-0.444,2.514-0.752,5.054-1.055,7.59+ c-0.062,0.524,0.115,1.077,0.193,1.709c1.096-0.028,1.47-0.616,1.571-1.486c0.129-1.111,0.228-2.225,0.383-3.332+ c0.099-0.706,0.066-1.559,0.453-2.075c1.762-2.351,3.641-4.614,5.512-6.881c0.168-0.204,0.577-0.211,0.911-0.322+ c1.1,0.882,0.929,1.792,0.165,2.693c-1.085,1.28-2.207,2.529-3.323,3.783c-1.171,1.316-1.393,4.791-0.5,6.379+ c0.571,1.016,0.97,2.129,1.451,3.208c1.354-0.435,1.444-1.401,1.302-2.368c-0.605-4.124,1.338-7.227,3.956-10.068+ c0.193-0.209,0.515-0.3,1.079-0.614c0.043,0.737,0.225,1.277,0.07,1.691c-0.503,1.345-1.197,2.62-1.689,3.968+ c-0.451,1.233-0.736,2.527-1.241,4.315c1.626-0.735,2.296-1.666,2.777-2.564c0.901-1.681,1.76-3.437,2.26-5.265+ c0.605-2.212,1.909-3.62,3.88-4.565c2.727-1.307,5.454-2.615,8.241-3.951c-0.277-4.052-0.712-7.96-2.809-11.602+ c1.607-0.162,2.327,0.642,2.784,1.697c1.486,3.438,2.975,6.877,4.337,10.365c0.298,0.762,0.077,1.727,0.088,2.599+ c0.007,0.587,0.001,1.175,0.217,1.888c1.627-1.789,3.617-1.616,5.576-1.587c1.835,0.027,3.683,0.161,5.504,0.004+ c2.647-0.228,5.142-1.033,7.489-2.355c4.304-2.426,9.089-2.927,13.899-3.194c3.9-0.216,7.807-0.325,10.83-0.447+ c1.571-1.65,2.764-2.904,3.957-4.157c0.213,0.207,0.427,0.414,0.64,0.621c0.346-1.303-0.494-2.093-1.288-2.883+ c-1.247-1.24-2.54-2.434-3.769-3.691c-0.406-0.416-0.675-0.966-1.248-1.812c3.632,0.363,6.17,3.065,10.002,2.738+ c-1.486-1.808-3.001-2.719-4.685-3.335c-3.148-1.152-6.328-2.216-9.483-3.349c-0.435-0.156-0.841-0.449-1.198-0.753+ c-1.93-1.642-3.587-1.811-5.489-0.314c-0.868,0.684-1.511,1.199-2.745,0.717c-0.556-0.217-1.513,0.322-2.181,0.705+ c-2.727,1.564-3.769,1.937-7.319,2.332c0.312-0.464,0.514-0.874,0.814-1.191c1.975-2.088,2.148-4.521,1.466-7.157+ c-0.315-1.217-0.977-2.597-0.656-3.651c0.282-0.925,1.712-1.505,2.645-2.225c1.168-0.901,1.467-1.855,0.911-3.395+ c-0.343-0.951-0.819-1.855-0.948-3.044c0.371,0.294,0.737,0.596,1.116,0.881c0.362,0.273,0.736,0.528,1.233,0.882+ c1.083-1.927-0.974-2.916-1.024-4.439c-0.051-1.538-0.658-3.058-1.111-4.964c-2.192,2.314-4.244,4.226-5.997,6.381+ c-4.641,5.707-9.158,11.515-13.713,17.293c-1.337,1.696-2.669,3.397-3.935,5.145c-1.622,2.239-1.592,2.26-4.861,1.394+ c0.601-0.989,1.068-1.969,1.723-2.801c2.82-3.58,5.704-7.109,8.544-10.672c0.729-0.915,1.612-1.742,1.403-3.152+ c-0.064-0.432,0.434-1.001,0.773-1.431c3.259-4.141,5.938-8.742,9.844-12.371c0.542-0.504,1.263-1.001,0.413-1.958+ c-0.175-0.197,0.359-1.171,0.726-1.67c0.563-0.765,1.265-1.429,1.963-2.195c0.614,0.139,1.208,0.273,1.895,0.429+ c0.376-1.072,0.724-2.065,1.073-3.059c0.197,0.011,0.394,0.022,0.591,0.033c0.368,1.784,0.736,3.569,1.104,5.353+ c0.136,0.011,0.272,0.022,0.407,0.034c0.759-2.352,1.518-4.704,2.277-7.056c0.154,0.008,0.309,0.017,0.463,0.025+ c0.173,1.27,0.364,2.537,0.515,3.809c0.365,3.087,0.293,6.301,1.16,9.238c1.433,4.855,0.544,9.6,0.237,14.401+ c-0.036,0.557-0.005,1.119-0.005,2.183c0.606-0.645,0.823-0.85,1.01-1.079c1.85-2.271,2.612-2.277,4.788-0.299+ c1.417,1.288,2.9,2.528,4.478,3.609c2.631,1.803,5.334,3.505,8.064,5.156c0.867,0.524,1.89,0.893,2.889,1.071+ c1.059,0.189,1.674-0.635,1.291-1.655c-0.305-0.811-0.759-1.594-1.278-2.292c-1.288-1.732-2.595-3.455-3.998-5.093+ c-1.448-1.691-2.222-3.48-1.516-5.72c0.568-1.803,0.178-3.475-0.809-5.039c-0.47-0.744-0.965-1.472-1.419-2.224+ c-0.495-0.82-1.011-1.635-1.421-2.498c-0.758-1.593-0.695-2.77,0.177-3.261c1.294-0.729,2.099,0.266,2.9,0.999+ c1.531,1.4,2.965,2.91,4.524,4.278c0.68,0.596,1.474,1.39,2.546,0.723c0.803-0.499,1.11-1.85,0.436-3.034+ c-0.984-1.726-2.128-3.373-3.333-4.956c-1.888-2.481-3.909-4.859-5.828-7.317c-2.619-3.356-3.987-7.275-4.838-11.376+ c-0.157-0.756,0.259-1.644,0.469-2.455c0.05-0.192,0.378-0.294,0.514-0.484c1.971-2.753,2.375-3.214-1.256-4.143+ c-2.166-0.554-4.303-1.308-6.504-1.616c-2.152-0.301-4.382-0.33-6.549-0.145c-2.001,0.171-2.289,1.07-1.404,3.003+ c1.427,3.118,2.677,6.339,5.919,8.718c-1.065,0.345-1.628,0.57-2.211,0.709c-2.565,0.609-5.164,1.095-7.697,1.817+ c-2.141,0.61-4.342,1.24-6.272,2.303c-2.323,1.28-4.347,0.829-6.491-0.056c-0.031-1.416,1.041-1.583,1.883-1.963+ c2.238-1.01,4.483-2.004,7.104-3.173c-2.395-1.257-3.133-3.105-3.694-5.155c-0.328-1.198-0.939-2.384-1.684-3.379+ c-0.462-0.617-1.414-0.868-2.323-1.384c-0.681,1.725-1.391,3.155-1.816,4.666c-1.35,4.795-3.461,9.275-5.442,13.819+ c-1.723,3.949-3.195,8.007-4.819,12c-0.559,1.373-0.382,3.265-2.42,3.676c-0.757,1.65-1.71,3.242-2.222,4.964+ c-0.635,2.135-0.899,4.38-1.336,6.576c-0.093,0.467-0.102,1.063-0.394,1.353c-0.52,0.517-1.2,1.121-1.862,1.186+ c-0.879,0.086-1.385-0.737-1.47-1.6c-0.117-1.182-0.128-2.374-0.184-3.562l-0.049,0.048c0.389,0.672,0.735,1.375,1.181,2.006+ c0.282,0.398,0.713,0.691,1.077,1.031c0.174-0.057,0.347-0.115,0.521-0.172c-0.039-0.726,0.071-1.498-0.139-2.17+ c-1.587-5.062-1.571-10.245-1.278-15.455c0.027-0.476,0.01-1,0.202-1.415c2.075-4.488,4.173-8.965,6.301-13.429+ c0.55-1.153,1.249-2.233,1.831-3.372c0.271-0.53,0.423-1.121,0.629-1.684c-0.136-0.085-0.272-0.171-0.408-0.256+ c-0.492,0.564-1.04,1.09-1.465,1.7c-1.234,1.77-2.422,3.573-3.624,5.365c-0.223,0.332-0.407,0.691-0.646,1.01+ c-0.514,0.69-0.98,1.672-2.065,1.021c-1.039-0.623-0.544-1.52-0.157-2.323c0.788-1.637,1.587-3.27,2.418-4.98+ c-1.102-0.761-2.047-0.74-3.173,0.178c-1.965,1.603-4.069,3.035-6.167,4.576c-2.011-0.87-0.91-2.658-0.671-3.892+ c0.273-1.408,1.322-2.666,2.084-4.083c-1.143-0.394-2.33-0.655-3.372-1.195c-1.515-0.786-3.715-1.068-3.25-3.688+ c0.044-0.248-0.433-0.622-0.717-0.886c-0.521-0.485-1.078-0.931-1.385-1.772c0.277,0.109,0.564,0.198,0.831,0.33+ c6.014,2.977,11.99,2.989,17.865-0.336c0.801-0.453,1.488-1.219,2.043-1.976c2.982-4.066,4.979-8.53,5.48-13.62+ c0.262-2.668,0.668-5.317,0.358-8.335c-1.1,1.306-2.008,2.384-3.27,3.882c-0.253-1.238-0.322-1.916-0.54-2.541+ c-0.199-0.571-0.561-1.085-0.95-1.808c-3.321,1.812-6.057,0.943-8.433-1.825c0.714,0.12,1.426,0.25,2.142,0.358+ c2.328,0.352,3.588-0.284,4.656-2.367c0.547-1.067,1.003-2.185,1.611-3.215c0.725-1.228,0.555-2.231-0.402-3.241+ c-1.032-1.089-1.988-2.249-3.101-3.518c1.483-0.809,2.315,0.645,3.667,0.926c-0.24-0.591-0.466-0.987-0.56-1.411+ c-0.31-1.388-0.852-2.798-0.792-4.178c0.113-2.602-0.298-5.081-0.888-7.583c-0.345-1.46-0.659-2.984-0.616-4.468+ c0.082-2.861,0.745-3.522,3.745-4.286c-1.969-1.027-3.517-2.436-5.674-2.597c-0.472-0.035-1.043-0.177-1.409,0.023+ c-1.541,0.841-2.596,0.293-3.779-0.815c-2.92-2.736-6.817-3.342-10.472-4.374c-4.663-1.315-9.483-0.905-14.676-1.038+ c0.464,0.969,0.807,1.719,1.178,2.454c2.593,5.14,5.181,10.28,6.945,15.789c0.432,1.347,0.676,2.468-0.426,3.738+ c-0.669,0.771-0.854,2.036-1.059,3.117c-0.236,1.242-0.254,2.525-0.406,4.229c-0.615-0.997-1.023-1.656-1.585-2.567+ c-0.206,0.532-0.401,0.798-0.399,1.063c0.035,4.074-0.066,8.167,1.189,12.116c0.151,0.476,0.502,1.066,0.917,1.248+ c1.12,0.493,1.226,1.388,1.202,2.373c-0.023,0.959-0.124,1.915-0.172,2.874c-0.21,4.231-0.481,8.46-0.591,12.694+ c-0.063,2.438-1.548,4.313-2.279,6.48c-0.125,0.369-1.084,0.708-1.603,0.64c-1.048-0.138-1.664,0.235-2.182,1.062+ c-0.206,0.329-0.51,0.714-0.849,0.822c-2.35,0.746-4.282,2.26-6.348,3.632c-0.816-1.399-0.85-2.586-0.075-3.724+ c2.412-3.542,3.308-7.579,3.905-11.721c0.821-5.698,1.951-11.413,1.122-17.174c-0.841-5.845-2.044-11.641-3.187-17.439+ c-1.046-5.304-3.585-10.075-5.667-14.995c-2.154-5.09-4.097-10.235-5.506-15.584c-0.471-1.789-0.848-3.529-0.645-5.417+ c0.307-2.855,0.148-5.779,0.649-8.591c1.965-11.027,12.521-19.311,21.878-20.482c9.217-1.154,16.678,2.276,23.487,7.852+ c-0.061,0.176-0.122,0.353-0.183,0.529c-0.873-0.36-1.807-0.619-2.609-1.099c-2.324-1.392-4.583-2.518-7.452-2.88+ c-2.885-0.364-5.717-0.338-8.567-0.32c-1.372,0.009-2.741,0.538-3.822,0.769c0.514,2.686,1.197,5.002,1.338,7.351+ c0.137,2.276-0.281,4.586-0.462,6.972c4.827-0.002,9.55,0.356,14.101,2.042c1.366,0.506,2.915,0.491,4.332,0.888+ c1.674,0.469,1.696,0.634,1.546,2.376c-0.378,4.397-1.047,8.714-3.692,12.737c1.055,0.365,1.863,0.641,2.669,0.924+ c4.39,1.547,8.597,3.471,12.467,6.081c1.099,0.741,2.46,1.273,1.861,3.124c-0.373,1.153,0.272,2.721-1.856,3.061+ c1.16,1.347,2.061,2.457,1.328,4.026c-0.139,0.298,0.015,0.8,0.162,1.155c1.038,2.503,1.975,5.123,4.439,6.619+ c0.823,0.499,1.153,1.123,1.396,1.926c0.464,1.529,0.902,3.067,1.405,4.583c0.235,0.707,0.595,1.373,1.155,1.977+ c0.694-1.884-0.01-3.558-0.675-5.181c-0.686-1.673-1.566-3.266-2.365-4.902c1.068-0.7,1.76-0.131,2.242,0.441+ c1.991,2.362,3.435,4.988,3.673,8.166c0.085,1.132-0.167,2.059-1.129,2.681c-1.129,0.731-1.681-0.468-2.61-0.915+ c-0.488,0.423-0.933,1.065-1.523,1.251c-0.599,0.189-1.339-0.07-2.233-0.153c-0.116,2.093-0.369,4.231-0.296,6.359+ c0.036,1.056,0.803,2.067,1.004,3.142c0.337,1.802,0.485,3.64,0.717,5.492c0.712,0.26,1.442,0.525,2.237,0.815+ c1.167-0.41,1.494-1.141,1.283-2.518c-0.349-2.277-0.395-4.606-0.454-6.917c-0.015-0.568,0.331-1.199,0.652-1.713+ c0.846-1.352,1.811-2.629,2.643-3.988c0.396-0.648,0.598-1.415,0.946-2.273c0.454,0,1.065,0,1.689,0+ c0.088-0.108,0.235-0.211,0.276-0.347c2.29-7.661,4.641-15.322,5.615-23.285c1.704-13.93,0.677-27.618-4.158-40.897+ c-0.846-2.323-1.709-4.642-2.664-6.922c-0.396-0.946-0.958-1.862-1.611-2.654c-6.418-7.793-13.745-14.482-23.018-18.784+ c-1.159-0.538-2.284-1.151-3.406-1.763c-1.162-0.633-2.321-1.107-2.494-2.839c-0.097-0.971-1.143-1.876-1.832-2.755+ c-1.972-2.516-3.959-5.021-5.979-7.499c-2.67-3.274-5.972-5.784-9.713-7.693c-4.334-2.211-8.735-4.285-13.581-5.735+ c0.535-0.118,1.074-0.351,1.605-0.336c5.111,0.139,10.252,0.08,15.126,2.011c4.591,0.022,8.499,2.389,12.692,3.753+ c4.237,1.378,7.738,4.11,11.315,6.664c0.966,0.69,2.011,1.291,2.885,2.081c1.116,1.008,2.279,2.045,3.1,3.284+ c2.729,4.117,5.678,8.089,7.713,12.663c0.585,1.315,2.285,2.156,3.525,3.152c3.109,2.497,6.469,4.732,9.308,7.502+ c2.463,2.405,4.309,5.364,5.866,8.561c2.001,4.109,3.724,8.314,5.175,12.608c1.031,3.05,1.406,6.327,2,9.517+ c0.289,1.553,0.148,3.236,0.688,4.677c0.446,1.188,1.448,2.317,2.482,3.108c4.385,3.35,8.838,6.626,13.824,9.056+ c1.226,0.598,2.046,1.464,2.67,2.623c0.998,1.856,0.767,3.214-1.164,4.151c-1.776,0.861-3.709,1.685-5.637,1.878+ c-3.077,0.308-6.207,0.09-9.315,0.07c-0.683-0.004-1.366-0.112-2.173-0.184c1.61,3.335,0.903,6.487,0.065,9.748+ c3.072,0.642,5.135,2.685,7.355,4.481c4.293,3.473,8.396,7.14,12.287,11.078c3.083,3.12,7.062,3.83,11.321,2.79+ c0.309-0.075,0.594-0.243,0.9-0.329c1.865-0.524,2.925-0.048,3.577,1.757c0.322,0.89,0.484,1.853,0.607,2.798+ c0.491,3.754,1.424,7.362,3.134,10.768c1.661,3.309,4.164,5.417,7.904,5.863c1.746,0.208,3.5,0.38,5.255,0.473+ c2.873,0.151,4.741-1.648,5.247-4.522c0.485-2.754,0.92-5.52,1.25-8.296c0.288-2.425,1.067-4.66,2.153-6.818+ c1.434-2.849,2.745-5.766,4.302-8.546c2.024-3.615,4.787-6.535,8.498-8.557c4.141-2.257,8.17-4.718,12.281-7.031+ c1.107-0.623,2.308-1.108,3.512-1.522c1.935-0.665,3.577-1.752,5.04-3.149c1.723-1.646,1.956-3.61,0.597-5.597+ c-1.736-2.54-4.392-3.764-7.215-4.369c-2.395-0.513-4.919-0.624-7.38-0.576c-3.739,0.073-7.473,0.437-11.696,0.709+ c1.054-0.444,1.715-0.828,2.428-0.999c1.23-0.295,2.491-0.464,3.74-0.675c1.086-0.183,2.162-0.587,3.215,0.247+ c0.313,0.248,0.922,0.277,1.354,0.193c3.605-0.701,7.292-0.468,10.713,0.386c2.82,0.704,5.764,1.803,8.1,3.875+ c0.618,0.548,1.464,0.834,2.179,1.283c0.463,0.291,0.933,0.607,1.306,1c1.729,1.823,3.846,3.281,4.578,5.97+ c0.424,1.558,2.076,2.175,3.574,2.535c3.494,0.838,7.006,1.604,10.523,2.338c1.327,0.277,2.699,0.334,4.032,0.589+ c1.011,0.193,2.063,0.397,2.972,0.848c1.59,0.788,1.847,1.919,0.779,3.306c-0.622,0.808-1.504,1.412-2.227,2.148+ c-0.999,1.019-2.165,1.95-2.897,3.141c-2.169,3.525-1.317,7.285,2.322,9.245c2.355,1.269,5.008,2.053,7.603,2.79+ c2.76,0.784,5.643,1.134,8.41,1.899c2.456,0.679,4.819,1.686,7.236,2.512c1.226,0.419,1.904,1.322,2.56,2.376+ c0.955,1.536,0.842,2.933-0.408,4.111c-3.528,3.324-5.505,7.784-8.557,11.458c-6.582,7.926-9.71,17.339-11.457,27.305+ c-0.94,5.363-1.734,10.773-1.429,16.216c0.125,2.243-0.312,4.005-1.615,5.723c-0.672,0.886-1.184,1.899-1.723,2.88+ c-0.926,1.684-1.84,3.354-1.538,5.425c0.097,0.662-0.238,1.388-0.422,2.315c-1.112-0.128-2.121-0.239-3.128-0.363+ c-1.346-0.165-2.696-0.308-4.035-0.522c-0.941-0.151-1.898-0.31-2.79-0.629c-3.441-1.23-6.767-3.015-10.306-3.676+ c-4.672-0.872-8.636-3.137-12.823-5.032c-3.803-1.721-7.687-3.201-11.991-2.904c-0.237,0.016-0.508,0.035-0.713-0.059+ c-2.763-1.264-5.66-0.682-8.455-0.397c-2.756,0.281-5.457,1.114-8.179,1.719c-0.887,0.197-1.693,0.851-2.692,0.092+ c-0.298-0.226-1.049,0.109-1.581,0.233c-2.792,0.653-5.089,2.202-7.401,3.839c-2.626,1.859-5.185,3.727-7.181,6.296+ c-0.457,0.588-1.152,1.116-1.848,1.367c-1.739,0.628-2.723,1.888-3.347,3.512c-1.147,2.984-2.257,5.983-3.398,8.97+ c-0.256,0.67-0.487,1.374-0.877,1.965c-2.888,4.375-2.806,9.359-2.989,14.29c-0.032,0.867-0.152,1.766,0.019,2.599+ c0.558,2.72,0.578,5.396,0.122,8.149c-0.163,0.985,0.667,2.103,0.86,3.192c0.112,0.631,0.041,1.457-0.302,1.946+ c-0.209,0.298-1.152,0.299-1.662,0.128c-1.355-0.457-2.703-0.277-4.077-0.333c-7.682-0.312-13.498-3.854-17.389-10.515+ c-0.155-0.265-0.389-0.484-0.426-0.528c-1.635,0.468-3.087,0.925-4.56,1.295c-1.621,0.407-2.195,1.06-2.217,2.866+ c-0.025,2.079,0.088,4.163-0.009,6.238c-0.08,1.71,0.714,2.706,1.969,3.786c3.532,3.041,7.626,4.584,12.153,5.205+ c3.323,0.456,6.637,1.062,9.976,1.298c2.287,0.161,4.615-0.158,6.918-0.343c1.737-0.14,3.463-0.408,5.256-0.626+ c-0.693-1.392-1.513-2.732-2.049-4.177c-1.157-3.119-1.582-6.365-1.073-9.676c0.603-3.926,2.831-6.103,6.202-6.091+ c0.703,0.003,1.448,0.117,2.101,0.368c2.855,1.099,5.659,2.417,7.735,4.69c4.729,5.175,10.815,7.529,17.459,8.776+ c13.328,2.503,26.578,1.976,39.732-1.237c6.209-1.517,12.402-3.096,18.604-4.644c0.296-0.074,0.599-0.12,0.92-0.184+ c3.109,4.235,6.585,8.047,10.507,11.422c1.444,1.243,3.043,2.348,4.697,3.298c4.593,2.637,9.456,4.665,14.608,5.932+ c1.45,0.356,2.973,0.698,4.429-0.355c-0.09-1.621-0.955-2.849-1.913-4.02c-0.607-0.742-1.27-1.439-1.915-2.15+ c-4.226-4.661-6.097-10.459-7.542-16.357c-2.51-10.245-3.399-20.674-2.316-31.191c0.392-3.805,1.181-7.582,3.149-10.988+ c2.038-3.528,3.859-7.193,6.062-10.613c4.312-6.694,9.985-12.055,16.846-16.105c1.711-1.01,3.626-1.666,5.385-2.601+ c4.943-2.627,10.322-3.685,15.777-4.444c1.323-0.184,2.698-0.129,4.037-0.028c2.785,0.21,5.557,0.617,8.345,0.772+ c4.226,0.235,8.464,0.485,12.691,0.401c1.938-0.039,3.935-0.662,5.768-1.373c2.013-0.78,2.281-1.757,1.649-3.837+ c-1.304-4.295-4.478-6.689-8.481-8.118c-1.941-0.693-4.01-1.022-5.981-1.642c-0.631-0.198-1.228-0.721-1.679-1.237+ c-2.529-2.893-6.063-4.163-9.447-5.439c-1.624-0.612-3.834-0.166-5.637,0.323c-2.017,0.547-4.407,0.617-5.829,2.452+ c-1.756,2.266-3.748,3.384-6.78,3.347c-2.229-0.027-4.463,1.125-6.713,1.677c-1.614,0.396-3.26,0.659-4.888,1+ c-0.536,0.112-1.085,0.223-1.587,0.432c-4.719,1.969-9.428,3.961-14.145,5.937c-0.12,0.05-0.286-0.007-0.643-0.025+ c0.444-0.646,0.78-1.244,1.217-1.756c12.191-14.251,27.461-23.236,45.916-26.691c3.446-0.645,6.987-0.791,10.423-1.475+ c3.116-0.62,6.187-1.547,9.194-2.581c0.944-0.325,1.924-1.297,2.342-2.219c0.641-1.416,0.958-3.028,1.146-4.588+ c0.287-2.382,0.957-3.369,3.319-3.598c2.934-0.283,5.578,0.082,7.744,2.663c1.763,2.101,3.357,4.5,5.959,5.814+ c0.374,0.189,0.626,0.729,0.812,1.16c0.76,1.756,1.541,3.507,2.18,5.308c0.478,1.347,0.843,2.673,1.735,3.884+ c1.281,1.741,1.207,3.882,0.957,6.118c1.775-0.248,3.026,0.525,4.394,1.416c2.114,1.377,4.5,2.337,6.772,3.472+ c0.211,0.105,0.569,0.152,0.62,0.304c0.517,1.569,2.091,1.415,3.163,2.079c1.4,0.867,2.602,2.084,3.798,3.244+ c1.659,1.609,3.161,3.383,4.86,4.947c3.463,3.188,5.944,6.966,7.689,11.344c0.755,1.894,2.125,3.566,3.35,5.242+ c1.053,1.441,1.526,2.93,1.279,4.71c-0.093,0.669,0.017,1.429,0.25,2.069c1.037,2.849,2.148,5.671,3.247,8.496+ c0.08,0.206,0.284,0.363,0.29,0.372c2.189-2.919,4.333-5.89,6.608-8.758c0.934-1.178,2.123-2.161,3.244-3.18+ c0.699-0.635,0.826-1.269,0.43-2.124c-1.935-4.178-3.438-8.564-6.167-12.355c-3.119-4.331-6.412-8.435-10.712-11.743+ c-3.921-3.017-7.591-6.384-11.192-9.788c-4.325-4.088-7.046-9.245-9.172-14.748c-0.676-1.749-0.262-3.423,0.003-5.646+ c0.453,0.741,0.718,1.062,0.864,1.43c2.601,6.531,6.79,11.902,12.173,16.329c5.936,4.882,11.742,9.905,16.917,15.589+ c3,3.295,4.84,7.332,6.04,11.599c0.93,3.305,1.629,6.677,2.37,10.033c0.862,3.904,0.226,7.818-0.192,11.695+ c-0.306,2.847-1.06,5.649-1.657,8.461c-0.431,2.027-1.127,3.818-2.59,5.504c-1.806,2.082-3.013,4.694-4.414,7.114+ c-0.741,1.281-4.004,3.906-5.403,4.32c-1.282,0.38-2.57,0.799-3.771,1.376c-2.458,1.182-4.875,2.259-7.737,2.138+ c-1.232-0.052-1.823-0.291-1.883-1.491c-0.543-10.835-3.857-21.025-7.271-31.19c-0.355-1.058-0.826-2.078-1.269-3.104+ c-0.115-0.266-0.329-0.49-0.724-1.061c-1.956,5.01-3.593,9.824-5.699,14.422c-2.122,4.633-4.709,9.054-7.092,13.567+ c-0.197-0.036-0.393-0.072-0.59-0.108c-0.071-0.848-0.224-1.698-0.199-2.542c0.189-6.266-1.241-12.211-3.507-17.993+ c-0.2-0.51-0.503-0.98-0.658-1.277c-0.395,7.8-0.796,15.741-1.201,23.745c0.544,0.278,1.252,0.59,1.909,0.987+ c1.43,0.863,2.811,1.809,4.254,2.648c1.659,0.964,3.311,1.845,5.411,1.23c0.596-0.174,1.458,0.407,2.148,0.743+ c1.139,0.554,2.171,1.115,3.59,0.889c1.911-0.304,2.913,0.702,2.614,2.681c-0.429,2.838-1.139,5.634-1.772,8.438+ c-0.076,0.338-0.364,0.682-0.646,0.91c-1.729,1.399-3.583,2.661-5.21,4.168c-2.571,2.382-5.034,4.885-7.472,7.405+ c-2.299,2.376-5.126,4.044-7.749,5.986c-1.14,0.844-2.357,1.53-2.91,3.039c-0.266,0.724-1.166,1.281-1.88,1.765+ c-3.143,2.129-6.658,3.45-10.259,4.563c-0.763,0.236-1.684,0.263-2.268,0.722c-2.089,1.641-4.586,1.707-7.013,2.023+ c-2.122,0.276-3.963,1.022-5.593,2.444c-1.932,1.685-3.949,3.268-5.248,5.543c-0.147,0.258-0.238,0.548-0.484,1.125+ c2.941-0.356,5.666-0.473,8.289-1.05c4.757-1.046,9.457-2.351,14.17-3.588c0.76-0.2,1.536-0.501,2.186-0.933+ c7.342-4.878,14.453-10.052,20.426-16.609c0.844-0.927,1.454-2.066,2.181-3.101c0.734-1.045,1.369-2.186,2.238-3.106+ c4.131-4.374,8.924-7.869,14.871-9.133c3.227-0.686,6.648-0.464,9.982-0.637c0.218-0.011,0.525,0.033,0.651,0.175+ c1.876,2.12,4.138,1.101,6.009,0.378c9.05-3.497,16.933-8.699,22.524-16.822c1.275-1.853,1.966-4.105,2.946-6.164+ c2.68-5.632,3.83-11.679,4.643-17.784c0.238-1.783-0.161-3.661-0.347-5.487c-0.468-4.598-0.379-9.233-1.767-13.756+ c-2.355-7.678-5.824-14.664-11.168-20.724c-5.817-6.597-11.552-13.268-17.21-20.001c-3.466-4.125-4.855-9.171-4.16-14.348+ c0.724-5.394,4.331-9.018,9.528-10.709c2.801-0.912,5.743-1.39,8.622-2.059c6.377-1.482,12.816-2.663,19.073-4.7+ c6.369-2.074,11.579-5.569,15.432-11.031c0.628-0.891,1.203-1.955,1.372-3.008c0.455-2.834,0.813-5.699,0.958-8.564+ c0.2-3.945-1.087-7.575-2.974-10.974c-1.421-2.558-3.34-4.672-6.056-5.964c-1.802-0.857-3.506-1.958-5.364-2.657+ c-3.625-1.362-6.95-3.239-10.105-5.435c-4.329-3.013-6.075-7.271-5.697-12.435c0.171-2.335,1.696-3.789,3.94-5.442+ c0,1.215,0.096,1.891-0.022,2.528c-0.189,1.018-0.561,2-0.783,3.013c-0.87,3.981-0.083,7.531,3.134,10.195+ c1.771,1.466,3.73,2.748,5.737,3.878c2.503,1.41,5.13,2.604,7.732,3.832c0.693,0.327,1.505,0.394,2.235,0.657+ c0.72,0.259,1.561,0.454,2.081,0.955c3.298,3.182,6.263,6.688,8.279,10.804c1.106,2.257,1.567,4.841,2.2,7.308+ c0.138,0.536-0.232,1.203-0.436,2.116c3.095,0.872,6.279,0.223,9.563,0.429c0.91,3.809-0.116,7.284-1.287,10.686+ c-2.914,0.284-5.737,0.511-8.541,0.879c-0.497,0.065-1.09,0.63-1.344,1.118c-2.797,5.367-7.194,8.692-12.704,11.109+ c-5.721,2.51-11.345,5.221-17.48,6.503c-3.74,0.782-7.586,1.043-11.367,1.647c-4.842,0.774-8.557,3.35-11.158,7.471+ c-0.771,1.221-1.135,2.6-0.618,4.128c0.301,0.89,0.253,1.894,0.419,2.836c0.888,5.017,4.161,8.526,7.587,11.934+ c0.168,0.167,0.378,0.389,0.583,0.405c2.086,0.166,3.004,1.882,4.246,3.162c1.043,1.074,1.899,2.307,3.503,2.762+ c0.686,0.195,1.225,0.99,1.777,1.565c1.768,1.841,3.511,3.705,5.102,5.39c1.359-0.489,2.507-1.135,3.72-1.295+ c3.718-0.491,7.461-0.8,11.194-1.171c1.345-0.134,2.697-0.207,4.039-0.371c1.388-0.17,2.371,0.236,3.285,1.403+ c4.418,5.638,6.808,12.099,7.821,19.091c0.353,2.437,0.234,4.944,0.307,7.42c0.033,1.115,0.006,2.232,0.006,3.494+ c7.48,3.314,12.529,8.534,12.506,17.422c-0.331-0.661-0.7-1.307-0.987-1.987c-2.065-4.887-5.731-7.964-10.722-9.574+ c-1.404-0.453-2.764-0.525-4.235-0.176c-1.542,0.366-3.182,0.304-4.734,0.64c-1.528,0.331-2.989,0.962-4.501,1.387+ c-0.468,0.132-1.005,0.021-1.768,0.021c0.059,0.637-0.058,1.387,0.213,1.951c1.077,2.234,0.92,4.569,0.466,6.828+ c-1.148,5.712-2.388,11.409-3.775,17.067c-1.139,4.647-3.358,8.804-6.542,12.403c-0.77,0.87-1.204,1.782-1.337,2.971+ c-0.099,0.881-0.484,1.893-1.08,2.529c-4.412,4.713-9.366,8.681-15.492,11.028c-2.832,1.085-5.55,2.469-8.385,3.543+ c-1.625,0.616-3.371,0.93-5.082,1.287c-0.929,0.194-1.552,0.416-1.793,1.536c-0.364,1.693-1.003,3.329-1.562,4.977+ c-0.152,0.447-0.363,0.915-0.672,1.262c-3.232,3.636-6.396,7.339-9.782,10.826c-1.422,1.465-3.264,2.569-5.042,3.624+ c-1.064,0.632-2.373,0.851-3.572,1.258c-0.565,0.192-1.128,0.39-1.693,0.585c0.027,0.159,0.054,0.318,0.081,0.476+ c1.807,0,3.615,0.036,5.421-0.006c7.992-0.186,15.982-0.544,23.974-0.555c8.555-0.012,17.11,0.292,25.664,0.466+ c1.168,0.024,2.377-0.237,3.332,0.871c0.253,0.293,1.069,0.268,1.567,0.145c1.079-0.265,2.12-0.686,3.337-1.098+ c-0.765-2.061,0.371-4.191-0.342-6.305c-0.105-0.312,0.544-1.177,0.989-1.313c0.812-0.248,1.731-0.16,2.607-0.178+ c1.011-0.021,2.023-0.005,2.889-0.005c0-5.592,0-10.926,0-16.209c-0.952-0.339-1.664-0.592-2.957-1.053+ c1.283-0.39,1.998-0.643,2.73-0.823c1.314-0.323,2.644-0.579,3.955-0.91c0.727-0.183,1.421-0.086,1.473,0.688+ c0.033,0.49-0.392,1.271-0.821,1.472c-0.679,0.317-1.535,0.257-2.5,0.38c0.765,5.478-0.3,11.023,1.438,16.494+ c1.625,0,3.134-0.007,4.643,0.002c1.35,0.008,1.956,0.469,1.926,1.562c-0.052,1.878-0.17,3.753-0.276,5.944+ c3.126,1.432,6.715,0.418,10.226,1.479c0.093,0.898,0.308,1.902,0.283,2.9c-0.142,5.756-0.42,11.51-0.501,17.267+ c-0.1,7.118-0.098,14.238-0.027,21.356c0.014,1.399,0.54,2.792,0.815,4.121c1.915,1.395,4.244-0.318,6.131,0.804+ c-0.014,0.183-0.028,0.365-0.042,0.548c-3.706-0.189-7.412-0.388-11.119-0.562c-1.597-0.075-3.196-0.137-4.794-0.141+ c-3.68-0.008-7.36,0.036-11.04,0.033c-2.267-0.002-4.501,0.694-6.81,0.124c-1.022-0.252-1.927,0.269-2.931,0.935+ c-6.55,4.348-8.943,10.817-9.622,18.181c-0.212,2.296-0.005,4.631,0.002,6.948c0.05,18.479,0.094,36.959,0.155,55.438+ c0.003,1.035,0.04,2.09,0.238,3.1c0.33,1.686,1.025,2.307,2.78,2.388c2.875,0.133,5.756,0.177,8.635,0.197+ c5.36,0.038,10.72,0.041,16.08,0.043c3.211,0.001,4.348-1.018,4.384-4.278c0.095-8.719,0.113-17.438,0.129-26.158+ c0.019-10.88-0.03-21.76,0.02-32.639c0.026-5.709-0.661-11.328-1.814-16.901c-0.879-4.25-0.79-4.425,3.575-4.692+ c2.075-0.127,4.163-0.232,6.235-0.14c2.946,0.129,5.743-0.452,8.414-1.567c1.41-0.589,2.414-0.257,3.501,0.62+ c2.313,1.866,3.849,4.212,4.755,7.03c1.45,4.511,2.499,9.057,2.492,13.857c-0.022,15.119,0.084,30.239,0.15,45.358+ c0.007,1.519,0.102,3.038,0.124,4.557c0.023,1.56,0.084,3.047,1.904,3.73c0.354,0.133,0.714,0.724,0.756,1.137+ c0.324,3.137,2.791,4.555,4.976,6.326c0.002,1.103-0.745,1.464-1.692,1.443c-1.034-0.023-2.063-0.219-3.098-0.302+ c-0.934-0.075-1.872-0.099-2.75-0.143c-0.375,1.494-0.59,2.828-1.052,4.07c-0.585,1.576-1.793,2.39-3.549,2.279+ c-0.629-0.04-1.325-0.142-1.888,0.064c-2.646,0.97-5.364,0.708-8.075,0.608c-2.154-0.079-4.305-0.281-6.459-0.294+ c-11.999-0.073-23.999-0.091-35.998-0.173c-1.338-0.009-2.675-0.307-4.012-0.481c-0.223-0.029-0.489-0.217-0.651-0.144+ c-3.51,1.58-7.206,0.641-10.799,0.709c-9.195,0.174-18.397,0.035-27.594,0.134c-2.547,0.027-5.068,0.395-7.578-0.429+ c-1.786-0.586-2.048-0.719-2.159-2.557c-0.07-1.171-0.013-2.35-0.013-3.637c-57.814,0-115.274,0-172.813,0+ c-0.842,1.449-1.4,2.878-1.219,4.657c0.18,1.764-0.419,2.241-2.257,2.275c-2.399,0.044-4.799,0.041-7.198,0.001+ c-0.531-0.009-1.315-0.089-1.541-0.429c-0.898-1.354-2.204-1.068-3.45-1.091c-6.398-0.121-12.796-0.234-19.194-0.349+ c-0.32-0.006-0.64-0.009-0.96-0.021c-0.735-0.027-1.6-0.042-1.564-1.03c0.037-1.002,0.953-0.9,1.652-0.921+ c4.236-0.125,8.472-0.236,12.709-0.343c0.86-0.022,1.721-0.003,2.75-0.003c0.519-18.727,1.031-37.222,1.548-55.879+ c-7.938,0-15.584,0-23.51,0c-0.215-1.114-0.433-2.243-0.714-3.696c0.887-0.043,1.65-0.207,2.37-0.095+ c7.339,1.141,14.682,0.318,22.023,0.1c1.038-0.031,2.081,0.06,3.117,0.009c1.667-0.082,3.328-0.267,4.995-0.352+ c1.514-0.077,3.031-0.084,4.547-0.108c1.832-0.03,3.671,0.04,5.491-0.117c0.603-0.052,1.247-0.582,1.712-1.052+ c0.7-0.708,1.381-1.45,2.443-1.208c0.634,0.145,1.412,0.493,1.713,0.996c0.235,0.392-0.011,1.267-0.325,1.741+ c-0.372,0.561-1.046,0.923-1.73,1.487c-0.471,15.2-2.618,30.42-2.869,45.913c33.439,0,66.743,0,100.298,0+ c-0.323-0.723-0.546-1.287-0.819-1.824c-3.544-6.97-8.811-12.524-14.565-17.67c-1.967-1.76-4.06-3.383-5.972-5.2+ c-4.287-4.074-9.618-6.103-15.199-7.15c-10.313-1.935-19.986-5.578-29.451-9.928c-4.008-1.842-7.125-4.807-10.085-7.993+ c-4.341-4.672-7.617-10.069-10.697-15.591c-1.907-3.42-3.623-6.947-5.423-10.426c-0.147-0.284-0.429-0.58-0.41-0.854+ c0.187-2.727-0.714-5.246-1.268-7.915c0.301,0.483,0.633,0.949,0.897,1.451c2.126,4.049,4.524,7.913,7.574,11.346+ c0.424,0.478,0.901,0.946,1.186,1.504c1.431,2.803,3.938,4.224,6.612,5.618c5.415,2.825,11.17,4.214,17.195,4.799+ c6.285,0.61,12.56,1.322,18.835,2.026c1.267,0.142,2.542,0.35,3.768,0.692c4.923,1.375,9.836,2.788,14.731,4.259+ c0.811,0.244,1.596,0.751,2.254,1.303c3.922,3.288,7.895,6.531,10.992,10.669c3.76,5.025,8.629,8.729,14.025,11.815+ c1.457,0.833,2.925,1.662,4.299,2.621c0.599,0.419,1.094,1.102,1.421,1.77c0.592,1.211-1.018,1.916-0.904,2.917+ c0.141,1.236-0.189,1.963-1.651,2.267c2.188,2.651,4.147,5.063,6.161,7.428c0.338,0.397,0.889,0.641,1.381,0.871+ c1.23,0.574,2.479,1.11,3.729,1.642c1.393,0.593,2.79,0.902,4.361,0.985c2.939,0.154,5.848,0.828,8.778,1.224+ c1.899,0.257,3.822,0.618,5.718,0.538c1.549-0.065,3.055-0.879,4.615-1.052c1.313-0.146,2.226-0.718,3.087-1.597+ c1.272-1.301,1.789-2.727,1.63-4.637c-0.263-3.156-0.967-6.145-2.266-9.011c-0.54-1.191-0.167-2.503-0.786-3.769+ c-0.958-1.957-1.446-4.144-2.126-6.214c-1.339,0.854-1.334,0.853-1.052,2.186c0.743,3.519,1.424,7.052,2.24,10.554+ c0.545,2.338,0.256,4.61-0.186,6.894c-0.312,1.615-1.226,2.672-2.817,3.274c-2.672,1.011-5.363,1.59-8.211,1.003+ c-3.284-0.676-6.584-1.288-9.838-2.089c-1.188-0.292-2.263-1.044-3.307-1.547c0.132-1.418,0.813-1.266,1.573-1.03+ c3.01,0.933,6.099,1.253,9.239,1.167c0.48-0.013,0.96-0.021,1.439-0.05c3.483-0.214,5.607-2.477,5.299-5.973+ c-0.259-2.941-0.82-5.856-1.26-8.781c-0.166-1.107-0.401-2.204-0.542-3.313c-0.19-1.496-0.974-2.377-2.373-2.998+ c-3.589-1.593-4.689-1.465-7.716,1.229c-0.955,0.85-1.965,1.64-2.952,2.454c-2.185,1.803-3.96,3.942-5.321,6.43+ c-0.365,0.668-0.81,1.292-1.36,2.159c-1.373-1.473-0.998-2.835-0.373-3.952c0.77-1.377,1.753-2.692,2.872-3.806+ c2.661-2.65,5.466-5.155,8.188-7.744c0.57-0.543,1.034-1.197,1.713-1.996c-4.704-2.511-8.102-6.126-9.741-11.204+ c-0.369-1.144-0.532-2.313,0.279-3.838c0.657,1.482,1.243,2.642,1.693,3.852c1.02,2.744,3.038,4.45,5.65,5.524+ c2.143,0.881,4.307,1.716,6.493,2.482c0.97,0.339,2.008,0.559,3.032,0.654c2.707,0.252,5.423,0.406,8.135,0.6+ c4.411,0.315,8.37-1.261,12.101-3.274c1.619-0.874,3.038-2.415,4.102-3.959c2.264-3.287,4.124-6.768,4.96-10.807+ c0.708-3.418,1.989-6.726,3.135-10.042c1.044-3.023,3.27-4.838,6.328-5.696c1.053-0.295,2.079-0.686,3.07-1.27+ c-2.481-1.125-4.691,0.058-7.187,1.01c-0.085-4.072-0.231-7.93-0.226-11.788c0.004-3.518,0.263-7.037,0.222-10.553+ c-0.016-1.391-0.54-2.776-0.854-4.265c-2.749,1.101-5.276,2.286-7.911,3.135c-6.386,2.057-12.727,4.414-19.266,5.798+ c-7.171,1.518-14.511,2.3-21.913,2.176c-16.905-0.283-32.623-4.929-47.495-12.712c-3.631-1.9-6.988-4.229-9.272-7.788+ c-0.162-0.252-0.446-0.425-0.734-0.69c-3.074,1.077-5.96,2.49-8.398,4.557c-2.552,2.163-5.103,4.427-7.181,7.027+ c-4.39,5.492-4.587,11.788-2.34,18.17c0.512,1.453,2.079,2.535,3.047,3.655c-1.446-0.187-5.025-1.793-6.907-3.18+ c-2.599-1.914-4.873-4.126-6.561-6.916c-3.163-5.229-5.929-10.621-6.859-16.751c-0.831-5.474-0.331-10.851,1.469-16.087+ c0.306-0.891,0.778-1.76,1.334-2.523c2.976-4.082,6.221-7.929,10.12-11.18c0.423-0.353,0.822-0.736,1.035-0.928+ c-0.579-3.508-1.122-6.799-1.704-10.331c-0.651,0.174-1.511,0.296-2.279,0.63c-2.918,1.267-5.754,2.738-8.719,3.878+ c-4.042,1.554-7.054,4.615-10.596,6.891c-1.193,0.767-2.213,1.718-2.771,3.189c-0.376,0.99-1.42,1.704-2.039,2.627+ c-1.328,1.981-2.636,3.982-3.828,6.046c-0.645,1.117-1.419,1.399-2.57,1.008c-1.687-0.573-3.346-0.644-5.148-0.303+ c-1.243,0.235-2.63-0.289-4.104-0.494c-0.074,1.881-0.196,3.9-0.22,5.92c-0.025,2.078-0.001,4.16,0.092,6.236+ c0.055,1.237-0.581,1.769-1.653,1.923c-0.543,0.078-1.11-0.014-1.666-0.017c-2.528-0.013-5.109,0.29-7.57-0.122+ c-2.251-0.377-4.431-0.286-6.656-0.257c-0.944,0.012-1.564,0.351-2.308,0.936c-1.022,0.802-2.309,1.595-3.553,1.727+ c-3.809,0.403-7.657,0.732-11.481,0.65c-9.753-0.208-19.501-0.673-29.252-1c-6.057-0.203-12.116-0.341-18.595-0.52+ c0.75,0.554,1.23,0.895,1.694,1.256c1.409,1.097,2.119,2.605,2.334,4.321c0.804,6.42,1.643,12.839,2.301,19.275+ c0.308,3.015,0.228,6.069,0.331,9.106c0.013,0.397-0.042,0.842,0.116,1.18c1.529,3.273,1.121,6.903,1.939,10.304+ c0.277,1.153,0.469,2.328,0.779,3.471c0.343,1.267,0.147,1.968-1.029,2.58c-0.701,0.365-1.484,0.586-2.245,0.82+ c-1.3,0.399-2.587,0.764-3.551,1.856c-0.344,0.39-0.953,0.75-1.453,0.768c-3.709,0.13-7.038,1.915-10.753,2.449+ c-0.125-0.309-0.294-0.579-0.344-0.87c-1.58-9.136-3.417-18.24-4.629-27.425c-0.866-6.56-0.883-13.232-1.301-19.852+ c-0.069-1.089,0.301-1.963,0.838-2.902c1.284-2.247,2.691-4.338,4.846-5.865c0.382-0.271,0.723-0.893,0.727-1.357+ c0.051-5.104,0.032-10.208,0.032-15.411c-3.987-1.584-7.796-2.465-11.874-1.97c-1.078,0.131-2.188-0.014-3.282,0.012+ c-0.71,0.017-1.419,0.107-2.127,0.178c-2.063,0.206-4.122,0.472-6.189,0.605c-1.009,0.065-1.994,0.028-2.917-0.754+ c-0.488-0.414-1.524-0.397-2.258-0.266c-2.174,0.387-4.291,1.372-6.542,0.261c-0.282-0.139-0.761,0.173-1.153,0.198+ c-1.988,0.127-3.978,0.229-5.967,0.338c-0.706,0.039-1.48-0.101-2.103,0.145c-1.324,0.523-2.115,0.024-2.824-1.022+ c-1.161-1.71-2.365-3.391-3.638-5.207c-0.722,0.473-1.305,0.857-1.888,1.238c-1.739,1.136-3.45,2.319-5.228,3.389+ c-1.237,0.744-2.438,1.069-4.057,0.549c-1.153-0.37-2.952,1.045-3.989,0.588c-2.623-1.156-5.335,0.378-7.843-0.721+ c-6.501,2.065-13.157,0.561-19.736,0.804c-1.198,0.044-2.42-0.555-3.815-0.903c-1.127,0.126-2.516,0.279-3.905,0.437+ c-0.868,0.099-1.743,0.16-2.6,0.315c-1.684,0.304-2.467-0.138-2.528-1.873c-0.091-2.552,0.034-5.112,0.092-7.669+ c0.027-1.194,0.17-2.387,0.161-3.579c-0.04-5.436-0.124-10.871-0.172-16.307c-0.01-1.129,0.029-2.128,1.442-2.692+ c0.583-0.233,0.752-1.499,1.288-2.692c-1.518,0-2.54-0.023-3.56,0.005c-1.842,0.05-2.511,1.287-1.627,2.986+ c0.109,0.21,0.298,0.382,0.385,0.598c0.716,1.765-0.064,2.942-2.399,3.149c0,4.511,0.015,9.059-0.013,13.606+ c-0.006,0.897,0.316,1.97-0.978,2.551c-1.198-0.725-1.533-1.987-1.525-3.218c0.035-5.354,0.188-10.708,0.291-16.062+ c0.018-0.946,0.003-1.893,0.003-2.928c-0.699-0.181-1.299-0.336-2.13-0.551c0.131,1.848-0.5,3.031-2.281,2.857+ c0.092,4.997,0.185,9.835,0.266,14.672c0.016,0.939,0.068,1.802-0.632,2.689c-0.462,0.585-0.209,1.692-0.436,2.522+ c-0.146,0.534-0.516,1.336-0.9,1.408c-0.821,0.154-0.936-0.644-0.948-1.308c-0.106-5.756-0.253-11.512-0.265-17.268+ c-0.002-1.069,0.601-2.128,0.831-3.211c0.28-1.32,0.899-2.577-0.293-3.947c-0.726-0.834-0.987-2.157-1.21-3.308+ c-0.098-0.507,0.257-1.339,0.682-1.665c1.312-1.007,2.659-2.084,4.171-2.687c2.445-0.974,3.186-0.27,2.906,2.363+ c0.725,1.132,1.919,1.186,2.98,0.897c3.532-0.962,7.023-2.071,10.58-3.138c0.102-1.544,0.11-2.818,0.285-4.068+ c0.302-2.158,0.69-4.278,2.998-5.384c0.513-0.246,0.785-0.966,1.209-1.429c0.612-0.669,1.294-0.938,2.189-0.059+ c-0.386,1.266-0.868,2.599-1.189,3.97c-0.271,1.16-0.482,2.362-0.495,3.548c-0.028,2.501,1.215,3.357,3.543,2.553+ c0.602-0.208,1.157-0.584,1.77-0.723c0.732-0.166,1.501-0.185,2.256-0.223c0.862-0.044,1.727-0.015,2.589-0.062+ c1.571-0.084,3.14-0.201,5.134-0.332c-0.66,1.026-1.056,1.64-1.488,2.31c2.048,0.569,3.918,1.128,5.812,1.59+ c0.518,0.126,1.181,0.119,1.651-0.1c2.502-1.165,4.963-2.417,7.406-3.913c-3.304,0.25-6.535,0.201-10.271-0.555+ c0.892-0.5,1.299-0.828,1.763-0.969c1.299-0.397,2.625-0.704,3.933-1.072c0.844-0.238,1.92-0.277,2.469-0.828+ c2.045-2.048,4.817-2.319,7.29-3.316c0.059-0.024,0.087-0.124,0.323-0.483c-1.151,0.152-2.094,0.264-3.033,0.403+ c-3.306,0.488-6.604,1.045-9.919,1.454c-1.888,0.233-2.713-0.175-4.104-1.562c0.721-0.755,1.6-0.79,2.562-0.798+ c1.906-0.014,3.812-0.132,5.716-0.235c0.309-0.017,0.704-0.086,0.899-0.287c1.843-1.897,4.435-1.982,6.707-2.834+ c1.227-0.46,1.22-0.478,1.054-2.13c-0.615,0-1.255-0.098-1.854,0.017c-2.63,0.506-5.245,1.086-7.871,1.615+ c-1.331,0.268-2.666,0.542-4.013,0.706c-1.694,0.207-2.335-0.1-4.302-1.929c1.47-0.078,2.644-0.317,3.764-0.162+ c2.193,0.304,4.039-0.78,6.041-1.227c1.719-2.587,4.539-2.097,7.032-2.529c0.124-0.022,0.221-0.204,0.33-0.311L319.607,309.446z+ M502.677,248.081c-0.219-0.243-0.438-0.486-0.657-0.729c-3.418,1.486-6.822,3.002-10.257,4.447+ c-2.681,1.128-5.204,2.922-8.384,2.156c-0.21-0.051-0.467,0.077-0.699,0.136c-3.415,0.862-6.915,0.997-10.4,1.014+ c-3.421,0.017-6.843-0.351-10.265-0.347c-3.788,0.004-7.446-0.773-11.125-1.474c-0.369-0.07-0.703-0.325-1.247-0.588+ c3.892,0.466,7.499,0.969,11.121,1.308c2.856,0.267,5.754,0.628,8.59,0.404c2.92-0.23,5.847-0.918,8.666-1.76+ c6.11-1.825,10.731-5.437,13.218-11.542c2.588-6.355,1.409-14.977-3.509-19.599c-6.31-5.931-16.16-6.496-22.184-1.49+ c-7.535,6.263-13.218,13.865-15.378,23.679c-0.412,1.872-0.711,3.768-1.092,5.646c-0.221,1.087-0.7,2.12-1.989,1.979+ c-1.561-0.17-2.152,0.853-2.68,1.9c-0.95,1.886-0.36,3.59,0.947,5.076c2.056,2.337,4.643,3.944,7.563,4.9+ c4.851,1.589,9.85,2.042,14.914,1.313c6.77-0.975,13.111-3.339,19.455-5.818c5.188-2.028,9.097-5.697,13.285-9.068+ C501.247,249.079,501.973,248.594,502.677,248.081z M412.483,299.289c0.708-0.201,1.527-0.473,2.365-0.655+ c0.458-0.099,0.959,0.006,1.425-0.07c8.999-1.462,17.887-3.314,26.362-6.841c5.969-2.484,11.993-4.822,18.373-6.13+ c6.333-1.298,12.587-2.895,19.15-2.777c3.251,0.058,6.538-0.411,9.764-0.928c3.1-0.496,4.291-2.334,3.64-5.322+ c-0.206-0.946-0.847-1.896-1.527-2.622c-2.04-2.177-4.728-3.192-7.569-3.866c-0.597-0.142-1.413-0.193-1.711-0.595+ c-0.633-0.854-1.469-0.896-2.323-0.987c-7.661-0.809-15.263-0.651-22.691,1.647c-2.741,0.848-5.421,1.893-8.143,2.809+ c-0.667,0.225-1.42,0.206-2.074,0.453c-1.769,0.669-3.768,1.107-5.156,2.261c-0.81,0.674-1.632,1.386-2.535,1.961+ c-1.75,1.115-3.652,2.026-5.276,3.297c-2.238,1.75-4.684,3.037-7.304,4.038c-2.759,1.053-5.517,2.119-8.322,3.037+ c-1.813,0.594-3.689,1.076-5.575,1.347c-2.214,0.319-2.624-0.089-3.309-2.339c-0.015-0.049-0.262-0.028-0.385-0.038+ C410.626,291.177,411.591,295.392,412.483,299.289z M582.757,294.847c-2.349,2.049-4.409,4.064-6.695,5.78+ c-2.229,1.673-4.522,3.739-7.091,4.35c-2.769,0.659-4.898,2.875-7.694,2.629c-1.424,2.489-2.749,4.804-4.151,7.253+ c2.063,0.677,3.661-0.271,5.288-0.694c1.614-0.42,3.18-1.057,4.729-1.693c1.623-0.667,3.233-1.383,4.79-2.191+ c1.557-0.809,3.094-1.682,4.542-2.67c1.381-0.942,2.723-1.979,3.924-3.139c1.196-1.155,2.196-2.515,3.281-3.785+ c0.173,0.082,0.345,0.165,0.518,0.247c-0.135,1.312,0.112,2.835-0.475,3.897c-1.96,3.542-3.869,7.217-6.465,10.274+ c-2.501,2.946-5.771,5.24-9.707,6.315c-2.826,0.772-5.59,1.774-8.374,2.696c-1.188,0.393-2.356,0.845-3.778,1.358+ c0,2.76-0.014,5.698,0.017,8.634c0.004,0.38,0.226,0.761,0.367,1.134c0.466,1.234,0.942,2.464,1.465,3.83+ c0.203-0.032,0.594-0.049,0.958-0.158c9.211-2.758,16.867-7.91,23.203-15.092c1.767-2.003,3.082-4.261,4-6.77+ c1.392-3.807,2.029-7.777,1.883-11.773C587.146,301.282,585.663,297.67,582.757,294.847z M645.547,436.307+ c-0.158,0-0.315-0.001-0.473-0.002c-0.492,1.899-0.967,3.802-1.481,5.695c-0.754,2.773-1.462,5.563-2.345,8.296+ c-0.331,1.023-1.013,1.972-1.689,2.835c-0.829,1.058-1.853,1.96-2.729,2.985c-1.202,1.406-2.335,2.807-4.384,3.085+ c-0.607,0.082-1.335,0.675-1.657,1.236c-1.76,3.058-3.411,6.179-5.102,9.283c4.668,1.393,6.57,5.312,8.168,9.616+ c0.476-0.205,0.926-0.349,1.325-0.58c4.073-2.347,7.329-5.654,10.468-9.074c0.419-0.457,0.604-1.287,0.604-1.945+ c0.002-6.556-0.058-13.112-0.1-19.667c-0.002-0.32,0.13-0.756-0.029-0.94c-1.338-1.543-0.58-3.298-0.577-4.975+ C645.55,440.205,645.547,438.256,645.547,436.307z M344.751,363.281c2.153-1.004,4.11-2.107,6.197-2.845+ c3.015-1.067,5.053-2.947,6.608-5.762c1.159-2.099,1.203-4.003,0.631-6.322c-1.086,0.2-2.128,0.276-3.089,0.596+ c-1.531,0.509-2.901,0.144-4.072-0.733c-1.566-1.173-3.183-2.38-3.681-4.582c-2.334,1.372-4.751,2.444-6.101,4.995+ c1.269,0.521,2.615,0.976,2.816,2.994c-0.837,0.625-1.833,1.371-2.832,2.112c-1.023,0.759-2.715,0.329-3.294,1.583+ C340.276,358.052,342.486,360.634,344.751,363.281z M501.503,232.015c0.895-1.194,0.506-2.351,0.346-3.483+ c-0.828-5.862-4.096-10.635-7.011-15.549c-1.421-2.396-4.109-3.521-7.05-3.165C494.866,215.653,499.638,222.828,501.503,232.015z+ M646.121,488.284c-1.138,1.419-1.931,2.516-2.839,3.507c-0.909,0.992-1.964,1.849-2.897,2.822+ c-0.892,0.93-2.345,1.338-2.737,2.779c1.553,0.688,5.154,0.812,8.339,0.288c0-1.209,0.099-2.465-0.025-3.699+ c-0.153-1.526-0.49-3.025,0.382-4.465C646.451,489.338,646.257,488.977,646.121,488.284z M316.739,223.583+ c-0.284,0.555-0.7,1.129-0.883,1.77c-0.865,3.019-0.571,6.016,0.337,8.975c0.138,0.451,0.301,1.019,0.643,1.251+ c0.396,0.268,1.049,0.384,1.502,0.256c0.307-0.087,0.723-0.777,0.644-1.083c-0.741-2.874-0.131-5.733-0.008-8.594+ C319.036,224.74,318.427,223.888,316.739,223.583z M344.986,296.543c1.566-0.298,2.332-1.378,1.643-2.23+ c-1.06-1.309-0.687-2.693-0.712-4.075c-0.016-0.9,0.075-1.801,0.118-2.702c-0.159-0.022-0.317-0.045-0.476-0.067+ c-0.139,0.562-0.574,1.295-0.366,1.657c0.864,1.497,0.405,2.895,0.061,4.372C345.045,294.4,345.081,295.36,344.986,296.543z+ M401.508,268.435c0.451,0.468,0.963,0.999,1.793,1.861c0.306-1.678,0.527-2.889,0.822-4.503+ C403.046,266.881,402.34,267.594,401.508,268.435z M700.11,257.242c1.148,0.587,1.898,0.971,2.649,1.355+ C702.32,257.576,701.848,256.61,700.11,257.242z M282.024,336.613c0.202-1.307,0.407-2.045-0.803-2.608+ C281.487,334.87,281.675,335.481,282.024,336.613z M345.46,124.832c0.043-0.158,0.086-0.316,0.13-0.475+ c-0.265-0.074-0.528-0.196-0.797-0.21c-0.291-0.014-0.587,0.072-1.431,0.195C344.446,124.596,344.953,124.714,345.46,124.832z"/>+ <path style="fill:#390C44;" d="M144.885,468.925c0-9.355,0.005-18.605-0.013-27.854c-0.001-0.54-0.119-1.11-0.313-1.615+ c-0.6-1.565-0.388-2.945,0.663-4.263c0.488-0.612,0.807-1.358,1.205-2.041c0.928-1.592,2.361-2.297,4.051-1.602+ c1.676,0.69,3.385,0.574,4.936,0.205c5.017-1.195,9.998-0.681,15.011-0.199c7.157,0.688,14.306,1.592,21.525,0.89+ c1.427-0.139,2.881,0.008,4.313-0.104c0.755-0.059,1.556-0.267,2.219-0.624c2.145-1.156,3.676-1.142,5.039,0.194+ c1.646,1.614,2.137,3.796,1.151,5.683c-0.702,1.343-1.479,2.664-2.371,3.886c-0.852,1.168-1.102,2.386-1.099,3.802+ c0.01,4.477-0.13,8.953-0.131,13.43c0,1.166,0.214,2.348,0.464,3.493c0.475,2.171-0.033,4.237-1.747,5.401+ c-3.502,2.375-3.755,6.061-4.494,9.595c-0.228,1.087-0.203,2.225-0.338,3.335c-0.067,0.548-0.065,1.226-0.383,1.601+ c-1.549,1.825-0.952,3.856-0.358,5.664c1.309,3.987,1.154,8.032,1.006,12.101c-0.072,1.992-0.19,3.983-0.32,5.972+ c-0.104,1.591-0.069,3.222-0.427,4.758c-0.822,3.524-3.86,4.709-7.017,2.884c-0.271-0.157-0.54-0.318-0.871-0.514+ c-2.318,1.744-4.983,2.016-7.744,2.01c-0.932-0.002-1.883,0.217-2.794,0.456c-4.364,1.146-8.764,1.786-13.273,1.073+ c-6.469-1.023-12.94-2.04-19.402-3.108c-1.254-0.207-2.499-0.555-3.698-0.98c-2.668-0.945-3.752-2.839-3.996-5.632+ c-0.803-9.198,0.699-18.315,0.811-27.478c0.013-1.082-0.092-1.91-0.85-2.815c-2.091-2.496-1.282-5.544,1.691-6.881+ c1.849-0.832,3.754-1.349,5.814-0.922C143.745,468.849,144.369,468.868,144.885,468.925z"/>+ <path style="fill:#390C44;" d="M566.724,219.848c0.306-0.222,0.592-0.481,0.92-0.662c7.558-4.163,14.186-9.549,20.323-15.56+ c3.599-3.525,7.167-7.089,10.611-10.765c5.254-5.609,9.153-12.067,11.88-19.274c1.724-4.556,3.723-9.01,5.654-13.486+ c1.316-3.05,3.331-5.642,5.639-7.996c2.383-2.43,5.573-3.069,8.733-3.524c6.769-0.975,13.047,0.491,18.678,4.391+ c1.256,0.87,2.408,1.138,3.785,0.568c1.037-0.429,1.322-1.046,0.832-2.069c-0.235-0.49-0.595-0.959-1.002-1.32+ c-2.138-1.893-4.582-3.276-7.437-3.608c-2.45-0.285-4.934-0.281-7.404-0.396c-0.318-0.015-0.674,0.112-0.951,0.009+ c-0.546-0.202-1.376-0.414-1.505-0.811c-0.292-0.901,0.595-1.195,1.274-1.388c0.997-0.283,2.023-0.467,3.041-0.673+ c3.557-0.721,6.914-1.928,9.984-3.913c1.222-0.789,2.099-1.748,2.19-3.23c0.093-1.502,0.339-3.055,0.083-4.509+ c-0.926-5.262-2.909-10.204-5.935-14.554c-2.311-3.322-5.18-6.283-8.003-9.21c-2.158-2.237-4.635-4.168-6.967-6.238+ c-0.34-0.302-0.661-0.625-1.353-1.282c3.599,0.122,6.744,0.118,9.864,0.387c1.304,0.112,2.532,0.183,3.726-0.315+ c1.237-0.515,2.164-0.197,2.93,0.835c1.136,1.531,2.223,3.102,3.433,4.572c1.268,1.54,2.741,2.913,3.974,4.478+ c1.879,2.386,3.622,4.878,5.436,7.315c0.427,0.574,0.822,1.235,1.389,1.63c1.601,1.118,2.244,2.756,2.262,4.522+ c0.088,8.398,0.055,16.797,0.067,25.196c0.002,1.278,0.036,2.556,0.01,3.833c-0.126,6.305-0.334,12.609-0.38,18.914+ c-0.032,4.395,0.153,8.792,0.237,13.188c0.015,0.799,0.109,1.612-0.004,2.394c-0.164,1.129-0.115,2.133,0.319,3.252+ c0.884,2.283-0.179,3.491-2.64,3.334c-2.763-0.176-5.529-0.302-8.167-0.443c-2.223,5.448-5.071,10.141-8.144,14.717+ c-0.69,1.027-1.555,0.892-2.509,0.889c-4.304-0.013-8.607-0.002-12.911-0.002c-1.915,0-3.412,0.21-4.186,2.567+ c-0.754,2.297-2.363,4.307-3.546,6.471c-0.704,1.287-1.749,1.883-3.16,1.625c-1.327-0.242-2.672-0.526-3.924-1.011+ c-4.023-1.558-8.163-2.704-12.367-3.61c-2.274-0.49-4.58-0.717-6.824,0.324c-0.48,0.223-1.091,0.181-1.645,0.221+ c-2.471,0.18-4.941,0.396-7.415,0.498c-1.554,0.064-3.244-0.439-4.636,0.025c-1.422,0.474-2.79,0.938-4.285,1.224+ c-2.423,0.463-4.775,1.299-7.158,1.976c-0.901,0.256-1.803,0.508-2.705,0.762C566.798,220.031,566.761,219.94,566.724,219.848z"/>+ <path style="fill:#390C44;" d="M384.24,506.731c-0.269,1.665-0.518,3.06-0.712,4.462c-0.161,1.164-0.785,1.932-1.897,2.211+ c-0.845,0.212-1.726,0.332-2.598,0.378c-3.582,0.189-7.167,0.336-10.751,0.492c-0.236,0.01-0.513,0.043-0.705-0.059+ c-2.02-1.075-4.217-0.792-6.357-0.807c-7.918-0.057-15.837-0.097-23.755-0.056c-2.215,0.012-4.461,0.053-6.56,1.043+ c-0.537,0.253-1.274,0.275-1.874,0.163c-1.95-0.365-3.892-0.357-5.866-0.405c-2.309-0.057-4.574,0.037-6.874,0.158+ c-5.296,0.278-10.3-1.248-15.11-3.253c-1.777-0.741-3.286-2.179-4.829-3.408c-0.825-0.657-0.72-1.085,0.227-2.858+ c-0.44,0-0.941-0.157-1.171,0.026c-1.234,0.979-2.685,0.954-4.11,0.98c-6.318,0.115-12.636,0.215-18.954,0.266+ c-1.174,0.009-2.351-0.231-3.408-0.343c-0.166-1.931-0.281-3.655-0.471-5.371c-0.237-2.139,0.008-2.543,2.224-2.87+ c1.566-0.231,3.151-0.402,4.732-0.458c4.152-0.148,8.307-0.27,12.461-0.292c1.503-0.008,3.004,0.331,4.511,0.449+ c1.008,0.079,2.028,0.006,3.037,0.084c0.493,0.038,1.249,0.139,1.387,0.44c0.17,0.372-0.018,1.133-0.33,1.462+ c-1.202,1.267-1.523,2.726-1.312,4.703c2.566,0,5.109,0.044,7.647-0.04c0.467-0.015,0.986-0.475,1.365-0.848+ c2.516-2.477,5.512-2.967,8.869-2.38c1.318,0.23,2.703,0.227,4.045,0.141c2.867-0.186,5.73-0.468,8.588-0.772+ c0.77-0.082,1.517-0.382,2.296-1.057c-1.405-0.249-2.81-0.498-4.342-0.77c1.908-1.765,1.815-2.445-0.305-3.491+ c-0.685-0.338-1.393-0.63-2.059-1.175c1.362-0.418,2.703-0.548,4.039-0.005c0.739,0.3,1.536,0.566,2.147,1.05+ c1.959,1.551,4.11,0.921,6.102,0.431c2.514-0.619,4.083-2.197,5.216-4.568c-1.679-1.504-3.773-1.763-5.893-1.599+ c-1.943,0.15-3.773-0.095-5.718-0.7c0.582-1.747,1.823-2.199,3.379-2.087c1.833,0.132,3.666,0.47,5.494,0.438+ c3.801-0.066,7.143-1.497,10.078-3.885c0.221-0.18,0.34-0.485,0.654-0.951c-1.329-0.23-2.463-0.002-3.311,0.507+ c-3.178,1.908-6.606,1.495-10.025,1.379c-1.009-0.034-2.024-0.064-3.029,0.006c-0.997,0.07-1.893,0.031-2.595-1.043+ c1.074-0.751,2.115-1.424,3.095-2.178c0.947-0.729,1.719-1.815,2.772-2.245c1.35-0.551,2.91-0.843,4.368-0.808+ c1.811,0.043,3.612,0.534,5.694,0.878c-0.121-0.785-0.172-1.375-0.306-1.945c-0.911-3.887-1.896-7.758-2.727-11.662+ c-0.265-1.244-0.767-2.025-1.995-2.37c-2.845-0.799-5.696-1.585-8.516-2.468c-2.208-0.692-4.37-1.527-6.556-2.288+ c-1.907-0.664-2.73-2.117-2.882-4.016c-0.183-2.289-0.309-4.583-0.466-6.973c0.828-0.573,1.785-0.114,2.696-0.084+ c1.75,0.059,3.496,0.215,5.245,0.289c0.466,0.02,0.959-0.044,1.404-0.184c2.566-0.808,3.419-0.498,4.934,2.047+ c0.176-0.567,0.365-0.95,0.406-1.348c0.259-2.463,0.486-4.929,0.722-7.395c0.069-0.715,0.253-1.442,0.183-2.143+ c-0.514-5.123,0.348-10.199,0.456-15.297c0.08-3.828-0.154-7.664-0.253-11.496c-0.029-1.119-0.166-2.245-0.073-3.353+ c0.051-0.607,0.48-1.183,0.739-1.773c0.193,0.034,0.385,0.068,0.578,0.102c0.108,1.133,0.185,2.27,0.329,3.399+ c1.081,8.483,2.151,16.967,3.278,25.443c0.367,2.759,0.88,5.499,1.355,8.242c0.109,0.627,0.313,1.241,0.517,1.847+ c1.155,3.42,1.242,3.485,4.906,3.483c6.394-0.005,12.789-0.023,19.183-0.03c0.879-0.001,1.792-0.111,2.631,0.082+ c1.405,0.324,2.762,0.852,3.991,1.246c-0.271-1.512-0.271-1.512-2.195-1.935c-0.183-1.134-0.359-2.223-0.545-3.375+ c0.706-0.169,1.42-0.339,2.283-0.545c0.623,1.783,1.247,3.569,1.868,5.343c1.439-0.188,2.751-0.36,4.168-0.545+ c1.369,6.411,2.802,12.601,3.982,18.84c0.741,3.919,1.122,7.907,1.615,11.871c0.087,0.701,0.068,1.471-0.13,2.141+ c-1.441,4.878-0.221,9.841-0.747,14.924c0.648,0.038,1.091,0.083,1.535,0.087c16.315,0.155,32.63,0.3,48.945,0.475+ c0.924,0.01,1.845,0.269,2.638,0.392c0.603,3.181,1.158,6.109,1.771,9.339c-1.316,0.091-2.47,0.24-3.626,0.241+ c-13.839,0.021-27.677,0.021-41.516,0.026C390.541,506.732,387.508,506.731,384.24,506.731z M352.942,484.957+ c-2.869,0.4-4.728,1.659-6.116,3.811c-0.846,1.312-1.995,2.373-2.078,4.112c-0.062,1.292-1.1,1.769-2.27,2.088+ c-5.295,1.444-9.472,4.863-13.736,8.054c-1.56,1.168-2.768,2.835-2.727,5.057c0.022,1.192,0.152,1.357,1.316,1.254+ c2.617-0.233,5.239-0.423,7.859-0.628c1.034-0.081,2.098-0.033,3.097-0.266c1.556-0.362,3.472-0.327,3.733-2.623+ c0.029-0.259,0.425-0.462,0.61-0.72c1.62-2.263,4.194-3.088,6.484-4.354c2.042-1.128,4.033-2.349,6.254-3.652+ c-2.45-1.298-5.145-0.758-7.617-2.535c1.016-0.186,1.585-0.351,2.162-0.385c3.382-0.199,6.693,0.31,9.96,1.127+ c0.996,0.249,1.85,0.39,2.249-0.818c-2.324-2.339-5.898-2.086-8.579-4.364c0.802-0.661,1.305-1.298,1.96-1.579+ c3.859-1.652,7.767-1.566,11.659-0.084c1.257,0.478,2.151,1.254,2.384,2.727c0.104,0.658,0.658,1.244,1.008,1.863+ c0.189-0.073,0.379-0.146,0.568-0.219c-0.27-1.446-0.539-2.893-0.826-4.431c1.204-0.336,2.357-0.657,3.657-1.02+ c-0.776-1.15-1.577-0.891-2.327-0.676c-1.543,0.442-2.999,0.153-4.444-0.413c-0.815-0.319-1.641-0.612-2.466-0.902+ c-2.129-0.749-2.404-1.574-0.976-3.265c1.075-1.273,2.247-2.465,3.377-3.693c-0.683-2.7-1.345-5.317-2.003-7.918+ c-2.659-0.329-5.223-0.458-7.695-1.004c-2.526-0.558-4.962-1.524-7.636-2.375c0.724,2.953,1.564,5.756,2.07,8.618+ C352.375,478.712,352.575,481.739,352.942,484.957z"/>+ <path style="fill:#390C44;" d="M220.78,348.772c0.199,0.857,1.49,1.591,0.26,2.804c-0.215-0.749-0.384-1.339-0.589-2.056+ c-1.582,0.646-1.053,1.932-1.238,2.954c-1.407,0.066-2.76,1.096-4.217-0.047c1.034-1.491,0.147-2.673-0.756-3.76+ c-1.015-1.22-2.164-2.329-3.269-3.502c-0.06,1.361,0.653,3.661,1.507,4.474c0.902,0.859,0.854,1.665,0.026,2.466+ c-0.682,0.66-1.383,1.326-2.17,1.847c-0.861,0.57-1.818,1.006-2.756,1.449c-1.713,0.81-3.351,1.564-5.437,1.218+ c-1.795-0.298-3.703,0.081-5.757,0.17c-0.413,1.617-1.268,3.343-0.639,5.476c0.685,2.322-0.44,3.105-3.405,2.381+ c-0.031,1.303-0.059,2.55-0.092,3.796c-0.017,0.639,0.007,1.285-0.078,1.916c-0.297,2.22-1.112,2.635-2.848,1.824+ c-1.059,0.318-1.82,0.708-2.597,0.746c-1.673,0.083-3.355-0.05-5.032-0.025c-1.092,0.016-1.615-0.539-1.799-1.523+ c-0.088-0.469-0.168-0.949-0.17-1.425c-0.025-7.595-0.039-15.189-0.051-22.784c-0.007-4.559-0.051-9.119,0.007-13.678+ c0.028-2.148-0.027-4.366,0.491-6.417c0.387-1.534,1.472-2.989,2.539-4.228c1.02-1.185,2.418-2.044,3.929-3.274+ c-3.057-0.178-5.769-0.756-8.231-2.228c0.45-0.605,0.994-1.076,1.2-1.664c0.67-1.911,1.273-2.361,3.245-2.193+ c0.949,0.081,1.945-0.052,2.845,0.19c1.827,0.491,3.047-0.31,4.241-1.517c0.941-0.951,2.016-1.769,3.061-2.671+ c2.734,0.58,3.147,2.905,3.8,5.209c2.168-1.293,4.182-2.407,6.107-3.659c4.948-3.217,9.852-6.503,14.785-9.743+ c0.809-0.531,1.206-1.142,1.126-2.179c-0.039-0.504,0.406-1.469,0.685-1.488c0.614-0.044,1.459,0.2,1.861,0.644+ c1.72,1.896,0.974,5.064-1.351,6.166c-1.783,0.845-3.564,1.694-5.318,2.528c0.468,1.674,0.948,3.391,1.478,5.287+ c0.491-0.2,1.009-0.354,1.471-0.609c5.39-2.972,10.771-5.959,16.155-8.943c0.14-0.078,0.277-0.16,0.413-0.245+ c2.489-1.568,2.651-2.232,1.101-4.916c2.053,0.166,2.769,1.89,3.642,3.126c1.413,2.001-0.016,6.859-2.139,8.133+ c-0.545,0.327-1.169,0.552-1.652,0.951c-3.352,2.763-7.256,4.638-10.957,6.836c-1.157,0.687-2.417,1.2-3.632,1.79+ c-1.102,0.536-1.478,1.373-1.106,2.556c0.143,0.456,0.119,0.987,0.34,1.393c0.864,1.589,0.356,2.728-1.32,3.638+ c0.78,1.721,1.519,3.35,2.327,5.133c-1.382,0.201-1.852,1.204-2.113,2.822c-0.306,1.893-1.367,3.663-2.143,5.591+ c1.064,0.172,1.549-0.615,1.928-1.357c0.931-1.824,2.301-3.172,3.915-4.428c3.735-2.908,7.056-6.26,9.856-10.102+ c0.423-0.58,0.865-1.157,1.37-1.664c5.113-5.128,7.757-11.37,8.778-18.487c1.14-7.949-0.11-15.612-2.16-23.23+ c-0.623-2.315-1.291-4.619-1.914-6.934c-0.158-0.588-0.227-1.201-0.434-2.334c0.674,0.821,0.995,1.213,1.636,1.994+ c-0.587-2.671-1.701-4.537-2.907-6.376c-5.796-8.831-11.969-17.383-18.731-25.505c-0.972-1.167-1.81-2.444-2.783-3.609+ c-2.213-2.648-3.027-5.762-3.126-9.117c-0.11-3.709,3.11-8.067,6.862-9.229c5.848-1.812,11.706-1.414,17.499,0.22+ c6.214,1.752,11.422,5.285,16.171,9.553c0.409,0.368,0.736,0.826,1.277,1.443c-5.033,0.742-9.922,1.195-14.68,2.241+ c-4.848,1.066-9.182,3.563-13.641,5.9c0.5,1.877,1.044,3.511,2.129,4.905c3.682,4.733,7.502,9.364,11.041,14.201+ c2.906,3.972,6.603,7.403,8.497,12.088c2.298,1.959,2.359,4.71,2.739,7.406c0.836,5.936,1.893,11.842,2.676,17.785+ c0.234,1.774-0.125,3.63-0.243,5.446c-0.035,0.536-0.174,1.065-0.339,2.02c10.392-2.123,20.339-4.772,30.176-8.49+ c0.266,1.958,0.022,3.299-1.533,4.365c-2.3,1.578-4.497,3.312-6.672,5.062c-0.512,0.411-0.975,1.109-1.094,1.744+ c-0.675,3.588-3.006,5.762-6.159,7.066c-1.513,0.626-3.264,0.667-4.897,1.021c-0.829,0.18-1.712,0.328-2.434,0.734+ c-1.244,0.699-2.327,1.79-3.933,1.024c-1.769,1.047-3.591,2.016-5.288,3.168c-1.231,0.836-2.258,1.964-3.446,2.871+ c-1.226,0.936-2.242,1.958-2.763,3.475c-1.817,5.291-5.429,9.351-9.27,13.23c-0.724,0.731-1.557,1.399-2.449,1.905+ c-1.07,0.607-2.001,1.222-2.514,2.43c-0.224,0.528-0.841,0.924-1.343,1.292c-1.986,1.457-4.24,2.552-5.759,4.629+ c-0.37,0.506-1.231,0.652-1.865,0.962c-1.746-3.249-3.492-6.497-5.238-9.744c-0.173,0.085-0.346,0.171-0.519,0.257+ c1.138,2.496,2.346,4.964,3.383,7.502C218.84,348.029,219.612,348.583,220.78,348.772z M203.7,353.301+ c-0.688-1.249-0.279-2.342,0.085-3.474c0.514-1.597,1.007-3.206,1.384-4.839c0.473-2.055,0.138-2.421-1.95-2.892+ c-0.481-0.109-0.876-0.601-1.433-1.006c-0.746,0.286-1.608,0.742-2.526,0.944c-3.211,0.705-4.253,2.35-3.368,5.695+ c1.591-0.765,3.154-1.531,4.731-2.268c0.66-0.309,1.484-0.663,1.934,0.114c0.298,0.515,0.314,1.334,0.16,1.943+ c-0.36,1.424-0.898,2.804-1.361,4.192c0.545,0.31,0.964,0.514,1.345,0.775C203.054,352.724,203.369,353.026,203.7,353.301z"/>+ <path style="fill:#390C44;" d="M516.657,157.874c0.332-6.183,0.695-11.601,2.753-16.738c1.079-2.692,2.503-5.172,4.373-7.396+ c4.134-4.915,9.469-6.941,15.768-6.305c1.416,0.143,2.963,0.816,4.084,1.706c2.868,2.278,5.603,4.739,8.251,7.274+ c1.958,1.874,3.77,3.917,5.494,6.01c0.778,0.944,1.135,2.223,1.775,3.295c0.435,0.728,1,1.385,1.561,2.028+ c0.404,0.463,1.052,0.766,1.322,1.282c1.475,2.813,2.934,5.639,4.268,8.521c1.161,2.507,1.568,5.19,1.279,7.951+ c-0.122,1.168,0.194,2.135,0.84,3.138c2.189,3.399,1.752,5.605-1.372,8.329c-0.493,0.43-0.82,1.135-1.041,1.775+ c-0.416,1.204-0.672,2.462-1.044,3.683c-0.33,1.083-0.773,2.026-2.03,2.45c-0.62,0.209-1.084,0.907-1.598,1.405+ c-2.41,2.335-4.827,4.664-7.216,7.02c-2.596,2.561-5.87,4.126-8.854,6.12c-0.969,0.647-1.899,0.41-2.721-0.022+ c-2.467-1.298-5.061-2.465-7.267-4.131c-10.081-7.617-16.393-17.548-17.911-30.265+ C517.062,162.39,516.845,159.764,516.657,157.874z"/>+ <path style="fill:#390C44;" d="M292.775,136.931c-2.7,3.1-5.309,6.096-7.919,9.09c-0.105,0.12-0.249,0.214-0.327,0.348+ c-2.316,3.944-5.562,7.361-6.677,11.985c-0.674,2.795-1.515,5.55-2.167,8.35c-0.187,0.806,0.014,1.705,0.057,2.56+ c0.036,0.711,0.141,1.421,0.145,2.132c0.017,3.199,0.022,6.398,0,9.597c-0.004,0.621-0.051,1.274-0.251,1.853+ c-0.347,1.003-0.295,1.814,0.504,2.611c0.831,0.828,0.631,1.732-0.109,2.553c-0.268,0.297-0.512,0.626-0.821,0.874+ c-2.795,2.236-5.599,4.463-8.412,6.676c-0.303,0.239-0.683,0.38-1.499,0.821c0.334-1.029,0.476-1.668,0.741-2.251+ c1.703-3.744,1.533-7.398-0.23-11.104c-3.937-8.282-5.096-16.928-3.143-25.943c0.338-1.561,0.565-3.145,0.838-4.72+ c0.012-0.071-0.036-0.153-0.056-0.23c-3.635-2.586-10.728-3.81-18.012-3.009c0.661-1.746,1.233-3.366,1.886-4.952+ c0.608-1.475,1.336-2.902,1.934-4.38c0.154-0.379,0.191-1.034-0.03-1.275c-0.237-0.258-0.874-0.313-1.283-0.221+ c-4.871,1.092-5.943,1.654-9.418,5.509c-3.487,3.869-6.482,8.108-9.122,12.608c-3.721,6.343-7.328,12.77-11.392,18.891+ c-2.497,3.76-5.553,7.182-9.96,9.077c-2.923,1.257-5.663,2.937-8.519,4.357c-0.846,0.42-1.807,0.616-2.723,0.888+ c-4.674,1.39-9.347,2.591-14.301,2.746c-5.019,0.157-10.023,0.841-15.03,1.33c-1.447,0.141-2.619,0.797-3.841,1.691+ c-4.161,3.042-7.872,6.529-11.26,10.387c-0.211,0.24-0.407,0.526-0.674,0.677c-3.753,2.121-7.476,4.237-11.692,5.451+ c-3.699,1.065-7.408,0.934-11.148,1.003c-1.109,0.021-2.219,0.2-3.32,0.364c-4.587,0.685-8.938-0.065-12.996-2.267+ c-1.82-0.988-3.505-2.223-5.249-3.349c-0.134-0.086-0.233-0.249-0.374-0.296c-2.913-0.974-4.702-3.451-6.972-5.272+ c-1.359-1.091-2.591-2.398-3.666-3.775c-3.716-4.759-6.664-9.96-8.587-15.707c-0.278-0.831-0.494-1.689-0.664-2.549+ c-0.166-0.842-0.005-1.584,1.038-1.979c0.324,0.581,0.646,1.118,0.93,1.674c3.934,7.699,9.012,14.564,15.412,20.36+ c2.527,2.289,5.356,4.386,8.368,5.954c2.488,1.296,5.414,2.201,8.206,2.388c14.294,0.958,26.838-3.005,36.021-14.551+ c4.252-5.346,9.609-7.61,16.121-7.979c4.625-0.262,9.254-0.487,13.87-0.875c2.78-0.234,5.582-0.553,8.296-1.176+ c5.871-1.348,10.76-4.452,14.612-9.074c1.479-1.775,2.756-3.729,4.014-5.674c2.777-4.292,5.508-8.614,8.205-12.957+ c0.714-1.15,1.219-2.428,1.853-3.63c1.342-2.544,2.698-5.08,4.061-7.613c4.003-7.439,10.145-12.537,17.851-15.666+ c13.208-5.362,26.306-5.528,39.048,1.583C287.808,132.445,290.415,134.394,292.775,136.931z"/>+ <path style="fill:#390C44;" d="M282.643,293.954c-1.059-0.574-2.095-0.99-2.963-1.633c-2.473-1.831-4.651-4.049-5.832-6.877+ c-1.025-2.453-2.789-4.223-4.292-6.171c-2.546,1.261-5.012,2.482-7.623,3.775c-0.943-0.436-0.781-1.486-0.965-2.376+ c-1.236-5.969-0.83-11.914,0.19-17.864c0.156-0.911,0.032-1.885-0.058-2.821c-0.275-2.855-0.597-5.706-0.933-8.858+ c1.28,0.947,1.219,2.232,1.094,3.107c-0.208,1.453,0.097,2.701,0.65,3.929c2.034,4.511,3.76,9.215,6.292,13.433+ c2.64,4.399,6.136,8.22,11.674,9.234c2.301,0.421,2.909,0.383,5.219-0.949c0.482-3.191-0.237-6.088-1.852-8.918+ c-1.975-3.462-3.892-6.992-5.409-10.668c-0.987-2.392-1.431-5.069-1.749-7.664c-1.172-9.538-3.321-18.878-5.493-28.215+ c-2.326-10-8.206-17.151-17.458-21.553c-1.153-0.549-2.332-1.044-3.485-1.595c-0.468-0.223-0.896-0.528-1.247-1.001+ c4.125,0.213,7.605,2.392,11.352,3.677c3.886,1.333,7.152,3.844,10.202,6.75c2.139-1.134,4.195-2.18,6.208-3.305+ c2.015-1.126,3.987-2.332,6.129-3.591c1.045,0.482,1.694,1.459,1.861,2.691c0.119,0.881,0.641,1.324,1.194,1.925+ c1.065,1.156,2.061,2.454,2.739,3.861c0.407,0.846,0.428,2.088,0.153,3.012c-0.78,2.616-2.645,4.316-5.217,5.207+ c-1.568,0.543-3.158,1.025-4.558,1.476c0.739,2.951,1.392,5.702,2.121,8.434c0.72,2.698,1.516,5.376,2.338,8.274+ c0.472-0.374,0.942-0.721,1.383-1.1c1.817-1.56,3.593-3.172,5.455-4.675c0.666-0.538,1.504-0.93,2.327-1.18+ c0.44-0.133,1.201,0.017,1.475,0.334c0.268,0.31,0.196,1.015,0.095,1.51c-0.092,0.449-0.453,0.836-0.639,1.274+ c-0.121,0.284-0.302,0.711-0.183,0.904c1.482,2.38,0.218,4.944,0.432,7.406c0.142,1.631-0.765,3.385-1.357,5.028+ c-0.186,0.517-0.873,0.853-1.477,1.405c0.23,0.313,0.45,0.714,0.764,1.021c0.728,0.712,0.744,1.488,0.475,2.415+ c-0.42,1.451-0.626,2.97-1.107,4.398c-0.679,2.016,0.645,3.571,1.796,4.288c2.506,1.562,5.398,2.515,8.161,3.647+ c1.151,0.472,2.374,0.765,3.566,1.607c-0.855,0.2-1.713,0.387-2.564,0.604c-1.796,0.456-3.266,1.481-3.924,3.181+ c-1.448,3.742-4.063,6.657-6.505,9.704c-0.606,0.755-1.227,1.415-1.183,2.512c0.019,0.491-0.314,1.071-0.644,1.486+ c-1.429,1.799-2.996,3.493-4.351,5.344C284.081,290.933,283.536,292.289,282.643,293.954z"/>+ <path style="fill:#390C44;" d="M302.303,406.919c0.447,9.583-1.204,18.701-2.035,27.863c-7.579,2.683-29.763,3.978-34.598,2.032+ c0.014-1.984,0.553-3.941-0.053-5.965c-0.28-0.935,0.104-2.057,0.11-3.094c0.012-2.181-0.906-3.285-3.058-3.788+ c-5.456-1.275-10.814-2.816-15.809-5.451c-1.882-0.993-3.311-2.265-4.512-4.096c-2.296-3.5-4.349-7.068-5.586-11.082+ c-0.312-1.015-0.738-1.99,0.278-2.691c2.046,2.536,3.902,5.208,6.132,7.52c3.854,3.997,8.474,6.85,14.095,7.558+ c2.358,0.297,4.79,0.207,7.175,0.061c5.898-0.36,11.832-0.546,17.67-1.377c6.286-0.894,12.073-3.572,17.778-6.305+ C300.6,407.762,301.303,407.41,302.303,406.919z"/>+ <path style="fill:#390C44;" d="M23.388,334.155c0.543,0.701,0.814,1.05,1.084,1.4c4.681,6.081,10.927,8.309,18.402,7.381+ c1.088-0.135,2.185-0.533,3.182-1.011c6.462-3.093,10.838-8.062,13.081-14.87c1.585-4.809,2.4-9.759,2.768-14.809+ c0.173-2.38,0.576-4.769,1.139-7.09c1.547-6.379,6.243-9.783,11.907-12.183c0.879-0.372,1.812-0.616,2.718-0.925+ c2.308-0.789,4.633-1.001,7.078-0.635c3.824,0.572,7.497,1.587,11.014,3.173c0.649,0.293,1.32,0.618,1.852,1.077+ c3.704,3.199,7.142,6.649,9.82,10.783c0.389,0.601,0.726,1.243,1.023,1.895c4.501,9.891,10.567,18.665,18.996,25.593+ c8.726,7.172,18.304,12.84,29.493,15.347c1.715,0.384,3.416,0.827,5.122,1.253c0.229,0.057,0.442,0.174,0.727,0.29+ c0.484,1.319,0.146,2.501-0.299,3.838c-0.401,1.206-0.085,2.651-0.085,4.133c-0.794-0.079-1.26-0.081-1.706-0.177+ c-5.873-1.275-11.475-3.362-17.114-5.411c-4.827-1.754-8.551-4.896-12.215-8.195c-9.06-8.155-16.384-17.71-22.079-28.461+ c-1.755-3.313-3.294-6.732-5.464-9.809c-0.409-0.58-0.812-1.209-1.357-1.639c-1.757-1.384-3.541-2.741-5.393-3.991+ c-0.76-0.513-1.698-0.806-2.595-1.059c-0.995-0.281-2.091-0.254-3.045-0.619c-5.091-1.95-10.228-0.936-15.03,0.518+ c-6.218,1.882-9.717,5.487-10.122,12.152c-0.082,1.357-0.164,2.719-0.124,4.076c0.2,6.812-1.914,12.907-5.727,18.453+ c-2.503,3.64-5.422,7.001-9.164,9.331c-5.765,3.59-12.095,4.4-18.308,1.427c-3.263-1.561-6.116-4.068-8.341-7.073+ C23.832,337.245,23.245,336.056,23.388,334.155z"/>+ <path style="fill:#390C44;" d="M444.6,166.209c1.018-0.881,2.008-1.797,3.061-2.635c3.877-3.089,7.847-6.066,11.647-9.245+ c5.33-4.459,9.602-9.738,12.649-16.079c1.894-3.942,4.308-7.66,6.743-11.309c3.197-4.791,9.616-6.345,14.915-3.933+ c0.69,0.314,1.516,0.347,2.287,0.459c0.823,0.12,1.623,0.276,1.877,1.207c0.27,0.991-0.447,1.374-1.152,1.831+ c-3.814,2.475-6.957,5.658-9.333,9.512c-1.749,2.836-3.291,5.809-4.771,8.797c-1.068,2.157-1.778,4.477-1.606,6.936+ c0.066,0.936,0.17,1.988,0.64,2.749c0.698,1.13,0.309,1.845-0.517,2.456c-1.792,1.326-3.514,2.842-5.497,3.798+ c-6.879,3.318-14.048,5.731-21.775,6.121c-2.151,0.108-4.291,0.451-6.443,0.538c-0.874,0.035-1.764-0.323-2.647-0.502+ C444.653,166.677,444.626,166.443,444.6,166.209z"/>+ <path style="fill:#390C44;" d="M511.776,321.83c0.161,3.745,0.31,7.22,0.475,11.084c-0.507,0.532-1.473,1.038-2.789,1.008+ c-9.098-0.206-18.2-0.291-27.296-0.56c-7.023-0.208-13.455-2.541-19.444-6.093c-2.062-1.223-3.361-3.203-3.882-5.544+ c-0.76-3.418,0.876-6.103,4.388-7.142c4.699-1.389,9.338-0.73,13.879,0.806c5.752,1.945,11.533,3.829,17.547,4.708+ c5.045,0.738,10.15,1.074,15.228,1.584C510.511,321.745,511.141,321.781,511.776,321.83z"/>+ <path style="fill:#390C44;" d="M736.826,256.226c1.139-0.565,1.778,0.031,2.422,0.383c3.423,1.871,6.964,3.57,10.204,5.72+ c3.103,2.059,6.209,4.258,8.412,7.37c2.581,3.646,5.131,7.321,7.513,11.098c0.993,1.575,1.761,3.385,2.206,5.193+ c1.014,4.111,1.56,8.26,0.989,12.563c-0.782,5.892-2.431,11.548-4.135,17.196c-0.478,1.584-1.263,3.101-2.082,4.551+ c-2.559,4.528-5.178,9.024-6.066,14.252c-0.79,4.655,0.038,8.945,3.301,12.501c0.999,1.089,2.333,1.887,3.572,2.731+ c0.777,0.529,1.666,0.896,2.639,1.405c-3.182,0.035-4.343-0.282-6.732-1.85c-0.801-0.526-1.592-1.073-2.344-1.665+ c-6.334-4.981-8.41-11.56-6.527-19.197c1.14-4.625,2.95-9.101,4.667-13.564c2.909-7.562,5.583-15.103,4.927-23.45+ c-0.755-9.611-4.217-17.967-10.825-24.975c-3.184-3.377-6.629-6.478-10.514-9.057C737.95,257.099,737.482,256.715,736.826,256.226+ z"/>+ <path style="fill:#390C44;" d="M410.917,162.001c-0.657-2.899-1.344-5.429-1.786-8.001c-0.654-3.811-0.553-7.668-0.009-11.478+ c1.224-8.582,6.644-13.87,14.023-17.614c7.304-3.706,14.914-3.787,22.679-2.043c2.637,0.592,5.223,1.409,8.257,2.24+ c-1.863,2.277-3.641,4.033-5.671,5.506c-0.377,0.274-1.184,0.031-1.772-0.08c-0.601-0.114-1.189-0.556-1.762-0.52+ c-9.792,0.611-17.69,4.611-22.92,13.144c-0.628,1.024-0.737,2.379-1.018,3.596c-0.142,0.615-0.096,1.27-0.192,1.899+ c-0.438,2.878-0.506,5.737,0.496,8.521c0.323,0.898,0.303,1.568-0.728,1.886C417.476,159.992,414.435,160.922,410.917,162.001z"/>+ <path style="fill:#390C44;" d="M578.958,83.263c2.227-0.826,4.269-1.491,6.234-2.336c2.233-0.96,2.527-1.707,1.974-4.246+ c1.688-0.072,3.155,0.017,4.63,1.204c1.66,1.336,3.65,2.293,5.573,3.264c1.954,0.987,3.159,2.604,4.144,4.433+ c0.464,0.861,0.13,2.281,1.461,2.498c0.891,0.145,1.851-0.128,2.96-0.23c0.914,0.463,0.607,1.514,0.769,2.423+ c0.391,2.19,0.671,4.427,1.346,6.532c1.047,3.263,2.6,4.123,6.089,3.827c0.87-0.074,1.752-0.379,2.323,0.648+ c0.579,1.043,0.561,2.031-0.453,2.758c-1.464,1.05-2.378,2.538-3.556,3.814c-2.482,2.69-5.502,4.557-9.228,5.149+ c-2.461,0.391-4.894,0.746-7.375,0.174c-1.387-0.32-2.823-0.383-3.787-1.74c-0.316-0.445-1.139-0.51-1.704-0.801+ c-1.732-0.893-3.039-2.15-3.659-4.055c1.081-0.565,1.308,0.21,1.732,0.622c0.85,0.826,1.635,1.758,2.605,2.412+ c1.067,0.719,2.3,0.672,3.359-0.173c1.042-0.831,1.482-1.973,0.971-3.207c-1.786-4.313-2.104-8.773-1.878-13.39+ c0.169-3.462-1.999-5.878-4.804-7.499c-1.459-0.843-3.269-1.043-5.069-0.789C581.964,84.792,580.303,84.733,578.958,83.263z"/>+ <path style="fill:#390C44;" d="M298.648,277.854c0.94,2.586,1.88,5.173,2.82,7.759c0.103-0.016,0.205-0.032,0.308-0.048+ c-0.162-4.039-0.325-8.077-0.487-12.116c0.132-0.025,0.264-0.051,0.396-0.076c0.125,0.253,0.301,0.493,0.367,0.76+ c2.342,9.564,3.899,19.234,3.935,29.11c0.006,1.608-0.47,2.844-1.918,3.825c-0.832,0.564-1.256,1.732-1.926,2.721+ c-2.102-0.103-3.795,1.072-5.686,1.894c-1.968,0.855-3.675,2.115-5.615,2.913c-0.877,0.361-2.046,0.257-3.028,0.072+ c-2.936-0.551-5.845-1.247-8.765-1.886c0.013-0.226,0.026-0.452,0.039-0.678c0.893-0.072,1.786-0.17,2.681-0.209+ c1.27-0.055,2.568,0.087,3.807-0.129c1.998-0.348,2.268-1.11,1.307-2.947c-0.1-0.192-0.098-0.437-0.174-0.808+ c0.775-0.035,1.477-0.033,2.172-0.105c1.549-0.161,2.389-0.8,2.571-2.339c0.411-3.47,2.117-5.999,4.852-8.155+ c3.838-3.025,3.737-3.155,2.728-7.901c-0.382-1.796-0.813-3.583-1.151-5.388c-0.386-2.063-0.329-4.124,0.228-6.152+ C298.289,277.934,298.469,277.894,298.648,277.854z"/>+ <path style="fill:#390C44;" d="M527.543,121.588c0-0.683-0.027-1.16,0.004-1.634c0.244-3.765-1.42-6.792-3.668-9.607+ c-2.189-2.741-4.619-5.334-6.477-8.286c-3.052-4.847-3.233-10.313-2.171-15.773c0.514-2.641,2.192-4.791,4.274-6.507+ c2.917-2.404,6.351-3.63,10.068-4.113c0.189-0.025,0.397,0.095,0.827,0.209c-1.07,1.16-2.301,1.608-3.568,2.048+ c-0.865,0.301-1.799,0.613-2.485,1.182c-2.867,2.375-4.867,5.459-5.289,9.109c-0.486,4.202,0.07,8.315,3.919,11.155+ c3.016,2.226,5.958,4.552,8.97,6.784c2.491,1.846,2.929,4.838,4.197,7.363c0.216,0.431-0.013,1.085-0.032,1.636+ c-0.055,1.579-0.061,3.162-0.181,4.735c-0.065,0.853-0.198,1.745-0.526,2.524c-0.44,1.044-1.548,0.472-2.302,0.731+ C530.882,123.909,529.528,122.188,527.543,121.588z"/>+ <path style="fill:#390C44;" d="M221.515,364.403c1.845,0,3.762,0.153,5.646-0.036c2.791-0.28,3.666,0.468,3.395,3.182+ c-0.127,1.269-0.06,2.557-0.162,3.83c-0.134,1.676-0.982,2.225-2.324,1.336c-1.311-0.869-2.625-0.441-3.929-0.387+ c-1.909,0.079-3.81,0.361-5.718,0.509c-0.543,0.042-1.099-0.1-1.65-0.131c-1.486-0.083-2.971-0.172-4.458-0.219+ c-1.073-0.034-2.149-0.007-3.526-0.007c-0.217,0.197-0.671,0.609-1.134,1.029c-0.291-0.119-0.623-0.15-0.691-0.3+ c-0.285-0.633-0.634-1.287-0.696-1.958c-0.139-1.509-0.162-3.032-0.157-4.55c0.007-2.25,0.385-2.641,2.607-2.8+ c0.533-0.038,1.076,0.055,1.482,0.079c0-1.925-0.018-3.741,0.005-5.556c0.027-2.218,0.246-2.244,2.347-1.82+ c1.408,0.284,2.918,0.076,4.382,0.073c0.719-0.001,1.439-0.077,2.155-0.048c1.774,0.071,2.656,0.858,2.693,2.656+ C221.817,360.939,221.619,362.6,221.515,364.403z"/>+ <path style="fill:#390C44;" d="M118.352,196.207c-6.498-0.87-11.318-4.387-15.495-8.964c-4.803-5.262-7.742-11.507-9.43-18.348+ c-1.246-5.05-2.042-10.18-1.882-15.417c0.257-8.386,2.319-16.149,6.852-23.367c4.392-6.992,10.027-12.58,16.785-17.16+ c1.131-0.766,1.146-0.745,2.976-0.431c-0.734,0.74-1.289,1.334-1.881,1.89c-3.08,2.894-6.709,5.39-9.132,8.755+ c-3.798,5.275-7.622,10.667-9.585,17.042c-0.372,1.209-0.999,2.337-1.442,3.527c-0.275,0.738-0.525,1.511-0.618,2.288+ c-0.896,7.428-0.573,14.748,0.862,22.153c1.879,9.694,7.183,17.076,14.22,23.471c1.621,1.473,3.746,2.398,5.66,3.538+ C116.911,195.582,117.647,195.869,118.352,196.207z"/>+ <path style="fill:#390C44;" d="M195.474,247.698c2.299,1.789,2.962,4.134,4.479,5.803c1.551,1.706,3.038,3.47,4.644,5.312+ c-1.058,1.151-0.982,2.409-0.796,3.79c0.309,2.291,0.315,4.621,0.575,6.92c0.113,0.998,0.41,2.023,0.848,2.928+ c1.928,3.984,5.323,6.502,8.968,8.748c1.389,0.856,2.776,1.713,4.164,2.57c-0.066,0.194-0.132,0.388-0.198,0.581+ c-0.805-0.099-1.657-0.059-2.406-0.318c-4.971-1.719-9.654-3.879-12.532-8.651c-0.577-0.957-1.236-1.865-1.86-2.794+ C196.415,265.228,195.158,256.985,195.474,247.698z"/>+ <path style="fill:#390C44;" d="M783.594,370.497c-1.027-0.813-2.105-1.57-3.07-2.451c-2.952-2.693-6.523-3.638-10.355-3.406+ c-5.332,0.324-10.51-0.585-15.72-1.428c-3.614-0.585-6.93-1.858-9.989-3.847c-0.741-0.482-1.432-0.894-1.592-1.942+ c-0.079-0.518-0.76-0.941-1.157-1.416c-1.633-1.952-3.329-3.858-4.857-5.889c-0.585-0.778-0.783-1.848-1.157-2.785+ c0.139-0.096,0.279-0.191,0.418-0.287c0.384,0.406,0.842,0.764,1.139,1.225c3.062,4.755,7.553,7.41,12.835,9.074+ c5.914,1.863,12.018,2.596,18.12,3.362c3.781,0.474,7.356,1.492,10.613,3.499c2.3,1.417,4.053,3.33,5.169,5.792+ C783.859,370.166,783.727,370.331,783.594,370.497z"/>+ <path style="fill:#390C44;" d="M201.503,304.478c-1.811-0.309-3.422-0.563-5.059,0.111c-0.352,0.145-1.053-0.298-1.475-0.624+ c-3.2-2.472-5.744-5.518-7.667-9.068c-0.293-0.54-0.447-1.208-0.479-1.827c-0.082-1.579,0.73-2.417,2.298-2.341+ c0.782,0.038,1.599,0.199,2.321,0.498c1.837,0.761,3.672,1.548,5.43,2.474c3.665,1.93,7.286,3.945,10.906,5.96+ c0.416,0.231,0.708,0.684,1.058,1.034c-0.339,0.291-0.639,0.655-1.023,0.859c-1.464,0.78-2.944,1.531-4.442,2.245+ C202.729,304.103,202.034,304.288,201.503,304.478z"/>+ <path style="fill:#390C44;" d="M283.588,395.165c3.231-0.568,6.685-1.18,10.141-1.773c0.389-0.067,0.801-0.067,1.194-0.027+ c1.299,0.132,2.318,0.981,2.575,2.152c0.269,1.227-0.142,2.266-1.168,2.919c-1.001,0.637-2.074,1.23-3.195,1.597+ c-3.107,1.017-6.232,2.003-9.4,2.801c-1.432,0.361-2.982,0.285-4.481,0.337c-0.792,0.028-1.589-0.1-2.384-0.148+ c-0.717-0.043-1.495,0.093-2.142-0.14c-2.358-0.85-4.673-1.821-7.004-2.747c0.024-0.174,0.049-0.349,0.073-0.524+ c0.652,0,1.307-0.035,1.956,0.006c3.979,0.252,7.792-0.49,11.486-1.92c0.665-0.257,1.333-0.573,1.893-1+ C283.382,396.506,283.366,395.97,283.588,395.165z"/>+ <path style="fill:#390C44;" d="M770.691,351.79c2.055,0.202,4.126,0.309,6.163,0.627c4.817,0.75,8.594,3.172,11.38,7.206+ c1.255,1.817,2.848,3.356,3.297,5.701c0.745,3.89,0.974,7.616-1.719,10.936c-0.246,0.303-0.45,0.683-0.544,1.06+ c-0.684,2.748-2.905,4.524-4.289,6.826c-0.16,0.267-0.396,0.559-0.666,0.671c-0.401,0.167-1.134,0.381-1.247,0.226+ c-0.271-0.374-0.45-1.001-0.328-1.431c0.191-0.672,0.68-1.254,1.008-1.892c1.02-1.985,2.047-3.967,3.028-5.971+ c2.4-4.904,0.958-14.664-5.716-19.257c-2.329-1.603-4.849-2.766-7.602-3.421c-0.975-0.232-1.944-0.489-2.916-0.735+ C770.591,352.155,770.641,351.972,770.691,351.79z"/>+ <path style="fill:#390C44;" d="M491.966,177.912c-4.624-1.337-8.401-3.912-11.485-7.502c-1.53-1.782-1.112-4.406,0.802-6.248+ c1.723-1.658,3.905-1.666,5.762,0.123c2.564,2.47,4.383,5.465,5.9,8.671C493.799,174.761,493.681,176.315,491.966,177.912z"/>+ <path style="fill:#390C44;" d="M463.529,438.059c2.247,1.65,4.531,3.223,6.693,4.949c1.489,1.189,3.089,2.368,3.728,4.659+ c-6.527,0-12.859,0-19.186,0C455.111,445.368,460.398,439.565,463.529,438.059z"/>+ <path style="fill:#390C44;" d="M559.475,417.197c0.642-0.113,0.996-0.296,1.228-0.196c1.916,0.822,3.903,0.547,5.893,0.522+ c8.714-0.112,17.428-0.171,26.141-0.247c1.19-0.01,2.38-0.001,3.543-0.001c0.391-1.196,0.723-2.212,1.056-3.233+ c2.585,0.911,2.835,1.645,2.054,5.556c-0.509,0.047-1.051,0.139-1.594,0.142c-11.512,0.052-23.025,0.065-34.537,0.167+ C561.377,419.922,560.352,419.083,559.475,417.197z"/>+ <path style="fill:#390C44;" d="M758.561,130.685c-0.65-1.696,0.23-3.108,0.887-4.504c1.324-2.817,2.844-5.544,4.107-8.386+ c2.138-4.812,4.139-9.685,6.201-14.531c0.185-0.434,0.393-0.857,0.558-1.216c0.247-0.092,0.411-0.22,0.534-0.188+ c2.88,0.745,3.004,0.93,1.817,3.694c-2.866,6.674-5.605,13.409-9.392,19.646c-0.576,0.949-0.957,2.016-1.428,3.029+ C761.097,129.839,760.815,130.055,758.561,130.685z"/>+ <path style="fill:#390C44;" d="M242.479,470.49c-1.937-0.296-2.717-1.435-3.321-2.811c-1.278-2.911-2.605-5.8-3.887-8.709+ c-0.267-0.607-0.426-1.262-0.669-1.998c4.194,0.184,8.067,0.354,12.252,0.538C245.833,462.023,244.028,466.147,242.479,470.49z"/>+ <path style="fill:#390C44;" d="M337.711,305.89c-1.158-0.942-1.47-2.304-1.728-3.591c-0.834-4.149-1.646-8.307-2.28-12.49+ c-0.706-4.659-1.223-9.348-1.782-14.028c-0.097-0.813-0.408-1.711,0.255-2.527C335.833,277.64,339.859,301.437,337.711,305.89z"/>+ <path style="fill:#390C44;" d="M313.195,289.467c0.682-0.393,1.322-0.762,1.89-1.089c2.3,4.884,4.494,9.54,6.686,14.198+ c3.536,7.516,7.075,15.031,10.598,22.553c0.317,0.678,0.531,1.404,0.652,2.159C329.859,323.802,314.787,294.721,313.195,289.467z"+ />+ <path style="fill:#390C44;" d="M609.494,435.535c1.549,0.859,2.488,2.27,3.795,3.995c-1.061,0.192-1.756,0.318-2.524,0.457+ c-0.695,3.514,2.333,4.139,4.262,5.699c0.807-1.212,0.298-3.112,1.729-3.429c1.913-0.423,3.905-0.06,5.799,1.134+ c-0.478,1.047-0.929,2.033-1.23,2.691c-1.575,0.3-2.849,0.565-4.131,0.775c-0.454,0.074-0.937,0.066-1.395,0.003+ c-3.492-0.479-6.307-2.153-8.378-4.984c-1.148-1.569-1.179-3.482-0.949-5.29c0.176-1.38,1.455-1.935,2.82-2.559+ c0.109,0.672,0.18,1.11,0.253,1.55c-0.767,0.69-0.765,1.408,0.133,2.149C609.615,436.996,609.554,436.266,609.494,435.535z"/>+ <path style="fill:#390C44;" d="M477.607,118.175c-1.553,0.124-3.117,0.298-4.686,0.34c-0.39,0.01-0.926-0.311-1.168-0.644+ c-3.193-4.394-7.433-7.676-11.613-11.024c-0.247-0.197-0.553-0.32-0.685-0.696c1.54-0.005,2.842,0.48,4.075,1.193+ c0.935,0.541,1.719,1.375,3.022,1.092c0.427-0.093,1.041,0.366,1.48,0.692c2.943,2.19,5.876,4.395,8.781,6.635+ C477.53,116.317,477.995,117.066,477.607,118.175z"/>+ <path style="fill:#390C44;" d="M247.386,362.145c-1.134-0.944-1.083-2.206-1.135-3.339c-0.24-5.26-0.424-10.524-0.552-15.789+ c-0.018-0.749,0.344-1.521,0.599-2.258c0.251-0.724,0.527-1.454,0.911-2.113c0.29-0.498,0.9-1.316,1.133-1.243+ c0.683,0.215,1.424,0.693,1.795,1.286c0.223,0.356-0.077,1.199-0.38,1.668c-0.206,0.319-0.826,0.37-1.3,0.557+ c0.504,6.218,0.517,12.416,0.125,18.613C248.523,360.448,248.663,361.481,247.386,362.145z"/>+ <path style="fill:#390C44;" d="M254.479,360.701c-0.191-1.018-0.552-2.002-0.53-2.978c0.137-6.059,0.35-12.117,0.57-18.174+ c0.019-0.536,0.13-1.157,0.428-1.575c0.589-0.825,1.494-0.864,2.362-0.463c0.845,0.391,1.015,1.291,0.496,2.261+ c-0.266,0.496-0.559,0.977-0.839,1.465c-0.114-0.114-0.228-0.227-0.342-0.341c0,5.971,0.003,11.943-0.002,17.914+ C256.62,359.886,256.281,360.695,254.479,360.701z"/>+ <path style="fill:#390C44;" d="M333.539,239.556c1.289-0.418,2.373-0.77,3.366-1.092c0-1.425-0.008-2.532,0.003-3.639+ c0.009-0.879,0.046-1.633,1.039-2.191c0.492-0.277,0.654-1.303,0.79-2.023c0.456-2.402,1.159-3.479,3.389-4.735+ c0.078,0.491,0.26,0.924,0.189,1.311c-0.347,1.873-0.739,3.738-1.16,5.596c-0.272,1.201-0.662,2.284-0.459,3.647+ c0.372,2.505-3.807,5.55-6.218,4.754C333.701,240.927,333.289,240.421,333.539,239.556z"/>+ <path style="fill:#390C44;" d="M349.23,246.08c-0.857,1.845-2.284,2.269-3.922,2.256c-2.644-0.02-5.139-0.752-8.054-2.317+ c-2.654,2.426-5.718,2.562-9.078,1.019c0.435-0.187,0.854-0.474,1.306-0.543c2.405-0.37,4.671-1.018,6.411-2.86+ c0.57-0.604,1.232-0.802,1.906-0.264c3.011,2.407,6.479,2.845,10.162,2.468C348.311,245.803,348.681,245.969,349.23,246.08z"/>+ <path style="fill:#390C44;" d="M325.993,333.861c-0.961,1.127-1.935,2.27-2.996,3.514c-1.36-0.596-1.864-1.708-1.417-2.88+ c0.544-1.428,0.358-2.614-0.315-3.858c-0.11-0.203-0.15-0.453-0.182-0.687c-0.176-1.258,0.32-2.168,1.334-2.473+ c1.019-0.306,1.96,0.174,2.483,1.304c0.165,0.358,0.286,0.747,0.363,1.134C325.519,331.218,325.747,332.525,325.993,333.861z"/>+ <path style="fill:#390C44;" d="M319.67,309.378c-1.828-0.151-3.659-0.271-5.481-0.472c-0.524-0.058-1.072-0.268-1.523-0.548+ c-0.776-0.48-1.484-1.07-2.482-1.806c-0.016-0.183,0.13-0.853-0.139-1.226c-1.236-1.723-0.059-2.883,0.934-3.964+ c0.36-0.392,1.365-0.571,1.874-0.36c0.768,0.318,0.696,1.156,0.282,1.859c-0.198,0.335-0.42,0.656-0.597,0.931+ c0.529,0.985,1.014,1.886,1.381,2.57c2.12,0.886,4.327,1.162,5.688,3.083C319.607,309.446,319.67,309.378,319.67,309.378z"/>+ <path style="fill:#390C44;" d="M368.916,392.432c-1.637,1.457-3.764-0.158-4.604,1.787c-0.903-0.364-1.743-0.702-2.691-1.085+ c0.312-1.237,1.223-1.964,2.433-2.15c1.863-0.286,3.754-0.388,5.635-0.547c0.223-0.019,0.458,0.093,0.527,0.109+ c0,3.109,0,6.15,0,9.191c-0.176,0.008-0.352,0.016-0.528,0.024C369.452,397.524,369.216,395.287,368.916,392.432z"/>+ <path style="fill:#390C44;" d="M282.126,309.258c-2.844,1.585-5.966,0.985-9.057,1.754+ C275.795,305.746,278.913,305.148,282.126,309.258z"/>+ <path style="fill:#390C44;" d="M315.341,276.024c1.718,0.706,3.307,1.353,4.891,2.012c1.01,0.421,2.528,0.73,2.162,2.088+ c-0.399,1.484-1.885,0.782-2.889,0.548c-1.932-0.45-3.825-1.064-5.92-1.662C314.255,277.871,314.847,276.864,315.341,276.024z"/>+ <path style="fill:#390C44;" d="M384.561,320.539c1.592-0.813,2.853-0.186,4.009,0.397c1.42,0.717,2.736,1.646,4.078,2.513+ c0.899,0.581,1.356,1.341,0.673,2.605C389.761,325.428,386.827,323.809,384.561,320.539z"/>+ <path style="fill:#390C44;" d="M617.5,439.096c-1.52,0.013-3.116-0.192-4.342-1.376c-0.409-0.395-0.827-1.103-0.758-1.601+ c0.121-0.877,0.982-0.87,1.732-0.816c1.672,0.121,3.372,0.147,4.811,1.18c0.63,0.453,1.485,0.863,1.138,1.863+ c-0.327,0.943-1.17,0.948-2,0.85C617.923,439.179,617.767,439.143,617.5,439.096z"/>+ <path style="fill:#390C44;" d="M626.083,447.163c-1.505,0.054-2.547-1.37-1.957-2.759c0.31-0.729,0.702-1.45,1.196-2.062+ c0.362-0.449,1.014-1.058,1.424-0.983c0.6,0.111,1.302,0.665,1.591,1.221c0.388,0.746,0.531,1.669,0.585,2.529+ C628.991,446.181,627.621,447.107,626.083,447.163z"/>+ <path style="fill:#390C44;" d="M324.704,234.257c-2.513-3.122-2.073-7.094,0.92-8.296+ C326.278,227.39,325.758,232.082,324.704,234.257z"/>+ <path style="fill:#390C44;" d="M617.612,433.511c1.28-0.699,2.224-1.214,3.446-1.881c1.134,1.228,2.328,2.453,3.423,3.761+ c0.23,0.274,0.094,0.855,0.126,1.294c-0.498,0.026-0.999,0.094-1.493,0.059c-0.204-0.014-0.43-0.216-0.581-0.389+ c-1.036-1.191-2.077-2.328-3.912-1.986C618.441,434.401,618.182,434.009,617.612,433.511z"/>+ <path style="fill:#390C44;" d="M337.448,249.433c1.194-0.021,2.764,1.158,2.812,2.112c0.049,0.999-1.203,2.031-2.492,2.053+ c-1.109,0.02-2.109-0.944-2.16-2.082C335.563,250.499,336.49,249.45,337.448,249.433z"/>+ <path style="fill:#390C44;" d="M327.226,237.03c1.808-0.276,3.78-0.577,5.828-0.89c0,0.453,0,1.055,0,1.58+ C331.931,239.404,329.016,238.925,327.226,237.03z"/>+ <path style="fill:#390C44;" d="M341.268,305.994c-1.222,0.107-1.789-0.679-1.838-1.68c-0.086-1.757,0.037-3.524,0.072-5.286+ c0.168-0.009,0.335-0.018,0.503-0.027c0.405,2.347,0.81,4.694,1.214,7.041L341.268,305.994z"/>+ <path style="fill:#390C44;" d="M329.442,123.201c2.593-0.556,5.141-0.896,7.434,0.666c-0.023,0.196-0.046,0.391-0.069,0.587+ c-1.162-0.192-2.53-0.068-3.436-0.655c-1.174-0.761-2.16-0.733-3.335-0.391C329.872,123.456,329.641,123.276,329.442,123.201z"/>+ <path style="fill:#390C44;" d="M307.943,307.541c-0.059,1.21-1.421,2.437-2.162,2.16c-0.401-0.15-0.835-0.719-0.9-1.152+ c-0.12-0.799,1.033-1.915,1.841-1.777C307.218,306.855,307.646,307.342,307.943,307.541z"/>+ <path style="fill:#390C44;" d="M340.21,290.819c0.273-2.082-0.158-4.314,1.489-6.094+ C341.202,286.757,340.706,288.788,340.21,290.819z"/>+ <path style="fill:#390C44;" d="M357.516,187.879c0,1.546,0,3.092,0,4.735C356.303,191.53,356.286,190.855,357.516,187.879z"/>+ <path style="fill:#390C44;" d="M369.043,445.934c-1.591-1.427-1.704-3.282-1.542-5.217+ C368.015,442.456,368.529,444.195,369.043,445.934z"/>+ <path style="fill:#390C44;" d="M372.101,391.382c1.394,1.607,0.429,3.034,0.564,4.358+ C371.81,394.503,371.659,393.164,372.101,391.382z"/>+ <path style="fill:#390C44;" d="M476.023,224.013c0.939,0.129,1.877,0.348,2.818,0.369c2.924,0.063,4.591,2.002,5.999,4.136+ c0.512,0.776,0.644,2.002,0.517,2.966c-0.503,3.835-2.863,6.403-6.086,8.287c-0.088,0.051-0.283-0.082-0.566-0.175+ c0.3-0.386,0.57-0.733,0.839-1.08c0.582-0.751,1.271-1.443,1.73-2.264c2.98-5.331,1.534-8.87-3.841-11.3+ c-0.496-0.225-1.011-0.408-1.518-0.611C475.951,224.232,475.987,224.123,476.023,224.013z"/>+ <path style="fill:#390C44;" d="M475.748,239.782c-1.647,1.262-3.586,1.431-5.174,2.313c-1.647,0.915-3.284,1.85-4.912,2.769+ C465.373,241.179,470.082,238.14,475.748,239.782z"/>+ </g>+</g>+<g id="Layer_1">+ <g>+ <g>+ <path style="fill:#350F33;" d="M792.269,368.44c-0.615-7.815-6.266-14.728-13.998-16.105c-3.3-0.587-6.677-0.723-9.996-1.219+ c-7.248-1.082-11.391-5.329-11.89-12.308c-0.324-4.532,1.2-8.808,3.345-12.838c2.438-4.582,4.961-9.136,7.076-13.867+ c2.003-4.481,2.862-9.327,2.925-14.246c0.118-9.117-2.761-17.281-8.1-24.623c-5.72-7.866-13.364-13.22-22.212-16.982+ c-9.364-3.981-19.071-5.965-29.255-4.517c-3.62,0.515-7.179,1.454-10.971,2.242c-5.143-4.283-10.517-8.688-15.8-13.2+ c-1.696-1.448-3.158-3.171-4.712-4.783c-1.959-2.031-2.985-4.513-3.439-7.258c-0.728-4.402,1.028-8.358,4.859-10.618+ c1.364-0.805,2.841-1.558,4.365-1.921c3.958-0.943,7.947-1.81,11.967-2.423c5.63-0.859,11.228-1.795,16.404-4.287+ c6.828-3.286,12.825-7.539,16.196-14.669c0.097-0.206,0.313-0.356,0.568-0.637c9.403,0.143,18.889,0.277,28.57,0.145+ c0-1.341,0-2.372,0-3.403c-0.001-8.64-0.001-17.28-0.003-25.919c-0.002-9.12-0.026-18.24,0.02-27.359+ c0.005-0.987,0.207-2.077,0.66-2.94c3.976-7.572,8.072-15.081,12.029-22.662c0.955-1.829,1.561-3.846,2.253-5.802+ c0.234-0.662,0.357-1.411,0.326-2.111c-0.11-2.531-2.386-4.02-4.747-3.115c-1.62,0.621-2.859,1.71-3.689,3.264+ c-1.883,3.526-3.784,7.042-5.699,10.551c-0.227,0.416-0.588,0.759-0.887,1.136c-0.156-0.051-0.312-0.102-0.468-0.153+ c0-5.161,0-10.323,0-15.714c-25.436,0-50.595,0-75.935,0c0-4.264,0-8.295,0-12.467c-26.557,0-52.932,0-79.311,0+ c-0.25-0.556-0.489-0.974-0.631-1.424c-1.107-3.504-3.512-5.854-6.701-7.464c-1.495-0.755-3.032-1.459-4.615-1.998+ c-3.883-1.321-7.742-0.852-11.488,0.561c-1.46,0.551-2.642,1.574-2.587,3.385c0.044,1.451,1.263,2.984,2.963,3.386+ c1.382,0.327,2.841,0.433,4.267,0.445c2.237,0.019,2.831,0.415,3.657,3.104c-7.227,0-14.373,0-21.809,0+ c0,3.056,0.003,5.841-0.001,8.625c-0.004,2.72-0.018,5.44-0.023,8.16c-0.005,2.8-0.006,5.6-0.009,8.4+ c-0.003,2.72-0.007,5.44-0.009,8.16c-0.002,2.8-0.001,5.6-0.002,8.4c-0.001,2.8-0.001,5.6-0.001,8.4+ c0,2.72,0.043,5.441-0.013,8.16c-0.056,2.715,0.242,5.452-0.358,8.206c-6.119-13.78-16.386-23.471-29.411-30.497+ c0.123-0.439,0.211-0.74,0.292-1.044c2.125-8.033-0.264-14.683-6.556-18.999c-2.304-1.581-4.474-3.363-6.657-5.114+ c-1.878-1.507-3.125-3.487-3.432-5.873c-0.734-5.696,0.992-10.422,5.832-13.788c2.469-1.717,5.243-2.708,8.163-3.321+ c1.681-0.353,3.369-0.672,5.054-1.007c0.01-0.134,0.021-0.268,0.031-0.401c-0.926-0.31-1.853-0.62-2.779-0.93+ c-1.44,0-2.88,0-4.32,0c-0.612,0.159-1.214,0.383-1.836,0.468c-4.913,0.669-9.457,2.353-13.575,5.089+ c-4.041,2.684-7.199,6.196-8.463,10.963c-1.536,5.791-0.45,11.261,2.893,16.232c1.426,2.12,3.153,4.053,4.436,6.249+ c0.861,1.474,1.413,3.226,1.686,4.921c0.284,1.764-0.848,3.013-2.51,3.123c-5.103,0.34-9.896,1.749-14.43,4.065+ c-0.833,0.426-1.448,0.336-2.188-0.187c-4.95-3.497-10.561-5.242-16.502-5.991c-1.584-0.2-2.776-0.787-3.96-1.874+ c-16.235-14.926-34.946-19.054-55.729-11.787c-22.162,7.749-34.147,32.363-27.14,54.653c0.112,0.357,0.153,0.737,0.287,1.404+ c-1.051-0.275-1.889-0.437-2.686-0.715c-1.655-0.576-3.288-1.213-4.93-1.826c0.681,0.513,1.302,1.146,2.052,1.517+ c3.257,1.609,6.734,2.533,10.335,2.904c4.884,0.503,9.749,0.182,14.57-0.702c6.64-1.217,12.501-4.096,17.094-9.04+ c4.075-4.386,7.769-9.125,11.636-13.705c2.886-3.417,5.697-6.902,8.689-10.224c4.743-5.266,10.827-7.972,17.739-9.222+ c9.265-1.676,17.974-0.369,26.19,4.218c0.76,0.424,1.481,0.917,2.45,1.521c-0.726,0.549-1.251,0.991-1.819,1.37+ c-8.37,5.585-12.851,13.716-14.571,23.335c-0.551,3.081-1.988,4.825-4.351,6.334c-7.362,4.702-15.288,7.977-23.894,9.559+ c-0.393,0.072-0.793,0.116-1.177,0.22c-0.457,0.125-0.9,0.301-1.831,0.619c11.805-0.831,21.726-5.244,31.019-11.775+ c0.435,0.581,0.806,1.065,1.165,1.559c0.325,0.448,0.635,0.906,1.313,1.22c-0.301-0.821-0.691-1.622-0.884-2.467+ c-0.316-1.384-0.939-2.886-0.676-4.185c2.096-10.354,6.735-19.099,16.223-24.624c10.137-5.903,20.849-6.53,31.968-3.555+ c5.653,1.512,10.59,4.38,15.248,7.853c10.718,7.991,17.661,18.581,21.564,31.238c0.94,3.046,1.459,6.224,2.122,9.352+ c0.11,0.52,0.133,1.175-0.086,1.632c-2.62,5.479-5.044,11.092-9.726,15.258c-0.058,0.052-0.138,0.081-0.419,0.24+ c-6.145-3.91-10.346-9.44-12.785-16.352c-2.413-6.838-1.698-13.873-0.994-21.184c-2.289,3.564-2.451,15.052-0.154,21.52+ c2.415,6.799,5.506,10.922,13.37,16.796c-3.192,3.053-6.358,6.103-10.187,8.205c-3.743,2.055-7.754,3.622-11.52,5.345+ c2.511-0.296,5.054-1.193,7.578-2.135c0.896-0.334,1.786-0.73,2.601-1.224c8.463-5.133,15.914-11.31,20.428-20.382+ c2.028-4.075,3.968-8.2,5.78-12.375c6.239-14.373,17.041-23.142,32.385-26.037c5.853-1.105,11.824-0.472,17.624,0.92+ c10.8,2.592,20.553,7.367,29.293,14.251c3.55,2.796,6.628,6.018,9.357,9.58c0.586,0.765,1.043,1.855,1.053,2.801+ c0.081,7.919,0.045,15.839,0.035,23.759c0,0.382-0.081,0.764-0.151,1.388c-9.017,0-17.931,0-27.086,0+ c0.406-0.405,0.746-0.75,1.091-1.087c2.509-2.454,5.07-4.858,7.507-7.381c1.097-1.136,1.844-2.56,2.023-4.263+ c-2.904,4.058-6.089,7.817-10.452,11.277c2.646-9.73,4.51-18.981,2.54-28.538c0.092,1.397,0.275,2.795,0.261,4.191+ c-0.103,9.946-1.812,19.563-5.998,28.657c-3.588,7.795-7.987,15.125-12.786,22.225c-0.218,0.322-0.492,0.606-0.795,0.974+ c-1.978-0.746-3.895-1.501-5.834-2.196c-9.511-3.407-19.277-3.514-29.137-2.163c-7.009,0.961-13.788,2.822-20.239,5.73+ c-13.242,5.967-23.815,15.125-31.99,27.093c-9.11,13.338-13.005,28.175-12.607,44.218c0.033,1.333-0.277,2.447-0.815,3.649+ c-1.692,3.784-3.226,7.638-4.938,11.747c-0.847-0.099-1.911-0.223-2.747-0.321c-0.194-4.375-0.217-8.523-0.593-12.638+ c-0.866-9.488-5.894-16.306-13.889-21.202c-10.812-6.621-22.432-7.331-34.504-4.906c-7.035,1.413-13.583,4.076-19.871,7.534+ c-6.158,3.386-12.406,6.631-18.761,9.628c-2.931,1.382-6.206,2.041-9.338,2.985c-0.674,0.203-1.404,0.224-2.231,0.347+ c-0.256-0.664-0.509-1.23-0.696-1.817c-1.508-4.719-3.001-9.442-4.506-14.162c-0.121-0.38-1.601-3.301-1.853-3.577+ c0,0,0.298-1.547,0.65-3.792c0.606-3.857,1.088-7.778,1.109-11.675c0.083-14.885-3.815-28.76-11.139-41.69+ c-1.024-1.808-2.05-3.629-3.25-5.32c-1.032-1.455-1.348-2.934-1.269-4.698c0.216-4.791,0.425-9.594,0.331-14.386+ c-0.188-9.551-1.409-18.97-4.307-28.118c-0.214-0.674-0.655-1.392,0.532-1.576c-0.992-0.904-1.898-1.789-2.412-3.135+ c-2.077-5.442-5.325-10.195-9.112-14.573c-2.833-3.274-5.871-6.361-9.802-8.352c-1.28-0.648-2.096-1.583-2.746-2.854+ c-3.166-6.195-7.323-11.668-12.667-16.125c-13.286-11.081-28.759-14.905-45.715-13.141c-9.635,1.002-18.759,3.896-27.224,8.694+ c-0.893,0.506-1.696,0.578-2.719,0.359c-8.132-1.741-16.335-2.133-24.541-0.682c-15.106,2.672-27.235,9.881-35,23.504+ c-3.207,5.626-6.321,11.306-9.453,16.974c-2.752,4.981-5.645,9.852-9.744,13.895c-5.52,5.443-12.087,8.53-19.852,8.984+ c-3.593,0.21-7.185,0.465-10.781,0.572c-6.558,0.196-11.9,2.845-16.08,7.835c-1.897,2.265-3.649,4.653-5.467,6.985+ c-1.474,1.891-2.749,3.995-4.48,5.612c-1.657,1.547-3.626,3.107-5.737,3.758c-7.379,2.278-14.332,1.195-20.705-3.413+ c-6.672-4.824-10.856-11.408-13.841-18.891c-4.259-10.68-4.515-21.5-0.891-32.384c3.838-11.528,10.301-21.243,20.12-28.58+ c0.647-0.483,1.243-1.035,1.996-1.665c-0.383-0.093-0.472-0.147-0.527-0.124c-0.512,0.221-1.01,0.477-1.528,0.683+ c-14.15,5.641-23.743,15.985-29.969,29.57c-4.478,9.771-4.796,20.155-3.102,30.589c1.801,11.09,6.854,20.732,13.961,29.329+ c4.176,5.051,9.43,8.551,15.665,10.639c6.698,2.244,13.623,2.357,20.408,1.365c7.804-1.141,14.72-4.704,20.485-10.256+ c2.304-2.219,4.673-4.372,6.965-6.603c1.906-1.855,4.215-2.979,6.764-3.369c2.27-0.347,4.617-0.381,6.919-0.286+ c4.81,0.199,9.62,0.272,14.327-0.806c13.141-3.009,24.204-9.025,30.822-21.481c2.287-4.305,4.883-8.445,7.321-12.67+ c2.321-4.024,4.757-7.963,7.844-11.466c2.847-3.231,6.198-5.767,10.157-7.473c0.69-0.297,1.426-0.488,2.602-0.883+ c-0.681,1.641-1.185,2.786-1.635,3.952c-3.231,8.362-5.379,16.949-4.624,25.989c1,11.987,6.398,21.439,16.697,27.913+ c0.513,0.322,0.988,0.703,1.899,1.356c-2.935,0.919-5.418,1.761-7.942,2.448c-0.722,0.196-1.619,0.114-2.344-0.123+ c-8.475-2.771-17.098-3.156-25.825-1.611c-7.835,1.387-15.424,3.535-22.305,7.706c-8.128,4.927-12.95,11.968-13.7,21.567+ c-0.082,1.043-0.482,1.754-1.168,2.496c-8.752,9.467-13.678,20.528-13.881,33.542c-0.247,15.879,5.675,28.947,17.822,39.187+ c0.414,0.349,1.544,1.361,1.968,1.748c-1.375,0-3.103,0.18-4.044,0.811c-1.064,0.714-1.789,1.043-1.789,1.043+ c-2.396-0.083-6.227,0.319-8.399,1.025c-2.92,0.949-5.241,2.356-5.09,6.058c0.022,0.543,0.031,0.984,0.031,0.984+ c-1.943,1.538-5.101,4.013-7.183,5.346c-4.222,2.703-5.848,6.57-5.586,11.43c0.058,1.079-0.067,2.169-0.112,3.357+ c-0.654-0.078-1.069-0.047-1.42-0.181c-3.797-1.458-7.729-2.656-11.343-4.482c-7.13-3.602-12.555-9.31-17.559-15.392+ c-4.167-5.064-8.111-10.311-12.29-15.364c-2.441-2.951-5.04-5.792-7.77-8.477c-2.768-2.723-6.115-4.585-9.896-5.649+ c-6.787-1.91-13.715-2.303-20.69-1.835c-7.127,0.478-13.614,2.765-19.005,7.624c-4.425,3.987-6.935,8.94-7.103,14.948+ c-0.096,3.436-0.077,6.877-0.045,10.316c0.043,4.55-0.71,8.916-2.802,12.998c-2.174,4.24-5.512,7.202-9.934,8.931+ c-3.718,1.453-7.232,0.983-10.436-1.384c-0.89-0.657-1.603-1.552-2.409-2.325c-2.422-2.321-4.765-4.733-7.305-6.917+ c-1.725-1.484-3.822-2.432-6.117-2.843c3.023,2.8,4.911,6.334,6.873,9.814c1.02,1.81,1.918,3.702,3.078,5.417+ c4.969,7.342,14.121,9.894,22.253,6.292c9.038-4.004,16.768-14.491,17.84-24.286c0.365-3.337,0.533-6.695,0.909-10.03+ c0.611-5.41,3.467-9.162,8.554-11.178c10.843-4.297,25.709-0.099,31.267,11.117c0.532,1.074,1.133,2.115,1.637,3.201+ c4.626,9.968,10.841,18.817,18.536,26.66c7.077,7.214,15.273,12.578,24.972,15.565c3.348,1.031,6.684,2.101,10.189,3.205+ c0,3.85,0,7.717,0,11.827c-14.752,0-29.356,0-44.21,0c0.007,5.943-0.172,11.642,0.145,17.569c3.811,0,7.301,0,10.734,0+ c0.545,2.562,0.438,31.904-0.162,33.927c-6.033,0-12.163,0-18.44,0c-0.667,3.458-1.284,6.653-1.93,10.003+ c1.787,0.363,1.845,1.545,1.842,2.925c-0.024,10.4,0.019,20.799,0.026,31.199c0,0.604-0.124,1.209-0.223,2.112+ c-3.153,0-6.15,0-9.316,0c0,2.705-0.013,5.092,0.014,7.479c0.004,0.377,0.087,0.993,0.309,1.088+ c1.625,0.691,1.166,2.09,1.168,3.286c0.02,10.835,0.012,21.671,0.012,32.572c31.087,0,62.161,0,93.462,0c0-2.224,0-4.286,0-6.348+ c0-2.05,0-4.099,0-6.078c2.949-0.507,19.978-0.417,22.115,0.144c0,4.011,0,8.121,0,12.264c3.498,0,6.648,0,10.074,0+ c0-39.082,0-77.992,0-117.014c2.875,0,5.47,0,8.134,0c0.171,0.994,0.238,1.87,0.478,2.697c0.843,2.907,1.489,5.908,2.683,8.667+ c2.01,4.644,5.202,8.455,9.581,11.086c4.417,2.653,9.205,4.437,14.247,5.526c0.915,0.198,1.819,0.449,2.717,0.673+ c0,9.263,0,18.344,0,27.748c-6.096,0-12.049,0-17.986,0c-0.37,1.194-0.648,2.092-0.998,3.221c-3.978,0-7.932,0-12.28,0+ c0.495,1.226,0.776,2.117,1.2,2.935c1.69,3.267,3.381,6.534,5.162,9.752c0.841,1.52,1.184,3.06,1.178,4.797+ c-0.043,12.319-0.025,24.639-0.007,36.959c0.001,0.997,0.144,1.994,0.232,3.133c1.223,0,2.176-0.001,3.129,0+ c28.626,0.022,57.251,0.06,85.877,0.062c140.236,0.008,280.473,0.006,420.709,0.004c0.879,0,1.767,0.019,2.635-0.091+ c2.827-0.358,4.669-1.928,5.294-4.679c0.086-0.38,0.151-0.842,0.151-1.516c1.393,0,3.129,0.078,4.476-0.023+ c1.221-0.092,4.065-0.268,3.704-1.433c-0.103-0.331-0.655-0.361-0.988-0.582c-2.073-1.374-3.465-3.336-4.419-5.56+ c-0.631-1.471-1.369-2.398-3.128-2.651c0-1.019,0-2.157,0-3.033c0.006-15.359,0.037-30.719-0.004-46.078+ c-0.008-2.954-0.165-5.923-0.491-8.858c-0.481-4.322-1.696-8.426-3.926-12.236c-2.014-3.442-5.041-5.012-8.834-5.339+ c-1.668-0.144-3.358-0.03-5.037-0.066c-0.609-0.013-1.216-0.121-1.922-0.196c0-7.904,0.032-15.651-0.009-23.398+ c-0.042-7.801-0.079-15.603-0.375-23.634c-3.354,0-6.366,0-9.725,0c0-2.826,0-5.419,0-8.214c-2.21-0.102-4.085-0.189-6.127-0.283+ c0-5.083,0-10.01,0-15.05c0.097-0.074,0.259-0.26,0.462-0.341c1.094-0.435,1.422-1.237,1.088-2.31+ c-0.336-1.081-1.239-1.065-2.154-1.048c-1.919,0.036-3.84,0.069-5.759,0.029c-1.119-0.023-2.189,0.06-2.459,1.344+ c-0.273,1.299,0.637,1.835,1.738,2.133c0.12,0.032,0.198,0.218,0.199,0.22c0,5.05,0,9.983,0,15.152c-1.066,0-1.933-0.001-2.8,0+ c-7.92,0.008-15.84,0.006-23.759,0.038c-0.91,0.004-1.819,0.196-2.964,0.328c0,2.771,0,5.292,0,7.94c-11.941,0-23.61,0-35.689,0+ c0.606-0.417,0.836-0.626,1.105-0.754c9.205-4.359,15.992-11.041,19.695-20.633c0.474-1.228,1.33-1.651,2.433-2.013+ c5.558-1.821,10.891-4.115,15.988-7.034c9.301-5.326,16.008-12.831,20.07-22.752c3.627-8.858,5.293-18.068,5.238-27.616+ c-0.013-2.301,0.02-2.406,2.062-3.204c4.2-1.642,8.574-2.208,12.938-1.057c5.506,1.453,8.703,5.437,10.378,10.693+ c1.09,3.419,1.259,6.957,0.265,10.417c-0.925,3.217-2.089,6.369-3.219,9.524c-2.595,7.243-4.012,14.562-2.809,22.343+ c1.47,9.511,9.521,18.882,19.434,20.831c4.894,0.962,9.823,1.204,14.789,1.248c2.223,0.02,4.511,0.118,6.652,0.65+ c4.594,1.143,7.904,3.869,8.84,8.745c0.617,3.213-0.37,6.165-2.031,8.91c-0.441,0.729-0.919,1.434-1.38,2.15+ c1.001,0,1.841-0.238,2.475-0.738C789.041,380.505,792.845,375.763,792.269,368.44z M761.322,113.203+ c1.87-2.769,3.24-5.872,4.959-8.75c0.547-0.915,1.41-1.715,2.293-2.334c0.999-0.701,2.115-0.494,3.129,0.224+ c1.031,0.73,1.116,1.772,0.779,2.785c-0.654,1.966-1.297,3.964-2.232,5.802c-3.62,7.118-7.351,14.179-11.051,21.256+ c-0.164,0.313-0.434,0.57-0.654,0.853c-0.131-0.036-0.262-0.071-0.393-0.107c0-2.282,0.183-4.581-0.038-6.841+ C757.653,121.38,758.646,117.165,761.322,113.203z M441.414,138.807c-3.425,4.205-6.86,8.405-10.39,12.522+ c-2.473,2.884-5.654,4.841-9.05,6.463c-2.383-4.001-1.201-12.752,2.407-17.532c5.658-7.496,13.383-9.781,22.885-8.976+ C445.118,134.054,443.316,136.472,441.414,138.807z M468.609,118.615c-7.314,1.256-13.647,4.441-18.637,10.02+ c-1.125,1.258-2.242,1.617-3.947,1.447c-6.156-0.614-11.944,0.63-17.078,4.224c-7.462,5.223-10.645,13.903-8.434,22.774+ c0.095,0.38,0.148,0.77,0.252,1.328c-0.662,0.297-1.275,0.664-1.939,0.856c-7.062,2.042-14.22,2.901-21.561,1.859+ c-1.31-0.186-1.977-0.746-2.374-1.94c-1.043-3.134-1.553-6.341-1.716-9.64c-0.315-6.397,0.522-12.613,2.774-18.603+ c5.539-14.73,16.356-23.696,31.367-27.308c18.562-4.467,34.933,0.339,49.001,13.16c0.169,0.154,0.275,0.379,0.597,0.836+ C473.952,117.971,471.257,118.16,468.609,118.615z M517.057,120.141c1.571-4.851-0.905-8.294-3.598-11.584+ c-2.642-3.226-4.458-6.771-5.162-10.903c-0.868-5.095,0.137-9.67,3.484-13.68c4.137-4.956,9.66-7.455,15.762-8.92+ c1.119-0.269,2.278-0.373,3.419-0.553c0.03,0.126,0.061,0.252,0.091,0.377c-1.295,0.558-2.616,1.064-3.88,1.685+ c-3.739,1.833-6.608,4.558-7.863,8.597c-1.864,5.999-0.881,11.462,4.384,15.118c2.099,1.458,4.165,2.966,6.197,4.515+ c5.75,4.383,7.695,11.294,5.059,18.466C529.249,121.279,523.391,119.9,517.057,120.141z M162.005,358.818+ c-0.678-0.108-1.227-0.129-1.733-0.286c-4.273-1.328-8.613-2.487-12.78-4.094c-2.959-1.141-5.857-2.639-8.479-4.424+ c-11.945-8.128-21.048-18.791-27.689-31.607c-1.872-3.613-3.867-7.175-6.014-10.63c-2.548-4.101-6.388-6.602-10.9-8.213+ c-5.013-1.79-10.079-2.346-15.325-1.264c-7.431,1.533-12.909,5.693-13.471,15.07c-0.148,2.474-0.327,4.947-0.509,7.419+ c-0.312,4.231-1.613,8.122-3.919,11.699c-3.346,5.191-7.36,9.592-13.032,12.395c-6.592,3.257-15.139,1.777-19.938-3.755+ c-0.835-0.963-1.626-1.99-2.275-3.083c-2.234-3.761-4.395-7.564-6.849-11.81c1.087,0.728,1.918,1.148,2.578,1.753+ c1.885,1.728,3.707,3.525,5.54,5.308c0.974,0.947,1.865,1.987,2.889,2.875c4.633,4.02,10.359,4.443,15.51,1.117+ c4.851-3.132,8.093-7.489,9.307-13.159c0.548-2.562,0.802-5.212,0.929-7.834c0.174-3.592,0.028-7.199,0.147-10.795+ c0.224-6.746,3.506-11.85,8.828-15.729c4.351-3.171,9.217-5.002,14.621-5.525c8.303-0.805,16.463-0.406,24.349,2.523+ c1.697,0.63,3.36,1.512,4.826,2.572c3.52,2.547,6.426,5.746,9.12,9.148c4.568,5.769,9.137,11.539,13.797,17.234+ c3.915,4.786,8.316,9.079,13.476,12.549c4.49,3.02,9.34,5.217,14.592,6.525c0.766,0.191,1.524,0.412,2.404,0.652+ C162.005,343.222,162.005,350.942,162.005,358.818z M109.559,433.073c-0.053-2.946,0.903-5.548,1.377-8.389+ c6.196,1.314,12.017,2.549,17.959,3.81c0,2.833,0,5.583,0,8.665C122.404,435.787,116.073,434.449,109.559,433.073z+ M120.661,447.292c0.753,0.21,1.575,0.214,2.368,0.226c1.898,0.03,3.797,0.01,5.848,0.01c0,7.415,0,14.56,0,21.869+ c-5.931,0-11.723,0-17.683,0c0-11.571,0-23.04,0-35.012c6.028,1.246,11.79,2.438,17.673,3.654c0,1.619,0,3.025,0,4.784+ c-1.878,0-3.767-0.002-5.655,0.001c-0.719,0.001-1.451-0.064-2.155,0.044c-1.089,0.167-1.979,0.689-2.176,1.897+ C118.711,445.803,119.476,446.961,120.661,447.292z M101.535,477.537c0-2.371,0-4.506,0-6.614+ c1.72-0.489,24.63-0.564,27.342-0.087c0,2.158,0,4.342,0,6.701C119.761,477.537,110.784,477.537,101.535,477.537z+ M128.902,513.15c-8.588,0-17.095,0-25.769,0c0-11.387,0-22.768,0-34.315c8.58,0,17.015,0,25.769,0+ C128.902,490.301,128.902,501.621,128.902,513.15z M128.893,427.408c-4.031-0.86-7.919-1.69-11.807-2.52+ c0.016-0.117,0.033-0.234,0.049-0.351c3.863,0,7.726,0,11.722,0c0.065,0.549,0.15,1,0.162,1.453+ C129.029,426.374,128.955,426.76,128.893,427.408z M754.781,101.016c0.708-0.001,1.417,0,1.894,0+ c0.293,0.231,0.365,0.273,0.416,0.333c0.049,0.057,0.095,0.129,0.111,0.201c0.052,0.232,0.128,0.468,0.127,0.702+ c-0.035,29.916-0.075,59.831-0.121,89.747c0,0.307-0.078,0.614-0.148,1.125c-9.033,0-18.02,0-27.176,0+ c0.303-1.553,0.677-3.073,0.877-4.614c0.204-1.571,0.235-3.164,0.358-4.986c5.603,0,11.082,0,16.815,0+ c-0.083-24.515-0.01-48.776-0.095-73.075c-25.207,0-50.057,0-74.847,0c-0.678,2.194-0.773,68.541-0.107,72.881+ c13.719,0.313,27.512,0.015,41.362,0.201c-0.075,3.071-1.469,5.243-3.499,7.049c-2.077,1.849-4.354,2.856-7.343,2.816+ c-12.316-0.167-24.636-0.064-36.955-0.061c-0.854,0-1.709,0-2.726,0c0-30.829,0-61.354,0-91.868+ c0.063-0.065,0.116-0.125,0.175-0.179c0.058-0.052,0.122-0.14,0.183-0.14C694.316,101.098,724.549,101.057,754.781,101.016z+ M691.944,148.235c-1.477,8.08,3.373,14.699,9.786,18.408c3.107,1.797,6.209,3.649,9.083,5.786+ c3.247,2.414,3.746,6.054,3.8,9.999c-10.875,0-21.471,0-32.057,0c-0.47-1.509-0.717-68.992-0.242-71.195+ c21.445,0,42.919,0,64.367,0c0.525,1.711,0.555,68.754,0.026,71.269c-5.126,0-10.286,0-15.564,0+ c-0.431-2.029-0.839-4.046-1.289-6.054c-1.853-8.261-6.889-13.658-14.789-16.544c-2.548-0.931-5.025-2.06-7.513-3.146+ c-2.306-1.006-4.312-2.416-5.803-4.498c-3.289-4.592-2.569-9.335-0.54-14.117c0.393-0.926,0.933-1.79,1.241-2.796+ C696.952,138.022,693.087,141.981,691.944,148.235z M681.273,111.223c-0.096,23.822-0.014,47.49-0.101,71.281+ c-2.719,0-5.088,0-7.628,0c0-23.738,0-47.416,0-71.281C676.256,111.223,678.614,111.223,681.273,111.223z M702.7,194.767+ c-6.471,2.422-13.145,1.003-19.717,1.359c-0.152-0.174-0.305-0.349-0.457-0.523c0.261-0.373,0.451-0.853,0.805-1.086+ c0.288-0.189,0.77-0.104,1.167-0.104c5.65-0.005,11.3-0.008,16.95,0.005C701.868,194.419,702.289,194.544,702.7,194.767z+ M680.815,88.647c0.47,1.977,0.194,3.885,0.245,5.763c0.049,1.818,0.011,3.638,0.011,5.627c-0.886,0.047-1.661,0.124-2.437,0.125+ c-23.904,0.015-47.807,0.024-71.711,0.03c-2.575,0.001-3.32-0.41-3.654-2.75c-0.404-2.824-0.479-5.695-0.716-8.795+ C628.892,88.647,654.765,88.647,680.815,88.647z M662.325,121.422c-4.1-7.609-9.516-13.898-15.483-20.261+ c5.489,0,10.531,0,15.554,0C662.925,102.993,662.927,118.973,662.325,121.422z M586.688,84.251+ c1.748-0.42,3.388-0.814,5.027-1.208c-0.011-0.113-0.022-0.227-0.033-0.34c-1.202,0.128-2.404,0.257-3.606,0.382+ c-1.982,0.207-3.97,0.599-5.946,0.548c-1.196-0.031-2.534-0.521-3.523-1.212c-1.46-1.02-1.394-2.509-0.005-3.612+ c0.733-0.582,1.617-1.1,2.514-1.329c4.233-1.08,8.395-0.999,12.344,1.147c0.702,0.382,1.388,0.793,2.085,1.185+ c4.131,2.325,6.122,5.918,6.305,10.595c0.072,1.837,0.134,3.676,0.286,5.507c0.072,0.868,0.276,1.74,0.539,2.573+ c0.606,1.924,1.461,2.49,3.53,2.49c2.56,0,5.12,0.006,7.68,0.009c0.78,0.001,1.56,0,2.632,0+ c-4.338,9.757-13.055,13.671-21.41,11.376c-5.856-1.609-9.003-7.01-7.713-13.258c0.194-0.938,0.493-1.854,0.754-2.777+ c0.109-0.384,0.248-0.759,0.371-1.139C590.077,90.38,589.766,88.356,586.688,84.251z M580.61,149.953+ c0.007,1.862-0.397,3.313-1.662,4.749c-3.089,3.506-5.24,7.621-7.113,11.881c-0.474,1.079-0.972,2.147-1.642,3.624+ c-0.337-1.044-0.557-1.623-0.709-2.219c-0.453-1.78-0.727-3.622-1.348-5.339c-1.331-3.682-1.493-7.455-1.486-11.316+ c0.035-19.902-0.027-39.803-0.054-59.705c-0.001-0.944,0-1.888,0-3.021c7.336,0,14.469,0,21.673,0+ c0.616,2.077,0.059,3.993-0.489,5.901c-0.527,1.837-1.089,3.665-1.7,5.709c-1.653,0.131-3.38,0.268-5.402,0.429+ c-0.03,0.938-0.086,1.864-0.086,2.791C580.582,118.942,580.553,134.448,580.61,149.953z M581.932,151.48+ c-0.602-1.785-0.792-47.291-0.269-50.276c1.363,0,2.756,0,4.327,0c0.113,0.748,0.22,1.434,0.32,2.12+ c0.71,4.894,3.297,8.134,8.123,9.624c9.18,2.834,16.083-1.392,20.386-6.852c0.606-0.769,0.949-1.948,2.327-1.633+ c-0.004-0.005-0.005-0.009-0.008-0.014c1.01,0.934,1.968,1.925,3.041,2.771c4.712,3.715,8.534,8.106,11.183,13.559+ c2.569,5.289,2.603,10.623,0.909,16.08c-0.588,1.896-1.381,3.733-2.956,5.314C611.85,136.382,595.781,138.305,581.932,151.48z+ M662.748,162.289c0,0.61-0.087,1.22-0.143,1.956c-3.635-3.45-6.914-7.041-10.685-10.004c-3.721-2.924-7.941-5.212-12.349-8.04+ c4.816-0.307,8.994,1.04,13.304,1.738c-0.018-0.124,0.003-0.259-0.052-0.308c-0.116-0.103-0.266-0.181-0.414-0.233+ c-4.412-1.552-8.894-2.599-13.626-1.972c-0.531,0.07-1.139,0.085-1.622-0.103c-2.155-0.836-4.278-1.754-6.398-2.637+ c0-0.221-0.057-0.401,0.008-0.506c4.558-7.344,4.747-14.879,1.058-22.616c-3.203-6.719-8.321-11.556-14.719-15.158+ c-0.947-1.259,0.155-2.151,0.599-3.269c0.631-0.046,1.256-0.13,1.881-0.13c7.996-0.006,15.993,0.016,23.989-0.015+ c1.265-0.005,2.288,0.224,3.195,1.222c5.771,6.351,11.18,12.964,15.017,20.704c0.545,1.099,0.919,2.412,0.926,3.628+ C662.783,138.46,662.757,150.374,662.748,162.289z M631.438,200.911c0.77-1.488,1.593-2.971,2.14-4.544+ c0.594-1.706,1.559-2.237,3.362-2.192c6.544,0.165,13.092,0.169,19.639,0.197c7.425,0.031,14.851,0.022,22.276,0.033+ c0.638,0.001,1.302-0.079,1.906,0.073c0.348,0.087,0.599,0.564,0.893,0.865c-0.323,0.268-0.617,0.717-0.975,0.777+ c-2.669,0.441-5.407,0.583-8.018,1.237c-6.363,1.593-11.831,4.734-15.833,10.082c-0.678,0.907-1.425,1.34-2.594,1.337+ c-8.463-0.021-16.927,0.017-25.39,0.028c-0.376,0-0.753-0.086-1.511-0.179C628.826,205.829,630.159,203.384,631.438,200.911z+ M626.251,210.256c0.595-0.943,1.529-0.702,2.38-0.701c7.839,0.009,15.679,0.032,23.518,0.05c0.855,0.002,1.71,0,2.948,0+ c-0.724,1.568-1.291,2.761-1.829,3.968c-3.679,8.26-3.888,16.577-0.197,24.87c1.779,3.998,4.57,7.316,7.763,10.271+ c4.226,3.912,8.522,7.749,12.765,11.643c1.221,1.121,2.364,2.329,3.451,3.407c-2.814,2.668-5.46,5.177-8.175,7.751+ c-0.281-0.385-0.68-0.873-1.015-1.401c-6.516-10.292-15.7-17.358-26.822-22.007c-1.583-0.662-2.252-1.455-2.667-3.156+ c-2.415-9.886-7.99-17.667-16.277-23.533c-0.584-0.413-1.175-0.816-1.758-1.231c-0.057-0.041-0.075-0.137-0.173-0.327+ C622.169,216.699,624.216,213.481,626.251,210.256z M634.872,291.721c-0.449-1.101-0.72-2.277-1.04-3.428+ c-0.789-2.843-1.441-5.732-2.387-8.521c-0.433-1.278-0.368-2.189,0.337-3.316c3.823-6.117,6.364-12.732,7.08-19.936+ c0.267-2.681,0.043-5.41,0.043-8.373c0.869,0.262,1.398,0.363,1.878,0.576c7.545,3.345,14.333,7.901,20.017,13.828+ c5.517,5.753,9.557,12.555,12.398,20.071c3.877,10.259,5.256,20.883,5.154,31.773c-0.011,1.164-0.361,1.953-1.348,2.58+ c-4.521,2.874-9.263,4.973-14.776,4.988c-6.161,0.017-12.328,0.273-18.329-1.522c-1.595-0.477-3.162-1.051-4.804-1.601+ c0-1.172-0.049-1.971,0.008-2.763C639.707,307.606,638.06,299.535,634.872,291.721z M637.962,317.902+ c-1.986-0.065-3.256-1.291-4.841-2.252c1.63-6.963,1.821-14.01,1.796-21.096C637.623,302.095,638.741,309.803,637.962,317.902z+ M677.279,292.997c-1.691-7-3.969-13.796-7.747-20.23c2.239-3.181,5.073-5.647,8.424-7.871+ c7.158,7.324,10.845,15.86,10.888,26.049c0.042,9.793-5.235,20.601-9.437,23.495+ C679.328,307.122,678.966,299.977,677.279,292.997z M520.161,284.837c0.592-7.119,2.105-14.066,4.388-20.827+ c0.815-2.414,1.798-4.798,2.971-7.058c7.498-14.448,18.293-25.736,32.674-33.444c8.422-4.513,17.545-6.791,27-7.816+ c5.177-0.561,10.377-0.917,15.536,0.016c6.463,1.168,12.901,2.615,18.463,6.315c12.297,8.18,20.066,22.318,15.804,39.782+ c-1.206,4.941-3.235,9.518-5.845,13.859c-0.122,0.203-0.253,0.41-0.418,0.576c-0.102,0.102-0.278,0.131-0.412,0.19+ c-1.337-1.872-2.677-3.738-4.006-5.612c-4.738-6.68-11.407-10.574-18.978-13.169c-0.604-0.207-1.212-0.423-1.836-0.55+ c-2.305-0.469-4.211-1.511-6.058-3.065c-4.875-4.102-10.507-4.787-16.435-2.64c-1.707,0.618-3.493,1.415-4.815,2.605+ c-2.222,2.001-4.803,2.605-7.587,3.08c-6.241,1.064-12.298,2.777-18.079,5.426c-12.642,5.794-22.422,14.861-30.192,26.249+ c-0.628,0.921-1.216,1.868-1.823,2.803c-0.127-0.036-0.253-0.071-0.38-0.107C520.133,289.245,519.979,287.027,520.161,284.837z+ M599.678,255.769c-7.664-1.111-14.812-0.837-22.155,0.139C584.181,249.2,594.614,250.23,599.678,255.769z M547.029,266.44+ c5.635-3.602,11.954-5.669,18.451-7.223c8.277-1.98,16.642-3.198,25.158-3.128c7.849,0.064,15.406,1.519,22.48,5.086+ c6.63,3.343,11.582,8.4,15.382,14.716c2.701,4.49,3.916,9.413,4.574,14.52c1.072,8.315,1.053,16.586-1.005,24.781+ c-2.562,10.206-7.772,18.852-15.287,26.156c-7.156,6.955-15.512,12.029-24.729,15.74c-3.484,1.403-7.031,2.65-10.493,4.104+ c-1.784,0.749-3.359,0.583-5.054-0.205c-7.086-3.292-12.371-8.529-16.012-15.319c-3.022-5.635-4.521-11.77-4.511-18.215+ c0.001-0.784,0.091-1.569,0.146-2.447c6.801-1.81,13.202-3.811,18.943-7.458c4.715-2.995,7.903-7.157,9.423-12.56+ c0.108-0.384,0.217-0.77,0.3-1.16c1.021-4.831,0.719-6.241-2.299-10.203c2.679-0.599,5.257-0.46,7.878-0.694+ c-1.482-0.189-2.964-0.542-4.445-0.535c-3.81,0.018-7.409,0.946-10.836,2.68c-10.017,5.069-16.678,12.962-19.165,23.881+ c-2.813,12.352-0.12,23.621,8.057,33.461c6.412,7.715,14.739,11.404,24.628,12.174c5.851,0.455,11.655,0.601,17.456-0.37+ c10.151-1.698,18.901-6.283,26.506-13.091c2.795-2.503,5.374-5.254,7.977-7.964c2.845-2.962,5.952-5.58,9.52-7.62+ c6.488-3.711,12.987-3.236,19.47,0.032c0.114,0.058,0.167,0.237,0.359,0.525c-1.454,0.175-2.826,0.36-4.202,0.501+ c-7.186,0.736-12.26,4.74-16.018,10.585c-3.03,4.713-5.911,9.531-9.776,13.62c-2.189,2.316-4.516,4.529-6.968,6.563+ c-11.775,9.771-25.679,14.418-40.59,16.381c-9.917,1.305-19.836,0.691-29.544-1.614c-6.362-1.511-12.573-3.671-18.531-6.471+ c-9.658-4.538-17.595-11.168-23.25-20.17c-7.062-11.241-10.103-23.54-8.444-36.892+ C515.447,295.501,527.843,278.705,547.029,266.44z M612.765,346.257c5.368,2.825,10.963,4.407,16.62,5.891+ c-1.789,2.533-10.577,7.465-16.486,9.366c-10.37,3.336-20.817,2.837-31.384,0.66C592.767,358.373,603.62,353.887,612.765,346.257+ z M563.462,306.92c7.262-1.822,13.801-4.971,18.983-10.55c0.096-0.103,0.276-0.128,0.562-0.252+ c1.259,1.484,1.466,3.286,1.252,5.102c-0.755,6.393-3.856,11.435-9.147,15.061c-3.648,2.5-7.739,4.122-11.919,5.508+ c-2.183,0.724-4.387,1.382-7.143,2.246c0.258-1.8,0.347-3.142,0.656-4.432c0.935-3.907,2.42-7.594,4.569-11.01+ C561.816,307.733,562.441,307.176,563.462,306.92z M563.437,305.885c0.346-0.557,0.554-1.021,0.874-1.387+ c3.966-4.525,8.89-7.658,14.445-9.854c0.983-0.389,1.981-0.534,3.064,0.29C578.924,299.442,570.557,304.425,563.437,305.885z+ M643.441,379.818c0.628,0.002,1.255,0.073,2.037,0.121c0,9.174,0,18.25,0,27.303c-1.749,0.515-119.761,0.321-124.138,0.321+ c-0.045-0.726-0.133-1.641-0.134-2.416c-0.01-6.156,0.034-14.303-0.03-20.459c0,0,0.326-0.478,1.516-1.26+ c0.666-0.438,1.272-0.967,1.913-1.445c2.435-1.814,5.014-2.753,8.209-2.575c5.421,0.302,10.87,0.074,16.305,0.163+ c1.414,0.023,2.878,0.216,4.223,0.637c5.109,1.6,10.233,3.104,15.514,4.05c9.482,1.699,18.955,1.46,28.361-0.36+ c5.083-0.984,10.064-2.497,15.097-3.745c0.843-0.209,1.721-0.397,2.583-0.397C624.413,379.752,633.927,379.786,643.441,379.818z+ M637.875,378.688c2.344-0.219,4.34-0.964,5.962-1.456C643.453,378.965,641.701,379.144,637.875,378.688z M384.732,502.769+ c-0.056,0.584-0.012,1.225-0.198,1.789c-0.246,0.748-0.788,1.174-1.669,0.852c-2.142-0.782-4.291-1.546-6.672-2.401+ C377.948,502.258,382.05,502.185,384.732,502.769z M376.257,493.552c0-14.835,0-29.519,0-44.423+ c0.776-0.101,1.51-0.197,2.354-0.307c2.857,14.847,4.74,29.549,4.676,44.731C380.784,493.552,378.591,493.552,376.257,493.552z+ M384.332,493.508c0.307-15.148-1.818-29.902-4.882-44.802c7.612-1.562,14.999-3.416,21.867-7.118+ c-2.661-10.851-3.646-21.743-5.074-32.755c6.357,0,12.553,0,18.936,0c0,28.177,0,56.275,0,84.675+ C404.796,493.508,394.684,493.508,384.332,493.508z M396.01,407.722c-0.383-3.337-0.76-6.617-1.18-10.284+ c6.931-0.016,13.583-0.014,20.388,0.058c0,3.492,0,6.724,0,10.226C408.764,407.722,402.551,407.722,396.01,407.722z+ M381.925,388.251c0-5.063,0-9.992,0-15.094c30.334,0,60.525,0,90.715,0c0.485,1.614,0.641,11.335,0.241,14.967+ C471.206,388.608,385.133,388.758,381.925,388.251z M364.833,361.953c-0.71-0.847-1.288-1.804-2.067-2.91+ c-1.89,1.104-3.656,2.137-5.782,3.379c2.368,3.212,7.131,9.296,7.079,9.296c-7.67,0.048-15.97,0.092-23.64,0.126+ c-0.541,0.002-1.083-0.077-1.876-0.137c0-5.432,0-10.757,0-16.177c1.085-0.557,2.401-1.127,3.601-1.88+ c1.187-0.745,3.384-1.618,3.083-2.819c-0.137-2.017-1.939-2.023-4.349-2.187c1.056-1.517,3.208-1.833,4.223-3.29+ c0.521-0.748,1.337-0.671,2.108-0.902c0.514,0.606,1.086,1.25,1.625,1.92c2.01,2.497,4.469,3.535,7.777,3.144+ c10.954-1.295,21.857-2.881,32.68-5.009c0.225-0.044,0.466-0.006,1.047-0.006c0.103,4.541,0.105,9.055,0.335,13.557+ c0.228,4.463,0.702,9.105,1.074,13.755c-0.708,0-1.234,0.022-1.841,0.025c-4.877,0.017-11.824-0.032-16.701,0.034+ c0,0-0.244-0.38-1.075-1.357C369.702,367.658,367.242,364.827,364.833,361.953z M371.5,371.771l-6.125-0.021+ c-1.944-2.308-4.981-6.324-7.121-9.023c1.641-0.906,2.872-1.586,4.062-2.242C365.314,364.194,368.593,368.174,371.5,371.771z+ M321.388,361.874c-1.475-0.708-2.885-1.385-4.417-2.121c-1.125,2.931-2.156,5.761-3.295,8.547+ c-1.784,4.362-0.993,3.436-5.287,3.549c-1.03,0.027-2.062,0.004-3.362,0.004c-0.094-12.88-0.188-25.6-0.283-38.55+ c4.222,0.32,7.817-1.893,11.841-3.667c1.018,2.275,1.997,4.348,2.85,6.472c0.162,0.403,0.418,0.788,0.418,0.788+ c-0.582,0.747-2.075,2.068-2.77,2.725c-1.488,1.409-1.333,2.44,0.516,3.193c0.424,0.173,0.894,0.232,1.454,0.372+ c-0.465,3.286,0.572,6.25,1.336,9.24c0.538,2.106,1.031,2.316,3.334,2.053c0.372,0.926,0.687,1.917,1.157,2.829+ c0.545,1.057,1.162,2.319,2.568,2.151c1.208-0.145,1.787-1.224,2.041-2.396c0.049-0.228,0.144-0.445,0.268-0.819+ c2.4,0.928,4.373,3.61,7.493,1.577c0,4.73,0,9.186,0,13.653c-1.619,0.467-14.777,0.619-18.841,0.169+ C319.372,368.301,321.059,365.339,321.388,361.874z M317.008,371.717c-1.239,0-2.323,0-3.587,0+ c1.436-3.564,2.799-6.946,4.23-10.497c0.844,0.351,1.624,0.675,2.629,1.093C319.501,365.606,318.312,368.68,317.008,371.717z+ M222.339,363.862c0-2.578,0-4.931,0-7.477c-5.31,0-11.506,0-16.511,0l1.062-0.442c2.156-1.044,4.312-2.088,6.633-3.212+ c2.178,1.842,4.542,1.58,6.923,0.101c1.719-1.068,2.193-2.629,1.784-4.271c4.272-3.243,8.38-6.361,12.737-9.668+ c-0.585,4.031-1.091,7.858-0.558,11.745c0.543,3.961,2.286,7.434,4.24,11.064c-0.783,0.244-1.413,0.44-2.211,0.689+ c0,3.031,0,6.048,0,9.27c-1.778,0-3.381,0-5.27,0c0-2.537,0-4.971,0-7.798C228.027,363.862,225.337,363.862,222.339,363.862z+ M187.872,371.671c-2.367,0-4.79,0-7.416,0c-0.042-0.704-0.119-1.401-0.12-2.098c-0.008-12.08-0.019-24.16,0.007-36.239+ c0.003-1.594,0.109-3.202,0.339-4.779c0.375-2.572,1.597-4.601,3.916-5.998c6.505-3.917,12.953-7.929,19.436-11.882+ c2.855-1.741,5.741-3.43,8.843-5.279c2.402,6.209,4.757,12.298,7.179,18.559c-0.465,0.308-0.961,0.664-1.483,0.975+ c-1.648,0.982-3.297,1.963-4.964,2.914c-1.368,0.781-2.15,1.931-2.132,3.501c0.019,1.653-0.84,2.577-2.169,3.424+ c-3.978,2.535-7.854,5.229-11.819,7.785c-1.581,1.019-2.245,2.342-2.223,4.199c0.057,4.799,0.026,9.6,0.029,14.4+ c0.001,0.792,0,1.583,0,2.712c-2.32,0-4.51,0-6.707,0C187.54,366.541,188.445,369.064,187.872,371.671z M214.57,306.656+ l-1.018-2.356c-2.551,0-7.483,0.018-10.067,0.018c0,0.089,2.951-1.368,3.544-1.691c2.584-1.406,5.141-2.87,7.778-4.172+ c3.463-1.71,6.235-0.326,7.261,3.777C219.657,303.655,217.164,305.125,214.57,306.656z M231.06,298.587+ c2.513-1.385,6.072-0.167,7.391,2.372c1.369,2.635,0.324,5.978-2.238,7.425c-5.063,2.86-10.099,5.77-15.147,8.657+ c-0.603,0.345-1.218,0.67-2.078,1.142c-1.376-3.552-2.687-6.933-4.066-10.492C220.517,304.526,225.762,301.508,231.06,298.587z+ M214.234,351.583c-0.289-0.352-0.493-0.921-0.682-1.295c-1.258-2.496-2.456-5.024-3.736-7.508+ c-0.394-0.764-0.288-1.35,0.204-1.974c1.082-1.369,2.509-1.971,4.214-1.767c0.501,0.06,1.16,0.359,1.403,0.758+ c1.609,2.644,3.473,5.661,5.05,8.396C217.797,347.943,215.688,348.677,214.234,351.583z M221.182,349.787+ c1.025,2.509-5.411,4.513-5.995,2.625C214.623,350.585,220.328,347.697,221.182,349.787z M196.659,356.262+ c-0.099-0.714-0.245-1.314-0.253-1.915c-0.028-2.319,0.139-4.651-0.055-6.954c-0.189-2.238,0.739-3.501,2.562-4.656+ c1.629-1.032,2.758-0.809,4.571-0.294c-0.642,2.022-1.505,4.663-2.136,6.71c-0.629,2.039-0.061,3.495,1.97,4.138+ c1.49,0.471,3.079,1.041,4.479,0.293c1.375-0.734,2.034-3.771,3.042-6.085c0.749,1.453,1.454,2.821,2.333,4.526+ c-1.812,0.933-3.411,1.692-4.968,2.543c-2.159,1.179-4.245,1.495-6.85,1.65C199.866,356.307,198.342,356.262,196.659,356.262z+ M209.984,357.431c0,2.255,0,4.223,0,6.343c-4.549,0-8.905,0-13.43,0c0-2.136,0-4.161,0-6.343+ C201.062,357.431,205.488,357.431,209.984,357.431z M204.562,342.687c1.653,0.385,2.901,0.637,4.362,0.89+ c0.717,1.397,1.31,2.459,1.31,2.459c-0.541,1.319-1.586,4.174-1.987,5.546c-0.334,1.144-1.11,1.491-2.179,1.331+ c-0.703-0.106-1.416-0.245-2.082-0.487c-1.922-0.696-2.142-1.203-1.504-3.213C203.122,347.198,203.939,344.637,204.562,342.687z+ M208.18,342.617c-1.947-0.403-3.912-0.811-6.362-1.318c0.778-0.707,1.117-1.101,1.534-1.379+ c2.126-1.419,4.312-2.751,6.392-4.232c0.944-0.672,1.688-1.624,2.53-2.441c0.333-0.323,0.634-0.758,1.038-0.912+ c2.309-0.881,4.678-1.495,7.407-1.412c0.482,3.706-1.621,6.057-3.577,8.524C213.452,336.366,209.246,338.557,208.18,342.617z+ M212.368,331.279c0.832-3.208,3.72-3.228,5.595-4.837c0.732,1.138,1.313,2.042,1.986,3.087+ C217.399,330.118,215.115,330.645,212.368,331.279z M189.115,368.397c0-1.034,0-2.069,0-3.307c13.671,0,27.192,0,40.982,0+ c0,2.29,0,4.34,0,6.739c-13.621,0.09-27.148,0.019-40.982,0.055C189.115,370.578,189.115,369.487,189.115,368.397z+ M211.365,363.786c0-1.961,0-4.094,0-6.38c3.233,0,6.386,0,9.709,0c0,2.067,0,4.47,0,6.458+ C219.458,363.865,214.771,363.786,211.365,363.786z M252.553,285.454c3.137-0.715,6.067-1.169,8.849-2.077+ c2.71-0.885,5.268-2.234,7.827-3.351c2.245,1.792,4.43,3.788,6.866,5.409c2.434,1.62,5.118,2.866,7.746,4.304+ c-0.698,1.734-1.472,3.467-2.096,5.252c-0.855,2.444-2.328,4.372-4.547,5.669c-2.315,1.353-3.858,3.252-4.76,5.774+ c-0.37,1.034-1.062,1.954-1.625,2.916c-0.83,1.418-2.085,2.089-3.715,2.281c-6.982,0.822-13.299,3.264-18.709,7.851+ c-0.112,0.095-0.284,0.117-1.06,0.419C252.906,308.674,253.862,297.195,252.553,285.454z M228.821,236.404+ c6.713-3.13,13.768-5.012,21.128-5.88c2.249-0.265,3.72,0.446,4.651,2.394c0.79,1.653,1.466,3.361,2.234,5.025+ c0.589,1.278,0.226,2.145-0.782,3.124c-4.379,4.254-7.493,9.338-9.216,15.196c-0.671,2.282-0.955,4.677-1.408,7.022+ c-0.087,0.45-0.142,0.906-0.298,1.91c-6.754-9.14-13.861-17.373-20.119-26.618C226.37,237.796,227.548,236.998,228.821,236.404z+ M224.52,237.842c-2.017-2.144-2.916-4.683-2.56-7.609c0.255-2.09,1.669-3.516,3.43-4.328c1.78-0.821,3.735-1.4,5.674-1.714+ c4.788-0.776,9.547-0.498,14.173,1.093c2.285,0.786,4.334,1.955,6.224,4.177C241.63,230.32,232.738,232.798,224.52,237.842z+ M246.199,264.754c0.763-8.782,4.427-16.241,10.23-22.744c0.294-0.329,0.669-0.585,1.388-1.203+ c0.603,2.838,1.204,5.285,1.632,7.761c0.706,4.089,1.142,8.229,1.979,12.288c1.312,6.366,3.384,12.476,7.27,17.986+ c-4.983,3.162-10.321,4.769-16.029,5.579c-0.619-2.256-1.057-4.442-1.824-6.506c-1.194-3.21-2.547-6.367-3.969-9.484+ C246.322,267.218,246.084,266.084,246.199,264.754z M317.456,230.037c0.066,1.408,0.254,2.81,0.388,4.215+ c-1.801-2.668-1.788-5.55-0.403-8.507C317.442,227.176,317.389,228.61,317.456,230.037z M318.909,238.105+ c0.921,0.937,2.403,1.321,3.845,2.075c-0.147,1.277-0.481,2.848-0.471,4.417c0.015,2.297,0.651,6.636,1.134,8.862l-2.292,4.667+ c-0.932,0.675-2.764,1.392-3.896,2.059c-3.745-8.025-6.75-15.982-6.022-24.802c0.574-6.944,3.722-12.616,9.089-17.052+ c0.102-0.084,0.285-0.068,0.617-0.139c0.316,1.289-0.031,2.083-1.056,2.747C314.437,224.45,313.644,232.748,318.909,238.105z+ M323.701,170.374c4.093-0.268,7.908,0.074,11.597,1.171c6.704,1.994,12.958,4.958,18.668,9.053+ c1.667,1.196,2.451,1.61,2.451,1.61c0.604,5.458,0.649,13.677-0.062,18.646c-2.833-1.583-5.549-2.734-8.316-3.304+ c-2.217-0.456-4.475-0.425-6.891-0.205c-1.006,0.092-2.168,0.197-2.168,0.197c-6.917-3.396-14.207-4.811-21.403-3.87+ c-0.306,0.04-0.626-0.029-1.065-0.054c-0.623-1.075-1.257-2.17-1.977-3.415C318.833,184.183,322.376,177.799,323.701,170.374z+ M313.736,188.794c-3.304-6.326-4.871-12.905-3.057-19.876c1.608-6.176,6.006-9.928,11.781-12.267+ C325.591,164.063,320.547,182.695,313.736,188.794z M328.344,155.021c2.028,3.001,5.807,9.38,6.708,12.889+ c0.193,0.751,0.316,1.521,0.521,2.524c-2.097-0.276-4.081-0.761-5.948-0.883c-1.885-0.123-3.655,0.116-5.711,0.116+ c0.554-4.291,1.21-8.253,0-13.338c0.011-0.01,0.06-0.081,0.127-0.11C326.406,155.208,328.344,155.021,328.344,155.021z+ M329.387,154.904c0.785-0.183,2.15-0.141,2.643-0.122c7.688,0.281,12.972,3.574,17.477,9.639+ c3.367,4.533,5.253,9.818,6.341,15.362c0.027,0.139,0.173,0.698,0.173,0.698c-3.44-1.958-6.973-4.188-10.364-5.923+ c-2.403-1.231-4.988-2.108-7.494-3.138c-0.66-0.271-1.507-0.71-1.507-0.71C335.651,165.26,332.781,159.865,329.387,154.904z+ M367.375,226.682c-0.56,2.116-0.68,4.265-0.132,6.404c0.672,2.623,2.226,4.31,4.413,2.435c-1.146,1.776-2.408,3.185-3.822,2.022+ c-0.714-0.586-1.368-1.396-1.722-2.242c-1.455-3.475-1.425-7.032-0.027-10.508c0.367-0.913,1.123-1.764,1.901-2.396+ c1.433-1.165,3.045-0.814,4.295,2.374C370.312,222.396,367.989,224.365,367.375,226.682z M371.747,225.414+ c1.805,3.307,1.493,7.713-0.779,9.825c-0.161,0.15-0.704,0.487-1.208,0.333c-0.764-0.233-1.042-1.305-1.321-2.061+ c-0.992-2.686-0.649-5.349,0.556-7.877C369.674,224.212,371.036,224.112,371.747,225.414z M370.838,257.236+ c1.464,2.247,2.637,4.187,3.95,6.026c1.341,1.878,2.821,3.657,4.325,5.589c-3.763,1.499-7.588,2.786-11.196,4.525+ c-3.577,1.724-6.936,3.902-10.715,6.067c0.259-0.837,0.466-1.523,0.683-2.205c2.112-6.613,4.25-13.218,6.327-19.842+ c0.664-2.12,1.156-4.293,1.755-6.434c0.1-0.357,0.345-0.673,0.6-1.155c3.302,4.057,2.936,8.712,2.916,13.327+ C370.403,261.072,370.416,259.532,370.838,257.236z M332.771,282.583c-6.479-2.497-12.927-5.341-19.125-7.729+ c3.242-6.409,6.832-13.513,10.229-20.229c0.365,0.598,0.573,1.649,0.83,2.156c1.414,2.788,2.895,5.513,5.399,7.534+ c0.44,0.355,0.812,0.727,0.812,0.727C331.493,270.268,332.207,276.942,332.771,282.583z M331.792,265.521+ c2.221,1.073,4.208,1.875,6.197,2.341c-0.95,2.691-1.863,5.275-2.846,8.059c-1.611-0.888-2.289-1.421-2.289-1.421+ C332.714,272.399,332.054,267.77,331.792,265.521z M324.568,280.123c2.37,0.948,5.909,2.369,8.322,3.195+ c0,0,0.248,1.133,0.397,2.224c0.64,4.666,1.197,9.344,1.904,13.999c0.995,6.549,2.105,13.08,3.144,19.622+ c0.299,1.885,0.522,3.782,0.819,5.953c-1.651,0.751-3.272,1.488-5.031,2.288c-0.474-0.943-0.845-1.634-1.175-2.344+ c-4.519-9.693-8.979-19.415-13.575-29.071c-1.506-3.164-3.674-6.639-5.17-9.974c-0.322-0.717,0.478-1.311,0.905-1.589+ c2.341-1.523,5.437-3.528,7.781-5.047C322.891,279.38,323.763,279.801,324.568,280.123z M335.637,294.634+ c-0.847-6.057-1.693-12.114-2.606-18.643c1.29,0.75,2.086,1.212,3.041,1.768c0.573-2.175,1.106-4.197,1.639-6.219+ c0.998,2.563,2.144,4.376,2.144,4.376C338.312,281.312,335.75,292.417,335.637,294.634z M325.79,256.836+ c-2.606-5.661-3.292-11.466-1.702-17.943c0.952,1.02,1.631,1.893,2.454,2.598c1.652,1.416,2.468,1.363,4.091-0.064+ c1.747-1.536,1.758-1.537,3.858-0.351c1.897,1.071,3.824,0.744,5.683-0.965c1.787-1.642,2.914-1.861,5.036-0.621+ c1.717,1.003,3.301,2.232,5.082,3.456c2.472-0.624,3.916-2.467,4.717-4.811c0.714-2.089,1.164-4.268,1.871-6.935+ c0.245,0.93,0.394,1.402,0.493,1.884c0.425,2.071,0.388,3.694,2.313,4.886c0.646,0.4,1.377,0.759,1.377,0.759+ c-0.403,4.132-0.601,9.909-1.601,13.905c-1.774,7.092-7.367,12.908-15.579,14.098+ C335.829,267.898,329.193,264.229,325.79,256.836z M324.485,235.756c2.893,1.472,5.388,1.363,7.926,0.829+ c0.845,3.324-2.449,3.295-3.448,5.028C326.263,240.652,325.325,238.646,324.485,235.756z M335.574,229.843+ c-0.018-0.242,0.663-0.535,1.393-1.087c-0.025,3.633,1.338,6.022,4.075,7.687c-0.412,1.395-1.097,2.503-2.222,3.336+ c-1.44,1.066-2.702,1.152-3.979,0.273c-1.166-0.803-1.744-2.371-0.978-3.841C334.921,234.182,335.748,232.185,335.574,229.843z+ M344.835,236.085c-4.054,0.034-6.77-2.272-6.799-5.774c-0.034-4.16,2.104-6.553,5.884-6.582+ c4.027-0.031,6.419,2.451,6.417,6.657C350.335,234.175,348.521,236.054,344.835,236.085z M351.28,232.021+ c0.095-0.783,0.186-1.566,0.308-2.585c1.424,0,2.614,0,3.81,0c0.718,4.212-1.523,10.012-4.835,12.215+ c-1.317-0.895-2.614-1.971-4.079-2.716c-1.42-0.722-3.014-1.102-4.566-1.997c0.629,0,1.259,0.02,1.887-0.004+ c1.109-0.043,2.273,0.083,3.315-0.211C349.448,236.066,350.974,234.544,351.28,232.021z M345.776,267.579+ c9.025-2.34,13.412-7.954,15.505-17.735c1.318,1.72,1.318,1.72,1.318,1.72c-2.661,7.187-6.563,12.001-9.606,16.536+ c-1.192,1.777-2.527,3.468-4.007,5.473C347.861,271.471,346.874,269.629,345.776,267.579z M348.396,274.292+ c-0.484,0.711-2.161,3.047-2.864,4.014c-0.136-1.201-0.553-2.409-0.553-2.409c0.771-1.021,1.582-2.457,1.812-3.688+ C348.216,273.961,348.396,274.292,348.396,274.292z M361.688,246.031c0.707,0.235,2.188,0.406,2.188,0.406+ c0.039,0.831-0.459,2.751-1.031,4.219c-0.608-0.779-1.406-2.344-1.406-2.344C361.545,247.667,361.711,246.929,361.688,246.031z+ M361.719,244.938c0.011-1.233,0.093-4.236,0.093-6.038c0.874,0.568,3.147,0.415,3.146,0.726+ c-0.004,1.896-0.49,4.188-0.868,5.795C362.633,245.163,361.719,244.938,361.719,244.938z M357.566,225.492+ c-1.22-3.72-1.975-7.422-3.176-11.084c1.236-1.076,2.697-2.416,4.173-3.7c3.081,1.967,3.656,5.594,4.349,8.923+ C359.938,220.525,358.716,222.763,357.566,225.492z M342.729,285.697c2.453-5.348,6-9.98,9.437-14.688+ c4.153-5.689,8.061-11.542,10.685-18.11c1.025-2.566,1.508-5.349,2.243-8.032c0.097-0.354,0.22-0.702,0.43-1.365+ c1.216,0.912,1.021,1.861,0.824,2.64c-0.548,2.162-1.011,4.391-1.914,6.411c-3.399,7.601-7.508,14.806-12.485,21.505+ c-2,2.692-3.965,5.417-5.819,8.211c-3.578,5.393-5.029,11.337-4.257,17.782c0.289,2.412,1.054,4.673,2.495,6.66+ c0.531,0.732,1.023,1.43,0.148,2.46c-2.233-2.505-3.561-5.307-4.024-8.528C339.746,295.439,340.538,290.475,342.729,285.697z+ M351.606,279.112c-1.156-0.638-0.911-1.291-0.397-2.022c1.607-2.285,3.264-4.54,4.77-6.891c1.673-2.612,3.202-5.318,4.794-7.983+ c0.322-0.539,0.648-1.076,0.972-1.614C360.742,268.092,356.188,273.594,351.606,279.112z M357.866,273.954+ c-2.682,6.768-5.363,13.536-8.152,20.573c-0.3-0.522-0.588-0.852-0.693-1.233c-0.758-2.763-1.523-5.526-2.176-8.314+ c-0.148-0.631-0.056-1.471,0.258-2.027c0.736-1.303,1.674-2.491,2.671-3.929c0.406,0.738,0.688,1.251,1.079,1.963+ c2.655-2.048,4.445-4.775,6.54-7.209C357.551,273.837,357.709,273.895,357.866,273.954z M341.478,322.564+ c3.815-11.023,7.638-22.043,11.466-33.061c0.367-1.056,0.872-2.073,1.154-3.149c0.947-3.615,3.523-5.796,6.582-7.515+ c0.714-0.401,1.676-0.672,2.469-0.57c4.68,0.599,8.501,2.958,12.197,6.081c-4.578,6.397-8.968,12.491-13.314,18.617+ c-3.792,5.346-7.57,10.703-11.27,16.112c-0.792,1.158-1.655,1.763-3.054,1.938c-1.733,0.217-3.458,0.572-4.54,2.293+ c-0.319,0.508-1.155,0.691-2.162,1.249C341.236,323.572,341.31,323.052,341.478,322.564z M367.017,248.206+ c0.01-1.493,0.246-3.008,0.581-4.469c0.252-1.098,0.806-2.127,1.248-3.246c0.723,3.087,0.049,7.399-0.096,10.664+ C368.156,249.812,367.012,249.011,367.017,248.206z M364.71,220.947c-0.741-2.77-1.679-5.989-2.778-8.378+ c0,0,0.818-0.548,1.787-0.892c1.375,2.5,2.438,5.281,3.226,7.958C366.148,220.103,365.55,220.454,364.71,220.947z M361.472,211.5+ c-0.511-0.811-1.222-1.604-2.118-2.294c0,0-1.964-2.677-2.708-3.81c0,0,0.153-1.442,0.417-2.771+ c2.284,2.485,4.404,5.188,5.744,7.995C362.061,211.111,362.037,211.127,361.472,211.5z M357.792,209.646+ c-1.756,1.649-3.603,3.231-4.561,4.131c0.561,3.102,0.947,5.266,1.351,7.427c0.056,0.301,0.139,0.68,0.328,0.859+ c1.809,1.708,1.586,3.269,1.653,5.052c0.011,0.29-1.37,1.018-1.807,1.068c-1.1,0.127-2.224,0.042-3.417,0.042+ c-0.342-0.667-0.648-1.304-0.989-1.92c-1.377-2.489-3.56-3.65-6.336-3.538c-2.698,0.109-4.98,1.061-6.219,3.732+ c-0.618,1.333-0.674,1.307-2.438,1.599c-1.666-4.293-4.878-6.031-9.534-5.143c-0.602-2.063-0.378-4.046-0.184-5.994+ c1.181-11.876,13.602-19.313,24.544-14.733C353.856,203.764,356.622,206.246,357.792,209.646z M324.243,216.462+ c0,2.522,0.01,4.621-0.017,6.72c-0.003,0.197-0.24,0.392-0.62,0.972C322.402,221.176,323.34,219.026,324.243,216.462z+ M322.79,214.968c0.215-0.745,0.427-1.799,0.668-2.634C323.938,213.363,324.103,214.516,322.79,214.968z M324.219,210.312+ c2.92-5.764,8.781-10.167,15.073-11.479c0,0,1.25,0.542,2.312,1.271c0,0-1.285,0.139-1.537,0.195+ c-6.907,1.537-12.074,5.179-14.642,12.008c-0.098,0.262-0.336,0.471-0.592,0.817+ C324.406,210.594,324.219,210.312,324.219,210.312z M341.021,198.521c4.945-0.652,10.604,0.333,15.137,3.515+ c0,0-0.178,1.11-0.428,2.631c-0.459-0.312-0.977-0.912-1.396-1.233c-2.792-2.14-6.833-3.517-11.417-3.642+ C342.917,199.792,342.542,199.625,341.021,198.521z M337.069,198.011c-5.687,2.128-10.702,4.887-13.558,10.813+ c-2.181-4.98-4.183-9.55-6.185-14.12C320.674,193.201,331.656,194.962,337.069,198.011z M328.195,223.784+ c3.684,0.096,5.723,2.015,6.241,5.872c0.428,3.191-0.564,5.266-2.901,6.064c-3.282,1.122-6.382,0.116-7.803-2.715+ c-0.556-1.107-0.915-2.4-1.007-3.635C322.457,225.789,324.592,223.69,328.195,223.784z M320.062,260.021+ c-1.954,4.986-5.007,10.3-7.656,15.14c3.32,1.355,6.448,2.632,9.756,3.982c-2.452,1.542-4.617,2.887-6.762,4.262+ c-0.536,0.343-1.036,0.754-1.504,1.187c-0.631,0.584-0.273,1.665-0.272,1.663c0.402,0.962,7.938,17.11,11.307,24.358+ c2.592,5.578,5.268,11.118,8.026,16.925c-2.045,1.225-4.625,2.462-6.333,4.661c-1.429-2.854-3.187-6.639-4.542-9.345+ c3.667-1.812,3.458-3.75,0.729-4.896c0.583-0.301,1.149-0.837,1.396-1.312c0.179-0.344,0.437-1.026,0.399-1.389+ c-0.074-0.692-0.399-2.299-2.649-2.59c0,0,1.505-2.559-1.854-3.683c-1.015-0.339-1.934-0.593-2.508-1.495+ c-0.351-0.55-1.752-1.145-3.096-1.208c0,0-0.328-1.544-1.152-2.379c0,0,0.394-0.722,0.527-1.675+ c0.306-2.189-1.937-3.224-3.872-2.055c-0.67,0.405-1.251,0.988-1.798,1.56c-0.476,0.498-0.847,1.097-1.496,1.522+ c-0.657-9.527-1.466-18.838-4.125-27.859c-0.158,0.023,2.224,18.174,2.072,18.219c-1.191-3.04-4.275-10.375-4.395-10.344+ c0.316,1.121,0.606,2.249,0.952,3.36c1.093,3.51,2.346,6.977,3.259,10.533c0.549,2.14,0.625,4.409,0.811,6.629+ c0.04,0.479-0.226,1.132-0.576,1.473c-2.471,2.398-5.155,4.495-8.535,5.608c-0.746-1.739-2.471-4.969-2.619-4.918+ c0.485,1.968,0.971,3.937,1.481,6.006c-0.798,0.594-1.546,1.151-2.54,1.892c-1.956-3.532-4.39-5.957-8.524-7.18+ c3.1,2.068,6.116,4.204,7.624,8.368c-1.328-0.413-2.236-0.612-3.075-0.97c-6.717-2.864-13.574-3.258-21.061,0.38+ c0.427-1.303,0.491-1.512,2.826-2.613c1.342-0.633,2.853-0.969,4.323-1.255c1.396-0.271,2.84-0.302,4.564-0.468+ c-2.776-1.054-4.735-0.095-7.118-0.376c0.878-1.856,1.543-3.67,2.556-5.262c0.701-1.102,1.76-2.094,2.875-2.793+ c2.624-1.646,4.524-3.8,5.439-6.758c0.989-3.197,2.76-5.877,4.933-8.402c1.283-1.49,2.134-3.355,3.157-5.064+ c0.695-1.161,1.215-2.457,2.057-3.495c1.864-2.298,3.812-4.501,4.88-7.341c0.462-1.228,1.406-2.203,2.72-2.541+ C307.202,266.405,314.046,263.269,320.062,260.021z M317.404,329.219c1.768-1.076,4.471-2.469,5.189-3.438+ c0.966,2.052,2.059,4.332,2.953,6.432c0.176,0.413,0.391,0.745,0.391,0.745c-1.09,1.341-2.913,3.353-4.337,4.91+ C320.12,334.816,318.793,332.082,317.404,329.219z M319.141,342.734c-0.841-0.216-2.183-0.171-2.468-1.321+ c-0.256-1.032,2.231-2.636,3.468-3.82c0.406,0.609,0.688,1.203,0.688,1.203C320.344,339.734,319.272,341.747,319.141,342.734z+ M306.992,308.351c-0.629,0.062-1.233,0.147-1.839,0.176c-0.628,0.03-1.259,0.007-2.18,0.007+ c0.405-0.472,0.653-0.805,0.945-1.093c1.875-1.852,3.773-3.679,5.632-5.546c0.677-0.68,1.23-1.53,2.581-1.083+ c0.994,0.397,0.536,2.022,0,2.439c-1.311,0.51-2.617,0.892-3.801,1.51C306.548,305.69,306.429,306.154,306.992,308.351z+ M311.417,304.458c0.997-0.275,1.855,0.436,2.125,1.75c-1.792,0.292-3.897,1.264-5.542,2.01c-0.34-0.438-0.688-1.406-0.5-1.927+ C308.542,305.063,310.054,304.833,311.417,304.458z M317.469,308.5c-2.467-0.104-5.469-0.375-7.781-0.188+ C313.406,306.812,315.889,306.28,317.469,308.5z M281.966,346.811c0.272,0,0.883-0.033,1.489,0.006+ c2.466,0.16,4.941,0.249,7.391,0.546c1.806,0.22,3.302-0.354,4.699-1.323c3.83-2.657,5.877-6.403,6.561-10.955+ c0.082-0.545,0.148-1.589,0.269-2.126l1.14,0.146c0,0,0.055,0.953,0.078,1.441c0.138,2.949,0.211,5.901,0.342,8.85+ c0.046,1.043-0.24,1.733-1.214,2.342c-3.582,2.242-7.135,4.539-10.602,6.954c-3.842,2.677-8.201,3.821-12.692,4.663+ c-0.231,0.043-0.479,0.03-0.714,0.001c-0.149-0.019-0.289-0.117-0.408-0.169C279.487,353.836,280.669,350.487,281.966,346.811z+ M278.218,353.434c0-2.422,0-4.655,0-7.26c0.889,0.172,1.557,0.3,2.195,0.423C280.41,349.106,279.691,351.368,278.218,353.434z+ M295.896,344.546c-3.576,2.993-8.102,2.194-10.66-1.797c-1.238-1.933-2.099-4.458-2.25-6.688+ c2.923-1.213,5.874-2.608,8.948-3.633c1.288-0.43,2.842-0.15,4.267-0.063c1.655,0.101,3.589,0.318,5.132,0.489+ c0.021-0.104-0.027,0.504-0.038,0.638C300.926,337.874,299.342,341.662,295.896,344.546z M287.375,346.083+ c-2.575-0.222-6.451-0.573-9.097-0.801c-0.082-1.864-0.068-4.251-0.068-4.251c2.008,0,2.136-3.953-0.238-3.953+ c0,0-8.849-0.061-13.163,0.027c-1.403,0.029-2.205-0.493-2.844-1.68c-1.572-2.92-1.729-5.961-0.815-9.061+ c0.472-1.601,1.101-3.177,1.844-4.673c2.642-5.316,6.989-8.154,12.899-8.596c2.471-0.185,4.934-0.208,7.728,0.601+ c-1.178,0.592-2.064,1.037-3.207,1.612c2.663-0.102,4.935-0.219,7.209-0.253c0.521-0.008,1.046,0.276,1.959,0.536+ c-0.752,0.406-1.16,0.695-1.613,0.86c-2.561,0.932-4.27,2.748-5.373,5.172c-1.145,2.515-1.552,5.161-1.532,7.929+ c0.025,3.471,0.361,6.892,1.672,10.103C283.589,341.748,284.875,344.583,287.375,346.083z M273.299,339.944+ c-1.014-0.031-0.903-1.681-0.028-1.681c1.801,0,2.114,0,4.208,0c0.949,0,1.396,1.682-0.156,1.682+ C275.982,339.945,274.639,339.985,273.299,339.944z M277.164,361.71c-1.346,0-2.431,0-3.857,0+ c-0.101-6.831-0.028-13.64-0.121-20.599c1.329,0,2.409,0,3.818,0C277.162,347.943,277.071,354.75,277.164,361.71z+ M272.298,341.911c-0.024,6.393-0.083,12.786-0.155,19.178c-0.002,0.187-0.221,0.372-0.339,0.559+ c-0.135-0.026-0.269-0.051-0.404-0.077c0-6.798,0-13.597,0-20.395c0.127-0.034,0.255-0.067,0.382-0.101+ C271.963,341.354,272.299,341.633,272.298,341.911z M270.208,339.952c-1.194,0.034-2.39,0.036-3.583-0.002+ c-1.035-0.033-1.062-1.736-0.104-1.736c1.832,0,2.019,0,3.729,0C271.167,338.214,271.368,339.919,270.208,339.952z+ M270.103,361.679c-1.033,0-2.089,0-3.313,0c0-6.866,0-13.612,0-20.635c1.136,0,2.078,0,2.998,0+ C270.327,342.64,270.567,358.119,270.103,361.679z M263.469,339.965c-1.266,0.019-2.533,0.053-3.797,0.001+ c-0.958-0.04-0.938-1.785-0.016-1.785c2.069,0,1.766,0,3.75,0C264.969,338.181,264.763,339.946,263.469,339.965z+ M263.225,361.708c-1.125,0-2.276,0-3.577,0c0-6.913,0-13.665,0-20.57c0.672-0.065,1.28-0.158,1.89-0.173+ c0.551-0.013,1.103,0.06,1.629,0.094C263.656,342.839,263.706,359.178,263.225,361.708z M264.794,341.16+ c0-0.019,0.286-0.034,0.439-0.051c0.567,1.458,0.84,13.549,0.416,19.379c-0.029,0.404-0.244,0.794-0.372,1.19+ c-0.182-0.014-0.363-0.027-0.545-0.041c-0.06-0.802-0.177-1.604-0.169-2.405C264.62,353.208,264.701,347.184,264.794,341.16z+ M254.884,316.387c3.557-1.837,7.317-3.058,11.623-3.592c-1.383,2.555-2.714,4.81-3.845,7.162+ c-1.032,2.147-2.015,4.346-2.717,6.615c-0.985,3.185-0.623,6.323,1.104,9.244c0.154,0.26,0.246,0.556,0.537,1.232+ c-2.347,0.012-4.454,0.025-6.562,0.031c-2.158,0.006-4.316,0.007-6.474,0.008c-2.141,0.001-2.679,0-5.51,0+ c-1.617,0-1.955,3.057-0.182,4.048c0.228,0.127,0.276,0.716,0.276,1.092c0.001,6.313-0.018,12.626-0.042,18.939+ c-0.001,0.144-0.111,0.288-0.17,0.432c-2.889,0.773-2.978,0.629-4.294-1.737c-3.841-6.905-4.023-14.175-2.284-21.632+ c0.279-1.196,0.94-2.355,1.632-3.393c1.813-2.725,3.927-5.265,5.581-8.078C246.295,322.103,250.18,318.815,254.884,316.387z+ M251.604,339.99c-1.354,0-1.312-1.776,0-1.776c2.261,0,2.687,0,4.813,0c1.354,0,1.134,1.744-0.005,1.766+ C254.607,340.016,253.672,339.99,251.604,339.99z M256.259,341.048c0,6.913,0,13.72,0,20.651+ c-0.547,0.072-1.004,0.169-1.464,0.186c-0.784,0.029-1.57,0.008-2.571,0.008c0-7.018,0-13.82,0-20.844+ C253.586,341.048,254.841,341.048,256.259,341.048z M250.264,361.95c-0.646-1.672-0.865-17.754-0.359-20.745+ c0.659-0.379,1.04-0.138,1.15,0.567c0.061,0.39,0.037,0.794,0.036,1.192c-0.01,5.576-0.013,11.153-0.047,16.729+ C251.041,360.428,251.326,361.301,250.264,361.95z M243.818,340.02c-1.186-0.024-1.224-1.916-0.214-1.916+ c0.647,0,3.192-0.028,5.128,0.001c1.166,0.018,1.227,1.925-0.023,1.925C246.88,340.03,245.694,340.058,243.818,340.02z+ M248.601,341.026c0,6.917,0,13.738,0,20.732c-1.514,0-2.896,0-4.416,0c0-6.938,0-13.7,0-20.732+ C245.745,341.026,247.085,341.026,248.601,341.026z M257.786,341.02c1.002,2.016,0.899,19.043,0.223,20.852+ c-0.263-0.403-0.602-0.681-0.603-0.96c-0.029-6.313-0.026-12.626-0.002-18.939C257.405,341.655,257.653,341.338,257.786,341.02z+ M237.644,363.077c15.326,0,30.481,0,45.818,0c0,2.877,0,5.629,0,8.665c-15.333,0-30.488,0-45.818,0+ C237.644,368.821,237.644,365.997,237.644,363.077z M280.757,361.869c-0.785-0.006-1.57-0.001-2.591-0.001+ c0-1.335,0-2.269,0-3.346c1.365-0.256,2.672-0.515,3.983-0.744c3.987-0.697,7.656-2.15,10.997-4.459+ c2.625-1.814,5.303-3.552,7.965-5.313c0.722-0.477,1.473-0.912,2.226-1.376c0.677,1.547,0.808,18.092,0.254,24.78+ c-1.589,0.538-14.904,0.71-18.837,0.195c-0.008-1.906-0.021-3.865-0.023-5.825C284.727,361.901,284.73,361.9,280.757,361.869z+ M293.67,331.27c-1.453-0.058-2.989,0.428-4.388,0.939c-2.219,0.811-4.355,1.851-6.741,2.888+ c-0.394-3.902-0.677-7.463,0.325-11.001c0.873-3.085,2.537-5.425,5.678-6.64c1.388-0.537,2.636-1.472,3.888-2.315+ c1.523-1.026,2.968-2.168,4.475-3.22c1.661-1.16,3.472-2.029,5.522-2.13c4.385-0.216,8.774-0.413,13.163-0.49+ c1.419-0.025,2.857,0.285,4.263,0.559c1.013,0.197,2.284,1.035,1.473,2.107c-0.144,0.19-0.491,0.263-0.782,0.316+ c-4.239,0.769-8.466,1.618-12.729,2.22c-1.325,0.187-2.745-0.303-4.366-0.515c2.454,0.829,2.459,1.616,1.908,2.413+ c5.007-1.944,10.309-2.138,15.477-3.017c0.518-0.088,1.126,0.018,1.624,0.211c1.54,0.597,1.77,2.171,0.476,3.176+ c-0.365,0.284-0.839,0.479-1.293,0.589c-3.562,0.862-7.117,1.764-10.705,2.502c-1.677,0.345-3.424,0.354-5.248,0.526+ c0.172,0.186,1.328,0.297,1.6,0.57c0.276,0.276-0.331,0.712-0.195,0.839c1.625-0.372,3.148-0.711,4.665-1.072+ c2.401-0.572,4.792-1.198,7.205-1.703c6.534-1.365,5.034,1.978,4.154,2.404c-0.187,0.091-0.413,0.225-0.634,0.315+ c-3.911,1.575-7.958,2.737-11.995,3.922c-0.737,0.216-1.563,0.128-2.745,0.207c2.504,0.255,1.975,1.421,3.291,0.848+ c1.516-0.661,3.155-1.038,4.74-1.542c0.753-0.24,1.516-0.457,2.254-0.738c1.104-0.421,2.681-1.261,3.579-0.341+ c0.833,0.853-0.316,1.7-1.094,2.162c-4.049,2.402-8.093,4.835-12.779,5.839c-0.611,0.131-1.26,0.084-1.892,0.12l0.007,0.003+ C301.792,331.883,297.737,331.432,293.67,331.27z M337.027,341.568c-0.379,0.59-2.481,4.575-3.284,6.224+ c-1.414,2.901-1.128,4.014,1.562,5.791c0.824,0.545,1.57,1.031,1.62,2.173c0.068,1.532-1.03,2.402-2.426,1.808+ c-0.585-0.249-1.113-0.649-1.712-0.84c-3.499-1.115-4.097-4.818-3.974-7.167c0.019-0.357-0.157-2.026,0.16-3.075+ c0.866-1.106,1.802-2.188,2.604-3.361c0.759-1.112,2.119-1.997,1.728-3.75c-1.695,2.15-3.317,4.199-4.924,6.259+ c-0.192,0.246-0.432,0.558-0.43,0.837c0.017,2.256-0.826,4.491,0.185,6.781c1.069,2.422,0.395,5.376-0.854,5.31+ c-2.297-1.051-3.368-6.49-3.344-8.059c0.025-1.656,0.219-3.562,0.344-5.188c0.194-2.526,1.572-3.459,2.921-4.781+ c0.969-0.95,1.651-1.903,2.506-2.948c0.675-0.825,1.338-1.554,1.543-2.762c-2.051,2.126-4.114,4.295-6.214,6.429+ c-0.936,0.951-1.569,2.042-1.646,3.367c-0.152,2.62-0.329,5.414-0.11,8.008c0.033,0.392-0.094,1-0.687,1.045+ c-1.268-0.314-1.33-1.296-1.551-2.087c-0.492-1.759-0.944-3.533-1.299-5.324c-0.116-0.587-0.096-1.67,0.006-2.29+ c0.504-3.083,1.914-5.312,4.399-7.379c1.212-1.008,2.162-2.348,3.154-3.599c1.528-1.928,3.411-3.28,5.717-4.18+ c4.015-1.566,7.972-3.281,11.953-4.933c2.092-0.868,2.45-0.841,3.97,0.814c0.804,0.875,1.645,1.812,2.119,2.876+ c1.266,2.842,2.315,5.779,3.508,8.654c0.47,1.132,0.182,1.925-0.642,2.771c-1.999,2.053-4.438,3.381-7.045,4.424+ c-0.452,0.181-1.093-0.107-1.882-0.209c-0.751,1.581-1.428,2.722-3.281,2.784c-0.173,0.006-0.344,0.308-0.503,0.484+ c-1.419,1.568-2.835,3.139-4.184,4.961c0.816-0.377,1.821-0.69,2.696-1.585c0.459,0.364,1,0.917,1.548,1.69+ c0.047-0.577,0.067-1.326-0.496-2.107c1.26-0.177,3.479-0.192,3.919,1.306c0.603,0.916-3.078,2.674-4.862,3.154+ c-2.46,0.663-3.533-1.162-5.152-2.091c-1.257-0.721-0.936-1.902-0.403-2.958c0.539-1.067,0.921-2.004,1.467-3.068+ C336.359,344.593,336.948,343.378,337.027,341.568z M355.1,339.559c0.245,0.935,0.545,1.751,0.658,2.592+ c0.136,1.016,0.25,2.07,0.133,3.079c-0.366,3.158-2.151,3.939-4.708,2.028c-1.056-0.789-2.083-2.071-3.089-3.07+ C350.75,342.938,352.761,341.273,355.1,339.559z M415.708,332.449c0.15-1.814,0.025-3.65,0.025-5.61+ c1.938-0.717,3.699-1.369,5.924-2.192c-0.299,1.302-0.498,2.196-0.71,3.087c-1.324,5.565-1.709,11.196-1.023,16.872+ c0.153,1.266,0.201,1.873,0.201,1.873c-1.544,1.122-4.324,3.367-5.884,4.465c-1.032,0.726-1.163,0.837-1.163,0.837+ c-2.641-0.391-6.214-2.213-8.015-3.349c-2.148-1.355-3.485-3.42-4.073-6.284c2.416-0.544,4.584-1.029,6.75-1.523+ c0.621-0.142,1.258-0.251,1.853-0.469C414.648,338.304,415.338,336.92,415.708,332.449z M415.185,313.566+ c4.324-0.704,8.375-1.364,12.578-2.048c-0.217,0.455-0.405,0.855-0.599,1.253c-1.498,3.078-3.062,6.126-4.459,9.249+ c-0.46,1.029-0.972,1.73-2.059,2.088c-1.503,0.496-2.966,1.117-4.835,1.833C415.592,321.59,415.388,317.568,415.185,313.566z+ M420.333,347.667c0.354,1.667,0.716,3.058,1.308,4.739c-2.368,0.291-4.497,0.066-7.066-0.329+ C416.617,350.525,418.527,349.039,420.333,347.667z M405.792,350.113c3.267,2.007,6.842,3.066,10.644,3.307+ c1.821,0.115,3.656,0.02,5.483,0.02c3.036,7.741,7.893,13.689,14.737,18.242c-0.59,0.053-1.18,0.151-1.77,0.152+ c-10.868,0.01-21.736-0.002-32.603,0.026c-1.245,0.003-1.866,0.016-1.866,0.016c-1.744-1.123-6.102-3.751-7.924-4.741+ c0,0-0.147-0.52-0.195-1.489c-0.265-5.265-0.604-10.527-0.86-15.793c-0.089-1.822-0.014-3.651-0.014-5.744+ c2.795-0.588,5.733-1.206,8.795-1.851c0.215,0.647,0.382,1.153,0.552,1.658C401.674,346.604,403.389,348.637,405.792,350.113z+ M398.396,371.833c-1.393,0-3.88,0-5.443,0c-0.095-0.936-0.188-2.065-0.349-3.652+ C394.529,369.414,398.422,371.709,398.396,371.833z M483.21,379.778c-2.884,9.211-3.83,18.349-2.642,27.84+ c-5.884,0-11.592,0-17.474,0c0-4.482,0-8.907,0-13.667c5.246,0,10.251,0,15.418,0c0-1.157,0-2.386,0-3.64+ c-2.698,0-5.121,0.022-7.638-0.024c-2.43-0.044-5.483-0.01-7.915-0.01c-0.002-0.222-0.005-0.444-0.007-0.665+ c3.417,0,7.454,0,11.201,0c0-3.454,0-6.606,0-9.835C477.317,379.778,480.139,379.778,483.21,379.778z M474.403,378.639+ c0-0.925,0-1.673,0-2.565c3.338,0,6.632,0,10.113,0c-0.673,2.514-0.673,2.538-2.633,2.558+ C479.443,378.659,477.003,378.639,474.403,378.639z M468.144,446.532c-0.281,0.317-0.783,0.611-1.188,0.617+ c-3.558,0.048-7.116,0.028-11.232,0.028c2.724-3.264,5.12-6.134,7.657-9.174c2.442,1.94,4.708,3.74,7.067,5.614+ C469.609,444.693,468.923,445.654,468.144,446.532z M471.441,444.428c0.427,0.958,0.748,1.679,1.168,2.621+ c-1.181,0-2.094,0-3.496,0C470.03,446.017,470.598,445.377,471.441,444.428z M455.437,445.883c-0.7,0.904-1.407,1.36-2.574,1.33+ c-2.697-0.069-5.396-0.022-8.62-0.022c3.074-4.094,5.802-7.701,8.495-11.333c0.567-0.765,1.194-0.928,2.065-0.625+ c2.327,0.809,4.667,1.581,7.221,2.441c-0.428,0.597-0.75,1.105-1.129,1.566C459.076,441.455,457.19,443.618,455.437,445.883z+ M463.031,391.266c0.36,0,0.662-0.001,0.965-0.004c4.068-0.044,9.576-0.066,13.645-0.099c0,0,0,0.259,0,1.822+ c-0.463,0.075-1.017,0.015-1.54,0.021c-3.829,0.048-9.241,0.056-13.07,0.102V391.266z M463.072,414.056+ c4.865-0.111,9.686-0.058,14.645-0.008c0.088,0.5,0.098,1.83,0.016,2.245c-4.886,0-9.709,0-14.661,0+ C463.072,415.558,463.072,414.958,463.072,414.056z M416.367,397.631c12.094,0,24.016,0,36.113,0c0,3.445,0,6.693,0,10.059+ c-12.016,0-23.887,0-36.115,0C416.261,404.382,416.248,401.095,416.367,397.631z M416.502,408.698+ c11.964-0.027,23.904-0.004,35.981-0.004c0,1.491,0,2.743,0,4.244c-1.615,0.103-3.243,0.207-5.061,0.324c0,1.335,0,2.557,0,4.007+ c1.626,0.073,3.193,0.143,4.945,0.221c0.09,0.642,0.242,1.243,0.248,1.845c0.04,4.478,0.09,8.956,0.033,13.433+ c-0.01,0.807-0.321,1.736-0.795,2.39c-2.58,3.559-5.308,7.012-7.865,10.586c-0.802,1.122-1.672,1.523-2.994,1.477+ c-2.316-0.08-4.637-0.06-6.955-0.011c-2.459,0.052-3.491,1.115-3.455,3.567c0.72,0.168,1.471,0.343,2.541,0.593+ c1.287,13.904,2.58,27.874,3.903,42.168c-6.875,0.159-13.604,0.046-20.527,0.084+ C416.502,465.253,416.502,437.154,416.502,408.698z M452.561,416.278c-1.499,0-2.807,0-4.356,0c0-0.849,0-1.453,0-2.198+ c1.419,0,2.734,0,4.253,0C452.492,414.795,452.523,415.46,452.561,416.278z M432.654,450.183c-0.305,0.001-0.61-0.1-1.226-0.208+ c0.687-1.609,1.749-1.84,3.021-1.834c14.694,0.069,29.389,0.118,44.083,0.182c0.633,0.003,1.303,0,1.886,0.203+ c0.422,0.147,0.728,0.63,1.013,0.895c-0.135,0.327-0.15,0.412-0.199,0.468c-0.05,0.058-0.132,0.124-0.2,0.124+ C464.906,450.075,448.78,450.133,432.654,450.183z M481.55,451.16c1.327-0.691,1.232-2.742-0.24-3.464+ c-0.752-0.369-1.686-0.454-2.546-0.495c-1.59-0.074-3.185-0.021-4.876-0.021c-1.437-5.026-6.147-6.694-9.587-9.649+ c-0.358-0.307-0.816-0.498-1.227-0.744c0-6.375,0-12.736,0-19.344c5.242,0,10.328,0,15.618,0c0-1.538,0-2.83,0-4.349+ c-5.16,0-10.246,0-15.548,0c0-1.507,0-2.795,0-4.243c5.851,0,11.647,0,17.578,0c0.193,0.598,0.401,1.188,0.575,1.789+ c2.615,9.033,6.767,17.248,13.094,24.266c2.814,3.121,6.261,5.445,9.989,7.351c4.159,2.126,8.58,3.465,13.158,4.321+ c1.018,0.19,2.032,0.404,3.017,0.601c0.523,1.648,0.715,46.645,0.196,49.717c-14.584,0-29.027,0-43.819,0+ c0.676-7.688,1.43-15.211,1.976-22.75c0.543-7.487,0.878-14.988,1.312-22.626C480.679,451.401,481.158,451.364,481.55,451.16z+ M520.233,446.173c-5.509-1.016-10.953-2.278-16.005-4.84c-3.606-1.828-6.877-4.104-9.492-7.202+ c-7.121-8.436-11.866-18.045-13.377-29.013c-1.084-7.869,0.104-15.636,2.358-23.223c3.98-13.398,13.221-21.926,25.636-27.438+ c2.608-1.158,5.339-2.042,8.253-3.142c5.352,11.093,13.923,18.75,25.054,24.49c-0.96,0.201-1.424,0.344-1.897,0.388+ c-1.99,0.185-4.005,0.204-5.97,0.532c-7.779,1.295-13.671,5.579-18.139,11.903c-3.512,4.971-3.784,10.563-2.701,16.332+ c1.064,5.668,3.919,10.252,8.453,13.791c5.985,4.673,12.936,7.288,20.189,9.076c6.012,1.482,11.773,3.517,17.31,6.268+ c3.327,1.653,6.378,3.653,8.946,6.352c2.866,3.012,5.776,5.985,8.578,9.055c4.426,4.85,9.374,8.915,15.664,11.146+ c1.324,0.469,2.76,1.122,4.51,1.685c-1.616,1.286-3.5,2.668-4.907,3.823c-1.235,1.014-2.499,2.006-3.636,3.123+ c-2.331,2.291-3.447,5.147-3.477,8.788c-0.948-0.319-1.656-0.551-2.359-0.795c-8.626-2.998-15.572-8.408-21.483-15.208+ c-6.042-6.951-13.771-10.8-22.633-12.55C532.841,448.278,526.516,447.333,520.233,446.173z M547.321,378.189+ c-4.817,0.599-9.649,0.372-14.48,0.206C537.657,377.342,542.483,376.932,547.321,378.189z M520.344,407.522+ c-0.64,0.051-1.691,0.127-2.383,0.157c-0.634,0.027-1.27,0.006-2,0.006c-3.253-6.811-0.895-17.897,4.309-22.31+ C520.271,387.271,520.344,404.033,520.344,407.522z M520.375,415.531c-1.979-1.703-3.242-4.437-4.368-6.843+ c1.539,0,3.222,0,4.368,0C520.375,410.52,520.375,412.577,520.375,415.531z M605.667,460.062c0,0,0.632,0.317,1.152,0.475+ c3.685,1.124,7.449,1.741,11.298,1.873c0.222,0.008,0.556,0.012,0.556,0.012c0.633,3.197,1.252,6.467,1.924,9.86+ c-0.685,0.427-1.448,0.969-2.267,1.403c-3.593,1.904-7.181,3.818-10.812,5.647c-2.423,1.22-5.064,1.459-7.71,1.127+ c-4.184-0.524-8.198-1.178-12.448-1.975c-0.142-0.027-0.628-0.159-0.628-0.159c-0.369-2.396,0.258-4.668,1.727-6.633+ c1.041-1.393,2.28-2.679,3.604-3.809c2-1.707,4.018-3.469,6.279-4.774C600.45,461.892,603.35,460.891,605.667,460.062z+ M601.312,460.5c0.781-2.375,1.175-1.87,2.543-0.92C603.177,459.79,601.978,460.294,601.312,460.5z M609.771,482.771+ c-1.661-0.554-3.064-1.022-5.021-1.604c5.479-1.479,11.343-4.787,16.341-7.789c1.419,4.084,2.729,7.987,2.101,12.183+ c-0.299,1.994-1.536,3.439-3.708,3.904c-4.185,0.896-8.39,1.17-12.604,0.377c-5.016-0.945-10.073-1.85-14.565-4.466+ c-1.36-0.792-2.581-1.871-3.73-2.961c-0.649-0.615-1.788-1.962-1.991-3.369c0.421,0.321,3.422,0.766,4.844,0.938+ c0.583,0.07-0.365,0.485-0.089,0.979c0.113,0.202,0.752,0.148,1.148,0.149c7.671,0.014,15.077,1.424,22.228,4.196+ c0.281,0.109,0.603,0.113,1.021,0.186C614.436,484.486,612.551,483.697,609.771,482.771z M619.766,462.438+ c3.328-0.203,6.672-0.469,10.469-1.5c-2.314,4.092-4.604,8.124-8.587,10.648C620.761,468.467,620.292,465.854,619.766,462.438z+ M522.109,447.542c0.812,0.043,1.589-0.007,2.327,0.139c5.954,1.179,11.909,2.355,17.847,3.612+ c6.108,1.293,11.275,4.429,15.86,8.54c2.138,1.917,4.124,4.018,6.054,6.149c4.262,4.706,9.297,8.27,15.176,10.653+ c0.962,0.39,1.916,0.806,2.894,1.154c2.066,0.737,3.327,1.103,3.327,1.103c0.688,3.141,4.713,6.782,7.078,7.84+ c8.251,3.692,16.804,5.584,25.884,3.956c3.754-0.673,5.892-2.981,5.676-6.76c-0.149-2.602-0.848-5.177-1.352-7.754+ c-0.212-1.082-0.555-2.139-0.846-3.232c3.943-3.224,7.381-7.835,9.388-12.394c0,0,0.556-0.182,1.148-0.527+ c5.173-3.009,8.291-7.639,10.312-13.098c0.881-2.38,1.543-4.841,2.321-7.317c0.497,1.482,0.719,54.352,0.223,57.295+ c-41.128,0-82.129,0-123.316,0C522.109,480.467,522.109,464.13,522.109,447.542z M645.391,432.781+ c-0.884,4.216-1.819,8.428-2.954,12.582c-1.094,4.005-3.381,7.41-6.155,10.452c-2.092,2.294-4.672,3.839-7.773,4.453+ c-6.098,1.207-12.179,1.383-18.343,0.327c-8.906-1.526-14.495-9.514-15.587-16.028c-0.98-5.849,2.085-11.947,7.673-14.034+ c5.942-2.218,11.874-2.312,17.612,0.805c1.637,0.889,3.274,2.903,4.385,4.317c-3.25-1.625-5.855-2.136-8.656-2.438+ c-1.435-0.154-2.86-0.227-4.173,0.027c-2.147,0.416-3.055,2.352-2.277,4.416c0.36,0.955,0.714,1.921,0.961,2.91+ c0.536,2.139,1.708,3.742,3.665,4.795c4.298,2.313,8.831,2.734,13.48,1.492c1.344-0.359,2.637-1.171,3.765-2.025+ c3.527-2.673,5.944-6.222,7.624-10.284c0.641-1.55,1.237-3.121,1.801-4.701c1.361-3.812,4.111-5.995,7.988-6.837+ c1.385-0.301,4.294-0.373,4.342-0.206C648.429,424.76,646.33,428.306,645.391,432.781z M627.12,440.361+ c-0.376,1.491-1.198,1.811-2.491,2.006c-0.594,0.09-1.303,0.047-2.17-0.049c-3.523-0.39-6.864-1.019-9.901-2.745+ c-0.551-0.313-1.094-0.656-1.582-1.058c-0.856-0.705-1.296-1.594-0.979-2.74c0.326-1.176,1.288-1.94,2.395-1.933+ c4.796,0.031,8.929,0.863,12.823,3.499C626.244,438.04,627.498,438.86,627.12,440.361z M627.839,441.959+ c0.216,1.054,0.413,2.02,0.661,3.23c-1.094,0.685-1.969,0.966-3.519,1.058c0.315-1.29,0.706-3.248,0.706-3.248+ C626.379,442.566,626.969,442.406,627.839,441.959z M624.75,443.094c-0.321,0.93-0.726,2.58-1,3.375+ c-5.363,0.646-13-1.719-12.688-6.75c2.562,1.469,4.397,2.065,6.595,2.616C619.862,442.888,622.062,443.25,624.75,443.094z+ M645.571,421.851c-0.009,0.486-0.556,1.129-1.026,1.414c-2.898,1.754-4.599,4.354-5.623,7.502+ c-1.068,3.284-2.435,6.433-4.534,9.208c-1.3,1.719-2.719,3.327-4.814,4.52c-0.476-1.465-0.869-2.831-1.366-4.158+ c-0.351-0.938-0.791-1.852-1.287-2.722c-0.351-0.615-0.911-1.106-1.295-1.706c-4.149-6.476-10.286-8.504-17.589-7.794+ c-1.736,0.169-3.505,0.497-5.145,1.075c-7.79,2.742-11.438,11.064-8.423,18.995c1.157,3.045,3.012,5.629,5.301,7.91+ c0.561,0.558,1.241,0.997,1.695,1.356c-0.391,1.999-1.263,2.963-2.381,3.8c-0.434,0.325-0.771,0.583-0.771,0.583+ c-6.845-2.51-14.575-6.693-19.48-12.241c-2.488-2.814-5.153-5.47-7.708-8.225c-6.31-6.802-14.329-10.561-23.089-12.992+ c-5.847-1.623-11.825-2.883-17.241-5.749c-2.815-1.49-5.492-3.244-8.21-4.914c-1.107-0.68-1.563-1.66-1.469-3.032+ c0.13-1.899,0.032-4.199,0.032-6.024c2.198,0,120.604-0.39,124.471,0.153C645.618,413.24,645.651,417.546,645.571,421.851z+ M511.122,308.335c0.621,0.089,1.237,0.206,2.076,0.346c-1.758,8.079-2.795,16.11-1.568,24.488+ c-1.065,0.058-1.843,0.147-2.62,0.134c-8.47-0.134-16.941-0.204-25.407-0.476c-2.779-0.089-5.568-0.576-8.304-1.123+ c-5.428-1.086-10.347-3.279-14.312-7.317c-0.15,0.15,1.932,2.706,3.238,3.678c3.938,2.934,8.486,4.436,13.268,5.185+ c9.673,1.516,19.416,1.638,29.176,1.213c1.437-0.063,2.875-0.126,4.313-0.167c0.225-0.006,0.454,0.108,0.351,0.082+ c1.828,5.483,3.589,10.764,5.409,16.224c-0.186,0.08-0.651,0.35-1.153,0.487c-9.504,2.599-17.601,7.556-24.207,14.818+ c-2.02,2.221-3.58,4.888-5.162,7.466c-0.709,1.156-1.385,1.743-2.792,1.695c-2.944-0.1-5.894-0.03-9.023-0.03+ c-0.134-1.02-0.255-1.936-0.421-3.192c-0.828,0-1.673,0-2.518,0c-9.994-0.002-19.989-0.035-29.983,0.022+ c-1.683,0.01-3.088-0.412-4.478-1.326c-10.412-6.852-15.52-16.667-16.21-28.94c-0.69-12.279,3.114-23.189,10.559-32.807+ c3.172-4.097,7.578-6.884,12.237-9.076c12.764-6.007,25.686-6.472,38.735-0.814c4.981,2.16,9.987,4.275,15.049,6.234+ C501.791,306.848,506.448,307.665,511.122,308.335z M416.087,288.822c6.141-1.395,11.736-4.151,17.248-7.069+ c4.166-2.206,8.18-4.707,12.394-6.813c10.819-5.405,22.263-7.985,34.349-6.421c8.2,1.061,15.464,4.469,21.467,10.277+ c3.976,3.847,6.547,8.488,7.133,14.033c0.419,3.964,0.554,7.958,0.777,11.941c0.035,0.617-0.136,1.246-0.26,2.278+ c-3.359-0.793-6.426-1.347-9.385-2.251c-5.808-1.774-11.458-3.951-16.907-6.695c-6.949-3.5-14.421-4.553-22.144-4.016+ c-9.169,0.638-17.499,3.609-24.834,9.157c-2.023,1.53-3.746,3.455-5.626,5.179c-0.574,0.527-1.137,1.21-1.831,1.44+ c-4.252,1.406-8.642,2.167-13.088,2.684c-1.227-7.661-2.432-15.185-3.661-22.861+ C413.143,289.405,414.625,289.154,416.087,288.822z M405.65,274.201c2.488,6.103,3.893,12.507,5.374,18.893+ c2.872,12.389,3.656,24.983,3.608,37.647c-0.022,5.756,0.098,6.989-7.152,8.752c-7.914,1.924-15.935,3.448-23.958,4.869+ c-8.812,1.561-17.681,2.807-26.526,4.182c-0.224,0.035-0.462-0.018-0.618-0.026c0.158-2.135,0.56-4.248,0.401-6.317+ c-0.17-2.208-0.68-4.439-1.386-6.545c-0.938-2.797-2.048-5.564-3.392-8.187c-0.993-1.936-2.479-3.62-3.848-5.562+ c1.161-0.155,2.456-0.402,3.762-0.489c5.902-0.397,11.808-0.734,17.71-1.121c3.674-0.241,7.295-0.595,10.653-2.425+ c2.331-1.27,4.949-1.107,7.507-0.61c1.083,0.21,2.153,0.488,3.633,0.827c-2.334-1.401-3.188-1.879-4.894-2.195+ c1.24-1.097,1.728-1.18,3.333-0.525c1.849,0.756,3.652,1.639,5.532,2.303c2.388,0.843,7.384,1.914,7.448,1.735+ c-1.216-0.507-2.425-1.029-3.648-1.518c-3.335-1.332-6.672-2.66-10.016-3.97c-1.987-0.778-3.089-2.278-3.344-4.322+ c-0.207-1.658-0.293-3.35-0.231-5.019c0.132-3.534,0.038-7.017-0.967-10.454c-1.222-4.181-1.647-8.466-1.334-12.819+ c0.034-0.468,0.005-0.94,0.005-1.409c-1.89,6.04-0.446,12.624,1.262,18.416c-0.15,0.054-1.983-3.171-2.515-4.493+ c-0.567-1.408-1.067-2.845-1.533-4.29c-0.463-1.436-0.847-2.898-1.614-4.292c0.267,1.578,0.445,3.177,0.818,4.73+ c0.79,3.288,2.924,7.574,4.813,10.376c0,0,0.188,2.594,0.125,4.031c-2.359-1.198-3.889-3.871-6.251-5.629+ c0.43,0.942,2.656,3.74,3.264,4.339c2.17,2.139,2.925,2.664,2.925,2.664c-0.01,0.743,0.66,5.373,1.007,6.084+ c0.348,0.713,0.83,1.36,1.389,2.251c-1.864,0.734-3.688,1.455-5.516,2.169c-0.447,0.174-0.942,0.257-1.349,0.495+ c-3.599,2.111-7.61,2.217-11.606,2.471c-4.946,0.315-9.887,0.713-14.832,1.059c-0.706,0.049-1.418,0.007-2.597,0.007+ c4.289-6.208,8.606-12.016,12.812-17.903c4.227-5.917,8.441-11.843,12.808-17.971c-3.425-3.932-7.812-6.069-13.281-7.208+ c5.647-3.766,11.684-5.507,17.91-7.724c-4.378-4.64-8.068-10.473-11.244-15.887c0,0,1.017,0.745,1.131,0.837+ c6.143,4.921,13.366,7.398,20.86,9.279c0.846,0.212,3.934,1.137,4.081,1.374c-5.667,0.208-9.381,3.583-10.881,8.324+ c0.542-0.747,1.069-1.505,1.628-2.239c2.641-3.464,6.007-5.408,10.501-5.135c1.435,0.087,2.631,0.545,3.686,1.492+ C403.166,269.38,404.606,271.639,405.65,274.201z M374.462,255.399c1.015-1.663,1.951-3.196,2.943-4.82+ c0.792,1.629,0.877,3.668,0.241,6.759C376.478,256.627,375.558,256.067,374.462,255.399z M390.597,206.333+ c11.619,19.271,17.25,39.272,12.893,61.807c-4.319-3.882-9.496-4.796-14.436-6.257c-3.449-1.02-6.848-2.135-9.864-3.762+ c-0.275-3.126-0.563-6.046-0.761-8.973c-0.035-0.512,0.239-1.085,0.489-1.569c5.256-10.208,8.034-21.185,10.053-32.393+ c0.425-2.357,0.71-4.738,1.084-7.104C390.124,207.647,390.314,207.232,390.597,206.333z M377.799,144.986+ c5.56,7.678,8.698,16.287,10.29,25.566c1.617,9.423,1.93,18.883,1.612,28.426c-0.46,13.82-3.579,27.057-8.084,40.026+ c-1.92,5.527-4.703,10.651-7.943,15.782c-0.463-0.247-0.75-0.373-1.01-0.542c-3.141-2.054-3.056-2.049-2.795-5.731+ c0.174-2.459,0.111-4.939,0.065-7.408c-0.017-0.907-0.062-1.639,0.791-2.302c1.365-1.062,2.065-2.599,2.512-4.262+ c0.848-3.156,0.921-6.353,0.195-9.501c-0.648-2.81-2.223-4.953-5.376-5.465c-0.461-1.314-0.874-2.603-1.363-3.863+ c-1.931-4.97-5.678-10.369-9.484-14.109c0,0,0.091-0.66,0.205-1.625c0.639-5.423,0.717-10.856-0.011-16.266+ c-0.815-6.054-2.302-11.944-5.421-17.267c-3.434-5.863-8.065-10.385-14.959-11.841c-8.555-1.807-16.22,0.194-22.632,6.172+ c-4.772,4.449-5.919,10.251-5.284,16.503c0.459,4.517,1.92,8.696,4.311,12.587c3.611,5.875,6.48,12.11,8.677,18.655+ c0.448,1.334,0.795,2.301,0.795,2.301c-0.307,0.727-1.146,3.165-1.267,3.951c-0.155,1.007-0.625,1.728-1.429,2.372+ c-8.349,6.691-11.11,15.488-9.639,25.848c0.749,5.278,2.537,10.221,4.877,14.983c0.381,0.775,0.756,1.552,1.242,2.551+ c-1.654,0.839-3.176,1.676-4.753,2.393c-1.526,0.693-3.163,1.155-4.652,1.913c-2.093,1.064-4.121,0.98-6.245,0.185+ c-3.546-1.327-6.927-2.895-9.607-5.693c-0.794-0.829-1.08-1.545-0.65-2.743c5.605-15.615,4.423-30.766-3.315-45.411+ c-1.605-3.038-3.451-5.949-5.028-9c-7.439-14.389-8.606-29.319-3.207-44.576c2.997-8.469,8.573-15.241,15.287-21.16+ c7.645-6.74,16.739-10.15,26.556-11.924c14.641-2.645,28.4,0.125,41.541,6.858C368.899,134.598,373.709,139.337,377.799,144.986z+ M290.355,220.446c0.274,0.557,0.595,1.01,0.731,1.514c2.108,7.78,2.927,15.647,1.646,23.673+ c-0.201,1.26-0.633,2.176-1.673,2.986c-1.426,1.11-2.665,2.459-4.066,3.782c-1.358-2.368-2.147-4.864-2.631-7.437+ c-0.736-3.914-1.255-7.87-2.032-11.775c-0.495-2.488-1.289-4.917-1.997-7.547C283.38,223.364,286.671,221.69,290.355,220.446z+ M279.865,224.469c-0.326-0.689-0.716-1.513-1.088-2.301c3.472-1.718,6.843-3.387,10.393-5.144+ c0.285,0.661,0.619,1.436,0.918,2.128C286.657,220.936,283.369,222.647,279.865,224.469z M289.551,251.213+ c0.596-0.598,1.263-1.125,1.897-1.685c0.159,0.093,0.317,0.185,0.476,0.277c-0.665,2.289-1.331,4.577-2.106,7.246+ C287.126,253.912,287.122,253.651,289.551,251.213z M279.614,108.092c11.857-5.83,24.369-8.862,37.569-7.537+ c19.221,1.929,34.409,10.648,44.207,27.762c0.196,0.343,0.361,0.704,0.776,1.517c-3.336-1.363-6.227-2.728-9.24-3.723+ c-3.024-0.999-6.138-1.806-9.271-2.373c-3.211-0.581-6.487-0.97-9.746-1.074c-3.259-0.104-6.555,0.07-9.795,0.452+ c-3.158,0.372-6.308,1.004-9.385,1.814c-3.155,0.83-6.216,2.014-9.503,3.105c-3.893-4.075-7.995-7.857-12.647-10.998+ c-4.652-3.141-9.676-5.552-15.489-7.525C278.192,108.888,278.884,108.451,279.614,108.092z M246.791,137.984+ c-4.716,1.889-8.68,4.874-11.691,8.911c-2.764,3.706-5.248,7.634-7.677,11.575c-2.432,3.945-4.466,8.143-7.006,12.013+ c-2.227,3.392-4.798,6.58-7.447,9.661c-1.275,1.483-2.978,2.678-4.663,3.718c-7.527,4.644-15.649,7.655-24.537,8.187+ c-3.343,0.2-6.714,0.045-10.067-0.068c-5.256-0.178-9.696,1.459-13.319,5.379c-2.005,2.169-4.16,4.22-6.402,6.146+ c-5.38,4.622-11.604,7.811-18.561,8.96c-5.906,0.976-11.967,0.961-17.874-0.49c-6.954-1.708-12.897-5.247-17.497-10.725+ c-9.364-11.149-14.637-23.979-14.76-38.638c-0.172-20.542,9.376-35.684,26.416-46.509c0.333-0.212,0.71-0.357,1.073-0.518+ c0.039-0.018,0.123,0.063,0.313,0.17c-0.26,0.296-0.475,0.598-0.744,0.839c-5.585,4.999-9.561,11.143-12.647,17.896+ c-2.913,6.372-5.008,12.955-5.184,20.061c-0.11,4.427,0.098,8.822,1.282,13.08c2.316,8.327,5.652,16.166,11.947,22.375+ c4.312,4.253,9.332,7.309,15.428,8.139c5.937,0.808,11.545-0.161,16.146-4.29c1.697-1.523,2.962-3.534,4.39-5.35+ c2.172-2.762,4.216-5.632,6.491-8.306c3.946-4.637,9.088-6.906,15.145-7.178c2.955-0.133,5.907-0.373,8.863-0.422+ c10.751-0.179,19.168-4.828,25.706-13.205c3.468-4.443,5.9-9.497,8.649-14.367c2.515-4.456,5.011-8.924,7.62-13.325+ c7.904-13.331,19.949-20.388,34.993-22.582c7.059-1.03,14.222-1.158,21.245,0.304c9.677,2.014,18.082,6.709,25.558,13.092+ c2.171,1.854,4.197,3.878,6.496,6.017c-8.416,4.273-14.79,10.339-20.08,17.297c-3.191-2.023-6.158-4.208-9.386-5.894+ C265.929,135.191,256.507,134.092,246.791,137.984z M261.12,195.961c-10.498-6.475-16.208-15.925-17.049-28.145+ c-0.696-10.111,2.067-19.617,5.964-28.841c0.421-0.997,1.036-1.474,2.089-1.679c3.484-0.677,6.977-0.881,10.489-0.346+ c7.949,1.209,14.89,4.548,20.962,9.9c-1.254,2.252-2.538,4.362-3.635,6.565c-3.11,6.249-4.702,12.917-4.78,19.869+ c-0.046,4.059,0.371,8.129,0.703,12.184c0.086,1.052-0.005,1.798-0.824,2.538c-3.396,3.064-7.015,5.8-11.048,7.984+ C262.971,196.542,262.141,196.591,261.12,195.961z M276.249,188.283c1.388,5.043,3.006,9.662,5.334,13.986+ c2.347,4.36,4.715,8.708,7.174,13.249c-3.162,2.644-6.561,4.388-10.452,5.646c-5.514-9.924-13.843-16.099-23.855-20.463+ C262.817,198.653,269.768,194.325,276.249,188.283z M197.72,211.302c3.579-3.54,7.872-5.972,12.509-7.862+ c9.315-3.797,18.969-5.647,29.035-5.065c4.087,0.236,8.076,1.058,11.943,2.431c6.079,2.159,11.682,5.192,16.718,9.226+ c6.398,5.125,10.612,11.689,12.452,19.674c1.021,4.434,1.769,8.932,2.57,13.414c0.841,4.703,2.533,9.073,4.975,13.159+ c2.618,4.381,6.586,7.096,11.216,8.972c0.666,0.27,1.337,0.529,1.997,0.812c0.129,0.055,0.22,0.198,0.58,0.539+ c-3.485,0.545-4.738,3.112-5.87,5.852c-0.356,0.862-0.97,1.65-1.592,2.361c-1.694,1.939-3.186,3.986-4.233,6.362+ c-1.269,2.882-3.155,5.347-5.436,7.677c-0.618-0.2-1.23-0.344-1.798-0.59c-8.735-3.78-14.911-9.94-18.072-19.062+ c-1.977-5.705-3.062-11.566-3.921-17.512c-0.73-5.058-1.682-10.082-3.427-14.925c-3.077-8.54-9.376-12.91-18.156-13.732+ c-3.22-0.301-6.526,0.184-9.781,0.449c-1.089,0.089-2.178,0.522-3.206,0.946c-5.097,2.103-6.715,6.755-4.018,11.58+ c0.698,1.25,1.512,2.447,2.379,3.589c5.268,6.943,10.388,14.008,15.894,20.757c9.329,11.435,12.447,24.526,11.585,38.991+ c-0.555,9.309-3.738,17.587-8.525,25.399c-2.759,4.502-5.549,8.986-9.208,12.839c-3.039,3.201-9.406,8.162-12.761,9.971+ c-1.344-2.239-2.694-4.487-4.16-6.929c2.013-1.82,3.258-4.09,4.144-6.62c0.613-1.75,0.487-3.259-0.546-4.765+ c-0.669-0.976-1.261-2.007-1.955-3.123c0.869-0.626,1.62-1.167,2.39-1.723c-0.64-1.637-1.247-3.188-1.906-4.871+ c0.547-0.394,1.019-0.799,1.548-1.105c5.05-2.923,10.093-5.859,15.176-8.724c1.53-0.862,2.767-1.928,3.322-3.608+ c0.854-2.585,0.818-5.067-1.279-7.119c-2.186-2.14-5.261-2.685-7.983-1.357c-1.65,0.805-3.211,1.791-4.818,2.683+ c-0.687,0.381-1.391,0.729-2.408,1.259c-0.131-0.904-0.356-1.573-0.302-2.219c0.816-9.87-1.977-18.806-7.001-27.158+ c-3.197-5.313-7.428-9.807-11.566-14.367c-3.832-4.223-7.262-8.723-9.787-13.871c-1.879-3.83-3.469-7.783-3.82-12.051+ C189.972,224.027,191.977,216.983,197.72,211.302z M219.669,283.121c-8.124-1.255-16.591-9.804-14.721-22.798+ C211.655,267.089,217.072,274.13,219.669,283.121z M192.108,301.47c-8.588-8.114-14.263-17.664-16.138-29.487+ c-2.484-15.67,2.545-28.96,12.235-40.919c0.235-0.291,0.563-0.506,1.08-0.961c0.292,1.751,0.509,3.226,0.786,4.69+ c1.283,6.767,4.625,12.551,8.684,17.972c1.389,1.854,2.885,3.632,4.406,5.38c0.736,0.846,1.003,1.66,0.876,2.811+ c-1.25,11.279,3.953,19.569,14.668,23.489c0.749,0.274,1.505,0.46,1.762,1.409c0.635,2.344,2.132,9.443,1.354,12.641+ c-3.008-2.439-5.897-1.941-8.839-0.312c-2.865,1.587-8.763,4.533-11.592,6.181c0,0-0.682,0-2.719,0+ C195.663,304.365,194.262,303.505,192.108,301.47z M177.208,309.687c0.865-0.78,1.863-1.261,2.958-1.646+ c3.083-1,6.188-1.458,9.417-0.979c1.042,0.155,2.228,0.662,2.377,1.89c0.141,1.157-0.273,1.881-2.367,2.943+ c-1.657,0.841-3.972,1.781-7.695,1.781c-1.193,0-2.521-0.465-4.002-0.981C176.463,312.196,176.071,310.713,177.208,309.687z+ M193,309.615c0.587,1.464,0.152,3.498-0.812,4.438c-1.043,1.016-3.031,2.406-4.938,2.812c-2.478,0.528-5.822,0.721-8.25,0.094+ c-2.592-0.67-3.181-1.963-3.312-4.562C180.094,316.146,191.271,315.062,193,309.615z M163.362,328.073+ c0.231-2.585,1.447-4.489,3.425-6.307c3.212-2.953,5.766-4.417,8.483-6.495c2.396,3.792,7.111,3.251,10.979,2.688+ c2.205-0.321,4.255-1.312,5.985-2.898c2.879-2.639,2.323-6.647-1.191-8.35c-0.134-0.065-0.857-0.335-1.44-0.398+ c0.749-0.715,2.425-1.321,3.533-1.318c5.827,0.016,11.654,0.007,18.012,0.007c-0.795,0.591-1.17,0.921-1.591,1.177+ c-8.125,4.929-16.224,9.904-24.4,14.747c-3.89,2.304-5.745,5.594-5.753,10.052c-0.022,12.305-0.065,24.611-0.099,36.916+ c-0.003,1.19,0,2.379,0,3.841c-5.346,0.312-10.551,0.102-15.899,0.177c-0.055-0.979-0.127-1.675-0.127-2.371+ c-0.009-12.785-0.011-25.57-0.008-38.356C163.271,330.148,163.27,329.105,163.362,328.073z M194.245,513.11+ c-18.393,0-36.715,0-55.033,0c-0.583-1.691-0.679-8.967-0.128-11.659c18.302,0,36.633,0,55.16,0+ C194.245,505.362,194.245,509.147,194.245,513.11z M138.931,477.325c-0.057-0.439-0.163-0.904-0.169-1.372+ c-0.021-1.673-0.008-3.346-0.008-5.257c19.216,0,38.096,0,57.121,0c0,2.274,0,4.398,0,6.515+ C194.112,477.75,141.267,477.864,138.931,477.325z M194.173,478.822c0,4.591,0,9.034,0,13.469+ c-1.634,0.488-50.563,0.776-55.001,0.333c-0.534-1.741-0.615-11.188-0.092-13.802+ C157.38,478.822,175.704,478.822,194.173,478.822z M144.826,469.253c0-9.037,0-18.104,0-27.137+ c0.078-0.097,0.121-0.167,0.18-0.22c0.056-0.051,0.124-0.108,0.194-0.12c0.312-0.055,0.628-0.135,0.942-0.135+ c17.913,0.003,35.825,0.013,53.738,0.03c0.311,0,0.621,0.096,1.181,0.188c0,9.208,0,18.218,0,27.197+ C199.375,469.579,147.955,469.757,144.826,469.253z M144.293,440.53c-2.023-0.407-3.644-0.733-5.392-1.084+ c0-3.006,0-5.91,0-9.193c2.323,0.565,4.49,1.093,6.841,1.665C145.247,434.859,144.792,437.561,144.293,440.53z M145.652,440.559+ c-0.039-0.482-0.142-0.879-0.089-1.253c0.328-2.287,0.692-4.568,1.062-6.964c19.43,0,38.727,0,58.219,0+ c0.046,2.851-0.511,5.449-1.054,8.217C184.333,440.559,165.032,440.559,145.652,440.559z M198.582,431.253+ c-0.838,0-1.676,0-2.514,0c-15.752,0.011-31.504,0.029-47.257,0.016c-1.024-0.001-2.06-0.182-3.069-0.387+ c-2.26-0.458-4.506-0.984-6.864-1.507c0-1.716,0-3.361,0-5.124c0.639-0.069,1.175-0.176,1.712-0.177+ c10.154-0.012,20.309-0.013,30.463-0.007c0.475,0,0.965,0.023,1.422,0.139c5.338,1.347,10.67,2.718,16.006,4.075+ c2.785,0.708,5.575,1.399,8.362,2.103c0.598,0.151,1.19,0.325,1.785,0.488C198.613,430.999,198.597,431.126,198.582,431.253z+ M139.032,440.447c1.439,0.285,2.873,0.57,4.466,0.886c0,9.35,0,18.565,0,28.072c-1.563,0-2.963,0-4.33,0+ C138.663,467.563,138.541,443.583,139.032,440.447z M217.374,492.515c-7.351,0-14.571,0-21.912,0+ c-0.062-0.579-0.17-1.118-0.169-1.657c0.006-3.359,0.033-6.719,0.06-10.078c0.008-0.937-0.155-1.884,1.095-2.36+ c0.35-0.133,0.521-1.088,0.54-1.673c0.065-1.976,0.025-3.955,0.025-6.079c1.775-0.082,3.264-0.15,4.991-0.23+ c0.466-4.856,0.169-9.63,0.224-14.391c0.055-4.707,0.012-9.416,0.012-14.156c0.887-0.176,1.577-0.313,2.585-0.513+ c0.368-3.18,0.74-6.398,1.14-9.854c-2.286-0.551-4.354-1.053-6.424-1.548c-5.205-1.244-10.417-2.459-15.614-3.735+ c-3.334-0.819-6.635-1.778-9.976-2.568c-1.382-0.326-2.829-0.516-4.248-0.522c-9.359-0.041-18.718-0.014-28.077-0.01+ c-0.859,0-1.718,0-2.755,0c0-8.778,0-17.303,0-25.872c0.015-0.015,0.068-0.075,0.129-0.125c0.06-0.049,0.123-0.117,0.192-0.128+ c0.315-0.047,0.632-0.108,0.948-0.108c25.437,0.029,50.873,0.063,76.31,0.105c0.229,0,0.458,0.111,0.923,0.23+ C217.374,429.037,217.374,460.683,217.374,492.515z M118.99,388.375c0-5.044,0-10.112,0-15.368c87.21,0,174.28,0,261.602,0+ c0.069,0.89,0.146,1.436,0.147,1.982c0.01,4.386,0.006,8.771,0.006,13.113C379.025,388.571,122.047,388.823,118.99,388.375z+ M362.705,483.206c1.116-0.918,2.232-1.837,3.342-2.75c0.61,1.378,0.704,4.207,0.174,6.994c-4.094-1.589-8.15-3.265-12.736-3.38+ c-0.144-0.768-0.261-1.451-0.401-2.129c-0.826-3.978-1.619-7.963-2.496-11.929c-1.187-5.371-2.491-10.717-3.632-16.097+ c-0.324-1.53-0.254-3.144-0.391-5.094c6.726,0.263,13.207,0.517,19.843,0.777c0.047,0.921,0.12,1.698,0.121,2.474+ c0.009,7.906-0.04,15.812,0.044,23.717c0.019,1.736-0.424,3.087-1.667,4.266c-0.906,0.86-1.71,1.826-2.559,2.745+ C362.466,482.936,362.586,483.071,362.705,483.206z M337.444,397.413c1.662-0.551,26.347-0.686,28.953-0.134+ c0,16.883,0,33.796,0,51.078c-10.531,0.263-20.874-1.552-31.433,0.084C336.85,431.353,337.814,414.41,337.444,397.413z+ M344.052,494.46c0.995-1.978,0.995-1.978,8.797-5.016c-1.804-0.695-3.234,0.326-4.71,0.32c0.523-3.01,1.486-4.097,4.23-4.47+ c1.164-0.158,2.393-0.145,3.553,0.038c3.654,0.578,7.083,1.864,10.483,3.565c0,3.587,0,7.134,0,10.99+ C359.27,496.304,352.215,493.171,344.052,494.46z M365.367,500.531c-1.511,1.122-2.863,1.731-4.896,1.185+ c0.549-0.909,1.003-1.661,1.574-2.607C363.184,499.596,364.167,500.017,365.367,500.531z M351.379,484.43+ c-1.864,0.432-3.042,1.567-3.813,3.312c-0.47,1.063-1.241,1.994-1.915,3.043c-2.839-1.191-5.401-2.555-8.306-2.13+ c2.357,0.887,4.713,1.773,7.14,2.686c-0.68,1.234-1.178,2.217-1.759,3.147c-0.19,0.304-0.566,0.543-0.909,0.691+ c-2.049,0.885-4.113,1.735-6.166,2.594c-10.644-5.965-10.448-5.378-17.662-4.088c0.739-1.127,1.218-2.077,1.899-2.847+ c1.102-1.246,1.722-2.582,1.864-4.281c0.286-3.408,2.524-4.854,5.851-3.945c1.232,0.337,2.449,0.729,3.664,1.124+ c4.012,1.306,9.193,0.568,11.735-1.519c-5.485,1.832-10.82,1.519-16.162-1.053c-0.161-1.717-0.18-3.565-0.531-5.347+ c-0.849-4.305-1.787-8.595-2.813-12.862c-1.254-5.212-2.089-10.478-2.503-15.985c4.283,0,8.473,0,12.833,0+ c0.09,0.779,0.168,1.455,0.282,2.452c1.917-0.19,3.855-0.456,5.802-0.555c1.894-0.096,3.797-0.021,5.82-0.021+ c0.122,1.906,0.041,3.677,0.378,5.364c1.064,5.32,2.134,10.647,3.49,15.897c1.179,4.565,2.231,9.128,2.721,13.843+ C351.933,484.152,351.672,484.362,351.379,484.43z M334.417,498.587c-1.206,0.759-2.107,1.326-3.217,2.025+ c-0.719-1.647-0.005-2.464,0.926-3.47C332.819,497.579,333.498,498.008,334.417,498.587z M334.225,445.633+ c-11.824,1.042-22.862-1.575-33.805-3.727c1.1-15.027,2.179-29.756,3.26-44.513c1.538-0.526,29.573-0.699,32.953-0.12+ C336.555,413.339,335.663,429.41,334.225,445.633z M299.005,442.194c6.768,2.399,13.956,3.041,21.103,4.578+ c0.146,1.684,0.165,3.367,0.458,5.002c0.928,5.188,1.983,10.354,2.942,15.537c0.74,4.003,1.423,8.017,2.097,12.032+ c0.102,0.606,0.014,1.244,0.014,1.929c-0.758,0.258-1.443,0.45-2.095,0.723c-1.598,0.67-2.7,1.797-2.679,3.612+ c0.024,2.057-0.73,3.71-2.15,5.14c-0.388,0.39-0.796,0.872-0.931,1.382c-0.51,1.928-1.895,2.632-3.683,2.826+ c-3.007,0.327-6.017,0.636-9.026,0.943c-1.666,0.17-3.334,0.315-5,0.483c-0.554,0.056-1.104,0.21-1.657,0.212+ c-10.079,0.038-20.159,0.062-30.238,0.08c-0.392,0.001-0.785-0.083-1.355-0.148c0-23.492,0-46.951,0-70.561+ c11.648,1.301,22.774-0.339,34.203-4.564C300.312,428.635,299.67,435.292,299.005,442.194z M299.826,497.443+ c2.748-0.781,5.554-0.692,8.321-0.252c2.595,0.413,5.147,1.092,7.719,1.648c1.076,0.232,2.154,0.449,3.285,0.493+ c-1.868-1.622-4.367-1.669-6.844-2.734c0.67-0.262,1.004-0.438,1.359-0.523c2.25-0.54,4.542-0.938,6.751-1.612+ c3.951-1.205,7.354-0.025,10.861,2.125c-0.898,1.513-2.432,2.878-0.913,4.692c-2.186,1.785-4.311,3.296-4.762,6.125+ c-3.914-0.059-7.557-0.263-11.079-1.455c-2.495-0.844-4.963-1.772-7.475-2.564c-3.745-1.181-7.53-2.148-11.889-0.854+ C295.959,499.532,297.51,498.102,299.826,497.443z M328.708,504.079c2.809-1.957,5.609-3.951,8.57-5.656+ c1.989-1.146,4.186-2.037,6.398-2.658c1.804-0.507,3.786-0.711,5.657-0.582c4.098,0.283,7.955,1.593,11.905,3.497+ c-0.488,0.713-0.901,1.201-1.187,1.755c-0.794,1.537-0.053,2.751,1.698,2.672c0.858-0.038,1.709-0.36,2.549-0.603+ c0.668-0.193,1.316-0.459,2.133-0.749c0,1.618,0,3.024,0,4.579c-13.094,1.15-26.08-1.021-39.17-0.072+ C327.224,505.233,327.995,504.576,328.708,504.079z M296.46,397.481c-6.902,3.192-13.986,5.409-21.701,4.027+ c-3.079-0.551-5.882-1.786-8.301-4.026C268.264,396.847,293.975,396.73,296.46,397.481z M248.555,418.571+ c-1.101-0.621-2.166-1.399-3.048-2.3c-5.119-5.231-7.797-11.576-8.518-19.156c0.977-0.068,1.675-0.158,2.373-0.159+ c7.833-0.006,15.667,0.007,23.5,0c1.137-0.001,2.092,0.114,3.005,1.05c3.034,3.113,6.892,4.562,11.158,4.902+ c7.741,0.617,14.846-1.623,21.671-5.012c1.149-0.571,2.256-1.255,3.962-0.593c-0.564,7.498-1.135,15.101-1.73,23.01+ c-3.591,1.065-7.149,2.225-10.764,3.166c-4.97,1.295-10.087,1.998-15.188,1.883C265.691,425.154,256.749,423.189,248.555,418.571+ z M248.043,454.582c5.907,0,11.617,0,17.463,0c0,5.611,0,10.997,0,16.582c-7.375,0-14.61,0-22.15,0+ C245.713,465.83,247.589,460.392,248.043,454.582z M235.662,457.999c1.61-0.502,7.607-0.62,10.79-0.171+ c-0.846,4.257-2.022,8.362-4.058,12.551C240.036,466.043,237.85,462.023,235.662,457.999z M268.244,513.294+ c-8.587,0-16.88,0-25.344,0c0-13.638,0-27.178,0-40.88c7.546,0,14.994,0,22.595,0c0,2.893,0,5.58,0,8.487+ c-0.565,0.073-1.166,0.216-1.766,0.218c-2.877,0.012-5.754-0.017-8.631-0.023c-0.639-0.001-1.282-0.008-1.916,0.055+ c-1.702,0.17-2.554,0.979-2.478,2.299c0.072,1.239,0.902,1.938,2.472,2.049c0.477,0.034,0.959,0.014,1.438,0.013+ c2.797-0.002,5.594-0.006,8.392-0.009c0.777-0.001,1.554,0,2.606,0c0,4.047,0,7.847,0,11.755c0.991,0.194,1.739,0.34,2.632,0.515+ C268.244,502.902,268.244,507.974,268.244,513.294z M308.59,513.25c-13,0-26,0-39.157,0c0-5.207,0-10.279,0-15.516+ c9.007,0,17.91,0,27.138,0c-0.556,0.828-0.998,1.44-1.393,2.081c-1.99,3.224-1.439,5.941,1.657,8.071+ c3.06,2.105,6.555,3.259,10.006,4.502c0.584,0.211,1.193,0.351,1.791,0.524C308.617,513.026,308.603,513.138,308.59,513.25z+ M322.682,509.808c-0.126,1.389-0.126,1.389,0.953,3.533c-1.773,0-3.415,0.102-5.032-0.054c-0.587-0.057-1.277-0.619-1.633-1.145+ c-0.518-0.767-0.777-1.709-1.524-2.549c0.097,1.003,0.195,2.007,0.304,3.136c-1.668,0.418-3.328-0.284-4.998-0.608+ c-0.394-0.077-0.81-0.742-0.961-1.218c-0.379-1.197-0.612-2.44-1.354-3.628c0.068,1.329,0.137,2.658,0.206,3.998+ c-3.133,0.725-4.927-1.069-5.241-6.446c-0.708,1.641-0.708,1.641-0.221,4.958c-3.619-0.422-3.746-1.594-4.758-5.607+ c-0.508,1.218-0.508,1.218-0.391,3.164c-1.663-0.752-2.77-1.818-3.088-3.866c2.536-1.062,4.947-1.028,7.27-0.423+ c3.706,0.964,7.397,2.038,10.997,3.336c3.436,1.239,6.95,1.783,10.552,2.009c0.476,0.03,0.95,0.09,1.405,0.135+ c0.656,1.559,1.294,3.077,1.972,4.689C324.914,513.234,323.804,511.594,322.682,509.808z M365.783,513.451+ c-0.15-0.463-0.289-0.79-0.357-1.131c-0.077-0.382-0.089-0.776-0.446-1.245c-0.223,0.674-0.446,1.348-0.714,2.158+ c-0.968,0-1.977,0-3.043,0c-0.167-0.709-0.328-1.39-0.489-2.071c-0.103-0.019-0.206-0.037-0.309-0.056+ c-0.144,0.677-0.287,1.354-0.453,2.135c-1.087,0-2.101,0-3.28,0c-0.183-0.621-0.376-1.277-0.696-2.364+ c-0.156,0.978-0.247,1.548-0.395,2.475c-1.247,0-2.709,0.356-3.844-0.102c-1.098-0.443-1.859-1.722-3.098-2.965+ c0.415,1.168,0.692,1.947,0.998,2.805c-2.778,0.761-4.979,0.333-6.696-2.004c0.254,0.638,0.507,1.276,0.799,2.01+ c-2.938,0.892-5.262-0.049-7.467-1.961c0.364,0.63,0.727,1.26,1.215,2.105c-2.731,0.464-4.589-0.847-6.543-2.374+ c0.39,0.713,0.781,1.426,1.168,2.134c-3.642,0.941-5.614-0.899-5.384-5.315c0.906-0.196,1.885-0.573,2.871-0.592+ c3.27-0.064,6.544-0.032,9.815,0.021c8.541,0.137,17.081,0.304,25.621,0.463c0.386,0.007,0.772,0.055,1.12,0.081+ C366.871,510.372,366.783,512.068,365.783,513.451z M376.26,397.812c1.485-0.511,14.78-0.609,17.713-0.1+ c1.881,14.404,2.719,29.007,6.146,43.587c-7.752,3.148-15.432,5.636-23.558,6.474+ C376.027,445.831,375.822,402.145,376.26,397.812z M379.953,505.536c-0.042,0.175-0.085,0.35-0.127,0.525+ c-1.082,0.12-2.165,0.24-3.501,0.388c-0.069-0.744-0.127-1.382-0.23-2.493C377.625,504.583,378.789,505.06,379.953,505.536z+ M380.868,512.839c0-0.933,0-1.807,0-3.139c-1.643,3.83-1.643,3.83-4.636,3.463c0-1.907,0-3.628,0-5.403+ c2.34-0.378,4.527-0.732,6.705-1.084C384.267,510.143,383.706,511.945,380.868,512.839z M418.674,513.205+ c-11.645,0-23.184,0-34.922,0c0.944-1.91,1.009-3.898,0.599-5.927c-0.057-0.284,0.02-0.643,0.152-0.908+ c0.591-1.18,1.225-2.338,1.989-3.779c10.399,0,21.129,0,32.182,0C418.674,506.234,418.674,509.636,418.674,513.205z+ M419.852,513.202c0-3.605,0-6.949,0-10.252c1.719-0.607,14.906-0.768,17.927-0.204c0.369,3.367,0.746,6.811,1.145,10.456+ C432.414,513.202,426.228,513.202,419.852,513.202z M434.137,451.323c14.999,0,29.974,0,44.921,0+ c0.494,3.059-3.596,54.254-4.692,58.609c-11.554,0-23.03,0-34.73,0C437.801,490.374,435.976,470.92,434.137,451.323z+ M439.849,513.212c0-0.675,0-1.272,0-2.053c11.497,0,22.941,0,34.529,0c0.042,0.69,0.078,1.289,0.124,2.053+ C462.901,513.212,451.444,513.212,439.849,513.212z M523.516,513.244c-15.98,0-31.849,0-48.015,0+ c0.185-5.128,0.843-10.07,1.35-15.193c15.583,0,31.035,0,46.665,0C523.516,503.164,523.516,508.147,523.516,513.244z+ M648.806,513.215c-41.205,0-82.438,0-123.955,0c0-5.103,0-10.029,0-15.13c41.346,0,82.576,0,123.799,0+ C649.147,499.849,649.275,510.638,648.806,513.215z M761.653,500.872c0.876,2.151,2.065,4.131,4.433,5.633+ c0.56,0.495-1.167,0.446-1.559,0.451c-4.149,0.063-8.298,0.097-12.447,0.124c-0.388,0.002-0.804-0.033-1.159-0.172+ c-2.418-0.952-4.957-4.792-4.957-7.411c0-0.643,1.459-0.635,2.077-0.632c3.431,0.017,6.866,0.154,10.292,0.032+ C760.007,498.838,761.009,499.29,761.653,500.872z M754.375,507.969c-0.781,1.469,0.188,1.25-6.297,1.25+ c0.406-0.734,0.483-1.815,0.571-2.363C750.094,507.719,752.219,508.062,754.375,507.969z M758.062,497.728+ c-2.973,0.064-5.993,0.131-9.012,0.193c-0.64,0.013-1.28-0.002-1.919,0.014c-1.892,0.046-2.639,0.947-2.087,2.728+ c0.328,1.056,2.035,4.39,2.721,5.228c0,0,0.011,1.11-0.782,2.921c-0.12,0.274-0.556,1.17-0.124,1.17+ c2.378,0,4.453,0.03,6.673-0.026c0.422-0.011,1.686-1.94,1.686-1.94h3.156c0.15,3.312-1.729,5.347-5.053,5.349+ c-15.193,0.009-30.385,0.004-45.578,0.004c-2.079,0-4.158,0.002-6.237-0.002c-3.384-0.007-6.024-2.406-6.36-5.796+ c-0.047-0.475-0.021-0.959-0.02-1.438c0.02-20.23,0.04-40.46,0.06-60.689c0.001-0.781,0-1.562,0-2.436+ c21.178,0,41.935,0,62.644,0C758.323,445.301,758.526,495.131,758.062,497.728z M745.104,423.248+ c4.252,0.031,7.484,1.825,9.544,5.702c1.521,2.863,3.572,9.129,3.209,12.864c-20.792,0-41.609,0-62.505,0+ c0.151-5.488,1.607-10.44,4.965-14.782c2.058-2.661,4.735-3.961,8.076-3.948C720.63,423.133,732.867,423.159,745.104,423.248z+ M738.042,421.992c-0.604,0.073-1.205,0.205-1.807,0.209c-9.516,0.058-19.033,0.125-28.549,0.128+ c-2.887,0.001-5.317,0.937-7.295,3.024c-3.126,3.299-5.026,7.248-5.574,11.715c-0.456,3.717-0.673,7.485-0.68,11.231+ c-0.038,19.673,0.029,39.347,0.045,59.02c0.001,1.592,0.511,2.973,1.444,4.228c0.365,0.49,0.738,0.974,1.277,1.685+ c-15.742,0-31.195,0-46.929,0c0-5.433,0-10.745,0-16.112c-1.202-0.097-2.131-0.172-3.19-0.258+ c-0.052-0.734-0.133-1.351-0.133-1.967c0.013-20.153,0.034-40.307,0.054-60.46c0.006-6.009,2.633-9.491,8.451-11.201+ c1.056-0.31,2.112-0.618,3.31-0.969c-2.508-0.723-3.27-0.803-11.6-0.237c0-13.967,0-27.912,0-42.035c30.375,0,60.705,0,91.176,0+ C738.042,394.009,738.042,407.896,738.042,421.992z M716.689,350.17c-1.001,0-1.974-0.44-1.939-0.92+ c0.066-0.907,2.268-0.938,4.5-0.938c2.562,0,4.683-0.311,4.683,0.991c0,0.627-0.183,0.815-1.069,0.815+ C720.557,350.119,718.997,350.17,716.689,350.17z M721.796,351.176c0,5.069,0,10.053,0,15.233c-1.493,0-2.868,0-4.443,0+ c0-5.051,0-10.032,0-15.233C718.925,351.176,720.265,351.176,721.796,351.176z M713.098,367.67c5.01,0,9.848,0,14.946,0+ c0.353,2.334,0.195,4.671,0.079,7.264c-5.106,0-9.882,0-14.951,0C712.945,372.517,712.994,370.182,713.098,367.67z+ M687.682,367.644c8.143,0,16.15,0,24.31,0c0,2.424,0,4.702,0,6.967c-1.709,0.508-20.98,0.66-24.31,0.169+ C687.682,372.375,687.682,370.093,687.682,367.644z M728.346,376.05c2.878,0.004,5.757-0.028,8.635-0.029+ c0.307,0,0.613,0.094,1.051,0.165c0,0.806,0,1.557,0,2.487c-31.055,0-61.968,0-92.952,0c0-1.174-0.107-1.83,0.848-2.042+ c1.312-0.291,2.651-0.658,3.978-0.658C676.052,375.971,702.199,376.018,728.346,376.05z M669.996,354.531+ c-4.154,9.381-11.139,15.856-20.579,19.656c-8.231,3.314-16.788,5.071-25.716,4.748c-2.149-0.078-4.304-0.012-6.456-0.012+ c-0.007-0.11-0.014-0.221-0.02-0.331c2.688-1.527,5.379-3.046,8.062-4.582c7.739-4.431,14.196-10.304,19.441-17.492+ c0.888-1.217,1.711-1.828,3.307-1.71c7.209,0.534,14.362,0.196,21.358-1.849c0.284-0.083,0.841-0.335,1.389-0.459+ C670.576,353.169,670.206,354.058,669.996,354.531z M713.004,309.862c-1.904,8.951-5.308,17.252-11.44,24.241+ c-4.461,5.085-10.025,8.755-16.003,11.646c-8.15,3.942-16.696,6.956-25.768,7.944c-4.038,0.44-8.141,0.29-12.214,0.39+ c-0.201,0.005-0.406-0.151-0.793-0.305c3.525-5.593,6.396-11.529,12.863-14.44c3.3-1.486,6.724-1.953,10.247-2.139+ c0.941-0.05,1.886-0.008,2.914-0.207c-1.768-1.59-3.652-2.937-5.9-3.72c-6.745-2.35-13.082-1.291-19.054,2.389+ c-3.643,2.245-6.541,5.368-9.525,8.381c-2.026,2.046-4.083,4.059-6.113,6.101c-0.648,0.652-1.321,1.191-2.313,0.888+ c-5.192-1.582-10.383-3.167-15.569-4.768c-0.197-0.061-0.343-0.29-0.713-0.618c8.901-7.931,15.824-17.141,19.067-29.015+ c1.107,0.54,2.031,0.95,2.918,1.429c5.877,3.174,12.169,4.821,18.827,5.014c4.396,0.127,8.803,0.203,13.133-0.811+ c4.276-1.001,8.216-2.83,11.498-5.697c1.95-1.704,3.692-3.829,4.977-6.08c7.092-12.418,7.998-25.053,0.925-37.878+ c-2.624-4.757-6.124-8.773-10.07-12.429c-2.698-2.5-5.579-4.806-8.235-7.348c-3.174-3.037-6.274-6.16-9.263-9.379+ c-3.192-3.438-4.953-7.602-5.591-12.246c-1.294-9.418,1.181-17.739,7.328-24.957c3.963-4.654,9.258-6.948,15.06-8.312+ c4.567-1.074,9.198-1.212,13.833-0.813c4.179,0.36,8.295,0.149,12.418-0.566c4.057-0.703,7.495-2.617,10.715-5.073+ c5.652-4.311,6.48-16.826-1.412-21.129c-3.085-1.682-6.024-3.633-9.024-5.471c-2.58-1.581-4.579-3.718-6.057-6.355+ c-3.986-7.111-1.911-15.996,4.827-20.615c0.118-0.081,0.301-0.069,0.687-0.149c-0.286,0.907-0.562,1.707-0.789,2.521+ c-1.053,3.784-1.496,7.518,0.62,11.151c1.506,2.585,3.597,4.483,6.304,5.686c2.848,1.266,5.669,2.636,8.614,3.626+ c6.394,2.151,10.632,6.586,12.962,12.638c2.622,6.811,3.065,13.859,0.281,20.85c-1.087,2.729-2.784,5.006-4.941,6.981+ c-7.013,6.423-15.273,10.026-24.677,11.273c-4.27,0.566-8.493,1.51-12.723,2.352c-1.246,0.248-2.479,0.647-3.661,1.12+ c-7.963,3.186-10.551,11.71-5.64,18.761c3.805,5.463,8.997,9.499,14.27,13.416c4.322,3.211,8.211,6.86,11.752,10.915+ c7.819,8.955,11.258,19.55,11.841,31.227C714.724,296.862,714.373,303.423,713.004,309.862z M791.273,372.646+ c-0.33,2.485-1.653,4.483-3.14,6.375c-1.019,1.297-4.392,4.724-4.508,4.603c0.875-1.292,1.713-4.326,2.003-5.881+ c1.116-5.988-2.88-10.643-6.609-12.08c-1.988-0.766-4.125-1.287-6.24-1.544c-2.37-0.288-4.792-0.22-7.189-0.187+ c-4.032,0.057-7.991-0.505-11.863-1.511c-10.1-2.623-15.529-9.697-17.632-19.473c-1.592-7.404-0.324-14.651,2.542-21.599+ c1.775-4.305,3.545-8.63,3.719-13.325c0.099-2.681-0.02-5.502-0.748-8.058c-2.344-8.223-9.611-12.705-18.323-11.471+ c-2.576,0.365-5.084,1.216-7.821,1.893c-0.725-6.432-1.579-12.98-4.154-19.15c-2.56-6.134-6.568-11.28-11.143-16.342+ c3.106-1.171,6.131-1.762,9.168-2.15c8.208-1.05,16.312-0.404,24.153,2.282c7.769,2.662,15.092,6.235,21.151,11.937+ c7.503,7.061,12.596,15.43,13.832,25.882c0.922,7.793-0.612,15.138-3.917,22.138c-1.773,3.755-3.829,7.379-5.818,11.029+ c-1.549,2.842-2.485,5.868-3.116,9.028c-0.929,4.653,0.303,8.741,3.214,12.328c2.275,2.804,5.464,4.105,8.948,4.635+ c3.397,0.517,6.822,0.845,10.225,1.329c4.875,0.694,8.308,3.608,10.86,7.565C791.153,364.452,791.83,368.447,791.273,372.646z"/>+ <path style="fill:#350F33;" d="M479.264,257.915c-11.007-0.096-19.901-1.309-28.363-4.908c-4.015-1.708-4.376-2.014-4.142-6.342+ c0.664-12.283,3.956-23.698,12.27-33.09c5.942-6.712,13.419-10.763,22.574-11.232c2.845-0.146,5.563,0.337,8.19,1.451+ c3.896,1.652,6.442,4.499,7.225,8.637c0.502,2.653,1.81,4.59,3.612,6.539c5.294,5.725,6.839,12.662,5.821,20.265+ c-1.061,7.926-5.719,12.962-12.889,15.954C488.377,257.351,482.961,258.152,479.264,257.915z M447.679,250.635+ c1.234,0.407,2.267,0.885,3.352,1.083c4.942,0.904,9.889,1.793,14.853,2.569c7.903,1.236,15.624,0.2,23.169-2.24+ c4.339-1.404,7.768-4.092,9.972-8.136c1.783-3.271,2.686-6.827,2.915-10.545c0.412-6.681-1.977-12.516-5.441-18.038+ c-2.806-4.472-7.005-6.686-12.069-7.323c-9.51-1.196-17.569,1.755-24.413,8.498c-6.478,6.382-10.053,14.089-11.44,22.959+ C448.01,243.087,447.376,246.698,447.679,250.635z M498.875,218.156c0.879,1.874,1.908,3.744,2.115,4.242+ c1.594,3.839,2.115,7.819,1.832,11.964c-0.519,7.6-5.454,16.02-14.098,18.793c-7.508,2.409-15.142,3.095-22.949,2.142+ c-1.219-0.149-10.122-1.828-11.796-2.088c0.227,0.483,8.625,2.371,8.912,2.436c0.622,0.141,1.246,0.288,1.878,0.37+ c6.673,0.87,13.36,1.193,20.07,0.47c4.434-0.478,8.668-1.745,12.358-4.208c4.875-3.254,7.784-7.794,8.429-13.826+ C506.333,231.836,503.969,222.781,498.875,218.156z M495.861,212.729c-0.264-2.318-0.935-4.305-2.645-5.636+ c-3.249-2.528-6.924-4.002-11.109-3.776c-7.824,0.424-14.573,3.357-20.16,8.876c-1.099,1.086-6.166,5.994-8.603,11.276+ c1.281-2.656,7.546-9.133,8.398-9.855c7.287-6.18,15.673-7.96,24.909-6.105c3.189,0.64,6.056,2.026,8.316,4.474+ C495.227,212.265,495.561,212.482,495.861,212.729z"/>+ <path style="fill:#350F33;" d="M499.852,210.365c-0.286-1.308-0.554-2.62-0.862-3.923c-1.151-4.865-3.317-9.158-7.129-12.503+ c-3.91-3.431-8.591-5.402-13.625-6.057c-13.151-1.709-25.453,0.745-36.505,8.396c-0.261,0.18-2.647,2.022-3.647,2.722+ c1.083-1.417,4.401-4.099,5.417-4.802c5.286-3.654,11.195-5.862,17.461-6.987c7.382-1.326,14.783-1.49,22.085,0.708+ c4.727,1.423,8.794,3.947,11.876,7.759c2.921,3.612,3.952,6.615,4.609,11.197C499.63,207.568,499.924,210.351,499.852,210.365z"+ />+ <path style="fill:#350F33;" d="M509.599,227.218c8.738,11.025,4.539,35.358-7.136,42.226+ C514.674,257.153,515.73,242.938,509.599,227.218z"/>+ <path style="fill:#350F33;" d="M439.704,253.96c-5.168,0.317-8.527-2.721-11.466-6.5+ C431.765,250.107,435.119,253.064,439.704,253.96z"/>+ <path style="fill:#350F33;" d="M437.84,260.743c-0.11,4.16,0.987,7.717,5.402,10.023+ C438.693,270.364,436.117,265.225,437.84,260.743z"/>+ <path style="fill:#350F33;" d="M432.858,255.555c1.338,0.059,2.676,0.118,4.12,0.182+ C435.654,256.801,434.796,256.8,432.858,255.555z"/>+ <path style="fill:#350F33;" d="M394.554,327.302c-2.713-3.775-5.9-6.869-10.942-8.263+ C388.529,318.84,394.068,323.132,394.554,327.302z"/>+ <path style="fill:#350F33;" d="M397.844,321.196c3.004,2.13,6.008,4.261,9.012,6.391+ C404.338,327.431,399.605,324.017,397.844,321.196z"/>+ <path style="fill:#350F33;" d="M597.674,389.545c0,1.507,0,2.678,0,4.008c-12.528,0-24.933,0-37.522,0c0-1.409,0-2.63,0-4.008+ C572.621,389.545,585.032,389.545,597.674,389.545z M560.913,392.65c12.1,0,23.898,0,35.805,0+ c0.064-0.617,0.144-1.074,0.144-1.531c0-0.21-0.159-0.419-0.255-0.652c-11.846,0-23.648,0-35.587,0+ C560.982,391.224,560.952,391.832,560.913,392.65z"/>+ <path style="fill:#350F33;" d="M560.315,417.521c0-1.554,0-2.717,0-4.008c12.445,0,24.724,0,37.275,0+ c0.079,1.391,0.152,2.684,0.228,4.008C585.194,417.521,572.855,417.521,560.315,417.521z M561.122,416.647+ c12.036,0,23.76,0,35.615,0c0-0.848,0-1.498,0-2.325c-11.963,0-23.762,0-35.615,0+ C561.122,415.146,561.122,415.833,561.122,416.647z"/>+ <path style="fill:#350F33;" d="M162.244,448.468c-1.228-0.023-2.225-1.051-2.262-2.33c-0.039-1.384,1.019-2.47,2.37-2.433+ c1.354,0.038,2.293,1.104,2.259,2.566C164.583,447.498,163.512,448.492,162.244,448.468z"/>+ <path style="fill:#350F33;" d="M182.285,443.821c1.175-0.069,2.2,0.937,2.322,2.278c0.121,1.34-0.734,2.398-2.008,2.486+ c-1.292,0.089-2.264-0.829-2.308-2.179C180.249,445.115,181.197,443.885,182.285,443.821z"/>+ <path style="fill:#350F33;" d="M201.937,333.752c-4.546,0.674-7.616-3.148-8.084-7.046c-0.256-2.132,0.126-4.137,1.094-6.028+ c1.647-3.217,4.574-3.952,7.852-3.977c3.199-0.024,5.531,1.442,6.692,4.423c0.95,2.436,1.093,4.985,0.366,7.513+ c-0.686,2.388-2.299,4.029-4.625,4.803C204.214,333.78,203.041,333.662,201.937,333.752z M209.202,325.312+ c0.002-2.346-0.366-3.509-1.423-5.131c-2.155-3.309-4.653-2.355-6.527-0.404c-0.535,0.557-0.936,1.309-1.204,2.043+ c-1.17,3.199-0.511,6.162,1.466,8.822c1.906,2.564,4.444,2.422,6.247-0.264C208.82,328.803,209.286,327.051,209.202,325.312z+ M202.047,333.156c-4.391-4.719-4.797-11.062-0.141-15.25c-4.094-0.781-7.097,3.171-7.107,7.267+ C194.788,329.679,197.594,333.438,202.047,333.156z"/>+ <path style="fill:#350F33;" d="M188.378,341.515c-4.026,0.009-6.078-3.001-4.482-6.74c0.346-0.811,1.109-1.796,1.87-2.003+ c1.565-0.426,3.262-0.502,4.898-0.461c0.561,0.014,1.236,0.711,1.628,1.261c1.359,1.903,1.076,5.142-0.4,6.955+ C190.916,341.729,189.625,341.461,188.378,341.515z M187.711,336.986c0.018,0.486,0.074,1.221,0.32,1.733+ c0.375,0.781,0.843,1.75,2.094,1.75c0.459,0,1.542-1.011,1.844-1.719c0.352-0.828,0.446-2.042,0.359-2.953+ c-0.139-1.463-1.26-2.462-2.186-2.506c-1.123-0.054-2.001,0.678-2.33,2.396C187.753,335.997,187.694,336.512,187.711,336.986z+ M188.263,333.021c-2.997-0.224-4.312,2.327-4.013,4.651c0.261,2.02,2.379,3.392,4.359,3.109+ C186.484,338.797,186.5,334.979,188.263,333.021z"/>+ <path style="fill:#350F33;" d="M344.273,247.792c-2.345,0.972-4.133-0.304-6.138-1.321c-1.738,0.755-3.421,2.345-5.812,1.403+ c1.996-0.932,3.815-1.781,5.65-2.637C339.975,246.048,342.124,246.92,344.273,247.792z"/>+ <path style="fill:#350F33;" d="M117.652,483.79c1.674,0,3.347-0.008,5.021,0.002c1.778,0.011,2.783,0.824,3.004,2.404+ c0.225,1.616-0.487,2.734-2.115,3.275c-0.374,0.124-0.773,0.238-1.162,0.24c-3.508,0.015-7.016,0.054-10.522-0.024+ c-1.484-0.033-2.558-1.371-2.592-2.904c-0.035-1.563,0.962-2.706,2.629-2.782c1.909-0.087,3.825-0.02,5.738-0.02+ C117.652,483.917,117.652,483.853,117.652,483.79z"/>+ <path style="fill:#350F33;" d="M155.84,486.1c0.006,1.355-0.878,2.387-2.072,2.421c-1.31,0.037-2.388-1.067-2.357-2.415+ c0.031-1.357,1.132-2.5,2.367-2.458C154.934,483.688,155.834,484.758,155.84,486.1z"/>+ <path style="fill:#350F33;" d="M178.161,486.248c-0.028,1.167-0.988,2.074-2.161,2.042c-1.175-0.032-1.951-0.943-1.91-2.241+ c0.037-1.185,0.976-2.23,2.015-2.243C177.251,483.793,178.192,484.91,178.161,486.248z"/>+ <path style="fill:#350F33;" d="M303.458,327.938c-2.062-1.547-0.016-3.062-1.427-4.844c-1.021-1.29-1.188-2.5-0.5-5.25+ c0.399,1.234-0.066,2.569,0.214,3.662c0.232,0.904,1.472,1.837,1.692,2.745c0.235,0.971-0.744,1.76-0.135,2.438+ c1.459,1.626,2.529,2.344,2.529,4.898C305.831,331.586,305.454,329.435,303.458,327.938z"/>+ <path style="fill:#350F33;" d="M624.969,439.344c0.188,1.137-1.711,1.089-2.562,1.098c-3.438,0.036-5.656-0.723-8.703-2.568+ c-0.48-0.29-1.486-1.145-1.312-1.783c0.159-0.582,1.038-0.659,1.604-0.824c0.434-0.126,1.668-0.001,2.129,0.045+ c3.094,0.307,4.208,0.913,6.719,2.094C623.83,437.87,624.833,438.519,624.969,439.344z M613.473,436.382+ c-0.661,1.837,10.558,4.868,10.798,2.748C624.39,438.087,614.171,434.443,613.473,436.382z"/>+ <path style="fill:#350F33;" d="M481.535,231.82c0.096,2.389-1.371,3.543-3.131,4.228c-1.544,0.6-3.224,1.016-4.874,1.148+ c-3.527,0.281-6.214,1.778-8.212,4.698c-0.664,0.972-1.57,1.826-2.506,2.553c-1.679,1.305-4.098,1.434-5.626,0.39+ c-1.554-1.062-2.052-2.636-1.763-4.416c0.344-2.119,1.674-3.413,3.76-3.853c1.406-0.297,2.836-0.481,4.257-0.705+ c3.154-0.496,5.728-1.839,7.409-4.712c0.595-1.016,1.431-1.939,2.313-2.729c1.741-1.558,4.543-1.632,6.474-0.323+ C481.016,229.033,481.681,230.309,481.535,231.82z"/>+ <path style="fill:#350F33;" d="M466.83,244.649c1.191-2.838,3.568-3.954,6.305-4.455c2.399-0.439,4.822-0.745,7.367-0.937+ c-0.743,0.365-1.454,0.851-2.238,1.064c-0.907,0.246-1.877,0.282-2.824,0.357C472.076,240.942,469.093,241.994,466.83,244.649z"+ />+ <path style="fill:#350F33;" d="M459.17,233.365c1.7-0.312,3.51-0.359,5.068-1.01c1.556-0.65,2.858-1.905,4.576-3.108+ C466.462,233.319,463.082,234.117,459.17,233.365z"/>+ <path style="fill:#350F33;" d="M462.647,248.277c-3.288,2.302-7.527,1.113-9.101-2.236c1.325,0.722,2.637,1.775,4.121,2.152+ C459.157,248.572,460.817,248.277,462.647,248.277z"/>+ <path style="fill:#350F33;" d="M484.89,232.2c-0.302-1.667-0.603-3.334-0.946-5.228+ C485.432,228.643,485.841,230.292,484.89,232.2z"/>+ <path style="fill:#350F33;" d="M206.65,324.472c0.035,2.138-0.811,3.467-2.078,3.491c-1.274,0.024-2.341-1.617-2.222-3.44+ c0.021-0.316,0.067-0.64,0.168-0.938c0.321-0.947,0.774-1.776,1.951-1.803c0.945-0.022,1.818,0.783,2.099,1.957+ C206.643,324.046,206.64,324.371,206.65,324.472z M204.586,327.051c2.195,0,1.656-4.364-0.09-4.364+ C202.807,322.688,202.625,327.051,204.586,327.051z"/>+ </g>+ </g>+</g>+</svg>diff --git a/studio/public/img/feedback/bug.svg b/studio/public/img/feedback/bug.svgnew file mode 100644index 00000000000..50660079d6e--- /dev/null+++ b/studio/public/img/feedback/bug.svg@@ -0,0 +1,3 @@+<svg width="62" height="54" viewBox="0 0 62 54" fill="none" xmlns="http://www.w3.org/2000/svg">+<path fill-rule="evenodd" clip-rule="evenodd" d="M44.8484 6.64777C39.5422 1.33904 33.9655 -0.0414026 28.975 0.675557C24.0735 1.37973 19.9038 4.07876 17.1948 6.64498C15.8375 7.93068 15.8375 10.0693 17.1948 11.355C19.9038 13.9212 24.0735 16.6203 28.975 17.3244C33.9655 18.0414 39.5422 16.661 44.8484 11.3522C46.1473 10.0527 46.1473 7.94728 44.8484 6.64777ZM41.5315 44.9756C38.4729 47.5269 34.8645 49 31 49C27.0726 49 23.4096 47.4785 20.3195 44.8501C20.192 45.0554 20.0376 45.2485 19.8561 45.4243L12.0875 52.9508C10.8975 54.1037 8.99825 54.0736 7.84537 52.8837C6.69249 51.6937 6.72256 49.7944 7.91253 48.6415L15.6812 41.1151C15.9157 40.8879 16.1777 40.7066 16.4562 40.5711C15.0835 38.6173 13.9263 36.3869 13.0359 33.9488L3.93133 36.9222C2.35634 37.4365 0.662581 36.5767 0.148215 35.0017C-0.36615 33.4268 0.493656 31.733 2.06865 31.2186L11.5032 28.1375C11.1739 26.2025 11 24.188 11 22.1188C11 21.5529 11.013 21.0301 11.0387 20.548L1.7208 16.1556C0.222116 15.4492 -0.420101 13.6615 0.286372 12.1628C0.992843 10.6641 2.78048 10.0219 4.27916 10.7284L14.8027 15.6891C16.0552 16.044 17.5768 16.9178 19.3059 17.9107C22.5946 19.7992 26.6339 22.1188 31 22.1188C35.3661 22.1188 39.4054 19.7992 42.6941 17.9107L42.8433 17.825C43.0806 17.5885 43.3619 17.3881 43.6823 17.237L45.2104 16.5167C45.5553 16.3413 45.8874 16.1832 46.2061 16.0473L57.4895 10.7284C58.9882 10.0219 60.7758 10.6641 61.4823 12.1628C62.1887 13.6615 61.5465 15.4492 60.0478 16.1556L50.9554 20.4417C50.985 20.953 51 21.511 51 22.1188C51 24.2135 50.8217 26.2522 50.4845 28.209L59.7 31.2186C61.275 31.733 62.1348 33.4268 61.6204 35.0017C61.1061 36.5767 59.4123 37.4365 57.8373 36.9222L48.9394 34.0163C48.0387 36.4651 46.8686 38.703 45.4811 40.66C45.6969 40.7826 45.9009 40.9343 46.0875 41.1151L53.8561 48.6415C55.0461 49.7944 55.0762 51.6937 53.9233 52.8837C52.7704 54.0736 50.8711 54.1037 49.6812 52.9508L41.9125 45.4243C41.7685 45.2848 41.6415 45.1344 41.5315 44.9756Z" fill="white"/>+</svg>diff --git a/studio/public/img/feedback/feature_request.svg b/studio/public/img/feedback/feature_request.svgnew file mode 100644index 00000000000..5a328e82e66--- /dev/null+++ b/studio/public/img/feedback/feature_request.svg@@ -0,0 +1,5 @@+<svg width="65" height="52" viewBox="0 0 65 52" fill="none" xmlns="http://www.w3.org/2000/svg">+<path d="M6.5 36L0 36L4.1741e-07 12L6.50001 12L56.5 6.73756e-07L56.5 47L6.5 36Z" fill="#FBFBFB"/>+<path d="M59.5 0H62.5C63.6046 0 64.5 0.89543 64.5 2V45C64.5 46.1046 63.6046 47 62.5 47H59.5V0Z" fill="#FBFBFB"/>+<path d="M39.2389 42.6792L38.7739 44.7297C38.2853 46.8841 36.1427 48.2346 33.9883 47.746L21.1571 44.8361C19.0027 44.3475 17.6522 42.205 18.1408 40.0505L18.6058 38" stroke="white" stroke-width="5"/>+</svg>diff --git a/studio/public/img/feedback/feedback.svg b/studio/public/img/feedback/feedback.svgnew file mode 100644index 00000000000..b31a39624d0--- /dev/null+++ b/studio/public/img/feedback/feedback.svg@@ -0,0 +1,4 @@+<svg width="62" height="58" viewBox="0 0 62 58" fill="none" xmlns="http://www.w3.org/2000/svg">+<path d="M0.638702 57.6667L16.8494 29.5888L33.0602 57.6667L0.638702 57.6667Z" fill="#FBFBFB"/>+<path fill-rule="evenodd" clip-rule="evenodd" d="M33.0601 57.6667C48.9659 57.6667 61.8601 44.7725 61.8601 28.8667C61.8601 12.9609 48.9659 0.0666656 33.0601 0.0666656C17.1543 0.0666656 4.2601 12.9609 4.2601 28.8667C4.2601 44.7725 17.1543 57.6667 33.0601 57.6667ZM21.3268 33.1333C23.6833 33.1333 25.5935 31.2231 25.5935 28.8667C25.5935 26.5103 23.6833 24.6 21.3268 24.6C18.9704 24.6 17.0602 26.5103 17.0602 28.8667C17.0602 31.2231 18.9704 33.1333 21.3268 33.1333ZM37.3268 28.8667C37.3268 31.2231 35.4166 33.1333 33.0602 33.1333C30.7038 33.1333 28.7935 31.2231 28.7935 28.8667C28.7935 26.5103 30.7038 24.6 33.0602 24.6C35.4166 24.6 37.3268 26.5103 37.3268 28.8667ZM44.7935 33.1333C47.1499 33.1333 49.0602 31.2231 49.0602 28.8667C49.0602 26.5103 47.1499 24.6 44.7935 24.6C42.4371 24.6 40.5269 26.5103 40.5269 28.8667C40.5269 31.2231 42.4371 33.1333 44.7935 33.1333Z" fill="#FBFBFB"/>+</svg>diff --git a/studio/public/img/feedback/problem.svg b/studio/public/img/feedback/problem.svgnew file mode 100644index 00000000000..c8340b062ed--- /dev/null+++ b/studio/public/img/feedback/problem.svg@@ -0,0 +1,4 @@+<svg width="23" height="63" viewBox="0 0 23 63" fill="none" xmlns="http://www.w3.org/2000/svg">+<path d="M20.0514 0H2.31993C1.09804 0 0.161752 1.08605 0.341752 2.29462L5.46516 36.6946C5.61111 37.6746 6.45255 38.4 7.44334 38.4H14.5011C15.4827 38.4 16.3192 37.6876 16.4755 36.7186L22.0259 2.31857C22.2221 1.10261 21.2831 0 20.0514 0Z" fill="#FBFBFB"/>+<circle cx="11" cy="54.4667" r="8.53333" fill="#FBFBFB"/>+</svg>diff --git a/studio/public/img/feedback/question.svg b/studio/public/img/feedback/question.svgnew file mode 100644index 00000000000..f6c483e6e7d--- /dev/null+++ b/studio/public/img/feedback/question.svg@@ -0,0 +1,3 @@+<svg width="39" height="63" viewBox="0 0 39 63" fill="none" xmlns="http://www.w3.org/2000/svg">+<path d="M22.5066 44.2982C22.4207 43.7811 22.4207 43.3502 22.4207 43.1778C22.4207 39.8167 23.8811 36.9726 26.7159 34.9904L30.4097 32.4049C35.3921 28.8714 39 24.0451 39 17.2367C39 8.44596 32.1278 0 19.4141 0C6.44273 0 0 9.39398 0 18.0123C0 19.3912 0.171806 20.7702 0.515419 21.9767L10.2225 22.6662C9.87885 21.7182 9.70705 20.0807 9.70705 18.788C9.70705 13.8755 13.0573 8.96307 19.4141 8.96307C25.685 8.96307 28.6916 13.186 28.6916 17.6676C28.6916 20.5978 27.489 23.0971 24.6542 25.1655L20.7026 28.0096C15.7203 31.6293 13.7445 35.8523 13.7445 41.0233C13.7445 42.2298 13.8304 43.1778 13.9163 44.2982H22.5066ZM12.0264 56.7086C12.0264 60.156 14.7753 63 18.2974 63C21.7335 63 24.5683 60.156 24.5683 56.7086C24.5683 53.2613 21.7335 50.3311 18.2974 50.3311C14.7753 50.3311 12.0264 53.2613 12.0264 56.7086Z" fill="#FBFBFB"/>+</svg>diff --git a/studio/public/img/file-filled.svg b/studio/public/img/file-filled.svgnew file mode 100644index 00000000000..3f2a8743cf3--- /dev/null+++ b/studio/public/img/file-filled.svg@@ -0,0 +1,12 @@+<?xml version="1.0" encoding="UTF-8"?>+<svg width="24px" height="21px" viewBox="0 0 24 21" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">+ <!-- Generator: Sketch 59.1 (86144) - https://sketch.com -->+ <title>Slice</title>+ <desc>Created with Sketch.</desc>+ <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">+ <g id="File" transform="translate(4.000000, 0.000000)">+ <path d="M2,0 L10,0 L10,0 L17,7 L17,19 C17,20.1045695 16.1045695,21 15,21 L2,21 C0.8954305,21 1.3527075e-16,20.1045695 0,19 L0,2 C-1.3527075e-16,0.8954305 0.8954305,2.02906125e-16 2,0 Z" id="Rectangle" fill="#888888"></path>+ <path d="M10,0 L17,7 L12,7 C10.8954305,7 10,6.1045695 10,5 L10,0 L10,0 Z" id="Triangle" fill="#727272"></path>+ </g>+ </g>+</svg>\ No newline at end of filediff --git a/studio/public/img/folder-filled.svg b/studio/public/img/folder-filled.svgnew file mode 100644index 00000000000..e179aebbd01--- /dev/null+++ b/studio/public/img/folder-filled.svg@@ -0,0 +1,12 @@+<?xml version="1.0" encoding="UTF-8"?>+<svg width="24px" height="21px" viewBox="0 0 24 21" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">+ <!-- Generator: Sketch 59.1 (86144) - https://sketch.com -->+ <title>Group 5</title>+ <desc>Created with Sketch.</desc>+ <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">+ <g id="Group-5">+ <path d="M2,0 L9.88060242,0 L9.88060242,0 L11.3224046,0.774228654 C11.6133185,0.930445558 11.9383852,1.01220287 12.2685891,1.01220287 L22,1.01220287 C23.1045695,1.01220287 24,1.90763337 24,3.01220287 L24,19 C24,20.1045695 23.1045695,21 22,21 L2,21 C0.8954305,21 1.3527075e-16,20.1045695 0,19 L0,2 C-1.3527075e-16,0.8954305 0.8954305,2.02906125e-16 2,0 Z" id="Rectangle" fill="#727272"></path>+ <path d="M2,4.95404091 L10.0483363,4.95404091 L10.0483363,4.95404091 L11.4020388,3.59077368 C11.7775083,3.21265135 12.288349,3 12.8212221,3 L22,3 C23.1045695,3 24,3.8954305 24,5 L24,18 C24,19.1045695 23.1045695,20 22,20 L2,20 C0.8954305,20 1.3527075e-16,19.1045695 0,18 L0,6.95404091 C-1.3527075e-16,5.84947141 0.8954305,4.95404091 2,4.95404091 Z" id="Rectangle" fill="#888888"></path>+ </g>+ </g>+</svg>\ No newline at end of filediff --git a/studio/public/img/function-providers/aws-lambda-severless-function.png b/studio/public/img/function-providers/aws-lambda-severless-function.pngnew file mode 100644index 00000000000..7343aa324c8Binary files /dev/null and b/studio/public/img/function-providers/aws-lambda-severless-function.png differdiff --git a/studio/public/img/function-providers/google-cloud-run.png b/studio/public/img/function-providers/google-cloud-run.pngnew file mode 100644index 00000000000..8512b85da48Binary files /dev/null and b/studio/public/img/function-providers/google-cloud-run.png differdiff --git a/studio/public/img/function-providers/http-request.png b/studio/public/img/function-providers/http-request.pngnew file mode 100644index 00000000000..de8043ee13cBinary files /dev/null and b/studio/public/img/function-providers/http-request.png differdiff --git a/studio/public/img/function-providers/supabase-severless-function.png b/studio/public/img/function-providers/supabase-severless-function.pngnew file mode 100644index 00000000000..a3b7b36f929Binary files /dev/null and b/studio/public/img/function-providers/supabase-severless-function.png differdiff --git a/studio/public/img/home.svg b/studio/public/img/home.svgnew file mode 100644index 00000000000..7bb31b23dc2--- /dev/null+++ b/studio/public/img/home.svg@@ -0,0 +1 @@+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-home"><path d="M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"></path><polyline points="9 22 9 12 15 12 15 22"></polyline></svg>\ No newline at end of filediff --git a/studio/public/img/key.svg b/studio/public/img/key.svgnew file mode 100755index 00000000000..e778e74ebb5--- /dev/null+++ b/studio/public/img/key.svg@@ -0,0 +1 @@+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-key"><path d="M21 2l-2 2m-7.61 7.61a5.5 5.5 0 1 1-7.778 7.778 5.5 5.5 0 0 1 7.777-7.777zm0 0L15.5 7.5m0 0l3 3L22 7l-3-3m-3.5 3.5L19 4"></path></svg>\ No newline at end of filediff --git a/studio/public/img/libraries/c-sharp-icon.svg b/studio/public/img/libraries/c-sharp-icon.svgnew file mode 100644index 00000000000..5f58f928629--- /dev/null+++ b/studio/public/img/libraries/c-sharp-icon.svg@@ -0,0 +1 @@+<svg fill="none" height="2500" viewBox="204.925 153.577 757.617 860.543" width="2500" xmlns="http://www.w3.org/2000/svg"><path d="m962.541 407.983c0-14.237-3.034-27.074-9.336-37.811-6.068-10.736-15.171-19.605-27.307-26.607-100.829-58.117-201.891-116.233-302.72-174.35-27.308-15.638-53.449-15.171-80.523.7-40.145 23.574-241.336 138.873-301.086 173.65-24.741 14.237-36.644 36.177-36.644 64.652v351.033c0 14.004 3.034 26.374 8.869 37.111 6.069 10.97 15.405 20.306 27.775 27.541 59.984 34.777 260.941 149.843 301.086 173.65 27.074 15.868 53.448 16.568 80.523.7 100.829-58.35 201.891-116.233 302.72-174.35 12.603-7.235 21.706-16.338 27.774-27.541 5.835-10.737 8.869-23.107 8.869-37.111z" fill="#9a4993"/><path d="m584.667 582.333-371.34 213.794c6.069 10.97 15.405 20.306 27.775 27.542 59.984 34.776 260.941 149.842 301.086 173.649 27.074 15.872 53.449 16.572 80.523.7 100.829-58.35 201.891-116.233 302.72-174.349 12.603-7.236 21.706-16.338 27.774-27.542z" fill="#6a1577"/><path d="m474.735 645.584c21.707 37.811 62.318 63.252 108.765 63.252 46.913 0 87.758-25.674 109.231-63.952l-108.064-62.551z" fill="#6a1577"/><path d="m962.542 407.983c0-14.237-3.035-27.074-9.336-37.811l-368.539 212.161 369.005 213.795c5.835-10.737 8.87-23.107 8.87-37.111z" fill="#813084"/><g fill="#fff"><path d="m692.731 644.884c-21.472 38.044-62.317 63.952-109.231 63.952-46.68 0-87.291-25.441-108.764-63.252-10.503-18.438-16.572-39.444-16.572-62.084 0-69.32 56.016-125.336 125.336-125.336 46.213 0 86.592 25.207 108.298 62.551l109.464-63.018c-43.645-75.154-124.869-125.802-217.995-125.802-139.107 0-251.605 112.732-251.605 251.605 0 45.513 12.136 88.459 33.376 125.336 43.412 75.388 125.102 126.269 218.462 126.269 93.594 0 175.284-51.114 218.696-126.969zm138.406-120.901h-24.974v120.668h24.974zm55.316 0h-24.974v120.668h24.974z"/><path d="m906.759 544.289h-120.668v24.974h120.668zm0 55.082h-120.668v24.974h120.668z"/></g></svg>\ No newline at end of filediff --git a/studio/public/img/libraries/dart-icon.svg b/studio/public/img/libraries/dart-icon.svgnew file mode 100644index 00000000000..7fdd552a41e--- /dev/null+++ b/studio/public/img/libraries/dart-icon.svg@@ -0,0 +1,32 @@+<?xml version="1.0" encoding="utf-8"?>+<!-- Generator: Adobe Illustrator 25.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"+ viewBox="0 0 138 137.3" style="enable-background:new 0 0 138 137.3;" xml:space="preserve">+<style type="text/css">+ .st0{fill:#01579B;}+ .st1{fill:#40C4FF;}+ .st2{fill:#29B6F6;}+ .st3{opacity:0.2;fill:#FFFFFF;enable-background:new ;}+ .st4{opacity:0.2;fill:#263238;enable-background:new ;}+ .st5{opacity:0.2;fill:url(#SVGID_1_);enable-background:new ;}+</style>+<g>+ <path class="st0" d="M29.6,108.9L6.4,85.7c-2.8-2.8-4.5-6.8-4.5-10.8c0-1.8,1-4.6,1.8-6.3l21.5-44.8L29.6,108.9z"/>+ <path class="st1" d="M109.3,28.4L86.1,5.1c-2-2-6.3-4.5-9.8-4.5c-3.1,0-6.1,0.6-8.1,1.8l-43,21.5L109.3,28.4z"/>+ <polygon class="st1" points="57.4,136.7 113.8,136.7 113.8,112.5 71.7,99.1 33.2,112.5 "/>+ <path class="st2" d="M25.2,96.4c0,7.2,0.9,8.9,4.5,12.5l3.6,3.6h80.6L74.4,67.8L25.2,23.9V96.4z"/>+ <path class="st0" d="M96.8,23.9H25.2l88.6,88.7H138V57l-28.7-28.6C105.3,24.3,101.7,23.9,96.8,23.9z"/>+ <path class="st3" d="M30.5,109.8c-3.6-3.6-4.5-7.1-4.5-13.4V24.8l-0.9-0.9v72.5C25.2,102.7,25.2,104.4,30.5,109.8l2.7,2.7l0,0+ L30.5,109.8z"/>+ <polygon class="st4" points="137.1,56.1 137.1,111.6 112.9,111.6 113.8,112.5 138,112.5 138,57 "/>+ <path class="st3" d="M109.3,28.4c-4.4-4.4-8.1-4.5-13.4-4.5H25.2l0.9,0.9h69.8C98.6,24.8,105.3,24.3,109.3,28.4L109.3,28.4z"/>++ <radialGradient id="SVGID_1_" cx="69.96" cy="451.1172" r="68.065" gradientTransform="matrix(1 0 0 1 0 -382.4672)" gradientUnits="userSpaceOnUse">+ <stop offset="0" style="stop-color:#FFFFFF;stop-opacity:0.1"/>+ <stop offset="1" style="stop-color:#FFFFFF;stop-opacity:0"/>+ </radialGradient>+ <path class="st5" d="M137.1,56.1l-27.8-27.8L86.1,5.1c-2-2-6.3-4.5-9.8-4.5c-3.1,0-6.1,0.6-8.1,1.8l-43,21.5L3.7,68.6+ c-0.8,1.6-1.8,4.5-1.8,6.3c0,3.9,1.7,7.9,4.5,10.8L27.8,107c0.5,0.6,1.1,1.3,1.8,2l0.9,0.9l2.7,2.7l23.3,23.3l0.9,0.9h55.5h0.9+ v-24.2H138v-0.1V57L137.1,56.1z"/>+</g>+</svg>diff --git a/studio/public/img/libraries/expo-icon.svg b/studio/public/img/libraries/expo-icon.svgnew file mode 100644index 00000000000..e4deeadf133--- /dev/null+++ b/studio/public/img/libraries/expo-icon.svg@@ -0,0 +1 @@+<svg width="24" height="26" viewBox="0 0 24 26" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M22.069 10.075a2.273 2.273 0 00-.887-.74 2.296 2.296 0 00-2.237.16 2.265 2.265 0 00-.77.859 2.016 2.016 0 00.392 2.274 3.342 3.342 0 002.23-.63 3.289 3.289 0 001.271-1.923zM15.3 1.3l-1.45-.788-6.31 3.481.503.27.957.498 1.732-.954 4.569-2.523-.001.016zm.584-.24a.225.225 0 01.16.15l2.114 6.182a.205.205 0 01-.1.269 4.063 4.063 0 00-1.798 1.974 4.017 4.017 0 00-.175 2.655 4.283 4.283 0 001.755 2.332c.842.55 1.852.79 2.854.68a.269.269 0 01.262.16l2.184 6.345a.256.256 0 01-.101.278l-6.712 3.89a.253.253 0 01-.101.02.27.27 0 01-.181-.03L13.69 24.5a.234.234 0 01-.1-.1l-4.6-10.483-7.005 3.95a.327.327 0 01-.272.01l-1.592-.898a.23.23 0 01-.1-.299l6.805-12.8a.243.243 0 01.11-.099L13.721.03a.259.259 0 01.241 0l1.923 1.03zM7.47 4.499L7.14 4.33.58 16.71l1.197.668 5.657-7.335a.275.275 0 01.231-.1.282.282 0 01.201.149l6.16 14.066 1.646 1.007L9.06 6.005l-.281-.798-1.318-.718.01.01zm10.145 7.382a2.51 2.51 0 01.12-1.663 2.54 2.54 0 011.138-1.23 2.798 2.798 0 013.261.4 2.513 2.513 0 01.073 3.568l-.073.073a2.77 2.77 0 01-3.788.01 2.719 2.719 0 01-.731-1.158z" fill="#000"/></svg>\ No newline at end of filediff --git a/studio/public/img/libraries/javascript-icon.svg b/studio/public/img/libraries/javascript-icon.svgnew file mode 100644index 00000000000..1f203d35ed6--- /dev/null+++ b/studio/public/img/libraries/javascript-icon.svg@@ -0,0 +1 @@+<svg xmlns="http://www.w3.org/2000/svg" width="2500" height="2500" viewBox="0 0 1052 1052"><path fill="#f0db4f" d="M0 0h1052v1052H0z"/><path d="M965.9 801.1c-7.7-48-39-88.3-131.7-125.9-32.2-14.8-68.1-25.399-78.8-49.8-3.8-14.2-4.3-22.2-1.9-30.8 6.9-27.9 40.2-36.6 66.6-28.6 17 5.7 33.1 18.801 42.8 39.7 45.4-29.399 45.3-29.2 77-49.399-11.6-18-17.8-26.301-25.4-34-27.3-30.5-64.5-46.2-124-45-10.3 1.3-20.699 2.699-31 4-29.699 7.5-58 23.1-74.6 44-49.8 56.5-35.6 155.399 25 196.1 59.7 44.8 147.4 55 158.6 96.9 10.9 51.3-37.699 67.899-86 62-35.6-7.4-55.399-25.5-76.8-58.4-39.399 22.8-39.399 22.8-79.899 46.1 9.6 21 19.699 30.5 35.8 48.7 76.2 77.3 266.899 73.5 301.1-43.5 1.399-4.001 10.6-30.801 3.199-72.101zm-394-317.6h-98.4c0 85-.399 169.4-.399 254.4 0 54.1 2.8 103.7-6 118.9-14.4 29.899-51.7 26.2-68.7 20.399-17.3-8.5-26.1-20.6-36.3-37.699-2.8-4.9-4.9-8.7-5.601-9-26.699 16.3-53.3 32.699-80 49 13.301 27.3 32.9 51 58 66.399 37.5 22.5 87.9 29.4 140.601 17.3 34.3-10 63.899-30.699 79.399-62.199 22.4-41.3 17.6-91.3 17.4-146.6.5-90.2 0-180.4 0-270.9z" fill="#323330"/></svg>\ No newline at end of filediff --git a/studio/public/img/libraries/kotlin-icon.svg b/studio/public/img/libraries/kotlin-icon.svgnew file mode 100644index 00000000000..93fee789273--- /dev/null+++ b/studio/public/img/libraries/kotlin-icon.svg@@ -0,0 +1 @@+<svg data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 125 125" width="2500" height="2500"><defs><linearGradient id="b" x1="-21.045" y1="114.925" x2="95.274" y2="-1.395" gradientUnits="userSpaceOnUse"><stop offset=".108" stop-color="#c757bc"/><stop offset=".173" stop-color="#cd5ca9"/><stop offset=".492" stop-color="#e8744f"/><stop offset=".716" stop-color="#f88316"/><stop offset=".823" stop-color="#ff8900"/></linearGradient><linearGradient id="a" x1="39.893" y1="147.552" x2="96.589" y2="90.856" gradientUnits="userSpaceOnUse"><stop offset=".296" stop-color="#00afff"/><stop offset=".694" stop-color="#5282ff"/><stop offset="1" stop-color="#945dff"/></linearGradient><linearGradient id="c" x1="-1.501" y1="34.501" x2="38.272" y2="-5.273" xlink:href="#a"/></defs><title>icon_Kotlin</title><path fill="url(#b)" d="M62.759 0L0 65.999V125l62.669-62.779L125 0H62.759z"/><path data-name="<Path>" fill="url(#a)" d="M0 125l62.669-62.778L125 125H0z"/><path fill="url(#c)" d="M0 0h62.759L0 65.999V0z"/></svg>\ No newline at end of filediff --git a/studio/public/img/libraries/nestjs-icon.svg b/studio/public/img/libraries/nestjs-icon.svgnew file mode 100644index 00000000000..6deb3ed54ee--- /dev/null+++ b/studio/public/img/libraries/nestjs-icon.svg@@ -0,0 +1,19 @@+<?xml version="1.0" encoding="utf-8"?>+<!-- Generator: Adobe Illustrator 25.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"+ viewBox="0 0 32 32" style="enable-background:new 0 0 32 32;" xml:space="preserve">+<style type="text/css">+ .st0{fill-rule:evenodd;clip-rule:evenodd;fill:#EA2845;}+</style>+<path class="st0" d="M18.8,0c-0.2,0-0.4,0-0.6,0.1c1.8,1.2-0.3,3,0.7,4.5c-0.1-1,0.3-2,1.2-2.6c0.3-0.3,0.5-0.4,0.5-0.8+ C20.5,0.5,19.5,0,18.8,0z M21.5,0.5c-0.3,1.3-0.6,1.3-1.5,2.2c-0.8,0.6-1,1.6-0.6,2.5c-3.9-1.5-8.9-2.4-12.5,0.2+ C5.5,6.3,4.7,7.6,3.1,8.2C2.1,8.5,1,8.4,0.4,9.4c-0.5,0.6-0.5,1.5,0.1,2.1c0.2,0.2,0.6,0.3,0.7,0.5c0.1,0.1,0.1,0.2,0.2,0.4+ c0.2,0.4,0.4,0.7,0.6,0.9c0.2,0.1,0.7,0.3,0.8,0.4c0.1,0.2-0.2,0.9,0.1,1c0.2,0.1,0.7-0.9,0.8-0.9c-0.1,0.7-0.2,2,0.6,1+ c0.4-0.5,0.4-0.7,1.1-0.8C5.7,14,6.2,14,6.6,13.9c5.1-0.2,9.4,3.6,9.9,8.7c-0.1-0.6-0.9-1.5-1.6-1.3c-0.3,0.1-0.4,0.6-0.6,0.9+ c-0.2,0.4-0.5,0.7-0.9,1c0.1-0.6,0-1.1-0.1-1.7c-0.2,0.9-0.6,2.3-1.7,2c-0.7-0.1-1.3-0.6-1.5-1.3c-0.1-0.9,0.8-1.9-0.7-2+ c-3-0.1-2.3,4.2-0.5,5.3c-0.4,0-0.8,0.2-1.2,0.3c3.8,2.2,8.6,0.9,10.8-2.9c0.5-0.9,0.8-1.8,1-2.8c0.3,1.2,0.2,2.4,0,3.5+ c-0.1,0.6-0.4,1.2-0.6,1.8c-0.4,0.8-0.9,1.5-1.5,2.1c-0.4,0.4-1,0.7-1.2,1.1c1.4-0.2,2.7-0.6,4-1.1C18.8,29.6,17,31.1,15,32+ c4.5-0.3,8.5-2.9,10.6-6.8c-0.3,1.9-1.1,3.7-2.2,5.3c3.1-2,5.1-5.3,5.7-8.9c0.3,1.3,0.4,2.7,0.2,4c2.5-3.5,3.3-7.9,2.2-12.1+ c-0.4-1.6-1.1-3.1-1.9-4.5c-0.3-0.6-0.7-1.1-1.1-1.6c-0.2-0.2-1-0.9-1-1.1c0,0,0,0,0,0c0,3.7-4,6.1-7.3,5.1c2.6-0.2,4.8-2.2,5.2-4.8+ C25.7,4,24.1,1.3,21.5,0.5z"/>+</svg>diff --git a/studio/public/img/libraries/nextjs-icon.svg b/studio/public/img/libraries/nextjs-icon.svgnew file mode 100644index 00000000000..99afa3413d3--- /dev/null+++ b/studio/public/img/libraries/nextjs-icon.svg@@ -0,0 +1,3 @@+<svg width="1000" height="1000" viewBox="0 0 1000 1000" fill="none" xmlns="http://www.w3.org/2000/svg">+<path d="M467.253 0.269139C465.103 0.464613 458.26 1.14878 452.102 1.63747C310.068 14.4411 177.028 91.0671 92.7664 208.841C45.8456 274.325 15.8358 348.605 4.49658 427.284C0.488759 454.748 0 462.86 0 500.098C0 537.336 0.488759 545.448 4.49658 572.912C31.6716 760.666 165.298 918.414 346.53 976.861C378.983 987.319 413.196 994.453 452.102 998.754C467.253 1000.42 532.747 1000.42 547.898 998.754C615.054 991.326 671.945 974.71 728.055 946.073C736.657 941.675 738.319 940.502 737.146 939.525C736.364 938.939 699.707 889.777 655.718 830.352L575.758 722.353L475.562 574.085C420.43 492.572 375.073 425.915 374.682 425.915C374.291 425.818 373.9 491.693 373.705 572.13C373.412 712.97 373.314 718.639 371.554 721.962C369.013 726.751 367.058 728.706 362.952 730.856C359.824 732.42 357.087 732.713 342.327 732.713H325.415L320.919 729.878C317.986 728.021 315.836 725.578 314.37 722.744L312.317 718.345L312.512 522.382L312.805 326.321L315.836 322.509C317.4 320.457 320.723 317.818 323.069 316.547C327.077 314.592 328.641 314.397 345.552 314.397C365.494 314.397 368.817 315.179 373.998 320.848C375.464 322.411 429.717 404.12 494.624 502.541C559.531 600.963 648.289 735.352 691.887 801.324L771.065 921.248L775.073 918.609C810.557 895.543 848.094 862.703 877.81 828.495C941.056 755.877 981.818 667.326 995.503 572.912C999.511 545.448 1000 537.336 1000 500.098C1000 462.86 999.511 454.748 995.503 427.284C968.328 239.53 834.702 81.7821 653.47 23.3352C621.505 12.975 587.488 5.84016 549.365 1.53972C539.98 0.562345 475.367 -0.51276 467.253 0.269139ZM671.945 302.668C676.637 305.014 680.45 309.51 681.818 314.201C682.6 316.743 682.796 371.085 682.6 493.549L682.307 669.281L651.32 621.781L620.235 574.281V446.538C620.235 363.95 620.626 317.525 621.212 315.277C622.776 309.803 626.197 305.503 630.89 302.962C634.897 300.909 636.364 300.714 651.711 300.714C666.178 300.714 668.719 300.909 671.945 302.668Z" fill="white"/>+</svg>diff --git a/studio/public/img/libraries/nextjs.svg b/studio/public/img/libraries/nextjs.svgnew file mode 100644index 00000000000..843612152bbBinary files /dev/null and b/studio/public/img/libraries/nextjs.svg differdiff --git a/studio/public/img/libraries/python-icon.svg b/studio/public/img/libraries/python-icon.svgnew file mode 100644index 00000000000..366f52f3393--- /dev/null+++ b/studio/public/img/libraries/python-icon.svg@@ -0,0 +1,113 @@+<?xml version="1.0" encoding="UTF-8" standalone="no"?>+<!-- Created with Inkscape (http://www.inkscape.org/) -->+<svg+ xmlns:dc="http://purl.org/dc/elements/1.1/"+ xmlns:cc="http://web.resource.org/cc/"+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"+ xmlns:svg="http://www.w3.org/2000/svg"+ xmlns="http://www.w3.org/2000/svg"+ xmlns:xlink="http://www.w3.org/1999/xlink"+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"+ width="110.4211"+ height="109.8461"+ id="svg2169"+ sodipodi:version="0.32"+ inkscape:version="0.45.1"+ version="1.0"+ sodipodi:docbase="/home/bene/Desktop"+ sodipodi:docname="dessin-1.svg"+ inkscape:output_extension="org.inkscape.output.svg.inkscape">+ <defs+ id="defs2171">+ <linearGradient+ id="linearGradient11301"+ inkscape:collect="always">+ <stop+ id="stop11303"+ offset="0"+ style="stop-color:#ffe052;stop-opacity:1" />+ <stop+ id="stop11305"+ offset="1"+ style="stop-color:#ffc331;stop-opacity:1" />+ </linearGradient>+ <linearGradient+ gradientUnits="userSpaceOnUse"+ y2="168.1012"+ x2="147.77737"+ y1="111.92053"+ x1="89.136749"+ id="linearGradient11307"+ xlink:href="#linearGradient11301"+ inkscape:collect="always" />+ <linearGradient+ id="linearGradient9515"+ inkscape:collect="always">+ <stop+ id="stop9517"+ offset="0"+ style="stop-color:#387eb8;stop-opacity:1" />+ <stop+ id="stop9519"+ offset="1"+ style="stop-color:#366994;stop-opacity:1" />+ </linearGradient>+ <linearGradient+ gradientUnits="userSpaceOnUse"+ y2="131.85291"+ x2="110.14919"+ y1="77.070274"+ x1="55.549179"+ id="linearGradient9521"+ xlink:href="#linearGradient9515"+ inkscape:collect="always" />+ </defs>+ <sodipodi:namedview+ id="base"+ pagecolor="#ffffff"+ bordercolor="#666666"+ borderopacity="1.0"+ inkscape:pageopacity="0.0"+ inkscape:pageshadow="2"+ inkscape:zoom="0.24748737"+ inkscape:cx="-260.46312"+ inkscape:cy="316.02744"+ inkscape:document-units="px"+ inkscape:current-layer="layer1"+ width="131.10236px"+ height="184.25197px"+ inkscape:window-width="872"+ inkscape:window-height="624"+ inkscape:window-x="5"+ inkscape:window-y="48" />+ <metadata+ id="metadata2174">+ <rdf:RDF>+ <cc:Work+ rdf:about="">+ <dc:format>image/svg+xml</dc:format>+ <dc:type+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />+ </cc:Work>+ </rdf:RDF>+ </metadata>+ <g+ inkscape:label="Calque 1"+ inkscape:groupmode="layer"+ id="layer1"+ transform="translate(-473.36088,-251.72485)">+ <g+ id="g1894"+ transform="translate(428.42338,184.2561)">+ <path+ style="opacity:1;color:#000000;fill:url(#linearGradient9521);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible"+ d="M 99.75,67.46875 C 71.718268,67.468752 73.46875,79.625 73.46875,79.625 L 73.5,92.21875 L 100.25,92.21875 L 100.25,96 L 62.875,96 C 62.875,96 44.9375,93.965724 44.9375,122.25 C 44.937498,150.53427 60.59375,149.53125 60.59375,149.53125 L 69.9375,149.53125 L 69.9375,136.40625 C 69.9375,136.40625 69.433848,120.75 85.34375,120.75 C 101.25365,120.75 111.875,120.75 111.875,120.75 C 111.875,120.75 126.78125,120.99096 126.78125,106.34375 C 126.78125,91.696544 126.78125,82.125 126.78125,82.125 C 126.78125,82.124998 129.04443,67.46875 99.75,67.46875 z M 85,75.9375 C 87.661429,75.937498 89.8125,78.088571 89.8125,80.75 C 89.812502,83.411429 87.661429,85.5625 85,85.5625 C 82.338571,85.562502 80.1875,83.411429 80.1875,80.75 C 80.187498,78.088571 82.338571,75.9375 85,75.9375 z "+ id="path8615" />+ <path+ id="path8620"+ d="M 100.5461,177.31485 C 128.57784,177.31485 126.82735,165.1586 126.82735,165.1586 L 126.7961,152.56485 L 100.0461,152.56485 L 100.0461,148.7836 L 137.4211,148.7836 C 137.4211,148.7836 155.3586,150.81787 155.3586,122.53359 C 155.35861,94.249323 139.70235,95.252343 139.70235,95.252343 L 130.3586,95.252343 L 130.3586,108.37734 C 130.3586,108.37734 130.86226,124.03359 114.95235,124.03359 C 99.042448,124.03359 88.421098,124.03359 88.421098,124.03359 C 88.421098,124.03359 73.514848,123.79263 73.514848,138.43985 C 73.514848,153.08705 73.514848,162.6586 73.514848,162.6586 C 73.514848,162.6586 71.251668,177.31485 100.5461,177.31485 z M 115.2961,168.8461 C 112.63467,168.8461 110.4836,166.69503 110.4836,164.0336 C 110.4836,161.37217 112.63467,159.2211 115.2961,159.2211 C 117.95753,159.2211 120.1086,161.37217 120.1086,164.0336 C 120.10861,166.69503 117.95753,168.8461 115.2961,168.8461 z "+ style="opacity:1;color:#000000;fill:url(#linearGradient11307);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible" />+ </g>+ </g>+</svg>diff --git a/studio/public/img/libraries/react-icon.svg b/studio/public/img/libraries/react-icon.svgnew file mode 100644index 00000000000..88860de5722--- /dev/null+++ b/studio/public/img/libraries/react-icon.svg@@ -0,0 +1,37 @@+<?xml version="1.0" encoding="utf-8"?>+<!-- Generator: Adobe Illustrator 25.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->+<svg version="1.1" id="Layer_2_1_" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"+ viewBox="0 0 490.6 436.9" style="enable-background:new 0 0 490.6 436.9;" xml:space="preserve">+<style type="text/css">+ .st0{fill:#61DAFB;}+</style>+<g>+ <path class="st0" d="M490.6,218.5c0-32.5-40.7-63.3-103.1-82.4c14.4-63.6,8-114.2-20.2-130.4c-6.5-3.8-14.1-5.6-22.4-5.6v22.3+ c4.6,0,8.3,0.9,11.4,2.6c13.6,7.8,19.5,37.5,14.9,75.7c-1.1,9.4-2.9,19.3-5.1,29.4c-19.6-4.8-41-8.5-63.5-10.9+ c-13.5-18.5-27.5-35.3-41.6-50c32.6-30.3,63.2-46.9,84-46.9V0l0,0c-27.5,0-63.5,19.6-99.9,53.6c-36.4-33.8-72.4-53.2-99.9-53.2+ v22.3c20.7,0,51.4,16.5,84,46.6c-14,14.7-28,31.4-41.3,49.9c-22.6,2.4-44,6.1-63.6,11c-2.3-10-4-19.7-5.2-29+ c-4.7-38.2,1.1-67.9,14.6-75.8c3-1.8,6.9-2.6,11.5-2.6V0.5l0,0c-8.4,0-16,1.8-22.6,5.6c-28.1,16.2-34.4,66.7-19.9,130.1+ C40.5,155.4,0,186.1,0,218.5c0,32.5,40.7,63.3,103.1,82.4c-14.4,63.6-8,114.2,20.2,130.4c6.5,3.8,14.1,5.6,22.5,5.6+ c27.5,0,63.5-19.6,99.9-53.6c36.4,33.8,72.4,53.2,99.9,53.2c8.4,0,16-1.8,22.6-5.6c28.1-16.2,34.4-66.7,19.9-130.1+ C450.1,281.7,490.6,250.9,490.6,218.5z M360.4,151.8c-3.7,12.9-8.3,26.2-13.5,39.5c-4.1-8-8.4-16-13.1-24+ c-4.6-8-9.5-15.8-14.4-23.4C333.6,146,347.3,148.6,360.4,151.8z M314.6,258.3c-7.8,13.5-15.8,26.3-24.1,38.2c-14.9,1.3-30,2-45.2,2+ c-15.1,0-30.2-0.7-45-1.9c-8.3-11.9-16.4-24.6-24.2-38c-7.6-13.1-14.5-26.4-20.8-39.8c6.2-13.4,13.2-26.8,20.7-39.9+ c7.8-13.5,15.8-26.3,24.1-38.2c14.9-1.3,30-2,45.2-2c15.1,0,30.2,0.7,45,1.9c8.3,11.9,16.4,24.6,24.2,38+ c7.6,13.1,14.5,26.4,20.8,39.8C329,231.8,322.1,245.2,314.6,258.3z M346.9,245.3c5.4,13.4,10,26.8,13.8,39.8+ c-13.1,3.2-26.9,5.9-41.2,8c4.9-7.7,9.8-15.6,14.4-23.7C338.5,261.4,342.8,253.3,346.9,245.3z M245.5,352+ c-9.3-9.6-18.6-20.3-27.8-32c9,0.4,18.2,0.7,27.5,0.7c9.4,0,18.7-0.2,27.8-0.7C264,331.7,254.7,342.4,245.5,352z M171.1,293.1+ c-14.2-2.1-27.9-4.7-41-7.9c3.7-12.9,8.3-26.2,13.5-39.5c4.1,8,8.4,16,13.1,24S166.2,285.5,171.1,293.1z M245,85+ c9.3,9.6,18.6,20.3,27.8,32c-9-0.4-18.2-0.7-27.5-0.7c-9.4,0-18.7,0.2-27.8,0.7C226.5,105.3,235.8,94.6,245,85z M171,143.9+ c-4.9,7.7-9.8,15.6-14.4,23.7c-4.6,8-8.9,16-13,24c-5.4-13.4-10-26.8-13.8-39.8C142.9,148.7,156.7,146,171,143.9z M80.5,269.1+ c-35.4-15.1-58.3-34.9-58.3-50.6s22.9-35.6,58.3-50.6c8.6-3.7,18-7,27.7-10.1c5.7,19.6,13.2,40,22.5,60.9+ c-9.2,20.8-16.6,41.1-22.2,60.6C98.6,276.2,89.2,272.8,80.5,269.1z M134.3,412c-13.6-7.8-19.5-37.5-14.9-75.7+ c1.1-9.4,2.9-19.3,5.1-29.4c19.6,4.8,41,8.5,63.5,10.9c13.5,18.5,27.5,35.3,41.6,50c-32.6,30.3-63.2,46.9-84,46.9+ C141.1,414.6,137.3,413.7,134.3,412z M371.5,335.8c4.7,38.2-1.1,67.9-14.6,75.8c-3,1.8-6.9,2.6-11.5,2.6c-20.7,0-51.4-16.5-84-46.6+ c14-14.7,28-31.4,41.3-49.9c22.6-2.4,44-6.1,63.6-11C368.6,316.8,370.4,326.5,371.5,335.8z M410,269.1c-8.6,3.7-18,7-27.7,10.1+ c-5.7-19.6-13.2-40-22.5-60.9c9.2-20.8,16.6-41.1,22.2-60.6c9.9,3.1,19.3,6.5,28.1,10.2c35.4,15.1,58.3,34.9,58.3,50.6+ C468.3,234.2,445.4,254.1,410,269.1z"/>+ <path class="st0" d="M145.1,0.4L145.1,0.4L145.1,0.4z"/>+ <circle class="st0" cx="245.2" cy="218.5" r="45.7"/>+ <path class="st0" d="M344.8,0.1L344.8,0.1L344.8,0.1z"/>+</g>+</svg>diff --git a/studio/public/img/libraries/react-native-icon.svg b/studio/public/img/libraries/react-native-icon.svgnew file mode 100644index 00000000000..88860de5722--- /dev/null+++ b/studio/public/img/libraries/react-native-icon.svg@@ -0,0 +1,37 @@+<?xml version="1.0" encoding="utf-8"?>+<!-- Generator: Adobe Illustrator 25.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->+<svg version="1.1" id="Layer_2_1_" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"+ viewBox="0 0 490.6 436.9" style="enable-background:new 0 0 490.6 436.9;" xml:space="preserve">+<style type="text/css">+ .st0{fill:#61DAFB;}+</style>+<g>+ <path class="st0" d="M490.6,218.5c0-32.5-40.7-63.3-103.1-82.4c14.4-63.6,8-114.2-20.2-130.4c-6.5-3.8-14.1-5.6-22.4-5.6v22.3+ c4.6,0,8.3,0.9,11.4,2.6c13.6,7.8,19.5,37.5,14.9,75.7c-1.1,9.4-2.9,19.3-5.1,29.4c-19.6-4.8-41-8.5-63.5-10.9+ c-13.5-18.5-27.5-35.3-41.6-50c32.6-30.3,63.2-46.9,84-46.9V0l0,0c-27.5,0-63.5,19.6-99.9,53.6c-36.4-33.8-72.4-53.2-99.9-53.2+ v22.3c20.7,0,51.4,16.5,84,46.6c-14,14.7-28,31.4-41.3,49.9c-22.6,2.4-44,6.1-63.6,11c-2.3-10-4-19.7-5.2-29+ c-4.7-38.2,1.1-67.9,14.6-75.8c3-1.8,6.9-2.6,11.5-2.6V0.5l0,0c-8.4,0-16,1.8-22.6,5.6c-28.1,16.2-34.4,66.7-19.9,130.1+ C40.5,155.4,0,186.1,0,218.5c0,32.5,40.7,63.3,103.1,82.4c-14.4,63.6-8,114.2,20.2,130.4c6.5,3.8,14.1,5.6,22.5,5.6+ c27.5,0,63.5-19.6,99.9-53.6c36.4,33.8,72.4,53.2,99.9,53.2c8.4,0,16-1.8,22.6-5.6c28.1-16.2,34.4-66.7,19.9-130.1+ C450.1,281.7,490.6,250.9,490.6,218.5z M360.4,151.8c-3.7,12.9-8.3,26.2-13.5,39.5c-4.1-8-8.4-16-13.1-24+ c-4.6-8-9.5-15.8-14.4-23.4C333.6,146,347.3,148.6,360.4,151.8z M314.6,258.3c-7.8,13.5-15.8,26.3-24.1,38.2c-14.9,1.3-30,2-45.2,2+ c-15.1,0-30.2-0.7-45-1.9c-8.3-11.9-16.4-24.6-24.2-38c-7.6-13.1-14.5-26.4-20.8-39.8c6.2-13.4,13.2-26.8,20.7-39.9+ c7.8-13.5,15.8-26.3,24.1-38.2c14.9-1.3,30-2,45.2-2c15.1,0,30.2,0.7,45,1.9c8.3,11.9,16.4,24.6,24.2,38+ c7.6,13.1,14.5,26.4,20.8,39.8C329,231.8,322.1,245.2,314.6,258.3z M346.9,245.3c5.4,13.4,10,26.8,13.8,39.8+ c-13.1,3.2-26.9,5.9-41.2,8c4.9-7.7,9.8-15.6,14.4-23.7C338.5,261.4,342.8,253.3,346.9,245.3z M245.5,352+ c-9.3-9.6-18.6-20.3-27.8-32c9,0.4,18.2,0.7,27.5,0.7c9.4,0,18.7-0.2,27.8-0.7C264,331.7,254.7,342.4,245.5,352z M171.1,293.1+ c-14.2-2.1-27.9-4.7-41-7.9c3.7-12.9,8.3-26.2,13.5-39.5c4.1,8,8.4,16,13.1,24S166.2,285.5,171.1,293.1z M245,85+ c9.3,9.6,18.6,20.3,27.8,32c-9-0.4-18.2-0.7-27.5-0.7c-9.4,0-18.7,0.2-27.8,0.7C226.5,105.3,235.8,94.6,245,85z M171,143.9+ c-4.9,7.7-9.8,15.6-14.4,23.7c-4.6,8-8.9,16-13,24c-5.4-13.4-10-26.8-13.8-39.8C142.9,148.7,156.7,146,171,143.9z M80.5,269.1+ c-35.4-15.1-58.3-34.9-58.3-50.6s22.9-35.6,58.3-50.6c8.6-3.7,18-7,27.7-10.1c5.7,19.6,13.2,40,22.5,60.9+ c-9.2,20.8-16.6,41.1-22.2,60.6C98.6,276.2,89.2,272.8,80.5,269.1z M134.3,412c-13.6-7.8-19.5-37.5-14.9-75.7+ c1.1-9.4,2.9-19.3,5.1-29.4c19.6,4.8,41,8.5,63.5,10.9c13.5,18.5,27.5,35.3,41.6,50c-32.6,30.3-63.2,46.9-84,46.9+ C141.1,414.6,137.3,413.7,134.3,412z M371.5,335.8c4.7,38.2-1.1,67.9-14.6,75.8c-3,1.8-6.9,2.6-11.5,2.6c-20.7,0-51.4-16.5-84-46.6+ c14-14.7,28-31.4,41.3-49.9c22.6-2.4,44-6.1,63.6-11C368.6,316.8,370.4,326.5,371.5,335.8z M410,269.1c-8.6,3.7-18,7-27.7,10.1+ c-5.7-19.6-13.2-40-22.5-60.9c9.2-20.8,16.6-41.1,22.2-60.6c9.9,3.1,19.3,6.5,28.1,10.2c35.4,15.1,58.3,34.9,58.3,50.6+ C468.3,234.2,445.4,254.1,410,269.1z"/>+ <path class="st0" d="M145.1,0.4L145.1,0.4L145.1,0.4z"/>+ <circle class="st0" cx="245.2" cy="218.5" r="45.7"/>+ <path class="st0" d="M344.8,0.1L344.8,0.1L344.8,0.1z"/>+</g>+</svg>diff --git a/studio/public/img/libraries/rust-icon.svg b/studio/public/img/libraries/rust-icon.svgnew file mode 100644index 00000000000..b486919ff05--- /dev/null+++ b/studio/public/img/libraries/rust-icon.svg@@ -0,0 +1,2 @@+<?xml version="1.0" encoding="UTF-8"?>+<svg width="144px" height="144px" style="enable-background:new 0 0 144 144" version="1.1" viewBox="19 19 106 106" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><title>Rust programming language logo</title><metadata><rdf:RDF><cc:Work rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/><dc:title/></cc:Work></rdf:RDF></metadata><path d="m124 70.7-4.39-2.72c-0.037-0.428-0.079-0.855-0.125-1.28l3.78-3.52c0.384-0.358 0.556-0.888 0.452-1.4-0.101-0.515-0.462-0.939-0.953-1.12l-4.83-1.8c-0.121-0.418-0.248-0.833-0.378-1.25l3.01-4.18c0.307-0.425 0.37-0.978 0.17-1.46-0.2-0.483-0.637-0.829-1.15-0.914l-5.09-0.828c-0.198-0.386-0.404-0.766-0.612-1.14l2.14-4.7c0.219-0.478 0.174-1.03-0.118-1.47-0.291-0.436-0.784-0.691-1.31-0.671l-5.17 0.18c-0.267-0.334-0.539-0.665-0.816-0.99l1.19-5.03c0.12-0.511-0.031-1.05-0.403-1.42-0.369-0.37-0.905-0.523-1.42-0.403l-5.03 1.19c-0.326-0.276-0.657-0.549-0.992-0.816l0.181-5.17c0.02-0.523-0.235-1.02-0.671-1.31-0.437-0.292-0.99-0.336-1.47-0.119l-4.69 2.14c-0.379-0.208-0.759-0.414-1.14-0.613l-0.83-5.09c-0.084-0.516-0.43-0.954-0.914-1.15-0.483-0.201-1.04-0.136-1.46 0.17l-4.18 3.01c-0.412-0.131-0.826-0.257-1.24-0.377l-1.8-4.83c-0.183-0.492-0.607-0.853-1.12-0.955-0.514-0.101-1.04 0.07-1.4 0.452l-3.52 3.78c-0.425-0.047-0.853-0.09-1.28-0.125l-2.72-4.4c-0.275-0.445-0.762-0.716-1.29-0.716s-1.01 0.271-1.28 0.716l-2.72 4.4c-0.428 0.035-0.856 0.078-1.28 0.125l-3.52-3.78c-0.357-0.382-0.887-0.553-1.4-0.452-0.515 0.103-0.939 0.463-1.12 0.955l-1.8 4.83c-0.418 0.12-0.832 0.247-1.24 0.377l-4.18-3.01c-0.425-0.307-0.979-0.372-1.46-0.17-0.483 0.2-0.83 0.638-0.914 1.15l-0.83 5.09c-0.384 0.199-0.764 0.404-1.14 0.613l-4.69-2.14c-0.477-0.218-1.03-0.173-1.47 0.119-0.436 0.29-0.691 0.787-0.671 1.31l0.18 5.17c-0.334 0.267-0.665 0.54-0.992 0.816l-5.03-1.19c-0.511-0.119-1.05 0.033-1.42 0.403-0.372 0.371-0.523 0.906-0.403 1.42l1.18 5.03c-0.275 0.326-0.547 0.656-0.814 0.99l-5.17-0.18c-0.521-0.015-1.02 0.235-1.31 0.671-0.292 0.434-0.336 0.99-0.119 1.47l2.14 4.7c-0.208 0.377-0.414 0.757-0.613 1.14l-5.09 0.828c-0.517 0.084-0.953 0.43-1.15 0.914-0.2 0.485-0.135 1.04 0.17 1.46l3.01 4.18c-0.131 0.413-0.258 0.828-0.378 1.25l-4.83 1.8c-0.49 0.183-0.851 0.607-0.953 1.12-0.102 0.514 0.069 1.04 0.452 1.4l3.78 3.52c-0.047 0.425-0.089 0.853-0.125 1.28l-4.39 2.72c-0.445 0.275-0.716 0.761-0.716 1.29s0.271 1.01 0.716 1.28l4.39 2.72c0.036 0.428 0.078 0.855 0.125 1.28l-3.78 3.52c-0.383 0.357-0.554 0.887-0.452 1.4 0.102 0.515 0.463 0.938 0.953 1.12l4.83 1.8c0.12 0.418 0.247 0.833 0.378 1.25l-3.01 4.18c-0.306 0.426-0.371 0.979-0.17 1.46 0.201 0.485 0.638 0.831 1.16 0.914l5.09 0.828c0.199 0.386 0.403 0.766 0.613 1.14l-2.14 4.69c-0.218 0.477-0.173 1.03 0.119 1.47 0.292 0.437 0.789 0.692 1.31 0.671l5.16-0.181c0.269 0.336 0.54 0.665 0.816 0.992l-1.18 5.03c-0.12 0.51 0.031 1.04 0.403 1.41 0.369 0.373 0.906 0.522 1.42 0.402l5.03-1.18c0.327 0.278 0.658 0.548 0.992 0.814l-0.18 5.17c-0.02 0.523 0.235 1.02 0.671 1.31 0.434 0.291 0.99 0.335 1.47 0.117l4.69-2.14c0.378 0.21 0.758 0.414 1.14 0.613l0.83 5.09c0.084 0.518 0.43 0.956 0.914 1.16 0.483 0.201 1.04 0.136 1.46-0.169l4.18-3.01c0.413 0.131 0.828 0.259 1.25 0.379l1.8 4.83c0.183 0.49 0.607 0.853 1.12 0.953 0.514 0.104 1.04-0.068 1.4-0.452l3.52-3.78c0.425 0.049 0.853 0.09 1.28 0.128l2.72 4.39c0.274 0.443 0.761 0.716 1.28 0.716s1.01-0.272 1.29-0.716l2.72-4.39c0.428-0.038 0.855-0.079 1.28-0.128l3.52 3.78c0.357 0.384 0.887 0.556 1.4 0.452 0.515-0.101 0.939-0.463 1.12-0.953l1.8-4.83c0.418-0.12 0.833-0.248 1.25-0.379l4.18 3.01c0.425 0.305 0.979 0.37 1.46 0.169 0.484-0.199 0.83-0.638 0.914-1.16l0.83-5.09c0.384-0.199 0.764-0.406 1.14-0.613l4.69 2.14c0.477 0.218 1.03 0.174 1.47-0.117 0.436-0.292 0.69-0.787 0.671-1.31l-0.18-5.17c0.334-0.267 0.665-0.536 0.991-0.814l5.03 1.18c0.511 0.12 1.05-0.029 1.42-0.402 0.372-0.371 0.523-0.904 0.403-1.41l-1.18-5.03c0.276-0.327 0.548-0.656 0.814-0.992l5.17 0.181c0.521 0.021 1.02-0.234 1.31-0.671 0.292-0.436 0.337-0.991 0.118-1.47l-2.14-4.69c0.209-0.379 0.414-0.759 0.612-1.14l5.09-0.828c0.518-0.083 0.954-0.429 1.15-0.914 0.2-0.483 0.137-1.04-0.17-1.46l-3.01-4.18c0.13-0.413 0.257-0.828 0.378-1.25l4.83-1.8c0.491-0.184 0.853-0.607 0.953-1.12 0.104-0.514-0.068-1.04-0.452-1.4l-3.78-3.52c0.046-0.425 0.088-0.853 0.125-1.28l4.39-2.72c0.445-0.274 0.716-0.761 0.716-1.28s-0.27-1.01-0.715-1.29zm-29.4 36.5c-1.68-0.362-2.74-2.02-2.38-3.7 0.359-1.68 2.01-2.75 3.69-2.39 1.68 0.359 2.75 2.02 2.39 3.7s-2.01 2.75-3.69 2.39zm-1.49-10.1c-1.53-0.328-3.04 0.646-3.36 2.18l-1.56 7.28c-4.81 2.18-10.2 3.4-15.8 3.4-5.76 0-11.2-1.27-16.1-3.55l-1.56-7.28c-0.328-1.53-1.83-2.51-3.36-2.18l-6.43 1.38c-1.19-1.23-2.3-2.54-3.32-3.92h31.3c0.354 0 0.59-0.064 0.59-0.386v-11.1c0-0.322-0.236-0.386-0.59-0.386h-9.15v-7.01h9.89c0.903 0 4.83 0.258 6.08 5.28 0.393 1.54 1.26 6.56 1.85 8.17 0.588 1.8 2.98 5.4 5.53 5.4h15.6c0.177 0 0.366-0.02 0.565-0.056-1.08 1.47-2.27 2.86-3.54 4.16l-6.58-1.41zm-43.3 9.95c-1.68 0.362-3.33-0.708-3.69-2.39-0.359-1.68 0.708-3.34 2.39-3.7 1.68-0.359 3.33 0.711 3.69 2.39 0.359 1.68-0.709 3.34-2.39 3.7zm-11.9-48.1c0.696 1.57-0.012 3.41-1.58 4.11-1.57 0.697-3.4-0.012-4.1-1.58s0.012-3.41 1.58-4.11c1.57-0.696 3.4 0.012 4.1 1.58zm-3.65 8.64 6.7-2.98c1.43-0.635 2.08-2.31 1.44-3.74l-1.38-3.12h5.42v24.4h-10.9c-0.949-3.34-1.46-6.86-1.46-10.5 0-1.39 0.075-2.76 0.219-4.11zm29.4-2.37v-7.2h12.9c0.667 0 4.71 0.771 4.71 3.79 0 2.51-3.1 3.41-5.65 3.41h-12zm46.9 6.48c0 0.956-0.035 1.9-0.105 2.84h-3.93c-0.393 0-0.551 0.258-0.551 0.643v1.8c0 4.24-2.39 5.17-4.49 5.4-2 0.225-4.21-0.836-4.48-2.06-1.18-6.63-3.14-8.04-6.24-10.5 3.85-2.44 7.85-6.05 7.85-10.9 0-5.21-3.57-8.49-6-10.1-3.42-2.25-7.2-2.7-8.22-2.7h-40.6c5.51-6.14 13-10.5 21.4-12.1l4.79 5.02c1.08 1.13 2.87 1.18 4.01 0.092l5.36-5.12c11.2 2.09 20.7 9.07 26.2 18.7l-3.67 8.28c-0.633 1.43 0.013 3.11 1.44 3.74l7.06 3.14c0.122 1.25 0.186 2.52 0.186 3.8zm-40.6-41.9c1.24-1.19 3.21-1.14 4.39 0.101 1.18 1.24 1.14 3.21-0.103 4.4-1.24 1.19-3.21 1.14-4.39-0.102-1.18-1.24-1.14-3.21 0.103-4.4zm36.4 29.3c0.695-1.57 2.53-2.28 4.1-1.58 1.57 0.696 2.28 2.54 1.58 4.11-0.695 1.57-2.53 2.28-4.1 1.58-1.57-0.696-2.28-2.54-1.58-4.11z"/></svg>diff --git a/studio/public/img/libraries/svelte-icon.svg b/studio/public/img/libraries/svelte-icon.svgnew file mode 100644index 00000000000..4bf279659a9--- /dev/null+++ b/studio/public/img/libraries/svelte-icon.svg@@ -0,0 +1,20 @@+<?xml version="1.0" encoding="utf-8"?>+<!-- Generator: Adobe Illustrator 23.0.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"+ viewBox="0 0 98.1 118" style="enable-background:new 0 0 98.1 118;" xml:space="preserve">+<style type="text/css">+ .st0{fill:#FF3E00;}+ .st1{fill:#FFFFFF;}+</style>+<path class="st0" d="M91.8,15.6C80.9-0.1,59.2-4.7,43.6,5.2L16.1,22.8C8.6,27.5,3.4,35.2,1.9,43.9c-1.3,7.3-0.2,14.8,3.3,21.3+ c-2.4,3.6-4,7.6-4.7,11.8c-1.6,8.9,0.5,18.1,5.7,25.4c11,15.7,32.6,20.3,48.2,10.4l27.5-17.5c7.5-4.7,12.7-12.4,14.2-21.1+ c1.3-7.3,0.2-14.8-3.3-21.3c2.4-3.6,4-7.6,4.7-11.8C99.2,32.1,97.1,22.9,91.8,15.6"/>+<path class="st1" d="M40.9,103.9c-8.9,2.3-18.2-1.2-23.4-8.7c-3.2-4.4-4.4-9.9-3.5-15.3c0.2-0.9,0.4-1.7,0.6-2.6l0.5-1.6l1.4,1+ c3.3,2.4,6.9,4.2,10.8,5.4l1,0.3l-0.1,1c-0.1,1.4,0.3,2.9,1.1,4.1c1.6,2.3,4.4,3.4,7.1,2.7c0.6-0.2,1.2-0.4,1.7-0.7L65.5,72+ c1.4-0.9,2.3-2.2,2.6-3.8c0.3-1.6-0.1-3.3-1-4.6c-1.6-2.3-4.4-3.3-7.1-2.6c-0.6,0.2-1.2,0.4-1.7,0.7l-10.5,6.7+ c-1.7,1.1-3.6,1.9-5.6,2.4c-8.9,2.3-18.2-1.2-23.4-8.7c-3.1-4.4-4.4-9.9-3.4-15.3c0.9-5.2,4.1-9.9,8.6-12.7l27.5-17.5+ c1.7-1.1,3.6-1.9,5.6-2.5c8.9-2.3,18.2,1.2,23.4,8.7c3.2,4.4,4.4,9.9,3.5,15.3c-0.2,0.9-0.4,1.7-0.7,2.6l-0.5,1.6l-1.4-1+ c-3.3-2.4-6.9-4.2-10.8-5.4l-1-0.3l0.1-1c0.1-1.4-0.3-2.9-1.1-4.1c-1.6-2.3-4.4-3.3-7.1-2.6c-0.6,0.2-1.2,0.4-1.7,0.7L32.4,46.1+ c-1.4,0.9-2.3,2.2-2.6,3.8s0.1,3.3,1,4.6c1.6,2.3,4.4,3.3,7.1,2.6c0.6-0.2,1.2-0.4,1.7-0.7l10.5-6.7c1.7-1.1,3.6-1.9,5.6-2.5+ c8.9-2.3,18.2,1.2,23.4,8.7c3.2,4.4,4.4,9.9,3.5,15.3c-0.9,5.2-4.1,9.9-8.6,12.7l-27.5,17.5C44.8,102.5,42.9,103.3,40.9,103.9"/>+</svg>diff --git a/studio/public/img/libraries/vuejs-icon.svg b/studio/public/img/libraries/vuejs-icon.svgnew file mode 100644index 00000000000..a1d285eb2a1--- /dev/null+++ b/studio/public/img/libraries/vuejs-icon.svg@@ -0,0 +1,2 @@+<?xml version="1.0" encoding="UTF-8"?>+<svg version="1.1" viewBox="0 0 261.76 226.69" xmlns="http://www.w3.org/2000/svg"><g transform="matrix(1.3333 0 0 -1.3333 -76.311 313.34)"><g transform="translate(178.06 235.01)"><path d="m0 0-22.669-39.264-22.669 39.264h-75.491l98.16-170.02 98.16 170.02z" fill="#41b883"/></g><g transform="translate(178.06 235.01)"><path d="m0 0-22.669-39.264-22.669 39.264h-36.227l58.896-102.01 58.896 102.01z" fill="#34495e"/></g></g></svg>diff --git a/studio/public/img/no-search-results.svg b/studio/public/img/no-search-results.svgnew file mode 100644index 00000000000..6f1bf2ca76c--- /dev/null+++ b/studio/public/img/no-search-results.svg@@ -0,0 +1,16 @@+<?xml version="1.0" encoding="UTF-8"?>+<svg width="261px" height="189px" viewBox="0 0 261 189" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">+ <!-- Generator: Sketch 59.1 (86144) - https://sketch.com -->+ <title>Group</title>+ <desc>Created with Sketch.</desc>+ <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">+ <g id="Graphics" transform="translate(-746.000000, -755.000000)">+ <g id="Group" transform="translate(749.000000, 757.000000)">+ <path d="M0.5,0.5 L52.5,0.5 L200.5,0.5 L200.5,170.5 L0.5,170.5 L0,51 L0.5,0.5 Z" id="Rectangle" stroke="#555555" stroke-width="5" fill-opacity="0" fill="#D8D8D8" stroke-dasharray="20"></path>+ <path d="M185.5,147.5 C207.59139,147.5 225.5,129.59139 225.5,107.5 C225.5,85.40861 207.59139,67.5 185.5,67.5 C163.40861,67.5 145.5,85.40861 145.5,107.5 C145.5,129.59139 163.40861,147.5 185.5,147.5 Z M213,139 L253.500808,183.268325" id="Combined-Shape" stroke="#777777" stroke-width="10" fill-opacity="0" fill="#D8D8D8"></path>+ <line x1="200.5" y1="0.5" x2="197.5" y2="0.5" id="Line" stroke="#555555" stroke-width="5" stroke-linecap="square"></line>+ <line x1="3.5" y1="0.5" x2="0.5" y2="0.5" id="Line" stroke="#555555" stroke-width="5" stroke-linecap="square"></line>+ </g>+ </g>+ </g>+</svg>\ No newline at end of filediff --git a/studio/public/img/payment-methods/amazon-payments.png b/studio/public/img/payment-methods/amazon-payments.pngnew file mode 100644index 00000000000..29fe4e221fdBinary files /dev/null and b/studio/public/img/payment-methods/amazon-payments.png differdiff --git a/studio/public/img/payment-methods/amex.png b/studio/public/img/payment-methods/amex.pngnew file mode 100644index 00000000000..699c62b15eaBinary files /dev/null and b/studio/public/img/payment-methods/amex.png differdiff --git a/studio/public/img/payment-methods/android-pay.png b/studio/public/img/payment-methods/android-pay.pngnew file mode 100644index 00000000000..7a65c803bc3Binary files /dev/null and b/studio/public/img/payment-methods/android-pay.png differdiff --git a/studio/public/img/payment-methods/apple-pay.png b/studio/public/img/payment-methods/apple-pay.pngnew file mode 100644index 00000000000..c3eb2462c4bBinary files /dev/null and b/studio/public/img/payment-methods/apple-pay.png differdiff --git a/studio/public/img/payment-methods/bitcoin.png b/studio/public/img/payment-methods/bitcoin.pngnew file mode 100644index 00000000000..99d0eb9b2e4Binary files /dev/null and b/studio/public/img/payment-methods/bitcoin.png differdiff --git a/studio/public/img/payment-methods/citi.png b/studio/public/img/payment-methods/citi.pngnew file mode 100644index 00000000000..42577a0f2b2Binary files /dev/null and b/studio/public/img/payment-methods/citi.png differdiff --git a/studio/public/img/payment-methods/contactless.png b/studio/public/img/payment-methods/contactless.pngnew file mode 100644index 00000000000..03828b373b6Binary files /dev/null and b/studio/public/img/payment-methods/contactless.png differdiff --git a/studio/public/img/payment-methods/diners-club.png b/studio/public/img/payment-methods/diners-club.pngnew file mode 100644index 00000000000..89028d2fd17Binary files /dev/null and b/studio/public/img/payment-methods/diners-club.png differdiff --git a/studio/public/img/payment-methods/direct-debit.png b/studio/public/img/payment-methods/direct-debit.pngnew file mode 100644index 00000000000..7dbb24ab64aBinary files /dev/null and b/studio/public/img/payment-methods/direct-debit.png differdiff --git a/studio/public/img/payment-methods/discover.png b/studio/public/img/payment-methods/discover.pngnew file mode 100644index 00000000000..7e4181abcdaBinary files /dev/null and b/studio/public/img/payment-methods/discover.png differdiff --git a/studio/public/img/payment-methods/jcb.png b/studio/public/img/payment-methods/jcb.pngnew file mode 100644index 00000000000..2f05eddc1b6Binary files /dev/null and b/studio/public/img/payment-methods/jcb.png differdiff --git a/studio/public/img/payment-methods/maestro.png b/studio/public/img/payment-methods/maestro.pngnew file mode 100644index 00000000000..e64b734525bBinary files /dev/null and b/studio/public/img/payment-methods/maestro.png differdiff --git a/studio/public/img/payment-methods/mastercard.png b/studio/public/img/payment-methods/mastercard.pngnew file mode 100644index 00000000000..4a29676d543Binary files /dev/null and b/studio/public/img/payment-methods/mastercard.png differdiff --git a/studio/public/img/payment-methods/paypal.png b/studio/public/img/payment-methods/paypal.pngnew file mode 100644index 00000000000..77582f1fa48Binary files /dev/null and b/studio/public/img/payment-methods/paypal.png differdiff --git a/studio/public/img/payment-methods/reverse.png b/studio/public/img/payment-methods/reverse.pngnew file mode 100644index 00000000000..626c294eb90Binary files /dev/null and b/studio/public/img/payment-methods/reverse.png differdiff --git a/studio/public/img/payment-methods/sagepay.png b/studio/public/img/payment-methods/sagepay.pngnew file mode 100644index 00000000000..4189262560aBinary files /dev/null and b/studio/public/img/payment-methods/sagepay.png differdiff --git a/studio/public/img/payment-methods/square.png b/studio/public/img/payment-methods/square.pngnew file mode 100644index 00000000000..4e16713a277Binary files /dev/null and b/studio/public/img/payment-methods/square.png differdiff --git a/studio/public/img/payment-methods/stripe.png b/studio/public/img/payment-methods/stripe.pngnew file mode 100644index 00000000000..d1231a11bf1Binary files /dev/null and b/studio/public/img/payment-methods/stripe.png differdiff --git a/studio/public/img/payment-methods/visa.png b/studio/public/img/payment-methods/visa.pngnew file mode 100644index 00000000000..204299e5e61Binary files /dev/null and b/studio/public/img/payment-methods/visa.png differdiff --git a/studio/public/img/payment-methods/wallet.png b/studio/public/img/payment-methods/wallet.pngnew file mode 100644index 00000000000..0d6cfe3d007Binary files /dev/null and b/studio/public/img/payment-methods/wallet.png differdiff --git a/studio/public/img/policy-new.svg b/studio/public/img/policy-new.svgnew file mode 100644index 00000000000..955fc5651cf--- /dev/null+++ b/studio/public/img/policy-new.svg@@ -0,0 +1,21 @@+<?xml version="1.0" encoding="UTF-8"?>+<svg width="29px" height="32px" viewBox="0 0 29 32" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">+ <!-- Generator: Sketch 59.1 (86144) - https://sketch.com -->+ <title>Group 5</title>+ <desc>Created with Sketch.</desc>+ <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">+ <g id="Desktop-HD-Copy" transform="translate(-340.000000, -490.000000)" stroke="#6F6F6F">+ <g id="Group-5" transform="translate(354.912844, 506.324587) rotate(5.000000) translate(-354.912844, -506.324587) translate(341.912844, 491.324587)">+ <g id="Group-2" transform="translate(0.000000, 0.671608)">+ <path d="M2.70588235,0 L13.5294118,0 L20,0 C21.6568542,-7.48448398e-16 23,1.34314575 23,3 L23,9.47058824 L23,9.47058824 L23,25.7058824 C23,27.2002999 21.7885352,28.4117647 20.2941176,28.4117647 L2.70588235,28.4117647 C1.21146479,28.4117647 0,27.2002999 0,25.7058824 L0,2.70588235 C0,1.21146479 1.21146479,0 2.70588235,0 Z" id="Rectangle" fill="#888888" fill-rule="nonzero"></path>+ <line x1="3.68" y1="23" x2="13.68" y2="23" id="Line" stroke-linecap="round"></line>+ <line x1="3.68" y1="18.4" x2="15.68" y2="18.4" id="Line" stroke-linecap="round"></line>+ <line x1="3.68" y1="13.8" x2="17.24" y2="13.8" id="Line" stroke-linecap="round"></line>+ <line x1="3.68" y1="9.2" x2="19.24" y2="9.2" id="Line" stroke-linecap="round"></line>+ <line x1="3.68" y1="4.6" x2="20.24" y2="4.6" id="Line" stroke-linecap="round"></line>+ </g>+ <path d="M20.0260354,0.492389396 L20.0260354,23.3076722 L21.0260354,25.006668 L22.0260354,23.3076722 L22.0260354,0.492389396 L20.0260354,0.492389396 Z" id="Rectangle" fill="#888888" transform="translate(21.026035, 12.992389) rotate(15.000000) translate(-21.026035, -12.992389) "></path>+ </g>+ </g>+ </g>+</svg>\ No newline at end of filediff --git a/studio/public/img/policy-template.svg b/studio/public/img/policy-template.svgnew file mode 100644index 00000000000..109bc5aace4--- /dev/null+++ b/studio/public/img/policy-template.svg@@ -0,0 +1,32 @@+<?xml version="1.0" encoding="UTF-8"?>+<svg width="33px" height="38px" viewBox="0 0 33 38" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">+ <!-- Generator: Sketch 59.1 (86144) - https://sketch.com -->+ <title>Group 4</title>+ <desc>Created with Sketch.</desc>+ <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">+ <g id="Desktop-HD-Copy" transform="translate(-316.000000, -442.000000)">+ <g id="Group-4" transform="translate(316.000000, 442.000000)">+ <g id="Group-2" transform="translate(18.421864, 21.486924) rotate(10.000000) translate(-18.421864, -21.486924) translate(6.921864, 6.986924)" stroke="#6F6F6F">+ <path d="M2.70588235,0 L13.5294118,0 L20,0 C21.6568542,-7.48448398e-16 23,1.34314575 23,3 L23,9.47058824 L23,9.47058824 L23,25.7058824 C23,27.2002999 21.7885352,28.4117647 20.2941176,28.4117647 L2.70588235,28.4117647 C1.21146479,28.4117647 0,27.2002999 0,25.7058824 L0,2.70588235 C0,1.21146479 1.21146479,0 2.70588235,0 Z" id="Rectangle" fill="#888888" fill-rule="nonzero"></path>+ <line x1="3.68" y1="23" x2="20.24" y2="23" id="Line" stroke-linecap="round"></line>+ <line x1="3.68" y1="18.4" x2="20.24" y2="18.4" id="Line" stroke-linecap="round"></line>+ <line x1="3.68" y1="13.8" x2="20.24" y2="13.8" id="Line" stroke-linecap="round"></line>+ <line x1="3.68" y1="9.2" x2="20.24" y2="9.2" id="Line" stroke-linecap="round"></line>+ <line x1="3.68" y1="4.6" x2="20.24" y2="4.6" id="Line" stroke-linecap="round"></line>+ </g>+ <g id="Group-3" transform="translate(14.500000, 17.500000) rotate(5.000000) translate(-14.500000, -17.500000) translate(2.000000, 2.000000)">+ <g id="file-filled" transform="translate(12.500000, 15.500000) scale(-1, 1) rotate(180.000000) translate(-12.500000, -15.500000) " fill-rule="nonzero">+ <path d="M2.94117647,0 L14.7058824,0 L14.7058824,0 L25,10.2941176 L25,27.9411765 C25,29.5655434 23.6831904,30.8823529 22.0588235,30.8823529 L2.94117647,30.8823529 C1.31680956,30.8823529 0,29.5655434 0,27.9411765 L0,2.94117647 C0,1.31680956 1.31680956,0 2.94117647,0 Z" id="Rectangle" stroke="#6F6F6F" fill="#888888"></path>+ <path d="M14.7058824,0 L25,10.2941176 L17.6470588,10.2941176 C16.0226919,10.2941176 14.7058824,8.97730809 14.7058824,7.35294118 L14.7058824,0 L14.7058824,0 Z" id="Triangle" fill="#727272"></path>+ </g>+ <rect id="Rectangle" stroke="#6F6F6F" fill="#888888" x="3.5" y="3.5" width="9" height="9" rx="2"></rect>+ <line x1="16" y1="4" x2="21.5" y2="4" id="Line" stroke="#6F6F6F" stroke-linecap="round"></line>+ <line x1="16" y1="12" x2="21.5" y2="12" id="Line" stroke="#6F6F6F" stroke-linecap="round"></line>+ <line x1="16" y1="8" x2="21.5" y2="8" id="Line" stroke="#6F6F6F" stroke-linecap="round"></line>+ <line x1="3.5" y1="22.5" x2="21.5" y2="22.5" id="Line" stroke="#6F6F6F" stroke-linecap="round"></line>+ <line x1="3.5" y1="17.5" x2="21.5" y2="17.5" id="Line" stroke="#6F6F6F" stroke-linecap="round"></line>+ </g>+ </g>+ </g>+ </g>+</svg>\ No newline at end of filediff --git a/studio/public/img/power.svg b/studio/public/img/power.svgnew file mode 100755index 00000000000..598308fceb3--- /dev/null+++ b/studio/public/img/power.svg@@ -0,0 +1 @@+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-power"><path d="M18.36 6.64a9 9 0 1 1-12.73 0"></path><line x1="12" y1="2" x2="12" y2="12"></line></svg>\ No newline at end of filediff --git a/studio/public/img/sql-editor.svg b/studio/public/img/sql-editor.svgnew file mode 100644index 00000000000..c64dfdd3577--- /dev/null+++ b/studio/public/img/sql-editor.svg@@ -0,0 +1,8 @@+<?xml version="1.0" encoding="UTF-8"?>+<svg width="22px" height="19px" viewBox="0 0 22 19" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">+ <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round">+ <g id="Artboard" transform="translate(-964.000000, -2867.000000)" stroke="currentColor" stroke-width="2">+ <path d="M970.7,2873.47 L973.9,2876.67 L970.7,2879.87 M985,2883 L985,2870.06801 C985,2868.96639 984.109168,2868.07219 983.007556,2868.06803 L967.007556,2868.00758 C965.902994,2868.00341 965.004187,2868.89545 965.000014,2870.00001 C965.000005,2870.00253 965,2870.00505 965,2870.00757 L965,2883 C965,2884.10457 965.895431,2885 967,2885 L983,2885 C984.104569,2885 985,2884.10457 985,2883 Z M976.033333,2879.97 L979.233333,2879.97" id="Shape"></path>+ </g>+ </g>+</svg>\ No newline at end of filediff --git a/studio/public/img/storage-placeholder.svg b/studio/public/img/storage-placeholder.svgnew file mode 100644index 00000000000..896639da22b--- /dev/null+++ b/studio/public/img/storage-placeholder.svg@@ -0,0 +1,79 @@+<?xml version="1.0" encoding="UTF-8"?>+<svg width="107px" height="112px" viewBox="0 0 107 112" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">+ <!-- Generator: Sketch 59.1 (86144) - https://sketch.com -->+ <title>Group</title>+ <desc>Created with Sketch.</desc>+ <defs>+ <rect id="path-1" x="0" y="0" width="32" height="32"></rect>+ <rect id="path-3" x="0" y="0" width="32" height="32"></rect>+ <rect id="path-5" x="0" y="0" width="32" height="32"></rect>+ <rect id="path-7" x="0" y="0" width="32" height="32"></rect>+ <rect id="path-9" x="0" y="0" width="32" height="32"></rect>+ </defs>+ <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">+ <g id="Group" transform="translate(0.725557, -11.000000)">+ <polygon id="Rectangle" fill="#404040" points="17.2744429 66 54.2744429 53.2768099 91.2744429 66 54.2744429 78.4696017"></polygon>+ <polygon id="Rectangle" fill="#404040" points="17.2744429 66 54.2744429 53.2768099 54.2744429 78.4696017"></polygon>+ <polygon id="Rectangle" fill="#9A9A9A" points="-1.6795256e-13 51.6636125 38.5238299 39.4235592 54.2744429 53.2768099 17.2744429 65.8732058"></polygon>+ <polygon id="Rectangle" fill="#8B8B8B" points="69.6714788 41.0959162 105.129824 52.6483825 91.2744429 65.8732058 54.5488858 53.4496466"></polygon>+ <g id="image-filled" transform="translate(35.774443, 64.750000) rotate(-13.000000) translate(-35.774443, -64.750000) translate(18.274443, 49.000000)" fill-rule="nonzero">+ <rect id="Rectangle" stroke="#727272" fill="#888888" x="0" y="0" width="35" height="30.625" rx="2"></rect>+ <path d="M29.716563,12.2570055 L35,17.0602671 L35,17.0602671 L35,27.7083333 C35,29.3191639 33.6941639,30.625 32.0833333,30.625 L3.09610653,30.625 L3.09610653,30.625 L11.8121678,19.1480546 C12.713849,17.9607584 14.3657745,17.6445878 15.6421544,18.4150136 L18.9583333,20.4166667 L18.9583333,20.4166667 L25.5136882,12.5482153 C26.5447601,11.3106105 28.383886,11.1431825 29.6214908,12.1742544 C29.6537739,12.20115 29.6854721,12.2287402 29.716563,12.2570055 Z" id="Rectangle" fill="#727272"></path>+ <circle id="Oval" fill="#727272" cx="10.2083333" cy="10.2083333" r="4.375"></circle>+ </g>+ <g id="video-filled" transform="translate(49.774443, 75.312500) rotate(-7.000000) translate(-49.774443, -75.312500) translate(32.274443, 60.000000)" fill-rule="nonzero">+ <rect id="Rectangle" fill="#888888" x="0" y="0" width="35" height="30.625" rx="2"></rect>+ <path d="M19.3614068,11.9160992 L22.8351072,18.8635001 C23.1952999,19.5838854 22.903306,20.4598668 22.1829207,20.8200596 C21.9804232,20.9213083 21.7571333,20.9740199 21.5307342,20.9740199 L14.5833333,20.9740199 C13.777918,20.9740199 13.125,20.3211018 13.125,19.5156866 C13.125,19.2892875 13.1777116,19.0659975 13.2789603,18.8635001 L16.7526608,11.9160992 C17.1128535,11.1957139 17.9888349,10.9037201 18.7092203,11.2639127 C18.9914477,11.4050265 19.220293,11.6338718 19.3614068,11.9160992 Z" id="Triangle" fill="#727272" transform="translate(18.057193, 16.041826) rotate(90.000000) translate(-18.057193, -16.041826) "></path>+ <path d="M32.0833333,0 C33.6941639,0 35,1.30583615 35,2.91666667 L35,27.7083333 C35,29.3191639 33.6941639,30.625 32.0833333,30.625 L2.91666667,30.625 C1.30583615,30.625 0,29.3191639 0,27.7083333 L0,2.91666667 C0,1.30583615 1.30583615,0 2.91666667,0 L32.0833333,0 Z M26.25,1.45833333 L8.75,1.45833333 C7.21238904,1.45833333 5.95267587,2.64815511 5.84133337,4.15732575 L5.83333333,4.375 L5.83333333,26.25 C5.83333333,27.787611 7.02315511,29.0473241 8.53232575,29.1586667 L8.75,29.1666667 L26.25,29.1666667 C27.787611,29.1666667 29.0473241,27.9768449 29.1586667,26.4676742 L29.1666667,26.25 L29.1666667,4.375 C29.1666667,2.76416948 27.8608305,1.45833333 26.25,1.45833333 Z M3.64583333,23.3333333 L2.1875,23.3333333 C1.78479238,23.3333333 1.45833333,23.6597923 1.45833333,24.0625 L1.45833333,24.0625 L1.45833333,28.4375 C1.45833333,28.8402077 1.78479238,29.1666667 2.1875,29.1666667 L2.1875,29.1666667 L3.64583333,29.1666667 C4.04854096,29.1666667 4.375,28.8402077 4.375,28.4375 L4.375,28.4375 L4.375,24.0625 C4.375,23.6597923 4.04854096,23.3333333 3.64583333,23.3333333 L3.64583333,23.3333333 Z M32.8125,23.3333333 L31.3541667,23.3333333 C30.951459,23.3333333 30.625,23.6597923 30.625,24.0625 L30.625,24.0625 L30.625,28.4375 C30.625,28.8402077 30.951459,29.1666667 31.3541667,29.1666667 L31.3541667,29.1666667 L32.8125,29.1666667 C33.2152077,29.1666667 33.5416667,28.8402077 33.5416667,28.4375 L33.5416667,28.4375 L33.5416667,24.0625 C33.5416667,23.6597923 33.2152077,23.3333333 32.8125,23.3333333 L32.8125,23.3333333 Z M3.64583333,16.0416667 L2.1875,16.0416667 C1.78479238,16.0416667 1.45833333,16.3681257 1.45833333,16.7708333 L1.45833333,16.7708333 L1.45833333,21.1458333 C1.45833333,21.548541 1.78479238,21.875 2.1875,21.875 L2.1875,21.875 L3.64583333,21.875 C4.04854096,21.875 4.375,21.548541 4.375,21.1458333 L4.375,21.1458333 L4.375,16.7708333 C4.375,16.3681257 4.04854096,16.0416667 3.64583333,16.0416667 L3.64583333,16.0416667 Z M32.8125,16.0416667 L31.3541667,16.0416667 C30.951459,16.0416667 30.625,16.3681257 30.625,16.7708333 L30.625,16.7708333 L30.625,21.1458333 C30.625,21.548541 30.951459,21.875 31.3541667,21.875 L31.3541667,21.875 L32.8125,21.875 C33.2152077,21.875 33.5416667,21.548541 33.5416667,21.1458333 L33.5416667,21.1458333 L33.5416667,16.7708333 C33.5416667,16.3681257 33.2152077,16.0416667 32.8125,16.0416667 L32.8125,16.0416667 Z M3.64583333,8.75 L2.1875,8.75 C1.78479238,8.75 1.45833333,9.07645904 1.45833333,9.47916667 L1.45833333,9.47916667 L1.45833333,13.8541667 C1.45833333,14.2568743 1.78479238,14.5833333 2.1875,14.5833333 L2.1875,14.5833333 L3.64583333,14.5833333 C4.04854096,14.5833333 4.375,14.2568743 4.375,13.8541667 L4.375,13.8541667 L4.375,9.47916667 C4.375,9.07645904 4.04854096,8.75 3.64583333,8.75 L3.64583333,8.75 Z M32.8125,8.75 L31.3541667,8.75 C30.951459,8.75 30.625,9.07645904 30.625,9.47916667 L30.625,9.47916667 L30.625,13.8541667 C30.625,14.2568743 30.951459,14.5833333 31.3541667,14.5833333 L31.3541667,14.5833333 L32.8125,14.5833333 C33.2152077,14.5833333 33.5416667,14.2568743 33.5416667,13.8541667 L33.5416667,13.8541667 L33.5416667,9.47916667 C33.5416667,9.07645904 33.2152077,8.75 32.8125,8.75 L32.8125,8.75 Z M3.64583333,1.45833333 L2.1875,1.45833333 C1.78479238,1.45833333 1.45833333,1.78479238 1.45833333,2.1875 L1.45833333,2.1875 L1.45833333,6.5625 C1.45833333,6.96520762 1.78479238,7.29166667 2.1875,7.29166667 L2.1875,7.29166667 L3.64583333,7.29166667 C4.04854096,7.29166667 4.375,6.96520762 4.375,6.5625 L4.375,6.5625 L4.375,2.1875 C4.375,1.78479238 4.04854096,1.45833333 3.64583333,1.45833333 L3.64583333,1.45833333 Z M32.8125,1.45833333 L31.3541667,1.45833333 C30.951459,1.45833333 30.625,1.78479238 30.625,2.1875 L30.625,2.1875 L30.625,6.5625 C30.625,6.96520762 30.951459,7.29166667 31.3541667,7.29166667 L31.3541667,7.29166667 L32.8125,7.29166667 C33.2152077,7.29166667 33.5416667,6.96520762 33.5416667,6.5625 L33.5416667,6.5625 L33.5416667,2.1875 C33.5416667,1.78479238 33.2152077,1.45833333 32.8125,1.45833333 L32.8125,1.45833333 Z" id="Combined-Shape" fill="#727272"></path>+ </g>+ <g id="audio-filled" transform="translate(67.774443, 66.500000) rotate(11.000000) translate(-67.774443, -66.500000) translate(52.274443, 51.000000)" fill="#888888" fill-rule="nonzero" stroke="#6F6F6F">+ <path d="M30.4926751,2.15980127 L30.4926751,3.5883727 L30.4916751,3.60816221 L30.4926751,23.5883727 C30.4926751,26.6708922 28.0519127,29.1833412 24.9975752,29.2985321 L24.7783894,29.3026584 C21.6224766,29.3026584 19.0641037,26.7442856 19.0641037,23.5883727 C19.0641037,20.4324598 21.6224766,17.874087 24.7783894,17.874087 C25.2717358,17.874087 25.7504798,17.9366068 26.2071309,18.0541557 L26.2066751,5.28916221 L11.9206751,6.19716221 L11.9212466,25.4455156 C11.9212466,25.5507127 11.9050029,25.6521158 11.874887,25.7473538 C11.5164582,28.5582509 9.11547274,30.7312298 6.20696085,30.7312298 C3.05104799,30.7312298 0.492675137,28.172857 0.492675137,25.0169441 C0.492675137,21.8610313 3.05104799,19.3026584 6.20696085,19.3026584 C6.70020715,19.3026584 7.17885708,19.3651529 7.63542453,19.4826557 L7.63553228,3.15980127 C7.63553228,2.60751652 8.08324753,2.15980127 8.63553228,2.15980127 L8.71874605,2.15826839 C8.82933837,2.12377779 8.94501944,2.10184869 9.06410371,2.09427389 L29.0641037,0.822099447 C29.8530819,0.771913551 30.4926751,1.37082306 30.4926751,2.15980127 Z" id="Combined-Shape"></path>+ </g>+ <polygon id="Rectangle" fill="#9A9A9A" points="17.2744429 66 54.2744429 78.4696017 54.2744429 122.469602 17.2744429 110"></polygon>+ <polygon id="Rectangle" fill="#B0B0B0" transform="translate(72.774443, 94.234801) scale(-1, 1) translate(-72.774443, -94.234801) " points="54.2744429 66 91.2744429 78.4696017 91.2744429 122.469602 54.2744429 110"></polygon>+ <polygon id="Rectangle" fill="#8B8B8B" points="17.2744429 66 54.2744429 78.4696017 37.3329548 93.2446257 1.31450406e-13 80.3759293"></polygon>+ <polygon id="Rectangle" fill="#9A9A9A" points="54.2744429 78.4696017 91.2744429 66 106.345958 79.6223129 68.2965835 92.098224"></polygon>+ <g id="file-filled" transform="translate(54.274443, 16.000000)" fill-rule="nonzero">+ <path d="M2.94117647,0 L14.7058824,0 L14.7058824,0 L25,10.2941176 L25,27.9411765 C25,29.5655434 23.6831904,30.8823529 22.0588235,30.8823529 L2.94117647,30.8823529 C1.31680956,30.8823529 0,29.5655434 0,27.9411765 L0,2.94117647 C0,1.31680956 1.31680956,0 2.94117647,0 Z" id="Rectangle" stroke="#6F6F6F" fill="#888888"></path>+ <path d="M14.7058824,0 L25,10.2941176 L17.6470588,10.2941176 C16.0226919,10.2941176 14.7058824,8.97730809 14.7058824,7.35294118 L14.7058824,0 L14.7058824,0 Z" id="Triangle" fill="#727272"></path>+ </g>+ <g id="closedhand" transform="translate(57.274443, 0.000000)">+ <g id="Clipped">+ <mask id="mask-2" fill="white">+ <use xlink:href="#path-1"></use>+ </mask>+ <g id="SVGID_1_"></g>+ <path d="M12.6,13 C13.1,12.8 14,12.9 14.3,13.5 C14.5,14 14.7,14.7 14.7,14.6 C14.7,14.2 14.7,13.4 14.8,13 C14.9,12.7 15.1,12.4 15.5,12.3 C15.8,12.2 16.1,12.2 16.4,12.2 C16.7,12.3 17,12.5 17.2,12.7 C17.6,13.3 17.6,14.6 17.6,14.5 C17.7,14.2 17.7,13.3 17.9,12.9 C18,12.7 18.4,12.5 18.6,12.4 C18.9,12.3 19.3,12.3 19.6,12.4 C19.8,12.4 20.2,12.7 20.3,12.9 C20.5,13.2 20.6,14.2 20.7,14.6 C20.7,14.7 20.8,14.2 21,13.9 C21.4,13.3 22.8,13.1 22.9,14.5 C22.9,15.2 22.9,15.1 22.9,15.6 C22.9,16.1 22.9,16.4 22.9,16.8 C22.9,17.2 22.8,18.1 22.7,18.5 C22.6,18.8 22.3,19.5 22,19.9 C22,19.9 20.9,21.1 20.8,21.7 C20.7,22.3 20.7,22.3 20.7,22.7 C20.7,23.1 20.8,23.6 20.8,23.6 C20.8,23.6 20,23.7 19.6,23.6 C19.2,23.5 18.7,22.8 18.6,22.5 C18.4,22.2 18.1,22.2 17.9,22.5 C17.7,22.9 17.2,23.6 16.9,23.6 C16.2,23.7 14.8,23.6 13.8,23.6 C13.8,23.6 14,22.6 13.6,22.2 C13.3,21.9 12.8,21.4 12.5,21.1 L11.7,20.2 C11.4,19.8 10.7,19.3 10.5,18.2 C10.3,17.3 10.3,16.8 10.5,16.4 C10.7,16 11.2,15.8 11.4,15.8 C11.6,15.8 12.1,15.8 12.3,15.9 C12.5,16 12.6,16.1 12.8,16.3 C13,16.6 13.1,16.8 13,16.4 C12.9,16.1 12.7,15.8 12.6,15.4 C12.5,15 12.2,14.5 12.2,13.9 C11.7,13.9 11.8,13.3 12.6,13" id="Path" fill="#FFFFFF" fill-rule="nonzero" mask="url(#mask-2)"></path>+ </g>+ <g id="Clipped">+ <mask id="mask-4" fill="white">+ <use xlink:href="#path-3"></use>+ </mask>+ <g id="SVGID_1_"></g>+ <path d="M12.6,13 C13.1,12.8 14,12.9 14.3,13.5 C14.5,14 14.7,14.7 14.7,14.6 C14.7,14.2 14.7,13.4 14.8,13 C14.9,12.7 15.1,12.4 15.5,12.3 C15.8,12.2 16.1,12.2 16.4,12.2 C16.7,12.3 17,12.5 17.2,12.7 C17.6,13.3 17.6,14.6 17.6,14.5 C17.7,14.2 17.7,13.3 17.9,12.9 C18,12.7 18.4,12.5 18.6,12.4 C18.9,12.3 19.3,12.3 19.6,12.4 C19.8,12.4 20.2,12.7 20.3,12.9 C20.5,13.2 20.6,14.2 20.7,14.6 C20.7,14.7 20.8,14.2 21,13.9 C21.4,13.3 22.8,13.1 22.9,14.5 C22.9,15.2 22.9,15.1 22.9,15.6 C22.9,16.1 22.9,16.4 22.9,16.8 C22.9,17.2 22.8,18.1 22.7,18.5 C22.6,18.8 22.3,19.5 22,19.9 C22,19.9 20.9,21.1 20.8,21.7 C20.7,22.3 20.7,22.3 20.7,22.7 C20.7,23.1 20.8,23.6 20.8,23.6 C20.8,23.6 20,23.7 19.6,23.6 C19.2,23.5 18.7,22.8 18.6,22.5 C18.4,22.2 18.1,22.2 17.9,22.5 C17.7,22.9 17.2,23.6 16.9,23.6 C16.2,23.7 14.8,23.6 13.8,23.6 C13.8,23.6 14,22.6 13.6,22.2 C13.3,21.9 12.8,21.4 12.5,21.1 L11.7,20.2 C11.4,19.8 10.7,19.3 10.5,18.2 C10.3,17.3 10.3,16.8 10.5,16.4 C10.7,16 11.2,15.8 11.4,15.8 C11.6,15.8 12.1,15.8 12.3,15.9 C12.5,16 12.6,16.1 12.8,16.3 C13,16.6 13.1,16.8 13,16.4 C12.9,16.1 12.7,15.8 12.6,15.4 C12.5,15 12.2,14.5 12.2,13.9 C11.7,13.9 11.8,13.3 12.6,13 Z" id="Path" stroke="#000000" stroke-width="0.75" stroke-linejoin="round" mask="url(#mask-4)"></path>+ </g>+ <g id="Clipped">+ <mask id="mask-6" fill="white">+ <use xlink:href="#path-5"></use>+ </mask>+ <g id="SVGID_1_"></g>+ <line x1="19.6" y1="20.7" x2="19.6" y2="17.3" id="Path" stroke="#000000" stroke-width="0.75" stroke-linecap="round" mask="url(#mask-6)"></line>+ </g>+ <g id="Clipped">+ <mask id="mask-8" fill="white">+ <use xlink:href="#path-7"></use>+ </mask>+ <g id="SVGID_1_"></g>+ <line x1="17.6" y1="20.7" x2="17.5" y2="17.3" id="Path" stroke="#000000" stroke-width="0.75" stroke-linecap="round" mask="url(#mask-8)"></line>+ </g>+ <g id="Clipped">+ <mask id="mask-10" fill="white">+ <use xlink:href="#path-9"></use>+ </mask>+ <g id="SVGID_1_"></g>+ <line x1="15.6" y1="17.3" x2="15.6" y2="20.7" id="Path" stroke="#000000" stroke-width="0.75" stroke-linecap="round" mask="url(#mask-10)"></line>+ </g>+ </g>+ </g>+ </g>+</svg>\ No newline at end of filediff --git a/studio/public/img/storage-usage.svg b/studio/public/img/storage-usage.svgnew file mode 100644index 00000000000..95cc06cb103--- /dev/null+++ b/studio/public/img/storage-usage.svg@@ -0,0 +1,16 @@+<?xml version="1.0" encoding="UTF-8"?>+<svg width="33px" height="27px" viewBox="0 0 33 27" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">+ <!-- Generator: Sketch 59.1 (86144) - https://sketch.com -->+ <title>Group 11</title>+ <desc>Created with Sketch.</desc>+ <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">+ <g id="Group-11">+ <path d="M15,11 C16.2937198,11 18.2096374,14.9024372 20,13.9036848 C21.2224926,13.2217183 21.6630422,8.49965456 24.0929422,5.10132111 C24.9776554,3.86400658 26.9466747,2.49689954 30,1 L30,26 L2,26 L2,23.1656894 C4.4799755,18.943687 6.87078806,16.8326858 9.17243769,16.8326858 C11.3233993,14.8289503 13.3386423,11 15,11 Z" id="Rectangle" fill-opacity="0.5" fill="#888888"></path>+ <path d="M2,24 C2,21.4601028 6,17.4826711 8.5,16.9826711 C11,16.4826711 13.5,11 15,11 C16.5,11 18.0233384,13.9036848 20,13.9036848 C21.9766616,13.9036848 21.9766616,7.14628013 24.5,4.65301723 C25.5370147,3.62836264 27.370348,2.38886275 30,0.934517551" id="Line-3" stroke="#979797" stroke-linecap="round"></path>+ <line x1="0.5" y1="26.5" x2="32.5" y2="26.5" id="Line-4" stroke="#979797" stroke-linecap="round"></line>+ <line x1="10.5" y1="15.5" x2="10.5" y2="26.5" id="Line-5" stroke="#979797" stroke-width="0.3" stroke-linecap="round" stroke-dasharray="1"></line>+ <line x1="21.5" y1="12.5" x2="21.5" y2="26.5" id="Line-5" stroke="#979797" stroke-width="0.3" stroke-linecap="round" stroke-dasharray="1"></line>+ <circle id="Oval" stroke="#979797" stroke-width="0.4" fill="#D8D8D8" cx="30" cy="1" r="1"></circle>+ </g>+ </g>+</svg>\ No newline at end of filediff --git a/studio/public/img/supabase-dark.svg b/studio/public/img/supabase-dark.svgnew file mode 100644index 00000000000..d1f685ac7f9--- /dev/null+++ b/studio/public/img/supabase-dark.svg@@ -0,0 +1,23 @@+<svg width="581" height="113" viewBox="0 0 581 113" fill="none" xmlns="http://www.w3.org/2000/svg">+<path d="M151.397 66.761C151.996 72.3623 157.091 81.9644 171.877 81.9644C184.764 81.9644 190.959 73.7627 190.959 65.7609C190.959 58.5592 186.063 52.658 176.373 50.6574L169.379 49.1571C166.682 48.657 164.884 47.1568 164.884 44.7561C164.884 41.9555 167.681 39.8552 171.178 39.8552C176.772 39.8552 178.87 43.5558 179.27 46.4566L190.359 43.9561C189.76 38.6549 185.064 29.7529 171.078 29.7529C160.488 29.7529 152.696 37.0545 152.696 45.8563C152.696 52.7579 156.991 58.4593 166.482 60.5596L172.976 62.0601C176.772 62.8601 178.271 64.6607 178.271 66.8611C178.271 69.4618 176.173 71.7623 171.777 71.7623C165.983 71.7623 163.085 68.1613 162.786 64.2605L151.397 66.761Z" fill="white"/>+<path d="M233.421 80.4639H246.109C245.909 78.7635 245.609 75.3628 245.609 71.5618V31.2529H232.321V59.8592C232.321 65.5606 228.925 69.5614 223.031 69.5614C216.837 69.5614 214.039 65.1604 214.039 59.6592V31.2529H200.752V62.3599C200.752 73.0622 207.545 81.7642 219.434 81.7642C224.628 81.7642 230.325 79.7638 233.022 75.1627C233.022 77.1631 233.221 79.4636 233.421 80.4639Z" fill="white"/>+<path d="M273.076 99.4682V75.663C275.473 78.9636 280.469 81.6644 287.263 81.6644C301.149 81.6644 310.439 70.6617 310.439 55.7584C310.439 41.1553 302.148 30.1528 287.762 30.1528C280.37 30.1528 274.875 33.4534 272.677 37.2544V31.253H259.79V99.4682H273.076ZM297.352 55.8585C297.352 64.6606 291.958 69.7616 285.164 69.7616C278.372 69.7616 272.877 64.5605 272.877 55.8585C272.877 47.1566 278.372 42.0554 285.164 42.0554C291.958 42.0554 297.352 47.1566 297.352 55.8585Z" fill="white"/>+<path d="M317.964 67.0611C317.964 74.763 324.357 81.8645 334.848 81.8645C342.139 81.8645 346.835 78.4636 349.332 74.5627C349.332 76.4632 349.532 79.1638 349.832 80.4642H362.02C361.72 78.7637 361.422 75.2629 361.422 72.6625V48.457C361.422 38.5548 355.627 29.7529 340.043 29.7529C326.855 29.7529 319.761 38.2546 318.963 45.9565L330.751 48.457C331.151 44.1561 334.348 40.4552 340.141 40.4552C345.737 40.4552 348.434 43.3558 348.434 46.8566C348.434 48.5571 347.536 49.9574 344.738 50.3575L332.65 52.1578C324.458 53.3581 317.964 58.2591 317.964 67.0611ZM337.644 71.9623C333.349 71.9623 331.25 69.1616 331.25 66.2611C331.25 62.4601 333.947 60.5596 337.345 60.0597L348.434 58.3592V60.5596C348.434 69.2617 343.239 71.9623 337.644 71.9623Z" fill="white"/>+<path d="M387.703 80.4641V74.4627C390.299 78.6637 395.494 81.6644 402.288 81.6644C416.276 81.6644 425.467 70.5618 425.467 55.6585C425.467 41.0552 417.174 29.9528 402.788 29.9528C395.494 29.9528 390.1 33.1535 387.902 36.6541V8.04785H374.815V80.4641H387.703ZM412.178 55.7584C412.178 64.7605 406.784 69.7616 399.99 69.7616C393.297 69.7616 387.703 64.6606 387.703 55.7584C387.703 46.7564 393.297 41.8554 399.99 41.8554C406.784 41.8554 412.178 46.7564 412.178 55.7584Z" fill="white"/>+<path d="M432.99 67.0611C432.99 74.763 439.383 81.8645 449.873 81.8645C457.165 81.8645 461.862 78.4636 464.358 74.5627C464.358 76.4632 464.559 79.1638 464.858 80.4642H477.046C476.748 78.7637 476.448 75.2629 476.448 72.6625V48.457C476.448 38.5548 470.653 29.7529 455.068 29.7529C441.881 29.7529 434.788 38.2546 433.989 45.9565L445.776 48.457C446.177 44.1561 449.374 40.4552 455.167 40.4552C460.763 40.4552 463.46 43.3558 463.46 46.8566C463.46 48.5571 462.561 49.9574 459.763 50.3575L447.676 52.1578C439.484 53.3581 432.99 58.2591 432.99 67.0611ZM452.671 71.9623C448.375 71.9623 446.276 69.1616 446.276 66.2611C446.276 62.4601 448.973 60.5596 452.371 60.0597L463.46 58.3592V60.5596C463.46 69.2617 458.265 71.9623 452.671 71.9623Z" fill="white"/>+<path d="M485.645 66.761C486.243 72.3623 491.339 81.9644 506.124 81.9644C519.012 81.9644 525.205 73.7627 525.205 65.7609C525.205 58.5592 520.311 52.658 510.62 50.6574L503.626 49.1571C500.929 48.657 499.132 47.1568 499.132 44.7561C499.132 41.9555 501.928 39.8552 505.425 39.8552C511.021 39.8552 513.118 43.5558 513.519 46.4566L524.607 43.9561C524.007 38.6549 519.312 29.7529 505.326 29.7529C494.735 29.7529 486.944 37.0545 486.944 45.8563C486.944 52.7579 491.238 58.4593 500.73 60.5596L507.224 62.0601C511.021 62.8601 512.519 64.6607 512.519 66.8611C512.519 69.4618 510.421 71.7623 506.025 71.7623C500.23 71.7623 497.334 68.1613 497.034 64.2605L485.645 66.761Z" fill="white"/>+<path d="M545.385 50.2574C545.685 45.7564 549.482 40.5551 556.375 40.5551C563.967 40.5551 567.165 45.3564 567.365 50.2574H545.385ZM568.664 63.0603C567.065 67.4612 563.668 70.562 557.474 70.562C550.88 70.562 545.385 65.8608 545.087 59.3595H580.252C580.252 59.1593 580.451 57.1589 580.451 55.2584C580.451 39.4549 571.361 29.7529 556.175 29.7529C543.588 29.7529 531.998 39.9551 531.998 55.6587C531.998 72.2622 543.886 81.9644 557.374 81.9644C569.462 81.9644 577.255 74.8629 579.753 66.361L568.664 63.0603Z" fill="white"/>+<path d="M63.7076 110.284C60.8481 113.885 55.0502 111.912 54.9813 107.314L53.9738 40.0625L99.1935 40.0625C107.384 40.0625 111.952 49.5226 106.859 55.9372L63.7076 110.284Z" fill="url(#paint0_linear)"/>+<path d="M63.7076 110.284C60.8481 113.885 55.0502 111.912 54.9813 107.314L53.9738 40.0625L99.1935 40.0625C107.384 40.0625 111.952 49.5226 106.859 55.9372L63.7076 110.284Z" fill="url(#paint1_linear)" fill-opacity="0.2"/>+<path d="M45.317 2.07103C48.1765 -1.53037 53.9745 0.442937 54.0434 5.041L54.4849 72.2922H9.83113C1.64038 72.2922 -2.92775 62.8321 2.1655 56.4175L45.317 2.07103Z" fill="#3ECF8E"/>+<defs>+<linearGradient id="paint0_linear" x1="53.9738" y1="54.9738" x2="94.1635" y2="71.8293" gradientUnits="userSpaceOnUse">+<stop stop-color="#249361"/>+<stop offset="1" stop-color="#3ECF8E"/>+</linearGradient>+<linearGradient id="paint1_linear" x1="36.1558" y1="30.5779" x2="54.4844" y2="65.0804" gradientUnits="userSpaceOnUse">+<stop/>+<stop offset="1" stop-opacity="0"/>+</linearGradient>+</defs>+</svg>diff --git a/studio/public/img/supabase-light.svg b/studio/public/img/supabase-light.svgnew file mode 100644index 00000000000..e8ba5801b94--- /dev/null+++ b/studio/public/img/supabase-light.svg@@ -0,0 +1,23 @@+<svg width="581" height="113" viewBox="0 0 581 113" fill="none" xmlns="http://www.w3.org/2000/svg">+<path d="M151.397 66.761C151.996 72.3623 157.091 81.9644 171.877 81.9644C184.764 81.9644 190.959 73.7627 190.959 65.7609C190.959 58.5592 186.063 52.658 176.373 50.6574L169.379 49.1571C166.682 48.657 164.884 47.1568 164.884 44.7561C164.884 41.9555 167.681 39.8552 171.178 39.8552C176.772 39.8552 178.87 43.5558 179.27 46.4566L190.359 43.9561C189.76 38.6549 185.064 29.7529 171.078 29.7529C160.488 29.7529 152.696 37.0545 152.696 45.8563C152.696 52.7579 156.991 58.4593 166.482 60.5596L172.976 62.0601C176.772 62.8601 178.271 64.6607 178.271 66.8611C178.271 69.4618 176.173 71.7623 171.777 71.7623C165.983 71.7623 163.085 68.1613 162.786 64.2605L151.397 66.761Z" fill="#1F1F1F"/>+<path d="M233.421 80.4639H246.109C245.909 78.7635 245.609 75.3628 245.609 71.5618V31.2529H232.321V59.8592C232.321 65.5606 228.925 69.5614 223.031 69.5614C216.837 69.5614 214.039 65.1604 214.039 59.6592V31.2529H200.752V62.3599C200.752 73.0622 207.545 81.7642 219.434 81.7642C224.628 81.7642 230.325 79.7638 233.022 75.1627C233.022 77.1631 233.221 79.4636 233.421 80.4639Z" fill="#1F1F1F"/>+<path d="M273.076 99.4682V75.663C275.473 78.9636 280.469 81.6644 287.263 81.6644C301.149 81.6644 310.439 70.6617 310.439 55.7584C310.439 41.1553 302.148 30.1528 287.762 30.1528C280.37 30.1528 274.875 33.4534 272.677 37.2544V31.253H259.79V99.4682H273.076ZM297.352 55.8585C297.352 64.6606 291.958 69.7616 285.164 69.7616C278.372 69.7616 272.877 64.5605 272.877 55.8585C272.877 47.1566 278.372 42.0554 285.164 42.0554C291.958 42.0554 297.352 47.1566 297.352 55.8585Z" fill="#1F1F1F"/>+<path d="M317.964 67.0611C317.964 74.763 324.357 81.8645 334.848 81.8645C342.139 81.8645 346.835 78.4636 349.332 74.5627C349.332 76.4632 349.532 79.1638 349.832 80.4642H362.02C361.72 78.7637 361.422 75.2629 361.422 72.6625V48.457C361.422 38.5548 355.627 29.7529 340.043 29.7529C326.855 29.7529 319.761 38.2546 318.963 45.9565L330.751 48.457C331.151 44.1561 334.348 40.4552 340.141 40.4552C345.737 40.4552 348.434 43.3558 348.434 46.8566C348.434 48.5571 347.536 49.9574 344.738 50.3575L332.65 52.1578C324.458 53.3581 317.964 58.2591 317.964 67.0611ZM337.644 71.9623C333.349 71.9623 331.25 69.1616 331.25 66.2611C331.25 62.4601 333.947 60.5596 337.345 60.0597L348.434 58.3592V60.5596C348.434 69.2617 343.239 71.9623 337.644 71.9623Z" fill="#1F1F1F"/>+<path d="M387.703 80.4641V74.4627C390.299 78.6637 395.494 81.6644 402.288 81.6644C416.276 81.6644 425.467 70.5618 425.467 55.6585C425.467 41.0552 417.174 29.9528 402.788 29.9528C395.494 29.9528 390.1 33.1535 387.902 36.6541V8.04785H374.815V80.4641H387.703ZM412.178 55.7584C412.178 64.7605 406.784 69.7616 399.99 69.7616C393.297 69.7616 387.703 64.6606 387.703 55.7584C387.703 46.7564 393.297 41.8554 399.99 41.8554C406.784 41.8554 412.178 46.7564 412.178 55.7584Z" fill="#1F1F1F"/>+<path d="M432.99 67.0611C432.99 74.763 439.383 81.8645 449.873 81.8645C457.165 81.8645 461.862 78.4636 464.358 74.5627C464.358 76.4632 464.559 79.1638 464.858 80.4642H477.046C476.748 78.7637 476.448 75.2629 476.448 72.6625V48.457C476.448 38.5548 470.653 29.7529 455.068 29.7529C441.881 29.7529 434.788 38.2546 433.989 45.9565L445.776 48.457C446.177 44.1561 449.374 40.4552 455.167 40.4552C460.763 40.4552 463.46 43.3558 463.46 46.8566C463.46 48.5571 462.561 49.9574 459.763 50.3575L447.676 52.1578C439.484 53.3581 432.99 58.2591 432.99 67.0611ZM452.671 71.9623C448.375 71.9623 446.276 69.1616 446.276 66.2611C446.276 62.4601 448.973 60.5596 452.371 60.0597L463.46 58.3592V60.5596C463.46 69.2617 458.265 71.9623 452.671 71.9623Z" fill="#1F1F1F"/>+<path d="M485.645 66.761C486.243 72.3623 491.339 81.9644 506.124 81.9644C519.012 81.9644 525.205 73.7627 525.205 65.7609C525.205 58.5592 520.311 52.658 510.62 50.6574L503.626 49.1571C500.929 48.657 499.132 47.1568 499.132 44.7561C499.132 41.9555 501.928 39.8552 505.425 39.8552C511.021 39.8552 513.118 43.5558 513.519 46.4566L524.607 43.9561C524.007 38.6549 519.312 29.7529 505.326 29.7529C494.735 29.7529 486.944 37.0545 486.944 45.8563C486.944 52.7579 491.238 58.4593 500.73 60.5596L507.224 62.0601C511.021 62.8601 512.519 64.6607 512.519 66.8611C512.519 69.4618 510.421 71.7623 506.025 71.7623C500.23 71.7623 497.334 68.1613 497.034 64.2605L485.645 66.761Z" fill="#1F1F1F"/>+<path d="M545.385 50.2574C545.685 45.7564 549.482 40.5551 556.375 40.5551C563.967 40.5551 567.165 45.3564 567.365 50.2574H545.385ZM568.664 63.0603C567.065 67.4612 563.668 70.562 557.474 70.562C550.88 70.562 545.385 65.8608 545.087 59.3595H580.252C580.252 59.1593 580.451 57.1589 580.451 55.2584C580.451 39.4549 571.361 29.7529 556.175 29.7529C543.588 29.7529 531.998 39.9551 531.998 55.6587C531.998 72.2622 543.886 81.9644 557.374 81.9644C569.462 81.9644 577.255 74.8629 579.753 66.361L568.664 63.0603Z" fill="#1F1F1F"/>+<path d="M63.7076 110.284C60.8481 113.885 55.0502 111.912 54.9813 107.314L53.9738 40.0625L99.1935 40.0625C107.384 40.0625 111.952 49.5226 106.859 55.9372L63.7076 110.284Z" fill="url(#paint0_linear)"/>+<path d="M63.7076 110.284C60.8481 113.885 55.0502 111.912 54.9813 107.314L53.9738 40.0625L99.1935 40.0625C107.384 40.0625 111.952 49.5226 106.859 55.9372L63.7076 110.284Z" fill="url(#paint1_linear)" fill-opacity="0.2"/>+<path d="M45.317 2.07103C48.1765 -1.53037 53.9745 0.442937 54.0434 5.041L54.4849 72.2922H9.83113C1.64038 72.2922 -2.92775 62.8321 2.1655 56.4175L45.317 2.07103Z" fill="#3ECF8E"/>+<defs>+<linearGradient id="paint0_linear" x1="53.9738" y1="54.9738" x2="94.1635" y2="71.8293" gradientUnits="userSpaceOnUse">+<stop stop-color="#249361"/>+<stop offset="1" stop-color="#3ECF8E"/>+</linearGradient>+<linearGradient id="paint1_linear" x1="36.1558" y1="30.5779" x2="54.4844" y2="65.0804" gradientUnits="userSpaceOnUse">+<stop/>+<stop offset="1" stop-opacity="0"/>+</linearGradient>+</defs>+</svg>diff --git a/studio/public/img/supabase-logo.svg b/studio/public/img/supabase-logo.svgnew file mode 100644index 00000000000..2b69d42e7b3--- /dev/null+++ b/studio/public/img/supabase-logo.svg@@ -0,0 +1,15 @@+<svg width="109" height="113" viewBox="0 0 109 113" fill="none" xmlns="http://www.w3.org/2000/svg">+<path d="M63.7076 110.284C60.8481 113.885 55.0502 111.912 54.9813 107.314L53.9738 40.0625L99.1935 40.0625C107.384 40.0625 111.952 49.5226 106.859 55.9372L63.7076 110.284Z" fill="url(#paint0_linear)"/>+<path d="M63.7076 110.284C60.8481 113.885 55.0502 111.912 54.9813 107.314L53.9738 40.0625L99.1935 40.0625C107.384 40.0625 111.952 49.5226 106.859 55.9372L63.7076 110.284Z" fill="url(#paint1_linear)" fill-opacity="0.2"/>+<path d="M45.317 2.07103C48.1765 -1.53037 53.9745 0.442937 54.0434 5.041L54.4849 72.2922H9.83113C1.64038 72.2922 -2.92775 62.8321 2.1655 56.4175L45.317 2.07103Z" fill="#3ECF8E"/>+<defs>+<linearGradient id="paint0_linear" x1="53.9738" y1="54.9738" x2="94.1635" y2="71.8293" gradientUnits="userSpaceOnUse">+<stop stop-color="#249361"/>+<stop offset="1" stop-color="#3ECF8E"/>+</linearGradient>+<linearGradient id="paint1_linear" x1="36.1558" y1="30.5779" x2="54.4844" y2="65.0804" gradientUnits="userSpaceOnUse">+<stop/>+<stop offset="1" stop-opacity="0"/>+</linearGradient>+</defs>+</svg>diff --git a/studio/public/img/support/discord-bg-small.jpg b/studio/public/img/support/discord-bg-small.jpgnew file mode 100644index 00000000000..a8d8dd56a8eBinary files /dev/null and b/studio/public/img/support/discord-bg-small.jpg differdiff --git a/studio/public/img/support/github-bg.jpg b/studio/public/img/support/github-bg.jpgnew file mode 100644index 00000000000..ed62f645d45Binary files /dev/null and b/studio/public/img/support/github-bg.jpg differdiff --git a/studio/public/img/table-editor.svg b/studio/public/img/table-editor.svgnew file mode 100644index 00000000000..80801717355--- /dev/null+++ b/studio/public/img/table-editor.svg@@ -0,0 +1,13 @@+<?xml version="1.0" encoding="UTF-8"?>+<svg width="22px" height="19px" viewBox="0 0 22 19" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">+ <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">+ <g id="Artboard" transform="translate(-967.000000, -2846.000000)" stroke="currentColor" stroke-width="2">+ <g id="table-editor" transform="translate(968.000000, 2847.000000)">+ <rect id="Rectangle" x="0" y="0" width="20" height="17" rx="2"></rect>+ <line x1="0" y1="11" x2="21" y2="11" id="Path"></line>+ <line x1="0" y1="5.5" x2="21" y2="5.5" id="Path"></line>+ <line x1="7" y1="0" x2="7" y2="16" id="Path"></line>+ </g>+ </g>+ </g>+</svg>\ No newline at end of filediff --git a/studio/public/img/user.svg b/studio/public/img/user.svgnew file mode 100755index 00000000000..7bb5f2911d5--- /dev/null+++ b/studio/public/img/user.svg@@ -0,0 +1 @@+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-user"><path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"></path><circle cx="12" cy="7" r="4"></circle></svg>\ No newline at end of filediff --git a/studio/public/supabase-logo.svg b/studio/public/supabase-logo.svgnew file mode 100644index 00000000000..2b69d42e7b3--- /dev/null+++ b/studio/public/supabase-logo.svg@@ -0,0 +1,15 @@+<svg width="109" height="113" viewBox="0 0 109 113" fill="none" xmlns="http://www.w3.org/2000/svg">+<path d="M63.7076 110.284C60.8481 113.885 55.0502 111.912 54.9813 107.314L53.9738 40.0625L99.1935 40.0625C107.384 40.0625 111.952 49.5226 106.859 55.9372L63.7076 110.284Z" fill="url(#paint0_linear)"/>+<path d="M63.7076 110.284C60.8481 113.885 55.0502 111.912 54.9813 107.314L53.9738 40.0625L99.1935 40.0625C107.384 40.0625 111.952 49.5226 106.859 55.9372L63.7076 110.284Z" fill="url(#paint1_linear)" fill-opacity="0.2"/>+<path d="M45.317 2.07103C48.1765 -1.53037 53.9745 0.442937 54.0434 5.041L54.4849 72.2922H9.83113C1.64038 72.2922 -2.92775 62.8321 2.1655 56.4175L45.317 2.07103Z" fill="#3ECF8E"/>+<defs>+<linearGradient id="paint0_linear" x1="53.9738" y1="54.9738" x2="94.1635" y2="71.8293" gradientUnits="userSpaceOnUse">+<stop stop-color="#249361"/>+<stop offset="1" stop-color="#3ECF8E"/>+</linearGradient>+<linearGradient id="paint1_linear" x1="36.1558" y1="30.5779" x2="54.4844" y2="65.0804" gradientUnits="userSpaceOnUse">+<stop/>+<stop offset="1" stop-opacity="0"/>+</linearGradient>+</defs>+</svg>diff --git a/studio/sentry.client.config.js b/studio/sentry.client.config.jsnew file mode 100644index 00000000000..c4815243c0e--- /dev/null+++ b/studio/sentry.client.config.js@@ -0,0 +1,52 @@+// This file configures the initialization of Sentry on the browser.+// The config you add here will be used whenever a page is visited.+// https://docs.sentry.io/platforms/javascript/guides/nextjs/++import * as Sentry from '@sentry/nextjs'+import { match } from 'path-to-regexp'+import { Integrations } from '@sentry/tracing'++Sentry.init({+ dsn: process.env.NEXT_PUBLIC_SENTRY_DSN,+ tracesSampleRate: 0.01,+ // Note: if you want to override the automatic release value, do not set a+ // `release` value here - use the environment variable `SENTRY_RELEASE`, so+ // that it will also get attached to your source maps+ integrations: [+ new Integrations.BrowserTracing({+ beforeNavigate: (context) => {+ return {+ ...context,+ name: standardiseRouterUrl(location.pathname),+ }+ },+ }),+ ],+ ignoreErrors: ['ResizeObserver', 'Non-Error exception captured', 'Non-Error promise rejection'],+})++// replace dynamic query param with a template text+// support grouping sentry transaction+function standardiseRouterUrl(url) {+ let finalUrl = url++ const orgMatch = match('/org/:slug/(.*)', { decode: decodeURIComponent })+ const orgMatchResult = orgMatch(finalUrl)+ if (orgMatchResult) {+ finalUrl = finalUrl.replace(orgMatchResult.params.slug, '[slug]')+ }++ const newOrgMatch = match('/new/:slug', { decode: decodeURIComponent })+ const newOrgMatchResult = newOrgMatch(finalUrl)+ if (newOrgMatchResult) {+ finalUrl = finalUrl.replace(newOrgMatchResult.params.slug, '[slug]')+ }++ const projectMatch = match('/project/:ref/(.*)', { decode: decodeURIComponent })+ const projectMatchResult = projectMatch(finalUrl)+ if (projectMatchResult) {+ finalUrl = finalUrl.replace(projectMatchResult.params.ref, '[ref]')+ }++ return finalUrl+}diff --git a/studio/sentry.server.config.js b/studio/sentry.server.config.jsnew file mode 100644index 00000000000..a626b5b100b--- /dev/null+++ b/studio/sentry.server.config.js@@ -0,0 +1,14 @@+// This file configures the initialization of Sentry on the server.+// The config you add here will be used whenever the server handles a request.+// https://docs.sentry.io/platforms/javascript/guides/nextjs/++import * as Sentry from '@sentry/nextjs'++Sentry.init({+ dsn: process.env.NEXT_PUBLIC_SENTRY_DSN,+ tracesSampleRate: 0.01,+ // Note: if you want to override the automatic release value, do not set a+ // `release` value here - use the environment variable `SENTRY_RELEASE`, so+ // that it will also get attached to your source maps+ ignoreErrors: ['ResizeObserver', 'Non-Error exception captured', 'Non-Error promise rejection'],+})diff --git a/studio/stores/README.md b/studio/stores/README.mdnew file mode 100644index 00000000000..fc5b9804f67--- /dev/null+++ b/studio/stores/README.md@@ -0,0 +1,23 @@+# Store++## Store structure++At the root, there are currently 3 top-level stores in use: `app`, `meta` and `ui` (`content` is WIP at the moment). Each of them store the following information:++- `app`: Application level data (Projects and organizations)+- `meta`: Database information (e.g Tables, Columns, Policies)+- `ui`: UI states that are common globally+- `content`: User-specific content (e.g Saved SQL snippets)++## Accessing the store++The `useStore` hook is the entry point to access the store in your pages and components.++```+import { useStore } from 'hooks'+const { app, meta, ui } = useStore()+```++## What is the jsonSchema folder++The files here are used to populate form fields on the dashboard with the `ajv` library. We have in mind to move away from this way of rendering form fields due to its rigid nature but we've yet to decide.diff --git a/studio/stores/RootStore.ts b/studio/stores/RootStore.tsnew file mode 100644index 00000000000..4bd4eb7bf5c--- /dev/null+++ b/studio/stores/RootStore.ts@@ -0,0 +1,53 @@+import { configure } from 'mobx'+import AppStore, { IAppStore } from './app/AppStore'+import MetaStore, { IMetaStore } from './pgmeta/MetaStore'+import UiStore, { IUiStore } from './UiStore'+import ProjectContentStore, { IProjectContentStore } from './content/ProjectContentStore'++// Temporary disable mobx warnings+// TODO: need to remove this after refactoring old stores.+configure({+ enforceActions: 'never',+})++export interface IRootStore {+ ui: IUiStore+ content: IProjectContentStore+ meta: IMetaStore+ app: IAppStore+ setProjectRef: (value?: string) => void+ setOrganizationSlug: (value?: string) => void+}+export class RootStore implements IRootStore {+ ui: IUiStore+ content: IProjectContentStore+ meta: IMetaStore+ app: IAppStore++ constructor() {+ this.ui = new UiStore(this)+ this.content = new ProjectContentStore(this, { projectRef: '' })+ this.meta = new MetaStore(this, {+ projectRef: '',+ connectionString: '',+ })+ this.app = new AppStore(this)+ }++ setProjectRef(value?: string) {+ if (this.ui.selectedProject?.ref != value) {+ this.ui.setProjectRef(value)+ this.content = new ProjectContentStore(this, { projectRef: value || '' })+ this.meta = new MetaStore(this, {+ projectRef: value || '',+ connectionString: this.ui.selectedProject?.connectionString ?? '',+ })+ }+ }++ setOrganizationSlug(value?: string) {+ if (this.ui.selectedOrganization?.slug != value) {+ this.ui.setOrganizationSlug(value)+ }+ }+}diff --git a/studio/stores/UiStore.ts b/studio/stores/UiStore.tsnew file mode 100644index 00000000000..4d31b51126e--- /dev/null+++ b/studio/stores/UiStore.ts@@ -0,0 +1,117 @@+import { uuidv4 } from 'lib/helpers'+import { action, makeAutoObservable } from 'mobx'+import { Project, Notification, User, Organization } from 'types'+import { IRootStore } from './RootStore'+import Telemetry from 'lib/telemetry'++export interface IUiStore {+ language: 'en_US'+ theme: 'dark' | 'light'++ isDarkTheme: boolean+ selectedProject?: Project+ selectedOrganization?: Organization+ notification?: Notification+ profile?: User++ load: () => void+ toggleTheme: () => void+ setTheme: (theme: 'dark' | 'light') => void+ setProjectRef: (ref?: string) => void+ setOrganizationSlug: (slug?: string) => void+ setNotification: (notification: Notification) => string+ setProfile: (value?: User) => void+}+export default class UiStore implements IUiStore {+ rootStore: IRootStore+ language: 'en_US' = 'en_US'+ theme: 'dark' | 'light' = 'dark'++ selectedProjectRef?: string+ selectedOrganizationSlug?: string+ notification?: Notification+ profile?: User++ constructor(rootStore: IRootStore) {+ this.rootStore = rootStore+ makeAutoObservable(this, {+ setProjectRef: action,+ setOrganizationSlug: action,+ })+ }++ get selectedProject() {+ if (this.selectedProjectRef) {+ const found = this.rootStore.app.projects.find(+ (x: Project) => x.ref == this.selectedProjectRef+ )+ return found+ }+ return undefined+ }++ get selectedOrganization() {+ if (this.selectedOrganizationSlug) {+ const found = this.rootStore.app.organizations.find(+ (x: Organization) => x.slug == this.selectedOrganizationSlug+ )+ return found+ }+ if (this.selectedProjectRef) {+ const organizationId = this.selectedProject?.organization_id+ const found = this.rootStore.app.organizations.find(+ (x: Organization) => x.id == organizationId+ )+ return found+ }+ return undefined+ }++ get isDarkTheme() {+ return this.theme === 'dark'+ }++ load() {+ if (typeof window === 'undefined') return+ const savedTheme = (window.localStorage.getItem('theme') ?? 'dark') as 'dark' | 'light'+ this.setTheme(savedTheme)+ }++ toggleTheme() {+ if (this.theme === 'dark') {+ this.setTheme('light')+ } else {+ this.setTheme('dark')+ }+ }++ setTheme(theme: 'dark' | 'light') {+ this.theme = theme+ window.localStorage.setItem('theme', theme)+ document.body.className = theme+ }++ setProjectRef(ref?: string) {+ this.selectedProjectRef = ref+ }++ setOrganizationSlug(slug?: string) {+ this.selectedOrganizationSlug = slug+ }++ setNotification(notification: Notification): string {+ const id = notification?.id ?? uuidv4()+ this.notification = { ...notification, id }+ return id+ }++ setProfile(value?: User) {+ if (value?.id != this.profile?.id) {+ this.profile = value++ if (value) {+ Telemetry.sendIdentify(value)+ }+ }+ }+}diff --git a/studio/stores/app/AppStore.ts b/studio/stores/app/AppStore.tsnew file mode 100644index 00000000000..e492f257b0d--- /dev/null+++ b/studio/stores/app/AppStore.ts@@ -0,0 +1,99 @@+import { Dictionary } from '@supabase/grid'+import { cloneDeep } from 'lodash'+import { values } from 'mobx'+import { Project } from 'types'++import { API_URL } from 'lib/constants'+import { IRootStore } from '../RootStore'+import DatabaseStore, { IDatabaseStore } from './DatabaseStore'+import OrganizationStore from './OrganizationStore'+import ProjectStore from './ProjectStore'++export interface IAppStore {+ projects: ProjectStore+ organizations: OrganizationStore+ database: IDatabaseStore+ onProjectUpdated: (project: any) => void+ onProjectDeleted: (project: any) => void+ onOrgAdded: (org: any) => void+ onOrgUpdated: (org: any) => void+ onOrgDeleted: (org: any) => void+}+export default class AppStore implements IAppStore {+ rootStore: IRootStore+ projects: ProjectStore+ organizations: OrganizationStore+ database: DatabaseStore++ baseUrl: string++ constructor(rootStore: IRootStore) {+ this.rootStore = rootStore+ this.baseUrl = API_URL || '/api'++ const headers: any = {}++ this.projects = new ProjectStore(rootStore, `${this.baseUrl}/projects`, headers)+ this.organizations = new OrganizationStore(rootStore, `${this.baseUrl}/organizations`, headers)+ this.database = new DatabaseStore(rootStore, `${this.baseUrl}/database`, headers)+ }++ onProjectUpdated(project: any) {+ if (project && project.id) {+ const kpsVersion =+ project.services?.length > 0+ ? project.services[0]?.infrastructure[0]?.app_versions?.version+ : undefined+ const clone: any = cloneDeep((this.projects.data as any)[project.id])+ clone.kpsVersion = kpsVersion+ clone.name = project.name+ clone.status = project.status+ clone.services = project.services+ ;(this.projects.data as any)[project.id] = clone+ }+ }++ onProjectDeleted(project: any) {+ if (project && project.id) {+ // cleanup project saved queries+ localStorage.removeItem(`supabase-queries-state-${project.ref}`)+ localStorage.removeItem(`supabase_${project.ref}`)+ delete this.projects.data[project.id]+ }+ }++ onOrgUpdated(org: any) {+ if (org && org.id) {+ this.organizations.data[org.id] = { ...org }+ }+ }++ onOrgAdded(org: any) {+ if (org && org.id) {+ this.organizations.data[org.id] = { ...org }+ }+ }++ onOrgDeleted(org: any) {+ if (org && org.id) {+ const projects = values(this.projects.data)+ // cleanup projects saved queries+ const removedprojects = projects.filter(+ (project: Project) => project.organization_id === org.id+ )+ removedprojects.forEach((project: Project) => {+ localStorage.removeItem(`supabase-queries-state-${project.ref}`)+ localStorage.removeItem(`supabase_${project.ref}`)+ })+ // remove projects belong to removed org+ const updatedProjects = projects.filter(+ (project: Project) => project.organization_id != org.id+ )+ this.projects.data = updatedProjects.reduce((map: any, x: any) => {+ map[x.id] = { ...x }+ return map+ }, {})+ delete (this.organizations.data as any)[org.id]+ }+ }+}diff --git a/studio/stores/app/DatabaseStore.ts b/studio/stores/app/DatabaseStore.tsnew file mode 100644index 00000000000..22f5672e817--- /dev/null+++ b/studio/stores/app/DatabaseStore.ts@@ -0,0 +1,50 @@+import { ResponseError } from 'types'+import { API_URL } from 'lib/constants'+import { get } from 'lib/common/fetch'+import { IRootStore } from '../RootStore'+import { constructHeaders } from 'lib/api/apiHelpers'+import PostgresMetaInterface, { IPostgresMetaInterface } from '../common/PostgresMetaInterface'++export interface IDatabaseStore extends IPostgresMetaInterface<any> {+ getBackups: (+ projectRef: string+ ) => Promise<{ tierId: any; backups: any[] } | { error: ResponseError }>+ getPoolingConfiguration: (projectRef: string) => Promise<any | { error: ResponseError }>+}++export default class DatabaseStore extends PostgresMetaInterface<any> {+ constructor(+ rootStore: IRootStore,+ dataUrl: string,+ headers?: {+ [prop: string]: any+ },+ options?: { identifier: string }+ ) {+ super(rootStore, dataUrl, headers, options)+ }++ async getBackups(projectRef: string) {+ try {+ const url = `${this.url}/${projectRef}/backups`+ const headers = constructHeaders(this.headers)+ const response = await get(url, { headers })+ if (response.error) throw response.error+ return response+ } catch (error: any) {+ return { error }+ }+ }++ async getPoolingConfiguration(projectRef: string) {+ try {+ // Need to use project ref -> shouldn;t need to pass it in via argument+ const url = `${API_URL}/props/pooling/${projectRef}/config`+ const response = await get(url, { headers: this.headers })+ if (response.error) throw response.error+ return response+ } catch (error: any) {+ return { error }+ }+ }+}diff --git a/studio/stores/app/OrganizationStore.ts b/studio/stores/app/OrganizationStore.tsnew file mode 100644index 00000000000..daa048cc96d--- /dev/null+++ b/studio/stores/app/OrganizationStore.ts@@ -0,0 +1,16 @@+import { Organization } from 'types'+import { IRootStore } from '../RootStore'+import PostgresMetaInterface from '../common/PostgresMetaInterface'++export default class OrganizationStore extends PostgresMetaInterface<Organization> {+ constructor(+ rootStore: IRootStore,+ dataUrl: string,+ headers?: {+ [prop: string]: any+ },+ options?: { identifier: string }+ ) {+ super(rootStore, dataUrl, headers, options)+ }+}diff --git a/studio/stores/app/ProjectStore.ts b/studio/stores/app/ProjectStore.tsnew file mode 100644index 00000000000..12a6922b06b--- /dev/null+++ b/studio/stores/app/ProjectStore.ts@@ -0,0 +1,27 @@+import { Project } from 'types'+import { IRootStore } from '../RootStore'+import PostgresMetaInterface from '../common/PostgresMetaInterface'++export default class ProjectStore extends PostgresMetaInterface<Project> {+ constructor(+ rootStore: IRootStore,+ dataUrl: string,+ headers?: {+ [prop: string]: any+ },+ options?: { identifier: string }+ ) {+ super(rootStore, dataUrl, headers, options)+ }++ initialDataArray(value: Project[]) {+ const finalValue = value.map((project: any) => {+ const kpsVersion =+ project.services?.length > 0+ ? project?.services[0]?.infrastructure[0]?.app_versions?.version+ : undefined+ return { ...project, kpsVersion }+ })+ super.initialDataArray(finalValue)+ }+}diff --git a/studio/stores/common/PostgresMetaInterface.ts b/studio/stores/common/PostgresMetaInterface.tsnew file mode 100644index 00000000000..8178249dbb1--- /dev/null+++ b/studio/stores/common/PostgresMetaInterface.ts@@ -0,0 +1,189 @@+import { action, computed, makeObservable, observable } from 'mobx'+import { get, patch, post, delete_ } from 'lib/common/fetch'+import { keyBy } from 'lodash'+import { IRootStore } from '../RootStore'+import { ResponseError } from 'types'++type DataKeys = number | string++export interface IPostgresMetaInterface<T> {+ error: Error | null++ count: number+ hasError: boolean+ isLoading: boolean++ load: () => void+ create: (payload: any) => Promise<T | { error: ResponseError }>+ update: (id: number | string, updates: any) => Promise<T | { error: ResponseError }>+ del: (id: number | string) => Promise<boolean | { error: ResponseError }>+ list: (filter?: any) => T[]+ find: (filter?: any) => T | undefined+ byId: (id: number | string) => T | undefined+ initialDataArray: (value: T[]) => void+}+export default class PostgresMetaInterface<T> implements IPostgresMetaInterface<T> {+ STATES = {+ INITIAL: 'initial',+ LOADING: 'loading',+ ERROR: 'error',+ LOADED: 'loaded',+ }+ rootStore: IRootStore+ url: string+ error: Error | null = null+ identifier: string+ state = this.STATES.INITIAL+ data: { [key in DataKeys]: T } = {}+ headers: any = {}++ constructor(+ rootStore: IRootStore,+ dataUrl: string,+ headers?: {+ [prop: string]: any+ },+ options?: { identifier: string }+ ) {+ this.rootStore = rootStore+ this.url = dataUrl+ this.headers = headers+ this.identifier = options?.identifier ?? 'id'++ makeObservable(this, {+ state: observable,+ data: observable,+ error: observable,+ count: computed,+ hasError: computed,+ isLoading: computed,+ load: action,+ create: action,+ update: action,+ del: action,+ setState: action,+ setDataArray: action,+ setError: action,+ })+ }++ get hasError() {+ return this.state === this.STATES.ERROR+ }++ get isLoading() {+ return this.state === this.STATES.INITIAL || this.state === this.STATES.LOADING+ }++ get count() {+ return Object.keys(this.data).length+ }++ async fetchData() {+ const headers = { 'Content-Type': 'application/json', ...this.headers }+ const response = await get<T[]>(this.url, { headers })+ if (response.error) throw response.error++ this.setDataArray(response)+ return response+ }++ async load() {+ let { LOADING, ERROR, LOADED } = this.STATES+ try {+ this.setError(null)+ this.setState(LOADING)+ await this.fetchData()+ this.setState(LOADED)+ } catch (e: any) {+ console.error('Load error message', e.message)+ this.setError(e)+ this.setState(ERROR)+ }+ }++ initialDataArray(value: T[]) {+ if (this.state === this.STATES.INITIAL) {+ this.data = keyBy(value, this.identifier)+ this.state = this.STATES.LOADED+ }+ }++ setState(value: string) {+ this.state = value+ }++ setDataArray(value: T[]) {+ this.data = keyBy(value, this.identifier)+ }++ setError(value: any) {+ this.error = value+ }++ list(filter?: any) {+ let arr = Object.values(this.data)+ if (!!filter) {+ return arr.filter(filter).sort((a: any, b: any) => a.name.localeCompare(b.name))+ } else {+ return arr.sort((a: any, b: any) => a.name.localeCompare(b.name))+ }+ }++ find(filter?: any) {+ let arr = Object.values(this.data)+ if (!!filter) {+ return arr.find(filter)+ } else {+ return undefined+ }+ }++ byId(id: number | string) {+ return this.data[id]+ }++ async create(payload: any) {+ try {+ const headers = { 'Content-Type': 'application/json', ...this.headers }+ const response = await post(this.url, payload, { headers })+ if (response.error) throw response.error++ const data = response as T+ const indentity = response[this.identifier]+ this.data[indentity] = data+ return data+ } catch (error: any) {+ return { data: null, error }+ }+ }++ async update(id: number | string, updates: any) {+ try {+ const headers = { 'Content-Type': 'application/json', ...this.headers }+ let payload = { ...updates, id }+ const url = `${this.url}?id=${id}`+ const response = await patch<T>(url, payload, { headers })+ if (response.error) throw response.error++ this.data[id] = response+ return response+ } catch (error: any) {+ return { error }+ }+ }++ async del(id: number | string) {+ try {+ const headers = { 'Content-Type': 'application/json', ...this.headers }+ const url = `${this.url}?id=${id}`+ const response = await delete_<T>(url, {}, { headers })+ if (response.error) throw response.error++ delete this.data[id]+ return true+ } catch (error: any) {+ return { error }+ }+ }+}diff --git a/studio/stores/content/ProjectContentStore.ts b/studio/stores/content/ProjectContentStore.tsnew file mode 100644index 00000000000..709be1f5a2f--- /dev/null+++ b/studio/stores/content/ProjectContentStore.ts@@ -0,0 +1,182 @@+import { makeAutoObservable } from 'mobx'+import { keyBy } from 'lodash'++import { get, post, patch, delete_ } from 'lib/common/fetch'+import { UserContentMap } from 'types'+import { IRootStore } from '../RootStore'+import { API_URL } from 'lib/constants'++// [Joshen] This will be the new ProjectContentStore+// but use the one under the stores folder projectContentStore first while we transition++export interface IProjectContentStore {+ isLoading: boolean+ error: any++ load: () => void+ list: (filter?: any) => any[]+ reports: (filter?: any) => any[]+ sqlSnippets: (filter?: any) => any[]+}++export default class ProjectContentStore implements IProjectContentStore {+ rootStore: IRootStore++ STATES = {+ INITIAL: 'initial',+ LOADING: 'loading',+ ERROR: 'error',+ LOADED: 'loaded',+ }++ baseUrl: string+ data: UserContentMap = {}++ state = this.STATES.INITIAL+ error = null++ constructor(rootStore: IRootStore, options: { projectRef: string }) {+ const { projectRef } = options++ this.rootStore = rootStore+ this.baseUrl = `${API_URL}/projects/${projectRef}/content`+ makeAutoObservable(this)+ }++ get isLoading() {+ return this.state === this.STATES.INITIAL || this.state === this.STATES.LOADING+ }++ async fetchData() {+ const headers = {+ 'Content-Type': 'application/json',+ }+ const response = await get(this.baseUrl, { headers })+ if (response.error) {+ throw response.error+ }+ this.data = keyBy(response, 'id')+ return response+ }++ async load() {+ let { LOADING, ERROR, LOADED } = this.STATES+ try {+ this.error = null+ this.state = LOADING+ await this.fetchData()+ this.state = LOADED+ return this.data+ } catch (e: any) {+ console.error('Failed to load project content', e.message)+ this.error = e+ this.state = ERROR+ }+ }++ async loadPersistentData() {}++ async loadRemotePersistentData(userId: any) {+ const sqlSnippets = this.sqlSnippets((x: any) => x.owner_id === userId)+ }++ list(filter?: any) {+ const arr = Object.values(this.data)+ if (!!filter) {+ return arr.filter(filter).sort((a, b) => a.name.localeCompare(b.name))+ } else {+ return arr.sort((a, b) => a.name.localeCompare(b.name))+ }+ }++ byId(id: any) {+ return this.data[id]+ }++ reports(filter?: any) {+ let arr = Object.values(this.data)+ if (!!filter) {+ return arr+ .filter((x) => x.type == 'report')+ .filter(filter)+ .sort((a, b) => a.name.localeCompare(b.name))+ } else {+ return arr.filter((x) => x.type == 'report').sort((a, b) => a.name.localeCompare(b.name))+ }+ }++ sqlSnippets(filter?: any) {+ let arr = Object.values(this.data)+ if (!!filter) {+ const arr_filtered = arr+ .filter((x) => x.type == 'sql')+ .filter(filter)+ .sort((a, b) => a.name.localeCompare(b.name))++ return arr_filtered+ } else {+ const arr_filtered = arr+ .filter((x) => x.type == 'sql')+ .sort((a, b) => a.name.localeCompare(b.name))++ return arr_filtered+ }+ }++ async create(payload: any) {+ try {+ const headers = {+ 'Content-Type': 'application/json',+ }+ const created = await post(this.baseUrl, payload, { headers })+ if (created.error) throw created.error+ this.data[created['id']] = created+ return { data: created, error: null }+ } catch (error) {+ return { data: null, error }+ }+ }++ async update(id: any, updates: any, type: string) {+ try {+ const headers = {+ 'Content-Type': 'application/json',+ }+ let payload = {+ ...updates,+ type,+ id,+ }+ const url = `${this.baseUrl}?id=${id}`+ const updated = await patch(url, payload, { headers })+ if (updated.error) throw updated.error+ this.data[id] = updated+ return { data: updated, error: null }+ } catch (error) {+ return { data: null, error }+ }+ }++ async updateSql(id: any, updates: any) {+ return this.update(id, updates, 'sql')+ }++ async updateReport(id: any, updates: any) {+ return this.update(id, updates, 'report')+ }++ async del(id: any) {+ try {+ const headers = {+ 'Content-Type': 'application/json',+ }+ const url = `${this.baseUrl}?id=${id}`+ const deleted = await delete_(url, {}, { headers })+ if (deleted.error) throw deleted.error+ delete this.data[id]+ return { data: true, error: null }+ } catch (error) {+ return { data: false, error }+ }+ }+}diff --git a/studio/stores/index.ts b/studio/stores/index.tsnew file mode 100644index 00000000000..05f112c22e5--- /dev/null+++ b/studio/stores/index.ts@@ -0,0 +1 @@+export * from './RootStore'diff --git a/studio/stores/jsonSchema/api_keys.json b/studio/stores/jsonSchema/api_keys.jsonnew file mode 100644index 00000000000..7660a6ec2de--- /dev/null+++ b/studio/stores/jsonSchema/api_keys.json@@ -0,0 +1,30 @@+{+ "type": "object",+ "required": ["id", "inserted_at", "updated_at", "api_key", "key_name", "project_id"],+ "properties": {+ "api_key": {+ "title": "Api Key",+ "type": "string"+ },+ "id": {+ "title": "Id",+ "type": "number"+ },+ "inserted_at": {+ "title": "Inserted At",+ "type": "string"+ },+ "key_name": {+ "title": "Key Name",+ "type": "string"+ },+ "project_id": {+ "title": "Project Id",+ "type": "number"+ },+ "updated_at": {+ "title": "Updated At",+ "type": "string"+ }+ }+}diff --git a/studio/stores/jsonSchema/apps.json b/studio/stores/jsonSchema/apps.jsonnew file mode 100644index 00000000000..5d9b72a41ce--- /dev/null+++ b/studio/stores/jsonSchema/apps.json@@ -0,0 +1,30 @@+{+ "type": "object",+ "required": ["id", "inserted_at", "updated_at", "name"],+ "properties": {+ "config_schema": {+ "title": "Config Schema",+ "type": "object"+ },+ "description": {+ "title": "Description",+ "type": "string"+ },+ "id": {+ "title": "Id",+ "type": "number"+ },+ "inserted_at": {+ "title": "Inserted At",+ "type": "string"+ },+ "name": {+ "title": "Name",+ "type": "string"+ },+ "updated_at": {+ "title": "Updated At",+ "type": "string"+ }+ }+}diff --git a/studio/stores/jsonSchema/auth_gotrue_config.json b/studio/stores/jsonSchema/auth_gotrue_config.jsonnew file mode 100644index 00000000000..768cf9b6551--- /dev/null+++ b/studio/stores/jsonSchema/auth_gotrue_config.json@@ -0,0 +1,394 @@+{+ "type": "object",+ "required": [+ "SITE_URL",+ "DISABLE_SIGNUP",+ "JWT_EXP",+ "JWT_AUD",+ "JWT_DEFAULT_GROUP_NAME",+ "EXTERNAL_EMAIL_ENABLED",+ "EXTERNAL_PHONE_ENABLED",+ "EXTERNAL_APPLE_ENABLED",+ "EXTERNAL_AZURE_ENABLED",+ "EXTERNAL_BITBUCKET_ENABLED",+ "EXTERNAL_DISCORD_ENABLED",+ "EXTERNAL_FACEBOOK_ENABLED",+ "EXTERNAL_GITHUB_ENABLED",+ "EXTERNAL_GITLAB_ENABLED",+ "EXTERNAL_GOOGLE_ENABLED",+ "EXTERNAL_TWITCH_ENABLED",+ "EXTERNAL_TWITTER_ENABLED",+ "EXTERNAL_SLACK_ENABLED",+ "EXTERNAL_SLACK_ENABLED",+ "EXTERNAL_SPOTIFY_ENABLED",+ "EXTERNAL_SPOTIFY_ENABLED",+ "SMTP_ADMIN_EMAIL",+ "SMTP_MAX_FREQUENCY",+ "SMS_AUTOCONFIRM",+ "SMS_MAX_FREQUENCY",+ "SMS_OTP_EXP",+ "SMS_OTP_LENGTH",+ "SMS_PROVIDER",+ "SMS_TEMPLATE",+ "MAILER_AUTOCONFIRM",+ "MAILER_URLPATHS_INVITE",+ "MAILER_URLPATHS_CONFIRMATION",+ "MAILER_URLPATHS_RECOVERY",+ "MAILER_URLPATHS_EMAIL_CHANGE",+ "MAILER_SUBJECTS_INVITE",+ "MAILER_SUBJECTS_CONFIRMATION",+ "MAILER_SUBJECTS_RECOVERY",+ "MAILER_SUBJECTS_MAGIC_LINK",+ "MAILER_SUBJECTS_EMAIL_CHANGE",+ "MAILER_TEMPLATES_INVITE_CONTENT",+ "MAILER_TEMPLATES_CONFIRMATION_CONTENT",+ "MAILER_TEMPLATES_RECOVERY_CONTENT",+ "MAILER_TEMPLATES_MAGIC_LINK_CONTENT",+ "MAILER_TEMPLATES_EMAIL_CHANGE_CONTENT"+ ],+ "properties": {+ "SITE_URL": {+ "title": "Site URL",+ "type": "string",+ "help": "The base URL of your website. Used as an allow-list for redirects and for constructing URLs used in emails."+ },+ "URI_ALLOW_LIST": {+ "title": "Additional Redirect URLs",+ "type": "string",+ "help": "A comma separated list of *exact* URLs that auth providers are permitted to redirect to post authentication."+ },+ "DISABLE_SIGNUP": {+ "title": "Disable Signup",+ "type": "boolean",+ "help": "Allow/disallow new user signups to your project."+ },+ "EXTERNAL_EMAIL_ENABLED": {+ "title": "Enable Email Signup",+ "type": "boolean",+ "help": "Allow/disallow new user signups via email to your project."+ },+ "EXTERNAL_PHONE_ENABLED": {+ "title": "Enable Phone Signup",+ "type": "boolean",+ "help": "Allow/disallow new user signups via phone to your project."+ },+ "JWT_EXP": {+ "title": "JWT Expiry",+ "type": "integer",+ "help": "How long tokens are valid for, in seconds. Defaults to 3600 (1 hour), maximum 604,800 seconds (one week).",+ "minimum": 1,+ "maximum": 604800,+ "multipleof": 1+ },+ "JWT_AUD": {+ "title": "JWT Audience",+ "type": "string"+ },+ "JWT_DEFAULT_GROUP_NAME": {+ "title": "Default user group",+ "type": "string"+ },+ "EXTERNAL_APPLE_ENABLED": {+ "title": "Apple enabled",+ "type": "boolean"+ },+ "EXTERNAL_APPLE_CLIENT_ID": {+ "title": "Apple client ID",+ "type": "string"+ },+ "EXTERNAL_APPLE_SECRET": {+ "title": "Apple secret",+ "type": "string"+ },+ "EXTERNAL_AZURE_ENABLED": {+ "title": "Azure enabled",+ "type": "boolean"+ },+ "EXTERNAL_AZURE_CLIENT_ID": {+ "title": "Azure client ID",+ "type": "string"+ },+ "EXTERNAL_AZURE_SECRET": {+ "title": "Azure secret",+ "type": "string"+ },+ "EXTERNAL_BITBUCKET_ENABLED": {+ "title": "Bitbucket enabled",+ "type": "boolean"+ },+ "EXTERNAL_BITBUCKET_CLIENT_ID": {+ "title": "Bitbucket client ID",+ "type": "string"+ },+ "EXTERNAL_BITBUCKET_SECRET": {+ "title": "Bitbucket secret",+ "type": "string"+ },+ "EXTERNAL_DISCORD_ENABLED": {+ "title": "Discord enabled",+ "type": "boolean"+ },+ "EXTERNAL_DISCORD_CLIENT_ID": {+ "title": "Discord client ID",+ "type": "string"+ },+ "EXTERNAL_DISCORD_SECRET": {+ "title": "Discord secret",+ "type": "string"+ },+ "EXTERNAL_FACEBOOK_ENABLED": {+ "title": "Facebook enabled",+ "type": "boolean"+ },+ "EXTERNAL_FACEBOOK_CLIENT_ID": {+ "title": "Facebook client ID",+ "type": "string"+ },+ "EXTERNAL_FACEBOOK_SECRET": {+ "title": "Facebook secret",+ "type": "string"+ },+ "EXTERNAL_GITHUB_ENABLED": {+ "title": "GitHub enabled",+ "type": "boolean"+ },+ "EXTERNAL_GITHUB_CLIENT_ID": {+ "title": "GitHub client ID",+ "type": "string"+ },+ "EXTERNAL_GITHUB_SECRET": {+ "title": "GitHub secret",+ "type": "string"+ },+ "EXTERNAL_GITLAB_ENABLED": {+ "title": "GitLab enabled",+ "type": "boolean"+ },+ "EXTERNAL_GITLAB_CLIENT_ID": {+ "title": "GitLab client ID",+ "type": "string"+ },+ "EXTERNAL_GITLAB_SECRET": {+ "title": "Gitlab secret",+ "type": "string"+ },+ "EXTERNAL_GITLAB_URL": {+ "title": "The base URL used for constructing the URLs to request authorization and access tokens.",+ "type": "string"+ },+ "EXTERNAL_GOOGLE_ENABLED": {+ "title": "Google enabled",+ "type": "boolean"+ },+ "EXTERNAL_GOOGLE_CLIENT_ID": {+ "title": "Google client ID",+ "type": "string"+ },+ "EXTERNAL_GOOGLE_SECRET": {+ "title": "Google secret",+ "type": "string"+ },+ "EXTERNAL_TWITCH_ENABLED": {+ "title": "Twitch enabled",+ "type": "boolean"+ },+ "EXTERNAL_TWITCH_CLIENT_ID": {+ "title": "Twitch client ID",+ "type": "string"+ },+ "EXTERNAL_TWITCH_SECRET": {+ "title": "Twitch secret",+ "type": "string"+ },+ "EXTERNAL_TWITTER_ENABLED": {+ "title": "Twitter enabled",+ "type": "boolean"+ },+ "EXTERNAL_TWITTER_CLIENT_ID": {+ "title": "Twitter client ID",+ "type": "string"+ },+ "EXTERNAL_TWITTER_SECRET": {+ "title": "Twitter secret",+ "type": "string"+ },+ "EXTERNAL_SLACK_ENABLED": {+ "title": "Slack enabled",+ "type": "boolean"+ },+ "EXTERNAL_SLACK_CLIENT_ID": {+ "title": "Slack client ID",+ "type": "string"+ },+ "EXTERNAL_SLACK_SECRET": {+ "title": "Slack secret",+ "type": "string"+ },+ "EXTERNAL_SPOTIFY_ENABLED": {+ "title": "Spotify enabled",+ "type": "boolean"+ },+ "EXTERNAL_SPOTIFY_CLIENT_ID": {+ "title": "Spotify client ID",+ "type": "string"+ },+ "EXTERNAL_SPOTIFY_SECRET": {+ "title": "Spotify secret",+ "type": "string"+ },+ "SMTP_ADMIN_EMAIL": {+ "title": "SMTP Admin Email",+ "type": "string"+ },+ "SMTP_HOST": {+ "title": "SMTP Host",+ "type": "string"+ },+ "SMTP_PORT": {+ "title": "SMTP Port",+ "type": "string"+ },+ "SMTP_USER": {+ "title": "SMTP User",+ "type": "string"+ },+ "SMTP_PASS": {+ "title": "SMTP Password",+ "type": "string"+ },+ "SMTP_PASS_ENCRYPTED": {+ "title": "SMTP Password",+ "type": "string"+ },+ "SMTP_SENDER_NAME": {+ "title": "SMTP Sender Name",+ "type": "string"+ },+ "MAILER_SECURE_EMAIL_CHANGE_ENABLED": {+ "title": "Double confirm email changes",+ "type": "boolean",+ "help": "If enabled, a user will be required to confirm any email change on both the old, and new email addresses. If disabled, only the new email is required to confirm"+ },+ "MAILER_AUTOCONFIRM": {+ "title": "Enable email confirmations",+ "type": "boolean",+ "help": "If enabled, users need to confirm their email address before signing in."+ },+ "MAILER_URLPATHS_INVITE": {+ "title": "Confirmation URL",+ "type": "string"+ },+ "MAILER_URLPATHS_CONFIRMATION": {+ "title": "Path",+ "type": "string"+ },+ "MAILER_URLPATHS_RECOVERY": {+ "title": "Confirmation URL",+ "type": "string"+ },+ "MAILER_URLPATHS_EMAIL_CHANGE": {+ "title": "Confirmation URL",+ "type": "string"+ },+ "MAILER_SUBJECTS_INVITE": {+ "title": "Subject",+ "type": "string"+ },+ "MAILER_SUBJECTS_CONFIRMATION": {+ "title": "Subject",+ "type": "string"+ },+ "MAILER_SUBJECTS_MAGIC_LINK": {+ "title": "Subject",+ "type": "string"+ },+ "MAILER_SUBJECTS_RECOVERY": {+ "title": "Subject",+ "type": "string"+ },+ "MAILER_SUBJECTS_EMAIL_CHANGE": {+ "title": "Subject",+ "type": "string"+ },+ "MAILER_TEMPLATES_INVITE": {+ "type": "string"+ },+ "MAILER_TEMPLATES_INVITE_CONTENT": {+ "title": "Body",+ "type": "string"+ },+ "MAILER_TEMPLATES_CONFIRMATION": {+ "type": "string"+ },+ "MAILER_TEMPLATES_CONFIRMATION_CONTENT": {+ "title": "Body",+ "type": "string"+ },+ "MAILER_TEMPLATES_RECOVERY": {+ "type": "string"+ },+ "MAILER_TEMPLATES_MAGIC_LINK": {+ "type": "string"+ },+ "MAILER_TEMPLATES_RECOVERY_CONTENT": {+ "title": "Body",+ "type": "string"+ },+ "MAILER_TEMPLATES_MAGIC_LINK_CONTENT": {+ "title": "Body",+ "type": "string"+ },+ "MAILER_TEMPLATES_EMAIL_CHANGE": {+ "type": "string"+ },+ "MAILER_TEMPLATES_EMAIL_CHANGE_CONTENT": {+ "title": "Body",+ "type": "string"+ },+ "SMS_AUTOCONFIRM": {+ "title": "Enable phone confirmations",+ "type": "boolean",+ "help": "If enabled, users need to confirm their phone number before signing in."+ },+ "SMS_PROVIDER": {+ "title": "Sms Provider",+ "type": "string",+ "options": [+ {+ "value": "twilio",+ "label": "Twilio"+ },+ {+ "value": "messagebird",+ "label": "Messagebird"+ }+ ]+ },+ "SMS_TWILIO_ACCOUNT_SID": {+ "title": "Twilio Account SID",+ "type": "string"+ },+ "SMS_TWILIO_AUTH_TOKEN": {+ "title": "Twilio Auth Token",+ "type": "string"+ },+ "SMS_TWILIO_MESSAGE_SERVICE_SID": {+ "title": "Twilio Message Service SID",+ "type": "string",+ "help": "Twilio message service SID or twilio phone number"+ },+ "SMS_MESSAGEBIRD_ACCESS_KEY": {+ "title": "Messagebird access key",+ "type": "string"+ },+ "SMS_MESSAGEBIRD_ORIGINATOR": {+ "title": "Messagebird originator",+ "type": "string",+ "help": "Messagebird sender name or phone number"+ },+ "SMS_TEMPLATE": {+ "title": "Body",+ "type": "string"+ }+ }+}diff --git a/studio/stores/jsonSchema/index.js b/studio/stores/jsonSchema/index.jsnew file mode 100644index 00000000000..2e9a0d6a9f7--- /dev/null+++ b/studio/stores/jsonSchema/index.js@@ -0,0 +1,25 @@+import api_keys from './api_keys'+import apps from './apps'+import infrastructure from './infrastructure'+import members from './members'+import organizations from './organizations'+import products from './products'+import projects from './projects'+import schema_migrations from './schema_migrations'+import services from './services'+import users from './users'+import authConfig from './auth_gotrue_config'++export {+ api_keys,+ apps,+ infrastructure,+ members,+ organizations,+ products,+ projects,+ schema_migrations,+ services,+ users,+ authConfig,+}diff --git a/studio/stores/jsonSchema/infrastructure.json b/studio/stores/jsonSchema/infrastructure.jsonnew file mode 100644index 00000000000..fbcad5b45f9--- /dev/null+++ b/studio/stores/jsonSchema/infrastructure.json@@ -0,0 +1,64 @@+{+ "type": "object",+ "required": [+ "id",+ "inserted_at",+ "updated_at",+ "infrastructure_type",+ "status",+ "provider_reference",+ "provider"+ ],+ "properties": {+ "id": {+ "title": "Id",+ "type": "number"+ },+ "infrastructure_type": {+ "title": "Infrastructure Type",+ "type": "string",+ "enum": ["DATABASE", "WEB_SERVER"]+ },+ "inserted_at": {+ "title": "Inserted At",+ "type": "string"+ },+ "ipv4_address": {+ "title": "Ipv4 Address",+ "type": "string"+ },+ "provider": {+ "title": "Provider",+ "type": "string"+ },+ "provider_reference": {+ "title": "Provider Reference",+ "type": "string"+ },+ "service_id": {+ "title": "Service Id",+ "type": "number"+ },+ "status": {+ "title": "Status",+ "type": "string",+ "enum": [+ "INACTIVE",+ "ACTIVE_HEALTHY",+ "ACTIVE_UNHEALTHY",+ "COMING_UP",+ "UNKNOWN",+ "GOING_DOWN",+ "REMOVED"+ ]+ },+ "updated_at": {+ "title": "Updated At",+ "type": "string"+ },+ "url": {+ "title": "Url",+ "type": "string"+ }+ }+}diff --git a/studio/stores/jsonSchema/members.json b/studio/stores/jsonSchema/members.jsonnew file mode 100644index 00000000000..11d9dcf98d2--- /dev/null+++ b/studio/stores/jsonSchema/members.json@@ -0,0 +1,22 @@+{+ "type": "object",+ "required": ["id", "is_owner"],+ "properties": {+ "id": {+ "title": "Id",+ "type": "number"+ },+ "is_owner": {+ "title": "Is Owner",+ "type": "boolean"+ },+ "organization_id": {+ "title": "Organization Id",+ "type": "number"+ },+ "user_id": {+ "title": "User Id",+ "type": "number"+ }+ }+}diff --git a/studio/stores/jsonSchema/organizations.json b/studio/stores/jsonSchema/organizations.jsonnew file mode 100644index 00000000000..eee98a74ac0--- /dev/null+++ b/studio/stores/jsonSchema/organizations.json@@ -0,0 +1,94 @@+{+ "type": "object",+ "required": ["id", "inserted_at", "updated_at", "slug", "name"],+ "properties": {+ "badge": {+ "title": "Badge",+ "type": "string"+ },+ "billing_address_line_1": {+ "title": "Billing Address Line 1",+ "type": "string"+ },+ "billing_address_line_2": {+ "title": "Billing Address Line 2",+ "type": "string"+ },+ "billing_city": {+ "title": "Billing City",+ "type": "string"+ },+ "billing_country": {+ "title": "Billing Country",+ "type": "string"+ },+ "billing_email": {+ "title": "Billing Email",+ "type": "string"+ },+ "billing_expiry": {+ "title": "Billing Expiry",+ "type": "string"+ },+ "billing_phone": {+ "title": "Billing Phone",+ "type": "string"+ },+ "billing_postal_code": {+ "title": "Billing Postal Code",+ "type": "string"+ },+ "billing_state": {+ "title": "Billing State",+ "type": "string"+ },+ "credit_card_last_four_digits": {+ "title": "Credit Card Last Four Digits",+ "type": "string"+ },+ "email": {+ "title": "Email",+ "type": "string"+ },+ "id": {+ "title": "Id",+ "type": "number"+ },+ "inserted_at": {+ "title": "Inserted At",+ "type": "string"+ },+ "name": {+ "title": "Name",+ "type": "string"+ },+ "phone": {+ "title": "Phone",+ "type": "string"+ },+ "slug": {+ "title": "Slug",+ "type": "string"+ },+ "stripe_customer_id": {+ "title": "Stripe Customer Id",+ "type": "string"+ },+ "stripe_monthly_subscription_id": {+ "title": "Stripe Monthly Subscription Id",+ "type": "string"+ },+ "stripe_payment_method_id": {+ "title": "Stripe Payment Method Id",+ "type": "string"+ },+ "stripe_yearly_subscription_id": {+ "title": "Stripe Yearly Subscription Id",+ "type": "string"+ },+ "updated_at": {+ "title": "Updated At",+ "type": "string"+ }+ }+}diff --git a/studio/stores/jsonSchema/products.json b/studio/stores/jsonSchema/products.jsonnew file mode 100644index 00000000000..9f69182bb14--- /dev/null+++ b/studio/stores/jsonSchema/products.json@@ -0,0 +1,47 @@+{+ "type": "object",+ "required": ["id", "inserted_at", "updated_at", "name"],+ "properties": {+ "feature_rights": {+ "title": "Feature Rights",+ "type": "object"+ },+ "id": {+ "title": "Id",+ "type": "number"+ },+ "inserted_at": {+ "title": "Inserted At",+ "type": "string"+ },+ "name": {+ "title": "Name",+ "type": "string"+ },+ "product_config": {+ "title": "Product Config",+ "type": "string"+ },+ "product_type": {+ "title": "Product Type",+ "type": "string",+ "enum": ["API", "CDC"]+ },+ "stripe_monthly_plan_id": {+ "title": "Stripe Monthly Plan Id",+ "type": "string"+ },+ "stripe_product_id": {+ "title": "Stripe Product Id",+ "type": "string"+ },+ "stripe_yearly_plan_id": {+ "title": "Stripe Yearly Plan Id",+ "type": "string"+ },+ "updated_at": {+ "title": "Updated At",+ "type": "string"+ }+ }+}diff --git a/studio/stores/jsonSchema/projects.json b/studio/stores/jsonSchema/projects.jsonnew file mode 100644index 00000000000..1b4701c2145--- /dev/null+++ b/studio/stores/jsonSchema/projects.json@@ -0,0 +1,83 @@+{+ "type": "object",+ "required": [+ "id",+ "inserted_at",+ "updated_at",+ "organization_id",+ "name",+ "db_host",+ "db_name",+ "db_user",+ "db_pass",+ "db_port",+ "db_ssl",+ "ref"+ ],+ "properties": {+ "badge": {+ "title": "Badge",+ "type": "string"+ },+ "db_host": {+ "title": "Db Host",+ "type": "string"+ },+ "db_name": {+ "title": "Db Name",+ "type": "string"+ },+ "db_pass": {+ "title": "Db Pass",+ "type": "string"+ },+ "db_port": {+ "title": "Db Port",+ "type": "number"+ },+ "db_schema": {+ "title": "Db Schema",+ "type": "string"+ },+ "db_ssl": {+ "title": "Db Ssl",+ "type": "boolean"+ },+ "db_user": {+ "title": "Db User",+ "type": "string"+ },+ "id": {+ "title": "Id",+ "type": "number"+ },+ "inserted_at": {+ "title": "Inserted At",+ "type": "string"+ },+ "name": {+ "title": "Name",+ "type": "string"+ },+ "organization_id": {+ "title": "Organization Id",+ "type": "number"+ },+ "ref": {+ "title": "Ref",+ "type": "string"+ },+ "stripe_subscription_id": {+ "title": "Stripe Subscription Id",+ "type": "string"+ },+ "supabase_url": {+ "title": "Supabase Url",+ "type": "string"+ },+ "updated_at": {+ "title": "Updated At",+ "type": "string"+ }+ }+}diff --git a/studio/stores/jsonSchema/schema_migrations.json b/studio/stores/jsonSchema/schema_migrations.jsonnew file mode 100644index 00000000000..e391ab6789b--- /dev/null+++ b/studio/stores/jsonSchema/schema_migrations.json@@ -0,0 +1,10 @@+{+ "type": "object",+ "required": ["version"],+ "properties": {+ "version": {+ "title": "Version",+ "type": "string"+ }+ }+}diff --git a/studio/stores/jsonSchema/services.json b/studio/stores/jsonSchema/services.jsonnew file mode 100644index 00000000000..fc4e8b2c4dd--- /dev/null+++ b/studio/stores/jsonSchema/services.json@@ -0,0 +1,48 @@+{+ "type": "object",+ "required": ["id", "inserted_at", "updated_at", "status", "version"],+ "properties": {+ "app_id": {+ "title": "App Id",+ "type": "number"+ },+ "config": {+ "title": "Config",+ "type": "object"+ },+ "id": {+ "title": "Id",+ "type": "number"+ },+ "inserted_at": {+ "title": "Inserted At",+ "type": "string"+ },+ "project_id": {+ "title": "Project Id",+ "type": "number"+ },+ "status": {+ "title": "Status",+ "type": "string",+ "enum": [+ "INACTIVE",+ "ACTIVE_HEALTHY",+ "ACTIVE_UNHEALTHY",+ "COMING_UP",+ "UNKNOWN",+ "GOING_DOWN",+ "INIT_FAILED",+ "REMOVED"+ ]+ },+ "updated_at": {+ "title": "Updated At",+ "type": "string"+ },+ "version": {+ "title": "Version",+ "type": "string"+ }+ }+}diff --git a/studio/stores/jsonSchema/users.json b/studio/stores/jsonSchema/users.jsonnew file mode 100644index 00000000000..dc2cbb6a793--- /dev/null+++ b/studio/stores/jsonSchema/users.json@@ -0,0 +1,50 @@+{+ "type": "object",+ "required": ["id", "auth0_id", "inserted_at", "updated_at", "username", "is_alpha_user"],+ "properties": {+ "auth0_id": {+ "title": "Auth0 Id",+ "type": "string"+ },+ "data": {+ "title": "Data",+ "type": "object"+ },+ "first_name": {+ "title": "First Name",+ "type": "string"+ },+ "id": {+ "title": "Id",+ "type": "number"+ },+ "inserted_at": {+ "title": "Inserted At",+ "type": "string"+ },+ "is_alpha_user": {+ "title": "Is Alpha User",+ "type": "boolean"+ },+ "last_name": {+ "title": "Last Name",+ "type": "string"+ },+ "mobile": {+ "title": "Mobile",+ "type": "string"+ },+ "primary_email": {+ "title": "Primary Email",+ "type": "string"+ },+ "updated_at": {+ "title": "Updated At",+ "type": "string"+ },+ "username": {+ "title": "Username",+ "type": "string"+ }+ }+}diff --git a/studio/stores/pgmeta/ColumnStore.ts b/studio/stores/pgmeta/ColumnStore.tsnew file mode 100644index 00000000000..65d379ec262--- /dev/null+++ b/studio/stores/pgmeta/ColumnStore.ts@@ -0,0 +1,16 @@+import PostgresMetaInterface from '../common/PostgresMetaInterface'+import { PostgresColumn } from '@supabase/postgres-meta'+import { IRootStore } from '../RootStore'++export default class ColumnStore extends PostgresMetaInterface<PostgresColumn> {+ constructor(+ rootStore: IRootStore,+ dataUrl: string,+ headers?: {+ [prop: string]: any+ },+ options?: { identifier: string }+ ) {+ super(rootStore, dataUrl, headers, options)+ }+}diff --git a/studio/stores/pgmeta/ExtensionsStore.ts b/studio/stores/pgmeta/ExtensionsStore.tsnew file mode 100644index 00000000000..9df35a1ab4e--- /dev/null+++ b/studio/stores/pgmeta/ExtensionsStore.ts@@ -0,0 +1,16 @@+import PostgresMetaInterface from '../common/PostgresMetaInterface'+import { PostgresColumn } from '@supabase/postgres-meta'+import { IRootStore } from '../RootStore'++export default class ExtensionsStore extends PostgresMetaInterface<PostgresColumn> {+ constructor(+ rootStore: IRootStore,+ dataUrl: string,+ headers?: {+ [prop: string]: any+ },+ options?: { identifier: string }+ ) {+ super(rootStore, dataUrl, headers, options)+ }+}diff --git a/studio/stores/pgmeta/FunctionsStore.ts b/studio/stores/pgmeta/FunctionsStore.tsnew file mode 100644index 00000000000..2d6d7f18300--- /dev/null+++ b/studio/stores/pgmeta/FunctionsStore.ts@@ -0,0 +1,37 @@+import PostgresMetaInterface from '../common/PostgresMetaInterface'+import { IRootStore } from '../RootStore'++export default class FunctionsStore extends PostgresMetaInterface<any> {+ constructor(+ rootStore: IRootStore,+ dataUrl: string,+ headers?: {+ [prop: string]: any+ },+ options?: { identifier: string }+ ) {+ super(rootStore, dataUrl, headers, options)+ }++ /**+ * Get a list of all trigger functions data in the store as an array+ * @param filter A custom filter (eg: (x) => x.name === 'name')+ * @param options.allSchemas If true, will include "excluded" schemas+ */+ listTriggerFunctions(filter: any, options: any) {+ return this.listByReturnType('trigger', filter)+ }++ /**+ * Get a list of all functions data by return type in the store as an array+ * @param returnType Valid Postgres function return type (e.g. trigger, uuid, int4, etc.)+ * @param filter A custom filter (eg: (x) => x.name === 'name')+ * @param options.allSchemas If true, will include "excluded" schemas+ */+ listByReturnType(returnType: any, filter: any) {+ const typeFilter = (h: any) =>+ h.return_type === returnType && (typeof filter === 'function' ? filter(h) : true)++ return super.list(typeFilter)+ }+}diff --git a/studio/stores/pgmeta/HooksStore.ts b/studio/stores/pgmeta/HooksStore.tsnew file mode 100644index 00000000000..49218fe16f6--- /dev/null+++ b/studio/stores/pgmeta/HooksStore.ts@@ -0,0 +1,29 @@+import PostgresMetaInterface from '../common/PostgresMetaInterface'+import { IRootStore } from '../RootStore'++export default class HooksStore extends PostgresMetaInterface<any> {+ constructor(+ rootStore: IRootStore,+ dataUrl: string,+ headers?: {+ [prop: string]: any+ },+ options?: { identifier: string }+ ) {+ super(rootStore, dataUrl, headers, options)+ }++ /**+ * Get a list of all hooks data in the store as an array+ * @param filter A custom filter (eg: (x) => x.name === 'name')+ * @param options.allSchemas If true, will include "excluded" schemas+ */+ list(filter: any) {+ const hooksFilter = (h: any) =>+ h.function_schema === 'supabase_functions' &&+ h.schema !== 'net' &&+ (typeof filter === 'function' ? filter(h) : true)++ return super.list(hooksFilter)+ }+}diff --git a/studio/stores/pgmeta/MetaStore.ts b/studio/stores/pgmeta/MetaStore.tsnew file mode 100644index 00000000000..68491e1b6c0--- /dev/null+++ b/studio/stores/pgmeta/MetaStore.ts@@ -0,0 +1,615 @@+import Papa from 'papaparse'+import { makeObservable, observable } from 'mobx'+import { find, isUndefined, isEqual, isEmpty, chunk, maxBy } from 'lodash'+import { Query } from '@supabase/grid'+import { PostgresColumn, PostgresTable, PostgresRelationship } from '@supabase/postgres-meta'++import { IS_PLATFORM, API_URL } from 'lib/constants'+import { post } from 'lib/common/fetch'+import { timeout } from 'lib/helpers'+import { ResponseError } from 'types'++import { IRootStore } from '../RootStore'+import ColumnStore from './ColumnStore'+import SchemaStore, { ISchemaStore } from './SchemaStore'+import TableStore, { ITableStore } from './TableStore'+import OpenApiStore, { IOpenApiStore } from './OpenApiStore'+import { IPostgresMetaInterface } from '../common/PostgresMetaInterface'++import {+ ColumnField,+ CreateColumnPayload,+ UpdateColumnPayload,+} from 'components/interfaces/TableGridEditor/SidePanelEditor/SidePanelEditor.types'+import {+ generateCreateColumnPayload,+ generateUpdateColumnPayload,+} from 'components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnEditor.utils'+import { ImportContent } from 'components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/TableEditor.types'+import RolesStore from './RolesStore'+import PoliciesStore from './PoliciesStore'+import TriggersStore from './TriggersStore'+import PublicationStore, { IPublicationStore } from './PublicationStore'+import FunctionsStore from './FunctionsStore'+import HooksStore from './HooksStore'+import ExtensionsStore from './ExtensionsStore'++const BATCH_SIZE = 1000+const CHUNK_SIZE = 1024 * 1024 * 0.25 // 0.25MB++export interface IMetaStore {+ excludedSchemas: string[]++ openApi: IOpenApiStore+ tables: ITableStore+ columns: IPostgresMetaInterface<PostgresColumn>+ schemas: ISchemaStore++ hooks: IPostgresMetaInterface<any>+ roles: IPostgresMetaInterface<any>+ policies: IPostgresMetaInterface<any>+ triggers: IPostgresMetaInterface<any>+ functions: IPostgresMetaInterface<any>+ extensions: IPostgresMetaInterface<any>+ publications: IPublicationStore++ query: (value: string) => Promise<any | { error: ResponseError }>+ validateQuery: (value: string) => Promise<any | { error: ResponseError }>+ formatQuery: (value: string) => Promise<any | { error: ResponseError }>++ /** The methods below are basically just queries but may be supported directly+ * from the pg-meta library in the future */+ addPrimaryKey: (+ schema: string,+ table: string,+ columns: string[]+ ) => Promise<any | { error: ResponseError }>+ removePrimaryKey: (schema: string, table: string) => Promise<any | { error: ResponseError }>+ addForeignKey: (+ relationship: Partial<PostgresRelationship>+ ) => Promise<any | { error: ResponseError }>+ removeForeignKey: (+ relationship: Partial<PostgresRelationship>+ ) => Promise<any | { error: ResponseError }>++ /** The methods below involve several contexts due to the UI flow of the+ * dashboard and hence do not sit within their own stores */+ createColumn: (payload: CreateColumnPayload, foreignKey?: Partial<PostgresRelationship>) => any+ updateColumn: (+ id: string,+ payload: UpdateColumnPayload,+ selectedTable: PostgresTable,+ foreignKey?: Partial<PostgresRelationship>+ ) => any+ duplicateTable: (+ payload: any,+ metadata: { duplicateTable: PostgresTable; isRLSEnabled: boolean; isDuplicateRows: boolean }+ ) => void+ createTable: (+ toastId: string,+ payload: any,+ isRLSEnabled: boolean,+ columns: ColumnField[],+ importContent?: ImportContent+ ) => any+ updateTable: (toastId: string, table: PostgresTable, payload: any, columns: ColumnField[]) => any+}+export default class MetaStore implements IMetaStore {+ rootStore: IRootStore+ openApi: OpenApiStore+ tables: TableStore+ columns: ColumnStore+ schemas: SchemaStore++ hooks: HooksStore+ roles: RolesStore+ policies: PoliciesStore+ triggers: TriggersStore+ functions: FunctionsStore+ extensions: ExtensionsStore+ publications: PublicationStore++ connectionString?: string+ baseUrl: string+ excludedSchemas = [+ 'auth',+ 'extensions',+ 'information_schema',+ 'net',+ 'pg_catalog',+ 'pgbouncer',+ 'storage',+ 'supabase_functions',+ ]++ constructor(rootStore: IRootStore, options: { projectRef: string; connectionString: string }) {+ const { projectRef, connectionString } = options+ this.rootStore = rootStore+ this.baseUrl = `/api/pg-meta/${projectRef}`++ const headers: any = {}+ if (IS_PLATFORM && connectionString) {+ this.connectionString = connectionString+ headers['x-connection-encrypted'] = connectionString+ }++ this.openApi = new OpenApiStore(rootStore, `${API_URL}/props/project/${projectRef}/api`)+ this.tables = new TableStore(rootStore, `${this.baseUrl}/tables`, headers)+ this.columns = new ColumnStore(rootStore, `${this.baseUrl}/columns`, headers)+ this.schemas = new SchemaStore(rootStore, `${this.baseUrl}/schemas`, headers)++ this.roles = new RolesStore(rootStore, `${this.baseUrl}/roles`, headers)+ this.policies = new PoliciesStore(rootStore, `${this.baseUrl}/policies`, headers)+ this.hooks = new HooksStore(rootStore, `${this.baseUrl}/triggers`, headers)+ this.triggers = new TriggersStore(rootStore, `${this.baseUrl}/triggers`, headers)+ this.functions = new FunctionsStore(rootStore, `${this.baseUrl}/functions`, headers)+ this.extensions = new ExtensionsStore(rootStore, `${this.baseUrl}/extensions`, headers, {+ identifier: 'name',+ })+ this.publications = new PublicationStore(rootStore, `${this.baseUrl}/publications`, headers)++ makeObservable(this, {+ excludedSchemas: observable,+ })+ }++ /**+ * Sends a database query+ */+ async query(value: string) {+ try {+ const headers: any = { 'Content-Type': 'application/json' }+ if (this.connectionString) headers['x-connection-encrypted'] = this.connectionString+ const url = `${this.baseUrl}/query`+ const response = await post(url, { query: value }, { headers })+ if (response.error) throw response.error++ return response+ } catch (error: any) {+ return { error }+ }+ }++ async validateQuery(value: string) {+ try {+ const headers: any = { 'Content-Type': 'application/json' }+ if (this.connectionString) headers['x-connection-encrypted'] = this.connectionString+ const url = `${this.baseUrl}/query/validate`+ const response = await post(url, { query: value }, { headers })+ if (response.error) throw response.error++ return response+ } catch (error: any) {+ return { error }+ }+ }++ async formatQuery(value: string) {+ try {+ const headers: any = { 'Content-Type': 'application/json' }+ if (this.connectionString) headers['x-connection-encrypted'] = this.connectionString+ const url = `${this.baseUrl}/query/format`+ const response = await post(url, { query: value }, { headers })+ if (response.error) throw response.error++ return response+ } catch (error: any) {+ return { error }+ }+ }++ async addPrimaryKey(schema: string, table: string, columns: string[]) {+ const primaryKeyColumns = columns.join(',')+ const query = `ALTER TABLE "${schema}"."${table}" ADD PRIMARY KEY (${primaryKeyColumns})`+ return await this.query(query)+ }++ async removePrimaryKey(schema: string, table: string) {+ const query = `ALTER TABLE "${schema}"."${table}" DROP CONSTRAINT "${table}_pkey"`+ return await this.query(query)+ }++ async addForeignKey(relationship: Partial<PostgresRelationship>) {+ const query = `+ ALTER TABLE "${relationship.source_schema}"."${relationship.source_table_name}"+ ADD CONSTRAINT "${relationship.source_table_name}_${relationship.source_column_name}_fkey"+ FOREIGN KEY ("${relationship.source_column_name}")+ REFERENCES "${relationship.target_table_schema}"."${relationship.target_table_name}" ("${relationship.target_column_name}");+ `+ .replace(/\s+/g, ' ')+ .trim()+ return await this.query(query)+ }++ async removeForeignKey(relationship: Partial<PostgresRelationship>) {+ const constraintName =+ relationship.constraint_name ||+ `${relationship.source_table_name}_${relationship.source_column_name}_fkey`+ const query = `+ ALTER TABLE "${relationship.source_schema}"."${relationship.source_table_name}"+ DROP CONSTRAINT IF EXISTS "${constraintName}"+ `+ .replace(/\s+/g, ' ')+ .trim()+ return await this.query(query)+ }++ async createColumn(payload: CreateColumnPayload, foreignKey?: Partial<PostgresRelationship>) {+ try {+ const column: any = await this.columns.create(payload)+ if (column.error) throw column.error++ if (!isUndefined(foreignKey)) {+ const relation: any = await this.addForeignKey(foreignKey)+ if (relation.error) throw relation.error+ }+ } catch (error: any) {+ return { error }+ }+ }++ async updateColumn(+ id: string,+ payload: UpdateColumnPayload,+ selectedTable: PostgresTable,+ foreignKey?: Partial<PostgresRelationship>+ ) {+ try {+ const column: any = await this.columns.update(id, payload)+ if (column.error) throw column.error++ const originalColumn = find(selectedTable.columns, { id })+ const existingForeignKey = find(selectedTable.relationships, {+ source_column_name: originalColumn!.name,+ })++ // For updating of foreign key relationship, we remove the original one by default+ // Then just add whatever was in foreignKey - simplicity over trying to derive whether to update or not+ if (!isUndefined(existingForeignKey)) {+ const relation: any = await this.removeForeignKey(existingForeignKey)+ if (relation.error) throw relation.error+ }++ if (!isUndefined(foreignKey)) {+ const relation: any = await this.addForeignKey(foreignKey)+ if (relation.error) throw relation.error+ }+ } catch (error: any) {+ return { error }+ }+ }++ async duplicateTable(+ payload: any,+ metadata: { duplicateTable: PostgresTable; isRLSEnabled: boolean; isDuplicateRows: boolean }+ ) {+ const sourceTableName = metadata.duplicateTable.name+ const duplicatedTableName = payload.name++ // The following query will copy the structure of the table along with indexes, constraints and+ // triggers. However, foreign key constraints are not duplicated over - has to be done separately+ const table = await this.rootStore.meta.query(+ `CREATE TABLE "${duplicatedTableName}" (LIKE "${sourceTableName}" INCLUDING ALL);`+ )+ if (table.error) throw table.error++ // Duplicate foreign key constraints over+ const relationships = metadata.duplicateTable.relationships+ if (relationships.length > 0) {+ relationships.map(async (relationship: PostgresRelationship) => {+ const relation = await this.rootStore.meta.addForeignKey({+ ...relationship,+ source_table_name: duplicatedTableName,+ })+ if (relation.error) throw relation.error+ })+ }++ // Duplicate rows if needed+ if (metadata.isDuplicateRows) {+ const rows = await this.rootStore.meta.query(+ `INSERT INTO "${duplicatedTableName}" SELECT * FROM ${sourceTableName};`+ )+ if (rows.error) throw rows.error++ // Insert into does not copy over auto increment sequences, so we manually do it next if any+ const columns = metadata.duplicateTable.columns+ const identityColumns = columns.filter((column) => column.identity_generation !== null)+ identityColumns.map(async (column) => {+ const identity = await this.rootStore.meta.query(+ `SELECT setval('${duplicatedTableName}_${column.name}_seq', (SELECT MAX("${column.name}") FROM "${sourceTableName}"));`+ )+ if (identity.error) throw identity.error+ })+ }++ await this.tables.load()+ const tables = this.tables.list()+ const duplicatedTable = find(tables, { name: duplicatedTableName })++ if (metadata.isRLSEnabled) {+ const updateTable: any = await this.tables.update(duplicatedTable!.id, {+ rls_enabled: metadata.isRLSEnabled,+ })+ if (updateTable.error) throw updateTable.error+ }++ return duplicatedTable+ }++ async createTable(+ toastId: string,+ payload: any,+ isRLSEnabled: boolean,+ columns: ColumnField[] = [],+ importContent?: ImportContent+ ) {+ // Create the table first+ const table: any = await this.tables.create(payload)+ if (table.error) throw table.error++ // Toggle RLS if configured to be+ if (isRLSEnabled) {+ const updatedTable: any = await this.tables.update(table.id, {+ rls_enabled: isRLSEnabled,+ })+ if (updatedTable.error) throw updatedTable.error+ }++ // Then insert the columns - we don't do Promise.all as we want to keep the integrity+ // of the column order during creation. Note that we add primary key constraints separately+ // via the query endpoint to support composite primary keys as pg-meta does not support that OOB+ this.rootStore.ui.setNotification({+ id: toastId,+ category: 'loading',+ message: `Adding ${columns.length} columns to ${table.name}...`,+ })+ for (const column of columns) {+ // We create all columns without primary keys first+ const columnPayload = generateCreateColumnPayload(table.id, {+ ...column,+ isPrimaryKey: false,+ })+ const newColumn: any = await this.columns.create(columnPayload)+ if (newColumn.error) throw newColumn.error+ }++ // Then add the primary key constraints here to support composite keys+ const primaryKeyColumns = columns+ .filter((column: ColumnField) => column.isPrimaryKey)+ .map((column: ColumnField) => `"${column.name}"`)+ if (primaryKeyColumns.length > 0) {+ const primaryKeys = await this.addPrimaryKey(table.schema, table.name, primaryKeyColumns)+ if (primaryKeys.error) throw primaryKeys.error+ }++ // Then add the foreign key constraints here+ for (const column of columns) {+ if (!isUndefined(column.foreignKey)) {+ const relationship = await this.addForeignKey(column.foreignKey)+ if (relationship.error) throw relationship.error+ }+ }++ // If the user is importing data via a spreadsheet+ if (!isUndefined(importContent)) {+ if (importContent.file) {+ // Via a CSV file+ const { error }: any = await this.insertRowsViaSpreadsheet(+ importContent.file,+ table,+ (progress: any) => {+ this.rootStore.ui.setNotification({+ id: toastId,+ category: 'loading',+ message: `Adding ${importContent.rowCount.toLocaleString()} rows to ${+ table.name+ }... (${progress}%)`,+ })+ }+ )++ // For identity columns, manually raise the sequences+ const identityColumns = columns.filter((column) => column.isIdentity)+ for (const column of identityColumns) {+ const identity = await this.rootStore.meta.query(+ `SELECT setval('${table.name}_${column.name}_seq', (SELECT MAX("${column.name}") FROM "${table.name}"));`+ )+ if (identity.error) throw identity.error+ }++ if (!isUndefined(error)) {+ this.rootStore.ui.setNotification({+ id: toastId,+ category: 'error',+ message: `Table ${table.name} has been created but we ran into an error while inserting rows:+ ${error.message} - ${error.details}`,+ })+ this.rootStore.ui.setNotification({+ category: 'error',+ message: 'Do check your spreadsheet if there are any discrepancies.',+ })+ }+ } else {+ // Via text copy and paste+ await this.insertTableRows(table, importContent.rows, (progress: any) => {+ this.rootStore.ui.setNotification({+ id: toastId,+ category: 'loading',+ message: `Adding ${importContent.rows.length.toLocaleString()} rows to ${+ table.name+ }... (${progress}%)`,+ })+ })++ // For identity columns, manually raise the sequences+ const identityColumns = columns.filter((column) => column.isIdentity)+ for (const column of identityColumns) {+ const identity = await this.rootStore.meta.query(+ `SELECT setval('${table.name}_${column.name}_seq', (SELECT MAX("${column.name}") FROM "${table.name}"));`+ )+ if (identity.error) throw identity.error+ }+ }+ }++ return await this.tables.loadById(table.id)+ }++ async updateTable(toastId: string, table: PostgresTable, payload: any, columns: ColumnField[]) {+ // Remove any primary key constraints first (we'll add it back later)+ if (table.primary_keys.length > 0) {+ const removePK = await this.removePrimaryKey(table.schema, table.name)+ if (removePK.error) throw removePK.error+ }++ // Update the table+ const updatedTable: any = await this.tables.update(table.id, payload)+ if (updatedTable.error) throw updatedTable.error++ const originalColumns = table.columns+ const columnIds = columns.map((column) => column.id)++ // Delete any removed columns+ const columnsToRemove = originalColumns.filter((column) => !columnIds.includes(column.id))+ for (const column of columnsToRemove) {+ this.rootStore.ui.setNotification({+ id: toastId,+ category: 'loading',+ message: `Removing column ${column.name} from ${updatedTable.name}`,+ })+ const deletedColumn: any = await this.columns.del(column.id)+ if (deletedColumn.error) throw deletedColumn.error+ }++ // Add any new columns / Update any existing columns+ for (const column of columns) {+ if (!column.id.includes(table.id.toString())) {+ this.rootStore.ui.setNotification({+ id: toastId,+ category: 'loading',+ message: `Adding column ${column.name} to ${updatedTable.name}`,+ })+ const columnPayload = generateCreateColumnPayload(updatedTable.id, column)+ await this.createColumn(columnPayload, column.foreignKey)+ } else {+ const originalColumn = find(originalColumns, { id: column.id })+ if (originalColumn) {+ const columnPayload = generateUpdateColumnPayload(originalColumn, column)+ const originalForeignKey = find(table.relationships, {+ source_schema: originalColumn.schema,+ source_table_name: originalColumn.table,+ source_column_name: originalColumn.name,+ })+ const hasForeignKeyUpdated = !isEqual(originalForeignKey, column.foreignKey)+ if (!isEmpty(columnPayload) || hasForeignKeyUpdated) {+ this.rootStore.ui.setNotification({+ id: toastId,+ category: 'loading',+ message: `Updating column ${column.name} from ${updatedTable.name}`,+ })+ await this.updateColumn(column.id, columnPayload, updatedTable, column.foreignKey)+ }+ }+ }+ }++ // Add back the primary keys here+ const primaryKeyColumns = columns+ .filter((column) => column.isPrimaryKey)+ .map((column) => `"${column.name}"`)+ if (primaryKeyColumns.length > 0) {+ const primaryKeys = await this.addPrimaryKey(+ updatedTable.schema,+ updatedTable.name,+ primaryKeyColumns+ )+ if (primaryKeys.error) throw primaryKeys.error+ }++ return await this.tables.loadById(table.id)+ }++ async insertRowsViaSpreadsheet(+ file: any,+ table: PostgresTable,+ onProgressUpdate: (progress: any) => void+ ) {+ let chunkNumber = 0+ let insertError: any = undefined+ const t1: any = new Date()+ return new Promise((resolve) => {+ Papa.parse(file, {+ header: true,+ dynamicTyping: true,+ skipEmptyLines: true,+ chunkSize: CHUNK_SIZE,+ quoteChar: file.type === 'text/tab-separated-values' ? '' : '"',+ chunk: async (results: any, parser: any) => {+ parser.pause()++ const insertQuery = new Query()+ .from(table.name, table.schema)+ .insert(results.data)+ .toSql()+ const res = await this.query(insertQuery)++ if (res.error) {+ console.warn(res.error)+ insertError = res.error+ parser.abort()+ } else {+ chunkNumber += 1+ const progress = (chunkNumber * CHUNK_SIZE) / file.size+ const progressPercentage = progress > 1 ? 100 : Number((progress * 100).toFixed(2))+ onProgressUpdate(progressPercentage)+ parser.resume()+ }+ },+ complete: () => {+ const t2: any = new Date()+ console.log(`Total time taken for importing spreadsheet: ${(t2 - t1) / 1000} seconds`)+ resolve({ error: insertError })+ },+ })+ })+ }++ async insertTableRows(+ table: PostgresTable,+ rows: any,+ onProgressUpdate: (progress: any) => void+ ) {+ let insertError = undefined+ let insertProgress = 0+ const batches = chunk(rows, BATCH_SIZE)+ const promises = batches.map((batch: any) => {+ return () => {+ return Promise.race([+ new Promise(async (resolve, reject) => {+ const insertQuery = new Query().from(table.name, table.schema).insert(batch).toSql()+ const res = await this.query(insertQuery)++ if (res.error) {+ insertError = res.error+ reject(res.error)+ }+ insertProgress = insertProgress + batch.length / rows.length+ resolve({})+ }),+ timeout(30000),+ ])+ }+ })++ const batchedPromises = chunk(promises, 10)+ for (const batchedPromise of batchedPromises) {+ const res = await Promise.allSettled(batchedPromise.map((batch) => batch()))+ const hasFailedBatch = find(res, { status: 'rejected' })+ if (hasFailedBatch) {+ break+ }+ onProgressUpdate((insertProgress * 100).toFixed(2))+ }+ }+}diff --git a/studio/stores/pgmeta/OpenApiStore.ts b/studio/stores/pgmeta/OpenApiStore.tsnew file mode 100644index 00000000000..f8956674754--- /dev/null+++ b/studio/stores/pgmeta/OpenApiStore.ts@@ -0,0 +1,129 @@+import { makeAutoObservable } from 'mobx'+import { get } from 'lib/common/fetch'+import { IRootStore } from '../RootStore'+import { OpenAPIV2 } from 'openapi-types'++export interface IOpenApiStore {+ data?: {+ data: OpenAPIV2.Document+ tables: { [key: string]: any }[]+ functions: { [key: string]: any }[]+ }+ error: Error | null++ hasError: boolean+ isLoading: boolean++ load: () => void+}+export default class OpenApiStore implements IOpenApiStore {+ STATES = {+ INITIAL: 'initial',+ LOADING: 'loading',+ ERROR: 'error',+ LOADED: 'loaded',+ }+ rootStore: IRootStore+ url: string+ error: Error | null = null+ state = this.STATES.INITIAL+ data?: {+ data: OpenAPIV2.Document+ tables: { [key: string]: any }[]+ functions: { [key: string]: any }[]+ }+ headers: any = {}++ constructor(+ rootStore: IRootStore,+ dataUrl: string,+ headers?: {+ [prop: string]: any+ }+ ) {+ this.rootStore = rootStore+ this.url = dataUrl+ this.headers = headers++ makeAutoObservable(this)+ }++ async fetchData() {+ const headers = { 'Content-Type': 'application/json', ...this.headers }+ const projectConfig = await get(this.url, { headers })+ if (projectConfig.error) throw projectConfig.error++ const apiKey = projectConfig.autoApiService?.internalApiKey+ const restApiUrl = projectConfig.autoApiService?.restUrl++ const response = await get<OpenAPIV2.Document>(`${restApiUrl}?apikey=${apiKey}`, {+ headers: { ...headers, apiKey: apiKey, authorization: `Bearer ${apiKey}` },+ credentials: 'omit',+ })+ if (response.error) throw response.error++ const tables = response.definitions+ ? Object.entries(response.definitions).map(([key, table]) => ({+ ...table,+ name: key,+ fields: Object.entries(table.properties || {}).map(([key, field]) => ({+ ...field,+ name: key,+ })),+ }))+ : []++ const functions = response.paths+ ? Object.entries(response.paths)+ .map(([path, value]: any) => ({+ ...value,+ path,+ name: path.replace('/rpc/', ''),+ }))+ .filter((x) => x.path.includes('/rpc'))+ .sort((a, b) => a.name.localeCompare(b.name))+ : []++ const payload = { data: response, tables, functions }+ this.setData(payload)+ return payload+ }++ async load() {+ let { LOADING, ERROR, LOADED } = this.STATES+ try {+ this.setError(null)+ this.setState(LOADING)+ await this.fetchData()+ this.setState(LOADED)+ } catch (e: any) {+ console.error('load e.message', e.message)+ this.setError(e)+ this.setState(ERROR)+ }+ }++ get hasError() {+ return this.state === this.STATES.ERROR+ }++ get isLoading() {+ return this.state === this.STATES.INITIAL || this.state === this.STATES.LOADING+ }++ setState(value: string) {+ this.state = value+ }++ setData(value: {+ data: OpenAPIV2.Document+ tables: { [key: string]: any }[]+ functions: { [key: string]: any }[]+ }) {+ this.data = value+ }++ setError(value: any) {+ this.error = value+ }+}diff --git a/studio/stores/pgmeta/PoliciesStore.ts b/studio/stores/pgmeta/PoliciesStore.tsnew file mode 100644index 00000000000..3cb81dc8c2f--- /dev/null+++ b/studio/stores/pgmeta/PoliciesStore.ts@@ -0,0 +1,15 @@+import PostgresMetaInterface from '../common/PostgresMetaInterface'+import { IRootStore } from '../RootStore'++export default class PoliciesStore extends PostgresMetaInterface<any> {+ constructor(+ rootStore: IRootStore,+ dataUrl: string,+ headers?: {+ [prop: string]: any+ },+ options?: { identifier: string }+ ) {+ super(rootStore, dataUrl, headers, options)+ }+}diff --git a/studio/stores/pgmeta/PublicationStore.ts b/studio/stores/pgmeta/PublicationStore.tsnew file mode 100644index 00000000000..d8cb993817e--- /dev/null+++ b/studio/stores/pgmeta/PublicationStore.ts@@ -0,0 +1,44 @@+import { ResponseError } from 'types'+import PostgresMetaInterface, { IPostgresMetaInterface } from '../common/PostgresMetaInterface'+import { IRootStore } from '../RootStore'++export interface IPublicationStore extends IPostgresMetaInterface<any> {+ recreate: (id: any) => Promise<Partial<any> | { error: ResponseError }>+}++export default class PublicationStore extends PostgresMetaInterface<any> {+ constructor(+ rootStore: IRootStore,+ dataUrl: string,+ headers?: {+ [prop: string]: any+ },+ options?: { identifier: string }+ ) {+ super(rootStore, dataUrl, headers, options)+ }++ /**+ * Will recreate a publication.+ * This is required if switching from "ALL TABLES" to individual tables.+ */+ async recreate(id: any) {+ let currentPublication = this.byId(id)+ let payload: any = {+ name: currentPublication.name,+ publish_insert: currentPublication.publish_insert,+ publish_update: currentPublication.publish_update,+ publish_delete: currentPublication.publish_delete,+ publish_truncate: currentPublication.publish_truncate,+ }+ if (currentPublication.tables == null) {+ // Previously was "ALL TABLES"+ payload.tables = []+ }+ const deleted: any = await this.del(id)+ if (deleted.error) {+ return deleted // return error+ }+ return await this.create(payload)+ }+}diff --git a/studio/stores/pgmeta/RolesStore.ts b/studio/stores/pgmeta/RolesStore.tsnew file mode 100644index 00000000000..225a39d4bda--- /dev/null+++ b/studio/stores/pgmeta/RolesStore.ts@@ -0,0 +1,15 @@+import PostgresMetaInterface from '../common/PostgresMetaInterface'+import { IRootStore } from '../RootStore'++export default class RolesStore extends PostgresMetaInterface<any> {+ constructor(+ rootStore: IRootStore,+ dataUrl: string,+ headers?: {+ [prop: string]: any+ },+ options?: { identifier: string }+ ) {+ super(rootStore, dataUrl, headers, options)+ }+}diff --git a/studio/stores/pgmeta/SchemaStore.ts b/studio/stores/pgmeta/SchemaStore.tsnew file mode 100644index 00000000000..208aa26e5c1--- /dev/null+++ b/studio/stores/pgmeta/SchemaStore.ts@@ -0,0 +1,43 @@+import { PostgresSchema } from '@supabase/postgres-meta'++import PostgresMetaInterface, { IPostgresMetaInterface } from '../common/PostgresMetaInterface'+import { IRootStore } from '../RootStore'+import { ResponseError } from 'types'++export interface ISchemaStore extends IPostgresMetaInterface<PostgresSchema> {+ getViews: (schema: string) => Promise<any | { error: ResponseError }>+ getEnums: () => Promise<any | { error: ResponseError }>+ // getEnumValues: (id: string) => Promise<any | { error: ResponseError }>+}+export default class SchemaStore extends PostgresMetaInterface<PostgresSchema> {+ constructor(+ rootStore: IRootStore,+ dataUrl: string,+ headers?: {+ [prop: string]: any+ },+ options?: { identifier: string }+ ) {+ super(rootStore, dataUrl, headers, options)+ }++ async getViews(schema: string) {+ const query = `+ select schemaname as schema, viewname as name from pg_catalog.pg_views+ where schemaname = '${schema}'+ order by schemaname, viewname;+ `+ return await this.rootStore.meta.query(query)+ }++ async getEnums() {+ const query = `SELECT "oid" as "id", "typname" as "name" FROM pg_type WHERE typcategory = 'E';`+ return await this.rootStore.meta.query(query)+ }++ // [Joshen] I realised we probably don't need this (yet) for table editor+ // async getEnumValues(id: string) {+ // const query = `SELECT enumlabel FROM pg_enum WHERE enumtypid = ${id};`+ // return await this.rootStore.meta.query(query)+ // }+}diff --git a/studio/stores/pgmeta/TableStore.ts b/studio/stores/pgmeta/TableStore.tsnew file mode 100644index 00000000000..bb627c6d5c9--- /dev/null+++ b/studio/stores/pgmeta/TableStore.ts@@ -0,0 +1,42 @@+import { action, makeObservable } from 'mobx'+import { PostgresTable } from '@supabase/postgres-meta'++import PostgresMetaInterface, { IPostgresMetaInterface } from '../common/PostgresMetaInterface'+import { IRootStore } from '../RootStore'+import { get } from 'lib/common/fetch'+import { ResponseError } from 'types'++export interface ITableStore extends IPostgresMetaInterface<PostgresTable> {+ loadById: (id: number | string) => Promise<Partial<PostgresTable> | { error: ResponseError }>+}++export default class TableStore extends PostgresMetaInterface<PostgresTable> {+ constructor(+ rootStore: IRootStore,+ dataUrl: string,+ headers?: {+ [prop: string]: any+ },+ options?: { identifier: string }+ ) {+ super(rootStore, dataUrl, headers, options)+ makeObservable(this, {+ loadById: action,+ })+ }++ async loadById(id: number | string) {+ try {+ const url = this.url.includes('?') ? `${this.url}&id=${id}` : `${this.url}?id=${id}`+ const response = await get(url, { headers: this.headers })+ if (response.error) throw response.error++ const data = response as Partial<PostgresTable>+ // @ts-ignore+ this.data[id] = data+ return data+ } catch (error: any) {+ return { error }+ }+ }+}diff --git a/studio/stores/pgmeta/TriggersStore.ts b/studio/stores/pgmeta/TriggersStore.tsnew file mode 100644index 00000000000..4d83608c885--- /dev/null+++ b/studio/stores/pgmeta/TriggersStore.ts@@ -0,0 +1,29 @@+import PostgresMetaInterface from '../common/PostgresMetaInterface'+import { IRootStore } from '../RootStore'++export default class TriggersStore extends PostgresMetaInterface<any> {+ constructor(+ rootStore: IRootStore,+ dataUrl: string,+ headers?: {+ [prop: string]: any+ },+ options?: { identifier: string }+ ) {+ super(rootStore, dataUrl, headers, options)+ }++ /**+ * Get a list of all trigger data that (excluded supabase_functions) in the store as an array+ * @param filter A custom filter (eg: (x) => x.name === 'name')+ * @param options.allSchemas If true, will include "excluded" schemas+ */+ list(filter: any) {+ const triggersFilter = (h: any) =>+ h.function_schema != 'supabase_functions' &&+ h.schema != 'net' &&+ (typeof filter === 'function' ? filter(h) : true)++ return super.list(triggersFilter)+ }+}diff --git a/studio/stores/projectContentStore.ts b/studio/stores/projectContentStore.tsnew file mode 100644index 00000000000..f22168a2dbb--- /dev/null+++ b/studio/stores/projectContentStore.ts@@ -0,0 +1,197 @@+import { makeObservable, action, observable, computed, toJS, makeAutoObservable } from 'mobx'+import { get, patch, post, delete_ } from 'lib/common/fetch'+import { keyBy, isEmpty } from 'lodash'+import { UserContent } from 'types'+import { API_URL } from 'lib/constants'++/**+ * Singleton+ * Usage:+ * import { useProjectContentStore } from 'stores/userContent/projectContentStore'+ * const contentStore = useProjectContentStore(projectRef)+ * contentStore.load() // inside usEffect()+ */+let store: any = null+let projectRef: any = null+export function useProjectContentStore(ref: any) {+ if (store === null || ref !== projectRef) {+ // set the current ref+ projectRef = ref+ const baseUrl = `${API_URL}/projects/${ref}/content`+ store = new ProjectContent(baseUrl)+ }+ return store+}++/**+ * Local type declarations+ */+interface UserContentMap {+ [key: string]: UserContent+}++/**+ * MobX Store+ */+export default class ProjectContent {+ STATES = {+ INITIAL: 'initial',+ LOADING: 'loading',+ ERROR: 'error',+ LOADED: 'loaded',+ }+ rootStore = null+ url = ''+ state = this.STATES.INITIAL+ data: UserContentMap = {}+ error = null++ /**+ * @param connectionString And encrypted database connection string to pass to the API+ */+ constructor(dataUrl: any) {+ this.url = dataUrl+ makeObservable(this, {+ state: observable,+ data: observable,+ list: observable,+ hasError: computed,+ isLoading: computed,+ })+ }++ async fetchData() {+ const headers = {+ 'Content-Type': 'application/json',+ }+ const res = await get(this.url, { headers })+ if (res.error) {+ throw res.error+ }+ this.data = res.data.length > 0 ? keyBy(res.data, 'id') : res.data+ return res+ }++ async load() {+ let { LOADING, ERROR, LOADED } = this.STATES+ try {+ this.error = null+ this.state = LOADING+ await this.fetchData()+ this.state = LOADED+ return this.data+ } catch (e: any) {+ console.error('e.message', e.message)+ this.error = e+ this.state = ERROR+ }+ }++ get hasError() {+ return this.state === this.STATES.ERROR+ }++ get isLoading() {+ return this.state === this.STATES.INITIAL || this.state === this.STATES.LOADING+ }++ list(filter: any) {+ let arr = Object.values(this.data)+ if (!!filter) {+ return arr.filter(filter).sort((a, b) => a.name.localeCompare(b.name))+ } else {+ return arr.sort((a, b) => a.name.localeCompare(b.name))+ }+ }++ reports(filter: any) {+ let arr = Object.values(this.data)+ if (!!filter) {+ return arr+ .filter((x) => x.type == 'report')+ .filter(filter)+ .sort((a, b) => a.name.localeCompare(b.name))+ } else {+ return arr.filter((x) => x.type == 'report').sort((a, b) => a.name.localeCompare(b.name))+ }+ }++ sqlSnippets(filter: any) {+ let arr = Object.values(this.data)+ if (!!filter) {+ const arr_filtered = arr+ .filter((x) => x.type == 'sql')+ .filter(filter)+ .sort((a, b) => a.name.localeCompare(b.name))++ return arr_filtered+ } else {+ const arr_filtered = arr+ .filter((x) => x.type == 'sql')+ .sort((a, b) => a.name.localeCompare(b.name))++ return arr_filtered+ }+ }++ byId(id: any) {+ return this.data[id]+ }++ async create(payload: any) {+ try {+ const headers = {+ 'Content-Type': 'application/json',+ }+ const created = await post(this.url, payload, { headers })+ if (created.error) throw created.error+ this.data[created['id']] = created+ return { data: created, error: null }+ } catch (error) {+ return { data: null, error }+ }+ }++ async update(id: any, updates: any, type: any) {+ try {+ const headers = {+ 'Content-Type': 'application/json',+ }+ let payload = {+ ...updates,+ type,+ id,+ }+ const url = `${this.url}?id=${id}`+ const updated = await patch(url, payload, { headers })+ if (updated.error) throw updated.error+ this.data[id] = updated+ return { data: updated, error: null }+ } catch (error) {+ return { data: null, error }+ }+ }++ async updateSql(id: any, updates: any) {+ return this.update(id, updates, 'sql')+ }++ async updateReport(id: any, updates: any) {+ return this.update(id, updates, 'report')+ }++ async del(id: any) {+ try {+ const headers = {+ 'Content-Type': 'application/json',+ }+ const url = `${this.url}?id=${id}`+ const deleted = await delete_(url, {}, { headers })+ if (deleted.error) throw deleted.error+ delete this.data[id]+ return { data: true, error: null }+ } catch (error) {+ return { data: false, error }+ }+ }+}diff --git a/studio/styles/README.md b/studio/styles/README.mdnew file mode 100644index 00000000000..4837fe40a20--- /dev/null+++ b/studio/styles/README.md@@ -0,0 +1,11 @@+# Styles++## When to write custom styles++Tailwind should be sufficient to cover the majority of styling needs. We typically only write custom styles here in the event where we're working with an external library and we need to override some styles (e.g Monaco, or even our own UI library).++Ideally, keep custom styling here to a minimum, use tailwind directly in the pages and components where possible, so that we have less code to maintain.++## If you're writing custom styles++Group custom styles into separate stylesheets based on their context. For styles which are generic and global, we can write them in `main.scss`.diff --git a/studio/styles/code.scss b/studio/styles/code.scssnew file mode 100644index 00000000000..7942c67f67f--- /dev/null+++ b/studio/styles/code.scss@@ -0,0 +1,173 @@+.Code {+ width: 100%;++ .prism-code {+ @apply m-0 p-1;+ background-color: none;+ white-space: normal;+ word-break: break-word;++ // overflow: auto !important;+ }++ .token-line {+ @apply text-sm;+ }++ .token.keyword.module,+ .token.function {+ font-style: normal !important;+ color: #ccc !important;+ }++ .token.plain,+ .token.parameter,+ .token.punctuation,+ .token.operator,+ .token.console.class-name,+ .token.doc-comment.parameter,+ .token.doc-comment.optional-parameter,+ .token.doc-comment.parameter.punctuation,+ .token.doc-comment.optional-parameter.punctuation {+ font-style: normal !important;+ color: #ccc !important;+ }++ .token.keyword,+ .token.doc-comment.keyword {+ font-style: normal !important;+ color: #569cd6 !important;+ }++ .token.string {+ font-style: normal !important;+ color: #24b47e !important;+ }++ .token.console {+ font-style: normal !important;+ color: #49c1ad !important;+ }++ .token.constant {+ font-style: normal !important;+ color: #569cd6 !important;+ }++ .token.comment {+ font-style: normal !important;+ color: #666 !important;+ }++ .token.number {+ color: #b5cea8 !important;+ }++ .token.boolean,+ .token.doc-comment.class-name {+ @apply text-green-500;+ }++ .codeBlock {+ @apply bg-gray-600;+ margin-bottom: 0;+ overflow: hidden;+ overflow-wrap: break-word;+ white-space: pre-wrap;+ }++ &.codeBlockWrapper {+ position: relative;+ }++ &.codeBlockWrapper:hover .buttonContainer {+ visibility: visible;+ opacity: 1;+ }++ .buttonContainer {+ right: 5px;+ top: 5px;+ opacity: 0;+ position: absolute;+ visibility: hidden;+ transition: opacity 200ms ease-in-out, visibility 200ms ease-in-out, bottom 200ms ease-in-out;++ button {+ @apply rounded text-xs;+ background: rgb(1, 22, 39);+ border: 1px solid rgb(214, 222, 235);+ color: rgb(214, 222, 235);+ cursor: pointer;+ line-height: 12px;+ outline: none;+ padding: 4px 8px;+ }+ }++ &.codeBlockWrapper .sbui-btn-container {+ position: absolute;+ top: 2px;+ right: 3px;++ visibility: hidden;+ opacity: 0;+ }++ &.codeBlockWrapper:hover .sbui-btn-container {+ visibility: visible;+ opacity: 1;+ }+}++.CustomCodeBlock {+ width: 100%;++ .code-with-header pre {+ border-radius: 0 0 4px 4px;+ }++ .code-with-response pre {+ border-radius: 0;+ }++ .code-header {+ @apply bg-gray-600;+ color: #ccc;+ padding: 5px 15px;+ border-radius: 4px 4px 0 0;+ font-size: 0.8rem;+ font-weight: bold;+ border-bottom: 1px solid #444;+ }+}++.FunctionBlock {+ h4 {+ margin-top: 36px;+ margin-bottom: 12px;+ }++ p {+ margin-top: 0px;+ margin-bottom: 24px;+ }+}++.panel-form {+ button {+ @apply m-4 mr-0;+ }++ .form {+ .form-group {+ @apply border-t border-b m-0 -mt-px text-left py-2;++ input {+ @apply px-4 text-white;+ border: none !important;+ width: 100%;+ }+ }+ }+}diff --git a/studio/styles/contextMenu.scss b/studio/styles/contextMenu.scssnew file mode 100644index 00000000000..88d9680880d--- /dev/null+++ b/studio/styles/contextMenu.scss@@ -0,0 +1,17 @@+.react-contexify {+ @apply dark:bg-gray-700;+ .react-contexify__item {+ .react-contexify__item__content {+ @apply dark:text-white text-sm;+ }+ }+ .react-contexify__item:not(.react-contexify__item--disabled):hover+ > .react-contexify__item__content,+ .react-contexify__item:not(.react-contexify__item--disabled):focus+ > .react-contexify__item__content {+ @apply dark:bg-gray-600;+ }+ .react-contexify__separator {+ @apply dark:bg-gray-500;+ }+}diff --git a/studio/styles/editor.scss b/studio/styles/editor.scssnew file mode 100644index 00000000000..d9a0a0cd4e6--- /dev/null+++ b/studio/styles/editor.scss@@ -0,0 +1,23 @@+.table-editor-columns .sbui-formlayout--responsive {+ gap: 0rem !important;+}++.table-editor-columns-input .sbui-input {+ @apply border-none;+}++.table-editor-column-type .sbui-listbox-option-container {+ width: 400px;+}++.table-editor-column-type .sbui-listbox {+ @apply px-2;+}++.column-type-disabled {+ @apply pointer-events-none;+}++.column-type-disabled .sbui-listbox-label {+ @apply opacity-50;+}\ No newline at end of filediff --git a/studio/styles/main.scss b/studio/styles/main.scssnew file mode 100644index 00000000000..3e455a5941d--- /dev/null+++ b/studio/styles/main.scss@@ -0,0 +1,152 @@+@tailwind base;+@tailwind components;+@tailwind utilities;++@layer utilities {+ .btn-primary {+ @apply inline-block text-sm border border-green-500 rounded py-1 px-3 bg-green-500;+ color: #fff !important;+ font-weight: 600;+ line-height: 20px;+ text-align: center;+ }++ .btn-primary-hover {+ @apply bg-green-600;+ cursor: pointer;+ }+}++html,+body,+#__next,+.main {+ height: 100vh;+ padding: 0;+ margin: 0;+ -moz-osx-font-smoothing: grayscale;+ -webkit-font-smoothing: antialiased;+ @apply bg-bg-primary-light dark:bg-bg-primary-dark;+}++* {+ box-sizing: border-box;+}++input,+input[type='text'],+input[type='email'],+input[type='url'],+input[type='password'],+input[type='number'],+input[type='date'],+input[type='datetime-local'],+input[type='month'],+input[type='search'],+input[type='tel'],+input[type='time'],+input[type='week'],+input[multiple],+textarea,+select {+ @apply block box-border w-full rounded-md shadow-sm text-sm border border-solid transition-all;++ @apply border-input-border-light dark:border-input-border-dark focus:outline-none;++ @apply bg-transparent text-form-light dark:text-form-dark;++ @apply focus:border-input-border-focus-light dark:focus:border-input-border-focus-dark;+ @apply focus:ring-input-border-focus-light dark:focus:ring-input-border-focus-dark;++ transition: box-shadow 0.3s ease-in-out;+}++input,+select,+textarea {+ @apply px-4 py-2;+}++input:focus,+input[type='text']:focus,+input[type='email']:focus,+input[type='url']:focus,+input[type='password']:focus,+input[type='number']:focus,+input[type='date']:focus,+input[type='datetime-local']:focus,+input[type='month']:focus,+input[type='search']:focus,+input[type='tel']:focus,+input[type='time']:focus,+input[type='week']:focus,+input[multiple]:focus,+textarea:focus,+select:focus,+input:focus {+ box-shadow: 0 0 0 2px rgba(62, 207, 142, 0.1);+}++// icons in date / time inputs+.dark input[type='date']::-webkit-calendar-picker-indicator,+.dark input[type='datetime-local']::-webkit-calendar-picker-indicator,+.dark input[type='time']::-webkit-calendar-picker-indicator {+ filter: invert(0.8);+}++select option {+ @apply text-bg-primary-dark;+}++input.is-invalid {+ @apply outline-none border-red-500;+}++input[type='submit'] {+ @apply btn-primary;+}++input[type='submit']:hover {+ @apply btn-primary-hover;+}++input::placeholder {+ @apply text-input-placeholder-light dark:text-input-placeholder-dark;+}++.billing-input-fixed {+ @apply shadow appearance-none border rounded w-full py-2 px-3 text-gray-300 leading-tight bg-gray-700;+}++a {+ color: inherit;+ text-decoration: none;+}++.input-mono input {+ @apply font-mono;+}++input[type='radio'] {+ @apply p-0;+}++// TODO: It doesnt' work, need to check+.hide-scrollbar {+ scrollbar-width: none; /* Firefox */+ -ms-overflow-style: none; /* Internet Explorer 10+ */+}++.hide-scrollbar::-webkit-scrollbar {+ width: 0;+ height: 0;+ display: none;+}++code {+ @apply p-1 m-0 font-mono text-sm bg-gray-600 rounded;+}++div[data-radix-portal]:not(.portal--toast) {+ z-index: 2147483646 !important;+}diff --git a/studio/styles/monaco.scss b/studio/styles/monaco.scssnew file mode 100644index 00000000000..ef48f841bce--- /dev/null+++ b/studio/styles/monaco.scss@@ -0,0 +1,43 @@+.monaco-editor {+ @apply relative overflow-visible;+ -webkit-text-size-adjust: 100%;+}++.gutter {+ @apply bg-gray-100 dark:bg-gray-600;+ cursor: row-resize;+}++.grid-monaco-editor,+.monaco-editor p,+label,+div,+section,+span.th.tr.td.textarea {+ /* @apply text-sm; */+}++.grid-monaco-editor,+.monaco-editor label {+ font-weight: inherit;+ text-transform: none;+ padding: inherit;+ width: inherit;+ align-self: inherit;+}++.grid-monaco-editor,+.monaco-editor label:hover {+ cursor: inherit;+}++.grid-monaco-editor,+.monaco-editor .suggest-widget .main {+ max-height: none;+ height: inherit;+ width: 100%;+ margin: inherit;+ padding: inherit;+ overflow: inherit;+ background-color: inherit;+}diff --git a/studio/styles/storage.scss b/studio/styles/storage.scssnew file mode 100644index 00000000000..1b28d963409--- /dev/null+++ b/studio/styles/storage.scss@@ -0,0 +1,80 @@+.storage-container {+ .sbui-space-col {+ @apply flex-grow;+ #files {+ @apply h-full;+ }+ }+ .sbui-btn {+ @apply focus:outline-none;+ }+ .sbui-btn-default {+ @apply border;+ border-color: transparent !important;+ }+ .sbui-checkbox-container {+ @apply w-auto;+ }+ .sbui-input-container {+ input {+ @apply text-sm;+ }+ .sbui-btn-container {+ .sbui-btn {+ @apply py-1;+ }+ }+ }+ .sbui-menu__item {+ span {+ @apply text-sm;+ }+ }+ .sbui-overlay-container {+ @apply z-10;+ }+}++// May need to just comment this out, the smooth scrolling looks weird+// .file-explorer {+// scroll-behavior: smooth;+// }++.storage-row:hover {+ .storage-row-menu {+ @apply opacity-100;+ }+}++.storage-row-input {+ background-color: #2a2a2a !important;+}++.shimmering-loader {+ animation: shimmer 2s infinite linear;+ background: linear-gradient(to right, #fafafa 4%, #ffffff 25%, #fafafa 36%);+ background-size: 1000px 100%;+}++.dark .shimmering-loader {+ animation: shimmer 2s infinite linear;+ background: linear-gradient(to right, #181818 4%, #333333 25%, #181818 36%);+ background-size: 1000px 100%;+}++@keyframes shimmer {+ 0% {+ background-position: -1000px 0;+ }+ 100% {+ background-position: 1000px 0;+ }+}++.sql-editor-container {+ @apply p-0;+}++.sbui-dropdown__trigger:focus {+ outline: none;+}diff --git a/studio/styles/stripe.scss b/studio/styles/stripe.scssnew file mode 100644index 00000000000..a3d77453c86--- /dev/null+++ b/studio/styles/stripe.scss@@ -0,0 +1,78 @@+// stylesheet pertaining specifically to Stripe elements++@keyframes fade {+ from {+ opacity: 0;+ transform: scale3D(0.95, 0.95, 0.95);+ }+ to {+ opacity: 1;+ transform: scale3D(1, 1, 1);+ }+}++@keyframes void-animation-out {+ 0%,+ to {+ opacity: 1;+ }+}++.StripeElement--webkit-autofill {+ background: transparent !important;+}++.StripeElement {+ width: 100%;+ padding: 11px 15px 11px 0;+}++.ErrorMessage {+ color: black;+ position: absolute;+ display: flex;+ justify-content: center;+ padding: 0 15px;+ font-size: 13px;+ margin-top: 0px;+ width: 100%;+ transform: translateY(-15px);+ opacity: 0;+ animation: fade 150ms ease-out;+ animation-delay: 50ms;+ animation-fill-mode: forwards;+ will-change: opacity, transform;+}++.ErrorMessage svg {+ margin-right: 10px;+}++.Result {+ margin-top: 50px;+ text-align: center;+ animation: fade 200ms ease-out;+}++.ResultTitle {+ color: black;+ font-weight: 500;+ margin-bottom: 8px;+ font-size: 17px;+ text-align: center;+}++.ResultMessage {+ color: black;+ font-size: 14px;+ font-weight: 400;+ margin-bottom: 25px;+ line-height: 1.6em;+ text-align: center;+}++.ResetButton {+ border: 0;+ cursor: pointer;+ background: transparent;+}diff --git a/studio/styles/toast.scss b/studio/styles/toast.scssnew file mode 100644index 00000000000..87b0ef9214c--- /dev/null+++ b/studio/styles/toast.scss@@ -0,0 +1,555 @@+.Toastify__toast-container {+ z-index: 9999;+ -webkit-transform: translate3d(0, 0, 9999px);+ position: fixed;+ padding: 4px;+ width: 320px;+ box-sizing: border-box;+ color: #fff;+}+.Toastify__toast-container--top-left {+ top: 1em;+ left: 1em;+}+.Toastify__toast-container--top-center {+ top: 1em;+ left: 50%;+ margin-left: -160px;+}+.Toastify__toast-container--top-right {+ top: 1em;+ right: 1em;+}+.Toastify__toast-container--bottom-left {+ bottom: 1em;+ left: 1em;+}+.Toastify__toast-container--bottom-center {+ bottom: 1em;+ left: 50%;+ margin-left: -160px;+}+.Toastify__toast-container--bottom-right {+ bottom: 1em;+ right: 1em;+}++@media only screen and (max-width: 480px) {+ .Toastify__toast-container {+ width: 100vw;+ padding: 0;+ left: 0;+ margin: 0;+ }+ .Toastify__toast-container--top-left,+ .Toastify__toast-container--top-center,+ .Toastify__toast-container--top-right {+ top: 0;+ }+ .Toastify__toast-container--bottom-left,+ .Toastify__toast-container--bottom-center,+ .Toastify__toast-container--bottom-right {+ bottom: 0;+ }+ .Toastify__toast-container--rtl {+ right: 0;+ left: initial;+ }+}++.Toastify__toast {+ position: relative;+ min-height: 35px;+ box-sizing: border-box;+ margin-bottom: 1rem;+ padding: 8px;+ border-radius: 1px;+ box-shadow: 0 1px 10px 0 rgba(0, 0, 0, 0.1), 0 2px 15px 0 rgba(0, 0, 0, 0.05);+ display: -ms-flexbox;+ display: flex;+ -ms-flex-pack: justify;+ justify-content: space-between;+ max-height: 800px;+ overflow: hidden;+ font-family: sans-serif;+ cursor: pointer;+ direction: ltr;+}+.Toastify__toast--rtl {+ direction: rtl;+}+.Toastify__toast--default {+ background: #fff;+ color: #aaa;+}+.Toastify__toast--info {+ background: #3498db;+}+.Toastify__toast--success {+ // background: #07bc0c;+ @apply bg-green-600;+}+.Toastify__toast--warning {+ background: #f1c40f;+}+.Toastify__toast--error {+ background: #e74c3c;+}+.Toastify__toast-body {+ margin: auto 0;+ -ms-flex: 1;+ flex: 1;+}++@media only screen and (max-width: 480px) {+ .Toastify__toast {+ margin-bottom: 0;+ }+}++.Toastify__close-button {+ color: #fff;+ font-weight: bold;+ font-size: 14px;+ background: transparent;+ outline: none;+ border: none;+ padding: 0;+ cursor: pointer;+ opacity: 0.7;+ transition: 0.3s ease;+ -ms-flex-item-align: start;+ align-self: flex-start;+}+.Toastify__close-button--default {+ color: #000;+ opacity: 0.3;+}+.Toastify__close-button:hover,+.Toastify__close-button:focus {+ opacity: 1;+}++@keyframes Toastify__trackProgress {+ 0% {+ transform: scaleX(1);+ }+ 100% {+ transform: scaleX(0);+ }+}++.Toastify__progress-bar {+ position: absolute;+ bottom: 0;+ left: 0;+ width: 100%;+ height: 5px;+ z-index: 9999;+ opacity: 0.7;+ background-color: rgba(255, 255, 255, 0.7);+ transform-origin: left;+}+.Toastify__progress-bar--animated {+ animation: Toastify__trackProgress linear 1 forwards;+}+.Toastify__progress-bar--controlled {+ transition: transform 0.2s;+}+.Toastify__progress-bar--rtl {+ right: 0;+ left: initial;+ transform-origin: right;+}+.Toastify__progress-bar--default {+ background: linear-gradient(to right, #4cd964, #5ac8fa, #007aff, #34aadc, #5856d6, #ff2d55);+}++@keyframes Toastify__bounceInRight {+ from,+ 60%,+ 75%,+ 90%,+ to {+ animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);+ }+ from {+ opacity: 0;+ transform: translate3d(3000px, 0, 0);+ }+ 60% {+ opacity: 1;+ transform: translate3d(-25px, 0, 0);+ }+ 75% {+ transform: translate3d(10px, 0, 0);+ }+ 90% {+ transform: translate3d(-5px, 0, 0);+ }+ to {+ transform: none;+ }+}++@keyframes Toastify__bounceOutRight {+ 20% {+ opacity: 1;+ transform: translate3d(-20px, 0, 0);+ }+ to {+ opacity: 0;+ transform: translate3d(2000px, 0, 0);+ }+}++@keyframes Toastify__bounceInLeft {+ from,+ 60%,+ 75%,+ 90%,+ to {+ animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);+ }+ 0% {+ opacity: 0;+ transform: translate3d(-3000px, 0, 0);+ }+ 60% {+ opacity: 1;+ transform: translate3d(25px, 0, 0);+ }+ 75% {+ transform: translate3d(-10px, 0, 0);+ }+ 90% {+ transform: translate3d(5px, 0, 0);+ }+ to {+ transform: none;+ }+}++@keyframes Toastify__bounceOutLeft {+ 20% {+ opacity: 1;+ transform: translate3d(20px, 0, 0);+ }+ to {+ opacity: 0;+ transform: translate3d(-2000px, 0, 0);+ }+}++@keyframes Toastify__bounceInUp {+ from,+ 60%,+ 75%,+ 90%,+ to {+ animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);+ }+ from {+ opacity: 0;+ transform: translate3d(0, 3000px, 0);+ }+ 60% {+ opacity: 1;+ transform: translate3d(0, -20px, 0);+ }+ 75% {+ transform: translate3d(0, 10px, 0);+ }+ 90% {+ transform: translate3d(0, -5px, 0);+ }+ to {+ transform: translate3d(0, 0, 0);+ }+}++@keyframes Toastify__bounceOutUp {+ 20% {+ transform: translate3d(0, -10px, 0);+ }+ 40%,+ 45% {+ opacity: 1;+ transform: translate3d(0, 20px, 0);+ }+ to {+ opacity: 0;+ transform: translate3d(0, -2000px, 0);+ }+}++@keyframes Toastify__bounceInDown {+ from,+ 60%,+ 75%,+ 90%,+ to {+ animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);+ }+ 0% {+ opacity: 0;+ transform: translate3d(0, -3000px, 0);+ }+ 60% {+ opacity: 1;+ transform: translate3d(0, 25px, 0);+ }+ 75% {+ transform: translate3d(0, -10px, 0);+ }+ 90% {+ transform: translate3d(0, 5px, 0);+ }+ to {+ transform: none;+ }+}++@keyframes Toastify__bounceOutDown {+ 20% {+ transform: translate3d(0, 10px, 0);+ }+ 40%,+ 45% {+ opacity: 1;+ transform: translate3d(0, -20px, 0);+ }+ to {+ opacity: 0;+ transform: translate3d(0, 2000px, 0);+ }+}++.Toastify__bounce-enter--top-left,+.Toastify__bounce-enter--bottom-left {+ animation-name: Toastify__bounceInLeft;+}++.Toastify__bounce-enter--top-right,+.Toastify__bounce-enter--bottom-right {+ animation-name: Toastify__bounceInRight;+}++.Toastify__bounce-enter--top-center {+ animation-name: Toastify__bounceInDown;+}++.Toastify__bounce-enter--bottom-center {+ animation-name: Toastify__bounceInUp;+}++.Toastify__bounce-exit--top-left,+.Toastify__bounce-exit--bottom-left {+ animation-name: Toastify__bounceOutLeft;+}++.Toastify__bounce-exit--top-right,+.Toastify__bounce-exit--bottom-right {+ animation-name: Toastify__bounceOutRight;+}++.Toastify__bounce-exit--top-center {+ animation-name: Toastify__bounceOutUp;+}++.Toastify__bounce-exit--bottom-center {+ animation-name: Toastify__bounceOutDown;+}++@keyframes Toastify__zoomIn {+ from {+ opacity: 0;+ transform: scale3d(0.3, 0.3, 0.3);+ }+ 50% {+ opacity: 1;+ }+}++@keyframes Toastify__zoomOut {+ from {+ opacity: 1;+ }+ 50% {+ opacity: 0;+ transform: scale3d(0.3, 0.3, 0.3);+ }+ to {+ opacity: 0;+ }+}++.Toastify__zoom-enter {+ animation-name: Toastify__zoomIn;+}++.Toastify__zoom-exit {+ animation-name: Toastify__zoomOut;+}++@keyframes Toastify__flipIn {+ from {+ transform: perspective(400px) rotate3d(1, 0, 0, 90deg);+ animation-timing-function: ease-in;+ opacity: 0;+ }+ 40% {+ transform: perspective(400px) rotate3d(1, 0, 0, -20deg);+ animation-timing-function: ease-in;+ }+ 60% {+ transform: perspective(400px) rotate3d(1, 0, 0, 10deg);+ opacity: 1;+ }+ 80% {+ transform: perspective(400px) rotate3d(1, 0, 0, -5deg);+ }+ to {+ transform: perspective(400px);+ }+}++@keyframes Toastify__flipOut {+ from {+ transform: perspective(400px);+ }+ 30% {+ transform: perspective(400px) rotate3d(1, 0, 0, -20deg);+ opacity: 1;+ }+ to {+ transform: perspective(400px) rotate3d(1, 0, 0, 90deg);+ opacity: 0;+ }+}++.Toastify__flip-enter {+ animation-name: Toastify__flipIn;+}++.Toastify__flip-exit {+ animation-name: Toastify__flipOut;+}++@keyframes Toastify__slideInRight {+ from {+ transform: translate3d(110%, 0, 0);+ visibility: visible;+ }+ to {+ transform: translate3d(0, 0, 0);+ }+}++@keyframes Toastify__slideInLeft {+ from {+ transform: translate3d(-110%, 0, 0);+ visibility: visible;+ }+ to {+ transform: translate3d(0, 0, 0);+ }+}++@keyframes Toastify__slideInUp {+ from {+ transform: translate3d(0, 110%, 0);+ visibility: visible;+ }+ to {+ transform: translate3d(0, 0, 0);+ }+}++@keyframes Toastify__slideInDown {+ from {+ transform: translate3d(0, -110%, 0);+ visibility: visible;+ }+ to {+ transform: translate3d(0, 0, 0);+ }+}++@keyframes Toastify__slideOutRight {+ from {+ transform: translate3d(0, 0, 0);+ }+ to {+ visibility: hidden;+ transform: translate3d(110%, 0, 0);+ }+}++@keyframes Toastify__slideOutLeft {+ from {+ transform: translate3d(0, 0, 0);+ }+ to {+ visibility: hidden;+ transform: translate3d(-110%, 0, 0);+ }+}++@keyframes Toastify__slideOutDown {+ from {+ transform: translate3d(0, 0, 0);+ }+ to {+ visibility: hidden;+ transform: translate3d(0, 500px, 0);+ }+}++@keyframes Toastify__slideOutUp {+ from {+ transform: translate3d(0, 0, 0);+ }+ to {+ visibility: hidden;+ transform: translate3d(0, -500px, 0);+ }+}++.Toastify__slide-enter--top-left,+.Toastify__slide-enter--bottom-left {+ animation-name: Toastify__slideInLeft;+}++.Toastify__slide-enter--top-right,+.Toastify__slide-enter--bottom-right {+ animation-name: Toastify__slideInRight;+}++.Toastify__slide-enter--top-center {+ animation-name: Toastify__slideInDown;+}++.Toastify__slide-enter--bottom-center {+ animation-name: Toastify__slideInUp;+}++.Toastify__slide-exit--top-left,+.Toastify__slide-exit--bottom-left {+ animation-name: Toastify__slideOutLeft;+}++.Toastify__slide-exit--top-right,+.Toastify__slide-exit--bottom-right {+ animation-name: Toastify__slideOutRight;+}++.Toastify__slide-exit--top-center {+ animation-name: Toastify__slideOutUp;+}++.Toastify__slide-exit--bottom-center {+ animation-name: Toastify__slideOutDown;+}++/*# sourceMappingURL=ReactToastify.css.map */diff --git a/studio/styles/ui.scss b/studio/styles/ui.scssnew file mode 100644index 00000000000..bafa4cbbc05--- /dev/null+++ b/studio/styles/ui.scss@@ -0,0 +1,308 @@+.editor-product-menu {+ .sbui-typography-text {+ @apply w-full;+ }+ .sbui-menu__item {+ @apply py-0 h-[32px] flex items-center justify-between;+ }+}++.dark .sbui-default-button--dark-white {+ @apply shadow-md text-typography-body-light border-gray-50 bg-white #{!important};+ text-shadow: none !important;+}++.dash-product-menu .sbui-menu__item {+ @apply py-1;+}++/* Brought over from platform to be cleaned if needed */++/* Form panels */++.Form,+.Form button {+ animation: fade 200ms ease-out;+}++.Form .form-control,+.Form select {+ min-width: 250px;+ width: calc(67% - 0.5rem);+ margin-left: 0.5rem;+}++.Form .form-group,+.Form .checkbox {+ @apply w-full;+}++.form-group {+ @apply mb-2 p-0 leading-5 border-0 bg-transparent;+ font-size: 15px;+ display: flex;+ flex-wrap: wrap;+}++label:not(.sbui-formlayout__label):not(.sbui-checkbox__label-container__label):not(.sbui-radio-container):not(.checkbox-pill) {+ @apply inline-block text-input-label-light dark:text-input-label-dark text-sm py-2;+ width: 33%;+ align-self: top;+}++.Form .checkbox .form-check-label {+ @apply flex items-center;+}++.Form .checkbox .form-check-label input[type='checkbox'] {+ @apply mr-4;+ width: auto;+}++.Form input[type='checkbox'] {+ min-width: inherit;+ width: inherit;+}++.Form .form-text,+.Form .form-error {+ @apply block text-sm text-gray-400 my-1;+ display: block;+ margin-left: calc(33% + 0.5rem);+ width: 100%;+}++.Form .form-error {+ @apply text-red-400;+}++.Form .form-help {+ @apply text-gray-400;+}++.Form hr {+ @apply mt-4 mb-4;+}++.section-block {+ @apply p-0 rounded bg-panel-body-light dark:bg-panel-body-dark border border-panel-border-light dark:border-panel-border-dark;+}++.section-block--header {+ @apply border-b border-panel-border-light dark:border-panel-border-dark;+}++.section-block--header h1,+.section-block--header h2,+.section-block--header h3,+.section-block--header h4 {+ @apply m-0;+}++.section-block--header p {+ @apply text-gray-300;+}++.section-block--footer {+ @apply bg-panel-footer-light dark:bg-panel-footer-dark border-t border-panel-border-light dark:border-panel-border-dark;+}++.section-block--footer button:not(.mr-0) {+ @apply mr-2;+}++/*+ Table+*/++.table-container table {+ @apply w-full;+ border-collapse: separate;+ border-spacing: 0;+}++.table-container thead th {+ @apply bg-table-header-light dark:bg-table-header-dark;+ @apply border-t border-b border-table-border-light dark:border-table-border-dark;+}++.table-container thead th:first-child {+ @apply pl-6 rounded rounded-r-none rounded-b-none;+ @apply border-l;+}++.table-container thead th:last-child {+ @apply pr-6 rounded rounded-l-none rounded-b-none;+ @apply border-r;+}++.table-container tbody tr {+ @apply bg-table-body-light dark:bg-table-body-dark;+}++.table-container tbody .tr--link {+ @apply cursor-pointer transition-colors;+}++.table-container tbody .tr--link:hover {+ @apply bg-table-header-light dark:bg-table-header-dark;+}++.table-container tbody td {+ @apply border-b p-3 px-4 text-sm text-gray-300 border-table-border-light dark:border-table-border-dark;+}++.table-container tbody td:first-child {+ @apply pl-6 border-b border-l border-table-border-light dark:border-table-border-dark;+}++.table-container tbody td:last-child {+ @apply pr-6 border-b border-r border-table-border-light dark:border-table-border-dark;+}++.table-container tbody tr:last-child td:first-child {+ @apply rounded rounded-r-none rounded-t-none;+}++.table-container tbody tr:last-child td:last-child {+ @apply rounded rounded-l-none rounded-t-none;+}++.table-container--borderless thead th {+ border-top: none;+}++.table-container--borderless thead th:first-child {+ border-left: none;+}++.table-container--borderless thead th:last-child {+ border-right: none;+}++.table-container--borderless tbody td:first-child {+ border-left: none;+}++.table-container--borderless tbody td:last-child {+ border-right: none;+}++.table-container--borderless tbody tr:last-child td {+ border-bottom: none;+}++/* Docs */+.Docs {+ &--inner-wrapper {+ background: linear-gradient(90deg, #1f1f1f 50%, #2a2a2a 50%);+ width: 100%;+ }++ h1,+ h2,+ h3 {+ @apply p-4 m-0;+ }++ .doc-heading {+ @apply text-white capitalize mt-4 w-1/2;+ hyphens: auto;+ max-width: 50%;+ }++ .doc-section {+ @apply border-b dark:border-dark text-gray-300 flex;+ }++ .text {+ @apply flex-1 p-4 w-1/2;+ max-width: 50%;++ a:not(.btn-primary):not(.btn-secondary) {+ @apply text-green-500;+ }++ a:hover {+ @apply text-green-600;+ }++ p:last-child {+ padding-bottom: 0;+ }+ }++ .code {+ @apply flex-1 p-2 w-1/2 bg-gray-600 pb-4;+ max-width: 50%;++ h4 {+ @apply uppercase font-medium m-1 p-0 text-sm;+ }++ h4:not(:first-child) {+ @apply mt-6;+ }++ code {+ @apply m-1 p-0;+ background-color: none;+ }++ .is-highlighted {+ @apply text-green-500;+ }+ }+}++::-moz-selection {+ /* Code for Firefox */+ @apply bg-green-400;+ color: #333 !important;+}++::selection {+ @apply bg-green-400;+ color: #333 !important;+}++.has-hidden-children {+ .visible-child {+ transition: opacity 0.2s ease;+ opacity: 100;+ }+ .hidden-child {+ transition: opacity 0.2s ease;+ opacity: 0;+ }+}++.has-hidden-children:hover {+ .visible-child {+ opacity: 0;+ pointer-events: none;+ }+ .hidden-child {+ opacity: 100;+ }+}++.SQLTabNav {+ overflow-x: auto;+ overflow-y: hidden !important;++ &::-webkit-scrollbar {+ display: none !important;+ }++ // for Firefox+ scrollbar-width: none; // auto | thin | none | <length>;+}++.SQLTabContainer {+ height: calc(100vh - 3rem);+ min-height: calc(100vh - 3rem);+ .gutter {+ cursor: row-resize;+ }+}diff --git a/studio/tailwind.config.js b/studio/tailwind.config.jsnew file mode 100644index 00000000000..3c8f4584372--- /dev/null+++ b/studio/tailwind.config.js@@ -0,0 +1,240 @@+const gray = {+ 100: '#eeeeee',+ 200: '#e0e0e0',+ 300: '#bbbbbb',+ 400: '#666666',+ 500: '#444444',+ 650: '#333',+ 600: '#2a2a2a',+ 700: '#1f1f1f',+ 800: '#181818',+ 900: '#0f0f0f',+}+const green = {+ 100: '#c5f1dd',+ 200: '#c5f1dd',+ 300: '#9fe7c7',+ 400: '#65d9a5',+ 500: '#24b47e',+ 600: '#38bc81',+ 700: '#1c8656',+ 800: '#10633e',+ 900: '#10633e',+}++const blueGray = {+ 50: '#F8FAFC',+ 100: '#F1F5F9',+ 200: '#E2E8F0',+ 300: '#CBD5E1',+ 400: '#94A3B8',+ 500: '#64748B',+ 600: '#475569',+ 700: '#334155',+ 800: '#1E293B',+ 900: '#0F172A',+}++const coolGray = {+ 50: '#F9FAFB',+ 100: '#F3F4F6',+ 200: '#E5E7EB',+ 300: '#D1D5DB',+ 400: '#9CA3AF',+ 500: '#6B7280',+ 600: '#4B5563',+ 700: '#374151',+ 800: '#1F2937',+ 900: '#111827',+}++module.exports = {+ mode: 'jit',+ darkMode: 'class', // or 'media' or 'class'+ purge: [+ './pages/**/*.{js,ts,jsx,tsx}',+ './components/**/*.{js,ts,jsx,tsx}',+ './internals/**/*.{js,ts,jsx,tsx}',+ ],+ theme: {+ maxHeight: {+ 12: '3rem',+ 48: '12rem',+ },+ borderColor: (theme) => ({+ ...theme('colors'),+ DEFAULT: '#f0f2f5',+ dark: theme('colors.gray.600', 'currentColor'),+ }),+ divideColor: (theme) => ({+ ...theme('colors'),+ DEFAULT: '#f0f2f5',+ dark: theme('colors.gray.600', 'currentColor'),+ }),+ extend: {+ colors: {+ gray: { ...gray },+ green: { ...green },+ blueGray: { ...blueGray },+ coolGray: { ...coolGray },++ /* typography */+ 'typography-body': {+ light: coolGray[600],+ dark: gray[100],+ },+ 'typography-body-secondary': {+ light: coolGray[500],+ dark: gray[100],+ },+ 'typography-body-strong': {+ light: coolGray[100],+ dark: 'white',+ },+ 'typography-body-faded': {+ light: coolGray[400],+ dark: gray[300],+ },++ /* Nav */+ sidebar: {+ light: 'white',+ dark: gray[800],+ },+ 'sidebar-linkbar': {+ light: 'white',+ dark: gray[800],+ },+ 'sidebar-active': {+ light: blueGray[100],+ dark: '#212121',+ // dark: gray[700],+ },++ /* borders */+ 'border-secondary': {+ light: blueGray[100],+ dark: gray[600],+ },+ 'border-secondary-hover': {+ light: blueGray[300],+ dark: gray[500],+ },++ /* app backgrounds */+ 'bg-primary': {+ light: 'white',+ dark: gray[800],+ },+ 'bg-secondary': {+ light: blueGray[100],+ dark: gray[700],+ },+ 'bg-alt': {+ light: blueGray[50], // gray[100],+ dark: gray[600],+ },++ /* Tables */+ 'table-body': {+ light: 'white',+ dark: gray[800],+ },+ 'table-header': {+ light: blueGray[50], // gray[100],+ dark: gray[700], // '#1a1a1a', //gray[700],+ },+ 'table-footer': {+ light: '#f8f9fb', // gray[100],+ dark: '#1a1a1a', //gray[700],+ },+ 'table-border': {+ light: '#eff1f4', //gray[100],+ dark: gray[600], // '#222', // gray[600],+ },++ /* Panels */+ 'panel-body': {+ light: 'white',+ dark: gray[700], // dark: '#212121', //gray[700],+ },+ 'panel-header': {+ light: blueGray[50], // gray[100],+ dark: gray[700], // '#1a1a1a', //gray[700], // dark: '#212121',+ },+ 'panel-footer': {+ light: '#f8f9fb', // gray[100],+ dark: gray[700], // '#222', // gray[600], // dark: '#1a1a1a', //gray[700],+ },+ 'panel-border': {+ light: '#f0f2f5', //gray[100],+ dark: gray[600], // dark: '#292929', // '#222', // gray[600],+ },+ 'panel-border-interior': {+ light: gray[100],+ dark: '#292929', //'#222', // gray[600],+ },+ 'panel-border-hover': {+ light: gray[300],+ dark: gray[500],+ },++ /*+ Forms+ */+ form: {+ light: coolGray[600],+ dark: gray[200],+ },++ 'input-placeholder': {+ light: coolGray[300],+ dark: gray[400],+ },+ 'input-value': {+ light: coolGray[600],+ dark: gray[200],+ },+ 'input-border': {+ light: coolGray[300],+ dark: gray[500],+ },+ 'input-label': {+ light: coolGray[600],+ dark: gray[200],+ },+ 'input-border-hover': {+ light: coolGray[400],+ dark: gray[400],+ },+ 'input-border-focus': {+ light: green[300],+ dark: green[300],+ },+ },+ },+ fontFamily: {+ sans: [+ 'circular',+ 'BlinkMacSystemFont',+ '-apple-system',+ 'Segoe UI',+ 'Roboto',+ 'Oxygen',+ 'Ubuntu',+ 'Cantarell',+ 'Fira Sans',+ 'Droid Sans',+ 'Helvetica Neue',+ 'Helvetica',+ 'Arial',+ 'sans-serif',+ ],+ mono: ['source code pro', 'Menlo', 'monospace'],+ },+ },+ variants: {+ extend: {},+ },+ plugins: [],+}diff --git a/studio/tsconfig.json b/studio/tsconfig.jsonnew file mode 100644index 00000000000..c9b6dbf5cb1--- /dev/null+++ b/studio/tsconfig.json@@ -0,0 +1,20 @@+{+ "compilerOptions": {+ "target": "es5",+ "lib": ["dom", "dom.iterable", "esnext"],+ "allowJs": true,+ "skipLibCheck": true,+ "strict": true,+ "forceConsistentCasingInFileNames": true,+ "noEmit": true,+ "esModuleInterop": true,+ "module": "esnext",+ "moduleResolution": "node",+ "resolveJsonModule": true,+ "isolatedModules": true,+ "jsx": "preserve",+ "baseUrl": ".",+ },+ "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],+ "exclude": ["node_modules"]+}diff --git a/studio/types/base.ts b/studio/types/base.tsnew file mode 100644index 00000000000..19a7c5d7bd9--- /dev/null+++ b/studio/types/base.ts@@ -0,0 +1,48 @@+export interface Organization {+ id: number+ slug: string+ name: string+ billing_email: string+}++export interface Project {+ id: number+ ref: string+ name: string+ status: string+ organization_id: number+ cloud_provider: string+ region: string+ connectionString: string+ inserted_at: string+}++export interface User {+ id: number+ mobile: string+ primary_email: string+ username: string+ first_name: string+ last_name: string+ is_alpha_user: boolean+}++export interface Member {+ id: number+ is_owner: boolean+ profile: {+ id: number+ primary_email: string+ username: string+ }+}++export interface ResponseError {+ message: string+}++export interface ResponseFailure {+ error: ResponseError+}++export type SupaResponse<T> = T & ResponseFailurediff --git a/studio/types/index.ts b/studio/types/index.tsnew file mode 100644index 00000000000..3a097cbde06--- /dev/null+++ b/studio/types/index.ts@@ -0,0 +1,3 @@+export * from './base'+export * from './ui'+export * from './userContent'diff --git a/studio/types/ui.ts b/studio/types/ui.tsnew file mode 100644index 00000000000..90f4cd21c96--- /dev/null+++ b/studio/types/ui.ts@@ -0,0 +1,5 @@+export interface Notification {+ id?: string+ category: 'info' | 'error' | 'success' | 'loading'+ message: string+}diff --git a/studio/types/userContent.ts b/studio/types/userContent.tsnew file mode 100644index 00000000000..35c79fac7d3--- /dev/null+++ b/studio/types/userContent.ts@@ -0,0 +1,122 @@+export interface UserContent {+ id?: string+ name: string+ description?: string+ type: 'sql' | 'report'+ visibility: 'user' | 'project' | 'org' | 'public'+ content: Dashboards.Content | SqlSnippets.Content+ owner_id?: number // user id+ last_updated_by?: number // user id+ inserted_at?: string // '2021-08-26T08:24:52.040695+00:00'+ owner?: Owner+ project_id?: number+ updated_at?: string // '2021-08-26T08:24:52.040695+00:00'+ updated_by?: Owner+}++export interface UserContentMap {+ [key: string]: UserContent+}++export namespace SqlSnippets {+ /**+ * To be stored in the database: public.user_content.content+ * In this case there is only one thing to store, but it's good to+ * nest it in an object for future expansion.+ */+ export interface Content {+ // unique id of the sql snippet, possibly to used so snippets can support versioning+ content_id: string++ // A full SQL query - this will be hashed on the /content endpoint+ sql: string++ // we can add some versioning to this schema in case we need to change the format.+ schema_version: string++ // show sql snippet as a favorite.+ // this could be problematic if sql snippets have visibility that is != 'user'+ favorite: boolean+ }+}++export interface Owner {+ id: number+ username: string+}++/**+ * User generated content: Dashboards+ */+export namespace Dashboards {+ /**+ * To be stored in the database: public.user_content.content+ * Time periods are considered as historical dates and can be provided as+ * an interval ("1w" = 1 week ago) or an exact date.+ */+ export interface Content {+ schema_version: 1 // we can add some versioning to this schema in case we need to change the format.++ period_start: {+ time_period?: string // "0m", "1m", "5m", "1h", "1d", "1w", "1M", "1y"+ date?: string // "2017-01-01T00:00:00.000Z"+ }+ period_end: {+ time_period?: string // "0m", "1m", "5m", "1h", "1d", "1w", "1M", "1y"+ date?: string // "2017-01-01T00:00:00.000Z"+ }+ interval: '1m' | '5m' | '1h' | '1d' | '1w' | '1M' | '1y' // this is the data interval+ layout: Chart[]+ }++ /**+ * Predefined charts+ */+ export type ChartType =+ | 'total_get_requests'+ | 'total_auth_patch_requests'+ | 'total_auth_requests'+ | 'total_egress'+ | 'total_delete_requests'+ | 'total_auth_requests'+ | 'combined_bar'+ // | 'bar'- should we include simple types as well?+ // | 'line'++ /**+ * An individual instance of a chart, with title and position+ */+ export interface Chart {+ id: string // uuid+ x: number+ y: number+ w: number+ h: number+ attribute: ChartType+ provider: 'daily-stats' | 'prometheus'+ chart_type: 'bar' | 'line' | 'area'+ // title: string // Eventually we might need this "per chart" right?+ }+}++export namespace SqlSnippets {+ /**+ * To be stored in the database: public.user_content.content+ * In this case there is only one thing to store, but it's good to+ * nest it in an object for future expansion.+ */+ export interface Content {+ // unique id of the sql snippet, possibly to used so snippets can support versioning+ content_id: string++ // A full SQL query - this will be hashed on the /content endpoint+ sql: string++ // we can add some versioning to this schema in case we need to change the format.+ schema_version: string++ // show sql snippet as a favorite.+ // this could be problematic if sql snippets have visibility that is != 'user'+ favorite: boolean+ }+}